You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Song (JIRA)" <ji...@apache.org> on 2007/08/20 06:11:32 UTC
[jira] Created: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
--------------------------------------------------------------------------------------------------------------------------------
Key: GERONIMODEVTOOLS-184
URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
Project: Geronimo-Devtools
Issue Type: Bug
Components: eclipse-plugin
Affects Versions: 2.0
Environment: Windows xp sp2, Eclipse Version: 3.3.0
Reporter: Song
After deployed samples (such as cviewer) to the server within Eclipse, Run As--Run on Server,An internal error occurred.
In fact, the cviewer sample can be deployed and executed successfully via the command line.
Detailed error message see the below:
-----------------------------------------------------------------------------------
java.lang.NoSuchMethodError: org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown Source)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
at org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
Posted by "Ted Kirby (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521078 ]
Ted Kirby commented on GERONIMODEVTOOLS-184:
--------------------------------------------
Thanks, Kan, that looks like the problem. The plugin is using xbean-2.0.0, whereas the server is using xmlbeans-2.3.0.
> An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-184
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.0
> Environment: Windows xp sp2, Eclipse Version: 3.3.0
> Reporter: Song
> Assignee: Shiva Kumar H R
>
> After deployed samples (such as cviewer) to the server within Eclipse, Run As--Run on Server,An internal error occurred.
> In fact, the cviewer sample can be deployed and executed successfully via the command line.
> Detailed error message see the below:
> -----------------------------------------------------------------------------------
> java.lang.NoSuchMethodError: org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
> at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown Source)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
> at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
> at org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
> at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim McConnell closed GERONIMODEVTOOLS-184.
------------------------------------------
Resolution: Fixed
The changes in r568286 to update devtools\eclipse-plugin\trunk to support the 2.0.1 version of the Geronimo server have fixed this problem. The problem resulted from not having all the dependencies required for 2.0.1 (namely geronimo-schema-jee_5-1.1.jar). I've also published a new version of the plugin to the unstable repo.
> An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-184
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.0
> Environment: Windows xp sp2, Eclipse Version: 3.3.0
> Reporter: Song
> Assignee: Tim McConnell
> Fix For: 2.0
>
>
> After deployed samples (such as cviewer) to the server within Eclipse, Run As--Run on Server,An internal error occurred.
> In fact, the cviewer sample can be deployed and executed successfully via the command line.
> Detailed error message see the below:
> -----------------------------------------------------------------------------------
> java.lang.NoSuchMethodError: org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
> at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown Source)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
> at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
> at org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
> at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
Posted by "Shiva Kumar H R (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shiva Kumar H R reassigned GERONIMODEVTOOLS-184:
------------------------------------------------
Assignee: Shiva Kumar H R
> An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-184
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.0
> Environment: Windows xp sp2, Eclipse Version: 3.3.0
> Reporter: Song
> Assignee: Shiva Kumar H R
>
> After deployed samples (such as cviewer) to the server within Eclipse, Run As--Run on Server,An internal error occurred.
> In fact, the cviewer sample can be deployed and executed successfully via the command line.
> Detailed error message see the below:
> -----------------------------------------------------------------------------------
> java.lang.NoSuchMethodError: org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
> at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown Source)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
> at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
> at org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
> at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
Posted by "Kan Ogawa (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521019 ]
Kan Ogawa commented on GERONIMODEVTOOLS-184:
--------------------------------------------
Perhaps, XmlBeans library ( included in "org.apache.geronimo.runtime.common" plugin ) is old version.
The static method XmlBean#typeSystemForClassLoader(java.lang.ClassLoader, java.lang.String) is added since XmlBeans v2.1.0 or later.
> An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-184
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.0
> Environment: Windows xp sp2, Eclipse Version: 3.3.0
> Reporter: Song
> Assignee: Shiva Kumar H R
>
> After deployed samples (such as cviewer) to the server within Eclipse, Run As--Run on Server,An internal error occurred.
> In fact, the cviewer sample can be deployed and executed successfully via the command line.
> Detailed error message see the below:
> -----------------------------------------------------------------------------------
> java.lang.NoSuchMethodError: org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
> at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown Source)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
> at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
> at org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
> at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
Posted by "Shiva Kumar H R (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521125 ]
Shiva Kumar H R commented on GERONIMODEVTOOLS-184:
--------------------------------------------------
Instead of "java.lang.NoSuchMethodError:" I keep hitting below errors during Publish:
javax.enterprise.deploy.spi.exceptions.TargetException: Unknown attribute "URLFor" in gbean default/HelloWorld/1.0/car?J2EEApplication=null,j2eeType=WebModule,name=default/HelloWorld/1.0/car
at org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getModules(JMXDeploymentManager.java:180)
at org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.getAvailableModules(JMXDeploymentManager.java:118)
at org.apache.geronimo.st.core.DeploymentUtils.getTargetModuleID(DeploymentUtils.java:171)
at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:211)
at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doNoChange(GeronimoServerBehaviourDelegate.java:477)
at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:379)
at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.apache.geronimo.kernel.NoSuchAttributeException: Unknown attribute "URLFor" in gbean default/HelloWorld/1.0/car?J2EEApplication=null,j2eeType=WebModule,name=default/HelloWorld/1.0/car
at org.apache.geronimo.gbean.runtime.GBeanInstance.getAttributeByName(GBeanInstance.java:800)
at org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java:674)
at org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel.java:178)
at org.apache.geronimo.kernel.KernelGBean.getAttribute(KernelGBean.java:282)
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:124)
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(MBeanGBeanBridge.java:168)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
at sun.reflect.GeneratedMethodAccessor199.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
> An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-184
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.0
> Environment: Windows xp sp2, Eclipse Version: 3.3.0
> Reporter: Song
> Assignee: Shiva Kumar H R
>
> After deployed samples (such as cviewer) to the server within Eclipse, Run As--Run on Server,An internal error occurred.
> In fact, the cviewer sample can be deployed and executed successfully via the command line.
> Detailed error message see the below:
> -----------------------------------------------------------------------------------
> java.lang.NoSuchMethodError: org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
> at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown Source)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
> at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
> at org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
> at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
Posted by Tim McConnell <ti...@gmail.com>.
Hi again Shiva, the changes to trunk for the geronimo-web-2.5 artifact is part
of the set of changes required for using the new 2.0.1 Geronimo server, and
since they had not been working well until last night, I have not committed them
to trunk. I'm doing a clean M2 repo build of the plugin now to ensure it builds
correctly and will commit shortly afterwards. Thanks.
Shiva Kumar H R wrote:
> Oh! yes, after updating plug-in code to use 2.0.1-SNAPSHOT artifacts &
> geronimo-web-2.5-builder, I am now getting the errors initially reported
> in that JIRA.
>
> Any particular reason why those changes (as well as
> GERONIMODEVTOOLS-180) haven't yet been committed into trunk?
>
> Now testing upgrade to xmlbeans 2.3.0.
>
> - Shiva
>
> On 8/20/07, *Tim McConnell* <tim.mcconne@gmail.com
> <ma...@gmail.com>> wrote:
>
> Hi Shiva, are you using the new 2.0.1 artifacts to build the plugin
> ?? And if
> so, did you change the pom.xml to use the geronimo-web-2.5-builder
> artifact
> instead of the geronimo-web-builder artifact ??
>
> Shiva Kumar H R (JIRA) wrote:
> > [
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521137
> ]
> >
> > Shiva Kumar H R commented on GERONIMODEVTOOLS-184:
> > --------------------------------------------------
> >
> > Changing xmlbeans version to 2.3.0 and rebuilding the plug-in
> doesn't seem to solve the problem.
> >
> > Some of my observations while debugging:
> > 1) Set breakpoint at line 171 of
> org.apache.geronimo.st.core.DeploymentUtils.class
> > Here dm.getAvailableModules(null, dm.getTargets()) is called.
> >
> > 2) Keep "Stepping into" until you hit
> >
> org.apache.geronimo.deployment.plugin.local.CommandSupport.addWebURLs(Kernel,
> List) line: 295
> > Here kernel.getAttribute(name, "contextPath") is called.
> >
> > 3) Further stepping in, reveals that
> > org.apache.geronimo.system.jmx.KernelDelegate.class's
> > getAttribute(AbstractName abstractName, String attributeName) is
> called, with the value of second argument changed to "URLFor"
> instead of called value "contextPath"!
> >
> > 4) Also the org.apache.geronimo.system.jmx.KernelDelegate.class
> that is being used belongs to geronimo-system-1.1.1.jar referenced
> library of org.apache.geronimo.runtime.v11 plug-in!
> > (A class of org.apache.geronimo.runtime.v20 using a class of
> org.apache.geronimo.runtime.v11)
> >
> > Looks like a class loading issue due to missing/improper
> dependencies.
> >
> >> An internal error occurred during: "Publishing to Apache
> Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
> >>
> --------------------------------------------------------------------------------------------------------------------------------
> >>
> >> Key: GERONIMODEVTOOLS-184
> >> URL:
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
> >> Project: Geronimo-Devtools
> >> Issue Type: Bug
> >> Components: eclipse-plugin
> >> Affects Versions: 2.0
> >> Environment: Windows xp sp2, Eclipse Version: 3.3.0
> >> Reporter: Song
> >> Assignee: Shiva Kumar H R
> >>
> >> After deployed samples (such as cviewer) to the server within
> Eclipse, Run As--Run on Server,An internal error occurred.
> >> In fact, the cviewer sample can be deployed and executed
> successfully via the command line.
> >> Detailed error message see the below:
> >>
> -----------------------------------------------------------------------------------
> >> java.lang.NoSuchMethodError:
> org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
>
> >> at
> org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown
> Source)
> >> at java.lang.J9VMInternals.initializeImpl(Native Method)
> >> at java.lang.J9VMInternals.initialize (J9VMInternals.java:192)
> >> at
> org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
> >> at
> org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java
> :36)
> >> at
> org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
> >> at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java
> :456)
> >> at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
> >> at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java
> :367)
> >> at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
> >> at
> org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule
> (ServerBehaviourDelegate.java:749)
> >> at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
> >> at
> org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish
> (ServerBehaviourDelegate.java:669)
> >> at
> org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
> >> at
> org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
> >> at org.eclipse.wst.server.core.internal.PublishServerJob.run
> (PublishServerJob.java:72)
> >> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> >
>
> --
> Thanks,
> Tim McConnell
>
>
--
Thanks,
Tim McConnell
Re: [jira] Commented: (GERONIMODEVTOOLS-184) An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
Posted by Shiva Kumar H R <sh...@gmail.com>.
Oh! yes, after updating plug-in code to use 2.0.1-SNAPSHOT artifacts &
geronimo-web-2.5-builder, I am now getting the errors initially reported in
that JIRA.
Any particular reason why those changes (as well as GERONIMODEVTOOLS-180)
haven't yet been committed into trunk?
Now testing upgrade to xmlbeans 2.3.0.
- Shiva
On 8/20/07, Tim McConnell <ti...@gmail.com> wrote:
>
> Hi Shiva, are you using the new 2.0.1 artifacts to build the plugin ?? And
> if
> so, did you change the pom.xml to use the geronimo-web-2.5-builderartifact
> instead of the geronimo-web-builder artifact ??
>
> Shiva Kumar H R (JIRA) wrote:
> > [
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521137]
> >
> > Shiva Kumar H R commented on GERONIMODEVTOOLS-184:
> > --------------------------------------------------
> >
> > Changing xmlbeans version to 2.3.0 and rebuilding the plug-in doesn't
> seem to solve the problem.
> >
> > Some of my observations while debugging:
> > 1) Set breakpoint at line 171 of
> org.apache.geronimo.st.core.DeploymentUtils.class
> > Here dm.getAvailableModules(null, dm.getTargets()) is called.
> >
> > 2) Keep "Stepping into" until you hit
> > org.apache.geronimo.deployment.plugin.local.CommandSupport.addWebURLs(Kernel,
> List) line: 295
> > Here kernel.getAttribute(name, "contextPath") is called.
> >
> > 3) Further stepping in, reveals that
> > org.apache.geronimo.system.jmx.KernelDelegate.class's
> > getAttribute(AbstractName abstractName, String attributeName) is called,
> with the value of second argument changed to "URLFor" instead of called
> value "contextPath"!
> >
> > 4) Also the org.apache.geronimo.system.jmx.KernelDelegate.class that is
> being used belongs to geronimo-system-1.1.1.jar referenced library of
> org.apache.geronimo.runtime.v11 plug-in!
> > (A class of org.apache.geronimo.runtime.v20 using a class of
> org.apache.geronimo.runtime.v11)
> >
> > Looks like a class loading issue due to missing/improper dependencies.
> >
> >> An internal error occurred during: "Publishing to Apache Geronimo v2.0Server at localhost..." when deploy sample within Eclipse
> >>
> --------------------------------------------------------------------------------------------------------------------------------
> >>
> >> Key: GERONIMODEVTOOLS-184
> >> URL:
> https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
> >> Project: Geronimo-Devtools
> >> Issue Type: Bug
> >> Components: eclipse-plugin
> >> Affects Versions: 2.0
> >> Environment: Windows xp sp2, Eclipse Version: 3.3.0
> >> Reporter: Song
> >> Assignee: Shiva Kumar H R
> >>
> >> After deployed samples (such as cviewer) to the server within Eclipse,
> Run As--Run on Server,An internal error occurred.
> >> In fact, the cviewer sample can be deployed and executed successfully
> via the command line.
> >> Detailed error message see the below:
> >>
> -----------------------------------------------------------------------------------
> >> java.lang.NoSuchMethodError:
> org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
> >> at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown
> Source)
> >> at java.lang.J9VMInternals.initializeImpl(Native Method)
> >> at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
> >> at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(
> GeronimoV20Utils.java:94)
> >> at
> org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(
> GeronimoV20VersionHandler.java:36)
> >> at
> org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(
> DeploymentUtils.java:202)
> >> at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId
> (GeronimoServerBehaviourDelegate.java:456)
> >> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(
> GeronimoServerBehaviourDelegate.java:402)
> >> at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(
> GeronimoServerBehaviourDelegate.java:367)
> >> at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(
> GeronimoServerBehaviourDelegate.java:267)
> >> at
> org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(
> ServerBehaviourDelegate.java:749)
> >> at
> org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules
> (GeronimoServerBehaviourDelegate.java:234)
> >> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(
> ServerBehaviourDelegate.java:669)
> >> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java
> :887)
> >> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
> >> at org.eclipse.wst.server.core.internal.PublishServerJob.run(
> PublishServerJob.java:72)
> >> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> >
>
> --
> Thanks,
> Tim McConnell
>
>
Re: [jira] Commented: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
Posted by Tim McConnell <ti...@gmail.com>.
Hi Shiva, are you using the new 2.0.1 artifacts to build the plugin ?? And if
so, did you change the pom.xml to use the geronimo-web-2.5-builder artifact
instead of the geronimo-web-builder artifact ??
Shiva Kumar H R (JIRA) wrote:
> [ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521137 ]
>
> Shiva Kumar H R commented on GERONIMODEVTOOLS-184:
> --------------------------------------------------
>
> Changing xmlbeans version to 2.3.0 and rebuilding the plug-in doesn't seem to solve the problem.
>
> Some of my observations while debugging:
> 1) Set breakpoint at line 171 of org.apache.geronimo.st.core.DeploymentUtils.class
> Here dm.getAvailableModules(null, dm.getTargets()) is called.
>
> 2) Keep "Stepping into" until you hit
> org.apache.geronimo.deployment.plugin.local.CommandSupport.addWebURLs(Kernel, List) line: 295
> Here kernel.getAttribute(name, "contextPath") is called.
>
> 3) Further stepping in, reveals that
> org.apache.geronimo.system.jmx.KernelDelegate.class's
> getAttribute(AbstractName abstractName, String attributeName) is called, with the value of second argument changed to "URLFor" instead of called value "contextPath"!
>
> 4) Also the org.apache.geronimo.system.jmx.KernelDelegate.class that is being used belongs to geronimo-system-1.1.1.jar referenced library of org.apache.geronimo.runtime.v11 plug-in!
> (A class of org.apache.geronimo.runtime.v20 using a class of org.apache.geronimo.runtime.v11)
>
> Looks like a class loading issue due to missing/improper dependencies.
>
>> An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
>> --------------------------------------------------------------------------------------------------------------------------------
>>
>> Key: GERONIMODEVTOOLS-184
>> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
>> Project: Geronimo-Devtools
>> Issue Type: Bug
>> Components: eclipse-plugin
>> Affects Versions: 2.0
>> Environment: Windows xp sp2, Eclipse Version: 3.3.0
>> Reporter: Song
>> Assignee: Shiva Kumar H R
>>
>> After deployed samples (such as cviewer) to the server within Eclipse, Run As--Run on Server,An internal error occurred.
>> In fact, the cviewer sample can be deployed and executed successfully via the command line.
>> Detailed error message see the below:
>> -----------------------------------------------------------------------------------
>> java.lang.NoSuchMethodError: org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
>> at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown Source)
>> at java.lang.J9VMInternals.initializeImpl(Native Method)
>> at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
>> at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
>> at org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
>> at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
>> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
>> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
>> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
>> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
>> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
>> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
>> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
>> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
>> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
>> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
--
Thanks,
Tim McConnell
[jira] Commented: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
Posted by "Shiva Kumar H R (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521137 ]
Shiva Kumar H R commented on GERONIMODEVTOOLS-184:
--------------------------------------------------
Changing xmlbeans version to 2.3.0 and rebuilding the plug-in doesn't seem to solve the problem.
Some of my observations while debugging:
1) Set breakpoint at line 171 of org.apache.geronimo.st.core.DeploymentUtils.class
Here dm.getAvailableModules(null, dm.getTargets()) is called.
2) Keep "Stepping into" until you hit
org.apache.geronimo.deployment.plugin.local.CommandSupport.addWebURLs(Kernel, List) line: 295
Here kernel.getAttribute(name, "contextPath") is called.
3) Further stepping in, reveals that
org.apache.geronimo.system.jmx.KernelDelegate.class's
getAttribute(AbstractName abstractName, String attributeName) is called, with the value of second argument changed to "URLFor" instead of called value "contextPath"!
4) Also the org.apache.geronimo.system.jmx.KernelDelegate.class that is being used belongs to geronimo-system-1.1.1.jar referenced library of org.apache.geronimo.runtime.v11 plug-in!
(A class of org.apache.geronimo.runtime.v20 using a class of org.apache.geronimo.runtime.v11)
Looks like a class loading issue due to missing/improper dependencies.
> An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-184
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.0
> Environment: Windows xp sp2, Eclipse Version: 3.3.0
> Reporter: Song
> Assignee: Shiva Kumar H R
>
> After deployed samples (such as cviewer) to the server within Eclipse, Run As--Run on Server,An internal error occurred.
> In fact, the cviewer sample can be deployed and executed successfully via the command line.
> Detailed error message see the below:
> -----------------------------------------------------------------------------------
> java.lang.NoSuchMethodError: org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
> at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown Source)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
> at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
> at org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
> at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMODEVTOOLS-184) An internal error occurred
during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when
deploy sample within Eclipse
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim McConnell updated GERONIMODEVTOOLS-184:
-------------------------------------------
Fix Version/s: 2.0
Assignee: Tim McConnell (was: Shiva Kumar H R)
HI Shiva, I have a fix for this problem and will commit it today. Thanks
> An internal error occurred during: "Publishing to Apache Geronimo v2.0 Server at localhost..." when deploy sample within Eclipse
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: GERONIMODEVTOOLS-184
> URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-184
> Project: Geronimo-Devtools
> Issue Type: Bug
> Components: eclipse-plugin
> Affects Versions: 2.0
> Environment: Windows xp sp2, Eclipse Version: 3.3.0
> Reporter: Song
> Assignee: Tim McConnell
> Fix For: 2.0
>
>
> After deployed samples (such as cviewer) to the server within Eclipse, Run As--Run on Server,An internal error occurred.
> In fact, the cviewer sample can be deployed and executed successfully via the command line.
> Detailed error message see the below:
> -----------------------------------------------------------------------------------
> java.lang.NoSuchMethodError: org/apache/xmlbeans/XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;
> at org.apache.geronimo.deployment.xbeans.EnvironmentDocument.<clinit>(Unknown Source)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
> at org.apache.geronimo.st.v20.core.GeronimoV20Utils.getConfigId2(GeronimoV20Utils.java:94)
> at org.apache.geronimo.st.v20.core.GeronimoV20VersionHandler.getConfigID(GeronimoV20VersionHandler.java:36)
> at org.apache.geronimo.st.core.DeploymentUtils.getLastKnownConfigurationId(DeploymentUtils.java:202)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.getLastKnowConfigurationId(GeronimoServerBehaviourDelegate.java:456)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.doAdded(GeronimoServerBehaviourDelegate.java:402)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.invokeCommand(GeronimoServerBehaviourDelegate.java:367)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModule(GeronimoServerBehaviourDelegate.java:267)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:749)
> at org.apache.geronimo.st.core.GeronimoServerBehaviourDelegate.publishModules(GeronimoServerBehaviourDelegate.java:234)
> at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:669)
> at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:887)
> at org.eclipse.wst.server.core.internal.Server.publish(Server.java:874)
> at org.eclipse.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:72)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.