aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Unable to deploy a dynamic web project (in eclipse) to jboss / websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Unable to deploy a dynamic web project (in eclipse) to jboss / websphere" Watch "Unable to deploy a dynamic web project (in eclipse) to jboss / websphere" New topic
Author

Unable to deploy a dynamic web project (in eclipse) to jboss / websphere

Man Gog
Greenhorn

Joined: May 18, 2009
Posts: 4
Hello,

first, if I postet it in the wrong sub forum please move it to the right

Well my problem:
I'm starting to work with ejb and wanted to create a simple dynamic web project in eclipse.
I want to run the project on the old jboss 4 and on the actual websphere application server community edition.
I installed all the necessary server adapters in eclipse.
Next I created a package test in the new eclipse project. Inside the package test I added three classes:
Hello.java


HelloBean.java


and finally HelloServlet.java


Next I selected the HelloServlet.java and pointed to run as -> run on server -> jboss 4.0 -> Finish
I thought eclipse will deploy it then automatically to jboss but the console shows me that there are some problems.
(ERROR [MainDeployer] Could not initialise deployment: file: ... /webtestEAR.ear) / (Failed to find module file: webtest.war)

Ok eclipse can't find the war and or the ear. But how do I create such an ear or a war? And how do I use eclipse rigth that it deploys
it correct?

Thanks for your answers!
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

Man Gog wrote:Hello,

first, if I postet it in the wrong sub forum please move it to the right


IDE forum is a better place Moving it there.

[My Blog] [JavaRanch Journal]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

This error message "Failed to find module file: webtest.war" means that your application.xml references a webtest.war file, but such a file does not appear in your EAR file.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to deploy a dynamic web project (in eclipse) to jboss / websphere
 
Similar Threads
The Session bean cannot be deployed
JavaBean as parameter of a WebService operation
Java SE6 client for EJB - Error in lookup
problem with stateless session bean
Hello world example using EJB 3