Greetings ! Gang, I downloaded the binary for JBoss-2.2.1 + Tomcat-3.2.1 Embedded. My directory structure is as follows D:\JBoss-2.2.1_Tomcat-3.2.1 with jboss and tomcat as sub directories. I have set JAVA_HOME, TOMCAT_HOME, and JBOSS_HOME on NT as system env vars. I have changed/checked the config files as pointed out in "Tomcat and JBoss - A Full J2EE Stack" http://jboss.org/documentation/HTML/ch11.html#howtotomcat Now, I should have a JBoss-2.2.1 + Tomcat-3.2.1 Embedded env. I ran jboss, but got a bunch of errors; I have attached the stack to this mail. Do I need to do anything else for JBoss-2.2.1 + Tomcat-3.2.1 Embedded env ? Am I missing something ? Regards, Pragnesh Dave <<jboss_stack.txt>>
D:\JBoss-2.2.1_Tomcat-3.2.1\jboss\bin>run JBOSS_CLASSPATH=;run.jar;../lib/crimson.jar jboss.home = D:\JBoss-2.2.1_Tomcat-3.2.1\jboss Using configuration "default" [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] Classpath extension file:/D:/JBoss-2.2.1_Tomcat-3.2.1/jboss/lib/ext/TOMCAT_HOME/lib/ is invalid. [Default] java.lang.NullPointerException [Default] at org.jboss.util.ClassPathExtension.postRegister(ClassPathExtension.java:86) [Default] at com.sun.management.jmx.MBeanServerImpl.postRegisterInvoker(MBeanServerImpl.java:2274) [Default] at com.sun.management.jmx.MBeanServerImpl.createMBean(MBeanServerImpl.java:784) [Default] at javax.management.loading.MLet.getMBeansFromURL(MLet.java:540) [Default] at javax.management.loading.MLet.getMBeansFromURL(MLet.java:369) [Default] at org.jboss.Main.<init>(Main.java:173) [Default] at org.jboss.Main$1.run(Main.java:107) [Default] at java.security.AccessController.doPrivileged(Native Method) [Default] at org.jboss.Main.main(Main.java:103) [Shutdown] Shutdown hook added [Service Control] Registered with server [Service Control] Initializing 25 MBeans [Webserver] Initializing [Webserver] Initialized [Naming] Initializing [Naming] Initialized [JNDIView] Initializing [JNDIView] Initialized [Transaction manager] Initializing [Transaction manager] Initialized [JAAS Security Manager] Initializing [JAAS Security Manager] Initialized [JDBC provider] Initializing [JDBC provider] Loaded JDBC-driver:org.hsql.jdbcDriver [JDBC provider] Loaded JDBC-driver:org.enhydra.instantdb.jdbc.idbDriver [JDBC provider] Initialized [Hypersonic] Initializing [Hypersonic] Initialized [InstantDB] Initializing [InstantDB] Initialized [DefaultDS] Initializing [DefaultDS] Initialized [Container factory] Initializing [Container factory] Initialized [EmbeddedTomcat] Initializing [EmbeddedTomcat] Initialized [JBossMQ] Initializing [JBossMQ] Initialized [DefaultJMSProvider] Initializing [DefaultJMSProvider] Initialized [StdJMSPool] Initializing [StdJMSPool] Initialized [J2EE Deployer Default] Initializing [J2EE Deployer Default] Initialized [Auto deploy] Initializing [Auto deploy] Initialized [RARDeployer] Initializing [RARDeployer] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaNoTransCMFactory] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaSharedLocalCMFactory] Initialized [ConnectionManagerFactoryLoader] Initializing [MinervaXACMFactory] Initialized [ConnectionFactoryLoader] Initializing [BlackBoxDS] Initialized [JMX RMI Adaptor] Initializing [JMX RMI Adaptor] Initialized [JMX RMI Connector] Initializing [JMX RMI Connector] Initialized [Mail Service] Initializing [Mail Service] Initialized [Service Control] Initialized 25 services [Service Control] Starting 25 MBeans [Webserver] Starting [Webserver] Codebase set to http://12cjm7a556:8083/ [Webserver] Started webserver on port 8083 [Webserver] Started [Naming] Starting [Naming] Naming started on port 1099 [Naming] Started [JNDIView] Starting [JNDIView] Started [Transaction manager] Starting [Transaction manager] Started [JAAS Security Manager] Starting [JAAS Security Manager] JAAS.startService, cachePolicy=null [JAAS Security Manager] JAAS.startService, SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@187814 [JAAS Security Manager] Started [JDBC provider] Starting [JDBC provider] Started [Hypersonic] Starting [Hypersonic] Server 1.4 is running [Hypersonic] Database started [Hypersonic] Started [InstantDB] Starting [Hypersonic] Press [Ctrl]+[C] to abort [InstantDB] XA Connection pool InstantDB bound to java:/InstantDB Enhydra InstantDB - Version 3.26 [InstantDB] The Initial Developer of the Original Code is Lutris Technologies Inc. Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies, Inc. All Rights Reserved. [InstantDB] Started [DefaultDS] Starting [DefaultDS] XA Connection pool DefaultDS bound to java:/DefaultDS [DefaultDS] Started [Container factory] Starting [Container factory] Started [EmbeddedTomcat] Starting [EmbeddedTomcat] Starting EmbeddedTomcat.... [Service Control] Could not start DefaultDomain:service=EmbeddedTomcat [Service Control] java.lang.NoClassDefFoundError: org/apache/tomcat/util/xml/XmlAction [Service Control] at org.jboss.tomcat.EmbeddedTomcatService.startService(EmbeddedTomcatService.java:69) [Service Control] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93) [Service Control] at java.lang.reflect.Method.invoke(Native Method) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Service Control] at org.jboss.util.ServiceControl.start(ServiceControl.java:97) [Service Control] at java.lang.reflect.Method.invoke(Native Method) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [Service Control] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [Service Control] at org.jboss.Main.<init>(Main.java:203) [Service Control] at org.jboss.Main$1.run(Main.java:107) [Service Control] at java.security.AccessController.doPrivileged(Native Method) [Service Control] at org.jboss.Main.main(Main.java:103) [JBossMQ] Starting [JBossMQ] Server Version 0.8 Started [JBossMQ] Started [DefaultJMSProvider] Starting [DefaultJMSProvider] JMS provider Adapter DefaultJMSProvider bound to java:/DefaultJMSProvider [DefaultJMSProvider] Started [StdJMSPool] Starting [StdJMSPool] JMS provider Adapter StdJMSPool bound to java:/StdJMSPool [StdJMSPool] Started [J2EE Deployer Default] Starting [J2EE Deployer Default] Cleaning up deployment directory [J2EE Deployer Default] Started [Auto deploy] Starting [Auto deploy] Watching D:\JBoss-2.2.1_Tomcat-3.2.1\jboss\deploy [Auto deploy] Auto deploy of file:/D:/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy/tomcat-test.ear [J2EE Deployer Default] Deploy J2EE application: file:/D:/JBoss-2.2.1_Tomcat-3.2.1/jboss/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 [Auto deploy] java.lang.NullPointerException [Auto deploy] at org.jboss.tomcat.EmbeddedTomcatService.deploy(EmbeddedTomcatService.java:100) [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.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:416) [Auto deploy] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178) [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:358) [Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221) [Auto deploy] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332) [Auto deploy] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93) [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.util.ServiceControl.start(ServiceControl.java:97) [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.Main.<init>(Main.java:203) [Auto deploy] at org.jboss.Main$1.run(Main.java:107) [Auto deploy] at java.security.AccessController.doPrivileged(Native Method) [Auto deploy] at org.jboss.Main.main(Main.java:103) [J2EE Deployer Default] Starting tomcat-test.war failed! [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 [Auto deploy] Deployment failed:file:/D:/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy/tomcat-test.ear [Auto deploy] org.jboss.deployment.J2eeDeploymentException: Error while starting tomcat-test.war: null [Auto deploy] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:441) [Auto deploy] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178) [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:358) [Auto deploy] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221) [Auto deploy] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332) [Auto deploy] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93) [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.util.ServiceControl.start(ServiceControl.java:97) [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.Main.<init>(Main.java:203) [Auto deploy] at org.jboss.Main$1.run(Main.java:107) [Auto deploy] at java.security.AccessController.doPrivileged(Native Method) [Auto deploy] at org.jboss.Main.main(Main.java:103) [Auto deploy] Started [RARDeployer] Starting [RARDeployer] Started [MinervaNoTransCMFactory] Starting [MinervaNoTransCMFactory] Connection manager factory 'MinervaNoTransCMFactory bound to 'java:/MinervaNoTransCMFactory' [MinervaNoTransCMFactory] Started [MinervaSharedLocalCMFactory] Starting [MinervaSharedLocalCMFactory] Connection manager factory 'MinervaSharedLocalCMFactory bound to 'java:/MinervaSharedLocalCMFactory' [MinervaSharedLocalCMFactory] Started [MinervaXACMFactory] Starting [MinervaXACMFactory] Connection manager factory 'MinervaXACMFactory bound to 'java:/MinervaXACMFactory' [MinervaXACMFactory] Started [BlackBoxDS] Starting [BlackBoxDS] Started [JMX RMI Adaptor] Starting [JMX RMI Adaptor] Started [JMX RMI Connector] Starting [JMX RMI Connector] Started [Mail Service] Starting [Mail Service] DEBUG: not loading system providers in <java.home>/lib [Mail Service] DEBUG: not loading optional custom providers file: /META-INF/javamail.providers [Mail Service] DEBUG: successfully loaded default providers [Mail Service] DEBUG: Tables of loaded providers [Mail Service] DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} [Mail Service] DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]} [Mail Service] DEBUG: not loading optional address map file: /META-INF/javamail.address.map [Mail Service] Mail Service 'Mail' bound to java:/Mail [Mail Service] Started [Service Control] Started 25 services [Default] JBoss 2.2.1 Started in 0m:9s