geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <ammul...@alumni.princeton.edu>
Subject Re: Changing application calsspath to include directory
Date Fri, 09 Jun 2006 11:40:18 GMT
OK, there are several different issues here.

First, putting properties files in a JAR and adding a dependency on
that JAR should work, so there must be some problem with either the
configuration or the code that you're trying to use.  If you'd like to
pursue that, can you post your code and JAR content and JAR file
location in more detail?  We may have to get this working in order to
be sure you're using the right approach to try it exploded.

Then we have the 1.1 problem , which seems to amount to:

Caused by: java.io.IOException: Unable to deserialize GBeanData
default/Application_ID/1149844708888/car?J2EEApplication=default/Application_ID/1149844708888/car,j2eeType=WebModule,name=TPRWeb.war,
attribute: componentContext
        at org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:239)
        ... 65 more
Caused by: java.io.InvalidClassException:
org.apache.axis.description.OperationDesc; class invalid for
deserialization
        at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:487)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
        ...

What JVM are you using?  Did you do anything other than deploy your
EAR?  I assume the EAR involves web services somehow?

Thanks,
    Aaron

On 6/9/06, paul.newport@targetgroup.net <paul.newport@targetgroup.net> wrote:
>
> As an alternative tack I have downloaded the latest 1.1 release candidate
> (geronimo-1.1-20060607) so that I could try out the suggested
>
>
> org.apache.geronimo.system.sharedlib.SharedLib
>
>  method of overriding the classpath.
>
> Before I even wrote a geronimo application deployment descriptor, I tried
> deploying my raw Ear, and got this, so have not got any further:
>
> 10:18:29,028 WARN  [JettyModuleBuilder] Web application SV2WebServices.war
> does not contain a WEB-INF/geronimo-web.xml deployment plan.  This may or
> may not be a problem, depending on whether you have things like resource
> references that need to be resolved.  You can also give the deployer a
> separate deployment plan file on the command line.
> 10:18:29,341 WARN  [JettyModuleBuilder] Web application TPRWeb.war does not
> contain a WEB-INF/geronimo-web.xml deployment plan.  This may or may not be
> a problem, depending on whether you have things like resource references
> that need to be resolved.  You can also give the deployer a separate
> deployment plan file on the command line.
> 10:18:32,606 WARN  [HeavyweightTypeInfoBuilder] No soap array info for
> schematype: T=Item@http://xml.apache.org/xml-soap
> 10:18:33,403 ERROR [GBeanInstanceState] Error while starting; GBean is now
> in the FAILED state:
> abstractName="default/Application_ID/1149844708888/car?configurationName=default/Application_ID/1149844708888/car"
> org.apache.geronimo.kernel.config.InvalidConfigException:
> Unable to deserialize GBeanState
>         at
> org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:120)
>         at
> org.apache.geronimo.kernel.config.SerializedGBeanState.getGBeans(SerializedGBeanState.java:65)
>         at
> org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(ConfigurationData.java:171)
>         at
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:277)
>         at
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:295)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>         at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>         at
> java.lang.reflect.Constructor.newInstance(Constructor.java:274)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:933)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:526)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:361)
>         at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:161)
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:292)
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:260)
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:235)
>         at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:112)
>         at
> org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastClassByCGLIB$$b117102f.invoke(<generated>)
>         at
> net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>         at
> org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:338)
>         at
> org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke(<generated>)
>         at
> net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>         at
> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
>         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
>         at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
>         at
> org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:168)
>         at
> mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke(InvokerMBeanServerInterceptor.java:221)
>         at
> mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
>         at
> mx4j.server.interceptor.SecurityMBeanServerInterceptor.invoke(SecurityMBeanServerInterceptor.java:84)
>         at
> mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
>         at
> mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:120)
>         at
> mx4j.server.interceptor.ContextClassLoaderMBeanServerInterceptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:203)
>         at
> mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1043)
>         at
> mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
>         at
> sun.reflect.GeneratedMethodAccessor159.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
>         at
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
>         at
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
>         at
> mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
>         at
> java.security.AccessController.doPrivileged(Native Method)
>         at
> javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>         at
> mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
>         at
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
>         at
> mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
>         at $Proxy0.invoke(Unknown Source)
>         at
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
>         at
> sun.reflect.GeneratedMethodAccessor159.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
>         at
> sun.rmi.transport.Transport$1.run(Transport.java:148)
>         at
> java.security.AccessController.doPrivileged(Native Method)
>         at
> sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>         at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
>         at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.io.IOException: Unable to deserialize GBeanData
> default/Application_ID/1149844708888/car?J2EEApplication=default/Application_ID/1149844708888/car,j2eeType=WebModule,name=TPRWeb.war
>         at
> org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:266)
>         at
> org.apache.geronimo.kernel.config.SerializedGBeanState.loadGBeans(SerializedGBeanState.java:111)
>         ... 64 more
> Caused by: java.io.IOException: Unable to deserialize GBeanData
> default/Application_ID/1149844708888/car?J2EEApplication=default/Application_ID/1149844708888/car,j2eeType=WebModule,name=TPRWeb.war,
> attribute: componentContext
>         at
> org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:239)
>         ... 65 more
> Caused by: java.io.InvalidClassException:
> org.apache.axis.description.OperationDesc; class invalid
> for deserialization
>         at
> java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:487)
>         at
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
>         at
> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
>         at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at
> java.io.ObjectInputStream.readArray(ObjectInputStream.java:1578)
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1271)
>         at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at java.util.HashMap.readObject(HashMap.java:1006)
>         at
> sun.reflect.GeneratedMethodAccessor163.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
>         at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>         at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1845)
>         at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1769)
>         at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at java.util.HashMap.readObject(HashMap.java:1006)
>         at
> sun.reflect.GeneratedMethodAccessor163.invoke(Unknown
> Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at
> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
>         at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
>         at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
>         at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
>         at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
>         at
> org.apache.geronimo.gbean.GBeanData.readExternal(GBeanData.java:235)
>         ... 65 more
>
>
> Target
>
> www.targetgroup.net
>
>
>
> **********************************************************************
>
> DISCLAIMER.
>
> This message is intended only for the use of the Addressee and may
>
> contain information that is PRIVILEGED and CONFIDENTIAL.
>
> If you are not the intended recipient you must not copy,
>
> distribute or take any action or reliance upon it.
>
> The content of this message may also contain personal
>
> views of an employee of this company and does
>
> not necessarily represent the view of the company.
>
> **********************************************************************
>
> This message has been scanned by Norton Anti-Virus.
>
> It has also been scanned by MAILsweeper to enforce our e-mail
>
> policy. If you have any concerns or comments about the content
>
> of this message, please e-mail support@targetgroup.net.
>
> **********************************************************************
> _____________________________________________________________________
>  This email has been scanned for all viruses by the MessageLabs Email
>  Security System. For more information on a proactive email security
>  service working around the clock, around the globe, visit
>  http://www.messagelabs.com
>

Mime
View raw message