This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB and GlassFish Server

 
kamiya sei
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All.
an error occurred when I deploy my EJB file , I don't know what happened even though GlassFish Server has started in services

" Starting GlassFish Server 3.1.2
GlassFish Server 3.1.2 is running.
In-place deployment at C:\Users\Vostro\Desktop\EJBModule1\build\classes
Initializing...
deploy?DEFAULT=C:\Users\Vostro\Desktop\EJBModule1\build\classes&name=EJBModule1&force=true failed on GlassFish Server 3.1.2
Error occurred during deployment: There is no installed container capable of handling this application classes. Please see server.log for more details.
C:\Users\Vostro\Desktop\EJBModule1\nbproject\build-impl.xml:907: The module has not been deployed.
See the server log for details. "


what can I do continue ?
Thank so much.
 
K. Tsang
Bartender
Posts: 3496
14
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the server log say?
 
kamiya sei
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K. Tsang wrote:What does the server log say?


I read it in GlassFish Server 3.1.2
SEVERE: Module type not recognized for module C:\Users\Vostro\Desktop\EJBModule1\build\classes
SEVERE: There is no installed container capable of handling this application classes
 
K. Tsang
Bartender
Posts: 3496
14
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm Is your Glassfish app server the "real" thing? Or is it bundled with some other server like Liferay or something?

One way to check is to go to the Glassfish admin console, select deploy applications and see if there is a) enterprise app, b) EJB jar and c) app client. If it only has web apps and connector module and other, then your GF isn't the real thing.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic