From: Sriram K. <sr...@sd...> - 2010-10-04 17:54:10
|
Hi Daniel, Please do cc the mailing list - I hope this is useful to others as well. One thing that jumps from your logs is that you are using Tomcat 6.0.29. Opal2 has only been verified to work with Tomcat 5.X. Would you mind testing it out with either 5.0.30 or 5.5? I would be surprised if that doesn't work, because we have not seen this error before for those versions. If there is sufficient interest in using 6.0, we could plan on supporting it in the future. Thanks, Sriram On Oct 4, 2010, at 10:49 AM, Daniel Blezek wrote: > Sriram, > > (Keeping on the list in the hopes that others will benefit.) > > Here is the listing of Tomcat’s directory: > > [mi3c@mi3c-jobs apache-tomcat-6.0.29]$ ls webapps/opal2/WEB-INF/lib > activation-1_0_2.jar javamail-1.4.3.jar > ant-1.7.0.jar javassist-3.4.GA.jar > antlr-2.7.6.jar jaxrpc.jar > axis-ant.jar jcommon-1.0.12.jar > axis.jar jdom-1.1.jar > c3p0-0.9.1.2.jar jfreechart-1.0.8.jar > cglib-2.1.3.jar jstl.jar > classad.jar jta-1.1.jar > commons-beanutils-1.7.0.jar mailapi-1_3_1.jar > commons-chain-1.1.jar mysql-connector-java-5.1.8-bin.jar > commons-cli-2.0.jar opal-ws-2.3.1.jar > commons-collections-3.1.jar oro-2.0.8.jar > commons-digester-1.8.jar postgresql-8.2-506.jdbc3.jar > commons-discovery-0.2.jar rome-1.0RC1.jar > commons-fileupload-1.2.jar saaj.jar > commons-io-1.4.jar slf4j-api-1.5.2.jar > commons-logging-1.0.4.jar slf4j-log4j12-1.5.2.jar > commons-validator-1.3.1.jar standard.jar > db2jcc.jar struts-core-1.3.8.jar > dom4j-1.6.1.jar struts-extras-1.3.8.jar > drmaa.jar struts-taglib-1.3.8.jar > hibernate3.jar wsdl4j-1.5.1.jar > hsqldb.jar > > > It looks like everything is installed (opal-ws-2.3.1.jar). I did > restart > Tomcat a few times. No errors on install. > > Please let me know what I can send to you to help debug this... > > Thanks, > -dan > > > On 10/4/10 12:01 PM, "Sriram Krishnan" <sr...@sd...> wrote: > >> Hi Daniel, >> >> It appears as if none of the Opal jars can be found. Did you >> restart Tomcat >> after Opal installation? At this point, Opal can't be hot-deployed, >> and you >> will have to restart your Tomcat after installation. If you have >> indeed >> restarted, please check your CATALINA_HOME/webapps/opal2/WEB-INF/ >> lib to see if >> all the Opal jars are present. If they aren't, something went wrong >> with the >> installation. >> >> A list of Opal services is provided by Axis, e.g. >> http://ws.nbcr.net/opal2/services. Does that not work for you? >> >> Cheers, >> Sriram >> >> On Oct 4, 2010, at 9:16 AM, Daniel Blezek wrote: >> >>> Hi, >>> >>> We’re using Taverna ( http://www.taverna.org.uk/) as our >>> workflow engine, >>> and would like to expose some of our command line apps. I was >>> able to >>> connect to the getVersion service. When I tried to install the >>> date service, >>> I get this error (in the tomcat log): >>> >>> Oct 4, 2010 11:10:06 AM >>> org.apache.catalina.core.StandardWrapperValve invoke >>> SEVERE: Servlet.service() for servlet [AxisServlet] in context >>> with path >>> [/opal2] threw exce >>> ption [Servlet execution threw an exception] with root cause >>> java.lang.NoClassDefFoundError: Could not initialize class >>> edu.sdsc.nbcr.opal.AppServiceImpl >>> at java.lang.Class.forName0(Native Method) >>> at java.lang.Class.forName(Class.java:247) >>> <snip> >>> >>> And the List page doesn’t show any services. >>> >>> I also can’t connect to the dashboard: >>> >>> java.lang.NoClassDefFoundError: Could not initialize class >>> edu.sdsc.nbcr.opal.state.HibernateUtil >>> >>> edu >>> .sdsc >>> .nbcr.opal.dashboard.persistence.DBManager.<init>(DBManager.java:73) >>> >>> edu >>> .sdsc >>> .nbcr >>> .opal.dashboard.servlet.OpalInfoServlet.init(OpalInfoServlet.jav >>> a:109) >>> >>> org >>> .apache >>> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108) >>> >>> >>> Any help? >>> >>> Also: is there some way to publish all the services on one URL so >>> Taverna >>> will grab all of them rather than one at a time? >>> >>> Thanks, >>> -dan >>> >>> -- >>> Daniel Blezek, PhD >>> Medical Imaging Informatics Innovation Center >>> >>> P 127 or (77) 8 8886 >>> T 507 538 8886 >>> E ble...@ma... >>> >>> Mayo Clinic >>> 200 First St. S.W. >>> Harwick SL-44 >>> Rochester, MN 55905 >>> mayoclinic.org >>> "It is more complicated than you think." -- RFC 1925 >>> >>> >>> > -----------------------------------------------------------------------------> > > > - >>> Virtualization is moving to the mainstream and overtaking non- >>> virtualized >>> environment for deploying applications. Does it make network >>> security >>> easier or more difficult to achieve? Read this whitepaper to >>> separate the >>> two and get a better understanding. >>> http://p.sf.net/sfu/hp-phase2-d2d____________________________________________ >>> ___ >>> Opaltoolkit-users mailing list >>> Opa...@li... >>> https://lists.sourceforge.net/lists/listinfo/opaltoolkit-users >> >> > > -- > Daniel Blezek, PhD > Medical Imaging Informatics Innovation Center > > P 127 or (77) 8 8886 > T 507 538 8886 > E ble...@ma... > > Mayo Clinic > 200 First St. S.W. > Harwick SL-44 > Rochester, MN 55905 > mayoclinic.org > "It is more complicated than you think." -- RFC 1925 |