Usually, this problem can be solved with 2 steps:
1. As you said you have done, make double sure your TOMCAT_HOME
variable is set correctly.
2. Be sure you run jBoss using run.sh (or run.bat for Windows). DO not
use java -jar run.jar.
The run.sh and run.bat files should print out some information saying
something like "Adding TOMCAT classes to CLASSPATH" when you first run
it. If you are not seeing this message, the run.bat script is not
seeing your TOMCAT_HOME variable.
-Charles
"K.Naveen Kumar" wrote:
> Hello Friends, I am starting with Jboss configuration with
> tomcat.
> I am running tomcat 3.2 beta. I have properly set
> the TOMCAT_HOME to
> d:\jakarta-tomcat the drive in which it is
> installed.
> the jboss server console shows the following.
> It's giving an error regarding CLASSPATH. what else
> do I need in
> CLASPATH.
>
> [Console logging] Logging started
> [Classpath] Added directory:file:/D:/jboss/log/
> [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] Added directory:file:/D:/jboss/db/
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/jmxtools.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/jdbc2_0-stdext.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/mail.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/hsql.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/ejxeditor.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/jpl-util-0_5b.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/jndi.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/jta-spec1_0_1.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/ejb.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/xml.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/awt.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/ejxejb.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/idb.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/activation.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/jnpserver.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/dynaserver.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/jboss.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/ejxjboss.jar
> [Classpath] Added library:
> file:/D:/jboss/lib/ext/ejxjaws.jar
> [JDBC] Loaded JDBC-driver:org.hsql.jdbcDriver
> [JDBC] Loaded JDBC-driver:jdbc.idbDriver
> [Webserver] Initializing
> [Webserver] Initialized
> [Hypersonic] Initializing
> [Hypersonic] Server 1.4 is running
> [Hypersonic] Database started
> [Hypersonic] Initialized
> [Naming] Initializing
> [Naming] Naming started on port 1099
> [Naming] Initialized
> [Transaction manager] Initializing
> [Transaction manager] Initialized
> [Simple Realm Mapping] Initializing
> [Simple Realm Mapping] Initialized
> [Security manager] Initializing
> [Security manager] Initialized
> [DataSource] Initializing
> [DataSource] Connection pool for
> jdbc:idb:../conf/instantdb.properties
> boun
> InstantDB
> InstantDB - Version 3.12
> [DataSource] Copyright (c) 1997-1999 Instant
> Computer Solutions Ltd.
> [DataSource] Initialized
> [DataSource] Initializing
> [DataSource] Connection pool for
> jdbc:HypersonicSQL:hsql://localhost
> bound
> personic
> [DataSource] Initialized
> [Container factory] Initializing
> [Container factory] Initialized
> [Auto deploy] Watching D:\jboss\deploy
> [Auto deployer] Initializing
> [Auto deployer] Initialized
> [JMX RMI Adaptor] Initializing
> [JMX RMI Adaptor] Initialized
> [Tomcat] Initializing
> [Tomcat] Initialized
> [Configuration] Initializing
> [Configuration] Initialized
> [Configuration] MaxActiveClientCount set to 10 in
> Adaptor:name=html
> [Configuration] Port set to 8082 in
> Adaptor:name=html
> [Configuration] LibraryDirectory set to
> D:\jboss\bin in
> DefaultDomain:servi
> et
> [Configuration] Format set to [{2}] {4} in
> DefaultDomain:service=Logging,ty
> nsole
> [Configuration] Port set to 8083 in
> DefaultDomain:service=Webserver
> [Configuration] VerifyDeployments set to false in
> EJB:service=ContainerFact
> [Simple Realm Mapping] Starting
> [Simple Realm Mapping] Started
> [DataSource] Starting
> [DataSource] Started
> [JMX RMI Adaptor] Starting
> [JMX RMI Adaptor] Started
> [Naming] Starting
> [Naming] Started
> [DataSource] Starting
> [DataSource] Started
> [Auto deployer] Starting
> [Auto deploy] Auto deploy of
> file:/D:/jboss/deploy/TestBeans.jar
> [Container factory] Deploying:
> file:/D:/jboss/deploy/TestBeans.jar
> [Container factory] Loading ejb-jar.xml :
> jar:file:/C:/TEMP/tmpejbjar33322.
> META-INF/ejb-jar.xml
> [Container factory] Loading standardjboss.xml :
> jar:file:/D:/jboss/lib/ext/
> .jar!/org/jboss/metadata/standardjboss.xml
> [Container factory] Deploying
> nextgen.EnterpriseEntity
> [Container factory] Deploying nextgen.EntityBMP
> [Container factory] Deploying nextgen.EntityPK
> [Container factory] Deploying Account
> [Container factory] Deploying
> nextgen.StatelessSession
> [Container factory] Deploying
> nextgen.StatefulSession
> [Container factory] Deploying AccountManager
> [Container factory]
> javax.naming.NameNotFoundException: Invalid name:/
> [Container factory] at
> com.sun.enterprise.naming.java.javaURLContext.ge
> tiveName(javaURLContext.java:421)
> [Container factory] at
> com.sun.enterprise.naming.java.javaURLContext.ge
> onentContext(javaURLContext.java:383)
> [Container factory] at
> com.sun.enterprise.naming.java.javaURLContext.lo
> javaURLContext.java:52)
> [Container factory] at
> javax.naming.InitialContext.lookup(Unknown
> Sourc
> [Container factory] at
> org.jboss.ejb.Container.setupEnvironment(Contain
> va:352)
> [Container factory] at
> org.jboss.ejb.Container.init(Container.java:264)
> [Container factory] at
> org.jboss.ejb.StatefulSessionContainer.init(Stat
> essionContainer.java:164)
> [Container factory] at
> org.jboss.ejb.Application.init(Application.java:
> [Container factory] at
> org.jboss.ejb.ContainerFactory.deploy(ContainerF
> y.java:544)
> [Container factory] at
> org.jboss.ejb.ContainerFactory.deploy(ContainerF
> y.java:193)
> [Container factory] at
> java.lang.reflect.Method.invoke(Native
> Method)
> [Container factory] at
> javax.management.MBeanServer.invoke(MBeanServer.
> 1635)
> [Container factory] at
> javax.management.MBeanServer.invoke(MBeanServer.
> 1501)
> [Container factory] at
> org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.j
> 85)
> [Container factory] at
> org.jboss.ejb.AutoDeployer.run(AutoDeployer.java
>
> [Container factory] at
> org.jboss.ejb.AutoDeployer.startService(AutoDepl
> java:264)
> [Container factory] at
> org.jboss.util.ServiceMBeanSupport.start(Service
> Support.java:89)
> [Container factory] at
> java.lang.reflect.Method.invoke(Native
> Method)
> [Container factory] at
> javax.management.MBeanServer.invoke(MBeanServer.
> 1635)
> [Container factory] at
> javax.management.MBeanServer.invoke(MBeanServer.
> 1501)
> [Container factory] at
> org.jboss.Main.<init>(Main.java:155)
> [Container factory] at
> org.jboss.Main.<init>(Main.java:86)
> [Container factory] at
> org.jboss.Main$1.run(Main.java:76)
> [Container factory] at
> java.security.AccessController.doPrivileged(Nati
> thod)
> [Container factory] at
> org.jboss.Main.main(Main.java:67)
> [Auto deploy] Deployment failed:
> file:/D:/jboss/deploy/TestBeans.jar
> [Auto deploy]
> javax.management.RuntimeMBeanException:
> RuntimeException
> thro
> operation deploy
> [Auto deploy] at
>
> javax.management.MBeanServer.invoke(MBeanServer.java:164
> [Auto deploy] at
>
> javax.management.MBeanServer.invoke(MBeanServer.java:150
> [Auto deploy] at
>
> org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:285)
> [Auto deploy] at
> org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
>
> [Auto deploy] at
>
> org.jboss.ejb.AutoDeployer.startService(AutoDeployer.jav
> )
> [Auto deploy] at
>
> org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSup
> java:89)
> [Auto deploy] at
> java.lang.reflect.Method.invoke(Native Method)
> [Auto deploy] at
>
> javax.management.MBeanServer.invoke(MBeanServer.java:163
> [Auto deploy] at
>
> javax.management.MBeanServer.invoke(MBeanServer.java:150
> [Auto deploy] at
> org.jboss.Main.<init>(Main.java:155)
> [Auto deploy] at
> org.jboss.Main.<init>(Main.java:86)
> [Auto deploy] at
> org.jboss.Main$1.run(Main.java:76)
> [Auto deploy] at
> java.security.AccessController.doPrivileged(Native
> Metho
> [Auto deploy] at
> org.jboss.Main.main(Main.java:67)
> [Auto deployer] Started
> [Hypersonic] Starting
> [Hypersonic] Started
> [Transaction manager] Starting
> [Transaction manager] Started
> [Tomcat] Starting
> [Tomcat] Started
> [Container factory] Starting
> [Container factory] Started
> [Security manager] Starting
> [Security manager] Started
> [Webserver] Starting
> [Webserver] Codebase set to http://localhost:8083/
> [Webserver] Started webserver on port 8083
> [Webserver] Started
> [Default] Shutdown hook added
> [Default] jBoss 2.0 Started
> [Tomcat] Testing if Tomcat is present....
> [Tomcat] failed
> [Tomcat] Tomcat wasn't found. Be sure to have your
> CLASSPATH correctly
> set
>
> --
>
> --
> *********************************************************
> "To make mistakes is human; to stumble is commonplace; to
> be Able to Laugh at yourself is maturity." -- William Ward
> *********************************************************
>
> Thanks,
> Koka Naveen Kumar
> FLAT# 3098, Sector A,
> Pocket B&C, Vasant Kunj,
> New Delhi 110070
> Phone:91-11-6121964.
> Contact Phone:
> Vijayawada, 91-866-4912795
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]