Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Is Gerinomo plugin broken on WTP 0.7M5 / Eclipse 3.1?
Is Gerinomo plugin broken on WTP 0.7M5 / Eclipse 3.1? [message #118912] Sun, 10 July 2005 00:29
Eclipse UserFriend
Hi
I am trying to get to the bottom of this, as it is driving me nuts.
I have installed Geronimo 1.0-M3 / Eclipse 3.1 / WTP 0.7-M5.
I have followed the tutorial for creating an EJB project
http://www.eclipse.org/webtools/testtutorials/M2/ejbtutorial /buildingejbs.html
and after some menu tweeks and looking at BugZilla managed to follow the
tutorial to what should be a working project. How wrong was I, should have
realised something fishy was happening a couple of steps back.

I cannot deploy the EJB or Web Application to the server, and start it up. I
cannot even add the EAR project created as that has some problem with a
configuration.
What I can do is deploy the Web Application to the server, start it up, but
because I am missing something it defaults to the deault Web Application ID
and not that defined in the project. It appears that something is missing,
and that being an geronimo-jetty.xml file. It appears the tutorial at
http://www-128.ibm.com/developerworks/library/os-gerplug/ talks about this
file being automatically generated, but I am not seeing it. if I generated
it myself, Eclipse recognises it as a file with a default editor Geronimo
Web Application Deployment Editor, so obviously something is still working,
from M4. If I edit that to what is said at
http://wiki.apache.org/geronimo/Deployment#head-e90b4f36d14c 256e8a85a068971dfb9d4bd9ca8e
when I publish (right click on server) I get the following error

Deployment failed

Server reports: org.apache.xmlbeans.XmlException: Invalid deployment
descriptor:
[jar:file:/C:/DOCUME~1/NICHOL~1/LOCALS~1/Temp/ZooWebProject2 6948.tmp!/WEB-INF/geronimo-jetty.xml:0:
error: Expected element(s) in element
web-app@http://geronimo.apache.org/xml/ns/web/jetty]

Descriptor: <xml-fragment configId="your/domain/name/Example"
parentId="org/apache/geronimo/Server"
xmlns:jet="http://geronimo.apache.org/xml/ns/web/jetty">

<jet:context-root>/debug-tool</jet:context-root>

</xml-fragment>

org.apache.geronimo.deployment.DeploymentException:
org.apache.xmlbeans.XmlException: Invalid deployment descriptor:
[jar:file:/C:/DOCUME~1/NICHOL~1/LOCALS~1/Temp/ZooWebProject2 6948.tmp!/WEB-INF/geronimo-jetty.xml:0:
error: Expected element(s) in element
web-app@http://geronimo.apache.org/xml/ns/web/jetty]

Descriptor: <xml-fragment configId="your/domain/name/Example"
parentId="org/apache/geronimo/Server"
xmlns:jet="http://geronimo.apache.org/xml/ns/web/jetty">

<jet:context-root>/debug-tool</jet:context-root>

</xml-fragment>

at
org.apache.geronimo.jetty.deployment.JettyModuleBuilder.getJ ettyWebApp(JettyModuleBuilder.java:188)

at
org.apache.geronimo.jetty.deployment.JettyModuleBuilder.crea teModule(JettyModuleBuilder.java:121)

at
org.apache.geronimo.jetty.deployment.JettyModuleBuilder.crea teModule(JettyModuleBuilder.java:84)

at
org.apache.geronimo.jetty.deployment.JettyModuleBuilder$$Fas tClassByCGLIB$$b30bba8a.invoke( <generated>)

at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)

at
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastM ethodInvoker.java:38)

at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBe anMBeanOperation.java:142)

at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.j ava:823)

at org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.j ava:89)

at
org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(Raw OperationInvoker.java:34)

at
org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.interce pt(CGLibMethodInterceptor.java:112)

at
org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerB yCGLIB$$9e45a280.createModule( <generated>)

at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDepl oymentPlan(EARConfigBuilder.java:123)

at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastCl assByCGLIB$$38e56ec6.invoke( <generated>)

at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)

at
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastM ethodInvoker.java:38)

at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBe anMBeanOperation.java:142)

at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.j ava:823)

at org.apache.geronimo.gbean.jmx.RawInvoker.invoke(RawInvoker.j ava:89)

at
org.apache.geronimo.gbean.jmx.RawOperationInvoker.invoke(Raw OperationInvoker.java:34)

at
org.apache.geronimo.gbean.jmx.CGLibMethodInterceptor.interce pt(CGLibMethodInterceptor.java:112)

at
org.apache.geronimo.deployment.ConfigurationBuilder$$Enhance rByCGLIB$$7a1ca0ae.getDeploymentPlan( <generated>)

at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java :133)

at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java :60)

at
org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$7 34a235d.invoke( <generated>)

at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:87)

at
org.apache.geronimo.gbean.jmx.FastMethodInvoker.invoke(FastM ethodInvoker.java:38)

at
org.apache.geronimo.gbean.jmx.GBeanMBeanOperation.invoke(GBe anMBeanOperation.java:142)

at org.apache.geronimo.gbean.jmx.GBeanMBean.invoke(GBeanMBean.j ava:844)

at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke (InvokerMBeanServerInterceptor.java:218)

at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke (DefaultMBeanServerInterceptor.java:121)

at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invok e(SecurityMBeanServerInterceptor.java:86)

at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke (DefaultMBeanServerInterceptor.java:121)

at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke (DefaultMBeanServerInterceptor.java:121)

at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterce ptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:20 5)

at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079 )

at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:288)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at
mx4j.server.ReflectionMBeanInvoker.invokeImpl(ReflectionMBea nInvoker.java:152)

at
mx4j.server.ReflectionMBeanInvoker.doInvoke(ReflectionMBeanI nvoker.java:119)

at mx4j.server.ReflectionMBeanInvoker.invoke(ReflectionMBeanInv oker.java:54)

at
mx4j.server.interceptor.InvokerMBeanServerInterceptor.invoke (InvokerMBeanServerInterceptor.java:235)

at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke (DefaultMBeanServerInterceptor.java:121)

at
mx4j.server.interceptor.SecurityMBeanServerInterceptor.invok e(SecurityMBeanServerInterceptor.java:86)

at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke (DefaultMBeanServerInterceptor.java:121)

at
mx4j.server.interceptor.DefaultMBeanServerInterceptor.invoke (DefaultMBeanServerInterceptor.java:121)

at
mx4j.server.interceptor.ContextClassLoaderMBeanServerInterce ptor.invoke(ContextClassLoaderMBeanServerInterceptor.java:20 5)

at mx4j.server.MX4JMBeanServer.invoke(MX4JMBeanServer.java:1079 )

at
mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInv oker.java:222)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy .java:36)

at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnect ionSubjectInvoker.java:98)

at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMICo nnectionSubjectInvoker.java:32)

at
mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnect ionSubjectInvoker.java:89)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)

at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.ja va:151)

at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RM IConnectionSubjectInvoker.java:85)

at
mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnec tionSubjectInvoker.java:79)

at $Proxy0.invoke(Unknown Source)

at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConn ectionImpl.java:224)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.ja va: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(TCPTranspo rt.java:460)

at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCP Transport.java:701)

at java.lang.Thread.run(Thread.java:534)

Caused by: org.apache.xmlbeans.XmlException: Invalid deployment descriptor:
[jar:file:/C:/DOCUME~1/NICHOL~1/LOCALS~1/Temp/ZooWebProject2 6948.tmp!/WEB-INF/geronimo-jetty.xml:0:
error: Expected element(s) in element
web-app@http://geronimo.apache.org/xml/ns/web/jetty]

Descriptor: <xml-fragment configId="your/domain/name/Example"
parentId="org/apache/geronimo/Server"
xmlns:jet="http://geronimo.apache.org/xml/ns/web/jetty">

<jet:context-root>/debug-tool</jet:context-root>

</xml-fragment>

at
org.apache.geronimo.schema.SchemaConversionUtils.validateDD( SchemaConversionUtils.java:469)

at
org.apache.geronimo.jetty.deployment.JettyModuleBuilder.getJ ettyWebApp(JettyModuleBuilder.java:175)

.... 77 more


If I add the EJB Project I get an error in my .meta/.log file which I have
added as a bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=103259

This is driving me nuts, as it appears that it should work, as IBM would not
write a document on something that is broken.

Any Ideas?

Thanks

Nicholas Irving
Previous Topic:No such item "J2EE Web Module"
Next Topic:.deployables
Goto Forum:
  


Current Time: Tue Apr 22 13:25:58 EDT 2025

Powered by FUDForum. Page generated in 0.03690 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top