osgi - Eclipse Equinox + Gemini Web + Libra - com.sun.faces.config.ConfigureListener not found -
i try develop dynamich web application given tools:
- eclipse libra (newest)
- eclipse equinox
- gemini web server 2.2.7
i follow given video tutorials on [https://dev.eclipse.org/mhonarc/lists/libra-dev/msg00096.html][1]
but when try start general dynamic web application osgi bundles , jsf 2.2.0 support following 2 errors on console (configurelistener not found , bundle org.eclipse.equinox.console not found:
okt 25, 2016 9:16:02 pm org.apache.catalina.core.standardhost setappbase warnung: using empty string appbase on host [localhost] set catalina_base, bad idea okt 25, 2016 9:16:02 pm org.apache.catalina.core.aprlifecyclelistener lifecycleevent information: apr based apache tomcat native library allows optimal performance in production environments not found on java.library.path: c:\program files\java\jre1.8.0_101\bin ;c:\windows\sun\java\bin;c:\windows\system32;c:\windows;c:/program files/java/jre1.8.0_101/bin/server;c:/program files/java/jre1.8.0_101/bin;c:/program okt 25, 2016 9:16:02 pm org.apache.coyote.abstractprotocol init information: initializing protocolhandler ["http-bio-8080"] okt 25, 2016 9:16:02 pm org.apache.coyote.abstractprotocol init information: initializing protocolhandler ["ajp-bio-8009"] okt 25, 2016 9:16:02 pm org.apache.catalina.core.standardservice startinternal information: starting service catalina okt 25, 2016 9:16:02 pm org.apache.catalina.core.standardengine startinternal information: starting servlet engine: apache tomcat/7.0.61 okt 25, 2016 9:16:02 pm org.apache.coyote.abstractprotocol start information: starting protocolhandler ["http-bio-8080"] okt 25, 2016 9:16:02 pm org.apache.coyote.abstractprotocol start information: starting protocolhandler ["ajp-bio-8009"] okt 25, 2016 9:16:02 pm org.apache.catalina.deploy.webxml setversion warnung: unknown version string [3.1]. default version used. okt 25, 2016 9:16:04 pm org.apache.catalina.core.standardcontext listenerstart schwerwiegend: error configuring application listener of class com.sun.faces.config.configurelistener java.lang.classnotfoundexception: com.sun.faces.config.configurelistener atorg.eclipse.gemini.web.tomcat.internal.loading.bundlewebappclassloader. loadclass(bundlewebappclassloader.java:312) @ java.lang.classloader.loadclass(unknown source) @ org.apache.catalina.core.defaultinstancemanager.loadclass(defaultinstancemanager.java:506) @ org.apache.catalina.core.defaultinstancemanager.loadclassmaybeprivileged(defaultinstancemanager.java:488) @ org.apache.catalina.core.defaultinstancemanager.newinstance(defaultinstancemanager.java:115) @ org.apache.catalina.core.standardcontext.listenerstart(standardcontext.java:4932) @ org.apache.catalina.core.standardcontext.startinternal(standardcontext.java:5528) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:150) @ org.apache.catalina.core.containerbase.addchildinternal(containerbase.java:901) @ org.apache.catalina.core.containerbase.addchild(containerbase.java:877) @ org.apache.catalina.core.standardhost.addchild(standardhost.java:652) @ org.eclipse.gemini.web.tomcat.internal.tomcatservletcontainer.startwebapplication(tomcatservletcontainer.java:125) @ org.eclipse.gemini.web.internal.standardwebapplication.start(standardwebapplication.java:109) @ org.eclipse.gemini.web.extender.webcontainerbundlecustomizer.addingbundle(webcontainerbundlecustomizer.java:49) @ org.osgi.util.tracker.bundletracker$tracked.customizeradding(bundletracker.java:469) @ org.osgi.util.tracker.bundletracker$tracked.customizeradding(bundletracker.java:1) @ org.osgi.util.tracker.abstracttracked.trackadding(abstracttracked.java:256) @ org.osgi.util.tracker.abstracttracked.trackinitial(abstracttracked.java:183) @ org.osgi.util.tracker.bundletracker.open(bundletracker.java:156) @ org.eclipse.gemini.web.extender.extenderactivator$extendedwebcontainertracker.addingservice(extenderactivator.java:59) @ org.eclipse.gemini.web.extender.extenderactivator$extendedwebcontainertracker.addingservice(extenderactivator.java:1) @ org.osgi.util.tracker.servicetracker$tracked.customizeradding(servicetracker.java:941) @ org.osgi.util.tracker.servicetracker$tracked.customizeradding(servicetracker.java:1) @ org.osgi.util.tracker.abstracttracked.trackadding(abstracttracked.java:256) @ org.osgi.util.tracker.abstracttracked.track(abstracttracked.java:229) @ org.osgi.util.tracker.servicetracker$tracked.servicechanged(servicetracker.java:901) @ org.eclipse.osgi.internal.serviceregistry.filteredservicelistener.servicechanged(filteredservicelistener.java:109) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.dispatchevent(bundlecontextimpl.java:915) @ org.eclipse.osgi.framework.eventmgr.eventmanager.dispatchevent(eventmanager.java:230) @ org.eclipse.osgi.framework.eventmgr.listenerqueue.dispatcheventsynchronous(listenerqueue.java:148) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.publishserviceeventprivileged(serviceregistry.java:862) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.publishserviceevent(serviceregistry.java:801) @ org.eclipse.osgi.internal.serviceregistry.serviceregistrationimpl.register(serviceregistrationimpl.java:127) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.registerservice(serviceregistry.java:225) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.registerservice(bundlecontextimpl.java:464) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.registerservice(bundlecontextimpl.java:482) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.registerservice(bundlecontextimpl.java:999) @ org.eclipse.gemini.web.internal.webcontaineractivator$servletcontainertracker.addingservice(webcontaineractivator.java:117) @ org.eclipse.gemini.web.internal.webcontaineractivator$servletcontainertracker.addingservice(webcontaineractivator.java:1) @ org.osgi.util.tracker.servicetracker$tracked.customizeradding(servicetracker.java:941) @ org.osgi.util.tracker.servicetracker$tracked.customizeradding(servicetracker.java:1) @ org.osgi.util.tracker.abstracttracked.trackadding(abstracttracked.java:256) @ org.osgi.util.tracker.abstracttracked.track(abstracttracked.java:229) @ org.osgi.util.tracker.servicetracker$tracked.servicechanged(servicetracker.java:901) @ org.eclipse.osgi.internal.serviceregistry.filteredservicelistener.servicechanged(filteredservicelistener.java:109) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.dispatchevent(bundlecontextimpl.java:915) @ org.eclipse.osgi.framework.eventmgr.eventmanager.dispatchevent(eventmanager.java:230) @ org.eclipse.osgi.framework.eventmgr.listenerqueue.dispatcheventsynchronous(listenerqueue.java:148) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.publishserviceeventprivileged(serviceregistry.java:862) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.publishserviceevent(serviceregistry.java:801) @ org.eclipse.osgi.internal.serviceregistry.serviceregistrationimpl.register(serviceregistrationimpl.java:127) @ org.eclipse.osgi.internal.serviceregistry.serviceregistry.registerservice(serviceregistry.java:225) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.registerservice(bundlecontextimpl.java:464) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.registerservice(bundlecontextimpl.java:482) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.registerservice(bundlecontextimpl.java:999) @ org.eclipse.gemini.web.tomcat.internal.activator.start(activator.java:61) @ org.eclipse.osgi.internal.framework.bundlecontextimpl$3.run(bundlecontextimpl.java:774) @ org.eclipse.osgi.internal.framework.bundlecontextimpl$3.run(bundlecontextimpl.java:1) @ java.security.accesscontroller.doprivileged(native method) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.startactivator(bundlecontextimpl.java:767) @ org.eclipse.osgi.internal.framework.bundlecontextimpl.start(bundlecontextimpl.java:724) @ org.eclipse.osgi.internal.framework.equinoxbundle.startworker0(equinoxbundle.java:932) @ org.eclipse.osgi.internal.framework.equinoxbundle$equinoxmodule.startworker(equinoxbundle.java:309) @ org.eclipse.osgi.container.module.dostart(module.java:581) @ org.eclipse.osgi.container.module.start(module.java:449) @ org.eclipse.osgi.container.modulecontainer$containerstartlevel.incstartlevel(modulecontainer.java:1620) @ org.eclipse.osgi.container.modulecontainer$containerstartlevel.incstartlevel(modulecontainer.java:1600) @ org.eclipse.osgi.container.modulecontainer$containerstartlevel.docontainerstartlevel(modulecontainer.java:1571) @ org.eclipse.osgi.container.modulecontainer$containerstartlevel.dispatchevent(modulecontainer.java:1514) @ org.eclipse.osgi.container.modulecontainer$containerstartlevel.dispatchevent(modulecontainer.java:1) @ org.eclipse.osgi.framework.eventmgr.eventmanager.dispatchevent(eventmanager.java:230) @ org.eclipse.osgi.framework.eventmgr.eventmanager$eventthread.run(eventmanager.java:340) okt 25, 2016 9:16:04 pm org.apache.catalina.core.standardcontext listenerstart schwerwiegend: skipped installing application listeners due previous error(s) okt 25, 2016 9:16:04 pm org.apache.catalina.core.standardcontext startinternal schwerwiegend: error listenerstart okt 25, 2016 9:16:04 pm org.apache.catalina.core.standardcontext startinternal schwerwiegend: context [/testweb] startup failed due previous errors !session 2016-10-25 21:16:00.803 ----------------------------------------------- eclipse.buildid=unknown java.version=1.8.0_101 java.vendor=oracle corporation bootloader constants: os=win32, arch=x86_64, ws=win32, nl=de_de command-line arguments: -dev file:c:\users\myuser\documents\eclipsewtp\.metadata\.plugins\org.eclipse.wst.server.core\tmp4\dev.properties -configuration c:\users\myuser\documents\eclipsewtp\.metadata\.plugins\org.eclipse.wst.server.core\tmp4 -os win32 -ws win32 -arch x86_64 -consolelog -console !entry org.eclipse.osgi 4 0 2016-10-25 21:16:05.293 !message not find bundle: org.eclipse.equinox.console !stack 0 org.osgi.framework.bundleexception: not find bundle: org.eclipse.equinox.console @ org.eclipse.core.runtime.internal.adaptor.consolemanager.checkforconsolebundle(consolemanager.java:58) @ org.eclipse.core.runtime.adaptor.eclipsestarter.startup(eclipsestarter.java:339) @ org.eclipse.core.runtime.adaptor.eclipsestarter.run(eclipsestarter.java:239) @ org.eclipse.core.runtime.adaptor.eclipsestarter.main(eclipsestarter.java:216)
for configurelistener error tried given tips removing configurelistener web.xml, add jar-files lib-folder
and adjust build-path. error still occurs. second error (bundle org.eclipse.equinox.console not found) little bit confused because added gemini web directories in first video tutorial target platform (right target platform active).
do have ideas solve these problems?
[1]: https://dev.eclipse.org/mhonarc/lists/libra-dev/msg00096.html
Comments
Post a Comment