You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2007/07/20 18:03:06 UTC
[jira] Created: (GERONIMO-3336) Using XStreamConfigurationMarshaler
blocks installation of servlet-examples-tomcat-2.0-SNAPSHOT.car
Using XStreamConfigurationMarshaler blocks installation of servlet-examples-tomcat-2.0-SNAPSHOT.car
---------------------------------------------------------------------------------------------------
Key: GERONIMO-3336
URL: https://issues.apache.org/jira/browse/GERONIMO-3336
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: kernel
Affects Versions: 2.0-M7
Environment: WinXP, Java 1.5.0_11
Reporter: Donald Woods
Deploying servlet-examples-tomcat-2.0-SNAPSHOT.car to the JEE5 Tomcat assembly when using -
set GERONIMO_OPTS=-DXorg.apache.geronimo.kernel.config.Marshaler=org.apache.geronimo.kernel.config.xstream.XStreamConfigurationMarshaler
fails (but it works with the normal SerializedConfigurationMarshaler) with the following console window output -
11:48:21,359 ERROR [GBeanInstanceState] Error while starting; GBean is now in th
e FAILED state: abstractName="org.apache.geronimo.applications.examples/geronimo
-servlet-examples/2.0-SNAPSHOT/war?configurationName=org.apache.geronimo.applica
tions.examples/geronimo-servlet-examples/2.0-SNAPSHOT/war"
org.apache.geronimo.kernel.config.InvalidConfigException: Unable to load gbeans
at org.apache.geronimo.kernel.config.xstream.XStreamGBeanState.loadGBean
s(XStreamGBeanState.java:118)
at org.apache.geronimo.kernel.config.xstream.XStreamGBeanState.getGBeans
(XStreamGBeanState.java:79)
at org.apache.geronimo.kernel.config.ConfigurationData.getGBeans(Configu
rationData.java:171)
at org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.
java:277)
at sun.reflect.GeneratedConstructorAccessor48.newInstance(Unknown Source
)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
nstance.java:946)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
(GBeanInstanceState.java:268)
at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
nceState.java:102)
at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
ava:539)
at org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.j
ava:361)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Ker
nelConfigurationManager.java:160)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:310)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:278)
at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:253)
at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConf
iguration(KernelConfigurationManager.java:111)
at org.apache.geronimo.kernel.config.KernelConfigurationManager$$FastCla
ssByCGLIB$$b117102f.invoke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:127)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:865)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
239)
at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.in
voke(<generated>)
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethod
Invoker.java:38)
at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.java:127)
at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
java:865)
at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:
239)
at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBrid
ge.java:168)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImp
l.java:231)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:238)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:833)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:802
)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnecti
onImpl.java:1423)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectio
nImpl.java:96)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run
(RMIConnectionImpl.java:1260)
at java.security.AccessController.doPrivileged(AccessController.java:275
)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(R
MIConnectionImpl.java:1363)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImp
l.java:797)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:309)
at sun.rmi.transport.Transport$1.run(Transport.java:168)
at java.security.AccessController.doPrivileged(AccessController.java:275
)
at sun.rmi.transport.Transport.serviceCall(Transport.java:164)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:5
06)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TC
PTransport.java:838)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:912)
at java.lang.Thread.run(Thread.java:801)
Caused by:
com.thoughtworks.xstream.converters.ConversionException: Could not get GBeanInfo
from class: org.apache.geronimo.security.jacc.ApplicationPrincipalRoleConfigura
tionManager
---- Debugging information ----
message : Could not get GBeanInfo from class: org.apache.geronimo.se
curity.jacc.ApplicationPrincipalRoleConfigurationManager
cause-exception : org.apache.geronimo.gbean.InvalidConfigurationException
cause-message : Could not get GBeanInfo from class: org.apache.geronimo.se
curity.jacc.ApplicationPrincipalRoleConfigurationManager
class : [Lorg.apache.geronimo.gbean.GBeanData;
required-type : org.apache.geronimo.gbean.GBeanData
path : /gbean-array/gbean[4]
class : [Lorg.apache.geronimo.gbean.GBeanData;
required-type : org.apache.geronimo.gbean.GBeanData
path : /gbean-array/gbean[4]
-------------------------------
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshall
er.java:63)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(A
bstractReferenceUnmarshaller.java:45)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:46)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionCon
verter.readItem(AbstractCollectionConverter.java:66)
at com.thoughtworks.xstream.converters.collections.ArrayConverter.unmars
hal(ArrayConverter.java:44)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshall
er.java:56)
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(A
bstractReferenceUnmarshaller.java:45)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnm
arshaller.java:46)
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller
.java:117)
at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unm
arshal(ReferenceByXPathMarshallingStrategy.java:29)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:832)
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:810)
at org.apache.geronimo.kernel.config.xstream.XStreamGBeanState.loadGBean
s(XStreamGBeanState.java:114)
... 52 more
Caused by:
org.apache.geronimo.gbean.InvalidConfigurationException: Could not get GBeanInfo
from class: org.apache.geronimo.security.jacc.ApplicationPrincipalRoleConfigura
tionManager
at org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:85)
at org.apache.geronimo.kernel.config.xstream.GBeanDataConverter.unmarsha
l(GBeanDataConverter.java:128)
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshall
er.java:56)
... 64 more
Caused by:
java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.geronimo.gbean.GBeanInfo.getGBeanInfo(GBeanInfo.java:83)
... 66 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.