Thread View: borland.public.jbuilder.java.language
2 messages
2 total messages
Started by Adam
Thu, 23 Feb 2006 03:30
what's wrong?
Author: Adam
Date: Thu, 23 Feb 2006 03:30
Date: Thu, 23 Feb 2006 03:30
23 lines
1824 bytes
1824 bytes
javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory ] at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) at javax.naming.InitialContext.init(InitialContext.java:219) at javax.naming.InitialContext.<init>(InitialContext.java:195) at HelloClient.main(HelloClient.java:24) Caused by: java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649) ... 4 more Exception in thread "main" Please help me check what's wrong? My system:JBuilder2006, weblogic 8.1 server. THANK YOU
Re: what's wrong?
Author: Paul Furbacher [TeamB]
Date: Thu, 23 Feb 2006 21:23
Date: Thu, 23 Feb 2006 21:23
34 lines
2156 bytes
2156 bytes
Adam wrote:
> javax.naming.NoInitialContextException: Cannot instantiate class:
> weblogic.jndi.WLInitialContextFactory [Root exception is
> java.lang.ClassNotFoundException: weblogic/jndi/WLInitialContextFactory ]
> at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:652)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
> at javax.naming.InitialContext.init(InitialContext.java:219)
> at javax.naming.InitialContext.<init>(InitialContext.java:195)
> at HelloClient.main(HelloClient.java:24)
> Caused by: java.lang.ClassNotFoundException:
> weblogic/jndi/WLInitialContextFactory
It would seem to be a problem of not having a required library
in place. That is usually the cause of a ClassNotFoundException.
But since I haven't worked with Weblogic in several
years, I cannot really say anything more specific.
--
Paul Furbacher (TeamB)
Save time, search the archives:
http://info.borland.com/newsgroups/ngsearch.html
Is it in Joi Ellis's Faq-O-Matic?
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Finally, please send responses to the newsgroup only.
That means, do not send email directly to me.
Thank you.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads