This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.

Dave Hinkle

Greenhorn
+ Follow
since Jan 06, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Dave Hinkle

Argh, I've figured out why I'm getting the CNFE.

My JMSProvider configuration in wlsjms-ds.xml, which calls out weblogic.jndi.WLInitialContextFactory, had spaces at the end of the line.

What tipped me off were the line like these from the Classloader logging:



The spaces between weblogic/jndi/WLInitialContextFactory and .class was the tip off.

As to the blacklisting, it appears that this happens when the classloader attempts to load the class and gets a CNFE (simplified explanation of it I guess).

So, now off to figure out why I can't get the bridge to work with just wlclient.jar and wljmsclient.jar...

I'll post more as I figure it out.

Thanks,
Dave
14 years ago
Thanks for the response Jaikiran,

Yes, usually the fixes are merged in the next relevant version of the community AS.



Are the fixes available in the SVN repository, or do I have to wait for them to be merged?

Anyone else care to share how they keep the OSS version current or patched in their environments? I'm just now starting to introduce this into my workplace, and need some guidence on how to keep current...

Thanks,
Dave
14 years ago
Hi all,

I'm attempting to define a JBoss to Weblogic bridge, and having a tough time of it.

I get a CNFE (java.lang.ClassNotFoundException) attempting to load the weblogic.jndi.WLInitialContextFactory class.

My environment is this:


Linux CentOS v5.4
JBoss 5.1.0GA installed from jboss-5.1.0.GA-jdk6.zip, running a copy of "default" JBoss server configuration.
java version "1.6.0_17"
Weblogic 8.1 SP3 running under Java v1.4 on a different host.



I've tried just deploying my app-bridge-service.xml file with the Weblogic wlclient.jar and wljmsclient.jar in the server/xxx/lib directory.
I've tried packaging my app-bridge-service.xml and the above jars into a .jar file (and removing the wl*.jar files from server/xxx/lib directory) and still get the same issue.
The app-bridge.jar structure looks like this:


META-INF/
META-INF/MANIFEST.MF
lib/
lib/wlclient.jar
lib/wljmsclient.jar
app-bridge-service.xml



Below is the JBoss console output from my app-bridge.jar testcase:



My Weblogic JMS provider is configured as such:



My bridge is configured as such:



I've setup Classloader logging, and below are excerpts (grep WLInitial ucl.log) of what I see (this file is huge, let me know if you need more detail):



What caught my eye in the above was this statement:

[996607,BaseClassLoader,Thread-18] BaseClassLoader@11903ab{vfszip:/home/dh3235/jboss/bridge/deploy/app-bridge.jar/} resource is blacklisted weblogic/jndi/WLInitialContextFactory .class

I haven't been able to figure out how to un-blacklist this and make it work (though I have seen thru the JMX console that I can unblacklist a class, and have tried that, but I still get the CNFE). Not sure if I'm on the right track here or not... If I am, is there any good docs on Classloader blacklisting? My googling hasn't produced anything of value...

So, I'm reaching out for help here.

Thanks,
Dave

14 years ago
Hi all,

How do folks go about patching the Open Source version of JBoss 5.1? Are the fixes made to the EAP version backfilled into the OSS version?

I'm interested in hearing how folks that use the OSS version in production resolve issues. Do they make their own patches? Get the latest from SVN?

I'm just starting down the road of getting JBoss into our environment, and haven't been able to find a good answer to the above questions...

Thanks in advance,
Dave
14 years ago