You probably have an old jboss.jar that gets picked up somehow in your
classpath.

marc



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ole Husgaard
> Sent: Saturday, August 12, 2000 10:17 PM
> To: jBoss Developer
> Subject: [jBoss-Dev] ClassNotFoundException on deployment
>
>
> Hi,
>
> When deploying I am getting:
> [Container factory] java.lang.ClassNotFoundException: class
> org.jboss.security.EJBSecurityManagerDefaultImpl
> [Container factory] java.lang.ClassNotFoundException: class
> org.jboss.security.SimpleRealmMapping
> [Container factory] java.lang.ClassNotFoundException: class
> org.jboss.tm.TxManager
>
> These classes reside in dist/lib/ext/jboss.jar, and I have
> checked that it is
> added by jboss at startup.
>
> When building and running from a fresh CVS snapshot i get one of
> these exceptions
> on deployment of the TestBeans.jar (see below for a complete
> log), so maybe the
> problem is in jBoss ?
>
>
> Best Regards,
>
> Ole Husgaard.
>
>
>
> [Console logging] Logging started
> [Classpath] Added
> directory:file:/home/osh/src/java/downloads/t/jboss/dist/log/
> [Info] Java version: 1.3.0beta_refresh,Sun Microsystems Inc.
> [Info] Java VM: Java HotSpot(TM) Client VM 1.3.0beta-b07,Sun
> Microsystems Inc.
> [Info] System: Linux 2.2.12-20,i386
> [Classpath] Added
> directory:file:/home/osh/src/java/downloads/t/jboss/dist/db/
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/jta
> -spec1_0_1.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/act
> ivation.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/jnp
> server.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/dyn
> aserver.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/jdb
> c2_0-stdext.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/mail.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/hsql.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/ejb.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/xml.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/awt.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/idb.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/jndi.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/ejx
> editor.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/jmx
> tools.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/jpl
> -util-0_5b.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/ejxejb.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/ejxjaws.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/jboss.jar
> [Classpath] Added
> library:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/ejx
> jboss.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 bound to 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 to Hypersonic
> [DataSource] Initialized
> [Container factory] Initializing
> [Container factory] Initialized
> [Auto deploy] Watching /home/osh/src/java/downloads/t/jboss/dist/deploy
> [Auto deployer] Initializing
> [Auto deployer] Initialized
> [JMX RMI Adaptor] Initializing
> [JMX RMI Adaptor] Initialized
> [Configuration] Initializing
> [Configuration] Initialized
> [Configuration] Format set to [{2}] {4} in
> DefaultDomain:service=Logging,type=Console
> [Configuration] Port set to 8083 in DefaultDomain:service=Webserver
> [Configuration] MaxActiveClientCount set to 10 in Adaptor:name=html
> [Configuration] Port set to 8082 in Adaptor:name=html
> [DataSource] Starting
> [DataSource] Started
> [Webserver] Starting
> [Webserver] Codebase set to http://localhost:8083/
> [Webserver] Started webserver on port 8083
> [Webserver] Started
> [Hypersonic] Starting
> [Hypersonic] Started
> [Transaction manager] Starting
> [Transaction manager] Started
> [Auto deployer] Starting
> [Auto deploy] Auto deploy of
> file:/home/osh/src/java/downloads/t/jboss/dist/deploy/TestBeans.jar
> [Container factory]
> Deploying:file:/home/osh/src/java/downloads/t/jboss/dist/deploy/Te
> stBeans.jar
> [Container factory] Loading ejb-jar.xml :
> jar:file:/home/osh/src/java/downloads/t/jboss/dist/deploy/TestBean
> s.jar!/META-INF/ejb-jar.xml
> [Container factory] Loading defaultjboss.xml :
> jar:file:/home/osh/src/java/downloads/t/jboss/dist/lib/ext/jboss.j
> ar!/org/jboss/metadata/defaultjboss.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] Storing sessions for nextgen.StatefulSession
> in:database/nextgen.StatefulSession
> [Container factory] 0 old sessions removed
> [JAWS] Initializing JAWS plugin for nextgen.EntityPK
> [JAWS] Init SQL: CREATE TABLE nextgen_EntityPK (aBoolean
> BIT,aDouble DOUBLE,anInt INTEGER,otherField INTEGER,aString
> VARCHAR(256),aLong BIGINT)
> [JAWS] Destroy SQL: DROP TABLE nextgen_EntityPK
> [JAWS] Exists SQL: SELECT COUNT(*) AS Total FROM nextgen_EntityPK
> WHERE aBoolean=? AND anInt=? AND aLong=? AND aDouble=?
> AND aString=?
> [JAWS] Create SQL: INSERT INTO nextgen_EntityPK
> (aBoolean,aDouble,anInt,otherField,aString,aLong) VALUES (?,?,?,?,?,?)
> [JAWS] Remove SQL: DELETE FROM nextgen_EntityPK WHERE aBoolean=?
> AND anInt=? AND aLong=? AND aDouble=? AND aString=?
> [JAWS] Load SQL: SELECT
> aBoolean,aDouble,anInt,otherField,aString,aLong FROM
> nextgen_EntityPK WHERE aBoolean=? AND
> anInt=? AND aLong=? AND aDouble=? AND aString=?
> [JAWS] Init command executing: CREATE TABLE nextgen_EntityPK
> (aBoolean BIT,aDouble DOUBLE,anInt INTEGER,otherField
> INTEGER,aString VARCHAR(256),aLong BIGINT)
> [JAWS] Rows affected = 0
> [JAWS] Table nextgen_EntityPK created
> [Container factory] Binding an EJBReference Account
> [Container factory] Binding Account to external JNDI source: Account
> [JAWS] Initializing JAWS plugin for Account
> [JAWS] Init SQL: CREATE TABLE Account (password VARCHAR(256),name
> VARCHAR(256))
> [JAWS] Destroy SQL: DROP TABLE Account
> [JAWS] Exists SQL: SELECT COUNT(*) AS Total FROM Account WHERE name=?
> [JAWS] Create SQL: INSERT INTO Account (password,name) VALUES (?,?)
> [JAWS] Remove SQL: DELETE FROM Account WHERE name=?
> [JAWS] Load SQL: SELECT password,name FROM Account WHERE name=?
> [JAWS] Init command executing: CREATE TABLE Account (password
> VARCHAR(256),name VARCHAR(256))
> [JAWS] Rows affected = 0
> [JAWS] Table Account created
> [JAWS] Initializing JAWS plugin for nextgen.EnterpriseEntity
> [JAWS] Init SQL: CREATE TABLE nextgen_EnterpriseEntity (name VARCHAR(256))
> [JAWS] Destroy SQL: DROP TABLE nextgen_EnterpriseEntity
> [JAWS] Exists SQL: SELECT COUNT(*) AS Total FROM
> nextgen_EnterpriseEntity WHERE name=?
> [JAWS] Create SQL: INSERT INTO nextgen_EnterpriseEntity (name) VALUES (?)
> [JAWS] Remove SQL: DELETE FROM nextgen_EnterpriseEntity WHERE name=?
> [JAWS] Load SQL: SELECT name FROM nextgen_EnterpriseEntity WHERE name=?
> [JAWS] Init command executing: CREATE TABLE
> nextgen_EnterpriseEntity (name VARCHAR(256))
> [JAWS] Rows affected = 0
> [JAWS] Table nextgen_EnterpriseEntity created
> [Container factory] Binding an EJBReference ejb/myEJBRef
> [Container factory] Binding ejb/myEJBRef to external JNDI source:
> nextgen.StatelessSession
> [Container factory] java.lang.ClassNotFoundException: class
> org.jboss.security.EJBSecurityManagerDefaultImpl
> [Container factory] Using default DataSource:Hypersonic
> [Container factory] Bound nextgen.StatefulSession to
> nextgen.StatefulSession
> [Container factory] Bound nextgen.EntityPK to nextgen.EntityPK
> [Container factory] Bound AccountManager to AccountManager
> [Container factory] Bound Account to Account
> [Container factory] Bound nextgen.StatelessSession to
> nextgen.StatelessSession
> [Container factory] Bound nextgen.EnterpriseEntity to
> nextgen.EnterpriseEntity
> [Container factory] Bound nextgen.EntityBMP to nextgen.EntityBMP
> [Container factory] Deployed application:
> file:/home/osh/src/java/downloads/t/jboss/dist/deploy/TestBeans.jar
> [Auto deployer] Started
> [Simple Realm Mapping] Starting
> [Simple Realm Mapping] Started
> [JMX RMI Adaptor] Starting
> [JMX RMI Adaptor] Started
> [Naming] Starting
> [Naming] Started
> [Security manager] Starting
> [Security manager] Started
> [DataSource] Starting
> [DataSource] Started
> [Container factory] Starting
> [Container factory] Started
> [Default] Shutdown hook added
> [Default] jBoss 2.0 Started
> Shutdown
> Shutting down 22 MBeans
> [JMX RMI Adaptor] Stopping
> [JMX RMI Adaptor] Stopped
> [JMX RMI Adaptor] Destroying
> [JMX RMI Adaptor] Destroyed
> [Transaction manager] Stopping
> [Transaction manager] Stopped
> [Transaction manager] Destroying
> [Transaction manager] Destroyed
> [DataSource] Stopping
> [DataSource] Stopped
> [DataSource] Destroying
> [DataSource] Destroyed
> [Simple Realm Mapping] Stopping
> [Simple Realm Mapping] Stopped
> [Simple Realm Mapping] Destroying
> [Simple Realm Mapping] Destroyed
> [Webserver] Stopping
> [Webserver] Stopped
> [Webserver] Destroying
> [Webserver] Destroyed
> [Hypersonic] Stopping
> [Hypersonic] Stopped
> [Hypersonic] Destroying
> [Hypersonic] Destroyed
> [Auto deployer] Stopping
> [Auto deployer] Stopped
> [Auto deployer] Destroying
> [Auto deployer] Destroyed
> [Naming] Stopping
> [Naming] Stopped
> [Naming] Destroying
> [Naming] Destroyed
> [Security manager] Stopping
> [Security manager] javax.naming.CommunicationException.  Root
> exception is java.rmi.NoSuchObjectException: no such
> object in table
> [Security manager]      at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Str
> eamRemoteCall.java:245)
> [Security manager]      at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
> [Security manager]      at
> sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
> [Security manager]      at
> org.jnp.server.NamingServer_Stub.unbind(Unknown Source)
> [Security manager]      at
> org.jnp.interfaces.NamingContext.unbind(NamingContext.java:414)
> [Security manager]      at
> org.jnp.interfaces.NamingContext.unbind(NamingContext.java:402)
> [Security manager]      at
> javax.naming.InitialContext.unbind(InitialContext.java:374)
> [Security manager]      at
> org.jboss.security.EJBSecurityManagerService.stopService(EJBSecuri
> tyManagerService.java:90)
> [Security manager]      at
> org.jboss.util.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:118)
> [Security manager]      at
> org.jboss.util.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:133)
> [Security manager]      at java.lang.reflect.Method.invoke(Native Method)
> [Security manager]      at
> javax.management.MBeanServer.invoke(MBeanServer.java:1635)
> [Security manager]      at
> javax.management.MBeanServer.invoke(MBeanServer.java:1501)
> [Security manager]      at org.jboss.Main$2.run(Main.java:178)
> [Security manager] Stopped
> [Security manager] Destroying
> [Security manager] Destroyed
> [DataSource] Stopping
>         at org.jnp.server.Main.run(Main.java:125)
>         at java.lang.Thread.run(Thread.java:484)
> [Default] java.lang.NullPointerException
> [DataSource] Stopped
> [DataSource] Destroying
> [DataSource] Destroyed
> [Container factory] Stopping
> [Container factory] Stopped
> [Container factory] Destroying
> Shutting done
> [Container factory] Destroyed
>
>


Reply via email to