Embedded Tomcat in OSGi Felix Container -


i have used embedded tomcat 7.0.53 in eclipse run gateway @ localhost. works when run gateway in eclipse. want run gateway in osgi felix container, got tomcat error:

lifecycleexception. here the detailed error report:  2014-08-18 17:57:48 [org.apache.catalina.core.containerbase] severe - child container failed during start 2014-08-18 17:57:48 [org.apache.catalina.core.containerbase] severe - child container failed during start org.apache.catalina.lifecycleexception: failed start component [standardserver[-1]] @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)  @ org.apache.catalina.startup.tomcat.start(tomcat.java:341)     @ at.ac.tuwien.auto.iotsys.gateway.obix.server.tomcatservernosecurity.<init>(tomcatservernosecurity.java:73)    @ at.ac.tuwien.auto.iotsys.gateway.iotsysgateway$2.run(iotsysgateway.java:301) @ java.lang.thread.run(thread.java:745) caused by: org.apache.catalina.lifecycleexception: failed start component [standardservice[tomcat]] @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)  @ org.apache.catalina.core.standardserver.startinternal(standardserver.java:731)    @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) ... 4 more caused by: org.apache.catalina.lifecycleexception: failed start component [standardengine[tomcat]] @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:154)  @ org.apache.catalina.core.standardservice.startinternal(standardservice.java:443)  @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150)  ... 6 more caused by: org.apache.catalina.lifecycleexception: child container failed during start     @ org.apache.catalina.core.containerbase.startinternal(containerbase.java:1131)     @ org.apache.catalina.core.standardengine.startinternal(standardengine.java:300) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) ... 8 more 

since error report vague, have no idea error comes from.

does ever embedded tomcat in osgi felix container? or have idea problem? thx!

one possible reason http port blocked. may still had tomcat running eclipse?


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -