Re: [JBoss-user] Problems deploying an EAR on JBoss 3.2

2003-02-04 Thread Christian Neuroth
Title: Message



Hi!

Was my mistake I figured it out...

The jboss.xml of one of the ejbs contained a jndi 
name, that was already used by another one 

Thanks
 christian


  - Original Message - 
  From: 
  James Higginbotham 
  To: [EMAIL PROTECTED] 
  
  Sent: Monday, February 03, 2003 5:22 
  PM
  Subject: RE: [JBoss-user] Problems 
  deploying an EAR on JBoss 3.2
  
  Wow! 
  I've been seeing this on 3.0.6 as well but thought it was our complex build 
  system.. I end up having to delete the tmp, db, and log directories (just be 
  be sane and clear the logs for my sake) and things deploy fine.. This didn't 
  happen on 3.0.4, so something has changed in the deployer - its getting 
  confused and picking up both old deployments and new or something.. Only way I 
  can explain this oddity.. Anyone from Jboss-dev have any ideas about this? Its 
  really slowing down my development. 
  
  Thanks,
  James
  

-Original Message-From: Christian 
Neuroth [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 
9:17 AMTo: [EMAIL PROTECTED]Subject: 
[JBoss-user] Problems deploying an EAR on JBoss 3.2
Hi!

Deploying the single 
ejb-jar works... But when I pack them into an ear archive I receive the 
following message:

javax.management.InstanceAlreadyExistsException: 
jboss.management.local:EJBModule=Foo-ejb.jar,J2EEApplication= 
,J2EEServer=example.ear,j2eeType=StatelessSessionBean,name=BarHomeRemote 
already registered.

I deleted everything from the deploy folder and 
tried again - without success


The application.xml:

?xml version="1.0" encoding="UTF-8"?
!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE 
Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'
application
display-nameExampleEAR/display-name
descriptionblub/description
module
ejbFoo-ejb.jar/ejb
/module
module
ejbBar-ejb.jar/ejb
/module
/application

Thanks!
 
  Christian


[JBoss-user] Problems deploying an EAR on JBoss 3.2

2003-02-03 Thread Christian Neuroth



Hi!

Deploying the single 
ejb-jar works... But when I pack them into an ear archive I receive the 
following message:

javax.management.InstanceAlreadyExistsException: 
jboss.management.local:EJBModule=Foo-ejb.jar,J2EEApplication= 
,J2EEServer=example.ear,j2eeType=StatelessSessionBean,name=BarHomeRemote 
already registered.

I deleted everything from the deploy folder and 
tried again - without success


The application.xml:

?xml version="1.0" encoding="UTF-8"?
!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE 
Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'
application
display-nameExampleEAR/display-name
descriptionblub/description
module
ejbFoo-ejb.jar/ejb
/module
module
ejbBar-ejb.jar/ejb
/module
/application

Thanks!
 
Christian


RE: [JBoss-user] Problems deploying an EAR on JBoss 3.2

2003-02-03 Thread Demyanovich, Craig - Apogent
Christian,

Feel free to try this very simple test EAR (attached) that I developed for
the jboss-user thread entitled EAR works in 2.4.10 but not in 3.0.6.  It
deploys for me on 3.2.0RC1.  Please let me know if you have any problems or
questions.

Craig




us_state_service.ear
Description: Binary data


RE: [JBoss-user] Problems deploying an EAR on JBoss 3.2

2003-02-03 Thread James Higginbotham
Title: Message



Wow! 
I've been seeing this on 3.0.6 as well but thought it was our complex build 
system.. I end up having to delete the tmp, db, and log directories (just be be 
sane and clear the logs for my sake) and things deploy fine.. This didn't happen 
on 3.0.4, so something has changed in the deployer - its getting confused and 
picking up both old deployments and new or something.. Only way I can explain 
this oddity.. Anyone from Jboss-dev have any ideas about this? Its really 
slowing down my development. 

Thanks,
James

  
  -Original Message-From: Christian 
  Neuroth [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 
  9:17 AMTo: [EMAIL PROTECTED]Subject: 
  [JBoss-user] Problems deploying an EAR on JBoss 3.2
  Hi!
  
  Deploying the single 
  ejb-jar works... But when I pack them into an ear archive I receive the 
  following message:
  
  javax.management.InstanceAlreadyExistsException: 
  jboss.management.local:EJBModule=Foo-ejb.jar,J2EEApplication= 
  ,J2EEServer=example.ear,j2eeType=StatelessSessionBean,name=BarHomeRemote 
  already registered.
  
  I deleted everything from the deploy folder and 
  tried again - without success
  
  
  The application.xml:
  
  ?xml version="1.0" encoding="UTF-8"?
  !DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE 
  Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'
  application
  display-nameExampleEAR/display-name
  descriptionblub/description
  module
  ejbFoo-ejb.jar/ejb
  /module
  module
  ejbBar-ejb.jar/ejb
  /module
  /application
  
  Thanks!
   
Christian