Saturday, May 12, 2007

users feedback on sharehound 1.2.2alpha

Feel free to leave a comment on your experience with this release, sharehound in general or whatever :) Any language is OK. Feature requests are welcome.

If you wish to post anonymously please leave some nick so that I could comment back (as blogger.com doesn't support hierarchical comments).

21 comments:

Artem Vasiliev said...

is this thing on?

psylence said...

oh yeah man, it's surely on!

Artem Vasiliev said...

:)

Percula said...

Hi

Looks like this will be a very useful tool for me, however I can not get it running in my sandbox config.

Below is version and error information. Did I miss something in the config?

Cent5
Tomcat5 ver 5.5.23-0jpp.1.0.3.el5

Error log
---------------
2007-06-09 13:49:29,017 ERROR [main] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sharehound]] Error configuring application listener of class org.sourceforge.sharehound.servlets.SharehoundContextListener
java.lang.ClassFormatError: org.sourceforge.sharehound.servlets.SharehoundContextListener (unrecognized class file version)
at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)
at java.lang.ClassLoader.defineClass(libgcj.so.7rh)
at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)
at org.apache.catalina.loader.WebappClassLoader.findClassInternal(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.loader.WebappClassLoader.findClass(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.loader.WebappClassLoader.loadClass(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.loader.WebappClassLoader.loadClass(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.StandardContext.listenerStart(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.StandardContext.start(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.ContainerBase.addChildInternal(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.ContainerBase.addChild(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.StandardHost.addChild(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.startup.HostConfig.deployDirectory(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.startup.HostConfig.deployDirectories(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.startup.HostConfig.deployApps(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.startup.HostConfig.start(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.StandardHost.start(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.ContainerBase.start(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.StandardEngine.start(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.StandardService.start(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.core.StandardServer.start(catalina-5.5.23.jar.sor5bbev.so)
at org.apache.catalina.startup.Catalina.start(catalina-5.5.23.jar.sor5bbev.so)
at java.lang.reflect.Method.invoke(libgcj.so.7rh)
at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)

2007-06-09 13:49:29,032 ERROR [main] [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sharehound]] Skipped installing application listeners due to previous error(s)

Artem Vasiliev said...

Hi Percula,
what JVM do you use? sharehound needs to be run on JVM 1.5.

Artem Vasiliev said...

oops, I'm wrong - I (incidentally) compiled it with javac 1.6, so yo'll need to run Tomcat with JVM 1.6 - this should work. Also you'll need to create index directory manually prior to running. By default it's /luceneIndexes/sharehoud, or you can change it at WEB-INF/classes/lucene.properties file.

Anonymous said...

Pecula,

You should use java 1.6 or greater. Because Sharehound class files were compiled without previous version support

Anonymous said...

Artem,

You must add to documentation these hints:
1. java 1.6 or greater
2. before starting sharehoud you must create manually directory for indexes
3. in some cases you may need msvcr71.dll for java&tomcat

Artem Vasiliev said...

right about 1.6..

msvcr71.dll - it's a part of JDK/JRE 1.6, so no need to mention separately.

besides I'm preparing v.1.2.3 that's 1.5 compatible and directories existence-tolerant :)
and has some more..

Shadow said...

Are you sure that Msvcr71.dll included in java 1.6 ? I installed fresh win2003k server+jre 1.6.0_01 and Msvcr71.dll didn't appear. Besides, this is a "MS C Run-Time Libraries", so it should have nothing in common with Sun :)

Shadow said...

Speaking about russian language...I can't search russian text :( After I submit my request it change encoding into something different. For example, from "тест" to "тест". Browser displays in UTF-8 encoding.

Nemrod said...

Hi,

great tool, lookgs great!. I really want to give it a try. Would be nice if it would run under JRE 1.5 since I can't upgrade our system to 1.6 at the time.

Nemrod said...

By the way, when do you expect 1.2.3 to be released?

Artem Vasiliev said...

Shadow,

on msvcr71.dll - sounds logical, but I somehow have msvcr71.dll in my jdk1.6.0\bin and jdk1.6.0\jre\bin.. It's 1.6.0-b105. jdk1.6.0\bin is also in my PATH env. variable. May be you had some JAVA_HOME/PATH inconsistency? :)
E.g. I can imagine some problems running Tomcat on JDK 1.6 and having 1.5 in PATH.. I'd prefer not to even think about that though :)

Artem Vasiliev said...

Shadow,

русские русских на войне не бросают! :)

насчет кодировки - похоже, вы не применили атрибут useBodyEncodingForURI=true к элементу Connector в server.xml (см. последний абзац в install.html)

Artem Vasiliev said...

Thanks nemrod!

I think 1.2.3 will come out this or next week.

Shadow said...

Ах ёптель,точно прошляпил useBodyEncodingForURI="true". Сорри за тупость. Спасибо за софт !!!

Artem Vasiliev said...

:)welcome!

Artem Vasiliev said...

Nemrod, I finally got a new release out the door! Hope it's still interesting to you :)

Anonymous said...

Nice tool, we are using it at work. Thanks! :-)

Artem Vasiliev said...

Great news anonymous, I use it at work too :)