Com.bea.wli.bpm.EventQueue vs com.bea.wlpi.EventQueue
Hi
Which event queue should be used if an external application wants to post a message
to wli to be consumed by an event node?
com.bea.wli.bpm.EventQueue vs com.bea.wlpi.EventQueue ????????
I am using WLI 7.0 and tried with com.bea.wli.bpm.EventQueue but the event node
doesn't seem to be consuming the messages at all.
With com.bea.wlpi.EventQueue, the messages are being consumed but the event node
is not necessarily waiting. Moreover com.bea.wlpi.EventQueue is not listed at
all in the weblogic admin console.
Any comments
-Thanks
Sreeram
Hi Sreeram,
The WLI_BPM_Event (com.bea.wli.bpm.Event) queue is the default event
queue for BPM. Here is a link that describes how to take a JMS message
and deliver it to BPM process engine:
http://e-docs.bea.com/wli/docs70/devclient/jms.htm
Cheers,
Chris
Sreeram wrote:
Hi
Which event queue should be used if an external application wants to post a message
to wli to be consumed by an event node?
com.bea.wli.bpm.EventQueue vs com.bea.wlpi.EventQueue ????????
I am using WLI 7.0 and tried with com.bea.wli.bpm.EventQueue but the event node
doesn't seem to be consuming the messages at all.
With com.bea.wlpi.EventQueue, the messages are being consumed but the event node
is not necessarily waiting. Moreover com.bea.wlpi.EventQueue is not listed at
all in the weblogic admin console.
Any comments
-Thanks
Sreeram
Similar Messages
-
Working with the BEA AquaLogic BPM Suite
Dev2Dev has just published an article:
Working with the BEA AquaLogic BPM Suite
http://dev2dev.bea.com/pub/a/2006/09/aqualogic-bpm.html
"Learn how the BEA AquaLogic BPM Suite can integrate business process management with existing infrastructure, including Web services, WebLogic Integration, and the AquaLogic Service Bus."
Check it out. If you'd like to write for Dev2Dev, please contact me!
Regards,
Jon
Jon Mountjoy - Editor, Dev2Dev - http://dev2dev.bea.com/pub/au/13Hi Guys You solved my problem. The working code is:
TaskInstanceManager taskInstanceManager = createTaskInstanceManager();
DataObject taskOutput = taskDetail.getOutputDataObject();
DataObject output = taskOutput.createDataObject(0);
output.setBoolean("Approved",getApprove());
taskOutput.set(0, output);
taskInstanceManager.complete(getTaskId(), taskOutput);
Thanks for helping!
Best regards
Johannes
Edited by: jtrebess on Nov 21, 2011 9:12 PM -
Posting to JMS queue from WLI BPM 7.0
Hi,
I am trying to invoke a workflow process from a servlet by exchanging two JMS
messages.
I have configured my own JMS event queue com.bea.wli.bpm.EventQueueExt and generated
and installed the MDB for it as described in the docs. The servlet sends a XML
JMS to the normal com.bea.wli.bpm.EventQueue which starts the process. This half
works. The process then tries to send an XML to the newly configured queue - but
this fails.
The server console shows that there are absolutely no messages on my new queue.
The java servlet waits forever to receive on it and the workflow process instance
never completes the sending of the XML JMS.
I have attached the sample servlet code that I am trying this with. Would anyone
be able to spot what I am doing wrong?
1000 Thanks in advance,
Karsten
[BaseServlet.java]Just wondering , why create a separate JMS server for this queue?
"Jared" <[email protected]> wrote in message
news:3f16dfde$[email protected]..
>
I am not sure if I exactly understand what you did -- but if you generatedanother
queue using the utility that WLI provided, I think you may be using itincorrectly.
That kind of queue is meant to be used in addition to the originalEventQueue
-- as an input queue to WLI. Maybe your messages were immediately sentback to
WLI -- in an attempt to start a workflow?
I would create a separate JMS server (from the WLI jms server) and createyour
queue on that server.
"Karsten " <[email protected]> wrote:
Hi,
I am trying to invoke a workflow process from a servlet by exchanging
two JMS
messages.
I have configured my own JMS event queue com.bea.wli.bpm.EventQueueExt
and generated
and installed the MDB for it as described in the docs. The servlet sends
a XML
JMS to the normal com.bea.wli.bpm.EventQueue which starts the process.
This half
works. The process then tries to send an XML to the newly configured
queue - but
this fails.
The server console shows that there are absolutely no messages on my
new queue.
The java servlet waits forever to receive on it and the workflow process
instance
never completes the sending of the XML JMS.
I have attached the sample servlet code that I am trying this with. Would
anyone
be able to spot what I am doing wrong?
1000 Thanks in advance,
Karsten -
Hi All,
*Environment:
Weblogic Server: 10.0.1.0
Workshop Studiio: 1.1.0.0
Aqualogic Service Bus: 3.0.0.0.0
Linux: 2.6.18-53.e15 x86_64
ANT: org.apache.ant_1.6.5
JDK: jdk150_11
All my services are JMS based, so all the JMS destinations has already been created and tested using a different utlity written in java which sends a messages to the jms queues and recieve those messges, so i am sure my jms destinations are already there.
*Problem:
1 - I can use alsb console to import the config.jar without any problem, even though the jms destinations are reflecting older addresses i.e. jms:localhost:7001/connfact/queue (my dev)environment, where as my to be environment is different physical host with address like jms://abdhost:7099/connfact/queue.
2 - When i try to apply customisation using a customisation file i generated from my dev environment and changes the jms locations according to the to be host. the customisation operation failed complaining about 'Failed to lookup connection factory <factory name>'.
in the weblogic console the error is
[JAM] Warning: failed to resolve class com.bea.wli.sb.transports.ejb.Jws
<ERROR> <ConfigFwk> <BEA-390109> <Failed to notify session listener com.bea.wli.sb.transports.WLSArtifactDeployerImpl for operation beforeSessionActivate on session weblogic
com.bea.wli.sb.transports.TransportException: Failed to lookup connection factory <factory name>
*Same Problem using ANT on hudson:
I am also running same process using ANT build script on hudson to kick off build which imports alsb configuration, using already created config.jar, into alsb 3.0.0.0 already running on linux. The ANT script runs WLST import.py and export.py script, copied from the weblogic tutorial, to import configuration into alsb 3.0.0.0, but failed with same error.
I am not sure if this error is only related to missing jar which is missed during weblogic startup and in my ant script. If so, can someone tell which jar to use unless its a BUG and already been addressed as this is pretty old version i am using.
PS: dev and tobe environments have same weblogic build so i had already checked that.
Many thanks for your help!
salHi,
Is there any update on the above issue?
we are also facing the same issue. please provide solution if you have something.
Regards,
Bhaskar. -
Hi,
My test case is a simple one. JMS Proxy (Publish with QOS- exactly once) --> http Proxy (Publish with QOS- Best Effort)--> http BS. Am getting a BEA-380000 - com.bea.wli.sb.pipeline.PipelineException error while testing from JMS proxy in test console. However, the test is successful while testing from http Proxy.
I saw one of the threads OSB - BEA-380000 - com.bea.wli.sb.pipeline.PipelineException but it didn't solve my issue.
Please advise if anyone has a solution.
Thanks,
NikhilHi All,
I found these are the observations when ever this error occured.
1) name space issue, un used namspaces are giving conflict, two namespaces with different uri's, out of which one is no more required, that will give problem.
2) Copying any stage from route node to the other stages ( it will add few extra namespaces).
3) Using un-reachable variables in the failed stage.
Thanks.
Edited by: user12679330 on 07-Oct-2011 02:19 -
Jar file for com.bea.wli.worklist.portal.TaskUIPageFlowController
Hi,
Can you please tell me which jar is required for the below import
com.bea.wli.worklist.portal.TaskUIPageFlowController
i am not able to find the required jar.
And also I am not findinig the jar for the below import as well
com.bea.wli.management.configuration.XMLCacheMBean;
Thanks in Advance.
Regds,
Samir DuttaCan anyone please help me out...I am stuck badly...
Thanks. -
Alsbejbtransport - com.bea.wli.sb.transports.TransportException
Dear expert,
Desperately need help! From time to time, we run into this issue - Unable to find port at address.. At the first level of research, I think some temporary file / cache for the ejb transport are generated in /appl/osb_bea/user_projects/domains/<domain name>/sbgen/alsbejbtransport.
Currently, we have to stop the server --> remove all the cache file --> recreate the business service --> restart. May I know is there a permanent solution? Also has found this is supposed to be fixed by CR355917? I've also attached the details logs.
CR355917 - After removing an EJB business service, some EJB transport generated files remain under BEA_HOME\user_projects\domains\DOMAIN_NAME\sbgen\alsbejbtransport.
Workaround: You can delete these files. However, to delete the files, you might need to wait until the server is stopped, as they might be open.
Error Log File
com.bea.wli.sb.transports.TransportException: Unable to find port at address: /alsb/internal/transports/ejb/Enterprise_Services_Component_Servi965/service.jw
s
at com.bea.wli.sb.transports.ejb.EjbEndpoint.invoke(EjbEndpoint.java:719)
at com.bea.wli.sb.transports.ejb.EjbEndpoint.sendMessageAsync(EjbEndpoint.java:306)
at com.bea.wli.sb.transports.ejb.EjbTransportProvider.sendMessageAsync(EjbTransportProvider.java:356)
at sun.reflect.GeneratedMethodAccessor684.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.wli.sb.transports.Util$1.invoke(Util.java:82)
at $Proxy64.sendMessageAsync(Unknown Source)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageAsync(LoadBalanceFailoverListener.java:148)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToServiceAsync(LoadBalanceFailoverListener.java:543)
at com.bea.wli.sb.transports.LoadBalanceFailoverListener.sendMessageToService(LoadBalanceFailoverListener.java:478)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageToService(TransportManagerImpl.java:544)
at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:422)
at com.bea.wli.sb.pipeline.PipelineContextImpl.doDispatch(PipelineContextImpl.java:583)
at com.bea.wli.sb.pipeline.PipelineContextImpl.dispatch(PipelineContextImpl.java:498)
at stages.routing.runtime.RouteRuntimeStep.processMessage(RouteRuntimeStep.java:128)
at com.bea.wli.sb.pipeline.debug.DebuggerRuntimeStep.processMessage(DebuggerRuntimeStep.java:74)
at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
at com.bea.wli.sb.pipeline.RouteNode.doRequest(RouteNode.java:106)
at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:866)
at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:191)
at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:75)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:508)
at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:506)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:505)
at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:263)hi anuj,
I do have restarted the servers after the deployment
Steps to Configure socket transport:
Place the samples folder under OSB installation directory
1. Run DOMAIN_HOME/bin/setDomainEnv.cmd (setDomainEnv.sh on a UNIX system) on the command prompt to set the environment where DOMAIN_HOME is the physical directory of your OSB domain.
2. Navigated to directory OSB_ORACLE_HOME/samples/servicebus/sample-transport on the same command prompt where OSB_ORACLE_HOME is your OSB home (for e.g. - D:\OFMW11g\mw\Oracle_OSB\samples\servicebus\sample-transport)
3. Executed command - "ant build" without double quotes (Make sure that you get "BUILD SUCCESSFUL" message) on the same command prompt
4. Executed command - "ant stage" without double quotes (Make sure that you get "BUILD SUCCESSFUL" message) on the same command prompt
5. Executed command - "ant deploy" without double quotes (Make sure that you get "BUILD SUCCESSFUL" message) on the same command prompt after modifying build.properties as per your setup.
6. Now go to weblogic admin console --> Deployments section and make sure that you see deployments "Socket Transport" and "SocketAdapter" in "Active" state
7. Create the proxy and business services as directed on the OSB documentation link (http://download.oracle.com/docs/html/E15866_01/example.htm#i1036658)
8. Start and test the socket server as directed on the OSB documentation link..
Please let me know if I am going wrong anywhere.
Edited by: 814269 on Aug 10, 2011 6:34 PM -
Hi all,
when i run the python script in python shell i am getting this error:
Traceback (most recent call last):
File "D:\osb_disable_service.py", line 2, in <module>
from com.bea.wli.sb.management.configuration import SessionManagementMBean
ImportError: No module named com.bea.wli.sb.management.configuration
i have set the CLASSPATH to D:\bea\wlserver_10.3\server\lib\weblogic.jar
i have set $CLASSPATH to D:\bea\osb_10.3\lib\sb-kernel-api.jarversion: Oracle Service Bus 10gR3..
the python script:
from com.bea.wli.sb.management.configuration import SessionManagementMBean
from com.bea.wli.sb.management.configuration import ALSBConfigurationMBean
from com.bea.wli.config import Ref
from java.lang import String
from com.bea.wli.monitoring import StatisticType
from com.bea.wli.config import Ref
from com.bea.wli.sb.util import Refs
from com.bea.wli.sb.management.configuration import CommonServiceConfigurationMBean
from java.lang import String
from com.bea.wli.monitoring import StatisticType
from com.bea.wli.config import Ref
from com.bea.wli.sb.util import Refs
from com.bea.wli.sb.management.configuration import CommonServiceConfigurationMBean
admin_server="localhost"
admin_server_poort="7001"
wluser="weblogic"
wlpassword="weblogic"
domain="base_domain"
project=raw_input("JMSResponseMessage" )
service=raw_input("getResponse_proxyWsdl")
action=raw_input("disable")
connect(wluser, wlpassword, 't3://'+ admin_server + ':' + admin_server_poort)
domainRuntime()
# Create a session name
#sessionName =
sessionName = String("SessionScript"+Long(System.currentTimeMillis()).toString())
print('… after session. Session is: ', sessionName)
# Get the session MBean and create a session
sessionMBean = findService(SessionManagementMBean.NAME,SessionManagementMBean.TYPE)
print('SessionMBean is: ', sessionMBean)
sessionMBean.createSession(sessionName)
print(String('Session was created … ').concat(sessionName))
# Get the ProxyServiceConfigurationMBean specific to our session
mbean = findService(String("ProxyServiceConfiguration.").concat(sessionName),'com.bea.wli.sb.management.configuration.ProxyServiceConfigurationMBean')
# Creates a reference to a folder.
# and ‘ProxyServices’ is a folder in the project
#folderRef = Refs.makeParentRef(‘project/’)
# and ‘ProxyServices’ is a folder in the project
projectName = Refs.makeParentRef(project + '/')
proxyRef = Refs.makeProxyRef(projectName, service)
# do the action
def setService():
if action == 'disable':
print "Disabling " + service
mbean.disableService(proxyRef)
else:
print "Enabling " + service
mbean.enableService(proxyRef)
# or enable it
setService()
# Now commit (activate) the changes
sessionMBean.activateSession(sessionName, "disabled PS")
print (' has been completed')
print
disconnect()
exit()
WLST command: java weblogic.WLST filename -
Hi,
Is there any performance / stress test report about WLI?
How's WLS will be behave under a high volume of traffic?
Lets say 1000+ business process under 500+ users environment.
Thx,
LaurenceHi Reddy,
Generally Transaction timeouts are more likely to occur when large messages, rather than small messages, are being processed.
If many entity beans are not passivated until the cache is full, you may want to decrease the Idle Timeout Seconds parameter for the entity bean.
Go through the following link, In that you will find information on this issue.
http://googler/voteIndex.jsp?requrl=http://bernal.bea.com/stage/wli/docs70/deploy/tune.htm
-----Anilkumar kari -
Hi All
Has anybody worked on the Cyclone activator along with BEA WLI? I have a scenario
where Cyclone Interchange sends across data to an application. The Cyclone activator
intercepts these messages (probable EDI AS2 format) and then should transfer it
to BEA WLI.
Thanks
ragsHi All
Has anybody worked on the Cyclone activator along with BEA WLI? I have a scenario
where Cyclone Interchange sends across data to an application. The Cyclone activator
intercepts these messages (probable EDI AS2 format) and then should transfer it
to BEA WLI.
Thanks
rags -
BEA Custom Data Transfer and non-BEA Producer Portals?
Hello,
I recently had a problem where my BEA 10 Consumer was not sending my BEA 10 Producer the user's x509 digital certifcate used in authentication. In a non-WSRP environment, the certs come over in the HttpServletRequest object. I was told that for WSRP, BEA strips things out of the request object and the cert was one of those things. The solution was to implement BEA's Custom Data Transfer. I was able to create a solution for our problem using this approach. All is well.
Now I have run into a problem where one of our other projects is using a non-BEA portal and wants to also be a Producer. Since the Custom Data Transfer is a BEA solution (the Producer portlet class imports BEA classes), how can a non-BEA Producer receive the user's digital certificate since they presumedly can't implement the BEA Custom Data Transfer (unless, I guess, they bring in some BEA library file with those particualr classes).
Any insight? Thanks - Peter LenPeter,
What producer are you using, some other vendors have implemented BEA's
custom data transfer. Also, the WSRP committee is looking into
standardizing this.
Additionally, you may use an interceptor (9.2 and later) to set HTTP
headers that the producer may be able to use.
Nate
Peter Len wrote:
Hello,
I recently had a problem where my BEA 10 Consumer was not sending my BEA 10 Producer the user's x509 digital certifcate used in authentication. In a non-WSRP environment, the certs come over in the HttpServletRequest object. I was told that for WSRP, BEA strips things out of the request object and the cert was one of those things. The solution was to implement BEA's Custom Data Transfer. I was able to create a solution for our problem using this approach. All is well.
Now I have run into a problem where one of our other projects is using a non-BEA portal and wants to also be a Producer. Since the Custom Data Transfer is a BEA solution (the Producer portlet class imports BEA classes), how can a non-BEA Producer receive the user's digital certificate since they presumedly can't implement the BEA Custom Data Transfer (unless, I guess, they bring in some BEA library file with those particualr classes).
Any insight? Thanks - Peter Len -
Quando vou Entrar no iCloud diz que a quantidade maxima de contas gratuitas foi ativada no mesmo...sim? e eu com isso?como entro?com posso me conectar ao o Icloud agora?
Bom dia, Sr. Valdir.
Não sei se o senhor já conseguiu resolver seu problema já que a mensagem é bem antiga. De qualquer forma, queria dar uma dica.
Esse fórum é feito para usuários e pelos usuários. A Apple não dá assistência oficial através dele. Dessa forma, não é muito seguro que o senhor informe dados pessoais como telefone, número de RG, número de nota fiscal, etc.
Aconselho que o senhor edite essa mensagem e retire esses dados.
Sobre o seu problema, aconselho que entre em contato com o Decon ou Procon de sua cidade e peça alguma orientação, ou o senhor poderia entrar em contato com a Pró-teste, que é a associação de defesa do consumidor do Brasil.
De qualquer forma, se precisar de ajuda, estou à disposição.
Um abraço.
João Paulo -
excel problem
i have problem in excel when i write Arabic or i receive any excel file contain Arabic word it come like letters it do not come like word
my Microsoft office is 2011
what i can doMS Office for Mac does not really support Arabic. But you may just have a font problem. Disconnected letters means a Windows font is being used. Change the font to a Mac font like Geeza Pro.
For better Arabic support, try OpenOffice. -
When Server is running, the computer on which Server runs has problems accessing a shared drive connected to that computer. This problem started when Server started logging messages like the following.
Feb 7 07:32:57 johns-imac com.apple.launchd.peruser.501[508] (com.akamai.client.plist[44806]): assertion failed: 13B42: launchd + 102012 [C35AEAF6-FCF6-3C64-9FC8-38829064F8A8]: 0xd
Feb 7 07:32:57 johns-imac com.apple.launchd.peruser.501[508] (com.akamai.client.plist): Throttling respawn: Will start in 10 seconds
The problem goes away when Server is not running and disk sharing is handled by Mac OSX 10,9.1 client.
What can one do to correct this issue with Server?I forgot to write down my computer specs:
iMac 27 Mid 2011
2.7 GHz Intel Core i5
4 GB 1333 MHz DDR3
AMD Radeon HD 6770M 512 MB
OS X 10.9.2 -
My p6320y will not come on. The power light comes on but thats all
my p6320y will not come on. The power light comes on but thats all. Is it the CPU or motherboard? Whichever it is what do you recommend to replace it with
Can you get into the BIOS? Do the HD and DVD drive show up in the main menu?
I am a volunteer. I am not an HP employee.
To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
(2) HP DV7t i7 3160QM 2.3Ghz 8GB
HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
Both Customs use Rosewill Blackhawk case.
Printer -- HP OfficeJet Pro 8600 Plus
Maybe you are looking for
-
I have a table with a CLOB field that I need to retrieve using ADO 2.5 and OLEDB Provider for Oracle, 'MSDAORA.1'. Everytime, I try to open up the table and get the following error, 'Data Type Is Not Supported'. Thanks.
-
Dynamic parameter with an IMPORT statement
Hello experts. I hope you can help me with this issue: I have a report performing an EXPORT statement into a Buffer: EXPORT I_USER FROM P_USER I_NAME FROM P_NAME I_SURNAME FROM P_SURNAM TO DATA BUFFE
-
Last week I was prompted to do an update on my Mac Book Pro which I did. Ever since I did the update a box keeps popping up asking for login info for my keychains & they won't go away. I have no clue what these keychains are & I don't know how to fin
-
Hi all, I looking for a table where I got a link between e PR and the RFQ which refeer to that PR. We can see in ME53N in the Status tab the RFQ number. I want to fine a table where is that link between PR and RFQ. We can see the link in EKPO with th
-
Update to inspirations browser fails in trial version of PSE 10
Downloaded trial version of PSE 10. The second time I opened the program the Welcome Screen had instructions on updating the Inspirations Browser, which I had been using to access tutorials. I deleted the browser from my hard drive as instructed th