users@genericjmsra.java.net

Re: SJAS integration with SJAS using genericjmsra

From: Binod <Binod.Pg_at_Sun.COM>
Date: Fri, 03 Mar 2006 08:28:15 +0530

Hi Zhang,

I would suggest you use "javabean" mode of integration.

The userguide has examples of doing that. All you need to do
is to specify the host and port of MQ correctly.

That would help you bypass JNDI.

- Binod.

>I connect to another Sun Application server from SUN
>Application Sever. I got the exception below.
>
>[#|2006-03-03T02:35:04.138+0000|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=10;|javax.resource.s
>pi.InvalidPropertyException: SunConnectionFactory not
>found
> 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:268)
> at
>com.sun.genericra.inbound.EndpointConsumer.<init>(EndpointConsumer.java:68)
> at
>com.sun.genericra.GenericJMSRA.endpointActivation(GenericJMSRA.java:96)
> at
>com.sun.enterprise.connectors.inflow.ConnectorMessageBeanClient.setup(ConnectorMessageBeanClient.java:221)
> at
>com.sun.ejb.containers.MessageBeanContainer.<init>(MessageBeanContainer.java:187)
> at
>com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:221)
> at
>com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:481)
> at
>com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
> at
>com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
> at
>com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:185)
> at
>com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
> at
>com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
> at
>com.sun.enterprise.server.PEMain.run(PEMain.java:294)
> at
>com.sun.enterprise.server.PEMain.main(PEMain.java:220)
>
>After digging into the source. I notice the issue is
>in the JNDI lookup, since Sun Application Server uses
>default iiop server port 3700. But the remote server
>uses different port. If It is a stand alone
>application, I can solve the problem using
>Dorg.omg.CORBA.ORBInitialHost and
>-Dorg.omg.CORBA.ORBInitialPort in the command line.
>
>But the code is in a SUN Application Server, I cannot
>set those value. Otherwise, the server could not
>start.
>
>Does anyone know the workaround? How do I set
>JndiProperties or system environment? Thanks in advance.
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
>For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>
>
>