geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From avin98 <avi...@yahoo.com>
Subject MDB example
Date Thu, 29 Jun 2006 17:52:42 GMT

Hello,

Can anyone post an example of an MDB which posts messages to a specific
queue that has been configured using the admin console.

Basically I have done the following to configure my own queue in Geronimo.

<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.0"
configId="MyJMSResources" parentId="geronimo/activemq-broker/1.0/car">
<resourceadapter>
	<!--	how	to connect to the JMS Server -->
	<resourceadapter-instance>
		<resourceadapter-name>MyJMSResources</resourceadapter-name>
		<config-property-setting
name="ServerUrl">tcp://localhost:61616</config-property-setting>
		<config-property-setting name="UserName">not
needed</config-property-setting>
		<config-property-setting name="Password">not
needed</config-property-setting>
		<workmanager>
			<gbean-link>DefaultWorkManager</gbean-link>
		</workmanager>
	</resourceadapter-instance>
	<!-- defines a ConnectionFactory -->
	<outbound-resourceadapter>
		<connection-definition>
		
<connectionfactory-interface>javax.jms.ConnectionFactory</connectionfactory-interface>
			<connectiondefinition-instance>
				<name>MyConnectionFactory</name>
			
<implemented-interface>javax.jms.QueueConnectionFactory</implemented-interface>
			
<implemented-interface>javax.jms.TopicConnectionFactory</implemented-interface>
				<connectionmanager>
					<xa-transaction>
						<transaction-caching/>
					</xa-transaction>
					<single-pool>
						<max-size>10</max-size>
						<min-size>0</min-size>
						<blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
						<idle-timeout-minutes>0</idle-timeout-minutes>
						<match-one/>
					</single-pool>
				</connectionmanager>
			</connectiondefinition-instance>
		</connection-definition>
	</outbound-resourceadapter>
</resourceadapter>
<!-- defines	a Topic	-->
<adminobject>
	<adminobject-interface>javax.jms.Topic</adminobject-interface>
	<adminobject-class>org.activemq.message.ActiveMQTopic</adminobject-class>
	<adminobject-instance>
		<message-destination-name>MyTopic</message-destination-name>
		<config-property-setting
name="PhysicalName">MyTopic</config-property-setting>
	</adminobject-instance>
</adminobject>

<!--	defines	a Queue	-->
<adminobject>
	<adminobject-interface>javax.jms.Queue</adminobject-interface>
	<adminobject-class>org.activemq.message.ActiveMQQueue</adminobject-class>
	<adminobject-instance>
		<message-destination-name>MyQueue</message-destination-name>
		<config-property-setting
name="PhysicalName">MyQueue</config-property-setting>
	</adminobject-instance>
</adminobject>
<!--	defines	a Queue	-->
<adminobject>
	<adminobject-interface>javax.jms.Queue</adminobject-interface>
	<adminobject-class>org.activemq.message.ActiveMQQueue</adminobject-class>
	<adminobject-instance>
		<message-destination-name>SendReceiveQueue</message-destination-name>
		<config-property-setting
name="PhysicalName">SendReceiveQueue</config-property-setting>
	</adminobject-instance>
</adminobject>
<!--	defines	a Queue	-->
<adminobject>
	<adminobject-interface>javax.jms.Queue</adminobject-interface>
	<adminobject-class>org.activemq.message.ActiveMQQueue</adminobject-class>
	<adminobject-instance>
		<message-destination-name>TESTJMS1-QUEUE</message-destination-name>
		<config-property-setting
name="PhysicalName">TESTJMS1-QUEUE</config-property-setting>
	</adminobject-instance>
</adminobject>
</connector>




Deployed the above xml ....

2. Deploy the plan along with ActiveMQ rar as follows.

java -jar deployer.jar --user system --password manager deploy
C:\jms\sample.xml 
 %WASCE_HOME%\repository\activemq\rars\activemq-ra-3.2.2.ibm.rar


Verified that the queues have been created in the admin panel.

Now however I am not sure how do I refer to these queues in my MDB.

My openejb-jar.xml is defined as

-----------------------

