users@glassfish.java.net

Re: SonicMQ 7.0 with Sun App Server 8.2

From: Ramesh Parthasarathy <Ramesh.Parthasarathy_at_Sun.COM>
Date: Thu, 22 Feb 2007 04:12:58 +0000

Hi Swapnil,

        I guess you are hitting Bug
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6372504.
This was fixed in 9.0.

You could try one of the following as a workaround in 8.2

1. Set the LogLevel to INFO rather than FINEST when creating the
resource adapter config. The toString of ActivationSpec which is causing
the exception is printed only when the loglevel is FINE or FINEST

2. Set the SupportsXA property in the activation spec of MDB deployment
descriptor.

<activation-config-property>
<activation-config-property-name>SupportsXA</activation-config-property-name>

<activation-config-property-value>true</activation-config-property-value>
</activation-config-property>


Please let me know if you see the issue still.

Thanks
-Ramesh

glassfish_at_javadesktop.org wrote On 02/21/07 18:01,:
> Hi Ramesh,
>
> I have used the following command for config creation -
>
> asadmin create-resource-adapter-config --user admin --password XYZ --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 sonicra
>
> Also, below are the relevant sections from domain.xml -
> --------------------------------------------------------------------------------------------------------------------
> <resource-adapter-config object-type="user" resource-adapter-name="sonicra">
> <property name="ProviderIntegrationMode" value="jndi"/>
> <property name="JndiProperties" value="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"/>
> <property name="SupportsXA" value="true"/>
> <property name="Password" value="Administrator"/>
> <property name="UserName" value="Administrator"/>
> <property name="LogLevel" value="FINEST"/>
> </resource-adapter-config>
> -------------------------------------------------------------------------------------------------------------------
> <connector-connection-pool connection-definition-name="javax.jms.QueueConnectionFactory" fail-all-connections="false" idle-timeout-in-seconds="300" max-pool-size="32" max-wait-time-in-millis="60000" name="inpool" pool-resize-quantity="2" resource-adapter-name="genericra" steady-pool-size="8" transaction-support="NoTransaction">
> <property name="ConnectionFactoryJndiName" value="inboundXAQCF"/>
> </connector-connection-pool>
> <connector-connection-pool connection-definition-name="javax.jms.QueueConnectionFactory" fail-all-connections="false" idle-timeout-in-seconds="300" max-pool-size="32" max-wait-time-in-millis="60000" name="outpool" pool-resize-quantity="2" resource-adapter-name="genericra" steady-pool-size="8" transaction-support="NoTransaction">
> <property name="ConnectionFactoryJndiName" value="outboundXAQCF"/>
> </connector-connection-pool>
> ----------------------------------------------------------------------------------------------------------------------
>
> <connector-resource enabled="true" jndi-name="jms/inboundXAQCF" object-type="user" pool-name="inpool"/>
> <connector-resource enabled="true" jndi-name="jms/outboundXAQCF" object-type="user" pool-name="outpool"/>
> ---------------------------------------------------------------------------------------------------------------------
>
> Thanks!
> Swapnil
> [Message sent by forum member 'sharmaswapnil' (sharmaswapnil)]
>
> http://forums.java.net/jive/thread.jspa?messageID=204675
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>