This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 64878

Summary: Missing elements for MDB in sun-ejb-jar.xml
Product: serverplugins Reporter: Lukas Jungmann <jungi>
Component: Sun Appserver 8Assignee: Vince Kraemer <vkraemer>
Status: VERIFIED FIXED    
Severity: blocker Keywords: REGRESSION
Priority: P1    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Lukas Jungmann 2005-09-22 10:21:49 UTC
-create new MDB, eg. queue, in empty ejb module

=> in sun-ejb-jar.xml there are missing mdb-connection-factory and
message-destination elements.
Comment 1 Petr Blaha 2005-09-22 13:45:17 UTC
Since the issue is regression I'm marking issue as Beta stopper.
Comment 2 Vince Kraemer 2005-09-22 17:19:47 UTC
This is a regression from... which build?
Comment 3 _ ludo 2005-09-22 19:14:36 UTC
was working in 4.1,
Vince, I guess you are now making progess with this regression:-)
2 things are wrong: 
a/ the resources are created with an enabled as True instead of true
b/ and the necessary entries (<message-destination> and <mdb-connection-factory>)
in sun-ejb-jar are not created.
From nb 4.1, I can see:
<sun-ejb-jar>
 <enterprise-beans>
   <ejb>
     <ejb-name>NewMessageBean</ejb-name>
     <jndi-name>jms/NewMessageBean</jndi-name>
     <mdb-connection-factory>
       <jndi-name>jms/NewMessageDestinationFactory</jndi-name>
     </mdb-connection-factory>
   </ejb>
   <message-destination>
     <message-destination-name>NewMessageDestination</message-destination-name>
     <jndi-name>jms/NewMessageBean</jndi-name>
   </message-destination>
 </enterprise-beans>
</sun-ejb-jar> 

a/ is an easy fix.
b/ will know soon...
Comment 5 Vince Kraemer 2005-09-23 00:23:09 UTC
confirmed by Ludo
Comment 6 Vince Kraemer 2005-09-23 18:16:46 UTC
in release50_beta:

see http://serverplugins.netbeans.org/servlets/ReadMsg?list=cvs&msgNo=776 for
details.
Comment 7 Petr Blaha 2005-09-26 08:36:46 UTC
[beta build 200509251930]