Hi All,
I am posting solutions to various issues that I have faced so as to benefit all. Please feel free to post ur comments/suggestion to any solution.
Problem #1) Weblogic Remote JNDI Lookup
We often face problems with ClassCastException, ClassNotFoundException, Incompatible Class Version while doing a remote lookup for JNDI objects.
The default client jars often do not satisfy remote lookups in all the scenarios.
Solution:
Starting weblogic 10.3 , you can generate a complete client (java 1.6) using :
1. Change directory to WL_HOME/server/lib
2. Run Command java -jar wljarbuilder.jar
3. This will generate wlfullclient.jar. Use this in your client classpath.
If you are using 1.5 , you can generate the client using
java -jar wljarbuilder.jar -profile wlfullclient5
For more details
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/client/jarbuilder.html
Tuesday, December 22, 2009
J2EE Problems and Solutions
Labels:
j2ee,
java,
jee,
jee5,
JNDI,
Lookup,
Remote,
weblogic,
wljarbuilder,
wljarbuilder.jar
Subscribe to:
Posts (Atom)