Sorry answered my own question minutes after hitting the send button.
http://localhost:8080/jboss/
I missed that the context-root was not the same name as the war file. Turns
out that:
http://www.jboss.org/documentation/J2eeDeployment_howto.html is good reading
:).
Still wondering about a graceful way to shutdown JBoss?
Alex
-----Original Message-----
From: Alex Radka [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 1:36 PM
To: [EMAIL PROTECTED]
Subject: problem deploying tomcat-test.ear
Just getting started with JBoss, so please excuse if this sounds silly.
Just things I couldn't find in the documentation.
Downloaded jboss-tomcat-2.1-beta for Win2000
Started JBoss, no problems
Walked through Interest example, no problem
Started to look at tomcat-test.
It looks like I get all the expected information for deployment on startup:
[Auto deploy] Auto deploy of
file:/C:/jboss-tomcat-2.1-beta/jboss-2.1/deploy/tomcat-test.ear
[J2EE Deployer Default] Module tomcat-test.ear is not running
[J2EE Deployer Default] Module tomcat-test.war is not running
[J2EE Deployer Default] Destroying application tomcat-test.ear
[J2EE Deployer Default] Deploy J2EE application:
file:/C:/jboss-tomcat-2.1-beta/jboss-2.1/deploy/tomcat-test.ear
[J2EE Deployer Default] Create application tomcat-test.ear
[J2EE Deployer Default] inflate and install module tomcat-test.war
[J2EE Deployer Default] install module tomcat-test.jar
[J2EE Deployer Default] add all ejb jar files to the common classpath
[J2EE Deployer Default] Starting module tomcat-test.war
2001-04-03 12:46:14 - ContextManager: Adding context Ctx( /jboss )
[Container factory]
Deploying:file:/C:/jboss-tomcat-2.1-beta/jboss-2.1/tmp/deplo
y/Default/tomcat-test.ear
[Verifier] Verifying
file:/C:/jboss-tomcat-2.1-beta/jboss-2.1/tmp/deploy/Default
/tomcat-test.ear/ejb1002.jar
[Container factory] Deploying Optimized
[Container factory] Deploying NonOptimized
How do I actually look at this application? I noticed that nothing is
created in the tomcat webapps directory, is this expected? I extracted the
war file from the ear file, put it in the webapps dir, and restarted JBoss.
This created the expected directories under webapps, and I could access the
app through http://localhost:8080/tomcat-test. This is fine, but not what I
expected. Why bother with the ear file, if I have to deploy the war file
manually anyway?
Did this work the way it was supposed to?
Also, on a side note? Is there a graceful way to shutdown JBoss when
starting from run.bat? Makes me quezy to close the command prompt to
shutdown, as it will make me quezy to issue a kill when I move to a Unix
environment.
Thanks,
Alex Radka
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user