I've just struggled through this on my own ear file. The problem with
mine was the context-root name was set as asa in the application.xml
file. The deployer then passed it on to embedded Tomcat as asa instead
of /asa. I then changed the context-root in application.xml to be /asa
and all worked fine. Check the application.xml for the sample
application. You might find the same.
Scot.
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 11/28/00, 3:25:25 PM, Kemp Randy-W18971 <[EMAIL PROTECTED]>
wrote regarding [jBoss-User] Has anyone else deployed the Jboss ear on
Jboss/Tomcat or Jboss/J etty final:
> Has anyone else deployed the Jboss ear on jboss/Tomcat or Jboss/jetty
final?
> I have done the following steps:
> Downloaded Jboss/Tomcat final and started it up on windows 2000.
> Followed these directions in the readme file:
> This package includes
> - jboss 2.0 final from http://www.jboss.org
> - tomcat 3.2b7 from http://jakarta.apache.org/tomcat
> The config files are preconfigured for inVM integration.
> To run it, go to jboss-2.0-FINAL/bin, and run
> - run_with_tomcat.sh on *nix
> - run_with_tomcat.bat on windows
> An ear example is included in the deploy directory, to try it run jboss
> and surf to http://localhost:8080/jboss
> Here is my output log:
> D:\JavaServletProducts\jboss-tomcat\jboss_tomcat\jboss-2.0-FINAL\bin>set
TOMCAT_
> HOME=..\..\tomcat-3.2-b7
>
D:\JavaServletProducts\jboss-tomcat\jboss_tomcat\jboss-2.0-FINAL\bin>.\run
tomca
> t
> Using configuration "tomcat"
> [Console logging] Initialized
> [Classpath extension] Initializing
> [Classpath extension] Initialized
> [File logging] Initializing
> [File logging] Initialized
> [Classpath extension] Initializing
> [Classpath extension] Initialized
> [Classpath extension] Initializing
> [Classpath extension] Initialized
> [Info] Java version: 1.3.0,Sun Microsystems Inc.
> [Info] Java VM: Java HotSpot(TM) Client VM 1.3.0-C,Sun Microsystems Inc.
> [Info] System: Windows 2000 5.0,x86
> [Classpath extension] Initializing
> [Classpath extension] Initialized
> [JDBC] Loaded JDBC-driver:org.hsql.jdbcDriver
> [JDBC] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver
> [Webserver] Initializing
> [Webserver] Initialized
> [Hypersonic] Initializing
> [Hypersonic] Initialized
> [Naming] Initializing
> [Naming] Naming started on port 1099
> [Naming] Initialized
> [Transaction manager] Initializing
> [Transaction manager] Initialized
> [JAAS Security Manager] Initializing
> [JAAS Security Manager] Initialized
> [Simple Realm Mapping] Initializing
> [Simple Realm Mapping] Initialized
> [Security manager] Initializing
> [Security manager] Initialized
> [InstantDB] Initializing
> [InstantDB] Initialized
> [DefaultDS] Initializing
> [DefaultDS] Initialized
> [Container factory] Initializing
> [Container factory] Initialized
> [Auto deploy] Watching
D:\JavaServletProducts\jboss-tomcat\jboss_tomcat\jboss-2.
> 0-FINAL\deploy
> [Auto deploy] Initializing
> [Auto deploy] Initialized
> [JMX RMI Adaptor] Initializing
> [JMX RMI Adaptor] Initialized
> [JMX RMI Connector] Initializing
> [JMX RMI Connector] Initialized
> [Configuration] Initializing
> [Configuration] Initialized
> [J2EE Deployer] Initializing
> [J2EE Deployer] Initialized
> [EmbeddedTomcat] Initializing
> [EmbeddedTomcat] Initialized
> [SpyderMQ] Initializing
> [SpyderMQ] Initialized
> [EmbeddedTomcat] Starting
> [EmbeddedTomcat] Testing if Tomcat is present....
> [EmbeddedTomcat] OK
> [EmbeddedTomcat] ContextManager: Adding context Ctx( )
> [EmbeddedTomcat] path="" :org.apache.jasper.servlet.JspServlet: init
> [EmbeddedTomcat] PoolTcpConnector: Starting HttpConnectionHandler on 8080
> [EmbeddedTomcat] Started
> [Simple Realm Mapping] Starting
> [Simple Realm Mapping] Started
> [Webserver] Starting
> [Webserver] Codebase set to http://IL93-1093:8083/
> [Webserver] Started webserver on port 8083
> [Webserver] Started
> [Transaction manager] Starting
> [Transaction manager] Started
> [Naming] Starting
> [Naming] Started
> [Hypersonic] Starting
> [Hypersonic] Server 1.4 is running
> [Hypersonic] Database started
> [Hypersonic] Started
> [InstantDB] Starting
> [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB
> [Hypersonic] Press [Ctrl]+[C] to abort
> Enhydra InstantDB - Version 3.21
> [InstantDB] The Initial Developer of the Original Code is Lutris
Technologies In
> c.
> Portions created by Lutris are Copyright (C) 1997-2000 Lutris
Technologies, Inc.
> All Rights Reserved.
> [InstantDB] Started
> [DefaultDS] Starting
> [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS
> [DefaultDS] Started
> [JAAS Security Manager] Starting
> [JAAS Security Manager] Started
> [Container factory] Starting
> [Container factory] Started
> [J2EE Deployer] Starting
> [J2EE Deployer] Cleaning up deployment directory
file:/D:/JavaServletProducts/jb
> oss-tomcat/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/
> [J2EE Deployer] Started
> [Security manager] Starting
> [Security manager] Started
> [Auto deploy] Starting
> [Auto deploy] Auto deploy of
file:/D:/JavaServletProducts/jboss-tomcat/jboss_tom
> cat/jboss-2.0-FINAL/deploy/addressbook.ear
> [J2EE Deployer] Deploy J2EE application:
file:/D:/JavaServletProducts/jboss-tomc
> at/jboss_tomcat/jboss-2.0-FINAL/deploy/addressbook.ear
> [J2EE Deployer] Create application addressbook.ear
> [J2EE Deployer] Installing EJB package: addressbook.ear
> [J2EE Deployer] Starting module addressbook.ear
> [Container factory]
Deploying:file:/D:/JavaServletProducts/jboss-tomcat/jboss_to
> mcat/jboss-2.0-FINAL/bin/../tmp/deploy/addressbook.ear/ejb1002.jar
> [Verifier] Verifying
file:/D:/JavaServletProducts/jboss-tomcat/jboss_tomcat/jbos
> s-2.0-FINAL/bin/../tmp/deploy/addressbook.ear/ejb1002.jar
> [Container factory] Deploying Interest
> [Container factory] Deployed application:
file:/D:/JavaServletProducts/jboss-tom
>
cat/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/addressbook.ear/ejb1002
.jar
> [J2EE Deployer] J2EE application:
file:/D:/JavaServletProducts/jboss-tomcat/jbos
> s_tomcat/jboss-2.0-FINAL/deploy/addressbook.ear is deployed.
> [Auto deploy] Auto deploy of
file:/D:/JavaServletProducts/jboss-tomcat/jboss_tom
> cat/jboss-2.0-FINAL/deploy/tomcat-test.ear
> [J2EE Deployer] Deploy J2EE application:
file:/D:/JavaServletProducts/jboss-tomc
> at/jboss_tomcat/jboss-2.0-FINAL/deploy/tomcat-test.ear
> [J2EE Deployer] Create application tomcat-test.ear
> [J2EE Deployer] Installing EJB package: tomcat-test.ear
> [J2EE Deployer] Starting module tomcat-test.ear
> [Container factory]
Deploying:file:/D:/JavaServletProducts/jboss-tomcat/jboss_to
> mcat/jboss-2.0-FINAL/bin/../tmp/deploy/tomcat-test.ear/ejb1004.jar
> [Verifier] Verifying
file:/D:/JavaServletProducts/jboss-tomcat/jboss_tomcat/jbos
> s-2.0-FINAL/bin/../tmp/deploy/tomcat-test.ear/ejb1004.jar
> [Container factory] Deploying Interest
> [Container factory] Deployed application:
file:/D:/JavaServletProducts/jboss-tom
>
cat/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/tomcat-test.ear/ejb1004
.jar
> [J2EE Deployer] J2EE application:
file:/D:/JavaServletProducts/jboss-tomcat/jbos
> s_tomcat/jboss-2.0-FINAL/deploy/tomcat-test.ear is deployed.
> [Auto deploy] Started
> [SpyderMQ] Starting
> [SpyderMQ] Testing if SpyderMQ is present....
> [SpyderMQ] OK
> [SpyderMQ] Starting SpyderMQ...
> [SpyderMQ] Started
> [JMX RMI Adaptor] Starting
> [JMX RMI Adaptor] Started
> [JMX RMI Connector] Starting
> [JMX RMI Connector] Started
> [Default] 23 services and 4 other MBeans started.
> [Default] Shutdown hook added
> [Default] jBoss 2.0 FINAL Started
> [EmbeddedTomcat] Ctx( ): 404 R( + / + null) null
> [EmbeddedTomcat] Ctx( ): 404 R( + /jboss + null) null
> There are no other web servers employed on localhost:8080. What could I
be doing wrong in trying to go to the example? I can run Orion on
localhost:9000 and I have no problem under IE.
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]