You are tyring to use the RMI Naming API rather than the JNDI
InitialContext.
----- Original Message -----
From: "Robert Martin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 23, 2002 4:13 PM
Subject: [JBoss-user] Newbie Naming.lookup question
> Hi -
>
> I'm just starting to try out JBoss and I'm having some problems just doing
a
> simple name lookup. I've confirmed that JBoss 3.0 is running without any
> errors in its startup log. I have successfully deployed a simple test
> bean to the server. I have a tiny little client application that is
> basically just trying to make a call to a test bean on the server. Here
is
> the snippet of code that is failing:
>
> ---
>
> TestHome home = Naming.lookup("testBean");
>
> ---
>
> Here is the exception I get:
>
> java.rmi.MarshalException: Transport protocol not supported by server
> at
> sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:208)
> at
> sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:318)
> at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
> at java.rmi.Naming.lookup(Naming.java:84)
> at com.fq.client.TestClient.main(TestClient.java:14)
>
> Can anyone point me in the right direction? I've tried this with Jboss
> running on both a Linux box and a Windows box - jdk1.4.1 and jdk1.3.1
> respectively. Thanks.
>
> Robert
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user