<openejb-jar
    xmlns="http://www.openejb.org/xml/ns/openejb-jar"
    xmlns:naming="http://geronimo.apache.org/xml/ns/naming"
    xmlns:security="http://geronimo.apache.org/xml/ns/security"
    xmlns:sys="http://geronimo.apache.org/xml/ns/deployment"
    configId="MDBDemo" parentId="geronimo/activemq/1.0/car">
 <enterprise-beans>
 	<message-driven>
        <ejb-name>SampleMDB</ejb-name>
       <!--  <resource-adapter>
        
<target-name>geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=geronimo/activemq/1.0/car,j2eeType=JCAResourceAdapter,name=ActiveMQ
RA</target-name>
        </resource-adapter>  --> 
		<resource-adapter>
             <resource-link>MyJMSResources</resource-link>
        </resource-adapter>
        <activation-config>
        	<activation-config-property>
        	
<activation-config-property-name>destination</activation-config-property-name>
        	
<activation-config-property-value>SendReceiveQueue</activation-config-property-value>
       		
        	</activation-config-property>
        	<activation-config-property>
        	
<activation-config-property-name>destinationType</activation-config-property-name>
        	
<activation-config-property-value>javax.jms.Queue</activation-config-property-value>
       		
        	</activation-config-property>
        </activation-config>
        <ejb-ref>
            <ref-name>CustomerHomeRemote</ref-name>
            <ejb-link>CustomerEJB</ejb-link>
        </ejb-ref>        
   </message-driven>
 	
 	<entity>
        <ejb-name>CustomerEJB</ejb-name>
        <jndi-name>CustomerHomeRemote</jndi-name>
        <local-jndi-name></local-jndi-name>
        <resource-ref>
            <ref-name>jdbc/ibm-demo</ref-name>
            <resource-link>SystemDatasource</resource-link>
        </resource-ref>
    </entity>
    
 </enterprise-beans>
    
</openejb-jar>

-----------------------

My ejb-jar.xml is defined as follows:

-------------------------

<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
	<display-name>MDB</display-name>
	<enterprise-beans>	
	
		<entity>
			<description>This bean represents customer</description>
  			<ejb-name>CustomerEJB</ejb-name>
  			<home>com.ibm.demo.entity.bmp.CustomerHomeRemote</home>
  			<remote>com.ibm.demo.entity.bmp.CustomerRemote</remote>
			<ejb-class>com.ibm.demo.entity.bmp.CustomerBean</ejb-class>
			<persistence-type>Bean</persistence-type>
			<prim-key-class>java.lang.Integer</prim-key-class>
			<reentrant>false</reentrant>
            <primkey-field>primaryKey</primkey-field>
			<resource-ref>
       			<description>DataSource for Demo Database</description>
       			<res-ref-name>jdbc/ibm-demo</res-ref-name>
       			<res-type>javax.sql.DataSource</res-type>
       			<res-auth>Container</res-auth>
  			</resource-ref>
	  	</entity>
	  	
		<message-driven>
			<display-name>SampleMDB</display-name>
			<ejb-name>SampleMDB</ejb-name>
			<ejb-class>com.ibm.demo.mdb.ejb.SampleMDB</ejb-class>
			<messaging-type>javax.jms.MessageListener</messaging-type>
			<transaction-type>Container</transaction-type>
			<message-destination-type>javax.jms.Queue</message-destination-type>
			<message-destination-link>SendReceiveQueue</message-destination-link>
			<ejb-ref>
				<ejb-ref-name>CustomerHomeRemote</ejb-ref-name>  
				<ejb-ref-type>Entity</ejb-ref-type>
				<home>com.ibm.demo.entity.bmp.CustomerHomeRemote</home>
				<remote>com.ibm.demo.entity.bmp.CustomerRemote</remote>
			</ejb-ref>
		</message-driven>
	</enterprise-beans>	
</ejb-jar>


-------------------------



Error that I get is .....

java.lang.IllegalStateException: ActivationSpec was never registered with
ResourceAdapter
	at
org.apache.geronimo.connector.ActivationSpecWrapper.deactivate(ActivationSpecWrapper.java:112)
	at
org.apache.geronimo.connector.ActivationSpecWrapper$$FastClassByCGLIB$$aaa078c1.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.connector.ActivationSpecWrapper$$EnhancerByCGLIB$$6ec69258.deactivate(<generated>)
	at org.openejb.mdb.MDBContainer.doStop(MDBContainer.java:223)
	at org.openejb.mdb.MDBContainer.doFail(MDBContainer.java:231)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:955)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:520)
	at
