NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Cannot run Application Client using Netbeans 7 & JBoss 6

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
rabbiaqaswar



Joined: 07 Jun 2011
Posts: 12
Location: United Arab Emirates

PostPosted: Mon Jun 27, 2011 11:05 am    Post subject: Cannot run Application Client using Netbeans 7 & JBoss 6 Reply with quote

Hello All

I am creating a JavaEE 6 EnterpriseApplication on NetBeans7. JBoss 6.0.0.Final is the application Server. When i deploy the EJB Module from NetBeans, JBoss gives the following message:

Code:
WARN  [org.jboss.profileservice.management.upload.remoting.DeployHandler] Failed to complete command: [start] for deployment: names=[SimpleEAP-ejb.jar]: org.jboss.profileservice.spi.NoSuchDeploymentException: SimpleEAP-ejb.jar
              at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.resolveProfileForDeployment(AbstractDeployHandler.java:291) [:0.2.2]
              at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.resolveProfiles(AbstractDeployHandler.java:248) [:0.2.2]
              at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.startDeployments(AbstractDeployHandler.java:157) [:0.2.2]
              at org.jboss.profileservice.management.upload.remoting.DeployHandlerDelegate.startDeployments(DeployHandlerDelegate.java:74) [:6.0.0.Final]
              at org.jboss.profileservice.management.upload.remoting.DeployHandler.invoke(DeployHandler.java:156) [:6.0.0.Final]
              at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898) [:6.0.0.Final]
              at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791) [:6.0.0.Final]
              at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744) [:6.0.0.Final]
              at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548) [:6.0.0.Final]
              at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234) [:6.0.0.Final]


However the ejb module jar is present in the deploy directory of JBoss. Then when i run the Client from NetBeans, i get the following message on JBoss:

Code:
12:29:39,009 WARN  [org.jboss.profileservice.management.upload.remoting.DeployHa
ndler] Failed to complete command: [start] for deployment: names=[SimpleApplicat
ionClient.jar]: org.jboss.profileservice.spi.NoSuchDeploymentException: SimpleAp
plicationClient.jar
        at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.resolve
ProfileForDeployment(AbstractDeployHandler.java:291) [:0.2.2]
        at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.resolve
Profiles(AbstractDeployHandler.java:248) [:0.2.2]
        at org.jboss.profileservice.plugins.deploy.AbstractDeployHandler.startDe
ployments(AbstractDeployHandler.java:157) [:0.2.2]
        at org.jboss.profileservice.management.upload.remoting.DeployHandlerDele
gate.startDeployments(DeployHandlerDelegate.java:74) [:6.0.0.Final]
        at org.jboss.profileservice.management.upload.remoting.DeployHandler.inv
oke(DeployHandler.java:156) [:6.0.0.Final]
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:898) [:6.0
.0.Final]
        at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(S
erverThread.java:791) [:6.0.0.Final]
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(Se
rverThread.java:744) [:6.0.0.Final]
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.j
ava:548) [:6.0.0.Final]
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.jav
a:234) [:6.0.0.Final]


And in NetBeans Client console i get the following error:

Code:
Applicaton Deployed
Operation start started
Operation start completed
post-run-deploy:
run-deploy:
Unable to access jarfile D:\NetBeansProjects\SimpleApplicationClient\${client.jar}
Java Result: 1
run:


I have posted the same issue at JBoss forums as well at the following link:
http://community.jboss.org/thread/168388

I am not sure what am i missing here, some configuration probably? At the JBoss forum, got one suggestion to run the client from appclient launcher. Does that mean, i cannot run the client from NetBeans anymore?

Suggestions are most welcome.

Thanks[/url]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo