Weblogic 10R3 event generator crash
I deloy my application on weblogic 10R3 flatform, some timer&RDBMS event generator created, most time, it works well,but sometime i find it crashes the RDBMS event generator can't work ,no row be readed,but it do exists in table, and should be readed, what happened to event generator
in the weblogic console, i find the corresponding event generator application is abnormal, in the releated thread pool , available ejb instance size is 0, is it a problem?
in this situation, what can i do is just to delete the specified RDBMS event generator and rereated it , who can help me? i expect your suggestion and troubleshooting, thanks.
Edited by: 918965 on 2012-3-5 下午10:31
Edited by: 918965 on 2012-3-7 下午6:19
I deloy my application on weblogic 10R3 flatform, some timer&RDBMS event generator created, most time, it works well,but sometime i find it crashes the RDBMS event generator can't work ,no row be readed,but it do exists in table, and should be readed, what happened to event generator
in the weblogic console, i find the corresponding event generator application is abnormal, in the releated thread pool , available ejb instance size is 0, is it a problem?
in this situation, what can i do is just to delete the specified RDBMS event generator and rereated it , who can help me? i expect your suggestion and troubleshooting, thanks.
Edited by: 918965 on 2012-3-5 下午10:31
Edited by: 918965 on 2012-3-7 下午6:19
Similar Messages
-
Weblogic Timer Event Generator - How it works?
Hello everyone!
I have wrote simple wli-application, that subscribes to the message broker channel.
I have deployed it to the cluster (managed servers 1 (ms1) and 2(ms2)). (I use Weblogic Server 10.3, cluster contains 1 admin server and 2 managed servers.)
Than I have created the timer event generator (EG) via wliconsole and rule for this EG - to send message to the MB-channel every 30 seconds.
Then I redeploy EG application via console (WLS Admin Console) from managed server 1 to cluster (m.servers 1 and 2) and start it.
Everything started ok - I got messages to both instatnces of my application in the following way:
15:30:00 - to instance on ms1
15:30:30 - to instance on ms2
15:31:00 - to instance on ms1
15:31:30 - to instance on ms2
...and so on
when I shut down ms2 - I started to receive messages to instance of my application on ms1 every 30 secodns. Here Everything is OK.
Then I start ms 2 and got the picture like:
15:30:00 - to instance on ms1
15:30:30 - to instance on ms2
15:31:00 - to instance on ms1
15:31:30 - to instance on ms2
...and so on
Then I shutdown ms1... And that's all - no messages to instance on ms2 :(
I started ms1 and no messages on both instances - on ms1 and ms2..
Can you explain me how Timer Event Generator works? What resources it uses? And how can I setup it to get load-balancing while both instances running and failover - when one of the instances shutdowned?
Thanks in advance,
Vladimir.Hi Vladimir, it seems like we must have different environments. I don't know if you used the latest version of wli or not...
So, not exactly for you, but for someone who happens to read this post, and has the same problems we did...
-- I've configured the cluster address using the IP i've assigned to the servers.
--- it means that it is like: 192.168.70.120:8013,192.168.70.120:8113 - ip's & PORT, yes?
Yes, that's the format we are using (http://download.oracle.com/docs/cd/E13222_01/wls/docs92/cluster/setup.html#wp751583)
-- Configured the FrontEndHost and FrontEndPort with that same values as the AdminServer.
--- and you have the http-proxy deployed on your admin server? 'cause front-end host and port - must be the host and port of http-proxy that performs load-balancing for requests to your processes on your managed servers.
Actually we don't need the HTTP load balance, we only start the process via EG events, so we only benifit from load balancing on the JMS queues, but i had to configure this to be able to start the process. We had errors if we didn't configure this. We used the AdminServer address and port.
-- Relocated the Persistent Stores and JMS Servers since some were incorrectly pointing to the AdminServer.
---I didn't understand about what p.stores you are talking about.. I meant that you must create new JDBC p.store with table in cgDataSource and targeted to migratable target. And than you must create a new jms-server, which hosted to this p.store.
...But I didn't retarget any existing p.stores......
Once the domain was created (didn't do anything but to follow the wizard) we had the persistent stores (and underlying JMS servers) targeted to the AdminServer (obviously incorrect). So we retargeted them to the Managed Server.
-- Created the JSP_<PROCESS> table in the database.
--- and what is this? :)
We had to create a table to persist the wli process state, because it is a statefull process (http://download.oracle.com/docs/cd/E13214_01/wli/docs102/dbtuning/wliTuning.html)
The matter of fact is everything works fine, despite the exceptions i mentioned in the AdminServer, once it gets started... But it seems to have no negative impact on the application, and migration is done successfully
I will continue to work on figuring out what the origin of those exceptions is, and if i manage to find a solution i, most surely, will post it here... One thing i find to be strange is that the exceptions start even before i have anything deployed to the Migratable Target... Once i create it and restart the server i get those messages, and we tried the Concensus configuration with NodeManager, as well as the Database configuration.
I guess that what's really important for us now is that we do have fail over and load balancing working... :D
I don't know if it would be abusive to ask you for that document of yours, maybe it has some clue on what's wrong in our config, but again, i understand if you can't share that =)
By the way, i'm portuguese, but since google made the translator available, i guess i can manage russian documentation as well ;)
I can't tell you how gratefull i am for your help, and for sharing your previous experience with the rest of us. If it wasn't for your altruism i guess i would be stuck with this for much longer... you sure saved my day... BIG BIG thank you..
Once again, thank you and i wish you all the best !!! I just wished i could be helpfull to you sometime =) -
How to create an RDBMS event generator using wlst on weblogic 10.3
how to create an RDBMS event generator using wlst on weblogic 10.3, i got a code fragment needing class "com.bea.wli.management.configuration.RDBMSEventGenChannelConfiguration"
but i can' t find this class in classpath on weblogic 10.3, pls help me, thanks. code sample is better.Hi,
RDBMS Event Generator Channel Rule Definition
When you are creating channel rule definitions in the WebLogic Integration Administration Console, it is recommended that you do not use the Back button if you want to resubmit the details on a page.
You should always use the navigation links provided and create a new channel rule definition.
http://download.oracle.com/docs/cd/E13214_01/wli/docs85/deploy/cluster.html
http://download.oracle.com/docs/cd/E13214_01/wli/docs81/relnotes/relnotesLimit.html
http://otndnld.oracle.co.jp/document/products/owli/docs10gr3/pdf/deploy.pdf
This problem has been seen in the past when defining the channel rule for an RDBMS Event Generator if schema name was specified with the incorrect case (i.e. lowercase when it should have been uppercase or vice versa). To that end, it is suggested to change the case of the schema when creating the channel rule
Regards,
Kal -
Using JMS Event Generator w/ remote WebLogic 8.1 queue
Hello,
I'm trying to create a workflow that is started by a JMS message queue event.
I'm trying to use the WLIJMSEventGenTool in WebLogic 8.1 to listen to a queue
on a remote WebLogic 8.1 installation, publish the incoming messages to a channel,
then initiate a workflow by subscribing to that channel. Here's a copy of my configuration
file for the tool:
<message-broker-jms-event-generator-def source-jndi-name="SearchInputQueue"> <channel
name="/srm/sInput/sInput" /> </message-broker-jms-event-generator-def >
I tried to tackle this by configuring a foreign JMS Server, Connection Factory,
and Destination using the Weblogic Admin Console. Below are the parameters I used
to define the remote connection
Foreign JMS Server:
jndi initial context factory: weblogic.jndi.WLInitialContextFactory jndi connection
url: //OPER1090:7001
Foreign connection factory:
local jndi name: FtsFactory remote jndi name: weblogic.jws.jms.QueueConnectionFactory
(Are username and password required?)
Foreign JMS Destination:
local jndi name: SearchInputQueue remote jndi name: InternalSearchInputQueue
After I try to deploy my generated JMS Event jar, I receive the following error:
<Jun 6, 2003 10:31:50 AM EDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
E JB: SearchInputQueue-UnorderedMessageListener is unable to connect to the JMS
de stination: SearchInputQueue. The Error was: [EJB:011010]The JMS destination
with the JNDI name: SearchInputQueue could not b e found. Please ensure that the
JNDI name in the weblogic-ejb-jar.xml is correct , and the JMS destination has
been deployed.>
I'm pretty sure the problem is simply that my syntax is off somewhere in my configuration.
I found the existing BEA documentation to be a bit too generic, containing no
specific examples of the proper syntax to use for this task. Can anyone offer
any advice or better, a working example? Any BEA reps out there?Hello,
I'm trying to create a workflow that is started by a JMS message queue event.
I'm trying to use the WLIJMSEventGenTool in WebLogic 8.1 to listen to a queue
on a remote WebLogic 8.1 installation, publish the incoming messages to a channel,
then initiate a workflow by subscribing to that channel. Here's a copy of my configuration
file for the tool:
<message-broker-jms-event-generator-def source-jndi-name="SearchInputQueue"> <channel
name="/srm/sInput/sInput" /> </message-broker-jms-event-generator-def >
I tried to tackle this by configuring a foreign JMS Server, Connection Factory,
and Destination using the Weblogic Admin Console. Below are the parameters I used
to define the remote connection
Foreign JMS Server:
jndi initial context factory: weblogic.jndi.WLInitialContextFactory jndi connection
url: //OPER1090:7001
Foreign connection factory:
local jndi name: FtsFactory remote jndi name: weblogic.jws.jms.QueueConnectionFactory
(Are username and password required?)
Foreign JMS Destination:
local jndi name: SearchInputQueue remote jndi name: InternalSearchInputQueue
After I try to deploy my generated JMS Event jar, I receive the following error:
<Jun 6, 2003 10:31:50 AM EDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
E JB: SearchInputQueue-UnorderedMessageListener is unable to connect to the JMS
de stination: SearchInputQueue. The Error was: [EJB:011010]The JMS destination
with the JNDI name: SearchInputQueue could not b e found. Please ensure that the
JNDI name in the weblogic-ejb-jar.xml is correct , and the JMS destination has
been deployed.>
I'm pretty sure the problem is simply that my syntax is off somewhere in my configuration.
I found the existing BEA documentation to be a bit too generic, containing no
specific examples of the proper syntax to use for this task. Can anyone offer
any advice or better, a working example? Any BEA reps out there? -
New article: Exploring the WebLogic Integration 8.1 RDBMS Event Generator
Dev2Dev has just published an article that you may be interested in:
Exploring the WebLogic Integration 8.1 RDBMS Event Generator
http://dev2dev.bea.com/pub/a/2007/02/rdbms-event-generator.html
If you'd like to write for Dev2Dev on a WebLogic Integration (or any other) topic, please contact me!
Regards,
Jon
Jon Mountjoy - Editor, Dev2Dev - http://dev2dev.bea.com/pub/au/13If you are using a cluster you need to make sure the connection pool and data source are deployed on the admin server. I have had this problem many times before.
-
Edit Timer Event Generator MBean-Weblogic 9.2
As of new 9.0 api ,MBeanHome interface is deprecated & I have to use standard javax.management classes to connect to mbean servers.
I am been able to manage the mbean under weblogic server.
By using MBeanHome.getMBeansByType(TimerEventGeneratorsMBean.TYPE) in old API I can easily manipulate the properties.
But how can I get the Event Generator MBeans & manage their properties in new 9.0 api?
I am really worried & could not get any proper documentation of manipulating WLI Mbeans in new API.
Thanks in advance.As of new 9.0 api ,MBeanHome interface is deprecated & I have to use standard javax.management classes to connect to mbean servers.
I am been able to manage the mbean under weblogic server.
By using MBeanHome.getMBeansByType(TimerEventGeneratorsMBean.TYPE) in old API I can easily manipulate the properties.
But how can I get the Event Generator MBeans & manage their properties in new 9.0 api?
I am really worried & could not get any proper documentation of manipulating WLI Mbeans in new API.
Thanks in advance. -
RDBMS Event Generator Issue - JDBC Result Set Already Closed
All -
I am having a problem with an RDBMS event generator that has been exposed by our Load Testing. It seems that after the database is under load I get the following exception trace:
<Aug 7, 2007 4:33:06 PM EDT> <Info> <EJB> <BEA-010213> <Message-Driven EJB: PollerMDB_SessionRqt_1186515408009's transaction was rolledback. The transact ion details are: Xid=BEA1-7F8C65474500D80A5B94(218826722),Status=Rolled back. [Reason=weblogic.transaction.internal.AppSetRollbackOnlyException],numRepli esOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=60,XAServerResourceInfo[JMS_Affinity_cgJMSStore_auto_1]=(ServerResourceInfo[JMS_Affi nity_cgJMSStore_auto_1]=(state=rolledback,assigned=wli_int_1),xar=JMS_Affinity_cgJMSStore_auto_1,re-Registered = false),XAServerResourceInfo[ACS.Telcordi a.XA.Pool]=(ServerResourceInfo[ACS.Telcordia.XA.Pool]=(state=rolledback,assigned=wli_int_1),xar=ACS.Telcordia.XA.Pool,re-Registered = false),XAServerReso urceInfo[JMS_Affinity_cgJMSStore_auto_2]=(ServerResourceInfo[JMS_Affinity_cgJMSStore_auto_2]=(state=rolledback,assigned=wli_int_2),xar=null,re-Registered = false),SCInfo[wli_int_domain+wli_int_2]=(state=rolledback),SCInfo[wli_int_domain+wli_int_1]=(state=rolledback),properties=({START_AND_END_THREAD_EQUAL =false}),local properties=({weblogic.jdbc.jta.ACS.Telcordia.XA.Pool=weblogic.jdbc.wrapper.TxInfo@d0b2687}),OwnerTransactionManager=ServerTM[ServerCoordin atorDescriptor=(CoordinatorURL=wli_int_1+128.241.233.85:8101+wli_int_domain+t3+, XAResources={weblogic.jdbc.wrapper.JTSXAResourceImpl, Affinity_cgPool, J MS_Affinity_cgJMSStore_auto_1, ACSDispatcherCP_XA, ACS.Dispatcher.RDBMS.Pool, ACS.Telcordia.XA.Pool},NonXAResources={})],CoordinatorURL=wli_int_1+128.241 .233.85:8101+wli_int_domain+t3+).>
<Aug 7, 2007 4:33:06 PM EDT> <Warning> <EJB> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
javax.ejb.EJBException: Error occurred while processing message received by this MDB. This MDB instance will be discarded after cleanup; nested exceptio n is: java.lang.Exception: Error occurred while preparing messages for Publication or while Publishing messages.
javax.ejb.EJBException: Error occurred while processing message received by this MDB. This MDB instance will be discarded after cleanup; nested exception is: java.lang.Exception: Error occurred while preparing messages for Publication or while Publishing messages
java.lang.Exception: Error occurred while preparing messages for Publication or while Publishing messages
at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.fetchUsingResultSet(RDBMSIntrusiveQryMDB.java:561)
at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.onMessage(RDBMSIntrusiveQryMDB.java:310)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2698)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2523)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Caused by: java.sql.SQLException: Result set already closed
at weblogic.jdbc.wrapper.ResultSet.checkResultSet(ResultSet.java:105)
at weblogic.jdbc.wrapper.ResultSet.preInvocationHandler(ResultSet.java:67)
at weblogic.jdbc.wrapper.ResultSet_oracle_jdbc_driver_OracleResultSetImpl.next()Z(Unknown Source)
at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.handleResultSet(RDBMSIntrusiveQryMDB.java:611)
at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.fetchUsingResultSet(RDBMSIntrusiveQryMDB.java:514)
... 8 more
javax.ejb.EJBException: Error occurred while processing message received by this MDB. This MDB instance will be discarded after cleanup; nested exception is: java.lang.Exception: Error occurred while preparing messages for Publication or while Publishing messages
at com.bea.wli.mbconnector.rdbms.intrusive.RDBMSIntrusiveQryMDB.onMessage(RDBMSIntrusiveQryMDB.java:346)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:400)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.java:333)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:298)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2698)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2523)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
I have tried several things and had my team do research but we have not been able to find an answer to the problem.
If anyone can offer any insight as to why we might be getting this error it would be greatly appreciated. Thanks!i also have same error during load testing, mainly this error
"Unexpected exception while enlisting XAConnection java.sql.SQLException"
i tried rerunning after increasing connection pool sizes, transaction timeout, but no luck, marginal improvement in performance though
also tried changing the default tracking levl to none, but no luck.
i am with 8.1SP5, how about you ?
do share if you are able to bypass these errors
cheers -
I'm getting following error in weblogic server log when starting a JMS Event generator
to a foreign JMS(MQ5.3) Queue.
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. Connection failed after 2 attempts. The MDB will attempt to reconnect
every 10 seconds. This log message will repeat every 600 seconds until the condi
tion clears.>
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. The Error was:
[EJB:010112]The Message Driven Bean 'mqQueueEventGen' is transacted, but the pro
vider defined in the EJB is not transacted. Provider should be transacted if onM
essage method in MDB is transacted.>
My WLI8.1.2 is patched with CR131686_812.zip to support event generator for foreign
JMS destinations. The foreign JMS/MQ provider is configured properly. QueueSend/Receive
were tested fine with JMS java code using local JNDI names of foreign JMS objects.
So we know that foreign Queue is active and accessiable from webLogic.
Anyone run into this? Solution?
Thanks,
ScottHi Scott,
I need a transaction from the MDB since I am not using an EJb to pursue the action.
Hence I need to retain the <trans-attribute>Required</trans-attribute> at the
MDB.
Have any answers?
Pradip
"Scott Yen" <[email protected]> wrote:
>
It's resolved.
The MDB automatically created by JMS Event Generator defaults to be deployed
with
“transacted”. That requires the foreign JMS provider to be “XA”.
The deployment descriptor is created as <domain-directory>/WLIJmsEG_<event_gen_name>.jar
e.g. C:\bea812\user_projects\domains\jmsInterop\WLIJmsEG_mqQueueEventGen.jar
Since MQ in the localhost and remote SLUDV18 are not XA-enabled, we had
to manually
change the <container-transaction> section in ejb-jar.xml:
From :
<trans-attribute>Required</trans-attribute>
To:
<trans-attribute>NotSupported</trans-attribute>
"Scott Yen" <[email protected]> wrote:
I'm getting following error in weblogic server log when starting a JMS
Event generator
to a foreign JMS(MQ5.3) Queue.
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010096> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. Connection failed after 2 attempts. The MDB will attempt to
reconnect
every 10 seconds. This log message will repeat every 600 seconds until
the condi
tion clears.>
<May 4, 2004 4:44:35 PM PDT> <Warning> <EJB> <BEA-010061> <The Message-Driven
EJ
B: mqQueueEventGen is unable to connect to the JMS destination: WAL1021852D_Test
JMSQueue. The Error was:
[EJB:010112]The Message Driven Bean 'mqQueueEventGen' is transacted,
but the pro
vider defined in the EJB is not transacted. Provider should be transacted
if onM
essage method in MDB is transacted.>
My WLI8.1.2 is patched with CR131686_812.zip to support event generator
for foreign
JMS destinations. The foreign JMS/MQ provider is configured properly.
QueueSend/Receive
were tested fine with JMS java code using local JNDI names of foreign
JMS objects.
So we know that foreign Queue is active and accessiable from webLogic.
Anyone run into this? Solution?
Thanks,
Scott -
Hi,
I am facing a problem in reading the email and its attachments. Basically I get excel attachments from a third party and some message in the body of the mail. I need to read the email body in the jpd ( process ) and archive the attachments of the mail in a location . To achieve this I use the email event generator to archive the attachments and to call a process to read the body of the mail.
Steps I followed -
1. Created a mail account with my name on the mail server.
2. Created a new email event genertor with all the required parameters in WLI console. configurations being
Server Protocol POP3
Channel Name /EmailEventProcess/SampleStringChannel
Hostname ABC.ENERGY.LOCAL
Port Number 25
Username TestSS
Password ********
Attachments Archive
Polling Interval 1 min
Read Limit 10
Post Read Action Archive
Archive Directory C:\Cache
Error Directory C:\Cache
Description
Publish As weblogic
3. created a channel in the project in weblogic workshop -
<channel name ="SampleStringChannel" messageType="string" qualifiedMetadataType="eg:EmailEventGenerator"/>
4. In a process project - took the option
subscribe to a message broker channel and start via an event (through email)..
code :
* @jpd:mb-static-subscription message-metadata="{x1}" channel-name="/EmailEventProcess/SampleStringChannel" message-body="{x0}"
public void subscription(java.lang.String x0, com.bea.wli.eventGenerator.EmailEventGeneratorDocument x1)
//#START: CODE GENERATED - PROTECTED SECTION - you can safely add code above this comment in this method. #//
// input transform
// parameter assignment
this.testString = x0;
this.testEmailEG = x1;
//#END : CODE GENERATED - PROTECTED SECTION - you can safely add code below this comment in this method. #//
I tried printing out the testString , but i get some strange error.. below is the error -
<Jan 22, 2010 12:19:50 PM CET> <Error> <WLI-Core> <BEA-489203> <Error while publishing message: com.bea.wli.mbconnector.email.EmailConnMDB$EmailConnectorException: connect to store failed>
I checked the mail box , when i send test mails , I can see the mails in the inbox..
Can anyone help me to overcome this error /
thanksaccess issues..
-
Suspending JMS event generator
Hi,
How do I suspend a jms event dynamically?
I know that this can be done with WLI Admin Console but is there another way to do this without user intervention?
Help appreciated.Hello,
event generators are in most cases EJBs (the HTTP event generator may be the only exeption).
Suspending is actually equal to undeploying.
I do not know, if you can use the event generator MBeans, but you can always use the weblogic.Admin command to undeploy/redeploy a JMS event generator.
-Kai -
Automatic Generation of JMS event generator using WLST script
is there any way to create and deploy JMS event generator using WLST script. i am using weblogic server 10.3.1
You could see this informantion here:
http://docs.oracle.com/cd/E14981_01/wli/docs1031/deploy/cluster.html#wp1519038 -
Using a Foreign JMS Destination as a JMS Event Generator Subscription
NOTE THIS IS BUMPED UP FROM ROBERT NORTON'S POST. I am having the same
problem here. From the wliconsole, the only queues listed to have events
generated from are local ones.
Hello,
I'm trying to create a workflow that is started by a JMS message queue
event.
I'm trying to use the WLIJMSEventGenTool in WebLogic 8.1 to listen to a
queue
on a remote WebLogic 8.1 installation, publish the incoming messages to
a channel,
then initiate a workflow by subscribing to that channel. Here's a copy
of my configuration
file for the tool:
<message-broker-jms-event-generator-def
source-jndi-name="SearchInputQueue"> <channel
name="/srm/sInput/sInput" /> </message-broker-jms-event-generator-def >
I tried to tackle this by configuring a foreign JMS Server, Connection
Factory,
and Destination using the Weblogic Admin Console. Below are the
parameters I used
to define the remote connection
Foreign JMS Server:
jndi initial context factory: weblogic.jndi.WLInitialContextFactory jndi
connection
url: //OPER1090:7001
Foreign connection factory:
local jndi name: FtsFactory remote jndi name:
weblogic.jws.jms.QueueConnectionFactory
(Are username and password required?)
Foreign JMS Destination:
local jndi name: SearchInputQueue remote jndi name:
InternalSearchInputQueue
After I try to deploy my generated JMS Event jar, I receive the
following error:
<Jun 6, 2003 10:31:50 AM EDT> <Warning> <EJB> <BEA-010061> <The
Message-Driven
E JB: SearchInputQueue-UnorderedMessageListener is unable to connect to
the JMS
de stination: SearchInputQueue. The Error was: [EJB:011010]The JMS
destination
with the JNDI name: SearchInputQueue could not b e found. Please ensure
that the
JNDI name in the weblogic-ejb-jar.xml is correct , and the JMS
destination has
been deployed.>
I'm pretty sure the problem is simply that my syntax is off somewhere in
my configuration.
I found the existing BEA documentation to be a bit too generic,
containing no
specific examples of the proper syntax to use for this task. Can anyone
offer
any advice or better, a working example? Any BEA reps out there?NOTE THIS IS BUMPED UP FROM ROBERT NORTON'S POST. I am having the same
problem here. From the wliconsole, the only queues listed to have events
generated from are local ones.
Hello,
I'm trying to create a workflow that is started by a JMS message queue
event.
I'm trying to use the WLIJMSEventGenTool in WebLogic 8.1 to listen to a
queue
on a remote WebLogic 8.1 installation, publish the incoming messages to
a channel,
then initiate a workflow by subscribing to that channel. Here's a copy
of my configuration
file for the tool:
<message-broker-jms-event-generator-def
source-jndi-name="SearchInputQueue"> <channel
name="/srm/sInput/sInput" /> </message-broker-jms-event-generator-def >
I tried to tackle this by configuring a foreign JMS Server, Connection
Factory,
and Destination using the Weblogic Admin Console. Below are the
parameters I used
to define the remote connection
Foreign JMS Server:
jndi initial context factory: weblogic.jndi.WLInitialContextFactory jndi
connection
url: //OPER1090:7001
Foreign connection factory:
local jndi name: FtsFactory remote jndi name:
weblogic.jws.jms.QueueConnectionFactory
(Are username and password required?)
Foreign JMS Destination:
local jndi name: SearchInputQueue remote jndi name:
InternalSearchInputQueue
After I try to deploy my generated JMS Event jar, I receive the
following error:
<Jun 6, 2003 10:31:50 AM EDT> <Warning> <EJB> <BEA-010061> <The
Message-Driven
E JB: SearchInputQueue-UnorderedMessageListener is unable to connect to
the JMS
de stination: SearchInputQueue. The Error was: [EJB:011010]The JMS
destination
with the JNDI name: SearchInputQueue could not b e found. Please ensure
that the
JNDI name in the weblogic-ejb-jar.xml is correct , and the JMS
destination has
been deployed.>
I'm pretty sure the problem is simply that my syntax is off somewhere in
my configuration.
I found the existing BEA documentation to be a bit too generic,
containing no
specific examples of the proper syntax to use for this task. Can anyone
offer
any advice or better, a working example? Any BEA reps out there? -
WLI 10g3 JMS Event Generator for Foreign Queues
Hi,
Our requirement is to listen to messages on a remote destination on another weblogic instance (8.1).
One option we are trying is create a foreign JMS Module on local server (10g3) to connect to the remote destination
and use JMS Event Generator to poll for messages on the local Foreign JMS Module and fetch the message and publish this
message into a message channel.
This works fine when I have a local JMS Queue and JMS Event Generator tries to listen to it.
But while trying to use JMS Event Generator against foreign JMS module we are getting stuck with error failed to establish JMS Session :
<Jul 8, 2009 12:26:29 PM IST> <Warning> <EJB> <BEA-010096> <The Message-Driven EJB: foreignGenEventName is unable to connect to the JMS destination or bind to JCA resource adapter: test.mydestination. Connection failed after 64 attempts. The MDB will attempt to reconnect/rebind every 10 seconds. This log message will repeat every 600 seconds until the condition clears.>
<Jul 8, 2009 12:26:29 PM IST> <Warning> <EJB> <BEA-010061> <The Message-Driven EJB: foreignGenEventName is unable to connect to the JMS destination: test.mydestination. The Error was:
weblogic.jms.common.JMSException: Error creating session
Nested exception: weblogic.jms.common.JMSException: Error creating session
Nested exception: weblogic.jms.common.JMSException: Error creating session
Nested exception: weblogic.messaging.dispatcher.DispatcherException: could not find Server AdminServer
Nested exception: javax.naming.NameNotFoundException: Unable to resolve 'weblogic.messaging.dispatcher.S:AdminServer'. Resolved 'weblogic.messaging.dispatcher'; remaining name 'S:AdminServer'>
Any pointers to a possible issue will eb really helpful.
Thanks,
CAVarun,
Thanks for your inputs. Regarding the possibility of misconfiguring the ForeignJMSServer , we are able to view the remote destinationname (also the jndi binding name) in the jndi tree of the local server console, which in my opinion translates to a valid configuration.
Can anyone let me know if this issue is fixed in 10.3 as there is a CR raised in the 10.0 version as well for this?
CR332983
CR326377 It was not possible to deploy an MDB while connecting to a foreign JMS provider through WLS foreign server resources configured in a JMS module.
Thanks,
CA
Edited by: user1549937 on Jul 9, 2009 4:26 AM -
Hi
I am using WebLogic 8.1 sp3 and WebLogic Workshop.
I am trying to use an Email Event Generator. I selected the IMAP server protocol. I provided invalid connection information in hope of generating errors just so I know the Email Event Generator is kicking off. However, I do not see any error information in the WebLogic console window or in any log files.
Can someone please direct me to where I should be looking for these errors or how I can be sure that the Email Event Generator is polling correctly?
Thanks,
Davidmessage type must be set to "string"
thus correct channel definition is:
<channel name="bulkPaymentsEmailChannel" messageType="string" qualifiedMetadataType="eg:EmailEventGenerator"/>
null -
We've done many different channels and not had many problems however, we've been
experiencing problems when creating Email event generators that publish on a message
broker channel and there's not a decent example in the documentation.
The errors are listed in the attached file along with the contents of our channel
definition file. The encoding error happens no matter how the e-mail is encoded.
Has anybody seen this error? How was it resolved? An example would be helpful
too!
[email_channel_errors.txt]Hi Sean,
The channel definition specifies through the ' messageType="xml" ' attribute that
the message body is well-formed xml. Based on this I created an Email Event Generator
that publishes to that channel (I used your channel definition). I sent four types
of messages. Type 1 was a message with no body at all. Type 2 was a message with
a random text body. Type 3 was a message with a malformed xml body. Type 4 was
a message with a proper xml body. The results indicate that the error message
you are seeing is due to a message being published that has no body at all (Type
1 in my test).
Type 1 - message with no message body content: BINGO!
<Mar 24, 2004 10:49:24 PM PST> <Error> <WLI-Core> <BEA-489203> <Error while publishing
message: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can't create
process variable: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException:
Can't read XML (no root element)>
Type2: Random text body:
"<Mar 24, 2004 10:50:54 PM PST> <Error> <WLI-Core> <BEA-489203> <Error while publishing
message: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can't create
process variable: com.bea.xml.XmlException: error: Unexpected element: CDATA>
Type 3: Malformed xml body:
<Mar 24, 2004 10:58:26 PM PST> <Error> <WLI-Core> <BEA-489203> <Error while publ
ishing message: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can'
t create process variable: weblogic.xml.stream.XMLStreamException: '>' expected
[?! -- [CDATA[ ] - with nested exception: [weblogic.xml.stream.XMLStreamException:
'>' expected [?! -- [CDATA[ ] - with nested exception: [Error at line:1 col:10
'>' expected [/?! -- [CDATA[ ]]]>
Type 4: well-formed XML message body
...No error message!...
If there actually was a message body please post it and I'll give it a go.
Hope this helps!
Steve Waterhouse
BEA WorldWide Technical Training
"Sean McGillen" <[email protected]> wrote:
>
>
>
We've done many different channels and not had many problems however,
we've been
experiencing problems when creating Email event generators that publish
on a message
broker channel and there's not a decent example in the documentation.
The errors are listed in the attached file along with the contents of
our channel
definition file. The encoding error happens no matter how the e-mail
is encoded.
Has anybody seen this error? How was it resolved? An example would
be helpful
too!
Maybe you are looking for
-
Converting .flv to raw video
What is the best piece of (free) software for converting flash video (.flv) into raw format for editing (with minimal quality loss). Or would a certain level of settings on say mp4 be virtually lossless? Thanks Justin
-
Calling java beans from forms 6
Could anyone please tell me if it is possible to call an EJB component from within forms 6. And if so how. Thanks
-
My Ipod is blank - it will not charge, it will not be recognized as a drive
Please help, I was adding newly purchased songs to my Ipod this morning and I got through two songs and it gave me an error about my drive that the Ipod was in. The error message said there was no disk inserted. I tried to eject it but that did not w
-
Since upgrading to Lion iphone sync causes unrecoverable crash
Basically when trying to sync iPhone my entire system crashes/freezes requiring a hard reset. I had previously posted an unresolved fault that was similar with Time Machine. I ended up resorting to buying a Firewire 800 drive instead of the USB one I
-
Lower Part of Iphone unresponsive
ok i just got a "new" iphone from the people at the apple store the first one hade lines in the screen and went white so they gave me a new one ive had it for about a week and the bottom part of the screen became unresponsive so i updates to the new