geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ruebsam <mario.rueb...@googlemail.com>
Subject Re: Deploying EAR which has been already deployed in JBoss 4.0.4
Date Thu, 27 Jul 2006 13:08:45 GMT
For what I can see you need the Xalan libraries in your
dependency settings as I described with the soap-2.3.1.jar

Geronimo don't use a global lib/ext directory for all
the files needed by your app, it uses the repositiory
which can store also different lib version.

You have to declare these dependencies in your geronimo-web-*.xml

It sounds hard to do all that declarations but it gives you
much more control on which libs are loaded and which not.

Thanks,
Mario

mika wrote:
> The EAR appears in the Geronimo Web Console under Application EAR and in the standard
console via 'deploy list-modules'...
> 
> If I want to redeploy it, following cruel errors are hurting my eyes.
> 
> Exception in thread "Thread-3" java.lang.ExceptionInInitializerError
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	at org.openejb.proxy.SessionEJBObject$$EnhancerByCGLIB$$ee3bd66e.CGLIB$STATICHOOK115(<generated>)
> 	at org.openejb.proxy.SessionEJBObject$$EnhancerByCGLIB$$ee3bd66e.<clinit>(<generated>)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at net.sf.cglib.proxy.MethodProxy.find(MethodProxy.java:127)
> 	at org.openejb.dispatch.MethodHelper.getSuperIndex(MethodHelper.java:82)
> 	at org.openejb.proxy.EJBProxyHelper.buildProxyToShadowIndex(EJBProxyHelper.java:122)
> 	at org.openejb.proxy.EJBProxyHelper.getOperationMap(EJBProxyHelper.java:67)
> 	at org.openejb.proxy.EJBProxyFactory$InterfaceMaps.createOperationsMap(EJBProxyFactory.java:397)
> 	at org.openejb.proxy.EJBProxyFactory$InterfaceMaps.<init>(EJBProxyFactory.java:364)
> 	at org.openejb.proxy.EJBProxyFactory.<init>(EJBProxyFactory.java:88)
> 	at org.openejb.GenericEJBContainer.<init>(GenericEJBContainer.java:172)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
> 	at java.lang.reflect.Constructor.newInstance(Unknown Source)
> 	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.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
> 	at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:512)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:493)
> 	at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.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 com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(Unknown Source)
> 	at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(Unknown Source)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
> 	at javax.management.remote.rmi.RMIConnectionImpl.access$100(Unknown Source)
> 	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
> 	at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
> 	at sun.reflect.GeneratedMethodAccessor345.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> 	at java.lang.reflect.Method.invoke(Unknown Source)
> 	at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> 	at sun.rmi.transport.Transport$1.run(Unknown Source)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
> 	at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.RuntimeException: error creating message: transformer factory not
found
> 	at com.sqlgmbh.tcsap.Message.<clinit>(Unknown Source)
> 	... 64 more
> Caused by: java.lang.ClassNotFoundException: org.apache.xalan.xsltc.trax.TransformerFactoryImpl
in classloader com.sqlgmbh.tcsap.ci/TCapplication/1.0/ear
> 	at org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:249)
> 	at java.lang.ClassLoader.loadClass(Unknown Source)
> 	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Unknown Source)
> 	... 65 more
> 
> ##############################
> 
> Geronimo unload, stop and uninstall this ear fine on invoking the redeploy command. But
after this these errors above occur.
> 
> What do these errors want to say to me?
> 
> Thanks a lot,
> mika


Mime
View raw message