karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Web context state is failed
Date Wed, 17 Apr 2019 12:55:36 GMT
Hi,

it seems the version is not well formed in your webapp.

Is it a regular WAR ? What do you have in the web.xml ?
What's the war filename ?

Regards
JB

On 17/04/2019 14:43, Saravana Prasad wrote:
> What could cause web context state as failed.
> Web context state is failed with following error.
> Environment: Karaf-4.2.3 on Windows
> 
> 2019-04-17T18:10:00,762 | ERROR | Background Install
> C:\apache-karaf-4.2.3\bin\..\data\tmp\install891668590874540976.tmp |
> WebObserver                      | 104 -
> org.ops4j.pax.web.pax-web-extender-war - 7.2.8 | Error scanning web bundle
> com.cc.wb.WBKarafFeaturesWeb [144]: null
> java.lang.NullPointerException: null
> 	at
> org.ops4j.pax.web.extender.war.internal.parser.WebAppParser.scanMajorVersion(WebAppParser.java:267)
> ~[104:org.ops4j.pax.web.pax-web-extender-war:7.2.8]
> 	at
> org.ops4j.pax.web.extender.war.internal.parser.WebAppParser.parse(WebAppParser.java:151)
> ~[104:org.ops4j.pax.web.pax-web-extender-war:7.2.8]
> 	at
> org.ops4j.pax.web.extender.war.internal.WebObserver.createExtension(WebObserver.java:145)
> [104:org.ops4j.pax.web.pax-web-extender-war:7.2.8]
> 	at
> org.ops4j.pax.web.extender.war.internal.Activator.doCreateExtension(Activator.java:82)
> [104:org.ops4j.pax.web.pax-web-extender-war:7.2.8]
> 	at
> org.ops4j.pax.web.extender.war.internal.extender.AbstractExtender.createExtension(AbstractExtender.java:259)
> [104:org.ops4j.pax.web.pax-web-extender-war:7.2.8]
> 	at
> org.ops4j.pax.web.extender.war.internal.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:242)
> [104:org.ops4j.pax.web.pax-web-extender-war:7.2.8]
> 	at
> org.ops4j.pax.web.extender.war.internal.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:54)
> [104:org.ops4j.pax.web.pax-web-extender-war:7.2.8]
> 	at
> org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482)
> [?:?]
> 	at
> org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415)
> [?:?]
> 	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232)
> [?:?]
> 	at
> org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
> [?:?]
> 	at
> org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915)
> [?:?]
> 	at
> org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834)
> [?:?]
> 	at
> org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:516)
> [?:?]
> 	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4579) [?:?]
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:2174) [?:?]
> 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) [?:?]
> 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) [?:?]
> 	at
> org.apache.felix.webconsole.internal.core.InstallHelper.doRun(InstallHelper.java:67)
> [57:org.apache.karaf.webconsole.console:4.2.3]
> 	at
> org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.doRun(BaseUpdateInstallHelper.java:99)
> [57:org.apache.karaf.webconsole.console:4.2.3]
> 	at
> org.apache.felix.webconsole.internal.core.BaseUpdateInstallHelper.run(BaseUpdateInstallHelper.java:171)
> [57:org.apache.karaf.webconsole.console:4.2.3]
> 	at java.lang.Thread.run(Thread.java:834) [?:?]
> 
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message