Deploying MQ Event generator in cluster
I am trying to deploy MQ event generator in cluster using console. I get following error " java.io.FileNotFoundException: No such path: ./WLI_MQEG_MyAppEG.jar. java.io.FileNotFoundException".
I am able to deploy MQ event generator to Local machine.
This issue is only cominng up when we try to deploy to cluster.
We have also tried to deploy MQ event generator using WLST,
We are able to deploy but then Event generator goes in suspend state, and when try to resume it we get same exception.
We are using WLI 8.1. sp5
Edited by rsg8 at 01/04/2007 12:17 PM
I am trying to deploy MQ event generator in cluster using console. I get following error " java.io.FileNotFoundException: No such path: ./WLI_MQEG_MyAppEG.jar. java.io.FileNotFoundException".
I am able to deploy MQ event generator to Local machine.
This issue is only cominng up when we try to deploy to cluster.
We have also tried to deploy MQ event generator using WLST,
We are able to deploy but then Event generator goes in suspend state, and when try to resume it we get same exception.
We are using WLI 8.1. sp5
Edited by rsg8 at 01/04/2007 12:17 PM
Similar Messages
-
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 -
How do you deploy an Event view to a cluster using the RDBMS 1.0 adapter in WLI7?
Hi ,
We are trying to deploy an application view representing a database event in a
table to a cluster consisting of 2 WLI servers.
When you get the deploy screen in the wlai console it prompts you for a url for
the event Router.
On a single instance of WLI this is simply http://localhost:7001/BEA_RDBMS_1_0_EventRouter/EventRouter
but what should this be in the case when the adapter is deployed to a cluster
of 2 machines??
We have tried replacing localhost:7001 with the ip and ports of either of the
two WLI servers as well as trying the admin server ip and port but always get
the error show below.
has anyone succesfully done this?
any ideas greatly appreciated
Adam
com.bea.wlai.client.DeploymentException: ConnectionFactoryDeployer on cscw00336440:
Failed to upload weblogic-ra.xml descriptor for connection factory OrderDetails_connectionFactory
due to a communication problem with the Admin server; Unexpected exception in
com.bea.wlai.admin.RARUploadSessionBean.upload(): java.net.ConnectException: Tried
all: '1' addresses, but could not connect over HTTP to server: 'www.bea.com',
port: '80' at weblogic.net.http.HttpClient.openServer(HttpClient.java:222) at
weblogic.net.http.HttpClient.openServer(HttpClient.java:274) at weblogic.net.http.HttpClient.(HttpClient.java:126)
at weblogic.net.http.HttpClient.New(HttpClient.java:168) at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:111)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:281)
at java.net.URL.openStream(URL.java:793) at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
atTry downloading the DTD from BEA to your filesystem and change the XML
so it points to it.
Ricardo
Adam Finlayson wrote:
Hi Chris,
Thanks for that bit of info. We have pinned the eventgenerator to just one managed
server now but are still getting the same error when trying to deploy an event
application view.
The admin server appears to be trying to contact the bea website for some reason
as part of the deployment.
I am guessing this must be trying to access some DTD or something but this system
sits behind a firewall so any http requests would need to go through a proxy.
Any idea why it may be contacting www.bea.com or how to set up WLS to use a proxy
server?
Chris Stead <[email protected]> wrote:
Hi Adam,
Due to the nature of the the event generator Web application (WAR) URL,
you have to pin the war file to a single server in your cluster. Here
is some information about deploying adapters in a cluster:
http://e-docs.bea.com/wli/docs70/deploy/cluster.htm#1454929
I hope this helps with your deployment.
Cheers,
Chris
Adam Finlayson wrote:
Hi ,
We are trying to deploy an application view representing a database
event in a
table to a cluster consisting of 2 WLI servers.
When you get the deploy screen in the wlai console it prompts you for
a url for
the event Router.
On a single instance of WLI this is simply http://localhost:7001/BEA_RDBMS_1_0_EventRouter/EventRouter
but what should this be in the case when the adapter is deployed to
a cluster
of 2 machines??
We have tried replacing localhost:7001 with the ip and ports of either
of the
two WLI servers as well as trying the admin server ip and port but
always get
the error show below.
has anyone succesfully done this?
any ideas greatly appreciated
Adam
com.bea.wlai.client.DeploymentException: ConnectionFactoryDeployer
on cscw00336440:
Failed to upload weblogic-ra.xml descriptor for connection factory
OrderDetails_connectionFactory
due to a communication problem with the Admin server; Unexpected exception
in
com.bea.wlai.admin.RARUploadSessionBean.upload(): java.net.ConnectException:
Tried
all: '1' addresses, but could not connect over HTTP to server: 'www.bea.com',
port: '80' at weblogic.net.http.HttpClient.openServer(HttpClient.java:222)
at
weblogic.net.http.HttpClient.openServer(HttpClient.java:274) at weblogic.net.http.HttpClient.(HttpClient.java:126)
at weblogic.net.http.HttpClient.New(HttpClient.java:168) at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:111)
at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:281)
at java.net.URL.openStream(URL.java:793) at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:149)
at -
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 -
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 =) -
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.
-
WLST Script for RDBMS Event Generator
Hello WLI Gurus,
I need the WLST Script for RDBMS Event Generator. There was a script in dev2dev but is no longer accessible. I need it for WLI 9.2.
Thanks in advance.
VarunIf 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.
-
RDBMS event generator & JNDI datasources
Hi everyone,
My WLI 8.1 SP5 is going nuts ! I'm under a cluster architecture, WL 8.1 SP6 with Red Hat Linux, JRockit 1.4.2_10. Deploying an application i need to create some RDBMS event generator, but when i do this, i get an NameNotFoundException looking for my jndi datasource ( see below ). The datasource is created and i can work with it, since it's a must for my application. How is it possible that a datasource exists for a web application and does not for an integration event ? Does anyone have any experience about this ? Any help will be very appreciated !!
<18-may-2007 23H47' CEST> <Error> <WLW> <000000> <Error occurred while retrieving the Database Type
javax.naming.NameNotFoundException: Unable to resolve 'DSDataSource' Resolved ; remaining name 'DSDataSource'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:924)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:230)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:154)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:188)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:258)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:363)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at com.bea.wli.event.util.EventUtils.getDataSourceConnection(EventUtils.java:640)
at com.bea.wli.oam.rdbmseg.RDBMSChannelValidator.setChannelValues(RDBMSChannelValidator.java:471)
at com.bea.wli.oam.rdbmseg.RDBMSChannelValidator.validate(RDBMSChannelValidator.java:218)
at com.bea.wli.oam.rdbmseg.RDBMSMainServlet.submitChannel(RDBMSMainServlet.java:327)
at com.bea.wli.oam.eg.framework.XEGMainServlet.processRequest(XEGMainServlet.java:88)
at com.bea.wli.oam.eg.framework.XEGMainServlet.doPost(XEGMainServlet.java:151)
at com.bea.wli.oam.core.BaseServlet.userService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Unknown Source)
at com.bea.wli.oam.core.BaseServlet.run()Ljava.lang.Object;(Unknown Source)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at com.bea.wli.security.authentication.AuthenticationService.runAs(AuthenticationService.java:109)
at com.bea.wli.oam.core.BaseServlet.secureService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Unknown Source)
at com.bea.wli.oam.core.BaseServlet.service(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)If 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.
-
Delete event generator using wlst
Hi guys,
Does someone know if it is possible to find timer event generator by its name and delete it in Weblogic(version 9.2.3) using wlst?
ThanksYou could see this informantion here:
http://docs.oracle.com/cd/E14981_01/wli/docs1031/deploy/cluster.html#wp1519038 -
Using WLST: Unable to create WLI Timer Event Generator
Hello,
I'm trying to create a WLST script, whcih will create Timer Event Generator on WLI 9.2 MP2.
Though to some extent script runs perfect, but it gives error when calling MBean egCfgMBean = getTarget("TimerEventGeneratorss/TimerEventGenerators")
Here is my script:-
import weblogic.Deployer
import com.bea.wli.mbconnector.timer as timereggen
import com.bea.wli.mbconnector.file as fileeggen
import com.bea.wli.management.configuration as wlicfg #Must have wli.jar in classpath
import java.lang.Boolean as bool
import jarray
import sys
print 'Starting the Timer Event Generation Configuration script .... '
if connected != 'true':
print 'Connecting to weblogic server .... '
connect(userName,passWord,URL)
else:
print 'Connected'
try:
print "Creating Timer EG ", timerEgName
timereggen.TimerConnGenerator.main(["-inName", timerEgName,"-outfile", domaindir + "/" + "WLITimerEG_" + timerEgName + ".jar"])
#timereggen.TimerConnGenerator.main(["-inName", timerEgName,"-outfile", domaindir,"-destJNDIName",jndiName])
#timereggen.TimerConnGenerator.main(["-inName", timerEgName,"-outfile", domaindir])
#wlst.config()
custom()
#egCfgMBean = wlst.getTarget("TimerEventGenerators/TimerEventGenerators")
egCfgMBean = getTarget("TimerEventGeneratorss/TimerEventGenerators")
egMBean = egCfgMBean.newTimerEventGenConfigurationMBean(timerEgName)
#egMBean = cmo.getTimerEventGenConfigurationMBeans()
cData = jarray.zeros(1, wlicfg.TimerEventGenChannelConfiguration)
print 'pass one'
cData[0] = wlicfg.TimerEventGenChannelConfiguration()
cData[0].setChannel(channel)
cData[0].setEffective(effectiveTime)
#cData[0].setExpiry(expiryTime)
cData[0].setFrequency(frequency)
cData[0].setMessageContent(message)
cData[0].setCalendarName(calendar)
cData[0].setPublishAsUser(publishAsUser)
egMBean.setChannels(cData);
appName = "WLITimerEG_" + timerEgName
deploy( appName, domaindir + "/" + appName + ".jar", adminServerName, "nostage" )
cd("Applications/" + appName)
set("LoadOrder", 1500)
cd("../..")
print "script returns SUCCESS"
except:
print "ERROR: configuration"
#dumpStack()
# Finished
print 'Disconnecting from server...'
disconnect('y')
print 'Finished.'
exit()
I really need some help to fix this issue.
Thanks
digHi,
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 -
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 there
I'm running WL Platform 8.1 SP4. I am using the timer event generator to fire requests to a channel/process. The timer is simply used to start a given process, there is no notion of message sent to it.
Issues
1) When defining a channel,
e.g
<channel name ="XToY" messageType="xml"
qualifiedMetadataType="eg:TimerEventGenerator" />
It seems I must define messageType="xml", if i define it as 'none' then it does not appear in the channel list when defining the timer event generator, therefore i cannot bind to it. So if I leave the messageType as xml, it appears. For the configuration of the timer, the message element is optional. Problem is when the timer now fires it throws the following error:
<08-May-2006 10:25:25 o'clock BST> <Error> <WLI-Core> <BEA-489030> <Error publishing Timer Event message for XToYTimerEG : com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can't create proc
ess variable: com.bea.wli.mbconnector.MBConnMDBBase$MBConnectorException: Can't read XML (no root element)>
Any ideas?
2) Can someone direct me to any wlst scripts that allow the creation of a timer event generator in a cluster? ?I cannot find anything on dev2dev ?
TIA
ArvinderOk, you can basically leave the messageType as XML
and for the Timer EG configuration, for the optional message you can add <dummy/> this will fire the request and start a workflow or whatever is bound to the channel. -
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? -
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? -
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
Maybe you are looking for
-
Function modules or BAPI for posting plan costs for WBS Element
Hi all, Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed. Greetings
-
In app purchases when transferring to a new device?
Here is my situation. My sons ipod touch is cracked so I want to transfer his data to my old iPhone 4. My hope is that I will be able to transfer all of his apps and his in app purchases over to the new device. So far I have backed up the old Ipod
-
Is it possible to change the icon of a Jar file through code or Manifest? I know executables can have their own icon for the exe, can Jar files?
-
Creating connection in production topology
Hi Experts, I found that in case single master repository we cannot restrict developers to edit ,delete dataserver or physical/logical schema. So this architecture doesn't sounds secure for us as any developer can delete the logical schema shared in
-
Byte position of single character
Hi, I am dealing with very big XML files and since I don't need all the information in them, I would like to have random access to the XML elements, to pick the ones I am interested in (without loading/searching the whole document every time). So, I