You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by George Jegadesh <gj...@modusoperandi.com> on 2009/07/02 17:43:46 UTC

Exception from deploying war file in ServiceMix's deploy dir.

Hi All,

I am running Fuse ServiceMix V4.1.0.0.

My feature list in etc/org.apache.servicemix.features.cfg is like this:
featuresBoot=activemq,camel,jbi-cluster,web,servicemix-cxf-bc,servicemix-file,servicemix-ftp,servicemix-http,servicemix-jms,servicemix-mail,servicemix-bean,servicemix-camel,servicemix-cxf-se,servicemix-drools,servicemix-eip,servicemix-osworkflow,servicemix-quartz,servicemix-scripting,servicemix-validation,servicemix-saxon,servicemix-wsn2005

I copied my .war file into ServiceMix's deploy/ dir, in order to deploy 
my web app.

Upon this I get the following exception in ServiceMix's console. (My web 
app did not get started)
smx@root:/> java.lang.ArrayIndexOutOfBoundsException: 60
        at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:130)
        at aQute.lib.osgi.Clazz.<init>(Clazz.java:65)
        at aQute.lib.osgi.Processor.analyzeJar(Processor.java:159)
        at 
aQute.lib.osgi.Processor.analyzeBundleClasspath(Processor.java:97)
        at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:194)
        at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:293)
        at org.ops4j.pax.url.bnd.BndUtils.createBundle(BndUtils.java:106)
        at 
org.ops4j.pax.url.war.internal.AbstractConnection.getInputStream(AbstractConnection.java:111)
        at java.net.URL.openStream(URL.java:1009)
        at 
org.apache.servicemix.war.deployer.WarDeploymentListener.handle(WarDeploymentListener.java:60)
        at 
org.apache.servicemix.kernel.filemonitor.FileMonitor.transformArtifact(FileMonitor.java:339)
        at 
org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:270)
        at 
org.apache.servicemix.kernel.filemonitor.FileMonitor$3$1.run(FileMonitor.java:318)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

Could you please help me in troubleshooting this problem? Thanks in 
advance for your help!

- George


Re: Exception from deploying war file in ServiceMix's deploy dir.

Posted by Gert Vanthienen <ge...@gmail.com>.
L.S.,

According to https://issues.apache.org/jira/browse/FELIX-723 and a few
other references on the web, this might be a fairly harmless
exception.   Could you make sure that your web application did not
start successfully?  If it doesn't work for you, do you think you can
share your webapp with us or would you be able to provide us with
another sample war to reproduce the issue?  Anyway, even if this is
just a harmless exception, we should get rid of it anyway.  Let's work
on finding out what's really going on so we can raise a JIRA issue
with the right project/module and fix this.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/7/2 George Jegadesh <gj...@modusoperandi.com>:
> Hi All,
>
> I am running Fuse ServiceMix V4.1.0.0.
>
> My feature list in etc/org.apache.servicemix.features.cfg is like this:
> featuresBoot=activemq,camel,jbi-cluster,web,servicemix-cxf-bc,servicemix-file,servicemix-ftp,servicemix-http,servicemix-jms,servicemix-mail,servicemix-bean,servicemix-camel,servicemix-cxf-se,servicemix-drools,servicemix-eip,servicemix-osworkflow,servicemix-quartz,servicemix-scripting,servicemix-validation,servicemix-saxon,servicemix-wsn2005
>
> I copied my .war file into ServiceMix's deploy/ dir, in order to deploy my
> web app.
>
> Upon this I get the following exception in ServiceMix's console. (My web app
> did not get started)
> smx@root:/> java.lang.ArrayIndexOutOfBoundsException: 60
>       at aQute.lib.osgi.Clazz.parseClassFile(Clazz.java:130)
>       at aQute.lib.osgi.Clazz.<init>(Clazz.java:65)
>       at aQute.lib.osgi.Processor.analyzeJar(Processor.java:159)
>       at aQute.lib.osgi.Processor.analyzeBundleClasspath(Processor.java:97)
>       at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:194)
>       at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:293)
>       at org.ops4j.pax.url.bnd.BndUtils.createBundle(BndUtils.java:106)
>       at
> org.ops4j.pax.url.war.internal.AbstractConnection.getInputStream(AbstractConnection.java:111)
>       at java.net.URL.openStream(URL.java:1009)
>       at
> org.apache.servicemix.war.deployer.WarDeploymentListener.handle(WarDeploymentListener.java:60)
>       at
> org.apache.servicemix.kernel.filemonitor.FileMonitor.transformArtifact(FileMonitor.java:339)
>       at
> org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:270)
>       at
> org.apache.servicemix.kernel.filemonitor.FileMonitor$3$1.run(FileMonitor.java:318)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>       at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>       at java.lang.Thread.run(Thread.java:619)
>
> Could you please help me in troubleshooting this problem? Thanks in advance
> for your help!
>
> - George
>
>