geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishnakumar B <www....@gmail.com>
Subject Exceptions when deploying a resource adapter
Date Mon, 09 Jan 2006 11:23:03 GMT
hi,

I am trying to deploy a resource adapter. During deployment i get a
lot of exceptions.

Is something basically wrong?

16:51:34,680 ERROR [GBeanInstanceState] Error while starting; GBean is
now in the FAILED state:
objectName="geronimo.server:J2EEApplication=null,J2EEServer=geronimo,JCAResource=jms.rar,j2eeType=JCAResourceAdapter,name=JMSRA"
java.lang.Error: Unresolved compilation problems:
	The import javax.jms cannot be resolved
	The import javax.resource cannot be resolved
	The import javax.resource cannot be resolved
	The import javax.resource cannot be resolved
	The import javax.resource cannot be resolved
	The import javax.resource cannot be resolved
	The import javax.resource cannot be resolved
	The import javax.resource cannot be resolved
	The import javax.resource cannot be resolved
	The import javax.resource cannot be resolved
	ResourceAdapter cannot be resolved or is not a valid superinterface
	BootstrapContext cannot be resolved (or is not a valid type) for the
field JMSAdapter.bootstrapContext
	MessageListener cannot be resolved (or is not a valid type) for the
field JMSAdapter.listener
	WorkManager cannot be resolved (or is not a valid type) for the field
JMSAdapter.workManager
	Work cannot be resolved (or is not a valid type) for the field
JMSAdapter.pollingThread
	BootstrapContext cannot be resolved (or is not a valid type) for the
argument arg0 of the method start
	ResourceAdapterInternalException cannot be resolved (or is not an
exception type) for the method start
	bootstrapContext cannot be resolved or is not a field
	workManager cannot be resolved or is not a field
	bootstrapContext cannot be resolved
	pollingThread cannot be resolved
	workManager cannot be resolved
	workManager cannot be resolved
	pollingThread cannot be resolved
	javax.jms cannot be resolved or is not a type
	javax.jms cannot be resolved or is not a type
	pollingThread cannot be resolved
	MessageEndpointFactory cannot be resolved (or is not a valid type)
for the argument messageEndpointFactory of the method
endpointActivation
	ActivationSpec cannot be resolved (or is not a valid type) for the
argument activationSpec of the method endpointActivation
	ResourceException cannot be resolved (or is not an exception type)
for the method endpointActivation
	pollingThread cannot be resolved
	MessageEndpoint cannot be resolved or is not a type
	MessageEndpointFactory cannot be resolved (or is not a valid type)
for the argument endpointFactory of the method endpointDeactivation
	ActivationSpec cannot be resolved (or is not a valid type) for the
argument acspec of the method endpointDeactivation
	pollingThread cannot be resolved
	ActivationSpec[] cannot be resolved (or is not a valid type) for the
argument arg0 of the method getXAResources
	ResourceException cannot be resolved (or is not an exception type)
for the method getXAResources
	BootstrapContext cannot be resolved (or is not a valid return type)
for the method getBootstrapContext
	bootstrapContext cannot be resolved
	BootstrapContext cannot be resolved (or is not a valid type) for the
argument context of the method setBootstrapContext
	bootstrapContext cannot be resolved
	MessageListener cannot be resolved (or is not a valid return type)
for the method getListener
	listener cannot be resolved
	MessageListener cannot be resolved (or is not a valid type) for the
argument listener of the method setListener
	listener cannot be resolved or is not a field
	Work cannot be resolved (or is not a valid return type) for the method getWork
	pollingThread cannot be resolved
	WorkManager cannot be resolved (or is not a valid return type) for
the method getWorkManager
	workManager cannot be resolved
	Work cannot be resolved (or is not a valid type) for the argument
work of the method setWork
	pollingThread cannot be resolved or is not a field
	WorkManager cannot be resolved (or is not a valid type) for the
argument manager of the method setWorkManager
	workManager cannot be resolved

	at org.apache.geronimo.jms.connector.JMSAdapter.<init>(JMSAdapter.java:11)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at java.lang.Class.newInstance0(Class.java:308)
	at java.lang.Class.newInstance(Class.java:261)
	at org.apache.geronimo.connector.ResourceAdapterWrapper.<init>(ResourceAdapterWrapper.java:61)
	at org.apache.geronimo.connector.ResourceAdapterWrapperGBean.<init>(ResourceAdapterWrapperGBean.java:44)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:901)
	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.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:835)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:125)
	at org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.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.jmx.MBeanServerDelegate.invoke(MBeanServerDelegate.java:117)
	at mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:219)
	at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectInvoker.java:99)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSubjectInvoker.java:31)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectInvoker.java:90)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
	at mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnectionSubjectInvoker.java:86)
	at mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubjectInvoker.java:80)
	at $Proxy0.invoke(Unknown Source)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:221)
	at sun.reflect.GeneratedMethodAccessor206.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
	at sun.rmi.transport.Transport$1.run(Transport.java:148)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
	at java.lang.Thread.run(Thread.java:534)


Thanks for any help,

Regards
Krish

Mime
View raw message