[Messaging, JMS & JBossMQ] - Problem with ejb3 mdb after going clustered
by atamur
Everithing worked just fine, then I decided to go clustered and made all modifications required: oracle defaultDS and correspondig xml files. Now I'm getting pretty odd exception:
2007-03-07 00:04:57,893 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=singlecity-debug.ear,jar=singlecity-ejb-services-controller.jar,name=SMSProcessorEJB,service=EJB3 with dependencies:
| 2007-03-07 00:04:57,907 INFO [EJBContainer] STARTED EJB: ru.singlecity.ejb.servicecontroller.sms.SMSProcessorBean ejbName: SMSProcessorEJB
| 2007-03-07 00:04:57,941 WARN [MessagingContainer] Could not find the queue destination-jndi-name=queue/InSMSQueue
| 2007-03-07 00:04:57,942 WARN [MessagingContainer] destination not found: queue/InSMSQueue reason: javax.naming.NameNotFoundException: queue/InSMSQueue
| 2007-03-07 00:04:57,942 WARN [MessagingContainer] creating a new temporary destination: queue/InSMSQueue
| 2007-03-07 00:04:57,945 INFO [InSMSQueue] Registration is not done -> stop
| 2007-03-07 00:04:57,946 WARN [ServiceController] Problem starting service jboss.j2ee:ear=singlecity-debug.ear,jar=singlecity-ejb-services-controller.jar,name=SMSProcessorEJB,service=EJB3
| javax.management.InstanceAlreadyExistsException: jboss.mq.destination:service=Queue,name=InSMSQueue already registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
| yo see: first it thinks, that there is no such queue and then - that it already exists =(
This queue is defined in a sar archive that is deployed in this ear.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025585#4025585
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025585
19Â years, 1Â month
[JBoss Getting Started Documentation] - Cannot use jaas for ejb on duke's bank
by alexboyer
Hi, I was able to secure the 4.0.5GA web side fine with the getting started guide for 4.0.4. I am using the j2ee 7 tutorial and the additional jboss source. But when I add the <security-domain>java:/jaas/dukesbank</security-domain>
element to jboss.xml for the ejb side I get an exception.
14:25:31,126 ERROR [LogInterceptor] EJBException in method: public abstract java.util.ArrayList com.
sun.ebank.ejb.account.AccountController.getAccountsOfCustomer(java.lang.String) throws java.rmi.Remo
teException,com.sun.ebank.ejb.exception.InvalidParameterException,com.sun.ebank.ejb.exception.Custom
erNotFoundException:
javax.ejb.EJBException: SecurityException.
I don't see anything from the log file. This seems to be a Customer LocalHome findByPrimaryKey call. But this appears to be an unchecked method.
Nothing I do seem to make any difference. I cannot understand why the problem does not show up when the other application-policy is being used but fails with a dukesbank application-policy for the ejb side of duke's bank.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025581#4025581
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025581
19Â years, 1Â month