aspose file tools*
The moose likes BEA/Weblogic and the fly likes Iplanet and WL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Iplanet and WL" Watch "Iplanet and WL" New topic
Author

Iplanet and WL

Eric lau
Greenhorn

Joined: Jan 21, 2002
Posts: 27
How to invoke EJB on WL6.1 from Iplanet client,Can give me a example of client?


I come from China
Eric lau
Greenhorn

Joined: Jan 21, 2002
Posts: 27
I write a client jsp as low:
javax.naming.Context ctx;
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.T3InitialContextFactory");
p.put(Context.PROVIDER_URL,"t3://localhost:7001");
ctx = new javax.naming.InitialContext(p);
testIplanet.testIplanetHome home = (testIplanet.testIplanetHome)ctx.lookup("testIplanet");
testIplanet.testIplanetRemote bean = (testIplanet.testIplanetRemote)home.findByPrimaryKey("121");
but return wrong :
javax.naming.CommunicationException [Root exception is java.net.ConnectException: No server found at T3://localhost:7001]
The server localhost:7001 have be startup,and it work!
btw ,the client jsp is locate Iplanet Server
Eric lau
Greenhorn

Joined: Jan 21, 2002
Posts: 27
and I see the log in weblogic:
<2002-2-27 上午10时36分15秒> <Error> <NT Performance Pack> <failure in processSo
ckets() - GetData: 'weblogic.socket.GetData@4e94a4 - fd: '2068', numBytes: '1287
''
java.util.EmptyStackException
at weblogic.utils.collections.Stack.pop(Stack.java:72)
at weblogic.rjvm.InboundMsgAbbrev.getAbbrev(InboundMsgAbbrev.java:85)
at weblogic.rjvm.MsgAbbrevInputStream.readImmutable(MsgAbbrevInputStream
.java:172)
at weblogic.rjvm.MsgAbbrevInputStream.readClassDescriptor(MsgAbbrevInput
Stream.java:186)
at weblogic.common.internal.ChunkedObjectInputStream$NestedObjectInputSt
ream.readClassDescriptor(ChunkedObjectInputStream.java:290)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:906)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:107)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:115)
at weblogic.rjvm.ConnectionManager.readPeerInfo(ConnectionManager.java:6
85)
at weblogic.rjvm.ConnectionManagerServer.handleIdentifyRequest(Connectio
nManagerServer.java:255)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:619)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:638)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:
24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Giridhar Pendyala
Greenhorn

Joined: Aug 16, 2002
Posts: 6
Hi,
I am now facing exactly the same problem. Could you please give me the solution (if you've found one)?
Thanks
Karan V Praba
Ranch Hand

Joined: Oct 31, 2002
Posts: 41
Hai All,
please check jdk version of both client side and Server side.Both should have same version of JVM.


Karan V Praba.
Smitha Ajay
Greenhorn

Joined: Feb 07, 2003
Posts: 9
I have the same jdk versions...but still am getting an error as i have posted on the forum earlier - while doing a JNDI lookup from iplanet to an EJB on weblogic server.
Could anyone help?
Do mail at smitha_ajay@yahoo.com for any suggestions.
Thanks in advace
Smitha
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Iplanet and WL
 
Similar Threads
Iplanet & Weblogic app server
WAS 4.0 plugin-cfg parsing error
JAX-RPC and iPlanet 6.0 Web Server
Http, Https and sessions
How to log System.out.println in iplanet ?