Information on the Weblogic JMS behaviour
Hi,
The WL(5.1,SP6) JMS specification says
"A Session created with CLIENT_ACKNOWLEDGE relies on the client to call an acknowledge
method on a received message. Once this method is called, the Session acknowledges
all messages received since the last acknowledgement. This allows the client to receive
and process a batch of messages and then acknowledge them all with one call."
This means that if there are messages m1,m2,m3 in the queue, I can receive all the
messages and by acknowledging the third message, i acknowledge the other two.
My requirement is that I should not lose any messages. So is there any way i can
preserve the other two in the Queue.
Thanks
Kiran
Hi Kiran,
See in-line.
Kiran Pratap wrote:
> Hi,
>
> The WL(5.1,SP6) JMS specification says
> "A Session created with CLIENT_ACKNOWLEDGE relies on the client to call an acknowledge
> method on a received message. Once this method is called, the Session acknowledges
> all messages received since the last acknowledgement. This allows the client to receive
> and process a batch of messages and then acknowledge them all with one call."
>
> This means that if there are messages m1,m2,m3 in the queue, I can receive all the
> messages and by acknowledging the third message, i acknowledge the other two.
>
> My requirement is that I should not lose any messages. So is there any way i can
> preserve the other two in the Queue.
>
You are not losing messages - your app has seen them. But anyway, there is no
simple way to do this. For a couple of ideas, check out
http://e-docs.beasys.com/wls/docs61/faq/jms.html#252701
(I'm not sure if WL 5.1 supports suspending transactions, so the transactional approach
may not work...)
FYI: Just to make the issue anti-intuitive ;-), the JMS spec requires that all messages
the session
has received, not just the messages before the given message, be acknowledged when a
message is acknowledged. This was determined in a clarification with javasoft.
WebLogic 5.1 does not do this but continues to do "ack-prev". WebLogic 6.x+ does
"ack-all",
but is tunable on the connection factory (acknowledge-all vs. acknowledge-prev option),
the WL 6.x legacy default connection factories (from 5.1) also do "ack-prev".
Tom
>
> Thanks
> Kiran
Similar Messages
-
Does the Weblogic JMS implementation use the Time-To-Live values?
I am trying to send a message to a Queue with a time-to-live. The only way that
I can get this to work is by going into the console, and setting a default value
on either the Queue or the connection factory. But this is not the behavior I
want. I would like to do this programmatically instead so it can be property
driven and a Sys Admin can change it easily.
I downloaded the JMS spec and saw that you are supposed to set the time to live
when calling the MessageProducer's send message. I did this, but it doesn't work.
Is anybody else having this problem? Does Weblogic's JMS implementation just
ignore this value? Or do I have my Queues and other JMS components set up incorrectly?
P.S. All of my time-to-live overrides are set to -1 in the console, so my time
to live set in the program should be respected.
Tom,
I was able to track it down to a programming error. Thanks for your help.
Dan
Tom Barnes <[email protected]> wrote:
>Hi Daniel,
>
>Yes, client-specified message expiration works. I suspect
>a programming error. First take a look and make sure that you are
>not making the common mistake of trying to set the value
>directly on the message, rather than on the producer - as per
>the JMS spec and JMS javadoc, setting this value directly
>on message will have no effect as the producer's value
>will always override it. If this isn't the case,
>please post your code and I'll take a look.
>
>FYI Note that all management fields can be programmatically
>set as well. Since you want programmatic administrative
>control, this means that you have the option of
>programmatically configuring the destination's time-to-live
>override field if you so wish.
>
>Tom
>
>Daniel Livesay wrote:
>
>> I am trying to send a message to a Queue with a time-to-live. The
>only way that
>> I can get this to work is by going into the console, and setting a
>default value
>> on either the Queue or the connection factory. But this is not the
>behavior I
>> want. I would like to do this programmatically instead so it can be
>property
>> driven and a Sys Admin can change it easily.
>>
>> I downloaded the JMS spec and saw that you are supposed to set the
>time to live
>> when calling the MessageProducer's send message. I did this, but it
>doesn't work.
>> Is anybody else having this problem? Does Weblogic's JMS implementation
>just
>> ignore this value? Or do I have my Queues and other JMS components
>set up incorrectly?
>>
>> P.S. All of my time-to-live overrides are set to -1 in the console,
>so my time
>> to live set in the program should be respected.
>
-
Using WebLogic JMS Wrappers with Spring
Hi,
I was just wondering if anyone used WebLogic JMS wrappers with Spring?
I am using WebLogic configured to have Sonic as my Foreign JNDI Provider. Weblogic provide me with specific entries on the admin console to set information such as the JNDI name of the Sonic Connection Factory. If I specify this JNDI name in the Spring config, and call getConnection() then I will get back a new connection each time.
I don't want this, I want to cache the connection (as connections are expensive in Sonic). This is where the WebLogic JMS wrappers come in, they can handle the pooling for me but the only way I can see to use them is via a resource-ref. It is possible for Spring to get a handle onto these wrappers or should I use Spring's own pooling mechanism instead?
P.S. I've also asked this question on the Spring forum
Thanks for any help
MandyMaybe you have already tried the following:
<beans xmlns:jee="http://www.springframework.org/schema/jee" ... >
<jee:jndi-lookup id="connectionFactory" jndi-name="jms.ConnectionFactory">
<jee:environment>
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://localhost:7001
</jee:environment>
</jee:jndi-lookup>
</beans>
an alternative is to use the JNDI template
<beans ... >
<bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
<property name="environment">
<props>
<prop key="java.naming.factory.initial">weblogic.jndi.WLInitialContextFactory</prop>
<prop key="java.naming.provider.url">t3://localhost:7001</prop>
</props>
</property>
</bean>
<bean id="connectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiTemplate" ref="jndiTemplate" />
<property name="jndiName"><value>jms.ConnectionFactory</value></property>
</bean>
</beans> -
IS XI Support BEA Weblogic JMS Queue
Hi
I have a scenario where i have to send and recive message from the Weblogic JMS Queue ..
Is XI support Weblogic JMS Queue ..if it is which tranport protocol i have to use to connect to Weblogic queue
SVHi
Thanks Ravi..
U mean to say i have to use the Transport Protocol
Access JMS Provider with JNDI
I have few more questions like ..
what needs to filled in Connection parameters:
JNDI Look up name of Queue Connection Factory:
JNDI Look up name of JMS Queue:
Name of JNDI Initial Context Factory:
JNDI Sever Address:
JNDI Logon User:
JNDI Logon Password:
When i selected the Protocol some default Values came in do i have have to change any thing
JNDI Look up name:
JNDI Look up name of JMS Queue:
Name of JNDI Initial Context:
as u mentioned in Server address i will put : t3://server:XXX
and i have given the user id and Password ..
the user id and password is same for both JNDI logon and JMS Queue User..
SV -
I am writing a bean that reads a message from MQ (using MQJMS) and then write it
onto a WebLogic JMS ( something lika a bridge). However I don't want to use bridge.
Question/Problem Statement:
Once I include mq jms jar files in class path. Would that in conflict with WebLogic
JMS. How do in my program I make sure that it is using the MQ or WLS JMS implementation.
I can have InitialContext() setup for mq in File and for WebLogic it is WebLogic's
Initial Context. Thats is the only thing that I can tell in the program.
Basically, I am trying to see what will make it ( fully qualified JMS Objects
or what) decide which implmenatation to use.
Chris
The WebLogic JMS and MQSeries JMS classes won't conflict. Each JMS provider
provides different classes that implement the same interfaces, so you can
have a whole bunch of providers in your classpath and things should be OK.
Most code that's written to the JMS API (including the code inside WLS that
receives messages for MDBs) gets the JMS "ConnectionFactory" via JNDI, and
uses that to create the other objects. (It also has to look up the
"Destination" objects from JNDI.) When you code to the JMS standard only,
then the only thing that "tells" your program which provider is being used
is the ConnectionFactory class that you create or get out of JNDI.
Below is my usual plug for the white paper that helps explain some of this
stuff:
http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
Look for "Using foreign JMS provdiesr with WLS".
greg
"Chris" <[email protected]> wrote in message
news:[email protected]...
>
> I am writing a bean that reads a message from MQ (using MQJMS) and then
write it
> onto a WebLogic JMS ( something lika a bridge). However I don't want to
use bridge.
>
> Question/Problem Statement:
> Once I include mq jms jar files in class path. Would that in conflict with
WebLogic
> JMS. How do in my program I make sure that it is using the MQ or WLS JMS
implementation.
> I can have InitialContext() setup for mq in File and for WebLogic it is
WebLogic's
> Initial Context. Thats is the only thing that I can tell in the program.
>
> Basically, I am trying to see what will make it ( fully qualified JMS
Objects
> or what) decide which implmenatation to use.
>
> Chris
-
To check the weblogic edition.
Hi,
Could anyone pls help me to find out the weblogic edition (stardard / enterprise / express). tried with java weblogic.version with verbose, displays the patch and verion,. no clue.
BEA\weblogic92\server\bin>java weblogic.version -verbose
WebLogic Server Temporary Patch for 8065523 Wed Oct 14 15:00:06 IST 2009
WebLogic Temporary Patch for CR303287 Thu Feb 8 17:55:36 2007
WebLogic Server 9.2 MP1 Sun Jan 7 00:56:31 EST 2007 883308
Thanks
Kishore.Hi all,
Even I Couldn't get any information about the weblogic edition we are using. We are always bothered about the version while installing weblogic and which can be found through various commands.
But I want to know which edition we use as there are different types of editions mentioned for weblogic even in the WEBLOGIC SITE.
Can anyone please help with this query,
Regards,
Rahul. -
Why can't i get the trace indormation within the weblogic window?
hello
i use the toplink developing a small program,when deploy it on my machine,i can see the trace information wihin the weblogic window,but when i deploy it on another machine,i can't see the tace information,i have set the "enable-logging" tag in the "session.xml" to true as follow:
<enable-logging>true</enable-logging>
<logging-options>
<log-debug>true</log-debug>
<log-exceptions>true</log-exceptions>
<log-exception-stacktrace>true</log-exception-stacktrace>
<print-thread>true</print-thread>
<print-session>true</print-session>
<print-connection>true</print-connection>
<print-date>false</print-date>
</logging-options>
thank you!Given that it's working on one machine, I assume there must be a configuration issue with the other machine. Are you sure that when deploying to the other machine another Sessions.xml file isn't being picked up on the path/jars first? Just to be sure, better do a search. I make this mistake all the time where I have a session.xml that sneaks into my path on me.
- Don -
Any kind of integration experience with Weblogic JMS and Oracle AQ?
Hi,
In my company I work with java developers who believe in some kind of "holly" database independence I don't understand and as a result my life as a database developer is hell on earth.. Yesterday we again started to discuss, this time where to log, they believe database is slow and prefer logging to filesystem, after some hours finally I could convince them for some operational and reporting needs to use the database and will do this in an asyncronous way whiich they won't get slow. After all I believe the reason for a database is data, this is the place where data lives, and with the correct desing and implementation logging to database would perform better.
I love Oracle features, and know that we paid a lot for this software, so today I started investigating this promised solution. And quickly I found AQ and JMS topics in the documentation :)
After this introduction here is my problem; my company use BEA Weblogic as application server and the java guys want AQ to automatically (but of course with some delay) take their JMS log requests into database tables. Does any one have similar application experience, or any kind of integration experience with Weblogic JMS and Oracle AQ?
Any comments, references, documentation, sample code, url will be most welcomed :)
Thank you very much!
Tonguc
[email protected]
References I found upto now;
Oracle® Streams Advanced Queuing Java API Reference 10g Release 2 (10.2) http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14291/toc.htm
(Packages; javax.jms & oracle.jms)
Oracle® Streams Advanced Queuing User's Guide and Reference 10g Release 2 (10.2) http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14257/toc.htm
Part IV
Using Oracle JMS and Oracle Streams AQPart V describes how to use Oracle JMS and Oracle Streams Advanced Queuing (AQ).
Chapter 11, "Introducing Oracle JMS"
Chapter 12, "Oracle JMS Basic Operations"
Chapter 13, "Oracle JMS Point-to-Point"
Chapter 14, "Oracle JMS Publish/Subscribe"
Chapter 15, "Oracle JMS Shared Interfaces"
Chapter 16, "Oracle JMS Types Examples"
A Sample Code from Otn
http://www.oracle.com/technology/sample_code/tech/java/web_services/jmsws/NewsQueueEJB.java.htmlI wouldn't go as far to say Oracle AQ is out-dated today. However, it is indeed a proprietary technology that did not found much main-stream adoption in the earlier years after its introduction. The advent of JMS made it somewhat more useful (or should I say intriguing, because more people are trying to tie it together with other J2EE technologies), but the Oracle's JMS wrapper classes in aqapi.jar were not feature complete for a long while, so using it outside Oracle's application server was painful, if not impossible. I do agree that the info at the dev2dev's JMS newsgroup or in this forum is highly fragmented, as neither Oracle nor BEA provides an official solution to integrate AQ with WebLogic, so people like us have to learn the technology through experimentation and in a piecemeal fashion.
3 years ago I was literally "playing around" - we had a polling mechanism set up to use triggers to write Oracle data changes into an event table, and had a Java-based daemon to scan that table and publish events as JMS messages to the WebLogic JMS server. This continues to work reliably till today, but I was looking for a solution that has few parts - I wanted to hook up my WebLogic MDB directly to AQ as a foreign JMS provider. Although I was able to get it to work (including XA), there were a few hoops I had to jump through, such as decompiling the Oracle AQjms classes to make them bind to the WebLogic JNDI tree.
One year after that Diptanshu Parui took what I did a giant step further - he extended the Oracle AQjms classes to allow them to be bound to the WebLogic JNDI tree naturally, and he figured out how to use WebLogic JMS messging bridge to re-send single-threaded AQ JMS messages to clustered JMS queues, which allow concurrent message assumption by multiple instances of MDB's. My impression is that he is using that setup in a production environment.
I am sure you are aware of it but I would like to make it clear - in order to use AQ as a foreign JMS provider to WebLogic-hosted MDB's, you don't need to update your database to Oracle 10g - Oracle 8i is good enough (although I recommend at least 9i Release 2). It is not the database engine, but rather the aqapi.jar JMS wrapper on top of AQ that matters. I do recommend that you use aqapi.jar from Oracle Application Server 10.0.3 or up for better XA support, among other things. Again, you don't have to replace WebLogic with Oracle AS - you only need a single jar file from it and put it in your WebLogic's classpath. However, I don't know what this means from a licensing point of view if you ever go to production - do you have to pay the full price of OracleAS or OC4J just to use the aqapi.jar?
In the coming days I will test the latest aqapi.jar to see how much progress Oracle has made in terms of making their J2EE products more spec-compliant :-).
Hope the above gives you a different perspective.
Eric -
WEBLOGIC JMS performance ?
hi ,
I tried to find some numbers , about how much messages (in the diffrerent
categories - ptp or pub/sub) can a weblogic server
can stand - messages / sec , or some benchmarks,
but i didn't find any on the web ..
any one has any idea / link for such benchmark / performance test ???
I would appriciate any answer !
thanks!
1) Start with the "WebLogic JMS Performance Guide" white-paper
on dev2dev.bea.com. This guide has no numbers, but
it has general guidelines. Performance is not just
numbers...
2) General note:
In 7.0+ JMS file stores, BEA provides 3 disk write policies.
The default is "cache-flush", as that is transactionally safe
in all cases. The policy may have a dramatic effect
on performance. (WL JMS defaults to "cache-flush", IBM MQ
always uses "direct" - as far as I know, and many smaller
JMS players default to "disabled".)
3) The book
"J2EE Performance Testing with BEA WebLogic Server"
by Peter Zadrozny, Philip Aston, Ted Osborne
contains JMS numbers, and a benchmark tool. Keep
in mind that the numbers here are all "producer
limited". All the benchmarks are run with
a single producer, so the numbers often show little
scaling. (Most apps increase producer counts
as they scale.)
Tom, BEA
Amir Ben-Amots wrote:
> hi ,
>
> I tried to find some numbers , about how much messages (in the diffrerent
> categories - ptp or pub/sub) can a weblogic server
> can stand - messages / sec , or some benchmarks,
>
> but i didn't find any on the web ..
>
> any one has any idea / link for such benchmark / performance test ???
>
> I would appriciate any answer !
>
> thanks!
>
>
-
Hello! I would like to understand the significance of the MessagesMaximum value setting in the Weblogic JMS Connection factory. What happens if this limit is exceeded? Are the messages rejected?
Thanks in advance!
KrishLet me explain more on the problem I am facing...
I have a JMS queue set up within Weblogic with a MessagesMaximum setting of "10". I have an OnMessage() method to consume these messages as they come in. The application code in the onMessage() method accesses some resources over the network, sends email using Java mail API. Sometimes, these operations take a long time to complete and so causes a delay in the completion of the onMessage() method. My question is
1. When is the message really consumed? When the onMessage() method is invoked? or upon its completion?
2. What happens when the number of messages exceed 10?
Thanks,
Krish -
JMS Queue is not accepting requests after restarting the weblogic server
Hi,
JMS queue is able to receive message after redeploying the application or restarting the weblogic server. It is intermittent , not happening every time.
Please suggest how to resolve this issue. do we missed any configuration settings we are missing at clinet side or server side.
we are using Weblogic 92 MP2 version.
thanks.
[email protected]I assume you meant "is unable to receive messages".
Are you getting any exceptions in the code, or errors in the log, or is nothing happening when you know there's a message on the queue to be read?
Are you perhaps reading from a distributed destination? -
Change the weblogic default jms connection factory
Hello!
Is possible to change the JMS Default Connection Factory (weblogic.jms.ConnectionFactory) in Weblogic?
It doesn't appears on Admin console. Is possible to access it through WLST? I can 't find it on MBean tree (domain an server config).
I want to change some Flow Control settings. I know I can create a new Connection Factory, but I don't want to change my application code uses teh default CF jndi name.
regards.There's no way to change the default connection factory tuning. If you need to tune a CF setting for an app that's using a default CF, then tuning is accomplished using the steps you mentioned: (A) configuring a custom connection factory, and (B) changing apps that need specialized tuning to refer to the JNDI name of the custom connection factory.
It's often helpful to use "Foreign JMS" to enable changing an app's CF without changing the app. See http://docs.oracle.com/cd/E21764_01/web.1111/e13727/interop.htm#i1009775
HTH,
Tom Barnes
WebLogic Messaging Development Team -
Using Weblogic JMS for internal delivery channel
hi,
I want my B2B to talk to back-end application through Weblogic JMS queues. I have configured internal delivery channel for this. I am getting error message 'Max retry exceeded' in b2b_idc_transport.log
2008.09.24 at 12:09:53:713: B2BStarter thread: (DEBUG) initialize TransportReceiver: [WLIOutbound_TServer < jms > < Wholesale >]
2008.09.24 at 12:09:53:713: B2BStarter thread: (DEBUG) JMSReceiver.init() started ....
2008.09.24 at 12:09:53:713: B2BStarter thread: (DEBUG) Establishing JMS Connection.
2008.09.24 at 12:10:03:704: B2BStarter thread: (DEBUG) Establishing JMS Connection.
2008.09.24 at 12:15:03:428: B2BStarter thread: (ERROR) Max retry exceeded, closing everything
java.lang.Exception: Max retry exceeded
at oracle.tip.transport.basic.jms.JMSMonitor.reconnect(JMSMonitor.java:833)
at oracle.tip.transport.basic.JMSReceiver.init(JMSReceiver.java:333)
at oracle.tip.transport.b2b.B2BTransport.init(B2BTransport.java:379)
at oracle.tip.adapter.b2b.transport.AppTransportInterface.initialize(AppTransportInterface.java:282)
at oracle.tip.adapter.b2b.engine.Engine.initialize(Engine.java:512)
at oracle.tip.adapter.b2b.init.B2BServer.initialize(B2BServer.java:280)
at oracle.tip.adapter.b2b.init.B2BStarter.startB2B(B2BStarter.java:297)
at oracle.tip.adapter.b2b.init.B2BStarter.run(B2BStarter.java:143)
at java.lang.Thread.run(Thread.java:534)
I have applied latest patch 7322333.
kindly let me know what is workaround for this? also, how can do debugging of this issue in B2B.
Thanks in advance.
Regards,
Vaibhav
Edited by: vaibs on Sep 26, 2008 12:15 AMhi Sinkar,
Thanks for reply. I have checked connectivity from b2b server to weblogic server, using java stub. Stub can connect to the Q successfully.
here is my b2b.log
2008.09.24 at 12:09:49:233: main: B2B - (DEBUG) B2B initialize
2008.09.24 at 12:09:49:233: Main thread: B2B - (DEBUG) This is Main thread executing..
2008.09.24 at 12:09:49:233: Main thread: B2B - (DEBUG) B2B start
2008.09.24 at 12:09:49:233: Main thread: B2B - (DEBUG) B2B start - context started
2008.09.24 at 12:09:49:233: B2BStarter thread: B2B - (DEBUG) B2BStarter - This is B2BStarter thread executing..
2008.09.24 at 12:09:49:233: B2BStarter thread: B2B - (DEBUG)
Maximum Heap Size = 530907136
Memory Allocated = 8323072
Free Memory = 842560
2008.09.24 at 12:09:50:544: B2BStarter thread: BusinessLogicLayer - (INFORMATION) ExecutionContextManager initialization is done
2008.09.24 at 12:09:50:544: B2BStarter thread: BusinessLogicLayer - (INFORMATION) User's maxCachedSessions is set to 0
2008.09.24 at 12:09:50:560: B2BStarter thread: B2B - (DEBUG) B2BStarter - Context Initialized
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - Start B2B
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - Starting B2B
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - configuration oained
2008.09.24 at 12:09:51:762: B2BStarter thread: B2B - (DEBUG) B2BStarter - clear global cache
2008.09.24 at 12:09:51:793: B2BStarter thread: B2B - (DEBUG) XEngine not running. So no need to clear cached objects inside XEngine.
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [0] HL7 over MLLP Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [1] EDI X12 over AS1
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [2] Custom Document over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [3] EDI EDIFACT over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [4] RosettaNet over RNIF
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [5] EDI X12 over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [6] Custom Document over MLLP Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [7] Custom Document over AS1
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [8] EDI EDIFACT over AS1
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [9] HL7 over Generic Exchange
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (NIFORMATION) Repository:print: [10] Custom Document over Internet
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [11] Custom Document over ebMS
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [12] EDI X12 over Internet
2008.09.24 at 12:09:51:824: B2BStarter thread: B2B - (INFORMATION) Repository:print: [13] EDI EDIFACT over Internet
2008.09.24 at 12:09:51:981: B2BStarter thread: B2B - (DEBUG) Repository:constructCertSQL SELECT cert.ID, cert.CLASSTYPE FROM TIP_Certificate_ra cert, TIP_Party_ra party, TIP_DocumentExchange_ra docex WHERE cert.ID = docex.signingcredential AND cert.tradingpartner = party.ID AND party.ishosted != 'Y'
2008.09.24 at 12:09:52:355: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:initialize Enter
2008.09.24 at 12:09:52:355: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:header name: ebXML SOAP Envelope
2008.09.24 at 12:09:52:355: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:header name: ebXML SOAP Message Header
2008.09.24 at 12:09:52:386: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.exchange.ebms.EBMSExchangePlugin:initialize Exit
2008.09.24 at 12:09:52:402: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Enter
2008.09.24 at 12:09:52:433: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.document.custom.CustomDocumentPlugin:initialize Exit
2008.09.24 at 12:09:52:511: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Enter
2008.09.24 at 12:09:52:511: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize resetListener = true
2008.09.24 at 12:09:52:511: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initdcx = true
2008.09.24 at 12:09:52:543: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize TPAProcessor
2008.09.24 at 12:09:52:558: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Clear TPA Cache
2008.09.24 at 12:09:52:558: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize DataContext. Pool Size 0
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Treat Response as Request = false
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:initialize Exit
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize initialize Transport
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Initialize Transport Logger.
2008.09.24 at 12:09:52:574: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.TransportInterface:initialize Transport LogLevel = STATUS
2008.09.24 at 12:09:52:605: B2BStarter thread: B2B - (INFORMATION) Repository:getDeliveryEndPointList: Putting http://localhost
2008.09.24 at 12:09:52:605: B2BStarter thread: B2B - (INFORMATION) oracle.tip.adapter.b2b.transport.TransportInterface:initialize: Props: http://localhost port = 7777
PROTOCOL_ENDPOINT = null
2008.09.24 at 12:09:52:636: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [Wholesale_Transport_Server < http > < Wholesale >]
2008.09.24 at 12:09:53:682: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize Initialize AppTransport Logger.
2008.09.24 at 12:09:53:682: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize AppTransport LogLevel = WARNING
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (INFORMATION) Repository:getInternalDeliveryEndPointList: Putting jms://[email protected]
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize main Endpoint loop jms://[email protected]
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize looping through transport Endpoint: jms://[email protected]
2008.09.24 at 12:09:53:698: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.transport.AppTransportInterface:initialize add jms transport Endpoint: jms://[email protected] {Destination Provider Properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, jms.receiver.destination_password=weblogic, Connection Factory Location=weblogic.jws.jms.QueueConnectionFactory, jms.receiver.jndi_connection_factory_location=weblogic.jws.jms.QueueConnectionFactory, isTopic=false, Message Type=bytes, jms.receiver.is_topic=false, jms.receiver.factory_provider_properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, transport_callout_waittime=30, jms.receiver.jndi_destination_provider_properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, jms.receiver.polling_interval=10, polling_interval=10, Factory Provider Properties=java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory;java.naming.provider.url=t3://10.76.168.156:7010, jms.receiver.jndi_destination_location=[email protected], jms.receiver.destination_username=weblogic}
2008.09.24 at 12:09:53:713: B2BStarter thread: B2B - (DEBUG) initialize TransportReceiver: [WLIOutbound_TServer < jms > < Wholesale >]
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Enter
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:startListen Exit
2008.09.24 at 12:35:52:276: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run Thread start
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) oracle.tip.adapter.b2b.engine.Engine:initialize Exit
2008.09.24 at 12:35:52:276: B2BStarter thread: B2B - (DEBUG) B2BStarter - B2B initialized
2008.09.24 at 12:35:52:884: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize Enter
2008.09.24 at 12:35:53:087: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run initialize B2BListen turned off, will not listen on IP_OUT_QUEUE for messages
2008.09.24 at 12:35:53:087: Thread-10: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:run start listening on message
Thanks,
Vaibhav
Edited by: vaibs on Sep 28, 2008 3:20 AM -
Hi,
I'm getting following warning when I try to connect two JMS Bridge Destinations (source WebLogic and destination ActiveMQ) through a Bridge.
<Warning> <Connector> <BEA-190032> << eis/jms/WLSConnectionFactoryJNDINoTX > ResourceAllocationException thrown by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "javax.resource.ResourceException: Failed to start the connection ">
But when I test it by sending message WL does not forward that message to destination queue (ActiveMQ).
When I try to send message individually in WL Queue and MQ Queue from POJO class to test it it works fine.
Please find the setting details
JMS Bridge Destination for ActiveMQ
Adapter JNDI Name: eis.jms.WLSConnectionFactoryJNDINoTX
Classpath: path of activemq-core-5.4.2.jar
Connection URL: tcp://***.***.***.***:****
Initial Context Factory: org.apache.activemq.jndi.ActiveMQInitialContextFactory
Connection Factory JNDI Name: QueueConnectionFactory
Destination JNDI Name: destination queue
Destination Type: Queue
JMS Bridge Destination for WebLogic
Adapter JNDI Name: eis.jms.WLSConnectionFactoryJNDINoTX
Classpath:
Connection URL: t3://***.***.***.***:****
Initial Context Factory: weblogic.jndi.WLInitialContextFactory
Connection Factory JNDI Name: JNDI name of Connection Factory which is created in JMS module
Destination JNDI Name: JNDI name of Queue which is created in JMS Module
Destination Type: Queue
User Name: given
Password: given
Thanks in advance
Regards
Amlendu
Edited by: user7468329 on May 1, 2011 10:01 PMHi,
There's troubleshooting information in the bridge documentation.
google: FAQs: WebLogic Messaging Bridge site:oracle.com
Hope this helps.
Tom -
AQ to be phased out and replaced by Weblogic JMS??
I work at a large company in Los Angeles and was recently in a meeting with our architecture team where i was trying to make a case for using AQ for some internal apps.
I had not used AQ in the past but found it very easy to set up and get running in a proof of concept test case.
However, in my meeting I was informed by our main architect that:
1) AQ was not an enterprise solution and had never been fully completed or vetted in production environments.
2) AQ queues "get stuck" when processing large numbers of messages.
3) Contacts at Oracle had told him that AQ is being phased out in the very near term in favor of JMS Queues in Weblogic.
Based on the above statements by our architecture group, our company has essentially disallowed any development on AQ.
Are these statements true?
Thanks.Your architect is incorrect on multiple counts.
1. AQ is definitely in use as an enterprise solution in a wide variety of very larger "name" corporations.
2. So do insert statements. The statement has no meaning unless it has a context. Have this person state the hardware, operating system, database version, and metrics and present the numbers. Try to not to gloat when they can't. Everything has a limitation. But my bet is they have no idea what AQ's is.
3. Ask for the name and contact information for the person at Oracle that made that statement: It is preposterous on its face. AQ is a foundation technology in RAC, Streams, the Grid Control, and numerous other technologies. Oracle is not removing these technologies from the database any more than they are going to force all database customers to install middleware.
The only thing that should be removed is your architect for a lack of being honest with the team and management.
Feel free to have your management contact me directly at the university if they wish to have me confirm what I have written here.
Maybe you are looking for
-
i am getting the error message "cannot communicate with the server" when i try to sign into my apple account on my ipad - any ideas???
-
I've a problem with JMF, in particular when I transmit a stream from a local file updated from receveing process. The file is "uLaw 8Khz, 8Bit". It would seem that when the processor is running is made of a photo of current file size; this implies th
-
SapScript output spool to a POST script file
We generate billing invoice output using custom program/Sap script. Subsequently we release the invoice print out from the print spool to create a post script file from the print spool by configuring command set "G" in transaction u201CSPADu201D. Th
-
Execution process of order by clause
What is the execution process of order by clause in sql statement and how it will effect query's performance.
-
No Quicktime player controls in web browser plugins
When using the Quicktime plugin under Firefox or Internet Explorer I do not get any player controls (play/pause, progress, volume etc). All that displays is a black bar where the control bar should be. I am running the latest version of Quicktime pla