PlanetJava
Custom Search

java-geronimo-devel
[Top] [All Lists]

daytrader1.1 deply problem with geronimo eclipse plug-in 1.1

Subject: daytrader1.1 deply problem with geronimo eclipse plug-in 1.1
Date: Tue, 18 Jul 2006 19:33:53 -0700 (PDT)
Hi Everyone,
Has anyone tried to deploy Daytrader1.1 on Geronimo1.1
via the Geronimo1.1 Eclipse plug-in?
I am using g-eclipse-plugin-1.1-deployable-RC10.zip
plug-in and  wtp 1.5.
If I import the Daytrader1.1 ear file in my Eclipse
workspace and try to deploy it on the Geronimo1.1, I
get the following a deployment error:
?java.lang.Exception: xml problem for web app web.war
org.apache.geronimo.common.DeploymentException: xml
problem for web app web.war
        at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.getTomcatWebApp(TomcatModuleBuilder.java:241)
        at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.createModule(TomcatModuleBuilder.java:158)
        at
org.apache.geronimo.web.deployment.AbstractWebModuleBuilder.createModule(AbstractWebModuleBuilder.java:118)
        at
org.apache.geronimo.web.deployment.AbstractWebModuleBuilder$$FastClassByCGLIB$$459e0cc.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$$36b45905.createModule(<generated>)
        at
org.apache.geronimo.j2ee.deployment.SwitchingModuleBuilder.createModule(SwitchingModuleBuilder.java:141)
        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$$36b45905.createModule(<generated>)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.addModules(EARConfigBuilder.java:751)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getEarPlan(EARConfigBuilder.java:364)
        at
org.apache.geronimo.j2ee.deployment.EARConfigBuilder.getDeploymentPlan(EARConfigBuilder.java:263)
        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$$42a16177.getDeploymentPlan(<generated>)
        at
org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:232)
        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.GeneratedMethodAccessor162.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: org.apache.xmlbeans.XmlException: Invalid
deployment descriptor: [error: cvc-complex-type.3.2.1:
Attribute not allowed (no wildcards allowed):
configId, error: cvc-complex-type.3.2.1: Attribute not
allowed (no wildcards allowed): parentId, error:
cvc-complex-type.2.4a: Expected elements
'[email protected]://geronimo.apache.org/xml/ns/deployment-1.1
[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
[email protected]://geronimo.apache.org/xml/ns/naming-1.1
[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
[email protected]://geronimo.apache.org/xml/ns/naming-1.1
[email protected]://geronimo.apache.org/xml/ns/naming-1.1
[email protected]://geronimo.apache.org/xml/ns/naming-1.1
[email protected]://geronimo.apache.org/xml/ns/naming-1.1
[email protected]://geronimo.apache.org/xml/ns/naming-1.1
[email protected]://geronimo.apache.org/xml/ns/naming-1.1
[email protected]://geronimo.apache.org/xml/ns/naming-1.1
[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1
[email protected]://geronimo.apache.org/xml/ns/deployment-1.1'
instead of
'[email protected]://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1'
here]
Descriptor: <xml-fragment configId="TradeWeb"
parentId="Trade"
xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1";
xmlns:tom="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.1";>
<tom:context-priority-classloader>false</tom:context-priority-classloader>
  <naming:resource-ref>
<naming:ref-name>jdbc/TradeDataSource</naming:ref-name>
<naming:resource-link>TradeDataSource</naming:resource-link>
  </naming:resource-ref>
</xml-fragment>
        at
org.apache.geronimo.schema.SchemaConversionUtils.validateDD(SchemaConversionUtils.java:605)
        at
org.apache.geronimo.tomcat.deployment.TomcatModuleBuilder.getTomcatWebApp(TomcatModuleBuilder.java:234)
        ... 69 more
        at
org.apache.geronimo.st.core.GenericGeronimoServerBehaviour.doFail(GenericGeronimoServerBehaviour.java:218)
        at
org.apache.geronimo.st.core.GenericGeronimoServerBehaviour.doDeploy(GenericGeronimoServerBehaviour.java:145)
        at
org.apache.geronimo.st.core.GenericGeronimoServerBehaviour.invokeCommand(GenericGeronimoServerBehaviour.java:113)
        at
org.apache.geronimo.st.core.GenericGeronimoServerBehaviour.publishModule(GenericGeronimoServerBehaviour.java:94)
        at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:672)
        at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:752)
        at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:610)
        at
org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:803)
        at
org.eclipse.wst.server.core.internal.Server.publish(Server.java:791)
        at
org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
        at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)."
It seems to me that the Eclipse plugin is looking for
a lot moe elements and attributes of the
Geronimo-web.xml deployment descriptor.
However, if I export this project as an ear file and
deploy it on Geronimo1.1, it deploys fine.
Does anyone know how can I successfully deploy
Daytrader1.1 directly from Eclipse?
Thanks,
Slava
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
  • daytrader1.1 deply problem with geronimo eclipse plug-in 1.1,
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy