[jboss-jira] [JBoss JIRA] Updated: (JBAS-5713) NullPointerException in JavaEEComponentHelper with JBoss-5.0

James Callaghan (JIRA) jira-events at lists.jboss.org
Thu Jul 3 06:55:31 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5713?page=all ]

James Callaghan updated JBAS-5713:
----------------------------------

    Attachment: 10.mpee.local.20080702.1514.ear

In order to deploy this EAR you'll need to set up the JMS queues and datasource that it requires. I have the following, should you need them.

Datasource:
<datasources>

 <local-tx-datasource>
    <jndi-name>mpee_DS</jndi-name>
    <connection-url>jdbc:mysql://jndi.jboss:3306/mpee_local</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>telrock</user-name>
    <password>3turquoisepigs</password>
    <min-pool-size>5</min-pool-size>
    <max-pool-size>20</max-pool-size>

  </local-tx-datasource>
    
</datasources>




And then there are the queue and topic definitions:
<server>

   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=mpee_sendsmsmessage"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>

      <attribute name="JNDIName">queue/jboss/mpee/local/sendsmsmessage</attribute>
      <attribute name="MaxDeliveryAttempts">1</attribute>
      <attribute name="RedeliveryDelay">60</attribute>
   </mbean>

   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=mpee_processedmessage"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>

      <attribute name="JNDIName">queue/jboss/mpee/local/processedmessage</attribute>
      <attribute name="MaxDeliveryAttempts">1</attribute>
      <attribute name="RedeliveryDelay">60</attribute>
   </mbean>

   <mbean code="org.jboss.jms.server.destination.QueueService"
      name="jboss.messaging.destination:service=Queue,name=mpee_notification"
      xmbean-dd="xmdesc/Queue-xmbean.xml">
      <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
      <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
      <depends>jboss.messaging:service=PostOffice</depends>

      <attribute name="JNDIName">queue/jboss/mpee/local/notification</attribute>
      <attribute name="MaxDeliveryAttempts">1</attribute>
      <attribute name="RedeliveryDelay">60</attribute>
   </mbean>

</server>



> NullPointerException in JavaEEComponentHelper with JBoss-5.0
> ------------------------------------------------------------
>
>                 Key: JBAS-5713
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5713
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>            Reporter: James Callaghan
>         Attachments: 10.mpee.local.20080702.1514.ear
>
>
> Please see my forum post for the background on this posting:
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=138480
> As requested, I'm creating this JIRA story. Trying to find a way to attach one of the EAR files in question. Perhaps I have to edit this story after it's created?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list