error in jchemstreams deployment

User 6e47cbf906

15-01-2007 16:49:54

Hi





I follwoed the installation of jchemcartridge to the point


"Configuring the JDBC connection(s) for the Search Engine".


Opened the http://localhost:8080/jchemstreams and got error message,


"The requested resource (/jchemstreams/) is not available.


Following is the error message in catalina localhost.log.


(I have SuSE10, tomcat5, and oracle 10gR2.0.1 installed)





Please help. Thank you.








StandardContext[/jchemstreams]Error configuring application listener of class ch


emaxon.jchem.cartridge.servlets.JChemCached


java.lang.ClassNotFoundException: chemaxon.jchem.cartridge.servlets.JChemCached


at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa


der.java:1340)


at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa


der.java:1189)


at org.apache.catalina.core.StandardContext.listenerStart(StandardContex


t.java:3779)


at org.apache.catalina.core.StandardContext.start(StandardContext.java:4


323)


at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase


.java:823)


at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80


7)


at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)


at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep


loyer.java:277)


at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)


at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625


)


at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431


)


at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)


at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java


:349)


at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl


eSupport.java:119)


at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)


at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)


at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)


at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478


)


at org.apache.catalina.core.StandardService.start(StandardService.java:4


80)


at org.apache.catalina.core.StandardServer.start(StandardServer.java:231


3)


at org.apache.catalina.startup.Catalina.start(Catalina.java:556)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.


java:39)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces


sorImpl.java:25)


at java.lang.reflect.Method.invoke(Method.java:324)


at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)


at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)

ChemAxon aa7c50abf8

15-01-2007 17:54:23

Hi,





The web application cannot find the jchem.jar file in Tomcat.





You either forgot to perform step 3.) in "Installing the JChem Server" (http://www.chemaxon.com/jchem/doc/admin/cartridge.html#server_install) or you performed this step while Tomcat was running and did not restart it.





Peter

User 6e47cbf906

15-01-2007 19:14:11

the same error after redo the installation.


In tomcat/webapps, there is a new directory created and named jchemstreams. Also, under tomcat/work/.../ a new jchemstreams directory is created after restart tomcat.





As previous steps, I did stop tomcat, copy jar from jchem lib to tomcat shared/lib, went thru to "jdbc connection", start tomcat. Any others I should check? . Thanks

ChemAxon aa7c50abf8

16-01-2007 08:08:29

Please, could you post the directory listing of tomcat/shared/lib?





Code:
ls -l tomcat/shared/lib






Thanks


Peter

User 6e47cbf906

16-01-2007 08:31:25

Here it is.





# ls /usr/share/tomcat5/shared/lib/ -l


total 19052


-rwxr-xr-- 1 tomcat tomcat 226678 Jan 16 09:55 batik-core.jar


-rwxr-xr-- 1 tomcat tomcat 1336794 Jan 16 09:55 castor-1.0.1-xml.jar


-rwxr-xr-- 1 tomcat tomcat 90998 Jan 16 09:55 chart.jar


-rwxr-xr-- 1 tomcat tomcat 52915 Jan 16 09:55 commons-logging-1.1.jar


-rwxr-xr-- 1 tomcat tomcat 456914 Jan 16 09:55 dom4j.jar


-rwxr-xr-- 1 tomcat tomcat 714766 Jan 16 09:55 freehep-base.jar


-rwxr-xr-- 1 tomcat tomcat 38305 Jan 16 09:55 freehep-graphics2d.jar


-rwxr-xr-- 1 tomcat tomcat 168592 Jan 16 09:55 freehep-graphicsio-emf.jar


-rwxr-xr-- 1 tomcat tomcat 79234 Jan 16 09:55 freehep-graphicsio-pdf.jar


-rwxr-xr-- 1 tomcat tomcat 260929 Jan 16 09:55 freehep-graphicsio.jar


-rw-r--r-- 1 tomcat tomcat 165358 Jan 16 09:54 jcart.jar


-rwxr-xr-- 1 tomcat tomcat 10546061 Jan 16 09:55 jchem.jar


-rwxr-xr-- 1 tomcat tomcat 35463 Jan 16 09:55 jextexp.jar


-rwxr-xr-- 1 tomcat tomcat 1529 Jan 16 09:55 jnbtools.jar


-rwxr-xr-- 1 tomcat tomcat 1002229 Jan 16 09:55 jogl.jar


-rwxr-xr-- 1 tomcat tomcat 929420 Jan 16 09:55 libinchi.so


-rwxr-xr-- 1 tomcat tomcat 1536979 Jan 15 17:56 ojdbc14.jar


-rwxr-xr-- 1 tomcat tomcat 1812019 Jan 16 09:55 xerces.jar

User 6e47cbf906

16-01-2007 09:06:48

In stead of starting up tomcat by "root" and doing "/usr/sbin/rctomcat5 start", now I do "tomcat5/bin/startup.sh" and I can connect to http://localhost:8080/jchemstreams without error.