MQ, XA and WLI
I'm trying to use MQ in a WLI process (JPD) with full XA support, without success.
My configuration is as follows:
-Weblogic 8.1 SP3, running an Integration domain
-Websphere MQ 5.3 CSD07, running on the same physical box (necessary for XA)
-I have a startup class that loads the appropriate com.ibm.mq.jms.MQQueueConnectionFactory and com.ibm.mq.jms.Queue classes (pre-populated with the correct info) into the JNDI tree.
-connection mode is set to binding for the local queue managers, required for XA.
-we have a library that uses the pre-loaded QCF's and Queue's, wrapped as a Java Control, to use in the JPD's. (The library is used to interact with the equivalent C++ library that exists on OS/390, VMS, Windows and Unix(s).)
-XA works fine with our Oracle JDBC connections, so I know that XA is enabled.
Using either the library or the control in a non-transactional manner works fine, either from a JPD or EJB or Servlet. It can send and receive with no issues.
But when trying to use this setup with XA, things go wrong.
Behaviour is as follows:
1. In a very simple JPD, without any explicit transaction boundaries (the JPD is the transaction), messages are placed on the queue as soon as the QueueSender.send() is executed, but left in an uncommitted state. That's what I expect. Once the JPD ends, the message remains in an uncommitted state (with no connection handles left open on the queue) and MQ eventually cleans up the uncommited message. (I've also tried the same using a perform node and the appropriate JMS code in it, bypassing afore-mentioned library, same result.)
1a) Modifying the above behaviour a bit, if I call the QueueSender.close() method after the send(), the connection is indeed closed, but the message remains uncommitted. If I don't call the QueueSender.close() method, the connection stays open until the next garbage collection cycle, and the message remains uncommitted forever.
2. I tried creating an explicit transaction around the node doing the send(), and received a java.io.NotSerializableException, since the MQ libraries (com.ibm.mq.jms.*) are not serialable.
3. I tried out of desperation to create the control as a factory, same result as #1.
4. I've looked at the MQControl, but it doesn't seem to do XA at all. As soon as the MQControl sent the message, the message was on the queue and committed, even though the process had ended. Throwing an exception later in the JPD did NOT cause the message to roll back. My conclusion (please prove me wrong!) is that the MQControl is not XA aware.
Seems that in scenarios 1-3 MQ knows that the message is in a transaction (in a Syncpoint in MQ-speak) but is never recieving the commit.
I really don't want to use the Foreign JMS provider, since I've got a lot of queues, and the filesystem-based JNDI tree is the only option I have to get at the MQ QCF's and Queues... and that's really ugly. I also don't want to use the Messaging Bridge, again because of the sheer number of queues, and the pain in configuring and maintaining this beast.
Any ideas? What am I missing?
thanks
mike
Have you found any solution to your problem?
I know that the WLI team deals often with MQ integration issues, and I know that MQ/XA integration is something that comes up often for them. Someone from WLI support should be able to help.
One solution may be to use the WLI JMS control, using the IBM JMS API for MQSeries. As I understand it, this control supports XA. However, I'm not an WLI expert.
If that fails, another solution woule be to use the JTA APi to enlist the MQ JMS provider directly. However, this can get tricky, but if you want to do it, you need to:
-- Create XAConnection, and XASession objects for MQ when connecting
-- Use weblogic.transaction.TransactionHelper to get access to the current Transaction object.
-- Enlist the MQSeries XAResource object (which you get from the XASession object) with the transaction before sending.
Similar Messages
-
Targeting ALSB and WLI components
Hello!
I'm using ALINT 3.0 + ALDSP 3.2 platforms in my project. I would like, my domain, to contain three clusters: one for ALSB and WLI services (ALSB cluster), one for ALDSP services (ALDSP cluster) and one for J2EE components (J2EE cluster). When I create everything from wizard, then all components related to ALSB and ALDSP are targeted everywhere. So, I have the following questions:
1. Is there any specification, which component should be targeted to ALSB cluster and which should be targeted to ALDSP cluster.
2. Which component of ALSB is responsible for targeting ALSB services. I mean, I don't want my services to be accessible from each cluster, just from ALSB cluster.
3. Most components, after creating domain from wizard, are targeted to AdminServer as well. Which components should really be targeted there? And which components can only be accessible from clusters.
4. Is there a really quick method of targeting a big number of ALSB and WLI components? Doing it from admin console is terribly time consuming. Of course I can edit config.xml manually, but do you have any less risky tool?
5. Is such a configuration supported and recommended by BEA/Oracle? I would like to avoid an effort related to configuring trust and security between domains so I prefer to do it all in one domain.1, 2, 3. Run the wizard separately for ALINT, ALDSP and ALSB. When you are creating/adding to a domain, you can select the option to target bits to specific places.
4. If you want 'fast' edit config.xml. If you want 'less-risky', use the Admin Console. If you want something in between, you can write a utility using the MBean api. (you can explore the MBean api using wlst). If you want Oracle/BEA to write it for you, open a Customer Support Case/Enhancement request.
5. I don't see why it wouldn't work. -
Hi.
I have a question that the answer to which I have been searching for a while.
We have a development environment of WLI and a production environment of WLI.
When we make changes to the workflow and test in the development environment,
we'd like to apply those changes to the production environment.
So we export the tested templates from the development environment and import
them into the production environment. The problem is that the internal IDs of
the work in progress, are different than the IDs of the imported workflow templates.
And we lose the instances in the new templates.
Is there another way, to accomplish this task besides export/import?...is copy+expiry
a good approch?
If anyone could help or point me to some sources, I'd appreciate it.
Thanks in advance.
-patrickI'm going to assume that you don't want the existing instances to be
affected (i.e. you'd like them to use the template that is in production.
In this case, you shouldn't modify the existing template. You should
instead deploy a new version (template definition) of the same template, but
with a later effective date (use the date that you deploy the new version).
For example, suppose the current version has an effective date of June 1,
2001. You want to deploy a new version that takes effect on Monday October
22, 2001. No need to expire the active template definition. Just deploy
the new one with an effective date of Monday October 22, 2001. When you do,
all existing instances will use the old version, and all processes that are
instantiated on or after October 22, 2001 will use the new version.
The only reason to expire a template definition is if you want to revert to
an older version that is still active, and has not been expired. For
example, if I set the expiry date for the new template definition to Dec 1,
2001, then new processes will use the June 1 version on and after Dec 1,
2001.
If there is no active version that hasn't expired when you try to
instantiate a process, then the engine will return an error.
Michael
Michael Cincinatus
WLI Product Manager
[email protected]
"Patrick" <[email protected]> wrote in message
news:[email protected]...
>
Hi.
I have a question that the answer to which I have been searching for awhile.
We have a development environment of WLI and a production environment ofWLI.
When we make changes to the workflow and test in the developmentenvironment,
we'd like to apply those changes to the production environment.
So we export the tested templates from the development environment andimport
them into the production environment. The problem is that the internalIDs of
the work in progress, are different than the IDs of the imported workflowtemplates.
And we lose the instances in the new templates.
Is there another way, to accomplish this task besides export/import?...iscopy+expiry
a good approch?
If anyone could help or point me to some sources, I'd appreciate it.
Thanks in advance.
-patrick -
What are the differences between Oracle Service Bus 10g and WLI 10g?
Hi,
To me both Oracle Service Bus 10g R3 and Weblogic Integration 10g seem to offer the same functionalities for implementing an enterprise middleware.
I would be grateful if someone could:
1. provide me with the two products' differences.
2. describe what their roadmap is?
3. what are their positioning in the Oracle product catalog? Are they both members of Oracle SOA Suite? Fussion Middleware?
Thanks a lot,
Best regards,
Babis.Thanks everyone for taking the time to reply,
Eduardo: the answer to your questions are that all the flows will be short-lived but if we can make long-lived flows then we might consider developing them. We would need to persist the state of the flow somehow.
I understand that some of our requirements would be better accomodated by WLI or bpel but we don't have an option but only to use OSB.
So, do you think we could overcome the stateless nature of OSB by:
1. writing to appropriate tables and reading from there and calling plsql procedures from the flows
2. using JMS queues.
In detalis:
1. Regarding the writing/reading from Databases (in our case it would be oracle 10g R2 - probably RAC), is there something like a Database control in WLI, which we could use in OSB? What i have seen are using xquery execute-sql function or a JCA DB adapter but both of them seem to me not very easy to use. Is there another option?
2. Regarding the JMS, in case that i want:
a service that writes to a JMS queue what are the servicetype and transport that i should use?
a service that reads from a JMS queues what are the service type and transport that we should used?
Any information that you may share with me in the design and implementation of the above would be great.
Thanks a lot. -
Differences between WLI 7.0 and WLI 8.1?
I am trying to make a determination on Workflow products, and I have used WLI 7.0
(and back to WLPI days), but 8.1 looks very foreign to me.
Can anyone give me an idea of whether you think the modifications to the tool
for 8.1 were beneficial from the standpoint of functionality and ease of use?
Did it lose anything that was good about the tool from prior releases? Did it
gain anything?
Or if anyone knows of a article or place that might tell me this information (I
didn't get much out of the "What's new in this release").
So far, one thing that I don't think I like is the fact that there does not seem
to be a visual representation of a task anymore. With the "controls", it looks
like what you see in the graphical view of the process is a method (or several
methods) from a "control" rather than an actual task object.
Thanks in advance,
AndyHi Yamini,
The Release Notes list the new functionality and are available on OTN at http://docs.oracle.com/cd/E22582_01/v121_release_notes.pdf
You can find the rest of the documentation for Documaker there as well at http://www.oracle.com/technetwork/documentation/insurance-097481.html#Documaker
If you are interested in bug fixes and minor adjustments then you should check out the readme that is included with each new release on EDelivery. Simply download Documaker and inside the zip package you'll find a readme listing all the minor changes and bug fixes.
-DA -
Unable to Connect to the Server and WLI Domain problem
Hi All
this is the details
I have installed installed WIntegration Server and using
quickstart click the Take to Platform tour I started all the servers
Note-- I have not installed separate weblogic server 7.0 and not started.
whenever I click started WebLogic Integration Studio and it shows
user --admin
password- security
url--t3://localhost:7001
once submit it shows always Unable to connect to the server
please help me ???????????????????????????????????????????/
Server is running fine I used quickstart--- Take the live platform tour to run
the below servers.
C:\bea\weblogic700\samples\platform\e2eDomain>"C:\bea\jdk131_08\bin\java" -hotsp
ot -Xms256m -Xmx256m -XX:MaxPermSize=256m -Xverify:none -Dcommerce.properties="
C:\bea\weblogic700\portal\weblogiccommerce.properties" -Dweblogic.jws.Production
Mode="false" -Dweblogic.servlet.ClasspathServlet.disableStrictCheck="true" -De2e
Sample.b2b.path.data=".\beaApps\e2eApp\data" -Dweblogic.Name=e2eServer -Dbea.hom
e="C:\bea" -Dweblogic.management.username= -Dweblogic.management.password= -Dweb
logic.ProductionModeEnabled=true -Dweblogic.management.discover=false -Djava.sec
urity.policy=="C:\bea\weblogic700\server\lib\weblogic.policy" weblogic.Server
Starting WebLogic Server...
<Aug 5, 2003 1:22:23 PM EDT> <Notice> <Management> <140005> <Loading configurati
on C:\bea\weblogic700\samples\platform\e2eDomain\.\config.xml>
<Aug 5, 2003 1:22:37 PM EDT> <Notice> <Security> <090093> <No configuration data
was found on server e2eServer for realm CompatibilityRealm.>
<Aug 5, 2003 1:22:37 PM EDT> <Notice> <Security> <090082> <Security initializing
using realm CompatibilityRealm.>
<Aug 5, 2003 1:22:38 PM EDT> <Notice> <WebLogicServer> <000327> <Starting WebLog
ic Admin Server "e2eServer" for domain "e2eDomain">
<Aug 5, 2003 1:24:23 PM EDT> <Notice> <B2BIntegration> <000000> <INFO: WebLogic
Integration - B2Bi Server started successfully.>
INFO: WebLogic Integration - B2Bi Server started successfully.
<Aug 5, 2003 1:24:31 PM EDT> <Notice> <AI> <000000> <Started WebLogic Integratio
n - AI Server version 7.0.4.0>
<Aug 5, 2003 1:24:35 PM EDT> <Notice> <BPM> <000000> <Started WebLogic Integrati
on - BPM Server version 7.0.4.0>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, your browser should
automatically launch and point to the WebLogic Server
Index running on this server. If your browser
fails to launch, point your browser to the URL
"http://Inforicadb:7501/index.jsp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=============== Initializing Logger ======================
<Aug 5, 2003 1:24:36 PM EDT> <Notice> <Management> <141053> <Application Poller
not started for production server.>
<Aug 5, 2003 1:24:46 PM EDT> <Notice> <WebLogicServer> <000354> <Thread "SSLList
enThread.Default" listening on port 7502>
<Aug 5, 2003 1:24:46 PM EDT> <Notice> <WebLogicServer> <000354> <Thread "ListenT
hread.Default" listening on port 7501>
<Aug 5, 2003 1:24:47 PM EDT> <Notice> <WebLogicServer> <000329> <Started WebLogi
c Admin Server "e2eServer" for domain "e2eDomain" running in Production Mode>
<Aug 5, 2003 1:24:48 PM EDT> <Notice> <WebLogicServer> <000365> <Server state
ch
anged to RUNNING>
<Aug 5, 2003 1:24:48 PM EDT> <Notice> <WebLogicServer> <000360> <Server started
in RUNNING mode>
please help me, urgent
Thanks in advance
Domain problem---------------------------------------------
I created WLI domain like this is it correct ?
Next I used Quick start's --Configure New Server
then single server option radio selected
then
single server name--myserver
server listner address---????????? please tell me
server listening port 7001
ssl listnening port 7002
username bala
password subramaniam
verify password subramaniam
c:\bea\user_projects\CIBC
configure database mail--
email address- [email protected]
email host: what need to give ??????? please tell me----
after I created domain called CBC it is in the
c:\bea\user_projects\CBC
then I saw it consists
1)wlai folder
2)dbinfo
3)application
4)keys
5)scripts
setdatabase.cmd
startweblogic.cmd
startmanagedweblogic.cmd
setwlidomaindata.cmd
wliconfig.cmd
checkdomain.cmd
Wliconfig.jar
startweblogic.cmd
stopweblogic.cmd
I try to startweblogic.cmd it open and closed no action
please tell me what is the problem????????????
with regards
balaOh boy! Let me see what's going on. Are you using the VZW Cloud or the BUA app? Please try downloading the VZW Cloud app if you dont already have it. And once downloaded. Tap the 3 bars in the upper corner and go down to "TOOLS", then tap "RESTORE CONTENT". That should do it!
VanetrisC_VZW
Follow us on Twitter @VZWSupport -
JpdProxyTask and WLI 9.2 : documentation, usage
Hello,
I want to automate the creation of the JPD (RMI) proxy.
I found the JpdProxyTask ant task in the jpd.jar library.
But I'm unable to find proper documentation for usage.
I tried to guess how to use the task, but then I'm facing a problem : the task tries to check a file in my webAppRootDirectory/.workshop directory ?
Isn't that a layout of Workshop 8.1, and not of workshop 9.2 which is now Eclipse based ?
Is there a workaround for that problem that enables the ant task to work with Workshop 9.2 directory structures ?
Thanks in advance for all your answers,
Laurent PetitThere is a patch for JpdProxyTask. You should contact BEA support for JpdProxyTask to work correctly.
-
OAS9ias and WLI; please advises
Hi,
I would really appreciate if somebody can throw some light on oracle 9ias doing some integration with WLI8.1.
We have an application that is using APACHE as webserver, and then uses 9ias and wli8.1. The backed DB is oracle9i.
I wanted to know if somebody has this experience and if he/she can share some experiences.
I really appreciate your feedbacks.
Thanks, sangitahttp://kr.bea.com/products/server/learn/papers.shtml
Read this and you will find all the experience.
***Annie*** -
WLI 6.1 SP4 with WLI 2.1 SP2
We would like to install Weblogic 6.1 SP4 with Weblogic Process Integration 2.1
SP2 and we have read on the papers of WLI 2.1 SP2, that it supports WLS 6.1 SP3.
Is it possible to install WLI 2.1 SP2 with WLS 6.1 SP4?
If the answer is "yes", please let me know what kind of problems could happen
with the maps and applications that are already created on WLS 6.1 SP2 and WLI
2.1 SP1.
Tks.
EdyWLS 6.1 requires JDK 1.3.1
Josh Shi wrote:
I try to run WebLogic 6.1 SP1 with JDK 1.2.2_7a with License exception: license signature validation error. Could it be done ? If so, how ?
Thanks a lot.
Josh -
Exception in WLPI after upgrading to WLI 2.0 SP4 from SP2
Environment is :
WLS 6.0 SP2 and WLI 2.0 SP4 on Solaris 2.8.
We get the following exception when the server starts up and tries to deploy
wlpi-mdb-ejb.jar. This started only after upgrading to WLI 2.0 SP4 from WLI
2.0 SP2.
Any help will be highly appreciated.
####<Feb 12, 2002 6:08:49 PM PST> <Info> <J2EE> <spruce> <edevServer31>
<main> <system> <> <160003> <Deployed : wlpi-master-ej
b.jar>
####<Feb 12, 2002 6:08:49 PM PST> <Info> <EJB> <spruce> <edevServer31>
<main> <system> <> <010008> <EJB Deploying file: wlpi-m
db-ejb.jar>
####<Feb 12, 2002 6:08:50 PM PST> <Info> <EJB> <spruce> <edevServer31>
<main> <system> <> <010052> <An exception occurred whil
e creating the freepool.>
java.rmi.RemoteException: Error in the bean's constructor : ; nested
exception is:
java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException:
java.lang.ExceptionInInitializerError:
weblogic.ejb20.internal.MethodPermissionEx
ception: Security violation: insufficient permission to access method
at
weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:91)
at
weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java
:55)
at
com.bea.wlpi.server.plugin.PluginManagerCfgBeanEOImpl.getState(PluginManager
CfgBeanEOImpl.java:1411)
at
com.bea.wlpi.server.plugin.PluginManagerImpl.refreshState(PluginManagerImpl.
java:187)
at
com.bea.wlpi.server.plugin.PluginManagerImpl.<init>(PluginManagerImpl.java:1
72)
at
com.bea.wlpi.server.eventprocessor.EventProcessor.<clinit>(EventProcessor.ja
va:37)
at
com.bea.wlpi.server.eventlistener.EventListenerBean.ejbCreate(EventListenerB
ean.java:47)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.ejb20.internal.MessageDrivenEJBHome.createBean(MessageDrivenEJBHome
.java:297)
at
weblogic.ejb20.pool.MessageDrivenPool.createBean(MessageDrivenPool.java:98)
at weblogic.ejb20.pool.Pool.createInitialBeans(Pool.java:100)
at weblogic.ejb20.pool.Pool.<init>(Pool.java:74)
at weblogic.ejb20.pool.EntityPool.<init>(EntityPool.java:34)
at
weblogic.ejb20.pool.MessageDrivenPool.<init>(MessageDrivenPool.java:43)
at
weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.getPool(MessageDrivenBeanI
nfoImpl.java:336)
at
weblogic.ejb20.deployer.MessageDrivenBeanInfoImpl.deploy(MessageDrivenBeanIn
foImpl.java:403)
at
weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1105)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:908)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:133)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:327)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(Deployment
Target.java:277)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(D
eploymentTarget.java:232)
at
weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(Deploym
entTarget.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:562)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
48)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy0.updateDeployments(Unknown Source)
Regards,
AdarshHi Feng,
In 2.0.10, we strictly evualuate the xpath queries:
1. According to bpel spec 1.1 section 14.3, xpath queries should be absolute queries. you need to change query="//sessionID" to /cstaPrefix:iRequest/cstaPrefix:sessionID.
2.If your xml documents are namespace aware then you must use qualified xpath queries. in your case you have to add prefix to your query like "/tns:disconnect_cstaRequest/tns:input. So please change the unqualified query //sessionId to qualified one by just prefixing. (Same rule goes for /xmlMessage query, please change all your queries to have prefix.)
Here is the link to xpath spec which explains this in more detail.
http://www.w3.org/TR/xpath#node-tests
A QName in the node test is expanded into an expanded-name using the namespace
declarations from the expression context. This is the same way expansion is
done for element type names in start and end-tags except that the default
namespace declared with xmlns is not used: if the QName does not have a
prefix, then the namespace URI is null (this is the same way attribute names
are expanded). It is an error if the QName has a prefix for which there is no
namespace declaration in the expression context. -
Build Errors for Imported WLI 10.3.0 projects
I've upgraded WLI 10.3.0 to WLI 10.3.1 using the upgrade installer on my Windows machine. I then created a new domain using the current WL Server 10.3.0 and WLI 10.3.1. I then imported Oracle's Tutorial Worklist application projects into a new workspace. This WLI application was originally developed with WLI 10.3.0 and was builiding/working correctly in the old WLS 10.3.0/WLI 10.3.0 environment. I get the following build errors now:
- The project was not built since its build path is incomplete. Cannot find the class file for java.io.Serializable. Fix the build path then try building this project Loan_Web
- The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project LoanUtil
- The type java.io.Serializable cannot be resolved. It is indirectly referenced from required .class files Loan_Web/src/process MyControl.java line 1
- CHKJ3010W: Welcome Files cannot begin or end with a /. Loan_Web/WebContent/WEB-INF web.xml org.eclipse.jst.j2ee.webapplication.internal.impl.WelcomeFileImpl@5b5bec (welcomeFile: /user.portal)
The source files don't even appear under the projects in the workspace now. How can I fix this? Shouldn't importing the WLI 10.3.0 application into WLI 10.3.1 be transparent?
Thanks.Hi,
Does you check for the build path for this issue.
Might this would be the problem with default JRE internal.
Please check build java path and correct the JRE subsystem it will solve your issue.
Regards,
Kal. -
Hi,
I am designing an application that will need to integrate with other systems using EDI and am trying to find out about support for EDI in the WebLogic platform. I've found some documentation for EDI in WLI 7.0 (http://e-docs.bea.com/wli/docs70/edi/index.htm) but can't find anything for 8.1 - has EDI support been dropped in 8.1?
FrancisIf you are looking for doing EDI over internet, the most reliable solution would be to use Cyclone. You can consider using Cyclone Interchange as gateway to external EDI, then integrate Cyclone with WLI. The integration between CI and WLI can be either JMS or file based.
Jack -
Hi!
Is anyone using BEA portal for user authentication and personalization along with
Integration for workflow??? Looking at the two sets of examples and full functionality
of wli it appears that the two should be easily tied together... Any thoughts
or advice would be greatly appreciated.
Thanks...PeggyHi Stanley,
THANKS very much for the info. Since our WLP instance
is already established I am leaning towards your
architecture. Hopefully I will get the documentation
done early next week and can start implementation.
The two domains will certainly simplify the
port over. Please ping on me in a few weeks
to discuss other aspects of this process....
THANKS again,
Peggy
"Stanley Beamish" <[email protected]> wrote:
Hi Peggy,
I'm doing the same sort of thing, with WLP and WLI sitting in separate
domains. This works fine, and separates the application load between
two
server machines (the WLP domain/server handles all the user/portal logic,
the WLI domain/server handles all the talking to external systemes and
business logic). However, I would also be very interested to hear views
on
running them within the same domain.
Stanley.
"Peggy" <[email protected]> wrote in message
news:3dbd9e48$[email protected]..
Sasi,
After reading the docs it looks like the two may live together
in the same domain...okay...not sure.
I will be 'porting' the WLI work I am doing into a current
domain where they have a portal installed. I think a single
domain is what I need.
I do not know if having two domains is better or not...do
you know?
Any insight is appreciated.
Are you doing anything similar?
THANKS! Peggy
"Sasikanth" <[email protected]> wrote:
HI Peggy
You can do authentication and personalization with portal and
workflow
with
WLI. But I would like to know whether or not you would like to launch
them as
a single domain or not.
regards
Sasi
"Peggy" <[email protected]> wrote:
Hi!
Is anyone using BEA portal for user authentication and personalization
along with
Integration for workflow??? Looking at the two sets of examples andfull
functionality
of wli it appears that the two should be easily tied together...
Any
thoughts
or advice would be greatly appreciated.
Thanks...Peggy -
Need a java client which can access the WLI workflow. Tried using the WLPI class but I am unable to login using the GUI. I am alos unable to look up the EJBs as the JNDI names are not bound. Any pointers on how to lookup the EJBs and access the workflow ?
Thanks,
Prasadbelow is some code to use WLI from a client. this is on version 7.
make sure to use the right user name and password. depending on the
configuration, a different user might be configured for the weblogic
server (wls) admin, and the weblogic integration (wli) admin. in the
integration samples server, the admin user is both the wls and wli admin
user and defaults to admin, security.
you should be able to lookup the beans described in
http://e-docs.bea.com/wli/docs70/devclient/import.htm#1025696
note that the jndi names are not the class names...i think i had to look
at the deployment descriptors to find them.
if you post your error it might help.
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
p.put(Context.PROVIDER_URL, "t3://appserver:7001");
p.put(Context.SECURITY_PRINCIPAL, "admin");
p.put(Context.SECURITY_CREDENTIALS, "security");
Context ctx = null;
Admin admin = null;
WLPIPrincipal wlpiPrincipal = null;
try {
ctx = new InitialContext(p);
AdminHome adminHome = (AdminHome)ctx.lookup("com.bea.wlpi.Admin");
admin = adminHome.create();
WLPIPrincipalHome wlpiPrincipalHome =
(WLPIPrincipalHome)ctx.lookup("com.bea.wlpi.WLPIPrincipal");
wlpiPrincipal = wlpiPrincipalHome.create();
} catch(Exception ex){
ex.printStackTrace();
} finally {
// remember to remove them when done
try{ admin.remove(); } catch(Exception ex){}
try{ wlpiPrincipal.remove(); } catch(Exception ex){}
try{ ctx.close(); }catch(Exception ex){}
Prasad wrote:
Need a java client which can access the WLI workflow. Tried using the WLPI class but I am unable to login using the GUI. I am alos unable to look up the EJBs as the JNDI names are not bound. Any pointers on how to lookup the EJBs and access the workflow ?
Thanks,
Prasad -
Accessing the MBean for ProcessRuntime(WLI) through WLST
Since the cmo is not available for Custom MBeans and WLI MBeans are custom, how can I access or execute the methods for the MBean from WLST. I guess I can probably do it with the invoke command but the sytax foroperation invocation is not that intuitive. Is there another way i can access the ProcessRuntime Bean and invoke the methods directly.
Thanks.Marc,
This is just a guess(have'nt done this), but I think the settings are not an exception, and you should be able to find the MBean here:
http://docs.oracle.com/cd/E17904_01/webcenter.1111/e12405/wcadm_intro.htm#BHCCJJED
This section of the doc seems to walk through an example setting properties in adf-config.xml
I would interpret those instructions in the official doc to mean :
1. If you don't mind changing this at deploy time and re-deploying(like we do when we're in deep development), you can change this and redeploy.
2. If you have a deployed application, you can make changes through WLST. But keep in mind that the changes you make through WLST will not be overwritten later when you change the adf-config in Jdev and redeploy.
(This lets you fine tune the timeouts for specific environments. ex: bigger timeouts for dev envs hosted with smaller resources/unstable un-optimized code, rather than guess a timeout that works for all environments )
Now comes the conflicting parts :
"If you must modify these properties, post deployment, you must edit adf-config.xml manually."
I think,they mean "manually using WLST". This can probabaly be done with both WLST commands and the MBeans.
Now once you make these changes to a deployed application, the changes you made are stored in MDS. This means that this "tuning" will survive a re-deployment.
So if we :
set the timeout to 1 minute initially at design time,
then change that to 5 minutes through WLST,
and then edit adf-config again in Jdev to a 10 minute value and redeploy,
the MDS still has the 5 minute value, and it will overwrite the 10 minute value we set later at design time and redeployed.
MDS documents are always applied on top of the deployed stuff.
The doc you refered to : http://docs.oracle.com/cd/E17904_01/webcenter.1111/e12405/wcadm_app_config_files.htm#CHDGEDGJ
does make a good explanation of how the changes persisted in MDS affects the final configuration.
Hop that helps !
Maybe you are looking for
-
Macbook Pro and Multiple Monitors
Hi, I was considering on making the move to apple and getting the macbook pro.I multi-task a lot with my machine and was thinking of buying 2 20" apple cinema display's.Is their a way of connecting my macbook pro to the 2 cinema displays and to a 32"
-
Album order: missing track #
I have about 7300 songs in my iTunes library. Most of these I imported from the original CD using the "Get CD Track Names" to fill in the song names, etc. About two thirds of my songs have no Track Number saved (if you Get Info on a track, the little
-
Any antivirus for nokia x2-01 Solved! Go to Solution.
-
Saving to spreadsheet after stopping a while loop
Hello, I am writing a program that generates an analog signal, transmit it to Schmitt trigger, then puts out the original signal and the trigger signal into a waveform chart. It then must output a series of data as a spreadsheet file after the loop i
-
A different quiestion about SATA (length, degree, etc.)
My SATA cable going into the 'B' (secondary) hard drive is damaged. The pins inside the female connector are mangled and rendered useless. I've contacted Apple to get a replacement cable but they said they can't get one as they don't have a part numb