I've read the posts from Tim Yates and Johnson Yim among others and this has been helpful. But, I still cannot get an example to work using tomcat within JBoss VM. I copied my examples.war file to JBOSS\deploy just like the suggestion. I don't really care which example I try, but right now I'm just trying to run the EJB servlet. Note: this is located under www.jboss.org/documentation, with the section being: Step 7: compiling the test client as a servlet. I put the EJB.java and EJB.class into the examples.war file with the path of WEB-INF\classes. Another option given is to un war the examples War, and then move this directory into the ROOT directory. Is this ROOT directory located under the tomcat directory, then \webapps\root? I haven't tried this option yet. I can run the default examples provided by going to http://localhost:8080/jboss. What would be the correct URL to run the EJB servlet from the examples.war or any of the examples? I've tried several different ways. Once I get these examples running with embedded tomcat, I would like to help in either making the distribution of JBoss/tomcat come 'configured' to run these examples w/tomcat, or at least help in updating the documentation to provide for detailed step by step instructions for running these examples. Do you know if any documentation has been started for something like this? I believe documentation like this would save the 'newbies' a lot of time, I know it would for me. I have some errors in the console printout below, any ideas? C:\jboss\jboss_tomcat\jboss-2.0-FINAL\bin>run_with_tomcat C:\jboss\jboss_tomcat\jboss-2.0-FINAL\bin>set TOMCAT_HOME=..\.. \tomcat-3.2-b7 C:\jboss\jboss_tomcat\jboss-2.0-FINAL\bin>.\run tomcat ******tomcat home= ..\..\tomcat-3.2-b7 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 NT 4.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 C:\jboss\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="" :jsp: init [EmbeddedTomcat] PoolTcpConnector: Starting HttpConnectionHandler on 8080 [EmbeddedTomcat] Started [Simple Realm Mapping] Starting [Simple Realm Mapping] Started [Webserver] Starting [Webserver] Codebase set to http://bs76314: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 Inc. 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:/C:/jboss/jboss_tomcat/jboss-2.0-FIN AL/bin/../tmp/deploy/ [J2EE Deployer] Started [Security manager] Starting [Security manager] Started [Auto deploy] Starting [Auto deploy] Auto deploy of file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.w ar [J2EE Deployer] Deploy J2EE application: file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deplo y/examples.war [J2EE Deployer] Could not delete temporary file: /C:/jboss/jboss_tomcat/jboss-2.0-FINAL/bi n/../tmp/deploy/copy1001.zip [J2EE Deployer] Destroying application examples.war [J2EE Deployer] deployment.cfg file deleted. [J2EE Deployer] File tree file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/tmp/deploy/examples. war deleted. [Auto deploy] Deployment failed:file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deploy/example s.war [Auto deploy] org.jboss.deployment.J2eeDeploymentException: No valid deployment descriptor was found within this URL: file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deploy/examples.wa r [Auto deploy] Make sure it points to a valid j2ee package (ejb.jar/web.war/app.ear)! [Auto deploy] at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java: 403) [Auto deploy] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:136) [Auto deploy] at java.lang.reflect.Method.invoke(Native Method) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628 ) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523 ) [Auto deploy] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:332) [Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:268) [Auto deploy] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:311) [Auto deploy] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:92) [Auto deploy] at java.lang.reflect.Method.invoke(Native Method) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628 ) [Auto deploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523 ) [Auto deploy] at org.jboss.dependencies.DependencyManager.startMBean(DependencyManager.j ava:284) [Auto deploy] at org.jboss.dependencies.DependencyManager.loadService(DependencyManager. java:261) [Auto deploy] at org.jboss.dependencies.DependencyManager.processService(DependencyManag er.java:243) [Auto deploy] at org.jboss.dependencies.DependencyManager.startMBeans(DependencyManager. java:117) [Auto deploy] at org.jboss.Main.<init>(Main.java:162) [Auto deploy] at org.jboss.Main$1.run(Main.java:87) [Auto deploy] at java.security.AccessController.doPrivileged(Native Method) [Auto deploy] at org.jboss.Main.main(Main.java:83) [Auto deploy] Auto deploy of file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deploy/interest.j ar [J2EE Deployer] Deploy J2EE application: file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deplo y/interest.jar [J2EE Deployer] Could not delete temporary file: /C:/jboss/jboss_tomcat/jboss-2.0-FINAL/bi n/../tmp/deploy/copy1002.zip [J2EE Deployer] Create application interest.jar [J2EE Deployer] Installing EJB package: interest.jar [J2EE Deployer] Starting module interest.jar [Container factory] Deploying:file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deplo y/interest.jar/ejb1003.jar [Verifier] Verifying file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/interes t.jar/ejb1003.jar [Container factory] Deploying Interest [Container factory] Deployed application: file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/bin/ ../tmp/deploy/interest.jar/ejb1003.jar [J2EE Deployer] J2EE application: file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deploy/inter est.jar is deployed. [Auto deploy] Auto deploy of file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deploy/tomcat-tes t.ear [J2EE Deployer] Deploy J2EE application: file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deplo y/tomcat-test.ear [J2EE Deployer] Could not delete temporary file: /C:/jboss/jboss_tomcat/jboss-2.0-FINAL/bi n/../tmp/deploy/copy1004.zip [J2EE Deployer] Create application tomcat-test.ear [J2EE Deployer] Installing web package: tomcat-test.war [J2EE Deployer] Added ./client.jar to common classpath [J2EE Deployer] Installing EJB package: tomcat-test.jar [J2EE Deployer] Starting module tomcat-test.jar [Container factory] Deploying:file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deplo y/tomcat-test.ear/ejb1007.jar [Verifier] Verifying file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/bin/../tmp/deploy/tomcat- test.ear/ejb1007.jar [Container factory] Deploying Optimized [Container factory] Deploying NonOptimized [Container factory] Deployed application: file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/bin/ ../tmp/deploy/tomcat-test.ear/ejb1007.jar [J2EE Deployer] Starting module tomcat-test.war [EmbeddedTomcat] ContextManager: Adding context Ctx( /jboss ) [EmbeddedTomcat] path="/jboss" :jsp: init [J2EE Deployer] J2EE application: file:/C:/jboss/jboss_tomcat/jboss-2.0-FINAL/deploy/tomca t-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 -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
