• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic