Cannot deploy EJB on eclipse-ee [message #671216] |
Tue, 17 May 2011 07:18 |
No real name Messages: 1 Registered: May 2011 |
Junior Member |
|
|
Hi,
I'd appreciate help on Eclipse EE, please.
I simply cannot deploy EJBs. Here's what I did:
1) Created an EnterpriseApplication project (new->Enterprise Application Project)
2) Created an EJB project (new-> EJB Project), associated with the above Enterprise Application Project
3) Created an EJB (new->EJB), with a remote interface, and implemented appropriate business methods.
4) Defined a Server (Servers tab -> new), pointing to my JBOSS 6 installation. It's a standard fresh JBoss installation.
Now, I manage to Start this server (by right-clicking it and selecting "Start". I see the server starting up, writing log messages, and I can connect to it from my browser).
But Eclipse won't let me deploy my EJB (or EAR) onto this server.
If I right-click the server and select "Add/Remove" , Eclipse says "There are not resources that can be added or removed from the server".
If I right-click the EJB (or the EJB project, or the EAR project), Eclipse says "The selection did not contain any resources that can run on a server" or "The selection cannot be run on any server".
Help would be appreciated, thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.07763 seconds