geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mika" <mika.wo...@gentlemansclub.de>
Subject Re: Deploying an J2EE JAR needs GBean ???
Date Mon, 24 Jul 2006 14:22:35 GMT
Thanks, but uncommented the security-constraint tags already, because I believe that we must
use these constraints...

These constraint-section are describing the permissions of each user, aren't they? (As i suggest)

I had a deeper look at geronimo-application.xml in the META-INF-folder of the EAR, and I was
a little bit surprised, because there the xmlns-tag referred on application-1.0. I changed
it to application-1.1 like in Geronimo's schema-folder, or shouldn't I do this?

Is there a need for the <alt-dd>-tag although the DD is in the WAR's or JAR's?
Because while deploying such an error occures and I don't know what I should fill in between
the <alt-dd>-tag's.

Referring to your reply:
As i wrote this error only occured when I comment the security-constraint-section out.

Thanks a log,
mika

-------- Original-Nachricht --------
Datum: Mon, 24 Jul 2006 10:00:59 -0400
Von: "Aaron Mulder" <ammulder@alumni.princeton.edu>
An: user@geronimo.apache.org
Betreff: Re: Deploying an J2EE JAR needs GBean ???

> So it looks like your application has a web service and can't find
> some Axis classes.  Is this a J2EE web service (using webservices.xml
> and a JAX-RPC mapping file and so on) or is it a web services you've
> manually created with Axis or something?
> 
> Thanks,
>     Aaron
> 
> On 7/21/06, mika <mika.works@gentlemansclub.de> wrote:
> > well, I've commented out the <security-constraint> section in the
> web.xml.
> >
> > Should I also comment them out in the geronimo-web.xml?
> >
> > As you could see there is only one role-mapping in the geronimo-web.xml.
> Is this maybe the reason of the error?
> >
> > It follows the stack trace:
> > Using GERONIMO_BASE:   C:\ApplicationServers\geronimo-1.1
> > Using GERONIMO_HOME:   C:\ApplicationServers\geronimo-1.1
> > Using GERONIMO_TMPDIR: C:\ApplicationServers\geronimo-1.1\var\temp
> > Using JRE_HOME:        C:\Programme\Java\jre1.5.0_06
> >     Error: Unable to distribute connector.ear: Could not load servlet
> >     class org.apache.soap.server.http.MessageRouterServlet
> >
> >     org.apache.geronimo.common.DeploymentException: Could not load
> >     servlet class org.apache.soap.server.http.MessageRouterServlet
> >
> >         at
> >    
> org.apache.geronimo.jetty.deployment.JettyModuleBuilder.addServlet(JettyModuleBuilder.java:837)
> >
> >         at
> >    
> org.apache.geronimo.jetty.deployment.JettyModuleBuilder.addServlets(JettyModuleBuilder.java:797)
> >
> >         at
> >    
> org.apache.geronimo.jetty.deployment.JettyModuleBuilder.addGBeans(JettyModuleBuilder.java:704)
> >
> >         at
> >    
> org.apache.geronimo.jetty.deployment.JettyModuleBuilder$$FastClassByCGLIB$$b30bba8a.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:817)
> >
> >         at
> >    
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> >
> >         at
> >    
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
> >
> >         at
> >    
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> >
> >         at
> >    
> org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$48d7bd9c.addGBeans(<generated>)
> >
> >         at
> >    
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.addGBeans(SwitchingModuleBuilder.java:162)
> >
> >         at
> >    
> org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder$$FastClassByCGLIB$$d0c31844.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:817)
> >
> >         at
> >    
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> >
> >         at
> >    
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
> >
> >         at
> >    
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> >
> >         at
> >    
> org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$48d7bd9c.addGBeans(<generated>)
> >
> >         at
> >    
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:562)
> >
> >         at
> >    
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$$38e56ec6.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:817)
> >
> >         at
> >    
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
> >
> >         at
> >    
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
> >
> >         at
> >    
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
> >
> >         at
> >    
> org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$54c4c60e.buildConfiguration(<generated>)
> >
> >         at
> >     org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302)
> >
> >         at
> >     org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
> >
> >         at
> >    
> org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.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.GeneratedMethodAccessor187.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.ClassNotFoundException:
> >     org.apache.soap.server.http.MessageRouterServlet in classloader
> >     default/transconnect_wsci.war/1153484003774/car
> >
> >         at
> >    
> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:249)
> >
> >         at java.lang.ClassLoader.loadClass(Unknown Source)
> >
> >         at
> >    
> org.apache.geronimo.jetty.deployment.JettyModuleBuilder.addServlet(JettyModuleBuilder.java:835)
> >
> >         ... 67 more
> >
> >
> > Thanks for help,
> > mika
> > --
> >
> >
> > Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
> > "Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl
> >

-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

Mime
View raw message