On Tue, 3 Apr 2001, Alex Radka wrote:

> 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 )

It looks like the web bits get mapped into <servername>/jboss here. Is
that where you looked (http://localhost:8080/jboss)?

> 
> 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?
You shouldn't have to deploy the war separately. Don't let the lack of
things under webapps throw you - the ear deployment should work.

> 
> 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.
JBoss does install an exit hook so that it will shut down
gracefully. This works on a Unix kill also. You can also go to the JMX
management stuff at port 8082, go to the Shutdown MBean and invoke its
shutdown method. There's also a shutdown.jar in the distribution, but I'm
not sure if that works right now.

> 
> Thanks,
> Alex Radka
> 
> 
> 
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 

-- 
Dan Christopherson (danch) 
nVisia Technical Architect (www.nvisia.com)

Opinions expressed are mine and do not neccessarily reflect any 
position or opinion of nVISIA.

---------------------------------------------------------------------------
If you're a capitalist and you have the best goods and they're 
free, you don't have to proselytize, you just have to wait.
-Eben Moglen


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to