org.apache.geronimo.gbean.runtime.GBeanSingleReference.attemptFullStart(GBeanSingleReference.java:154)
	at
org.apache.geronimo.gbean.runtime.GBeanSingleReference.targetAdded(GBeanSingleReference.java:127)
	at
org.apache.geronimo.gbean.runtime.AbstractGBeanReference.addTarget(AbstractGBeanReference.java:242)
	at
org.apache.geronimo.gbean.runtime.GBeanSingleReference$1.running(GBeanSingleReference.java:163)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:155)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:38)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:231)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:350)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
	at
org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
	at
org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
	at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
	at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$b1334717.start(<generated>)
	at
org.apache.geronimo.console.configmanager.DeploymentPortlet.processAction(DeploymentPortlet.java:126)
	at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229)
	at org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:163)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
	at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
	at
org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:68)
	at
org.apache.pluto.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:164)
	at
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction(PortletContainerWrapperImpl.java:82)
	at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
	at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:267)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:52)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:275)
	at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Unknown Source)
10:51:36,519 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state:
objectName="geronimo.server:EJBModule=MDBDemo,J2EEApplication=null,J2EEServer=geronimo,j2eeType=MessageDrivenBean,name=SampleMDB"
ResourceAdapter is not of type: org.activemq.ra.ActiveMQResourceAdapter
	at
org.activemq.ra.ActiveMQActivationSpec.setResourceAdapter(ActiveMQActivationSpec.java:215)
	at
org.apache.geronimo.connector.ResourceAdapterWrapper.registerResourceAdapterAssociation(ResourceAdapterWrapper.java:75)
	at
org.apache.geronimo.connector.ResourceAdapterWrapper$$FastClassByCGLIB$$4ab28e73.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.connector.ResourceAdapterWrapper$$EnhancerByCGLIB$$6d7f111a.registerResourceAdapterAssociation(<generated>)
	at
org.apache.geronimo.connector.ActivationSpecWrapper.activate(ActivationSpecWrapper.java:101)
	at
org.apache.geronimo.connector.ActivationSpecWrapper$$FastClassByCGLIB$$aaa078c1.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.connector.ActivationSpecWrapper$$EnhancerByCGLIB$$6ec69258.activate(<generated>)
	at org.openejb.mdb.MDBContainer.doStart(MDBContainer.java:219)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:936)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:325)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:520)
	at
org.apache.geronimo.gbean.runtime.GBeanSingleReference.attemptFullStart(GBeanSingleReference.java:154)
	at
org.apache.geronimo.gbean.runtime.GBeanSingleReference.targetAdded(GBeanSingleReference.java:127)
	at
org.apache.geronimo.gbean.runtime.AbstractGBeanReference.addTarget(AbstractGBeanReference.java:242)
	at
org.apache.geronimo.gbean.runtime.GBeanSingleReference$1.running(GBeanSingleReference.java:163)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:155)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:38)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:231)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:350)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:110)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:132)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:537)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:208)
	at
org.apache.geronimo.kernel.config.Configuration.startRecursiveGBeans(Configuration.java:315)
	at
org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLIB$$7f4b4a9b.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:173)
	at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start(ConfigurationManagerImpl.java:142)
	at
org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$FastClassByCGLIB$$fbed85d2.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at
org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:118)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:800)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at
org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:36)
	at
org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at
org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$b1334717.start(<generated>)
	at
org.apache.geronimo.console.configmanager.DeploymentPortlet.processAction(DeploymentPortlet.java:126)
	at org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229)
	at org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:163)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
	at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
	at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
	at
org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:120)
	at
org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvokerImpl.java:68)
	at
org.apache.pluto.PortletContainerImpl.processPortletAction(PortletContainerImpl.java:164)
	at
org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processPortletAction(PortletContainerWrapperImpl.java:82)
	at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
	at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:267)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
	at
org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:52)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
	at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:275)
	at
org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
	at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:392)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
	at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
	at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
	at java.lang.Thread.run(Unknown Source)


-- 
View this message in context: http://www.nabble.com/MDB-example-tf1868819.html#a5107255
Sent from the Apache Geronimo - Users forum at Nabble.com.


Mime
View raw message