Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Man Gog
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic