Using java.util.logging in BEA Weblogic

This blog has moved to http://frankkieviet.blogspot.com

Comments:

Given your experience with WLS what is the best way to connect to JMS Grid? Bea has their concept of foreign JMS Servers which is very easy to setup. It supports testing of the connection, reconnection and connection pooling. Using JMSJCA would give a few extra features but I assume it wouldn't be supported either by Bea or Sun.

Currently we are using WLS 8.1 which isn't working at all when connection pooling is used.

Posted by Roger P on April 10, 2007 at 03:42 AM PDT #

Hi Roger,

You can use JMSJCA if you're using WebLogic 9.0 or better, and in that case I recommend this approach. Although I cannot speak with authority, I do think that it is possible to get support from Sun on this combination since we do support CAPS on WebLogic 9.0 and up.

WebLogic 8.1.6 does not support J2EE 1.4 and in that case you probably should use the foreign JMS capabilities of WebLogic. I ran into some issues with this though: WebLogic takes some liberty with the JMS spec that some JMS servers have trouble with, e.g. the multi-threaded access of JMS sessions and XAResource-s. WebLogic also makes some assumptions about the behavior of JMS servers that is causing some problems with some JMS implementations, e.g. WebLogic assumes that a queue receiver on a connection that was started, will not cache any messages if there is no active receive() call.

Frank

Posted by Frank Kieviet on April 10, 2007 at 11:06 AM PDT #

Do you have any exmple of how to send TextMessage from openESB (using jms binding) to weblogic jms queue?

thanks in advance!!

Eliad.

Posted by eliad on August 22, 2007 at 08:34 PM PDT #

Re Eliad,

You can simply specify a WL url in the JMS binding, e.g. t3://server:7001.

Frank

Posted by Frank Kieviet on August 23, 2007 at 03:11 PM PDT #

Hi there,
I just read through your article and thought you could help me out in the following:

"How do we either purge, or turn off the connect_null.log created in Weblogic?"

You prompt reply would be highly appreciated,

Thanks
regards
Narender

Posted by Narender Ranganathan on September 11, 2007 at 10:01 AM PDT #

Re Narender:

Sorry, I don't know. I don't recall anything about "connect_null.log".

Frank

Posted by Frank Kieviet on September 13, 2007 at 03:49 AM PDT #

whether java 1.6 version support weblogic 8.1 version or not

Posted by jaideep on February 22, 2008 at 08:45 PM PST #

re:whether java 1.6 version support weblogic 8.1 version or not

Yes it does support from my knowledge

cheers
Narender

Posted by Narender on April 03, 2008 at 08:50 AM PDT #

Hey, thanks for this post. I used it as the basis for doing what you suggest in WebLogic 11g.

weblogic.common.T3StartupDef has been deprecated so if anyone wants working code like you see above that works with WebLogic 11g, you can grab it from my post on Migrating to WebLogic - Use java.util.logging.Logger at http://disaak.blogspot.com/2009/11/migrating-to-weblogic-use.html

Posted by Donald Isaak on November 11, 2009 at 07:00 AM PST #

Excellent post Frank. Your fix is what I needed to get out of the nasty work of replacing logger.finest() with System.out.println() for debugging purposes. You can imagine how thankful I am to you for this blog.

Posted by Vinod Pillai on December 04, 2009 at 01:34 AM PST #

I am using Weblogic 8.1. We have clustered environment having that many nodes. At a time application executes on one of the node. Within application we have implemented JMS Queue. The message are getting processed using JMS queues. Now the problem is that these messages are getting processed on same node while other nodes are idle. Means tah if I have 100 messages and I have configured 10 consumers then the node is processing 10 messages at a time instead of 30 messages considering I have 3 nodes.

Posted by Hiren Dedhia on January 23, 2010 at 04:00 PM PST #

Post a Comment:
Comments are closed for this entry.
About

fkieviet

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today