JNDI Exception on Cluster Redeployment
"Does anyone know what was the resolution on the attached newsgroup posting? i am experiencing a similar
Jerry Davis <[email protected]> wrote:
>"Does anyone know what was the resolution on the attached newsgroup posting?
> i am experiencing a similar
This seems to have gotten chopped. I am seeing the following error when attempting
to hot-deploy (through the admin console) a simple stateless EJB
to the second managed server, and receive this exception. The first managed server
receives the deployment no problem; it's only the second managed
server that throws the exception.
<Jun 14, 2001 4:56:39 PM CDT> <Error> <J2EE> <Error deploying application HelloWorld_EJB:
Could not deploy: 'HelloWorld_EJB.jar': JNDI name in use
>
<Jun 14, 2001 4:56:39 PM CDT> <Error> <Management> <InvocationTargetException
setting attribute Deployed on MBean wwt:Name=HelloWorld_EJB,Location=testlogic2Server,Type=ApplicationConfig
to value true. Method: public void weblogic.management.mbeans.custom.Application.setDeployed(boolean)
throws weblogic.management.DeploymentException,weblogic.management.UndeploymentException
weblogic.management.DeploymentException: Could not deploy: 'HelloWorld_EJB.jar':
JNDI name in use
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:35)
at weblogic.j2ee.Application.deploy(Application.java:167)
at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:173)
at weblogic.management.mbeans.custom.Application.setLocalDeployed(Application.java:217)
at weblogic.management.mbeans.custom.Application.setDeployed(Application.java:187)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.java:1136)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:773)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:750)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:256)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(RemoteMBeanServerImpl_WLSkel.java:1075)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Jun 14, 2001 4:56:39 PM CDT> <Error> <Cluster> <Conflict start: You tried to
bind an object under the name HelloWorldBean_EO in the jndi tree. The object you
have bound weblogic.rmi.cluster.ClusterableRemoteObject from prodlogic2 is non
clusterable and you have tried to bind more than once from two or more servers.
Such objects can only deployed from one server.>
Similar Messages
-
Jndi exception using weblogic.Admin
I was trying out the commands offered by weblogic.Admin to manage the packaged petstore server. I tried the following command and got jndi exception (null):
command:java weblogic.Admin -url petstoreServer.com:7001 GET -pretty -type Server
Error:Exception in thread "main" java.lang.IllegalArgumentException: JNDI naming exception: null
at weblogic.management.commandline.CommandLine.findMBeanHome(CommandLine.java:460)
at weblogic.management.commandline.CommandLine.doCommandline(CommandLine.java:86)
at weblogic.management.commandline.CommandLine.<init>(CommandLine.java:69)
at weblogic.Admin.main(Admin.java:689)
I checked in the console. A jndi name for petstoreServer does exist.The current WebLogic 6.0 Beta-1 documentation incorrectly specifies the following in its example.
java weblogic.Admin -url xyz.com:7001 GET -pretty -type Server
This example falsely gives the impression that you must append ".com" to your host name. We will correct the document in the next revision to look like:
java weblogic.Admin -url hrserver:7001 GET -pretty -type Server
The -url petstoreServer.com:7001 parameter is incorrect. The command requires you to specify the <HostName>:<PortNumber> for the -url parameter.
Regards,
-Sachin
Helen Semus wrote:
I was trying out the commands offered by weblogic.Admin to manage the packaged petstore server. I tried the following command and got jndi exception (null):
command:java weblogic.Admin -url petstoreServer.com:7001 GET -pretty -type Server
Error:Exception in thread "main" java.lang.IllegalArgumentException: JNDI naming exception: null
at weblogic.management.commandline.CommandLine.findMBeanHome(CommandLine.java:460)
at weblogic.management.commandline.CommandLine.doCommandline(CommandLine.java:86)
at weblogic.management.commandline.CommandLine.<init>(CommandLine.java:69)
at weblogic.Admin.main(Admin.java:689)
I checked in the console. A jndi name for petstoreServer does exist.--
Sachin Thatte, Senior Software Engineer
BEA Systems, Inc
WWW: http://www.bea.com
[att1.html] -
JNDI Exception : [System] not bound in naming services
Hi All,
Is there any way to resolve this JNDI exception "Invalid Path: [System/Launchers] not bound in naming service" ?
Thanks in AdvanceThis did not work dear. I assume when you say [Add ur datasource], you mean the name of the datasource, and I did as you told. I was wondering though that I have an independent java class which try to get data source from WSAD server, then how does web.xml help, may be I am not understanding the connection here.
Just to let you know, that same java class gets the datasource from 4.0 test server. I am running both servers now i.e. 4.0 test and 5.0 test server on different ports, and only data source from 4.0 workd good. Do you have any other solution, which I can try.
Is there any difference the way data source is accessed between 4.0 and 5.0 versions.
Thanks in advance.
Open web.xml, There will reference tab,, then take
Resource, Add ur datasourse on where the Cursor points
and then JNDI Name.
U need to restart .. -
What is "Replicate JNDI Name In Cluster" equivalent in Weblogic 10.3
Hi,
We are migrating one of our application from WL8 and WL10.3 where the existing setup using a non-distributed queue with "Replicate JNDI Name In Cluster" enabled. The cluster has 2 instances Ex: M1 and M2, both of these instances are using the aforesaid non-distributed queue which is tragetted only to M1 instance.
However the queue is targetted to M1, JNDI name associated to this Queue is available in M2 server so the MDB and Initial Context lookups are able to obtain the queue instance.
Now the issue is, we are unable to setup this feature in WL10.
1. We have created a UDQ and targetted to only M1.
2. MDBs and Intial context lookups from M2 is failing with NameNotFoundException.
Ultimatey the requirement is, the application deployed on cluster should consume/publish message only to/from queues available in M1. There is business reason behind this.
Please help.Hi,
If your MDB is io version 3.0 then u can make use of the following Annotations to define the "*providerUrl*" of the server from where ur MDB wants to listen the messages.
Example: http://weblogic-wonders.com/weblogic/2010/06/09/mdb-with-non-container-specific-annotations/
initial-context-factory (Equivalent Property: initialContextFactory)
provider-url (Equivalent Property: providerURL)
ActivationConfigProperty(propertyName = “providerURL”, propertyValue = “your_MS1_Address”)
If you are using MDB2.0 then the same thing u need to do with "weblogic-ejb-jar.xml" file using <provider-url > Tag.
Thanks
Jay SenSharma -
JNDI Exception on re-deployment to a cluster
I'm getting an error that I have not seen in the newsgroups so far. It
happens when I deploy what I believe to be a properly configured clusterable
application (.ear file) to my cluster.
Here's my setup:
WebLogic 6.0 sp1, three instances across 2 machines. The admin server (wl1)
is running on Stimpy (win2kAS) on 10.10.10.21 (it is not part of the
cluster). The 1st managed server (app1) is also on Stimpy bound to
10.10.10.22 (a virtual IP). The second managed server (app3) is on Ren
(also win2kAS) at 10.10.10.23. Auto-deploy is off. I am using the console
to deploy the app. (I turned auto-deploy off because the app was getting
deployed to the admin server automatically and throwing an error because of
the clustered HTTP session state)
Here's what happens.
I start up all of the instances with no apps deployed. Everything appears
to be running fine. No errors. I then use the console to deploy my
application (sample1.0.ear). I select only the cluster as the target for
the EJB and the webapp. If I try to access the app at this point I just get
404's. I then restart all of the servers and the app gets deployed across
the cluster with no errors. I can access everything JSPs, servlets, and an
EJB without issue.
My problem comes when I try to re-deploy the application. I have tried this
using the console, and by copying the new .ear file to the applications
directory on the admin server. I always get the same error, and it only
shows up on "app1" the first managed server in the cluster. Below is the
output form the log:
Undeploying EJB Component HelloWorldEJB
<Apr 16, 2001 10:24:52 PM EDT> <Info> <J2EE> <Undeployed : sample1.0>
<Apr 16, 2001 10:24:53 PM EDT> <Info> <EJB> <EJB Deploying file:
HelloWorldEJB.j
ar>
<Apr 16, 2001 10:24:53 PM EDT> <Error> <J2EE> <Error deploying EJB Component
: H
elloWorldEJB
weblogic.ejb20.EJBDeploymentException: Error deploying stateless EJB; nested
exc
eption is:
javax.naming.NameAlreadyBoundException: Can't rebind anything but a
repl
ica-aware stub to a name that is currently bound to a replica-aware stub;
remain
ing name ''
javax.naming.NameAlreadyBoundException: Can't rebind anything but a
replica-awar
e stub to a name that is currently bound to a replica-aware stub; remaining
name
<<no stack trace available>>
>
<Apr 16, 2001 10:24:53 PM EDT> <Error> <J2EE> <Error deploying application
sampl
e1.0: Could not deploy: 'HelloWorldEJB.jar': JNDI name in use
>
<Apr 16, 2001 10:24:53 PM EDT> <Error> <Management>
<InvocationTargetException s
etting attribute Deployed on MBean
me:Name=sample1.0,Location=app3,Type=Applicat
ionConfig to value true. Method: public void
weblogic.management.mbeans.custom.A
pplication.setDeployed(boolean) throws
weblogic.management.DeploymentException,w
eblogic.management.UndeploymentException
weblogic.management.DeploymentException: Could not deploy:
'HelloWorldEJB.jar':
JNDI name in use
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:35)
at weblogic.j2ee.Application.deploy(Application.java:167)
at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:173)
at
weblogic.management.mbeans.custom.Application.setLocalDeployed(Applic
ation.java:217)
at
weblogic.management.mbeans.custom.Application.setDeployed(Application
.java:187)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBe
anImpl.java:1136)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
anImpl.java:773)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
anImpl.java:750)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
igurationMBeanImpl.java:256)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
ava:1331)
at
weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Remo
teMBeanServerImpl_WLSkel.java:1075)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
va:373)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
va:237)
at
weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestH
andler.java:118)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:17)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Apr 16, 2001 10:24:54 PM EDT> <Error> <Cluster> <Conflict start: You tried
to b
ind an object under the name HelloWorldHome_EO in the jndi tree. The object
you
have bound weblogic.rmi.cluster.ClusterableRemoteObject from 10.10.10.21 is
non
clusterable and you have tried to bind more than once from two or more
servers.
Such objects can only deployed from one server.>
<Apr 16, 2001 10:24:54 PM EDT> <Error> <Cluster> <Conflict start: You tried
to b
ind an object under the name HelloWorldHome in the jndi tree. The object you
hav
e bound weblogic.rmi.cluster.ClusterableRemoteObject from 10.10.10.21 is non
clu
sterable and you have tried to bind more than once from two or more servers.
Suc
h objects can only deployed from one server.>
Here's a question. Why am I seeing "weblogic.ejb20.EJBDeploymentException"?
As far as I know, I have not installed the EJB2.0 container. Does this get
installed by default with sp1? Also, I quite sure that my deployment
descriptors are correct. Here's my weblogic-ejb-jar.xml for the HelloWorld
EJB:
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0
EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>HelloWorld</ejb-name>
<caching-descriptor>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
</caching-descriptor>
<clustering-descriptor>
<home-is-clusterable>true</home-is-clusterable>
<stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
<stateless-bean-methods-are-idempotent>true</stateless-bean-methods-are-idem
potent>
</clustering-descriptor>
<jndi-name>HelloWorldHome</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
Who needs clustering anyway, damn it?! (Well...I do) Any one know what's
going on here?
This seems like potential redeploy/undeploy bugs. COuld you follow up with
[email protected]
Viresh Garg
Principal Developer Relations Engineer
BEA Systems
Paul Citarella wrote:
> I'm getting an error that I have not seen in the newsgroups so far. It
> happens when I deploy what I believe to be a properly configured clusterable
> application (.ear file) to my cluster.
>
> Here's my setup:
> WebLogic 6.0 sp1, three instances across 2 machines. The admin server (wl1)
> is running on Stimpy (win2kAS) on 10.10.10.21 (it is not part of the
> cluster). The 1st managed server (app1) is also on Stimpy bound to
> 10.10.10.22 (a virtual IP). The second managed server (app3) is on Ren
> (also win2kAS) at 10.10.10.23. Auto-deploy is off. I am using the console
> to deploy the app. (I turned auto-deploy off because the app was getting
> deployed to the admin server automatically and throwing an error because of
> the clustered HTTP session state)
>
> Here's what happens.
>
> I start up all of the instances with no apps deployed. Everything appears
> to be running fine. No errors. I then use the console to deploy my
> application (sample1.0.ear). I select only the cluster as the target for
> the EJB and the webapp. If I try to access the app at this point I just get
> 404's. I then restart all of the servers and the app gets deployed across
> the cluster with no errors. I can access everything JSPs, servlets, and an
> EJB without issue.
>
> My problem comes when I try to re-deploy the application. I have tried this
> using the console, and by copying the new .ear file to the applications
> directory on the admin server. I always get the same error, and it only
> shows up on "app1" the first managed server in the cluster. Below is the
> output form the log:
>
> Undeploying EJB Component HelloWorldEJB
> <Apr 16, 2001 10:24:52 PM EDT> <Info> <J2EE> <Undeployed : sample1.0>
> <Apr 16, 2001 10:24:53 PM EDT> <Info> <EJB> <EJB Deploying file:
> HelloWorldEJB.j
> ar>
> <Apr 16, 2001 10:24:53 PM EDT> <Error> <J2EE> <Error deploying EJB Component
> : H
> elloWorldEJB
> weblogic.ejb20.EJBDeploymentException: Error deploying stateless EJB; nested
> exc
> eption is:
> javax.naming.NameAlreadyBoundException: Can't rebind anything but a
> repl
> ica-aware stub to a name that is currently bound to a replica-aware stub;
> remain
> ing name ''
> javax.naming.NameAlreadyBoundException: Can't rebind anything but a
> replica-awar
> e stub to a name that is currently bound to a replica-aware stub; remaining
> name
> ''
> <<no stack trace available>>
> >
> <Apr 16, 2001 10:24:53 PM EDT> <Error> <J2EE> <Error deploying application
> sampl
> e1.0: Could not deploy: 'HelloWorldEJB.jar': JNDI name in use
> >
> <Apr 16, 2001 10:24:53 PM EDT> <Error> <Management>
> <InvocationTargetException s
> etting attribute Deployed on MBean
> me:Name=sample1.0,Location=app3,Type=Applicat
> ionConfig to value true. Method: public void
> weblogic.management.mbeans.custom.A
> pplication.setDeployed(boolean) throws
> weblogic.management.DeploymentException,w
> eblogic.management.UndeploymentException
> weblogic.management.DeploymentException: Could not deploy:
> 'HelloWorldEJB.jar':
> JNDI name in use
>
> at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:35)
> at weblogic.j2ee.Application.deploy(Application.java:167)
> at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:173)
> at
> weblogic.management.mbeans.custom.Application.setLocalDeployed(Applic
> ation.java:217)
> at
> weblogic.management.mbeans.custom.Application.setDeployed(Application
> .java:187)
> at java.lang.reflect.Method.invoke(Native Method)
> at
> weblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBe
> anImpl.java:1136)
> at
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
> anImpl.java:773)
> at
> weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBe
> anImpl.java:750)
> at
> weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Conf
> igurationMBeanImpl.java:256)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
> ava:1356)
> at
> com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.j
> ava:1331)
> at
> weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Remo
> teMBeanServerImpl_WLSkel.java:1075)
> at
> weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
> va:373)
> at
> weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.ja
> va:237)
> at
> weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestH
> andler.java:118)
> at
> weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
> .java:17)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> >
> <Apr 16, 2001 10:24:54 PM EDT> <Error> <Cluster> <Conflict start: You tried
> to b
> ind an object under the name HelloWorldHome_EO in the jndi tree. The object
> you
> have bound weblogic.rmi.cluster.ClusterableRemoteObject from 10.10.10.21 is
> non
> clusterable and you have tried to bind more than once from two or more
> servers.
> Such objects can only deployed from one server.>
> <Apr 16, 2001 10:24:54 PM EDT> <Error> <Cluster> <Conflict start: You tried
> to b
> ind an object under the name HelloWorldHome in the jndi tree. The object you
> hav
> e bound weblogic.rmi.cluster.ClusterableRemoteObject from 10.10.10.21 is non
> clu
> sterable and you have tried to bind more than once from two or more servers.
> Suc
> h objects can only deployed from one server.>
>
> Here's a question. Why am I seeing "weblogic.ejb20.EJBDeploymentException"?
> As far as I know, I have not installed the EJB2.0 container. Does this get
> installed by default with sp1? Also, I quite sure that my deployment
> descriptors are correct. Here's my weblogic-ejb-jar.xml for the HelloWorld
> EJB:
>
> <?xml version="1.0"?>
> <!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 5.1.0
> EJB//EN' 'http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd'>
> <weblogic-ejb-jar>
> <weblogic-enterprise-bean>
> <ejb-name>HelloWorld</ejb-name>
> <caching-descriptor>
> <max-beans-in-free-pool>100</max-beans-in-free-pool>
> </caching-descriptor>
> <clustering-descriptor>
> <home-is-clusterable>true</home-is-clusterable>
> <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
> <stateless-bean-methods-are-idempotent>true</stateless-bean-methods-are-idem
> potent>
> </clustering-descriptor>
> <jndi-name>HelloWorldHome</jndi-name>
> </weblogic-enterprise-bean>
> </weblogic-ejb-jar>
>
> Who needs clustering anyway, damn it?! (Well...I do) Any one know what's
> going on here?
-
Conflict Error Handler Exception in Cluster
Hi
We bind some objects using rebind method to the JNDI in our weblogic servers.
If we run one instance of weblogic server no problem but if we start another one
server in the cluster it throughs conflict error handler exception. More over
if we refresh one object instance in one server (by rebind) the new changes in
the object doesn't reflect in other servers.
If you bind non clusterable objects in the jndi from two servers then you
will run into conflicts.
Basically in a cluster, two servers cannot provide the same service unless
it is clusterable.
WLS assumes that everything you bind into jndi is a service.
-- Prasad
"BSIL" <[email protected]> wrote in message
news:3b94f93a$[email protected]..
>
> Hi
> We bind some objects using rebind method to the JNDI in our weblogic
servers.
> If we run one instance of weblogic server no problem but if we start
another one
> server in the cluster it throughs conflict error handler exception. More
over
> if we refresh one object instance in one server (by rebind) the new
changes in
> the object doesn't reflect in other servers.
-
JNDI Exception in Webgain 4.1
hi,
Was wondering if anyone had run into this issue: I have a relatively simple
RMI object held in BEA WLS 6.1 (its the RMI hello sample). The example
works fine in a DOS command window with the normal WLS examples environment
set.
When I try basically the same code under Visual Cafe 4.1, the exception
listed below occurs. The InitialContext is returned but the object lookup
fails. I do have the 6.1 weblogic jar in my classpath for Cafe.
TIA.
kwc
main (09:23:46): javax.naming.NameNotFoundException: Unable to resolve
HelloServer. Resolved: '' Unresolved:'HelloServer' ; remaining name ''
main (09:23:46): at
weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRe
quest.java:90)
main (09:23:46): at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:247)
main (09:23:46): at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:225)
main (09:23:46): at
weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStu
b.java:121)
main (09:23:46): at
weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
main (09:23:46): at
javax.naming.InitialContext.lookup(InitialContext.java:350)
main (09:23:47): at HelloClient.runHello(HelloClient.java:42)
main (09:23:47): at
TableExample3$DataUpdateThread.run(TableExample3.java:107)hi,
Was wondering if anyone had run into this issue: I have a relatively simple
RMI object held in BEA WLS 6.1 (its the RMI hello sample). The example
works fine in a DOS command window with the normal WLS examples environment
set.
When I try basically the same code under Visual Cafe 4.1, the exception
listed below occurs. The InitialContext is returned but the object lookup
fails. I do have the 6.1 weblogic jar in my classpath for Cafe.
TIA.
kwc
main (09:23:46): javax.naming.NameNotFoundException: Unable to resolve
HelloServer. Resolved: '' Unresolved:'HelloServer' ; remaining name ''
main (09:23:46): at
weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRe
quest.java:90)
main (09:23:46): at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:247)
main (09:23:46): at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:225)
main (09:23:46): at
weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStu
b.java:121)
main (09:23:46): at
weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
main (09:23:46): at
javax.naming.InitialContext.lookup(InitialContext.java:350)
main (09:23:47): at HelloClient.runHello(HelloClient.java:42)
main (09:23:47): at
TableExample3$DataUpdateThread.run(TableExample3.java:107) -
Hi,
I've got a situation where I am deploying two different ears into two different Managed Servers in the same cluster. One ear is trying to look up an ejb from the other ear but for some reason the stateless bean iis not getting published into the JNDI tree of the cluster, and is only visible inside the managed server that the ear is deployed to. My question is: isn't the JNDI tree supposed to be global to all the servers inside of a cluster so registering an ejb in one will make it available to the rest of the cluster?When you deploy ear file to one of the Managed server's part of cluste, the JNDI name can be seen only in that Managed server's tree, it cannot be seen in cluster JNDI tree or other managed servers JNDI tree.
- - Tarun -
Is there a way to force the JNDI replication?
It is on by default, unless you specifically disabled it:
http://e-docs.bea.com/wls/docs61/javadocs/weblogic/jndi/WLContext.html
REPLICATE_BINDINGS
public static final java.lang.String REPLICATE_BINDINGS
Cluster-specific: Specifies whether tree modifications are replicated
and is only applicable when connecting to WebLogic Servers that are running
in a cluster. By default, any modification to the naming tree is replicated
across the cluster, which ensures that any server can act as a naming server
for the entire cluster. Setting this property to false changes this behavior
and should be done with extreme caution: a false setting means that modifications
to the tree caused by bind, unbind, createSubcontext, and destroySubcontext
will not be replicated.
Understand the implications of this property before changing its default (true).
Pothiraj <[email protected]> wrote:
> Is there a way to force the JNDI replication?
Dimitri
-
JNDI Exception while trying to create home object
Hi everyone,
I'm trying out a test application to create a home object in a remote computer. I'm using the SUN Ref-Impl v1.3 . I ran the small code below,
try {
Hashtable env= new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
env.put(Context.PROVIDER_URL, "iiop://localhost:1050");
env.put(Context.SECURITY_PRINCIPAL, "guest");
env.put(Context.SECURITY_CREDENTIALS, "guest123");
InitialContext ic= new InitialContext(env);
Object objRef= ic.lookup("jdbc/eVDB");
System.out.println("DB conn success!");
} catch (Exception ex) {
ex.printStackTrace();
System.out.println("Unable to conn DB... "+ ex.getMessage());
I successfully accessed this Database object wrapped in an entity bean through .jsp .
But when I ran the above code the follwing exception was emitted,
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:402)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at TestJNDI.main(TestJNDI.java:26)
Unable to conn DB... null
========================
If anybody can help me I would be most grateful. Thank you.i added the j2ee.jar and the out put changed.
when i write,
ic.lookup("eV/CheckLogin");
it successfuly created the home object.
But when I added a database JNDI reference it failed,
when i wrote,
ic.lookup("java:comp/env/jdbc/eVDB");
the following exception occures,
javax.naming.NameNotFoundException: No object bound for java:comp/env/jdbc/eVDB
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:116)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at TestJNDI.main(TestJNDI.java:30)
and when i put,
ic.lookup("jdbc/eVDB")
the previous exception occures,
javax.naming.NameNotFoundException. Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
at org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHelper.java:72)
at org.omg.CosNaming._NamingContextExtStub.resolve(_NamingContextExtStub.java:402)
at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:440)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:492)
at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:470)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at TestJNDI.main(TestJNDI.java:30)
===============
<sigh> I'm stumped... -
JNDI exception ..PLEASE HELP
hi
i am using the following expression to create a DataSource object
in my ejb application.
InitialContext ic=new InitialContext();
DataSource ds=(DataSource)ic.lookup("java:comp/env/jdbc/myAtmDB");
con=ds.getConnection();
When i deploy my app i am getting the following exception
javax.naming.Invalidname exception...real JNDI name cannot be empty
for jdbc/myAtmDB
thanks
basThe 'java:comp/env/jdbc/myAtmDB' name you are referencing to is a name that you use in your code. In fact it is just an alias. Next thing to do is to use the deployment tool to point the alias to the 'real JNDI name' of the DataSource. You have probably left an empty spot somewhere in the resource reference tab.
regards,
Bert -
hi all,
i am getting this exception..I am using sun Application Sever 8.0
javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory]
my code is here:
Properties prop = new Properties();
prop.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.fscontext.RefFSContextFactory");
prop.put(Context.PROVIDER_URL,"iiop://localhost:7676");
JndiTemplate jndi = new JndiTemplate(prop);
QueueConnectionFactory fabrika = (QueueConnectionFactory) jndi.lookup("qcf");
my factory and url is correct for sun application server 8.0?
thanks...C:\JBuilderX\jdk1.4\bin\javaw -classpath "C:\HelloRMIIIOP\HelloRMIIIOP\classes;C:\JBuilderX\lib\cx.jar;C:\JBuilderX\jdk1.4\demo\jfc\Java2D\Java2Demo.jar;C:\JBuilderX\jdk1.4\demo\plugin\jfc\Java2D\Java2Demo.jar;C:\JBuilderX\jdk1.4\jre\javaws\javaws.jar;C:\JBuilderX\jdk1.4\jre\lib\applet\WMPNS.jar;C:\JBuilderX\jdk1.4\jre\lib\charsets.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\cosnaming.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\dnsns.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\ldapsec.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\localedata.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\providerutil.jar;C:\JBuilderX\jdk1.4\jre\lib\ext\sunjce_provider.jar;C:\JBuilderX\jdk1.4\jre\lib\im\indicim.jar;C:\JBuilderX\jdk1.4\jre\lib\im\thaiim.jar;C:\JBuilderX\jdk1.4\jre\lib\jce.jar;C:\JBuilderX\jdk1.4\jre\lib\jsse.jar;C:\JBuilderX\jdk1.4\jre\lib\plugin.jar;C:\JBuilderX\jdk1.4\jre\lib\rt.jar;C:\JBuilderX\jdk1.4\jre\lib\sunrsasign.jar;C:\JBuilderX\jdk1.4\lib\dt.jar;C:\JBuilderX\jdk1.4\lib\htmlconverter.jar;r" HelloServer
javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.cosnaming.CNCtxFactory [Root exception is java.lang.ClassNotFoundException: com/sun/jndi/cosnaming/CNCtxFactory ]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)Trouble: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.cosnaming.CNCtxFactory [Root exception is java.lang.ClassNotFoundException: com/sun/jndi/cosnaming/CNCtxFactory ]
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at HelloServer.main(HelloServer.java:13)
Caused by: java.lang.ClassNotFoundException: com/sun/jndi/cosnaming/CNCtxFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
... 4 more
please help!!!i its driving me nuts!!! -
How to lookup the remote interface in JNDI of the cluster (glassfish)
I have write a simple sessionbean:
package authority;
import javax.ejb.Stateless;
* Session Bean implementation class LoginSessionBean
@Stateless
public class LoginSessionBean implements LoginSessionBeanRemote, LoginSessionBeanLocal {
* Default constructor.
public LoginSessionBean() {
// TODO Auto-generated constructor stub
@Override
public boolean login(String name, String password)
boolean result = false;
System.out.println("User: " + name + " is login with password: " + password);
return result;
@Override
public LoginSessionBeanRemote create()
// TODO Auto-generated method stub
return this;
}And I write a simple client to test it.
package test;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.rmi.PortableRemoteObject;
import authority.LoginSessionBean;
import authority.LoginSessionBeanRemote;
public class SessionBeanTestClient
public static void main(String[] args)
try
InitialContext context = new InitialContext();
Object obj = context.lookup(LoginSessionBean.class.getName());
LoginSessionBeanRemote loginService = (LoginSessionBeanRemote)PortableRemoteObject.narrow(obj, LoginSessionBeanRemote.class);
loginService.login("Jason", "password");
catch (NamingException e)
// TODO Auto-generated catch block
e.printStackTrace();
}And it is OK, but after I deploy the sessionbean into a cluster with two instances on local host, it can not find the remote interface:
javax.naming.NameNotFoundException: authority.LoginSessionBean not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:216)Is it different for cluster (for IIOP port?), I want to test the HA solution, how could I start it?Please look at http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j-how-to.html. There is a How-To on local interface.
thanks
Debu -
i deployed jca tuxedo in jboss and everything look good, the connexion is stablished, but when in my web appllication i try to do a lookup, the jndi dont get me the connection factory :
this is the log when im deploying de rar file :
2/13/12:2:30:44 PM:10:INFO[,registerClientSideResourceAdapter]TJA_0220:Tuxedo JCA Adapter, release 11gR1(11.1.1.2.1), resource archive version 1.1.0.0, build date: October 29 2010.
2/13/12:2:30:44 PM:10:TRACE[,TJAService]> ()
2/13/12:2:30:44 PM:10:DBG[,TJAService]xaAffinity = true
2/13/12:2:30:44 PM:10:TRACE[,TJAService]< return(10)
2/13/12:2:30:44 PM:10:TRACE[,][/TJAService/startTJAService/
2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo subcontext
2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo.services subcontext
2/13/12:2:30:44 PM:10:TRACE[,]/TJAService/startTJAService/110/TC Service started...
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Configuration Helper instantiated!
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Outbound routing service instantiated!
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Task Manager instantiated!
2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]> ()
2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]< return(10)
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC security service instantiated!
2/13/12:2:30:44 PM:10:INFO[,createRemoteAccessPoints#2]TJA_0201:INFO: RemoteAccessPoint Gdomtux created.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use Local to create default session profile property CredentialPolicy.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property MinEncryptBits.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 128 to create default session profile property MaxEncryptBits.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use NONE to create default session profile property Security.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 60,000 to create default session profile property BlockTime.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use false to create default session profile property Interoperate.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 3,600,000 to create default session profile property RetryInterval.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 7,208,000 to create default session profile property MaxRetries.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property KeepAlive.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 10,000 to create default session profile property KeepAliveWait.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0189:INFO: Default session profile created.
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Transaction service instantiated!
2/13/12:2:30:44 PM:10:INFO[,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint jcaTux and RemoteAccessPoint Gdomtux.
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (QSPACETEST)
2/13/12:2:30:44 PM:10:INFO[,]factory = null
2/13/12:2:30:44 PM:10:INFO[,]name = QSPACETEST
2/13/12:2:30:44 PM:10:INFO[,]iname = QSPACETEST
2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= QSPACETEST
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@104e583
2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource QSPACETEST created.
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (STRING)
2/13/12:2:30:44 PM:10:INFO[,]factory = null
2/13/12:2:30:44 PM:10:INFO[,]name = STRING
2/13/12:2:30:44 PM:10:INFO[,]iname = STRING
2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= STRING
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@781bc7
2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource STRING created.
2/13/12:2:30:44 PM:17:TRACE[,][/ScheduledReconnect/run/Gdomtux
2/13/12:2:30:45 PM:17:TRACE[,]]/ScheduledReconnect/run/10/return
2/13/12:2:30:45 PM:18:TRACE[,][/CeInvoke/com.oracle.tuxedo.adapter.config.DMSession@1701ba3
2/13/12:2:30:45 PM:18:TRACE[,]]/CeInvoke/10
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/get_sess_sec/
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/get_sess_sec/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_dom_target_name/Gdomtux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_dom_target_name/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_local_domain_name/jcaTux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_local_domain_name/10
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setRemoteDomainId/Gdomtux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setRemoteDomainId/10
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]disable keepalive
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kas = 0, kaExpTime = 0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaws = -1, kawExpTime = 0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaState = -1
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]< (10) return
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setKeepAliveWait/10000
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setKeepAliveWait/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAppKey/1
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAppKey/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAllowAnonymous/true
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAllowAnonymous/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setDfltAppKey/65536
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setDfltAppKey/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setEncryptionFlags/39
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setEncryptionFlags/10
2/13/12:2:30:45 PM:18:TRACE[,tpinit]>(weblogic.wtc.jatmi.TPINIT@baa0)
2/13/12:2:30:45 PM:18:TRACE[,tpinit]tpinfo.usrname: jcaTux
2/13/12:2:30:45 PM:18:TRACE[,do_connect]> (jcaTux) com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/alloc_TDOM/14/null
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/alloc_TDOM/10/TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
2/13/12:2:30:45 PM:18:TRACE[,][/write_dom_65_tfmh/jcaTux/10/134217727
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/header calculated_size=524
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/opcode calculated_size=540
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/total calculated_size=540
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=10/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/write_dom_65_tfmh/TdomTcb=TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=540/myMark=540/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_dom_65_tfmh/110/0/
2/13/12:2:30:45 PM:18:TRACE[,][/read_dom_65_tfmh/10
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=32/myOffset=0/myMark=0/myProtocol=10/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=544
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=0/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/read_dom_65_tfmh/opcode=GWNW_XATMI_PRE_NW_ACALL1_RPLY
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/available/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/available/50/0
2/13/12:2:30:45 PM:18:TRACE[,]/read_dom_65_tfmh/bufsize=544 available=0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=512
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=32
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_security_type 0
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_security_type
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_tm_release 103
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_tm_release
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_dom_protocol 16
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_dom_protocol
2/13/12:2:30:45 PM:18:TRACE[,]]/read_dom_65_tfmh/70/0/0
2/13/12:2:30:45 PM:18:DBG[,do_connect]Remote gateway support features = 159
2/13/12:2:30:45 PM:18:DBG[,do_connect]dom_protocol = 16
2/13/12:2:30:45 PM:18:DBG[,do_connect]do LLE protocol
2/13/12:2:30:45 PM:18:DBG[,do_connect]lle buffer size = 2048
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypKeyeOne/eflags 4
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypKeyeOne/70/640
2/13/12:2:30:45 PM:18:TRACE[,][/write_tfmh/
2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
2/13/12:2:30:45 PM:18:TRACE[,][/UserTcb/_tmpresend/java.io.DataOutputStream@12e3c04/weblogic.wtc.jatmi.tch@665e81
2/13/12:2:30:45 PM:18:TRACE[,]]/UserTcb/_tmpresend/60/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote user tcm/712
2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/_tmpresend/weblogic.wtc.jatmi.tch@3fcce8
2/13/12:2:30:45 PM:18:TRACE[,]/TdomTcb/_tmpresend/opcode=20/reqid=1
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/_tmpresend/20
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote tdom tcm/792
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/Not compressed/calculated_size=792/
2/13/12:2:30:45 PM:18:TRACE[,][/write_metahdr/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=16/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_metahdr/10/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/magic=-1862035368/ltype_idx=16/tmfmh_flag=65536
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/write(b)/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=792/myMark=792/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/write/30/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tfmh/100/0/
2/13/12:2:30:45 PM:18:DBG[,do_connect]...send LLE
2/13/12:2:30:45 PM:18:TRACE[,][/read_tfmh/
2/13/12:2:30:45 PM:18:TRACE[,][/read_metahdr/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=544/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/resetting mark for next Tuxedo buffer
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=384
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=0/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
2/13/12:2:30:45 PM:18:TRACE[,]]/read_metahdr/10
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=32/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=352
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=384/myMark=32
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/read(b)/232/0/232
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/read(b)/30/232
2/13/12:2:30:45 PM:18:TRACE[,]]/read_tfmh/80/0
2/13/12:2:30:45 PM:18:DBG[,do_connect]...recv LLE_RPLY
2/13/12:2:30:45 PM:18:DBG[,do_connect]recv size = 232
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypFinishOne/
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/decodeDH2/0
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/decodeDH2/10/224
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/generateFingerprint/
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/generateFingerprint/
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypFinishOne/130/LLE_DH2_128
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setELevel(4)/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setElevel/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setLLE/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setLLE/10/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setElevel/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setElevel/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setLLE/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setLLE/10/
2/13/12:2:30:45 PM:18:TRACE[,]/dsession(0)/do_connect/ready to use LLE
2/13/12:2:30:45 PM:18:DBG[,do_connect]ready to use LLE
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setUpTuxedoAAA/
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setUpTuxedoAAA/10/return 0
2/13/12:2:30:45 PM:18:DBG[,do_connect]chan = java.nio.channels.SocketChannel[connected local=192.168.19.156/192.168.19.156:36898 remote=/192.168.19.156:8888]
2/13/12:2:30:45 PM:18:DBG[,do_connect]myXidRplyObj = null
2/13/12:2:30:45 PM:18:DBG[,rdsession]myTimeService = java.util.Timer@797bc6
2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]< (10) return
2/13/12:2:30:45 PM:18:INFO[,do_connect]TJA_0130:Established connection to remote domain Gdomtux.
2/13/12:2:30:45 PM:18:TRACE[,do_connect]< return(350) success
2/13/12:2:30:45 PM:18:TRACE[,tpinit]< return(50) success, uid = 0
2/13/12:2:30:45 PM:18:TRACE[,][/ScheduledReconnect/connectingSuccess/session = __sess_0_0
2/13/12:2:30:45 PM:18:TRACE[,]]/ScheduledReconnect/connectingSuccess/10/return
but since my web application try to do a look up, i cant get the connection factory by jndi , the descriptor is :
<resource-adapter>
<archive>
TuxedoAdapter.rar
</archive>
<transaction-support>
NoTransaction
</transaction-support>
<connection-definitions>
<connection-definition class-name="com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory"
jndi-name="java:jboss/eis/TuxedoConnectionFactory" enabled="true" use-java-context="false"/>
</connection-definitions>
</resource-adapter>
ctx = new InitialContext();
cf = (TuxedoConnectionFactory) ctx.lookup("java:jboss/eis/TuxedoConnectionFactory");
c = cf.getConnection();
Edited by: 907185 on 13/02/2012 12:01i deployed jca tuxedo in jboss and everything look good, the connexion is stablished, but when in my web appllication i try to do a lookup, the jndi dont get me the connection factory :
this is the log when im deploying de rar file :
2/13/12:2:30:44 PM:10:INFO[,registerClientSideResourceAdapter]TJA_0220:Tuxedo JCA Adapter, release 11gR1(11.1.1.2.1), resource archive version 1.1.0.0, build date: October 29 2010.
2/13/12:2:30:44 PM:10:TRACE[,TJAService]> ()
2/13/12:2:30:44 PM:10:DBG[,TJAService]xaAffinity = true
2/13/12:2:30:44 PM:10:TRACE[,TJAService]< return(10)
2/13/12:2:30:44 PM:10:TRACE[,][/TJAService/startTJAService/
2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo subcontext
2/13/12:2:30:44 PM:10:TRACE[,]create tuxedo.services subcontext
2/13/12:2:30:44 PM:10:TRACE[,]/TJAService/startTJAService/110/TC Service started...
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Configuration Helper instantiated!
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Outbound routing service instantiated!
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Task Manager instantiated!
2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]> ()
2/13/12:2:30:44 PM:10:TRACE[,TJASecurityService]< return(10)
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC security service instantiated!
2/13/12:2:30:44 PM:10:INFO[,createRemoteAccessPoints#2]TJA_0201:INFO: RemoteAccessPoint Gdomtux created.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use Local to create default session profile property CredentialPolicy.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property MinEncryptBits.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 128 to create default session profile property MaxEncryptBits.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use NONE to create default session profile property Security.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use ON_STARTUP to create default session profile property ConnectionPolicy.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 60,000 to create default session profile property BlockTime.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use false to create default session profile property Interoperate.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 3,600,000 to create default session profile property RetryInterval.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 7,208,000 to create default session profile property MaxRetries.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 2,147,483,647 to create default session profile property CompressionLimit.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 0 to create default session profile property KeepAlive.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0188:INFO: Use 10,000 to create default session profile property KeepAliveWait.
2/13/12:2:30:44 PM:10:INFO[,createDefaultSessionProfile]TJA_0189:INFO: Default session profile created.
2/13/12:2:30:44 PM:10:TRACE[,]INFO: TC Transaction service instantiated!
2/13/12:2:30:44 PM:10:INFO[,createDefaultSession]TJA_0193:INFO: Default session created between LocalAccessPoint jcaTux and RemoteAccessPoint Gdomtux.
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (QSPACETEST)
2/13/12:2:30:44 PM:10:INFO[,]factory = null
2/13/12:2:30:44 PM:10:INFO[,]name = QSPACETEST
2/13/12:2:30:44 PM:10:INFO[,]iname = QSPACETEST
2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= QSPACETEST
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@104e583
2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource QSPACETEST created.
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]> (STRING)
2/13/12:2:30:44 PM:10:INFO[,]factory = null
2/13/12:2:30:44 PM:10:INFO[,]name = STRING
2/13/12:2:30:44 PM:10:INFO[,]iname = STRING
2/13/12:2:30:44 PM:10:INFO[,]rsvc == null, create new ArrayList with key= STRING
2/13/12:2:30:44 PM:10:TRACE[,registerImportedService]< return(40) rtg com.oracle.tuxedo.adapter.config.RouteGroup@781bc7
2/13/12:2:30:44 PM:10:INFO[,createImportFromProperty]TJA_0195:INFO: Imported resource STRING created.
2/13/12:2:30:44 PM:17:TRACE[,][/ScheduledReconnect/run/Gdomtux
2/13/12:2:30:45 PM:17:TRACE[,]]/ScheduledReconnect/run/10/return
2/13/12:2:30:45 PM:18:TRACE[,][/CeInvoke/com.oracle.tuxedo.adapter.config.DMSession@1701ba3
2/13/12:2:30:45 PM:18:TRACE[,]]/CeInvoke/10
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/get_sess_sec/
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/get_sess_sec/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_dom_target_name/Gdomtux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_dom_target_name/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/set_local_domain_name/jcaTux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/set_local_domain_name/10
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setRemoteDomainId/Gdomtux
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setRemoteDomainId/10
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]disable keepalive
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kas = 0, kaExpTime = 0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaws = -1, kawExpTime = 0
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]kaState = -1
2/13/12:2:30:45 PM:18:TRACE[,setKeepAlive]< (10) return
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setKeepAliveWait/10000
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setKeepAliveWait/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAppKey/1
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAppKey/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setAllowAnonymous/true
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setAllowAnonymous/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession/setDfltAppKey/65536
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setDfltAppKey/10/
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setEncryptionFlags/39
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/setEncryptionFlags/10
2/13/12:2:30:45 PM:18:TRACE[,tpinit]>(weblogic.wtc.jatmi.TPINIT@baa0)
2/13/12:2:30:45 PM:18:TRACE[,tpinit]tpinfo.usrname: jcaTux
2/13/12:2:30:45 PM:18:TRACE[,do_connect]> (jcaTux) com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/alloc_TDOM/14/null
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession(0)/alloc_TDOM/10/TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
2/13/12:2:30:45 PM:18:TRACE[,][/write_dom_65_tfmh/jcaTux/10/134217727
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/header calculated_size=524
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/opcode calculated_size=540
2/13/12:2:30:45 PM:18:TRACE[,]/write_dom_65_tfmh/total calculated_size=540
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=10/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/write_dom_65_tfmh/TdomTcb=TDOM:GWNW_XATMI_PRE_NW_ACALL1:1:-1:0:0:0:0:0:0:0:50:null
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=540/myMark=540/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_dom_65_tfmh/110/0/
2/13/12:2:30:45 PM:18:TRACE[,][/read_dom_65_tfmh/10
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=32/myOffset=0/myMark=0/myProtocol=10/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=544
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=0/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
2/13/12:2:30:45 PM:18:TRACE[,]/tfmh/read_dom_65_tfmh/opcode=GWNW_XATMI_PRE_NW_ACALL1_RPLY
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/available/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/available/50/0
2/13/12:2:30:45 PM:18:TRACE[,]/read_dom_65_tfmh/bufsize=544 available=0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=512/myOffset=32/myMark=32/myProtocol=10/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=512
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=32
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_security_type 0
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_security_type
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_tm_release 103
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_tm_release
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/set_dom_protocol 16
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/set_dom_protocol
2/13/12:2:30:45 PM:18:TRACE[,]]/read_dom_65_tfmh/70/0/0
2/13/12:2:30:45 PM:18:DBG[,do_connect]Remote gateway support features = 159
2/13/12:2:30:45 PM:18:DBG[,do_connect]dom_protocol = 16
2/13/12:2:30:45 PM:18:DBG[,do_connect]do LLE protocol
2/13/12:2:30:45 PM:18:DBG[,do_connect]lle buffer size = 2048
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypKeyeOne/eflags 4
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypKeyeOne/70/640
2/13/12:2:30:45 PM:18:TRACE[,][/write_tfmh/
2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
2/13/12:2:30:45 PM:18:TRACE[,][/UserTcb/_tmpresend/java.io.DataOutputStream@12e3c04/weblogic.wtc.jatmi.tch@665e81
2/13/12:2:30:45 PM:18:TRACE[,]]/UserTcb/_tmpresend/60/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote user tcm/712
2/13/12:2:30:45 PM:18:TRACE[,][/write_tcm/
2/13/12:2:30:45 PM:18:TRACE[,][/TdomTcb/_tmpresend/weblogic.wtc.jatmi.tch@3fcce8
2/13/12:2:30:45 PM:18:TRACE[,]/TdomTcb/_tmpresend/opcode=20/reqid=1
2/13/12:2:30:45 PM:18:TRACE[,]]/TdomTcb/_tmpresend/20
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tcm/40/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/wrote tdom tcm/792
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/Not compressed/calculated_size=792/
2/13/12:2:30:45 PM:18:TRACE[,][/write_metahdr/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=32/myMark=32/myProtocol=16/parsedMetahdr=false
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/writeTuxedoMessage/70/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_metahdr/10/
2/13/12:2:30:45 PM:18:TRACE[,]/write_tfmh/magic=-1862035368/ltype_idx=16/tmfmh_flag=65536
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/write(b)/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/writeTuxedoMessage/
2/13/12:2:30:45 PM:18:TRACE[,]/TpeOut/writeTuxedoMessage/myNeedToWrite=792/myMark=792/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]*]/TpeOut/writeTuxedoMessage/40/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/write/30/
2/13/12:2:30:45 PM:18:TRACE[,]]/write_tfmh/100/0/
2/13/12:2:30:45 PM:18:DBG[,do_connect]...send LLE
2/13/12:2:30:45 PM:18:TRACE[,][/read_tfmh/
2/13/12:2:30:45 PM:18:TRACE[,][/read_metahdr/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=544/myMark=544/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/resetting mark for next Tuxedo buffer
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=32
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=32/myMark=0
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/size=384
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/false
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=0/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/50/true
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/150/true
2/13/12:2:30:45 PM:18:TRACE[,]]/read_metahdr/10
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/readTuxedoMessage/true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=352/myOffset=32/myMark=32/myProtocol=16/parsedMetahdr=true
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/toRead=352
2/13/12:2:30:45 PM:18:TRACE[,]/TpeIn/readTuxedoMessage/myNeedToRead=0/myOffset=384/myMark=32
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/readTuxedoMessage/120/true
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/read(b)/232/0/232
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/read(b)/30/232
2/13/12:2:30:45 PM:18:TRACE[,]]/read_tfmh/80/0
2/13/12:2:30:45 PM:18:DBG[,do_connect]...recv LLE_RPLY
2/13/12:2:30:45 PM:18:DBG[,do_connect]recv size = 232
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/crypFinishOne/
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/decodeDH2/0
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/decodeDH2/10/224
2/13/12:2:30:45 PM:18:TRACE[,][/tplle/generateFingerprint/
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/generateFingerprint/
2/13/12:2:30:45 PM:18:TRACE[,]]/tplle/crypFinishOne/130/LLE_DH2_128
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setELevel(4)/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setElevel/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeIn/setLLE/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeIn/setLLE/10/
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setElevel/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setElevel/10/0
2/13/12:2:30:45 PM:18:TRACE[,][/TpeOut/setLLE/
2/13/12:2:30:45 PM:18:TRACE[,]]/TpeOut/setLLE/10/
2/13/12:2:30:45 PM:18:TRACE[,]/dsession(0)/do_connect/ready to use LLE
2/13/12:2:30:45 PM:18:DBG[,do_connect]ready to use LLE
2/13/12:2:30:45 PM:18:TRACE[,][/dsession(0)/setUpTuxedoAAA/
2/13/12:2:30:45 PM:18:TRACE[,]]/dsession/setUpTuxedoAAA/10/return 0
2/13/12:2:30:45 PM:18:DBG[,do_connect]chan = java.nio.channels.SocketChannel[connected local=192.168.19.156/192.168.19.156:36898 remote=/192.168.19.156:8888]
2/13/12:2:30:45 PM:18:DBG[,do_connect]myXidRplyObj = null
2/13/12:2:30:45 PM:18:DBG[,rdsession]myTimeService = java.util.Timer@797bc6
2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]> () com.oracle.tuxedo.adapter.tdom.ResponderSession@0
2/13/12:2:30:45 PM:18:TRACE[,dmqDecision]< (10) return
2/13/12:2:30:45 PM:18:INFO[,do_connect]TJA_0130:Established connection to remote domain Gdomtux.
2/13/12:2:30:45 PM:18:TRACE[,do_connect]< return(350) success
2/13/12:2:30:45 PM:18:TRACE[,tpinit]< return(50) success, uid = 0
2/13/12:2:30:45 PM:18:TRACE[,][/ScheduledReconnect/connectingSuccess/session = __sess_0_0
2/13/12:2:30:45 PM:18:TRACE[,]]/ScheduledReconnect/connectingSuccess/10/return
but since my web application try to do a look up, i cant get the connection factory by jndi , the descriptor is :
<resource-adapter>
<archive>
TuxedoAdapter.rar
</archive>
<transaction-support>
NoTransaction
</transaction-support>
<connection-definitions>
<connection-definition class-name="com.oracle.tuxedo.adapter.spi.TuxedoManagedConnectionFactory"
jndi-name="java:jboss/eis/TuxedoConnectionFactory" enabled="true" use-java-context="false"/>
</connection-definitions>
</resource-adapter>
ctx = new InitialContext();
cf = (TuxedoConnectionFactory) ctx.lookup("java:jboss/eis/TuxedoConnectionFactory");
c = cf.getConnection();
Edited by: 907185 on 13/02/2012 12:01 -
Reg. JNDI error when starting monitor server
Hi all,
I am installing CCMS for our CRM4.0 Server. At one point of the installation, it asks to start the monitor server. When I start the monitor.bat it throws a error saying "<b>Cannot Connect to Cluster , beacuse of null. ID003814 : JNDI exception in getinitialContext of InitialContextFactoryImpl</b>".
Can anyone please throw some light on this?
Thanks in advance,
Krishna Karthik PStop the existing IS & AS as root or kill the (ois_server,aaa_server) process manually since the pid, pid_watchdog process are catch hold by root user. Logon as normal oracle user and issue the command start_ois_sever_nptl.
Maybe you are looking for
-
Hi Experts, Can anyone help me out... in keeping the Check box at the Header Level..... This requirement is in the copy of the standard transaction "ME2N". 1. In ME2N when you click on the Chage Layout button of ALV grid and choose "S
-
Trying to get G4 Quicksliver up and running again
hey guys I have a Quicksliver 2002 version and it stopped working after a really big storm I think lighting struck the power or something like that. Anyway I have ben slowly buying parts to fix it at first it was the power supply so I got that becaus
-
So one Day I was playing around and decided to right-click at the top of the window (Were you put web adresses and stuff) and I saw that it had the options to uncheck the "Navigation bar", "Tool bar" and "Bookmarks" so like the stupid person I am I u
-
Hi does Snow Leopard have DNS & DHCP services in it ? how to make those role run and configure them ? and how to make a server a domain controller "silly Windows History in my mind"
-
Can't get rid of Trial Subscription
I had a single-user subscription to CS6 up until a few months ago when my office bought CS6 for Enterprise. I uninstalled all my old CS6 programs (Mac) and re-loaded them again with the new subscription, including Muse. Muse looked like it loaded f