I have about 2 days experience with jboss and all the J2EE business, don't go too hard on me...
I' am on mac os X, just installed JBoss-2.4.4_Jetty-3.1.3-1 with ant, following a tutorial on http://developer.apple.com/internet/java/enterprisejava.html
I am trying to deloy a demo application: HelloWorld
I don't have any problem running jboss and jetty. (message in terminal)
[INFO,ServiceControl] Started 48 services
[INFO,Default] JBoss-2.4.4 Started in 0m:35s.179
I can build the file with ant (message in terminal)
[copy] Copying 1 file to /usr/local/jboss/JBoss-2.4.4_Jetty-3.1.3-1/jboss/deploy
Total time: 5 seconds
INFO,J2eeDeployer] J2EE application: file:/usr/local/jboss/JBoss-2.4.4_Jetty-3.1.3-1/jboss/deploy/HelloWorld.ear is deployed.
BUT I can't understand how to see what I have done from the web browser
Do i need to put some file in the jetty directory??
I try http://localhost:8080/HelloWorld/
I get META-INF 58 bytes Aug 7, 2002 9:52:16 AM
WEB-INF 92 bytes
http://localhost:8080 is 404
http://localhost:8082 works fine
I have one other demo app, it works when I put http://localhost:8080/HelloEntity/Hi and it works
Can anyone lead me in the correct direction
In your ear file you should have an application.xml which will define your web context, for example
You should then be able to view your jsp in your war file from http://localhost:8080/app/index.jsp
If you have any problems let me know