This content has been marked as final.
Show 21 replies
-
15. Re: MDB Topic/Queue definitions and deployment order
jaikiran Aug 27, 2009 11:04 AM (in response to thammoud)Maybe be I spoke too soon. I had a Topic entry in the /xxdestinations.xml file and that is why it worked.
So the topics are in a different file than the EJB jar
That should have worked. Please post the dependency declaration including the import statements in the code, the queue/topic configuration file and the console logs including the entire exception stacktrace.
While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. -
16. Re: MDB Topic/Queue definitions and deployment order
thammoud Aug 27, 2009 11:19 AM (in response to thammoud)Here it goes. Thanks again.
package com.enfusion.fas.mdb; import javax.ejb.ActivationConfigProperty; import javax.ejb.MessageDriven; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.ObjectMessage; import org.apache.log4j.Logger; import org.jboss.annotation.ejb.Depends; import org.jboss.annotation.ejb.PoolClass; import org.joda.time.YearMonthDay; import com.enfusion.fas.service.impl.AuthorizationManager; import com.enfusion.fas.service.impl.position.RecalculatePositionsListener; import com.enfusion.fas.service.impl.position.trade.PositionIdentifierListener; import com.enfusion.fas.util.FASMBeanAccessUtil; import com.enfusion.fds.events.Event; import com.enfusion.fds.events.PositionEventDetail; import com.enfusion.fds.events.PositionIdentifierEventDetail; import com.enfusion.fds.events.RecalculatePositionsEventDetail; import com.enfusion.fds.util.FDSServiceAccessUtil; @MessageDriven(name="PositionMDB", activationConfig ={ @ActivationConfigProperty(propertyName ="destinationType", propertyValue="javax.jms.Topic"), @ActivationConfigProperty(propertyName ="Destination", propertyValue= "topic/Position") },messageListenerInterface=MessageListener.class) @PoolClass(value = org.jboss.ejb3.StrictMaxPool.class, maxSize = 1) @Depends ("jboss.messaging.destination:service=Topic,name=Position") public class PositionMDB implements MessageListener { ************** The topic declaration: ************** <mbean code="org.jboss.jms.server.destination.TopicService" name="jboss.messaging.destination:service=Topic,name=Position" xmbean-dd="xmdesc/Topic-xmbean.xml"> <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> <depends>jboss.messaging:service=PostOffice</depends> </mbean> ********************** application.xml ***************** <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5"> <display-name>Financial Data Server</display-name> <module> <ejb>FinancialDataServerEJB.jar</ejb> </module> <module> <java>FinancialDataServer.sar</java> </module> </application>
JBoss Bootstrap Environment JBOSS_HOME: /opt/jboss/jboss-5.1.0.GA JAVA: /opt/java/current/bin/java JAVA_OPTS: -Dprogram.name=run.sh -Dcom.sun.management.jmxremote -Dreuters.feed.ssh.enabled=true -Dreuters.feed.testmode=true -Dreuters.feed.enabled=true -Djboss.portal.hostname=https://tarek02:8443 -Djavax.net.ssl.keyStore=/opt/jboss/current/server/us/conf/ssl.keystore -Djavax.net.ssl.keyStorePassword=jbosspassword -server -ea -verbose:gc -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=1 -XX:SurvivorRatio=16 -XX:CMSInitiatingOccupancyFraction=95 -XX:MaxNewSize=1g -XX:NewSize=1g -XX:PermSize=256m -server -Xms10g -Xmx10g -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Denfusion.webdav.hostname=http://produtility01:18081 -Djava.net.preferIPv4Stack=true CLASSPATH: /opt/jboss/jboss-5.1.0.GA/bin/run.jar:/opt/java/current/lib/tools.jar ========================================================================= Listening for transport dt_socket at address: 8000 10:11:16,032 INFO [ServerImpl] Starting JBoss (Microcontainer)... 10:11:16,033 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634) 10:11:16,033 INFO [ServerImpl] Bootstrap URL: null 10:11:16,033 INFO [ServerImpl] Home Dir: /opt/jboss/jboss-5.1.0.GA 10:11:16,033 INFO [ServerImpl] Home URL: file:/opt/jboss/jboss-5.1.0.GA/ 10:11:16,034 INFO [ServerImpl] Library URL: file:/opt/jboss/jboss-5.1.0.GA/lib/ 10:11:16,034 INFO [ServerImpl] Patch URL: null 10:11:16,034 INFO [ServerImpl] Common Base URL: file:/opt/jboss/jboss-5.1.0.GA/common/ 10:11:16,034 INFO [ServerImpl] Common Library URL: file:/opt/jboss/jboss-5.1.0.GA/common/lib/ 10:11:16,034 INFO [ServerImpl] Server Name: us 10:11:16,034 INFO [ServerImpl] Server Base Dir: /opt/jboss/jboss-5.1.0.GA/server 10:11:16,034 INFO [ServerImpl] Server Base URL: file:/opt/jboss/jboss-5.1.0.GA/server/ 10:11:16,035 INFO [ServerImpl] Server Config URL: file:/opt/jboss/jboss-5.1.0.GA/server/us/conf/ 10:11:16,035 INFO [ServerImpl] Server Home Dir: /opt/jboss/jboss-5.1.0.GA/server/us 10:11:16,035 INFO [ServerImpl] Server Home URL: file:/opt/jboss/jboss-5.1.0.GA/server/us/ 10:11:16,035 INFO [ServerImpl] Server Data Dir: /opt/jboss/jboss-5.1.0.GA/server/us/data 10:11:16,035 INFO [ServerImpl] Server Library URL: file:/opt/jboss/jboss-5.1.0.GA/server/us/lib/ 10:11:16,035 INFO [ServerImpl] Server Log Dir: /opt/jboss/jboss-5.1.0.GA/server/us/log 10:11:16,035 INFO [ServerImpl] Server Native Dir: /opt/jboss/jboss-5.1.0.GA/server/us/tmp/native 10:11:16,035 INFO [ServerImpl] Server Temp Dir: /opt/jboss/jboss-5.1.0.GA/server/us/tmp 10:11:16,035 INFO [ServerImpl] Server Temp Deploy Dir: /opt/jboss/jboss-5.1.0.GA/server/us/tmp/deploy 10:11:16,538 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/opt/jboss/jboss-5.1.0.GA/server/us/conf/bootstrap.xml 10:11:16,989 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache] 10:11:16,991 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]] 10:11:17,227 INFO [CopyMechanism] VFS temp dir: /opt/jboss/jboss-5.1.0.GA/server/us/tmp 10:11:17,241 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. 10:11:18,359 INFO [ServerInfo] Java version: 1.6.0_14,Sun Microsystems Inc. 10:11:18,360 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_14-b08) 10:11:18,360 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 14.0-b16,Sun Microsystems Inc. 10:11:18,360 INFO [ServerInfo] OS-System: Linux 2.6.28-11-generic,amd64 10:11:18,360 INFO [ServerInfo] VM arguments: -Dprogram.name=run.sh -Dcom.sun.management.jmxremote -Dreuters.feed.ssh.enabled=true -Dreuters.feed.testmode=true -Dreuters.feed.enabled=true -Djboss.portal.hostname=https://tarek02:8443 -Djavax.net.ssl.keyStore=/opt/jboss/current/server/us/conf/ssl.keystore -Djavax.net.ssl.keyStorePassword=jbosspassword -ea -verbose:gc -XX:+PrintGCDetails -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=1 -XX:SurvivorRatio=16 -XX:CMSInitiatingOccupancyFraction=95 -XX:MaxNewSize=1g -XX:NewSize=1g -XX:PermSize=256m -Xms10g -Xmx10g -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Denfusion.webdav.hostname=http://produtility01:18081 -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/jboss/jboss-5.1.0.GA/lib/endorsed 10:11:18,396 INFO [JMXKernel] Legacy JMX core initialized 10:11:20,213 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey@6e677ea2[domain=default, server=default, name=us] 10:11:21,790 INFO [WebService] Using RMI server codebase: http://tarek02:8083/ [Full GC (System) [CMS: 0K->54180K(9437184K), 0.7557760 secs] 540619K->54180K(10427520K), [CMS Perm : 27644K->27592K(262144K)], 0.7560910 secs] [Times: user=0.48 sys=0.14, real=0.75 secs] 10:11:28,027 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core 10:11:28,027 INFO [NativeServerConfig] 3.1.2.GA 10:11:28,572 INFO [AttributeCallbackItem] Owner callback not implemented. 10:11:29,552 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@2850a492[ defaultDomain='jboss' ] [GC [ParNew: 932096K->58239K(990336K), 0.2900530 secs] 986276K->121194K(10427520K), 0.2901180 secs] [Times: user=0.23 sys=0.01, real=0.29 secs] [GC [ParNew: 990335K->58240K(990336K), 0.7065430 secs] 1053290K->223265K(10427520K), 0.7066080 secs] [Times: user=0.50 sys=0.09, real=0.71 secs] 10:11:42,609 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@793498833{vfsfile:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/profileservice-secured.jar/} 10:11:42,621 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@793498833{vfsfile:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/profileservice-secured.jar/} 10:11:42,621 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@793498833{vfsfile:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/profileservice-secured.jar/} 10:11:42,621 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@793498833{vfsfile:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/profileservice-secured.jar/} 10:11:42,624 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@2083280912{vfszip:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/FinancialDataServer.ear/FinancialDataServerEJB.jar/} 10:11:42,624 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@2083280912{vfszip:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/FinancialDataServer.ear/FinancialDataServerEJB.jar/} [GC [ParNew: 990336K->58240K(990336K), 0.4668170 secs] 1155361K->327419K(10427520K), 0.4669270 secs] [Times: user=0.36 sys=0.03, real=0.46 secs] 10:11:44,664 INFO [CorbaNamingService] CORBA Naming Started 10:11:46,910 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://tarek02/jndi/rmi://tarek02:1090/jmxconnector 10:11:47,175 INFO [MailService] Mail Service bound to java:/Mail 10:11:47,773 INFO [SnmpAgentService] SNMP agent going active [GC [ParNew: 990336K->58240K(990336K), 0.2686930 secs] 1259515K->346689K(10427520K), 0.2687770 secs] [Times: user=0.22 sys=0.01, real=0.27 secs] 10:11:50,371 INFO [DefaultPartition] Initializing partition DefaultPartition 10:11:50,543 INFO [PlatformMBeanServerRegistration] JBossCache MBeans were successfully registered to the platform mbean server. 10:11:50,573 INFO [STDOUT] --------------------------------------------------------- GMS: address is 127.0.0.1:60416 (cluster=DefaultPartition) --------------------------------------------------------- 10:11:50,605 INFO [STDOUT] --------------------------------------------------------- GMS: address is 127.0.0.1:60416 (cluster=DefaultPartition-HAPartitionCache) --------------------------------------------------------- 10:11:52,685 INFO [RPCManagerImpl] Received new cluster view: [127.0.0.1:60416|0] [127.0.0.1:60416] 10:11:52,705 INFO [RPCManagerImpl] Cache local address is 127.0.0.1:60416 10:11:52,705 INFO [DefaultPartition] Number of cluster members: 1 10:11:52,712 INFO [DefaultPartition] Other members: 0 10:11:52,717 INFO [RPCManagerImpl] state was retrieved successfully (in 2.11 seconds) 10:11:52,750 INFO [ComponentRegistry] JBoss Cache version: JBossCache 'Cascabel' 3.1.0.GA 10:11:52,751 INFO [DefaultPartition] Fetching serviceState (will wait for 30000 milliseconds): 10:11:52,753 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) 10:11:52,853 INFO [HANamingService] Started HAJNDI bootstrap; jnpPort=1100, backlog=50, bindAddress=tarek02/127.0.0.1 10:11:52,870 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on /127.0.0.1:1102, group=228.1.2.20, HA-JNDI address=127.0.0.1:1100 10:11:53,631 INFO [UnifiedInvokerHA] Service name is jboss:service=invoker,type=unifiedha 10:11:54,396 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. 10:11:54,424 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent 10:11:54,551 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent 10:11:54,614 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc. 10:11:54,615 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 10:11:54,785 INFO [TransactionManagerService] Initializing recovery manager 10:11:54,959 INFO [TransactionManagerService] Recovery manager configured 10:11:54,959 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 10:11:54,992 INFO [TransactionManagerService] Starting transaction recovery manager 10:11:55,452 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/java/jdk1.6.0_14/jre/lib/amd64/server:/opt/java/jdk1.6.0_14/jre/lib/amd64:/opt/java/jdk1.6.0_14/jre/../lib/amd64:/opt/fincad/current/lib:/opt/yjp/bin/linux-x86-32/:/usr/java/packages/lib/amd64:/lib:/usr/lib 10:11:55,508 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-tarek02%2F127.0.0.1-8080 10:11:55,508 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-tarek02%2F127.0.0.1-8009 10:11:55,532 INFO [StandardService] Starting service jboss.web 10:11:55,534 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA 10:11:55,603 INFO [Catalina] Server startup in 94 ms 10:11:55,629 INFO [TomcatDeployment] deploy, ctxPath=/jbossws 10:11:56,390 INFO [TomcatDeployment] deploy, ctxPath=/web-console 10:11:56,682 INFO [TomcatDeployment] deploy, ctxPath=/juddi 10:11:56,719 INFO [RegistryServlet] Loading jUDDI configuration. 10:11:56,720 INFO [RegistryServlet] Resources loaded from: /WEB-INF/juddi.properties 10:11:56,720 INFO [RegistryServlet] Initializing jUDDI components. 10:11:56,875 INFO [TomcatDeployment] deploy, ctxPath=/invoker 10:11:57,716 INFO [RARDeployment] Required license terms exist, view vfsfile:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/activemq-ra.rar/META-INF/ra.xml 10:11:57,777 WARN [ActiveMQResourceAdapter] Could not start up embeded ActiveMQ Broker 'xbean:broker-config.xml': Could not load xbean factory:java.lang.NoClassDefFoundError: org/springframework/core/io/FileSystemResource 10:11:57,792 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/jboss-local-jdbc.rar/META-INF/ra.xml 10:11:57,803 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 10:11:57,820 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/jms-ra.rar/META-INF/ra.xml 10:11:57,834 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/mail-ra.rar/META-INF/ra.xml 10:11:57,852 INFO [RARDeployment] Required license terms exist, view vfszip:/opt/jboss/jboss-5.1.0.GA/server/us/deploy/quartz-ra.rar/META-INF/ra.xml 10:11:57,942 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 10:11:57,972 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 10:11:57,980 INFO [RAMJobStore] RAMJobStore initialized. 10:11:57,980 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 10:11:57,980 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 10:11:57,980 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 10:11:58,088 INFO [AdminObject] Bound admin object 'org.apache.activemq.command.ActiveMQQueue' at 'activemq/queue/outbound' 10:11:58,100 INFO [AdminObject] Bound admin object 'org.apache.activemq.command.ActiveMQTopic' at 'activemq/topic/inbound' 10:11:58,189 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=activemq/QueueConnectionFactory' to JNDI name 'activemq/QueueConnectionFactory' 10:11:58,229 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=activemq/TopicConnectionFactory' to JNDI name 'activemq/TopicConnectionFactory' 10:11:58,711 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 10:11:59,227 INFO [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started 10:11:59,404 INFO [STDOUT] --------------------------------------------------------- GMS: address is 127.0.0.1:60416 (cluster=MessagingPostOffice-CTRL) --------------------------------------------------------- 10:12:01,415 INFO [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener@40bff39d got new view [127.0.0.1:60416|0] [127.0.0.1:60416], old view is null 10:12:01,415 INFO [GroupMember] I am (127.0.0.1:60416) 10:12:01,416 INFO [GroupMember] New Members : 1 ([127.0.0.1:60416]) 10:12:01,416 INFO [GroupMember] All Members : 1 ([127.0.0.1:60416]) 10:12:01,424 INFO [STDOUT] --------------------------------------------------------- GMS: address is 127.0.0.1:7900 (cluster=MessagingPostOffice-DATA) --------------------------------------------------------- 10:12:06,498 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000 10:12:06,640 INFO [ConnectionFactory] Connector bisocket://tarek02:4457 has leasing enabled, lease period 10000 milliseconds 10:12:06,641 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@c3ab12e started 10:12:06,963 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. 10:12:07,526 INFO [ConnectionFactory] Connector bisocket://tarek02:4457 has leasing enabled, lease period 10000 milliseconds 10:12:07,526 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@5c8155f2 started 10:12:07,528 INFO [ConnectionFactory] Connector bisocket://tarek02:4457 has leasing enabled, lease period 10000 milliseconds 10:12:07,528 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@73c68e8c started 10:12:07,530 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000 10:12:07,664 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 10:12:07,723 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=FinancialDataServerDS' to JNDI name 'java:FinancialDataServerDS' [GC [ParNew: 990336K->58240K(990336K), 0.5931700 secs] 1278785K->434785K(10427520K), 0.5934260 secs] [Times: user=0.43 sys=0.06, real=0.59 secs] 10:12:08,838 INFO [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar 10:12:08,842 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3 10:12:08,842 INFO [JBossASKernel] with dependencies: 10:12:08,842 INFO [JBossASKernel] and demands: 10:12:08,843 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView 10:12:08,843 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:08,843 INFO [JBossASKernel] and supplies: 10:12:08,843 INFO [JBossASKernel] Class:org.jboss.profileservice.spi.ProfileService 10:12:08,843 INFO [JBossASKernel] jndi:SecureProfileService/remote 10:12:08,843 INFO [JBossASKernel] jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService 10:12:08,843 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar 10:12:08,845 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3 10:12:08,845 INFO [JBossASKernel] with dependencies: 10:12:08,845 INFO [JBossASKernel] and demands: 10:12:08,845 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:08,845 INFO [JBossASKernel] and supplies: 10:12:08,845 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager 10:12:08,845 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.deploy.DeploymentManager 10:12:08,845 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote 10:12:08,845 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar 10:12:08,846 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3 10:12:08,846 INFO [JBossASKernel] with dependencies: 10:12:08,846 INFO [JBossASKernel] and demands: 10:12:08,846 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:08,847 INFO [JBossASKernel] and supplies: 10:12:08,847 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView 10:12:08,847 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.ManagementView 10:12:08,847 INFO [JBossASKernel] jndi:SecureManagementView/remote 10:12:08,847 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar 10:12:08,855 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@421a1abb{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 10:12:08,856 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@35a56d77{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 10:12:08,856 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@741179fc{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} 10:12:08,969 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3 10:12:08,989 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager 10:12:09,064 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface 10:12:09,136 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3 10:12:09,137 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView 10:12:09,152 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: SecureManagementView/remote - EJB3.x Default Remote Business Interface SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface 10:12:09,209 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3 10:12:09,211 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService 10:12:09,225 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: SecureProfileService/remote - EJB3.x Default Remote Business Interface SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface 10:12:09,382 INFO [TomcatDeployment] deploy, ctxPath=/admin-console Aug 27, 2009 10:12:09 AM com.sun.faces.config.ConfigureListener contextInitialized INFO: Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console' 10:12:09,476 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console' 10:12:11,282 INFO [TomcatDeployment] deploy, ctxPath=/ 10:12:11,328 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console [GC [ParNew: 990336K->58239K(990336K), 0.5140970 secs] 1366881K->534599K(10427520K), 0.5142300 secs] [Times: user=0.45 sys=0.07, real=0.51 secs] 10:12:15,593 INFO [JBossASKernel] Created KernelDeployment for: FinancialDataServerEJB.jar 10:12:15,593 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASImagineServiceBean,service=EJB3 10:12:15,593 INFO [JBossASKernel] with dependencies: 10:12:15,593 INFO [JBossASKernel] and demands: 10:12:15,594 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,594 INFO [JBossASKernel] and supplies: 10:12:15,594 INFO [JBossASKernel] jndi:FinancialDataServer/FASImagineServiceBean/remote 10:12:15,594 INFO [JBossASKernel] jndi:FinancialDataServer/FASImagineServiceBean/local-com.enfusion.custom.aim.fas.service.proximity.FASImagineServiceLocal 10:12:15,594 INFO [JBossASKernel] jndi:FinancialDataServer/FASImagineServiceBean/local 10:12:15,594 INFO [JBossASKernel] jndi:FinancialDataServer/FASImagineServiceBean/remote-com.enfusion.custom.aim.fas.service.proximity.FASImagineServiceRemote 10:12:15,594 INFO [JBossASKernel] Class:com.enfusion.custom.aim.fas.service.proximity.FASImagineServiceRemote 10:12:15,594 INFO [JBossASKernel] Class:com.enfusion.custom.aim.fas.service.proximity.FASImagineServiceLocal 10:12:15,594 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASImagineServiceBean,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,595 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=PositionMDB,service=EJB3 10:12:15,596 INFO [JBossASKernel] with dependencies: 10:12:15,596 INFO [JBossASKernel] and demands: 10:12:15,596 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,596 INFO [JBossASKernel] and supplies: 10:12:15,596 INFO [JBossASKernel] jndi:null 10:12:15,596 INFO [JBossASKernel] Class:javax.jms.MessageListener 10:12:15,596 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=PositionMDB,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,597 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASAuthentationServiceBean,service=EJB3 10:12:15,597 INFO [JBossASKernel] with dependencies: 10:12:15,597 INFO [JBossASKernel] and demands: 10:12:15,597 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,598 INFO [JBossASKernel] persistence.unit:unitName=FinancialDataServer.ear/FinancialDataServerEJB.jar#FinancialDataServer 10:12:15,598 INFO [JBossASKernel] and supplies: 10:12:15,598 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASAuthenticationServiceLocal 10:12:15,598 INFO [JBossASKernel] jndi:FinancialDataServer/FASAuthentationServiceBean/local 10:12:15,598 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASAuthenticationServiceRemote 10:12:15,598 INFO [JBossASKernel] jndi:FinancialDataServer/FASAuthentationServiceBean/remote-com.enfusion.fas.service.proximity.FASAuthenticationServiceRemote 10:12:15,598 INFO [JBossASKernel] jndi:FinancialDataServer/FASAuthentationServiceBean/remote 10:12:15,598 INFO [JBossASKernel] jndi:FinancialDataServer/FASAuthentationServiceBean/local-com.enfusion.fas.service.proximity.FASAuthenticationServiceLocal 10:12:15,598 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASAuthentationServiceBean,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,599 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASBootstrapServiceBean,service=EJB3 10:12:15,599 INFO [JBossASKernel] with dependencies: 10:12:15,599 INFO [JBossASKernel] and demands: 10:12:15,599 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,600 INFO [JBossASKernel] persistence.unit:unitName=FinancialDataServer.ear/FinancialDataServerEJB.jar#FinancialDataServer 10:12:15,600 INFO [JBossASKernel] and supplies: 10:12:15,600 INFO [JBossASKernel] Class:com.enfusion.fas.service.FASBootstrapService 10:12:15,600 INFO [JBossASKernel] jndi:FinancialDataServer/FASBootstrapServiceBean/remote 10:12:15,600 INFO [JBossASKernel] jndi:FinancialDataServer/FASBootstrapServiceBean/remote-com.enfusion.fas.service.FASBootstrapService 10:12:15,600 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASBootstrapServiceBean,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,601 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASCorporateActionServiceBean,service=EJB3 10:12:15,601 INFO [JBossASKernel] with dependencies: 10:12:15,601 INFO [JBossASKernel] and demands: 10:12:15,601 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,601 INFO [JBossASKernel] persistence.unit:unitName=FinancialDataServer.ear/FinancialDataServerEJB.jar#FinancialDataServer 10:12:15,601 INFO [JBossASKernel] and supplies: 10:12:15,601 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASCorporateActionServiceRemote 10:12:15,602 INFO [JBossASKernel] jndi:FinancialDataServer/FASCorporateActionServiceBean/local 10:12:15,602 INFO [JBossASKernel] jndi:FinancialDataServer/FASCorporateActionServiceBean/remote 10:12:15,602 INFO [JBossASKernel] jndi:FinancialDataServer/FASCorporateActionServiceBean/local-com.enfusion.fas.service.proximity.FASCorporateActionServiceLocal 10:12:15,602 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASCorporateActionServiceLocal 10:12:15,602 INFO [JBossASKernel] jndi:FinancialDataServer/FASCorporateActionServiceBean/remote-com.enfusion.fas.service.proximity.FASCorporateActionServiceRemote 10:12:15,602 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASCorporateActionServiceBean,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,603 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASDefaultServiceBean,service=EJB3 10:12:15,603 INFO [JBossASKernel] with dependencies: 10:12:15,603 INFO [JBossASKernel] and demands: 10:12:15,603 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,603 INFO [JBossASKernel] persistence.unit:unitName=FinancialDataServer.ear/FinancialDataServerEJB.jar#FinancialDataServer 10:12:15,603 INFO [JBossASKernel] and supplies: 10:12:15,604 INFO [JBossASKernel] jndi:FinancialDataServer/FASDefaultServiceBean/local-com.enfusion.fas.service.proximity.FASDefaultServiceLocal 10:12:15,604 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASDefaultServiceLocal 10:12:15,604 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASDefaultServiceRemote 10:12:15,604 INFO [JBossASKernel] jndi:FinancialDataServer/FASDefaultServiceBean/local 10:12:15,604 INFO [JBossASKernel] jndi:FinancialDataServer/FASDefaultServiceBean/remote-com.enfusion.fas.service.proximity.FASDefaultServiceRemote 10:12:15,604 INFO [JBossASKernel] jndi:FinancialDataServer/FASDefaultServiceBean/remote 10:12:15,604 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASDefaultServiceBean,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,605 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASDocumentServiceBean,service=EJB3 10:12:15,605 INFO [JBossASKernel] with dependencies: 10:12:15,605 INFO [JBossASKernel] and demands: 10:12:15,605 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,605 INFO [JBossASKernel] and supplies: 10:12:15,605 INFO [JBossASKernel] jndi:FinancialDataServer/FASDocumentServiceBean/remote-com.enfusion.fas.service.proximity.FASDocumentServiceRemote 10:12:15,606 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASDocumentServiceLocal 10:12:15,606 INFO [JBossASKernel] jndi:FinancialDataServer/FASDocumentServiceBean/local-com.enfusion.fas.service.proximity.FASDocumentServiceLocal 10:12:15,606 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASDocumentServiceRemote 10:12:15,606 INFO [JBossASKernel] jndi:FinancialDataServer/FASDocumentServiceBean/local 10:12:15,606 INFO [JBossASKernel] jndi:FinancialDataServer/FASDocumentServiceBean/remote 10:12:15,606 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASDocumentServiceBean,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,607 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASFundServiceBean,service=EJB3 10:12:15,607 INFO [JBossASKernel] with dependencies: 10:12:15,607 INFO [JBossASKernel] and demands: 10:12:15,607 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,607 INFO [JBossASKernel] persistence.unit:unitName=FinancialDataServer.ear/FinancialDataServerEJB.jar#FinancialDataServer 10:12:15,607 INFO [JBossASKernel] and supplies: 10:12:15,607 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASFundServiceRemote 10:12:15,607 INFO [JBossASKernel] jndi:FinancialDataServer/FASFundServiceBean/remote 10:12:15,608 INFO [JBossASKernel] jndi:FinancialDataServer/FASFundServiceBean/remote-com.enfusion.fas.service.proximity.FASFundServiceRemote 10:12:15,608 INFO [JBossASKernel] jndi:FinancialDataServer/FASFundServiceBean/local-com.enfusion.fas.service.proximity.FASFundServiceLocal 10:12:15,608 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASFundServiceLocal 10:12:15,608 INFO [JBossASKernel] jndi:FinancialDataServer/FASFundServiceBean/local 10:12:15,608 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASFundServiceBean,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,609 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASHolidayServiceBean,service=EJB3 10:12:15,609 INFO [JBossASKernel] with dependencies: 10:12:15,609 INFO [JBossASKernel] and demands: 10:12:15,609 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,609 INFO [JBossASKernel] persistence.unit:unitName=FinancialDataServer.ear/FinancialDataServerEJB.jar#FinancialDataServer 10:12:15,609 INFO [JBossASKernel] and supplies: 10:12:15,609 INFO [JBossASKernel] jndi:FinancialDataServer/FASHolidayServiceBean/local 10:12:15,609 INFO [JBossASKernel] jndi:FinancialDataServer/FASHolidayServiceBean/remote 10:12:15,610 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASHolidayServiceLocal 10:12:15,610 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASHolidayServiceRemote 10:12:15,610 INFO [JBossASKernel] jndi:FinancialDataServer/FASHolidayServiceBean/remote-com.enfusion.fas.service.proximity.FASHolidayServiceRemote 10:12:15,610 INFO [JBossASKernel] jndi:FinancialDataServer/FASHolidayServiceBean/local-com.enfusion.fas.service.proximity.FASHolidayServiceLocal 10:12:15,610 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASHolidayServiceBean,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,611 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASInstrumentServiceBean,service=EJB3 10:12:15,611 INFO [JBossASKernel] with dependencies: 10:12:15,611 INFO [JBossASKernel] and demands: 10:12:15,611 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,611 INFO [JBossASKernel] persistence.unit:unitName=FinancialDataServer.ear/FinancialDataServerEJB.jar#FinancialDataServer 10:12:15,611 INFO [JBossASKernel] and supplies: 10:12:15,611 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASInstrumentServiceLocal 10:12:15,611 INFO [JBossASKernel] jndi:FinancialDataServer/FASInstrumentServiceBean/local-com.enfusion.fas.service.proximity.FASInstrumentServiceLocal 10:12:15,612 INFO [JBossASKernel] jndi:FinancialDataServer/FASInstrumentServiceBean/remote-com.enfusion.fas.service.proximity.FASInstrumentServiceRemote 10:12:15,612 INFO [JBossASKernel] jndi:FinancialDataServer/FASInstrumentServiceBean/local 10:12:15,612 INFO [JBossASKernel] jndi:FinancialDataServer/FASInstrumentServiceBean/remote 10:12:15,612 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASInstrumentServiceRemote 10:12:15,612 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASInstrumentServiceBean,service=EJB3) to KernelDeployment of: FinancialDataServerEJB.jar 10:12:15,613 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=FinancialDataServer.ear,jar=FinancialDataServerEJB.jar,name=FASLegalEntityServiceBean,service=EJB3 10:12:15,613 INFO [JBossASKernel] with dependencies: 10:12:15,613 INFO [JBossASKernel] and demands: 10:12:15,613 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService 10:12:15,613 INFO [JBossASKernel] persistence.unit:unitName=FinancialDataServer.ear/FinancialDataServerEJB.jar#FinancialDataServer 10:12:15,613 INFO [JBossASKernel] and supplies: 10:12:15,613 INFO [JBossASKernel] jndi:FinancialDataServer/FASLegalEntityServiceBean/local 10:12:15,613 INFO [JBossASKernel] Class:com.enfusion.fas.service.proximity.FASLegalEntityServiceLocal 10:12:15,614 INFO [JBossASKernel] jndi:FinancialDataServer/FASLegalEntityServiceBean/remote 10:12:15,614 INFO [JBossASKernel] jndi:FinancialDataServer/FASLegalEntityServiceBean/local-com.enfusion.fas.service.proximity.FASLegalEntityServiceLocal 10:12:15,614 INFO [JBossASKernel] jndi:FinancialDataServer/FASLegalEntityServiceBea
-
17. Re: MDB Topic/Queue definitions and deployment order
thammoud Aug 27, 2009 11:26 AM (in response to thammoud)Truncated for some reason but here is the error.
10:12:16,603 WARN [JmsActivation] Failure in jms activation org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@6b2f5f60(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@8aff120 destination=topic/Position destinationType=javax.jms.Topic tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5) javax.naming.NameNotFoundException: Position not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) at org.jnp.server.NamingServer.getObject(NamingServer.java:785) at org.jnp.server.NamingServer.lookup(NamingServer.java:443) at org.jnp.server.NamingServer.lookup(NamingServer.java:399) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.jboss.util.naming.Util.lookup(Util.java:222) at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:464) at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:352) at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:729) at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205) at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
-
18. Re: MDB Topic/Queue definitions and deployment order
jaikiran Aug 27, 2009 11:44 AM (in response to thammoud)import org.jboss.annotation.ejb.Depends;
import org.jboss.annotation.ejb.PoolClass;
In AS-5 these have been moved to org.jboss.ejb3.annotation.* as shown here:
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/docs/tutorial/mdb/src/org/jboss/tutorial/mdb/bean/ExampleMDB.java
So it should be:import org.jboss.ejb3.annotation.Depends; import org.jboss.ejb3.annotation.Pool;
For the @Pool configurations see this http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/reference/1.0.7/html/SessionBean_and_MDB_configuration.html -
19. Re: MDB Topic/Queue definitions and deployment order
thammoud Aug 27, 2009 12:14 PM (in response to thammoud)I was using a 4.x ear. I guess I will need to recompile. Will get back to you.
-
20. Re: MDB Topic/Queue definitions and deployment order
jaikiran Aug 27, 2009 12:16 PM (in response to thammoud)By the way, do not include jboss specific jar files in your application packaging.
-
21. Re: MDB Topic/Queue definitions and deployment order
thammoud Aug 27, 2009 3:48 PM (in response to thammoud)Ok. It now works. :) Thanks for all your help.