Hello Everyone,

I am trying to get my stand alone client to work with my recently deployed
simple bean that uses a DB2 database.  The questions I have, below, are
based on assumptions I am making after having worked with Sun's J2EE
Reference Implementation:

1. When I deploy the jar file, is that the same jar file I am using for the
client's classpath?
2. What is my "InitialContext" code supposed to look like?  I have used the
following but it produces the associated exception at run-time (in the
Client not in JBoss):

// Code ...
Context ic = new InitialContext();
Object objref = ic.lookup("beanExample");

SimpleTestClient.main(SimpleTestClient:38)javax.naming.CommunicationExceptio
n: Can't find SerialContextProvider
        at
com.sun.enterprise.naming.SerialContext.getProvider(SerialContext.java:60)
        at
com.sun.enterprise.naming.SerialContext.<init>(SerialContext.java:79)
        at
com.sun.enterprise.naming.SerialInitContextFactory.getInitialContext(SerialI
nitContextFactory.java:54)
        at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:668)
        at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
        at javax.naming.InitialContext.init(InitialContext.java:222)
        at javax.naming.InitialContext.<init>(InitialContext.java:178)
        at SimpleTestClient.main(SimpleTestClient.java:17)

3. Is there any documentation on using JMX?  I have been unable to get it to
work correctly and would appreciate a straight forward
"initial-walk-through-document" that explains whats there and how to use it.

Any help is very much appreciated.  Thank you in advance.
John


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to