Inqmy resource adapter for SAP with Bea Weblogic Server
Hi everybody,
Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic server
It works well with INQMY server, but with BEA I'm getting a lot of problems creating
the connections.
Thanks in advance.
Xavi.
All,
Here are the steps we (used for internal testing) had to perform to get
IN-Q-MY adapter for SAP to work with WebLogic:
The wli.adapter.inqmy.sapr3.spi package contains extensions to the
In-Q-My J2EE Connector Architecture classes to overcome some limitations
in the base implementation classes. To get around these issues, we had
to extend their R3ManagedConnectionFactory, R3ConnectionManager, and
R3ConnectionFactory classes.
* The javax.resource.spi.ManagedConnectionFactory implementation
does not over-ride the equals and hashCode methods correctly. This
causes problems with WLS 6.1.
* There is a bug in their javax.resource.spi.ConnectionManager
implementation for non-managed uses of the adapter. Consequently, their
adapter cannot be used in a non-managed scenario.
* The javax.resource.cci.ConnectionFactory class does not support
the getConnection() method that does not take any arguments (it throws a
null pointer exception).
I am attaching the classes discussed above.
Cheers,
Chris
Torsten Friebe wrote:
> Hi,
>
> does anybody know where to get a trail version - if one exists - of IN-Q-MY
> application server or the resource adapter?
>
> Thanks, regards
> Torsten
>
> "Xavi" <[email protected]> schrieb im Newsbeitrag
> news:[email protected]...
>
>>Hi everybody,
>>
>>Anybody have tried to use INQMY resource adapter for SAP with Bea weblogic
>>
> server
>
>>?
>>
>>It works well with INQMY server, but with BEA I'm getting a lot of
>>
> problems creating
>
>>the connections.
>>
>>Thanks in advance.
>>Xavi.
>>
>>
>
>
package wli.adapter.inqmy.sapr3.spi;
import java.io.Serializable;
import javax.resource.ResourceException;
import javax.resource.cci.Connection;
import javax.resource.cci.ConnectionSpec;
import javax.resource.spi.ConnectionManager;
import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnection;
import javax.resource.spi.ManagedConnectionFactory;
import com.inqmy.r3adapter.R3ConnectionSpec;
import com.inqmy.r3adapter.R3ManagedConnectionFactory;
* Extends the In-Q-My implementation to allow for getConnection() with no
* connection spec, i.e. use the default configured connection parameters.
public class R3ConnectionFactory
extends com.inqmy.r3adapter.R3ConnectionFactory
implements com.bea.connector.IProxyMarker {
private R3ConnectionSpec m_cspec;
public R3ConnectionFactory(ConnectionManager cm, R3ManagedConnectionFactory mcf)
throws ResourceException {
super(cm, mcf);
String strClientNumber = mcf.getClientNumber();
if (strClientNumber == null) {
throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+mcf);
String strLanguage = mcf.getLanguage();
if (strLanguage == null) {
throw new javax.resource.spi.IllegalStateException("Language not set for "+mcf);
String strUserName = mcf.getUserName();
if (strUserName == null) {
throw new javax.resource.spi.IllegalStateException("UserName not set for "+mcf);
String strPassword = mcf.getPassword();
if (strPassword == null) {
throw new javax.resource.spi.IllegalStateException("Password not set for "+mcf);
m_cspec = new R3ConnectionSpec(strClientNumber, strLanguage, strUserName, strPassword);
public Connection getConnection(ConnectionSpec connectionSpec)
throws ResourceException {
if (connectionSpec == null) connectionSpec = m_cspec;
return super.getConnection(connectionSpec);
package wli.adapter.inqmy.sapr3.spi;
import java.io.Serializable;
import javax.resource.ResourceException;
import javax.resource.spi.ConnectionManager;
import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnection;
import javax.resource.spi.ManagedConnectionFactory;
* Extends the In-Q-My implementation to over-ride the
* allocateConnection method to return a CCI connection vs. a ManagedConnection
public class R3DefaultConnectionManager
implements ConnectionManager, Serializable {
public R3DefaultConnectionManager() {}
public Object
allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cri)
throws ResourceException {
ManagedConnection mc = mcf.createManagedConnection(null, cri);
return mc.getConnection(null, cri);
package wli.adapter.inqmy.sapr3.spi;
import javax.resource.spi.ConnectionManager;
import javax.resource.spi.ConnectionRequestInfo;
import javax.resource.spi.ManagedConnection;
import javax.security.auth.Subject;
* Extends the In-Q-My implementation to get around some problems encountered
* while running on WebLogic:
* <ul>
* <li>Must over-ride default implementation of equals and hashCode method</li>
* <li>Needed to provide my version of the CCI ConnectionFactory</li>
* <li>Needed to provide my version of the default ConnectionManager for the
* non-managed scenario use case</li>
* </ul>
public class R3ManagedConnectionFactory
extends com.inqmy.r3adapter.R3ManagedConnectionFactory {
private int m_iHashCode;
transient private com.inqmy.r3adapter.R3ConnectionRequestInfo t_cri = null;
public R3ManagedConnectionFactory() {
super();
java.rmi.server.UID uid = new java.rmi.server.UID();
m_iHashCode = uid.hashCode();
public Object createConnectionFactory() {
// need to install our own default connection manager because In-Q-My
// version causes a ClassCastException in CCI ConnectionFactory
// getConnection
return createConnectionFactory(new R3DefaultConnectionManager());
public ManagedConnection createManagedConnection(Subject subject, ConnectionRequestInfo cri)
throws javax.resource.ResourceException {
// need to check for null on the ConnectionRequestInfo object because the
// In-Q-My R3ManagedConnection ctor does not check for null
if (cri == null) cri = getDefaultConnectionRequestInfo();
return new com.inqmy.r3adapter.R3ManagedConnection(this, subject, cri);
public Object createConnectionFactory(ConnectionManager connectionManager) {
// need to supply a connection factory that can deal with getConnection
// that does not take a ConnectionSpec
try {
return new R3ConnectionFactory(connectionManager, this);
} catch (javax.resource.ResourceException re) {
re.printStackTrace();
throw new java.lang.IllegalStateException(re.getMessage());
com.inqmy.r3adapter.R3ConnectionRequestInfo getDefaultConnectionRequestInfo()
throws javax.resource.spi.IllegalStateException {
if (t_cri == null) {
String strClientNumber = this.getClientNumber();
if (strClientNumber == null) {
throw new javax.resource.spi.IllegalStateException("ClientNumber not set for "+this);
String strLanguage = this.getLanguage();
if (strLanguage == null) {
throw new javax.resource.spi.IllegalStateException("Language not set for "+this);
String strUserName = this.getUserName();
if (strUserName == null) {
throw new javax.resource.spi.IllegalStateException("UserName not set for "+this);
String strPassword = this.getPassword();
if (strPassword == null) {
throw new javax.resource.spi.IllegalStateException("Password not set for "+this);
t_cri = new com.inqmy.r3adapter.R3ConnectionRequestInfo(strClientNumber, strLanguage, strUserName, strPassword);
return t_cri;
public boolean equals(Object obj) {
if (obj == null) return false;
if (obj == this) return true;
if (!this.getClass().isInstance(obj)) return false;
R3ManagedConnectionFactory mcf = (R3ManagedConnectionFactory)obj;
return compare(getClientNumber(), mcf.getClientNumber()) &&
compare(getLanguage(), mcf.getLanguage()) &&
compare(getUserName(), mcf.getUserName()) &&
compare(getPassword(), mcf.getPassword()) &&
compare(getServerName(), mcf.getServerName()) &&
compare(getSystemNumber(), mcf.getSystemNumber());
protected final boolean compare(final Object obj1, final Object obj2) {
if (obj1 == obj2) return true;
if (obj1 != null) {
return obj1.equals(obj2);
} else {
if (obj2 == null) {
return true;
} else {
return false;
public int hashCode() { return m_iHashCode; }
Similar Messages
-
RFC calls with SAP JCO and IBM resource adapter for SAP - basic tuning
Hi experts,
we are working on a java portal connected to a backend system SAP by calling RFCs.
On our first integration tests, it appears to be quite slow fetching data from SAP by calling the remote functions from the custom portal. We are using SAP JCo 3.0.6 and IBM resource adapter for SAP 7.0.0.3 to integrate SAP with our portal.
Is there any basic tuning to achieve to improve performances or any hint of where to tune in SAP ?
Any help would be greatly appreciated.
Thanks a lot,
JamalHi Jamal,
I understand you have already checked performance issues in the SAP Server. We had some problems with certain RFC calls and it turned out to be a badly developed ABAP sentence.
I'd recommend you to use httpwatch or another tool to check the response times from the browser, so you can point accurately where the is.
Regards
Francisco -
Integrating WebSphere MQ 5.3 with BEA Weblogic Server 9.2 3M
I am trying to integrate WebSphere MQ 5.3 with BEA WebLogic Server 9.2 3M. I have found the guide:
Integrating WebSphere MQ 6 with BEA Weblogic Server 10 using Weblogic Server's Foreign (JMS) Server feature [http://ibswings.blogspot.com/]. I have done all steps according this guidance.
I have made modification since, WebLogic Server 9.2 3M does not support EJB 3.0, I am using EJB 2.1, any changes that have been made is create ejb-jar.xml file and configure it according next guide
At the final step when I am deploying service-jar-files (for ex. ejb.jar), I am able to complete this procedure.
When I am starting service (for ex. ejb.jar) from Deployments I am facing a wall: exception appears
weblogic.application.ModuleException: Exception starting module: EJBModule(EJB)
Unable to deploy EJB: EJB.jar from EJB.jar:
com/ibm/mq/jmqi/system/JmqiComponent
at weblogic.ejb.container.deployer.EJBModule.start(EJBModule.java:505)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)
at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:139)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:815)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1222)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:433)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:18
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
java.lang.NoClassDefFoundError: com/ibm/mq/jmqi/system/JmqiComponent
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.ibm.msg.client.wmq.factories.WMQFactoryFactory.createProviderXAConnectionFactory(WMQFactoryFactory.java:388)
at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.setProviderFactory(JmsConnectionFactoryImpl.java:170)
at com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:240)
at com.ibm.mq.jms.MQQueueConnectionFactory.<init>(MQQueueConnectionFactory.java:76)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.<init>(MQXAQueueConnectionFactory.java:69)
at com.ibm.mq.jms.MQXAQueueConnectionFactoryFactory.getObjectInstance(MQXAQueueConnectionFactoryFactory.java:77)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
As you can see weblogic complains about com.ibm.mq.jmqi.system.JmqiComponent, I googled JmqiComponent but dose not exists which is strange :P. Has anybody what is a reason for such a behaviour.Hello.
I would ditch the foreign JMS approach. There is a detailed example of how to use the resource adapter for the same goal here:
WebSphere MQ resource adapter and Weblogic - how?
While Oracle supports foreign JMS, IBM won't. The only pattern that both IBM and Oracle support is resource adapter.
Let me know, if you need more guidance.
-Adrian -
build and run Sun's PetStore
1.3.1_02 application with BEA WebLogic Server 8.1.
5) In the same Command Prompt, compile PetStore using the commands:
cd c:\bea\user_projects\domains\petstore
setPetStoreEnv.cmd
cd c:\petstore1.3.1_02\src
ant
buildfile:build.xml does not exist!
build failed
could you tell me how ?
thank youWhat we, BEA, provides is a patch to allow you to compile Pet Store for
WebLogic Server. It does not contain the source code.
Sun's Pet Store source code can be found at
http://developer.java.sun.com/developer/releases/petstore/petstore1_3_1_02.h
tml. See the requirements section of README.TXT
You need both in order to make it work.
"Ankur" <[email protected]> wrote in message
news:3fa9f2d9$[email protected]..
Hi Nick,
I tried building the petstore1.3.1_02 application following theinstructions in the readme. But I got an error as the buil.xml file is
missing in the directory.....\petstore1.3.1_02\src.
>
I tried unzipping the downloaded again and for a petstore.domain.jar alongwith the readme. This jar does not contain the build.xml file.
>
Then I tried compiling one by one the component folder and found that the../xmldocuments/src folder has only a build.xml file but no source file...
>
Kinldy suggest what to do? Can you send me the zip via email?
P.S: I have checked the zip and the files are missing. -
Oracle Adapter for SAP that supports Integration with SAP 6.0??
Hi,
I am working currently with Oracle Adapter for SAP with SAP 4.6.
But my company is looking for upgrading the Enterprise SAP system to 6.0.
Do we have Oracle Adapter for SAP that supports SAP 6.0? Please let me know if anyone has already worked on this?
Thanks,
Sasi BhushanSasi,
There is a new MySAP adapter with 10.13.1 and above to support ECC 6.0. Please see the following section in the 10.1.3.1 adapter release notes:
12.4.1 MySAP ERP Versions and APIs
The following MySAP ERP platforms are supported by OracleAS Adapter for MySAP
ERP:
■ SAP R/3 Enterprise 47x100
■ SAP R/3 Enterprise 47x200
■ MySAP ERP Central Component (ECC) 5.0, deployed on SAP NetWeaver 2004
■ MySAP ERP Central Component (ECC) 6.0, deployed on SAP NetWeaver 2004s
■ SAP Java Connector (SAP JCo) Version 2.18.
For the current release status of the SAP Java Connector, refer to SAP Note #549268
in the SAP Service Marketplace.
Release versions may vary by product component. In addition, SAP functions may
vary by SAP product version and support package.
Note: The OracleAS Adapter for MySAP ERP supports only the versions listed above.
It is not recommended to use the OracleAS Adapter for MySAP ERP with older
versions of SAP R/3. If you plan to use the adapter with older versions of SAP R/3 for
example SAP R/3 4.6C, prior approval from iWay Software Product Management is
required. -
Bea Weblogic server 10.3
how to make a call with bea weblogic server 10.3?
A 'call'? Surely you have more definition than that.
http://www.oracle.com/technology/documentation/bea.html gives a bit of a start. -
Exception occurred when tried to install Weblogic Adapter for SAP 7.0
Hi,
I tried to install current available Weblogic Adapters for SAP 7.0 into weblogic platform 8.1 sp3, I got the following exceptions. Those exceptions can be reproduced when to deploy BEA_SAP_1_0_70.ear into a weblogic integration domain. Based on BEA Weblogic Adapter for SAP installation guide, there should be a new version of adapter for SAP, such as BEA_SAP_8_1.ear, but for some reason, I couldn't find it. The following are error messages, please help.
Thanks,
pg
------------- error message ------------------
<Jul 28, 2004 3:01:41 AM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating Deploy task for application BEA_SAP_1_0_70.>
<Jul 28, 2004 3:01:41 AM EDT> <Error> <Deployer> <BEA-149201> <Failed to complete the deployment task with ID 2 for the application BEA_SAP_1_0_70.
weblogic.management.ApplicationException:
Exception:weblogic.management.ApplicationException: Prepare failed. Task Id = 2
Module: BEA_SAP_1_0.rar Error: Error parsing file at line: 36 column: 27. weblogic.xml.process.XMLParsingException: Error parsing file at line: 36 column: 27. The content of element type "map-config-property" is incomplete, it must match "(map-config-property-name,map-config-property-value)". - with nested exception:
[org.xml.sax.SAXParseException: The content of element type "map-config-property" is incomplete, it must match "(map-config-property-name,map-config-property-value)".]
org.xml.sax.SAXParseException: The content of element type "map-config-property" is incomplete, it must match "(map-config-property-name,map-config-property-value)".
at weblogic.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1189)
at weblogic.xml.jaxp.WebLogicParser.parse(WebLogicParser.java:67)
at weblogic.xml.process.ProcessorDriver.process(ProcessorDriver.java:154)
at weblogic.connector.deploy.dd.xml.WeblogicRarLoader_Connector10.process(WeblogicRarLoader_Connector10.java:170)
at weblogic.connector.deploy.dd.xml.DDUtil.processDDFile(DDUtil.java:380)
at weblogic.connector.deploy.dd.xml.DDUtil.processWeblogicRaDD(DDUtil.java:218)
at weblogic.connector.deploy.dd.xml.DDUtil.processDDFiles(DDUtil.java:126)
at weblogic.connector.deploy.dd.xml.DDUtil.getConnectorDescriptor(DDUtil.java:602)
at weblogic.connector.deploy.dd.xml.DDUtil.getConnectorDescriptor(DDUtil.java:577)
at weblogic.connector.deploy.ConnectorModule.loadConnectorDescriptors(ConnectorModule.java:693)
at weblogic.connector.deploy.ConnectorModule.loadDescriptor(ConnectorModule.java:202)
at weblogic.j2ee.J2EEApplicationContainer.loadDescriptors(J2EEApplicationContainer.java:1379)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1204)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1051)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2444)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2394)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2310)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:866)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:594)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:508)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)Hello,
You may have a lot of greif if this is the wrong version of adaptor for 8.1. I too was directed to this EAR file when looking for the 8.1 adaptor. The problem looks like it is in the weblogic-ra.xml file in BEA_SAP_1_0.rar. The some of the xml entries for <map-config-properties> loo incomplete:
<map-config-property>
<map-config-property-name>bselocation</map-config-property-name>
</map-config-property>
<map-config-property>
<map-config-property-name>bseeis</map-config-property-name>
</map-config-property>
Are missing a value tags.
You can try adding some dummy ones in order to get passed the SAX exception but you may run into more problems. (I was going to install this my self but never got round to it in the end).
Good Luck -
Archiving: experience with Oracle's Archive Adapter for SAP
All,
Does anyone have experience to share about Oracle's "Content Database Archive Adapter for SAP Applications"?
Thanks
GuentherSasi,
There is a new MySAP adapter with 10.13.1 and above to support ECC 6.0. Please see the following section in the 10.1.3.1 adapter release notes:
12.4.1 MySAP ERP Versions and APIs
The following MySAP ERP platforms are supported by OracleAS Adapter for MySAP
ERP:
■ SAP R/3 Enterprise 47x100
■ SAP R/3 Enterprise 47x200
■ MySAP ERP Central Component (ECC) 5.0, deployed on SAP NetWeaver 2004
■ MySAP ERP Central Component (ECC) 6.0, deployed on SAP NetWeaver 2004s
■ SAP Java Connector (SAP JCo) Version 2.18.
For the current release status of the SAP Java Connector, refer to SAP Note #549268
in the SAP Service Marketplace.
Release versions may vary by product component. In addition, SAP functions may
vary by SAP product version and support package.
Note: The OracleAS Adapter for MySAP ERP supports only the versions listed above.
It is not recommended to use the OracleAS Adapter for MySAP ERP with older
versions of SAP R/3. If you plan to use the adapter with older versions of SAP R/3 for
example SAP R/3 4.6C, prior approval from iWay Software Product Management is
required. -
Sample JAVA code using Resource Adapter for RFC Connections
Hi Java Knowledgeable Ones.
I have successfully deployed the SAP Netweaver J2ee Engine "Resource Adapter for RFC Connections to ABAP Systems" to my Web Application Server. Now I need to develop a JAVA application that would utilize this deployed resource adapter. The resource adapter specifies the SAPClient, UserName, and password. I am thinking that the JAVA code to invoke this connection would therefore not need to provide this information as it should be available in the resource adapter.
Do you have sample code that you could send to me showing how to do this?
Thanks,
KevinHi Kevin,
this is actually no good style! You should not open the connection with the adaptor knowing the password. Usually it should work via a connection that uses only basic rights and the user has already authenticated and is using his security ticket.
For security handling see:
http://help.sap.com/saphelp_nw04/helpdata/en/61/f8bc3d52f39d33e10000000a11405a/frameset.htm
Regards,
Benny -
Oracle Integration Adapter for SAP R/3
I am working with a customer implementing Oracle EBS Release 12.2.
The customer has implemented SAP for financial modules and the oracle solution considers an EBS - SAP Integration for Receivables. Does anyone have any experience integrating Oracle EBS Receivables with SAP? Can you give us some guidance regarding EBS - SAP Integration best practices?
We have found a paper regarding Oracle Integration Adapter for SAP R3. We would like to have some information about what are the Oracle products we can integrate with SAP using Oracle Integration Adapter for SAP R3.
In case Oracle EBS can integrate with SAP using Oracle Integration Adapter, we would like to know if anyone has experience integrating Oracle EBS Receivables with SAP using Oracle Integration Adapter for SAP R3 for AR transactions and Receipts?
Any help would be very much appreciated.Thank you veyr much Manoj for your reply. I just tried it now buit no fruits.
I wonder if it can really be due to privileges given to my account, which allows to connect thru SAP Front-end but does not allow to connect by any other means. I can not think of any other possible reason. -
Trouble defining BAM Enterprise Message Source for BEA WebLogic Server
Hi all,
I've just started to play a little with Oracle BAM Architect.
I've WLS 10.0 and Oracle BAM Architect 10g release 3.
On Oracle BAM Architect I've defined an Enterprise Message Source for BEA WebLogic Server as follows:
Name: ALSBSource
Owner: ...
Type: BEA WebLogic Server
Initial context factory: weblogic.jndi.WLInitialContextFactory
JNDI Service Provider URL: t3://mypc:7001
TopicConnectionFactory name: com.myConnectionFactory
Topic name: com.myBAMTopic
JMS message type: TextMessage
Durable subscriber name: BAMSubscriber
Client ID: BAMSubscriber
Name | Flow name | Type | Max size | Formatting
content | BAM | String | 1024 | (none)
On WLS 10.0 I've defined the required JMS stuff.
On Oracle Design Studio I've defined a plan that includes:
- an Oracle BAM Enterprise Message Receiver from which I've selected the above 'ALSBSource' Enterprise Message Source
- a simple Grid
I've connected the BAM Enterprise Message Receiver to the Grid and clicked on 'Update' button.
When I try to publish a message on 'com.myBAMTopic' I don't see anything on the grid defined in the Oracle Design Studio.
The first question is about the definition of an Enterprise Message Source for BEA WebLogic Server in the Oracle BAM Architect.
I did not change the Oracle BAM Architect classpath or Oracle Design Studio classpath adding the weblogic.jar, because no error has been raised during the configuration of the message source and the plan. Should I update Oracle classpath with the weblogic.jar ?
Did I forget any other step ?
I thank you in advance for any feedback.
Regards
ferpferp - I got this to work with
JNDI Service Provider URL: http://localhost
When I add the port
JNDI Service Provider URL: http://localhost:23891
I cannot get my EMS to start.
Hopefully this should fix your issue.
Sudeep. -
Is the 11.1.1.2 software compatible with BEA WebLogic 10.3?
Hi,
Does anyone know, is Oracle EPM version 11.1.1.2 compatible with BEA WebLogic 10.3? I know the recommended version is 9.2 MP3 for Windows 32 bit.
Do we need to get seperate license for WebLogic or is it included in this EPM software bundle?
Thanks for your answers in advance..!Not sure about the licensing, its best to ask someone at Oracle, but I believe when you when automatic deploy 11.1.1.2 apps to Oracle10gR3 Application Server, it is actually referring to the Oracle Weblogic 10.3 Application Server, not the old Oracle (OAS) 10G Application Server, so it should work. You can also deploy to Weblogic 9.2 and IBM Webshpere automatically. I believe all other application servers may still be compatible but require a manual deployment.
Regards,
Imran -
When is Oracle Adapter for SAP 10.1.2.0.2 released?
Hi,
I'm desperately waiting for the release of the Oracle Adapter for SAP
10.1.2.0.2. It is stated as Projected on the Download site.
I do still have serious problems with bug 2574376. This bug was fixed already
in July 2004. In that bug is stated that it is fixed in 10.1.2.
I am using the workaround to kill the process. But when I kill the process while the
adapter is processing data for update in SAP, I am losing that data. So the
update does not take place in SAP and the data is not in the persistence
anymore.
So please release this version!
Regards,
Aard-JanYes, but not for HPUX jet. And that is what I need.
Via Metalink I heard that it will be available around august. -
Crystal Reports in Java with BEA Weblogic (test drive)
Hello,<br/>
<br/>
The question is: What is wrong with Crystal Reports or BEA Weblogic, when they are working together? And how can it be repaired?<br/>
<br/>
I have a project working with reports. Tried to implement it for crystal reports and found an interesting problem. Crystal Reports didn't work with BEA Weblogic as well as with other servers. 1-2 years ago we just took Tomcat and worked with it. Right now we are interested in working with BEA.<br/>
<br/>
Everything works, but much slower than other servers. The best explanation is just a my tries in the end of the post. I hope some clever man helps me to option Weblogic or at least explains what is wrong.<br/>
<br/>
Test results are:<br/>
<br/>
- Apache Software Foundation - Tomcat 6.0:<br/>
~3 sec for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
~1 sec for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
<br/>
- OC4J - Oracle Containers for J2EE 10g (10.1.3.3.0):<br/>
~4 sec for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
~1 sec for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
<br/>
- Jetty 7.0.0.pre5:<br/>
~2 sec for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
~0 sec for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
<br/>
- BEA Weblogic 9.2:<br/>
<b>~30 sec</b> for clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br/>
<b>~8 sec</b> for crystalReportPageViewer.processHttpRequest(request, response, application, null); <br/>
<br/>
simple_cr_webapp.war (30 MB) can be downloaded [here|http://rapidshare.com/files/221096566/simple_cr_webapp.war.html] or [here|http://math.ut.ee/~a30858/simple_cr_webapp.war]:<br/>
crystalreportviewers //all viewers for 2.0
WEB-INF
classes
CRConfig.xml //see WAR - without key, only sets timeout and report location
lib //all libraries for Eclipse plugin's web-app + j2ee.jar
web.xml //see WAR - generated by Eclipse plugin
sample.jsp //see WAR - generated by Eclipse plugin
sample.rpt //"Consolidated Balance Sheet.rpt" from Eclipse plugin's web-app samples
<br/>
P.S. It is also suites if someone gives a simple project with CR, that works well. I really need to get solution for this problem, so any advises are expected.<br/>I also tried for different java vendors on BEA Weblogic 9.2.
Results for Jrockit are above: 30 sec and 8 sec
Results for Sun are worse than JRockit: 50 sec and 10 sec
JRockit:
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
BEA JRockit(R) (build R26.0.0-189_CR269406-59389-1.5.0_04-20060322-1120-win-ia32, )
JAVA Memory arguments: -Xms500m -Xmx1000m
Sun:
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode)
JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=256m -XX:MaxPermSize=256m -
SAP Solution Manager Adapter for SAP Quality Center by HP (ST-QCA)
Hello Folks,
I am configuring Solution Manager, and the current activity asks to download to add-ons that I can't find in the Marketplace - they are required to activate Solution Manager Enhancements:
SAP Solution Manager Adapter for SAP Quality Center by HP (software component: ST-QCA)
SAP Support Enablement package (software component: ST-SEP)
Does anyone know where to get those components?
Thanks a lot,
MarcoHi Ravindra babu/ Murali:
I have one very quick doubt and would be really glad if you can help clarify.
As per documentation from SAP and also IMG screens etc. it seems like 'a project' in SolMan will hand-shake with 'a project' in QC.
Can I therefore assume that if there is only one instance of SolMan (productive) and one QC server alone (again, productive), any number of trials I carry out between SolMan project and QC project will not spill over into other projects in these two systems and thus have no impact whatsoever at server level.
The reason for my asking this - in my project, Testing has started using QC in a standalone mode already. We have just one server. If I have to carry out any tests/ demo between SolMan and QC, it shouldn't impact other 'standalone' projects being done in QC.
Regards,
Srini
Maybe you are looking for
-
how can I fix this? all my apps disappeared! i tried restarting, location, network, unplugging, fixing HDMI....all brings me back to two apps on the front.
-
Mini display to VGA adaptor conneted from computer to screen. O boot startup screen shows on monitor through VGA. After startup screen VGA monitor goes blank and says "No signal" and shuts off. I then have to plug in the HDMI to the TV to see the com
-
Appleworks 5 files won't work with Pages, appearing as UNIX files
I realize Pages will not open Appleworks 5 files. However, for some reason, when I copied my Appleworks 5 files onto a hard drive and put them on my PPC G4 iBook running OS 10.4, the icons for the files are appearing as unix executable files. I had n
-
DirSync + PwdSync - Passwords not syncing, error 611 Unable to open connection to domain
Hello Everyone. I've installed and configured DirSync with Password Sync (PwdSync) in a forest with 4 domains. I'm using the most recent DirSync installation at the date of this post, 6475.0007. The domain structure is Parent Domain - Child Domain 1
-
How to use old nano ipod on new computer
How to use old nano ipod with new computer