nicole loh

Greenhorn
+ Follow
since Feb 10, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by nicole loh

ok, I found it. Thanx
20 years ago
Hi,
I have a standalone program have to lookup the jndi service for the EJB in websphere.
I always get what the port number is by looking at the statement 'RMIConnectorC A ADMC0026I: RMI Connector available at port 2809' in the SystemOut.log in the server's log directory.
But now the application is deployed in unix. I can't find the mentioned statement in the SystemOut.log. May I know if there's any other way that I can check the rmi port number opened on that server? is it possible to get it in the admin console?
I tried to run netstat on the mentioned server, but it's quite difficult to determine which port is the opened for the rmi connector.
where can I check for it?

Thanx
Regards,
nicole
20 years ago
Sorry....the exception I posted is wrong..... this is the actual exception I got:
javax.naming.ConfigurationException: Malformed provider URL: corbaloc:iiop:loc
host
at com.ibm.ws.naming.util.WsnInitCtxFactory.parseBootstrapURL(WsnInitC
Factory.java:1422)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(
nInitCtxFactory.java:368)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:
8)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
20 years ago
Hi,
there is an exception thrown when I try to run a standalone application look up the jndi in websphere. I really have no clue what the cause is, is there anyone can provide some advice? thanks !!
The exception is as below:
Exception in thread "main" java.lang.NoClassDefFoundError: org/omg/CosNaming/Nam
ingContextExtOperations
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
6)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at com.ibm.websphere.naming.WsnInitialContextFactory.getInitialContext(W
snInitialContextFactory.java:104)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
60)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241
)
at javax.naming.InitialContext.init(InitialContext.java:217)
20 years ago