• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

deploy web query

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to JBOSS and JAVA development. I am trying to deploy example appln on JBOSS and when i try to view the page i get "The requested resource is not available" What am i doing wrong.
I have build the appln using Ant utilitya and copying the ear file to JBOss server/default/deploy location
Can someone please provide basics on how to deploy to run the web appln on JBOSS. Thank you
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please take the time to choose the correct forum for your posts. This forum is for questions on Servlets.

For more information, please read this.

This post has been moved to a more appropriate forum.
 
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
Janardhan, welcome to Java Ranch!

If you deploy an EAR, the EAR should have a structure like this:

xxx.EAR
+-- xxx.war
+-- xxx.jar (contains EJBs, for example)
+-- META-INF/application.xml (references both xxx.jar and xxx.war)

The EAR can be deployed as either an archive file, or as an exploded directory. Either way, it must have the .ear extension.

If this does not help, post the content of your EAR (use "jar -tf xxx.ear"), the contents of your application.xml file, the full path for the deployed EAR file or exploded directory, and the URL you are using in the browser.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic