[jboss-user] [EJB 3.0] - Re: How to inject sessionbean from sessionbean from another

j-n00b do-not-reply at jboss.com
Tue Jan 27 05:34:34 EST 2009


Sure. I hope, this is everything you need:

anonymous wrote : 11:32:01,640 INFO  [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
  | 11:32:01,812 INFO  [STDOUT]
  | -------------------------------------------------------
  | GMS: address is 192.168.22.42:2527
  | -------------------------------------------------------
  | 11:32:03,828 INFO  [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener at 4d98da got new view [192.168.22
  | 11:32:03,828 INFO  [GroupMember] I am (192.168.22.42:2527)
  | 11:32:03,828 INFO  [GroupMember] New Members : 1 ([192.168.22.42:2527])
  | 11:32:03,828 INFO  [GroupMember] All Members : 1 ([192.168.22.42:2527])
  | 11:32:03,828 INFO  [STDOUT]
  | -------------------------------------------------------
  | GMS: address is 192.168.22.42:7900
  | -------------------------------------------------------
  | 11:32:08,890 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
  | 11:32:08,968 INFO  [ConnectionFactory] Connector bisocket://fup-dd-ap-12:4457 has leasing enabled, lease period 10000 milliseconds
  | 11:32:08,968 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 13c7b26 started
  | 11:32:09,000 INFO  [ConnectionFactory] Connector bisocket://fup-dd-ap-12:4457 has leasing enabled, lease period 10000 milliseconds
  | 11:32:09,000 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 10eb73 started
  | 11:32:09,015 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
  | 11:32:09,312 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which
  | 11:32:09,718 INFO  [ConnectionFactory] Connector bisocket://fup-dd-ap-12:4457 has leasing enabled, lease period 10000 milliseconds
  | 11:32:09,718 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 1219df4 started
  | 11:32:09,718 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI na
  | 11:32:09,765 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
  | 11:32:09,812 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
  | 11:32:10,140 INFO  [JBossASKernel] Created KernelDeployment for: SubEJB.jar
  | 11:32:10,156 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=SubEJB.jar,name=CalculatorBean,service=EJB3
  | 11:32:10,156 INFO  [JBossASKernel]   with dependencies:
  | 11:32:10,156 INFO  [JBossASKernel]   and demands:
  | 11:32:10,156 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
  | 11:32:10,156 INFO  [JBossASKernel]   and supplies:
  | 11:32:10,156 INFO  [JBossASKernel]      jndi:AECalculator
  | 11:32:10,156 INFO  [JBossASKernel]      jndi:CalculatorBean/remote-ae.Calculator
  | 11:32:10,156 INFO  [JBossASKernel]      Class:ae.Calculator
  | 11:32:10,156 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=SubEJB.jar,name=CalculatorBean,service=EJB3) to KernelDeployment of: SubEJB.jar
  | 11:32:10,265 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=SubEJB.jar,name=CalculatorBean,service=EJB3
  | 11:32:10,265 INFO  [EJBContainer] STARTED EJB: ae.CalculatorBean ejbName: CalculatorBean
  | 11:32:10,312 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
  | 
  |         AECalculator - EJB3.x Default Remote Business Interface
  |         CalculatorBean/remote-ae.Calculator - EJB3.x Remote Business Interface
  | 
  | 11:32:10,343 ERROR [Master] ### unable to inject CalculatorBean!!!
  | 11:32:10,390 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
  | 11:32:10,406 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
  | 11:32:10,406 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 45s:63ms
  | 

Thanks for your help!
Andre

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4204931#4204931

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4204931



More information about the jboss-user mailing list