NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
pakkk
Joined: 25 Jun 2009 Posts: 8
|
Posted: Thu Jun 25, 2009 4:40 pm Post subject: How to launch my RESTful TEST with JAVA Enterprise application |
|
|
Hi, I want to TEST my RESTful WebService in my JAVA Enterprise Application.
I have a bit database in my EJB Module. Resuming, I have two modules (EJB + WAR) and Enterprise Application (JAVA EE that contains the before modules). Appears two kind of errors:
1) When I only deploy JAVA Enterprise Project an then I run my TEST Restful, appears an error that says: "Another module has been deployed" . This error is about JAVA Enterprise Application has been deploy before.
2) If I only deploy TEST Restful, this doesn't find Facaderemote class of my EJB Module, because WAR Project hasn't the EJB references.
Thanks a lot. |
|
| Back to top |
|
 |
michael Posted via mailing list.
|
Posted: Sun Jun 28, 2009 5:40 am Post subject: How to launch my RESTful TEST with JAVA Enterprise application |
|
|
Hello Pakkk,
Try the following:
1. Undeploy your enterprise application (using netbeans or the management console)
2. Restart glassfish
3. Deploy the enterprise application again
If you still have trouble, post the error here. If it solved the problem, please post it here also :-)
--Michael
-----Original Message-----
From: pakkk [mailto:address-removed]
Sent: Thursday, June 25, 2009 7:40 PM
To: address-removed
Subject: [nbj2ee] How to launch my RESTful TEST with JAVA Enterprise application
Hi, I want to TEST my RESTful WebService in my JAVA Enterprise Application.
I have a bit database in my EJB Module. Resuming, I have two modules (EJB + WAR) and Enterprise Application (JAVA EE that contains the before modules). Appears two kind of errors:
1) When I only deploy JAVA Enterprise Project an then I run my TEST Restful, appears an error that says: "Another module has been deployed" . This error is about JAVA Enterprise Application has been deploy before.
2) If I only deploy TEST Restful, this doesn't find Facaderemote class of my EJB Module, because WAR Project hasn't the EJB references.
Thanks a lot. |
|
| Back to top |
|
 |
pakkk
Joined: 25 Jun 2009 Posts: 8
|
Posted: Tue Jun 30, 2009 7:51 pm Post subject: |
|
|
My project works! You must follow the next steps:
1) Right Button on Java Enterprise Application
2) You choose Property Option
3) Option RUN
4) In the Relative URL field you write your directory that runs REST, for example:
resources/modules/1
"modules" is the name in my RestFul Test Call.
Bye! |
|
| Back to top |
|
 |
|
|
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
|
|