Sorry, I didn't read the original problem, I just responded to a
solution to try to clarify that solution.

I'm a bit confused.

1) For my jboss.properties in 2.4.3 it is all commented out, I doubt
jboss knows your server is called cassia?
2) The codebase is actually on port 8083, but JBoss handles this for
you. You don't need that any more.
3) You cannot use java.rmi.server.useLocalHost and
java.rmi.server.hostname at the same time.
Specifying the hostname means useLocalHost is ignored.

4) This is the real problem! You show jnp-client.jar and the jboss
naming packages in jndi.properties.
But your error has com.sun.enterprise.naming
This suggests the jboss naming is ignored. Instead you are using
config from Sun's j2ee.

I suspect you have a jndi.properties somewhere else in your classpath.

Regards,
Adrian

>From: "G.L. Grobe" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>CC: "Adrian Brock" <[EMAIL PROTECTED]>, "JD Brennan" 
><[EMAIL PROTECTED]>
>Subject: Re: [JBoss-user] Can't find SerialContextProvider
>Date: Fri, 15 Mar 2002 16:39:01 -0600
>
>RE: [JBoss-user] Can't find SerialContextProviderWell, I'm running 
>JBoss-2.4.3_Tomcat-4.0 and it seems jboss has set these for me already to 
>the hostname ...
>
># System properties
># These will be loaded and set by jBoss
>java.rmi.server.useLocalHostName=true
>java.rmi.server.hostname=cassia
>java.rmi.server.codebase=http://cassia:8080/
>
>I also added to my client node in the c:\WINNT\system32\drivers\etc\hosts 
>file the ip and name of my server.
>
>Any help/ideas appreciated.
>
>----- Original Message -----
>   From: JD Brennan
>   To: 'G.L. Grobe'
>   Cc: [EMAIL PROTECTED]
>   Sent: Friday, March 15, 2002 11:19 AM
>   Subject: RE: [JBoss-user] Can't find SerialContextProvider
>
>
>   JBoss 2.4.4 default configuration returns localhost for
>   all lookups.  Modify the jboss.properties file.
>   There's some commented out stuff at the top.
>
>   I set java.rmi.server.hostname to my hostname and then
>   could access the server remotely.
>
>   JD
>
>   -----Original Message-----
>   From: G.L. Grobe [mailto:[EMAIL PROTECTED]]
>   Sent: Thursday, March 14, 2002 5:50 PM
>   To: [EMAIL PROTECTED]
>   Subject: [JBoss-user] Can't find SerialContextProvider
>
>
>
>   I've seen other posts about this topic, but they all suggest adding the
>   proper jar to the classpath. I've got a client which runs fine locally 
>to
>   jboss, but now that I'm testing it over on a separate machine, I get the
>   following.
>
>   I've followed as best I can to the section on 'coding and compiling the 
>test
>   client'.
>
>   Any help much appreciated.
>
>   --- jndi.properties ---
>   # note ... 192.168.0.10 is where my jboss server is running.
>
>   java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
>   java.naming.provider.url=jnp://192.168.0.10:1099
>   java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
>   # Do NOT uncomment this line as it causes in VM calls to go over
>   # RMI!
>   #java.naming.provider.url=localhost
>
>   --- I have the following files in my clients classpath ---
>
>   jaas.jar
>   jboss-client.jar
>   jboss.jar
>   jbosssx-client.jar
>   jnp-client.jar
>   oswego-concurrent.jar
>
>   --- output ---
>
>   javax.naming.CommunicationException: Can't find SerialContextProvider
>   at com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.jav
>   a:63)
>   at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
>   )
>   at javax.naming.InitialContext.lookup(InitialContext.java:350)
>   at com.neuroquest.cais.clients.builder.Builder.createSubscription(Builde
>   r.java:95)
>   at com.neuroquest.cais.clients.builder.Builder.main(Builder.java:173)
>
>   --- more info ----------------
>
>   The client runs fine when it's on the same box as the server, but once 
>moved
>   to another box ... there seems to be a jndi problem of some sort.
>
>   On my server it's as follows ...
>   ---
>   mybox(ACAIS):~/acais$ java -version
>   java version "1.3.0"
>   Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
>   Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)
>
>   And on my client machine ...
>   ---
>   C:\TEMP>java -version
>   java version "1.3.0"
>   Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
>   Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
>
>
>
>   _______________________________________________
>   JBoss-user mailing list
>   [EMAIL PROTECTED]
>   https://lists.sourceforge.net/lists/listinfo/jboss-user
>




_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to