[ http://issues.apache.org/jira/browse/TUSCANY-377?page=all ] Jean-Sebastien Delfino resolved TUSCANY-377: --------------------------------------------
Resolution: Fixed This is now fixed. Was probably resolved as part of another fix (TUSCANY-373), I cannot reproduce the problem anymore. > Can't start Tomcat server in M1 distro > -------------------------------------- > > Key: TUSCANY-377 > URL: http://issues.apache.org/jira/browse/TUSCANY-377 > Project: Tuscany > Type: Bug > Components: Build System, Java SCA Tomcat Integration > Versions: Java-M1 > Reporter: Jean-Sebastien Delfino > Priority: Blocker > Fix For: Java-M1 > > To reproduce the problem, build the M1 distro, then go to > distribution/target/tuscany-dist/apache-5.5.17/bin, then run ./catalina.sh > run. > You will get the following exception: > SEVERE: Begin event threw exception > java.lang.ClassNotFoundException: org.apache.tuscany.tomcat.TuscanyHost > at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > at > org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:204) > at org.apache.tomcat.util.digester.Rule.begin(Rule.java:152) > at > org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1275) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) > at > com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) > at > com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) > at > com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) > at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561) > at org.apache.catalina.startup.Catalina.load(Catalina.java:489) > at org.apache.catalina.startup.Catalina.load(Catalina.java:523) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:266) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira