Author |
Message
|
vmanbc |
Posted: Fri Jun 01, 2007 8:05 am Post subject: java.lang.NoClassDefFound com.sun.jndi.toolkit.chars.Charact |
|
|
 Novice
Joined: 28 May 2007 Posts: 12
|
I have a web app deployed on Webshpere running on AIX with MQ 5.3, for some reason when my application attempts to create the InitialContext, the following is thrown: Any Ideas? BTW this is only happening on AIX
Platform Info:
Webshere 5.1, AIX 5.3, MQ 5.3
java.lang.NoClassDefFoundError: com.sun.jndi.toolkit.chars.CharacterEncoder
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
at com.sun.jndi.fscontext.RefFSContextFactory.createContext(RefFSContextFactory.java:42)
at com.sun.jndi.fscontext.RefFSContextFactory.createContextAux(RefFSContextFactory.java:47)
at com.sun.jndi.fscontext.FSContextFactory.getInitialContext(FSContextFactory.java:49)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:257)
at javax.naming.InitialContext.init(InitialContext.java:233)
at javax.naming.InitialContext.<init>(InitialContext.java:209)
Thanks in advance |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jun 01, 2007 11:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
which platform / ccsid was the .bindings file created on / with.
What is the code page /ccsid of the consumber ( your AIX) _________________ MQ & Broker admin |
|
Back to top |
|
 |
rparti |
Posted: Fri Jun 01, 2007 11:46 am Post subject: |
|
|
 Voyager
Joined: 05 Oct 2005 Posts: 86 Location: U.S.A.
|
You need to include the necessary jar files and set classpath to include the jar files as well. |
|
Back to top |
|
 |
vmanbc |
Posted: Fri Jun 01, 2007 2:48 pm Post subject: |
|
|
 Novice
Joined: 28 May 2007 Posts: 12
|
Thanks for the replies, all the jars are currently in the classpath. Im wondering if this is a permission of JVM issue?
In response to the below questions, how do I determine these, IE what commands can I run?
which platform / ccsid was the .bindings file created on / with.
What is the code page /ccsid of the consumber ( your AIX)
Regards
V |
|
Back to top |
|
 |
vmanbc |
Posted: Mon Jun 04, 2007 2:46 pm Post subject: |
|
|
 Novice
Joined: 28 May 2007 Posts: 12
|
Any additional suggestion on this problem?
Appreciate the feedback  |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 04, 2007 2:49 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
you are looking at JNDI with a file system context:
Quote: |
at com.sun.jndi.fscontext.RefFSContextFactory.createContext(RefFSContextFactory.java:42)
at com.sun.jndi.fscontext.RefFSContextFactory.createContextAux(RefFSContextFactory.java:47)
at com.sun.jndi.fscontext.FSContextFactory.getInitialContext(FSContextFactory.java:49)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:675) |
So sombody had to create the .bindings file referenced in the Provider_URL for your context...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|