[jbosstools-issues] [JBoss JIRA] (JBIDE-13337) M2E not setting "Run Java Application" classpath properly

Fred Bricon (JIRA) jira-events at lists.jboss.org
Tue Feb 19 09:43:56 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-13337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon resolved JBIDE-13337.
---------------------------------

    Fix Version/s: 4.1.0.Alpha1
       Resolution: Done


This is [fixed|https://bugs.eclipse.org/bugs/show_bug.cgi?id=400005] in m2e 1.3 + m2e-wtp 0.17.0. 

After deploying jboss-as-ejb-remote-server-side on AS 7.1.1, doing Run As > Java Application on jboss-as-ejb-remote-client's RemoteEJBClient yields :
{quote}
févr. 19, 2013 1:50:25 PM org.jboss.ejb.client.EJBClient <clinit>
INFO: JBoss EJB Client version 1.0.5.Final
Obtained a remote stateless calculator for invocation
Adding 204 and 340 via the remote stateless calculator deployed on the server
févr. 19, 2013 1:50:25 PM org.xnio.Xnio <clinit>
INFO: XNIO Version 3.0.3.GA
févr. 19, 2013 1:50:25 PM org.xnio.nio.NioXnio <clinit>
INFO: XNIO NIO Implementation Version 3.0.3.GA
févr. 19, 2013 1:50:25 PM org.jboss.remoting3.EndpointImpl <clinit>
INFO: JBoss Remoting version 3.2.3.GA
févr. 19, 2013 1:50:26 PM org.jboss.ejb.client.remoting.VersionReceiver handleMessage
INFO: Received server version 1 and marshalling strategies [river]
févr. 19, 2013 1:50:26 PM org.jboss.ejb.client.remoting.RemotingConnectionEJBReceiver associate
INFO: Successful version handshake completed for receiver context EJBReceiverContext{clientContext=org.jboss.ejb.client.EJBClientContext at 1ab0e84b, receiver=Remoting connection EJB receiver [connection=Remoting connection <59fc4d>,channel=jboss.ejb,nodename=fbricon-win]} on channel Channel ID be4d8f71 (outbound) of Remoting connection 3c401d45 to localhost/127.0.0.1:4447
févr. 19, 2013 1:50:26 PM org.jboss.ejb.client.remoting.ChannelAssociation$ResponseReceiver handleMessage
WARN: Unsupported message received with header 0xffffffff
Remote calculator returned sum = 544
Subtracting 2332 from 3434 via the remote stateless calculator deployed on the server
Remote calculator returned difference = 1102
Obtained a remote stateful counter for invocation
Counter will now be incremented 5 times
Incrementing counter
Count after increment is 1
Incrementing counter
Count after increment is 2
Incrementing counter
Count after increment is 3
Incrementing counter
Count after increment is 4
Incrementing counter
Count after increment is 5
Counter will now be decremented 5 times
Decrementing counter
Count after decrement is 4
Decrementing counter
Count after decrement is 3
Decrementing counter
Count after decrement is 2
Decrementing counter
Count after decrement is 1
Decrementing counter
Count after decrement is 0
{quote}

You can install the latest milestone versions of m2e and m2e-wtp from 
http://download.eclipse.org/m2e-wtp/milestones/juno/0.17.0 


                
> M2E not setting "Run Java Application" classpath properly
> ---------------------------------------------------------
>
>                 Key: JBIDE-13337
>                 URL: https://issues.jboss.org/browse/JBIDE-13337
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: maven, UpStream
>         Environment: JBDS 6.0
>            Reporter: Pete Muir
>            Assignee: Fred Bricon
>             Fix For: 4.1.0.Alpha1
>
>
> Take a look at this screencast - http://screencast.com/t/bOg9G8XqT - the dependent project is not appearing properly in the dependencies when you run the main class.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list