Hi!
Did you extend your classpath somehow or copied jars to lib/ext/ ?
Could be that the container is picking up a wrong ejb-jar.xml.
Cheers,
Tobias
Indika Fernando wrote:
>
> hey all,
> I am having some problems with deploying.....
> I have a jar called user.jar and when I deployed these messages are comming
>
> __BEGIN__
> [Auto deploy] Auto deploy of file:/C:/jBoss-2.0_FINAL/deploy/user.jar
> [J2EE Deployer] Deploy J2EE application:
> file:/C:/jBoss-2.0_FINAL/deploy/user.
> r
> [J2EE Deployer] Create application user.jar
> [J2EE Deployer] Installing EJB package: user.jar
> [J2EE Deployer] Starting module user.jar
> [Container factory]
> Deploying:file:/C:/jBoss-2.0_FINAL/bin/../tmp/deploy/user.
> r/ejb1002.jar
> [Verifier] Verifying
> file:/C:/jBoss-2.0_FINAL/bin/../tmp/deploy/user.jar/ejb10
> .jar
> [Container factory] Deploying CDBean
> [Container factory] Deploying CDCollectionBean
> [Bean Cache] Cache policy scheduler started
> [Container factory] Deployed application:
> file:/C:/jBoss-2.0_FINAL/bin/../tmp/
> ploy/user.jar/ejb1002.jar
> [J2EE Deployer] J2EE application: file:/C:/jBoss-2.0_FINAL/deploy/user.jar
> is
> ployed.
> [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
> [Bean Cache] Resized cache for bean CDBean: old size = 1000, new size = 50
> -----END--
>
> the following Beans were comming from my previous cd.jar which I deleted
> before deploying user.jar.
>
> [Container factory] Deploying CDBean
> [Container factory] Deploying CDCollectionBean
>
> why is this???
>
> and when I ran my client test.java which displays the records in the
> database It gives an error like this>>>
>
> javax.naming.NameNotFoundException: user not bound
>
> ie: I was testing the jboss.org sites cd.jar and this worked nicely with an
> Oracle connection ,,,,then I was testing my beans and this problem came
> please help thanx
> indi
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]