Java Connector Architecture?
Does anyone know how the Java Connector Architecture (JCA) fits into the Web Services picture?
Thanks,
Justin McReynolds
This is a pretty good article comparing/contrasting the two:
http://www-106.ibm.com/developerworks/webservices/library/ws-jcajms.html
Similar Messages
-
Programming restrictions for JCA (Java Connector Architecture)
I need to know programming restrictions for JCA (Java Connector Architecture) from a Client program's perspective. Could somebody help my?
If you are on the client side of JCA you just have to use the resource adapter implementation. Therefore client code is limited to the package javax.resource.cci. So I think there are no restriction from JCA itself.
What technique you use on client side to connect to the resource adapter is up to you and "just" have to follow the restriction in that area. -
JCA (Java Connector Architecture)
Hi All,
I would like to know if the introduction of JCA is Sun's attempt at derailing Web Services movement?
Please help me understand the big picture.
ThanksHi All,
I would like to know if the introduction of JCA is
Sun's attempt at derailing Web Services movement?
Please help me understand the big picture.
ThanksNope, its nothing to do with web services. JCA is so that you can integrate an enterprise's heterogeneous systems, including legacy systems, under J2EE - eg. have a J2EE application that calls SAP, CICs, databases etc using the same apis.
You could use web services for this, but it would be horribly inefficient having to convert everything to xml, parse it etc when all these systems are in your own company and under your control and there are java apis to connect to them. JCA is more likely to replace Corba calls to legacy systems and proprietry connections. -
Standalone java connector architecture container
Hi,
please do you know about some standalone container (or framework) for JCA and it's connectors? My problem is that I'm facing here several integration problems and would like to use JCA but cannot utilize full JEE application server. I have here server application whose one of the modules is be responsible for interaction with EIS.
Thanks for any ideas.
YThis is a pretty good article comparing/contrasting the two:
http://www-106.ibm.com/developerworks/webservices/library/ws-jcajms.html -
Java Connector Architecture (JCA)
Hello there,
Can any one help me with JCA. I have to present a seminar on this topic & am hunting for the material. If anybody has any material or links in this regard please let me know...
Cheers,Hi All,
I would like to know if the introduction of JCA is
Sun's attempt at derailing Web Services movement?
Please help me understand the big picture.
ThanksNope, its nothing to do with web services. JCA is so that you can integrate an enterprise's heterogeneous systems, including legacy systems, under J2EE - eg. have a J2EE application that calls SAP, CICs, databases etc using the same apis.
You could use web services for this, but it would be horribly inefficient having to convert everything to xml, parse it etc when all these systems are in your own company and under your control and there are java apis to connect to them. JCA is more likely to replace Corba calls to legacy systems and proprietry connections. -
6.5 does not support JCA. 7.0 is announced on 19th June
when the official statement regarding support for JCA
will be made. -
Suitability of Java EE Connector Architecture
Hi
I'm designing the architecture for an enterprise system which will be essentially "information and control" in nature, in that it will be required to interact with a large number of external systems that will provide/accept information and/or accept control requests. For example, my system will be connected via TCP to a number of devices that are constantly feeding in realtime information, and will also be connected via UDP to a number of devices that can be controlled. For each interface, the message transfer/content protocol will generally be a proprietary format. There will be any number of such external systems using any number of different message protocols.
My system will use Java EE technology. My understanding of the Java EE Connector Architecture (JCA) is that it is intended to support integration between Java EE app servers and EISs. What I'm wondering is whether in my environment, I could/should consider my "external systems" to be EISs. Looking at the JCA spec and elsewhere, a typical EIS is an ERP or a mainframe transaction processing system or a legacy database - whereas my external systems are just "things" with which my system will exchange messages. Are the two things the same? Is it practical to go for a JCA solution on the assumption that:
- I'll have to write all of my own resource adaptors, one for each type of interface;
- I can dispense with a lot of the 'fancy' JCA features such as transactions and security (if I can see no need for them).
Any suggestions or guidance gratefully received.Yes, your architecture is well suited to the java connector approach. It doesn't really
matter whether your backend external system is categorized as an "EIS". The fact
that it communicates via a proprietary format means you don't want to have to
write application code in a Java EE component that directly processes it. The
advantage of the inbound portion of the Java Connector architecture is that it
lets you plug in a piece of system code specifically tailored to communicate with
your backend system. Because it's a piece of system code, you have access to
many lower-level plumbing services such as threads that would not be available
to application code.
Likewise, once you process the appropriate lower-level communication details,
it's much more desirable to delegate to an application component in the
form of a Message-Driven bean that can then perform the business logic
needed in the enterprise tier.
--ken -
HI all,We developed an Java Application which contacts SAP R/3 using some IBM packages.Now i want to develop an application which uses Java Connector Architecture .
Please tell me ,where can i get the Java Connector API to start my work.i searched in sun,but unable to find the API.please tell me,How can I enhance my Application with Java Connector Architecture.
thanks in advance.
regards
Nageshbarindesai
I'm also gathering info in this topic. We develop an Java Application that connect to SAP. We beginning our tests with JCA and are happy about each help. If you could send us the ZIP-File with connection-example to r/3, we would thank you. here is our mail: [email protected]
regards
vladimir -
Is this possible: SAP Java Connector - XI - R3 with XI RFC Adapter?
Hi,
I try to call a RFC on a remote R/3 System over the XI Server in a Java Application with SAP Java Connector.
I have configured a RFC Sender Adapter in XI. I get the
following Exception:
"lookup of alternativeServiceIdentifier via CPA-cache failed for channel 'SenderChannel_RFC"!
Is this scenario possible? Or do the connection from
a SAP Java Connector App to the XI RFC Adapter not work?
You can't set the Client and System ID of a Third-Party or
Standalone Java system in the SLD.
Thanks for any help!
Regards
WolfgangHi,
We use a JCO for directly connecting to sap systems.
In that case we need not use any XI also.
But if you want to use RFC adapter and java application the best way is to use java proxies as sender and reciever as RFC adapter.
I donot think there is any architectural significance in using rfc adapter of XI while using JCO.
Let me know if I mis-understood the context. -
Java connector calls against sap system with logon groups
hi there.
i want to use java connector to connect to a sap system and run a function. my problem: the sap system has more than one instance and i do not want to connect against the central instance. i want to use a logon group. does anyone have an idea how to handle this?
thanks,
martinhi,
check this
http://help.sap.com/saphelp_nw04/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
http://nwadave.com/NwadExplorer/data/SAPDoc/architecture/SAP-Client_LogonAndCommunication.doc
let me know u need any further info
bvr -
Error while deploying MDM Java Connector for EP
Hi,
i am a newbie to MDM.i am trying to develop a portal component with the blog "Using MDM5.5 Java Connector with SAP Enterprise Portal 6.0" as reference.
i created an MDM system in portal and the connection tests passed.
But when i deploy the code i get the following exception-
java.lang.NullPointerException
at com.sap.mdm.connector.connection.MdmConnectionFactory.getConnectionEx(MdmConnectionFactory.java:170)
at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:304)
at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:258)
at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:478)
at com.sapportals.portal.ivs.cg.ConnectorService.getConnection(ConnectorService.java:85)
at com.cts.mdm.MDMtestcomp.doContent(MDMtestcomp.java:36)(this points to the line <b>connection = cgService.getConnection("MDM_SYSTEM_ALIAS", prop);</b>)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
This is my code-
IConnectorGatewayService cgService = (IConnectorGatewayService)
PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
ConnectionProperties prop =
new ConnectionProperties(request.getLocale(), request.getUser());
IConnection connection = null;
connection = cgService.getConnection("MDM_SYSTEM_ALIAS", prop);
INative nativeInterface = connection.retrieveNative();
CatalogData catalog = new CatalogData();
catalog = (CatalogData)
nativeInterface.getNative(CatalogData.class.getName());
ResultSetDefinition rsd = new ResultSetDefinition("Customers");
rsd.AddField("Name");
Search search = new Search("Customers");
A2iResultSet rs = null;
rs = catalog.GetResultSet(search,rsd,"Name",true,0);
response.write(rs.GetFields().toString());
Have i missed anything?
Should i deploy any .jar file? (i've already deployed MDM4J.jar) and referenced it in portalapp!
Thanks in advance
SwarnaDeepikaHello Swarna:
I believe than rather than deploying the MDM4J.jar, you should deploy this components:
com.sap.mdm.tech.mdm4j.sda
com.sap.mdm.tech.connector.sda
BPMDMTECHN00_0.sca
BPMDMAPPLI00_0.sca
Once you deploy those, you should have no problems. Another solution would be to take your MDM4J.jar and wrap it into an SDA, then deploy, but that would be pretty much the same.
Those components are included on your MDM CD. Please ensure you use the same Version/support package/hotfix all over your landscape.
I hope that helps
Alejandro -
SAP Business One - Java Connector
Hi All,
<br/><br/>
We have a SAP Business One Application installed on a laptop. The requirement is to be able to use the SAP Java API to update tables in the system. We are not allowed to connect directly to the database and was advised to use the API instead.
<br/><br/>
The downloaded API that we are using is "sapjco30P_6-10005324 32 bit.zip". I have included the dll file contained in this package in the WINDOWS/system32 folder. I am using Eclipse as IDE and already included the "sapjco3.jar" in the classpath.
<br/><br/>
First question: Am I using the right Java Connector for SAP Business One?
<br/><br/>
I got sample code on how to connect using JCO:
<br/><br/>
package sample;<br/><br/>
import java.io.File;<br/>
import java.io.FileOutputStream;<br/>
import java.util.Properties;<br/>
import java.util.concurrent.CountDownLatch;<br/><br/>
import com.sap.conn.jco.AbapException;<br/>
import com.sap.conn.jco.JCoContext;<br/>
import com.sap.conn.jco.JCoDestination;<br/>
import com.sap.conn.jco.JCoDestinationManager;<br/>
import com.sap.conn.jco.JCoException;<br/>
import com.sap.conn.jco.JCoField;<br/>
import com.sap.conn.jco.JCoFunction;<br/>
import com.sap.conn.jco.JCoFunctionTemplate;<br/>
import com.sap.conn.jco.JCoStructure;<br/>
import com.sap.conn.jco.JCoTable;<br/>
import com.sap.conn.jco.ext.DestinationDataProvider;<br/><br/>
public class StepByStepClient<br/>
{<br/>
static String ABAP_AS = "ABAP_AS_WITHOUT_POOL";<br/>
static String ABAP_AS_POOLED = "ABAP_AS_WITH_POOL";<br/>
static String ABAP_MS = "ABAP_MS_WITHOUT_POOL";<br/>
static<br/>
{<br/>
Properties connectProperties = new Properties();<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_ASHOST, "localhost");<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_SYSNR, "06");<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "000");<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_USER, "manager"); //sapuser<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "manager"); //sap1234<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_LANG, "en");<br/>
createDataFile(ABAP_AS, "jcoDestination", connectProperties);<br/><br/>
connectProperties.setProperty(DestinationDataProvider.JCO_POOL_CAPACITY, "3");<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_PEAK_LIMIT, "10");<br/>
createDataFile(ABAP_AS_POOLED, "jcoDestination", connectProperties);<br/><br/>
connectProperties.clear();<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_MSHOST, "localhost");<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_R3NAME, "SID");<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_CLIENT, "000");<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_USER, "manager"); //sapuser<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_PASSWD, "manager"); //sap1234<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_GROUP, "GROUP");<br/>
connectProperties.setProperty(DestinationDataProvider.JCO_LANG, "en");<br/>
createDataFile(ABAP_MS, "jcoDestination", connectProperties);<br/>
}<br/><br/>
static void createDataFile(String name, String suffix, Properties properties)<br/>
{<br/>
File cfg = new File(name"."suffix);<br/>
if(!cfg.exists())<br/>
{<br/>
try<br/>
{<br/>
FileOutputStream fos = new FileOutputStream(cfg, false);<br/>
properties.store(fos, "for tests only !");<br/>
fos.close();<br/>
}<br/>
catch (Exception e)<br/>
{<br/>
throw new RuntimeException("Unable to create the destination file " + cfg.getName(), e);<br/>
}<br/>
}<br/>
}<br/><br/>
public static void step1Connect() throws JCoException<br/>
{<br/>
JCoDestination destination = JCoDestinationManager.getDestination(ABAP_AS);<br/>
System.out.println("Attributes:");<br/>
System.out.println(destination.getAttributes());<br/>
System.out.println();<br/><br/>
destination = JCoDestinationManager.getDestination(ABAP_MS);<br/>
System.out.println("Attributes:");<br/>
System.out.println(destination.getAttributes());<br/>
System.out.println();<br/>
}<br/><br/>
public static void main(String[] args) throws JCoException<br/>
{<br/>
step1Connect();<br/>
}<br/>
}<br/>
<br/><br/>
Each time I run the application I run into an error:
<br/><br/>
Attributes:<br/>
Exception in thread "main" com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Connect to SAP gateway failed<br/>
Connection parameters: TYPE=A DEST=ABAP_AS_WITHOUT_POOL ASHOST=localhost SYSNR=06 PCS=1<br/><br/>
LOCATION CPIC (TCP/IP) on local host with Unicode<br/>
ERROR connection to partner '127.0.0.1:3306' broken<br/>
TIME Mon May 09 10:46:46 2011<br/>
RELEASE 720<br/>
COMPONENT NI (network interface)<br/>
VERSION 40<br/>
RC -6<br/>
MODULE gwxx.c<br/>
LINE 646<br/>
DETAIL NiIRead: P=127.0.0.1:3306; L=0.0.0.0:50496<br/>
SYSTEM CALL GwRead<br/>
ERRNO 10054<br/>
ERRNO TEXT WSAECONNRESET: Connection reset by peer<br/>
COUNTER 2<br/><br/>
at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:662)<br/>
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1362)<br/>
at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:721)<br/>
at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103)<br/>
at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:293)<br/>
at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:46)<br/>
at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:262)<br/>
at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:509)<br/>
at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:347)<br/>
at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:27)<br/>
at sample.StepByStepClient.step1Connect(StepByStepClient.java:74)<br/>
at sample.StepByStepClient.main(StepByStepClient.java:304)<br/>
Caused by: RfcException: [null]<br/>
message: Connect to SAP gateway failed<br/>
Connection parameters: TYPE=A DEST=ABAP_AS_WITHOUT_POOL ASHOST=localhost SYSNR=06 PCS=1<br/>
<br/><br/>
Second question: What seems to be the problem with my sample application? Do I need to use a different Java Connector for SAP Business One or SAP Business One does not support Java Connector?
<br/><br/>
Please help.
<br/><br/>
Thank you all.
Edited by: kevinroy on May 9, 2011 4:51 AMHi,<br/>
Thank you very much for the reply. I am now able to move forward with what I am doing.<br/>
I used the following code in connecting but am encountering an error:<br/>
public class ConnectSAP {
// company interface
public ICompany company;
private SBOErrorMessage errMsg = null;
public static void main(String[] args) {
ConnectSAP company = new ConnectSAP();
company.conn();
//method make connection andinitialize company instance
public int conn() {
int rc = 0;
try {
company = SBOCOMUtil.newCompany();
company.setServer("192.168.0.216"); //192.168.0.216
company.setCompanyDB("SBODemoUS");
company.setUserName("manager");
company.setPassword("manager");
company.setDbServerType(SBOCOMConstants.BoDataServerTypes_dst_MSSQL2005);
company.setUseTrusted(new Boolean(false));
company.setLanguage(SBOCOMConstants.BoSuppLangs_ln_English);
company.setDbUserName("username");
company.setDbPassword("password");
//company.setAddonIdentifier("...");
//company.setLicenseServer("...");
rc = company.connect();
if (rc == 0) {
System.out.println("Connected!");
} else {
errMsg = company.getLastError();
System.out.println(
"I cannot connect to database server: "
+ errMsg.getErrorMessage()
+ " "
+ errMsg.getErrorCode());
} catch (Exception e) {
e.printStackTrace();
return -1;
return rc;
public void freeConnection(){
company.disconnect();
}<br/>
I am getting the error "Failed to Connect to SBOCommon -111".<br/>
Error is still the same even if I set UseTrusted to true and comment the DbUserName and DbPassword.<br/>
Do I need to specify the license? Or login to SAP before connecting?<br/>
Thank you. -
RFC JAVA CONNECTOR CAUSING THE JAVA TO BE IN SAFE MODE
Hi GURUS :
We have SolMan with JAVA as Add in . Now during the JSPM Launch the JSPM Aborts with the Err Messages as shown :
in trace file dev_jrfc.trc and in defaultTrace we have this same message :
>>>>
#1.5 #0003BA951BE1004C0000000500007486000456B88DE8595D#1221250561628#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine#J2EE_GUEST#0##n/a##d7e28da080f311ddc3de0003ba951be1#SAPEngine_Application_Thread[impl:3]_27##0#0#Error#1#/System/Server#Plain###Bean SLDJAVA_ACCESSOR_REQUESTnot found on host <fqdn of host name> ProgId =JCOLDAPI: Path to object does not exist at rfcaccessejb_stateful, the whole lookup name is rfcaccessejb_stateful/SLDJAVA_ACCESSOR_REQUEST.registered entries for FuctionName=JNDIName : {}#
#1.5 #0003BA951BE1004C0000000600007486000456B88DE85D04#1221250561629#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##n/a##d7e28da080f311ddc3de0003ba951be1#SAPEngine_Application_Thread[impl:3]_27##0#0#Error##Plain###java.lang.RuntimeException: Bean SLDJAVA_ACCESSOR_REQUESTnot found on host <fqdn of host name>, ProgId =JCOLDAPI: Path to object does not exist at rfcaccessejb_stateful, the whole lookup name is rfcaccessejb_stateful/SLDJAVA_ACCESSOR_REQUEST.#
#1.5 #0003BA951BE1004C0000000700007486000456B88DE85E8C#1221250561629#com.sap.engine.services.rfcengine##com.sap.engine.services.rfcengine.handleRequest#J2EE_GUEST#0##n/a##d7e28da080f311ddc3de0003ba951be1#SAPEngine_Application_Thread[impl:3]_27##0#0#Error##Plain###java.lang.RuntimeException: Bean SLDJAVA_ACCESSOR_REQUESTnot found on host <fqdn of host name>, ProgId =JCOLDAPI: Path to object does not exist at rfcaccessejb_stateful, the whole lookup name is rfcaccessejb_stateful/SLDJAVA_ACCESSOR_REQUEST.
at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:138)
at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
<<<
Now , this JCOLDAPI is Java RFC Connector with User PORTALADMIN and at the ABAP Side we see that the J2EE_ADMIN pwd was changed by this PORTALADMIN !! We had at the same time stamp, the message in the log file of the JSPM that credential supplied to log in to J2EE Engine is not valid ( 'cause, the PORTALADMIN had changed the PW
of the J2EE_ADMIN ) - While attempting to Launch the JSPM for JAVA Patches > It aborts with the same above message !!
Half of the SW Comp were updated and rest half aborts repeatedly with the above message.
Same way the Vis Admin won't start with the msg that Credential to connect J2EE is not valid. Although there was no change at the Config Tool Secure Store > J2EE Admin and SAPSR3DB passwords !!
I have changed both the J2EE_ADMIN and the PORTAL ADMIN to the User Type Service User ( note 622464 ) ..have
kept the same pw at ABAP and configtool secure store. But the java is not coming up neither through SMICM nor through the startsap j2ee command as SMPADM.
i.e. it would comeup only in SAFE Mode !!
This JCOLDAPI RFC Java Connector 's PORTALADMIN has several rights at the ABAP Side and is used for EWA Purpose.
JAVA is running in SAFE mode and no matter how many time I try at the config tool Side to bring it in normal mode it is not swithcing to normal mode > I disble the safe mode at the ConfigTool Side > Apply > Save . > Restart the JAVA through the jcmon > shutdown and restart cluster under #10 Cluster Admin Menu > it is coming up only in SAFE mode again with the abvoe error message !!! Restart through the SMICM don't even work at all !!. Also, the system is slow ..even to come in safe
mode JAVA takes about 45 minutes !!!
Also, since the JAVA is coming up only in safe mode the SLD and the browser page is not available. The jcomon displays the instance status as ' Synchronizing Binaries' since
last 20 hours ..this means that the instance is in hang state.
Any idea how to solve this problem ?
Thanks a Lot in Advance,
Regards,
- Ishan
Edited by: ISHAN P on Sep 13, 2008 2:54 PMhi ishan,
do you have solved the problem?? as ??
thanks
umberto -
How to get pdf file from sap presentation server using java connector
Hi Friends,
with the below code i am able to get po details in pdf in presentation server.
DATA : w_url TYPE string
VALUE 'C:\Documents and Settings\1011\Solutions\web\files\podet.pdf'.
CALL FUNCTION 'ECP_PDF_DISPLAY'
EXPORTING
purchase_order = i_ponum
IMPORTING
PDF_BYTECOUNT =
pdf = file " data in Xsting format
*Converting Xstring to binary_tab
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = file
APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH =
TABLES
binary_tab = it_bin " data in binary format
**Downloading into PDF file
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = w_url
filetype = 'BIN'
TABLES
data_tab = it_bin
when i am using java connector , to retirve the file from presentation server , the follwoing error i am getting...
init:
deps-jar:
compile-single:
run-single:
com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Error in Control Framework
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeExecute(Native Method)
at com.sap.mw.jco.rfc.MiddlewareRFC$Client.execute(MiddlewareRFC.java:1244)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3842)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3287)
at PdfGen.<init>(PdfGen.java:35)
at PdfGen.main(PdfGen.java:78)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
i debugged too, problem with <b>gui_download......</b>
I am very glad to all with your suggestions!!
Regards,
Madhu..!!Hi
You can try to create an external command (transaction SM69).......sorry I've forgotten,,,,they works on application
How do you call CL_GUI_FRONTEND_SERVICES=>EXECUTE?
Max
Edited by: max bianchi on Oct 13, 2011 10:27 AM -
How to install the SAP Java Connector
Hi,
I am unsure how to install the SAP Java Connector on Linux (Suse Linux Enterprise 10). The SAP Integration Kit install and admin guide says:
===
u2022 Copy the librfccm library and the libsapjcorfc library to busines
sobjects_root/enterprise120/PLATFORM_PATH, where busines
sobjects_root is the full path to your businessobjects directory,
and PLATFORM_PATH is your platform. For example, PLATFORM_PATH
is solaris_sparc for an installation on Solaris.
u2022 Use symbolic links for the location of the librfccm library and the lib
sapjcorfc library.
u2022 Add the location of the librfccm library and the libsapjcorfc library
to the library path.
===
Do I have to do all 3 steps or is the 1st one (copying of files) enough?
On the other hand, the SAP Java Connector guide says:
===
Then add {sapjco-install-path} to the LD_LIBRARY_PATH environment variable.
Finally, add {sapjco-install-path}/sapjco.jar to your CLASSPATH environment variable.
===
So, what to do?
Thanks!Thanks for your help. So i copied the 2 files as mentioned in point 1.
Where do I have to copy the file sapjco.jar to? There is no shared lib folder after installing BO Edge 3.1 on a Linux system.
I copied the sapjco.jar to /bobje/tomcat/common/lib but still get the message that the Java Connector files are not in the correct directory.
I already copied the files librfccm.so and libsapjcorfc.so to /bobje/enterprise120/linux_x86 .
Thanks again!
Edit: problem solved: Copying the sapjco.so to tomcat/shared/lib is correct, if the directory doesn't exist then just create it (mkdir). The message is just plain information 7 hint.
Maybe you are looking for
-
Can I copy music iTunes Music Folder from my external Hard drive to new PC?
not sure if this is possible but I copied my folders (documents/music/itunes/itunes music folder) from my local hard drive from laptop to my external (for backing up purposes) and now i have a new computer. can i just simply copy/paste this folder to
-
I need UID of any selected item on page and also array of UID's in case multiple selection happens. How can I achieve it? One way I know is to write an observer and attach it on every new page Item created, but that way the system might become slow a
-
Unaccessible Apple link - wazzup with that?
I have seen this line in a few other topics as well - but clicking "discussion" always leads me to this page, which seems to be somewhat unsure about it all as well: Why am I being informed about something I am "apparently" not authorised to see?
-
How to redefine GOS toolbar function "SEND OBJECT WITH NOTE" for deliveries
Hello Abapers, for inbound and outbound deliveries (tcodes VL01N, VL02N, VL03N, VL31N, VL32N, VL33N) I have to replace the GOS toolbar function SEND OBJECT WITH NOTE with a redefined function matching the following specifications: - Title field needs
-
Morning. How can I print iCal sheets in list view containing all not completed todos? TIA and kind regards, Friedrich Powerbook G4 1.67 GHz Mac OS X (10.4.8) 1 GB RAM