Skip to main content

SonicMQ 7.6 with Sun App Server 9.1

19 replies [Last post]
srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi,

I am working on integration of Sonic MQ 7.6 as JMS provider with Sun Java System Application Server 9.1 using the Generic JMS RA integration approach. The details are mentioned here -
https://genericjmsra.dev.java.net/docs/sonic-mq-integration-guide/sonicm...
I have been able to complete the procedure mentioned but MDB (Plz find the attached sun-ejb-jar file and Bean File. ) is failing during deployment. A part of the exception trace is -
----------------------------------------------------------------------------------------------------
[#|2008-09-19T12:19:36.987+0530|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=f722e5d0-98f0-4e71-ad93-26a907052321;|javax.resource.spi.InvalidPropertyException
at com.sun.genericra.util.ExceptionUtils.newInvalidPropertyException(ExceptionUtils.java:40)
at com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:89)
at com.sun.genericra.util.ObjectBuilder.build(ObjectBuilder.java:90)
at com.sun.genericra.inbound.EndpointConsumer.initializeAdministeredObjects(EndpointConsumer.java:282)
at com.sun.genericra.inbound.EndpointConsumer.(EndpointConsumer.java:69)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:96)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:239)
at com.sun.ejb.containers.MessageBeanContainer.(MessageBeanContainer.java:193)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:533)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:518)
at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:175)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:113)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:212)
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:204)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
at com.sun.enterprise.server.PEMain.run(PEMain.java:381)
at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
Caused by: javax.naming.NamingException [Root exception is com.sonicsw.mf.comm.ConnectTimeoutException: Timeout occured while attempting to connect]
at com.sonicsw.jndi.mfcontext.MFConnectionManager.connect(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFConnectionManager.(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFConnectionManager.getManager(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFContext.(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFContextFactory.getInitialContext(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.(InitialContext.java:197)
at com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:85)
... 22 more
Caused by: com.sonicsw.mf.comm.ConnectTimeoutException: Timeout occured while attempting to connect
at com.sonicsw.mf.comm.jms.ConnectorClient.connect(Unknown Source)
... 32 more
|#]

[#|2008-09-19T12:19:36.987+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;_ThreadName=main;SimpleMessageEJB;java.lang.Exception;_RequestID=f722e5d0-98f0-4e71-ad93-26a907052321;|MDB00017: [SimpleMessageEJB]: Exception in creating message-driven bean container: [java.lang.Exception]|#]

[#|2008-09-19T12:19:36.987+0530|SEVERE|sun-appserver9.1|javax.enterprise.system.container.ejb.mdb|_ThreadID=10;_ThreadName=main;_RequestID=f722e5d0-98f0-4e71-ad93-26a907052321;|java.lang.Exception
java.lang.Exception
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:248)
at com.sun.ejb.containers.MessageBeanContainer.(MessageBeanContainer.java:193)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:533)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:518)
at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:175)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:113)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:212)
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:204)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
at com.sun.enterprise.server.PEMain.run(PEMain.java:381)
at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
Caused by: javax.resource.spi.InvalidPropertyException
at com.sun.genericra.util.ExceptionUtils.newInvalidPropertyException(ExceptionUtils.java:40)
at com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:89)
at com.sun.genericra.util.ObjectBuilder.build(ObjectBuilder.java:90)
at com.sun.genericra.inbound.EndpointConsumer.initializeAdministeredObjects(EndpointConsumer.java:282)
at com.sun.genericra.inbound.EndpointConsumer.(EndpointConsumer.java:69)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:96)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:239)
... 17 more
Caused by: javax.naming.NamingException [Root exception is com.sonicsw.mf.comm.ConnectTimeoutException: Timeout occured while attempting to connect]
at com.sonicsw.jndi.mfcontext.MFConnectionManager.connect(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFConnectionManager.(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFConnectionManager.getManager(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFContext.(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFContextFactory.getInitialContext(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.(InitialContext.java:197)
at com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:85)
... 22 more
Caused by: com.sonicsw.mf.comm.ConnectTimeoutException: Timeout occured while attempting to connect
at com.sonicsw.mf.comm.jms.ConnectorClient.connect(Unknown Source)
... 32 more

Plz help me to fix this issue

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

all issue are fixed.

now my system is working fine.

Thanks,
Srinivasa Rao

Alexis Moussine-Pouchkine

Hi Srinivasa,

Any chance you could blog your experience (if you have a blog of
course)?
Forums are harder to walk through than blogs for other people
interested in what you did.

thanks!
-Alexis
GlassFish Team

On Sep 22, 2008, at 10:47, glassfish@javadesktop.org wrote:

> Hi Ramesh,
>
> all issue are fixed.
>
> now my system is working fine.
>
> Thanks,
> Srinivasa Rao
> [Message sent by forum member 'srinivas_vsr' (srinivas_vsr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=300693
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

Finally all the issue are resolved and MDB is working fine, thanks for your support to fix the issues.

Thanks,
Srinivasa Rao

rampsarathy
Offline
Joined: 2005-11-22
Points: 0

good to know !

-Ramesh

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

I have similar set up in other system and added the sonic_XA.jar to class paths.
But I am facing the bellow issue can u help me to fix it.

[#|2008-09-22T11:32:22.235+0530|WARNING|sun-appserver9.1|javax.enterprise.system.core|_ThreadID=10;_ThreadName=main;_RequestID=e74de274-fda1-440a-adc4-e8676f2914a2;|CORE5016: Unexpected error occurred while loading applications
java.lang.NoClassDefFoundError: progress/message/jclient/xa/XAConnectionFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
at javax.naming.spi.NamingManager.getObjectFactoryFromReference(NamingManager.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:302)
at com.sonicsw.jndi.mfcontext.MFContext.getBindedRefObject(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFContext.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:87)
at com.sun.genericra.util.ObjectBuilder.build(ObjectBuilder.java:90)
at com.sun.genericra.inbound.EndpointConsumer.initializeAdministeredObjects(EndpointConsumer.java:282)
at com.sun.genericra.inbound.EndpointConsumer.(EndpointConsumer.java:69)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:96)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:239)
at com.sun.ejb.containers.MessageBeanContainer.(MessageBeanContainer.java:193)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:533)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:518)
at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:175)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:113)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:212)
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:204)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
at com.sun.enterprise.server.PEMain.run(PEMain.java:381)
at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
|#]

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

inow other issue are not there , only the below issue: (but sonic_XA.jar is in class path)

java.lang.NoClassDefFoundError: progress/message/jclient/xa/XAConnectionFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
at javax.naming.spi.NamingManager.getObjectFactoryFromReference(NamingManager.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:302)
at com.sonicsw.jndi.mfcontext.MFContext.getBindedRefObject(Unknown Source)
at com.sonicsw.jndi.mfcontext.MFContext.lookup(Unknown Source)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:87)
at com.sun.genericra.util.ObjectBuilder.build(ObjectBuilder.java:90)
at com.sun.genericra.inbound.EndpointConsumer.initializeAdministeredObjects(EndpointConsumer.java:282)
at com.sun.genericra.inbound.EndpointConsumer.(EndpointConsumer.java:69)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:96)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:239)
at com.sun.ejb.containers.MessageBeanContainer.(MessageBeanContainer.java:193)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:533)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:518)
at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:175)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:113)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:212)
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:204)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
at com.sun.enterprise.server.PEMain.run(PEMain.java:381)
at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)

rampsarathy
Offline
Joined: 2005-11-22
Points: 0

can you check all the sonic jars to see if this class is present ?
Also could you paste your classpath configuration from domain.xml
-Ramesh

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

class is in two jar files 1)sonic_XA.jar 2) broker.jar

classpath configuration in domain.xml is ::

Thanks,
Srinivasa Rao

rampsarathy
Offline
Joined: 2005-11-22
Points: 0

have you tried putting sonic_XA.jar in the classpath.
Note that the instructions talks about Sonic MQ 7.0, you might have to adapt it a bit for 7.6 .

also why do you use a ";" after the drive letter , should'nt it be a ":"

-Ramesh

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

I used a ":" but its saving like a ";" in domain.xml.

Now I have started on new system and I am geting the below issue.
Plz help me to fix this issue.

log trace :
javax.resource.ResourceException: SupportsXA is configured to true , but ConnectionFactory configured is not XA capable.
at com.sun.genericra.inbound.EndpointConsumer.validate(EndpointConsumer.java:216)
at com.sun.genericra.inbound.EndpointConsumer.initialize(EndpointConsumer.java:122)
at com.sun.genericra.inbound.EndpointConsumer.start(EndpointConsumer.java:117)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:97)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:239)
at com.sun.ejb.containers.MessageBeanContainer.(MessageBeanContainer.java:193)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:533)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:518)
at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:175)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:113)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:323)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:197)
at com.sun.enterprise.server.ApplicationManager.applicationDeployed(ApplicationManager.java:632)
at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeApplicationDeployEventListener(AdminEventMulticaster.java:905)
at com.sun.enterprise.admin.event.AdminEventMulticaster.handleApplicationDeployEvent(AdminEventMulticaster.java:889)
at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:445)
at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:160)
at com.sun.enterprise.admin.server.core.DeploymentNotificationHelper.multicastEvent(DeploymentNotificationHelper.java:295)
at com.sun.enterprise.deployment.phasing.DeploymentServiceUtils.multicastEvent(DeploymentServiceUtils.java:210)
at com.sun.enterprise.deployment.phasing.ServerDeploymentTarget.sendStartEvent(ServerDeploymentTarget.java:285)
at com.sun.enterprise.deployment.phasing.ApplicationStartPhase.runPhase(ApplicationStartPhase.java:119)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:892)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:564)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.start(PEDeploymentService.java:608)
at com.sun.enterprise.admin.mbeans.ApplicationsConfigMBean.start(ApplicationsConfigMBean.java:731)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:353)
at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:336)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:448)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:77)
at $Proxy1.invoke(Unknown Source)
at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:297)
at com.sun.enterprise.deployment.client.DeploymentClientUtils.startApplication(DeploymentClientUtils.java:132)
at com.sun.enterprise.deployment.client.DeployAction.run(DeployAction.java:524)
at java.lang.Thread.run(Thread.java:595)
|#]

Thanks,
Srinivasa Rao

rampsarathy
Offline
Joined: 2005-11-22
Points: 0

this is because your "MyMDBQcf" is not XA capable, in other words it is not an instance of javax.jms.XAConnectionFactory.

Did you perform the following step that is mentioned in the doc

"The jndiAPI does not ( or iam not aware of) allow bindings of type XAQueueConnectionFactory, so please change the "Factory Type" of inboundXAQCF and outboundXAQCF to "XAQueueConnectionFactory" through the Sonic MQ admin console. The console can be started using the command MQ7.0/bin/startmc.sh"

Did you change the type of MyMDBQcf to XAQueueConnectionFactory

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,
Hi Ramesh,

I am unable to find the option for change "Factory Type" of inboundXAQCF and outboundXAQCF to "XAQueueConnectionFactory" through the Sonic MQ admin console.
can u plz provide detail steps for it.

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

After changing the factory type I am getting below error.
Can You Help Me to Fix thi issue:
javax.resource.ResourceException: Inauthentic Client
at com.sun.genericra.util.ExceptionUtils.newResourceException(ExceptionUtils.java:68)
at com.sun.genericra.inbound.InboundJmsResourcePool.initialize(InboundJmsResourcePool.java:87)
at com.sun.genericra.inbound.EndpointConsumer.initialize(EndpointConsumer.java:124)
at com.sun.genericra.inbound.EndpointConsumer.start(EndpointConsumer.java:117)
at com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:97)
at com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:239)
at com.sun.ejb.containers.MessageBeanContainer.(MessageBeanContainer.java:193)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:533)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:518)
at com.sun.enterprise.server.ApplicationLoader.doLoad(ApplicationLoader.java:175)
at com.sun.enterprise.server.TomcatApplicationLoader.doLoad(TomcatApplicationLoader.java:113)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:226)
at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:212)
at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:204)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
at com.sun.enterprise.server.PEMain.run(PEMain.java:381)
at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
Caused by: javax.jms.JMSSecurityException: Inauthentic Client
at progress.message.jimpl.JMSExceptionUtil.createJMSSecurityException(JMSExceptionUtil.java:134)
at progress.message.jimpl.JMSExceptionUtil.createJMSSecurityException(JMSExceptionUtil.java:117)
at progress.message.jimpl.JMSExceptionUtil.createJMSSecurityException(JMSExceptionUtil.java:103)
at progress.message.jimpl.Connection.(Connection.java:836)
at progress.message.jimpl.QueueConnection.(QueueConnection.java:97)
at progress.message.jimpl.xa.XAQueueConnection.(XAQueueConnection.java:49)
at progress.message.jclient.xa.XAQueueConnectionFactory.createXAQueueConnection(XAQueueConnectionFactory.java:157)
at com.sun.genericra.inbound.InboundJmsResourcePool.createXAConnection(InboundJmsResourcePool.java:123)
at com.sun.genericra.inbound.InboundJmsResourcePool.initialize(InboundJmsResourcePool.java:70)
... 21 more
Caused by: [2101] progress.message.client.EInauthenticClient: Inauthentic Client
at progress.message.zclient.Connection.connectWithRecoveryOpt(Connection.java:1001)
at progress.message.zclient.ReconnectHelper.connectAndChaseSingleFailoverRedirect(ReconnectHelper.java:534)
at progress.message.zclient.Connection.connect(Connection.java:1569)
at progress.message.jimpl.Connection.(Connection.java:642)
... 26 more
|#]

Thanks,
Srinivasa Rao

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

RA Configuration from domain.xml is:

command I used to created the ra-config:
asadmin create-resource-adapter-config --user admin --passwordfile passwordfile --property SupportsXA=true:ProviderIntegrationMode=jndi:UserName=Administrator:Password=Administrator:JndiProperties=java.naming.factory.initial\=com.sonicsw.jndi.mfcontext.MFContextFactory,java.naming.provider.url\=tcp\://localhost\:2506,com.sonicsw.jndi.mfcontext.domain\=Domain1,java.naming.security.principal\=Administrator,java.naming.security.credentials\=Administrator:LogLevel=FINEST

thanks,
Srinivasa Rao

rampsarathy
Offline
Joined: 2005-11-22
Points: 0

can you remove this
"com.sonicsw.jndi.mfcontext.idleTimeout=6000"
from the jndiproperties and then try. Not sure what it is used for.

You have to undeploy the ra , delete the config , create the config without the above property and then deploy the ra (and MDB).

Also, iam assuming you have ensured that the management broker is running on port 2506

-Ramesh

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

I have followed all your instruction. jar file in class path are:

C:\Sun\AppServer\addons\accessmanager\amWebServicesProvider.jar;
D:\Sonic\MQ7.6\lib\sonic_Client.jar;
D:\Sonic\MQ7.6\lib\mfcontext.jar;
D:\Sonic\MQ7.6\lib\sonic_Crypto.jar;D:\Sonic\MQ7.6\lib\sonic_XMessage.jar;
D:\Sonic\ESB7.6\lib\xq_core.jar

and my broker is runing on port 2506.
is there in issue with my descriptor entries or bean class. and some times I am geting the error message as " java.lang.ClassNotFoundException: progress.message.crypto.SHA"

Plz find the attached log file.

domain.xml entries:

create config command is used is:
asadmin create-resource-adapter-config --user admin --passwordfile passwordfile.txt --property

SupportsXA=true:ProviderIntegrationMode=jndi:UserName=Administrator:Password=Administrator:JndiProperties=java.naming.factory

.initial\=com.sonicsw.jndi.mfcontext.MFContextFactory,java.naming.provider.url\=tcp\://localhost\:2506,com.sonicsw.jndi.mfcon

text.domain\=Domain1,java.naming.security.principal\=Administrator,java.naming.security.credentials\=Administrator:LogLevel=FINEST genericra

Thanks,
Srinivasa Rao

rampsarathy
Offline
Joined: 2005-11-22
Points: 0

can you paste your ra configuration from domain.xml
or the entire command with which you created the ra-config

-Ramesh

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh ,

plz find the attached ra.xml

Thanks,
Srinivas

srinivas_vsr
Offline
Joined: 2008-09-18
Points: 0

Hi Ramesh,

plz find the attached domain.xml file.

thanks,
Srinivas