Post new topic   Reply to topic
Author Message
halmabrazi



Joined: Sep 07, 2012
Posts: 2

Hi,

I just downloaded the latest version of myeclipse(10.6) for trail. The idea is to check the latest features before we buy licenses given the fact that we had had bought an older version in the past.

Given the fact I am very much familiar with an older version of m eclipse I went straight ahead to the ws tutorials http://www.myeclipseide.com/documentation/quickstarts/webservices_jaxws/ . However, I encountered an issue when I was trying to deploy it to jboss 7x. I searched your site for clues but was not lucky. Please send me the threat link if it was already addressed in the past.

Here is the message I kept getting and it is not clear what it means.
...............
09:59:28,774 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "CalculatorWsProject.war"
09:59:31,210 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."CalculatorWsProject.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."CalculatorWsProject.war".PARSE: Failed to process phase PARSE of deployment "CalculatorWsProject.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_13]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_13]
at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_13]
Caused by: java.lang.IllegalArgumentException: JBAS015533: Web Service endpoint com.sun.xml.ws.tx.webservice.member.coord.ActivationRequesterPortTypeImpl with URL pattern /Coordinator is already registered. Web service endpoint com.sun.xml.ws.tx.webservice.member.coord.RegistrationRequesterPortTypeImpl is requesting the same URL pattern.
at org.jboss.as.webservices.metadata.model.AbstractDeployment.addEndpoint(AbstractDeployment.java:60)
at org.jboss.as.webservices.metadata.model.JAXWSDeployment.addEndpoint(JAXWSDeployment.java:27)
at org.jboss.as.webservices.deployers.WSIntegrationProcessorJAXWS_POJO.processAnnotation(WSIntegrationProcessorJAXWS_POJO.java:94)
at org.jboss.as.webservices.deployers.AbstractIntegrationProcessorJAXWS.deploy(AbstractIntegrationProcessorJAXWS.java:87)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
... 5 more

09:59:31,254 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "CalculatorWsProject.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit."CalculatorWsProject.war".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit."CalculatorWsProject.war".PARSE: Failed to process phase PARSE of deployment "CalculatorWsProject.war""}}
09:59:31,271 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment CalculatorWsProject.war in 16ms
09:59:31,273 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.deployment.unit."CalculatorWsProject.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."CalculatorWsProject.war".PARSE: Failed to process phase PARSE of deployment "CalculatorWsProject.war"

09:59:31,275 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.unit."CalculatorWsProject.war".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"CalculatorWsProject.war\".PARSE: Failed to process phase PARSE of deployment \"CalculatorWsProject.war\""}}}}
...................
Then, I deployed the war file into jboss.6.0.0.Final and it got deployed without any issues.

I appreciate your help
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna



Joined: Nov 11, 2010
Posts: 2704

halmabrazi ,

Thank you for trying MyEclipse.

The issue you are seeing is an existing one with JBoss 7.1.1. Please take a look at this thread :
https://community.jboss.org/thread/196624

I suggest you check on JBoss related forums for a workaround or updates on the fix.

Hope it helps.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
halmabrazi



Joined: Sep 07, 2012
Posts: 2

Swapna, I appreciate your help.

I looked at the forum you sent me and I needed some clarifications before I start digging into this issue further.

I am afraid this could be something I am not doing right from my end during the process of creating this tutorial. It seems Myeclipse 10.6 should be 100% compatible with jboss 7.1.1, right? I would also assume someone else from the community would have seen such behavior, right?

Have you one tried the above tutorial and got different result?

Regards,
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna



Joined: Nov 11, 2010
Posts: 2704

halmabrazi,

I have tried the tutorial and I see the same issue with JBoss 7.1.1 that you are seeing. I got the deployment working with JBoss 7.0.2.

Looks like JBoss 7.1.1 has issues with deploying projects which contains webservice_rt.jar file. Since the tutorial can be deployed without issues to ME Tomcat and JBoss 7.0.2, there is no issue with the tutorial.

As a test you can try deploying a project which has the webservice_rt.jar in its lib folder to JBoss 7.1.1 outside of MyEclipse.

Hope it helps.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
All times are GMT - 6 Hours
Post new topic   Reply to topic
® 2014 - Genuitec, LLC.