Hi,
I am connecting to Solman from ARIS Business Architect for SAP, in which I have a Local server and an external server added which is running on the same machine as ARIS Business Architect for SAP7.1.
I am able to see the Solman projects from with-in ARIS, when I import the content on a DB created on Local server. However, when i enter my Solman login credentials to see the project in a DB created on the External server, it throws up an error: could not initialize class com.sap.mw.jco.JCO
I have copied the the same sapjco.jar in both <installdirectory>\ARIS7.1\LocalServer\lib and <installdirectory>\ARIS7.1\server\lib. sapjcorfc.dll and librfc32.dll is in C:\Windows\system32 folder.
Environment variable CLASSPATH is C:\Program Files\ARIS7.1\server\lib\sapjco.jar;C:\Program Files\ARIS7.1\server\lib
Environment variable PATH is C:\Program Files\HP\NCU;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\ARIS7.1\server\lib;C:\Program Files\OmniBack\bin\
Can some one please point out, then why am I not able to import the Solman project on a DB on external ARIS server, whereas I can do the same on a DB on Local ARIS server?
Thanks.
Hi,
actually your approach is absolutely correct and it should work without throwing the JCO error. But you have to keep in mind that you have to restart the ARIS Business Server after copying the sapjco.jar and the the sapjcorfc.dll and librfc32.dll files.
Another problem could be that you have a 64 Bit operating system on which the ARIS server was installed. On 64 Bit systems you have to use special a 64 Bit version of the sapjcorfc.dll and librfc32.dll files.
That I could better help you, please answer me the following questions:
1. Do you have installed the ARIS server (external server) on a 64 Bit operation system?
2. If you use a 64 OS then it is important to know which CPU is used?
3. Did I understand correct that you have installed the ARIS Business Architect on the same machine as the ARIS Business server.
4. Which version of the sapjco you use?
5. If you execute the ../server/lib/sapjco.jar which information do you get from the dialog? (A screenshot would be the best!)
The next picture shows a sapjco.jar information dialog screenshot:
To execute the sapjco.jar you can use the console command
"C:\Programme\ARIS7.1\server\jre\bin\java -jar C:\Programme\ARIS7.1\server\lib\sapjco.jar"!
Best regards,
Sascha
Hi Sascha,
I have gone through the thread and your posts. I am working on ARIS-Solman Synchronization. Although I have copied the required connector files (JCO and dll) to respective locations. I am getting an error "Unale to find file "sapjco3.jar" i.e. Error code:CONN_0001.
Also, when I am executing the jco file, it throws following error:
Requesting your help to resolve this. Thanks in advance!
Thanks,
Ankush
Hi Sascha,
Thanks for your detailed reply.
1. ARIS server has been installed on a 64 bit Operating system Windows 2003 R2 Standard x64. Processor is EM64T.
2. JVM which I am running looks like a 32 bit 1.6.0_07-b06
3. ARIS Business Architect is installed on the same machine as ARIS server.
4,5 - I have tried to use all possible versions of sapjco.jar, sapjcorfc.dll and librfc32.dll. I've downloaded the SAP connectors from SAP website. A note on the website says 'Note on 32bit versus 64bit: You only need the 64bit version, if you are using a 64bit Java VM. If you have to use a 32bit Java VM on a 64bit platform, please download the 32bit version of JCo.'
When I tried with 32 bit file: At first login it gives the following error:
At subsequent log-ins it says "Could not initialize class com.sap.mw.jco.JCO"
When I tried with 64 bit files, my sapjco.jar (<ARIS install dir\server\lib) can not find the sapjcorfc.dll, which is copied in c:\Windows\system32 (alongwith librfc32.dll). I get the following error
Environment variables read:
CLASSPATH: C:\Program Files\ARIS7.1\server\lib\sapjco.jar
PATH: C:\Program Files\ARIS7.1\server\lib;C:\WINDOWS\system32;C:\Program Files\HP\NCU;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\OmniBack\bin\;C:\Program Files (x86)\Java\jre1.6.0_07\bin
------------------------------------------------------------------------------------------------------------------
That is the story. Can you please point out somethings that I can try to make the ARIS server- Solman Synchronization work?
The Local server and Solman sync still works fine.
Thanks.
Hi Rahul,
if you running the ARIS server on a 64Bit OS then the setup installs a 64Bit version of the JVM.
Please test this with the following commands: "C:\Program Files\ARIS7.1\server\jre\bin\java -version" AND "C:\Program Files\ARIS7.1\LocalServer\jre\bin\java -version"
If the ARIS server used the 64Bit version of the JVM then you have to use the a 64 Bit version of SAP JCO. Please download the JCO archive with the name 'sapjco-ntamd64-2.1.8.zip' (64Bit for x86) and copy the sapjcorfc.dll (3.975KB) and librfc32.dll (5.676KB) to C:\Windows\system32.
You may not use the 64Bit Itanium version of SAP JCO (sapjco-ntia64-2.1.8.zip).
If it still does not work then download the 32Bit version of the SAP JCO (sapjcontintel-2.1.8.zip) and copy the sapjcorfc.dll (3.636KB) and librfc32.dll (5.168KB) to C:\Windows\SysWow64.
It is important that the ARIS sever and the client will be restarted after the changes.
And please execute the sapjco.jar with the following commands and publish the screenshots:
"C:\Program Files\ARIS7.1\server\jre\bin\java -jar C:\Program Files\ARIS7.1\server\lib\sapjco.jar" AND
"C:\Program Files\ARIS7.1\LocalServer\jre\bin\java
-jar C:\Program Files\ARIS7.1\LocalServer\lib\sapjco.jar"
I hope it works ;-)))
Best regards,
Sascha
Hi Sascha,
Thanks a ton. It works now.
I was earlier referring to the JVM version which is external to ARIS and separately installed on the server machine. I was under the impression that it was the one which is being used by ARIS. But ARIS was actually using the 64 bit JVM version installed along with the ARIS platform installation. I changed the java path to reflect the 64 bit version and it work smoothly there-after (using the 64 bit files).
Thanks a lot for taking out the time to write the detailed replies and proving specific solution to my problem. I hope this would help many others facing a similar issue.
~Rahul
I have a slightly different issue. I have ARIS Business server installed on a Linux box and ARIS Business Architect installed on a XP machine. I am able to sync with SOLMAN that is running on another Linux box.
However, recently we are moving the ARIS Busines server and SOLMAN to new Linux boxes. I am trying to run a sync from the new new Bus server to new SOLMAN through the same Business Arcitect client and I get a message' could not initialize class com.sap.mw.jco.JCO' . The linux boxes are identical and I am using the same Bus Arch client. The sapjco files have been correctly installed on the ARIS Business server
Any help is appreciated
Thanks!
Hi Rahul,
I am new to ARIS, but work on SAP. I am trying to sync ARIS to Solman. I am getting the following error.
"Unable to find sapjco.jar file". I had followed the above thread and defined the variables and done the version check for SAP JCO. we are on 32 bit with ARIS Server on SQL 2005 and client on xp.
Installed JCO 2.1.9 version for 32bit both on server and client on my desktop.
Appreciate any help.
Thanks,
Farooq
Hi,
if you have any other problems with the JCo issue then have a look at this SAP JCo FAQ.
Best regards,
Sascha
Hello,
I am encountering the same problem as the above...
server - 32bit, windows server 2003, Aris business architect 7.1
local - 32 bit windows xp, aris business architect for sap 7.1
(the JCo and JRE is a 32 bit and the server is also a 32 bit.)
we installed the Jco 2.1 and putted all the jar files and the dll files as asked.
1. sapjco.jar – at the installed client (Local at ('C:\Program Files\ARIS7.1\JavaClient\lib')), and in the business server ('D:\Program Files\ARIS7.1\server\lib') and the Local server (on the server D:\Program Files\ARIS7.1\LocalServer\lib') and in the publisher (on the server 'C:\Program Files\ARIS7.2\BPSERVER\tomcat\webapps\businesspublisher\layouts\extensions\sap_cxn')
2. sapjcorfc.dll, librfc32.dll in the 'C:\Windows\System32'
we restarted our server.
We installed the update to the Visual Studio 2005 C/C++ runtime
We putted on the server the Directory c:\Jco and added it to the classpath.
The version of the server is-
server version
D:\Program Files\ARIS7.1\server\jre\bin>java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java Hotspot(TM) Client VM (build 14.3-b01, mixed mode)
Local Computer Version
D:\Program Files\ARIS7.1LocalServer\jre\bin>java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode)
this error is on the server
and the jco error text is -
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
Hi Gilad,
did you have a look at the SAP JCo FAQ?
http://www.ariscommunity.com/users/sascha-ding/2011-10-30-aris-sap-jco-3-faq
Best regards,
Sascha
Hello once again...
So i started all over again with a new server with Aris 7.2 and also on the local client.
Now after i run the java -jar sapjco3.jar from the command line the output is perfect.
unfortunately i encounter a new problem... when i enter the aris for sap 7.2 on my local client and try to do SAP -> transfer project i get the error msg
"Unable to find "sapjco.jar" for farther information ...."
(*why does he looks for the sapjco.jar and not the sapjco3.jar????)
in the beginning i thought that the problem accord because i upgraded from the 7.1 to the 7.2, so i reinstalled it completely and it's still doesn't work.
If you have any idea i would be grateful,
Thank you in advance
Gilad
Hi Ignacio,
you are right the reason for the problem could be that SAP ports are not enabled. Here a snippet of the ARIS Installation and Administration Guide:
"... The special SAP ports sapgw00 3300/tcp and sapdp00 3200/tcp must be enabled in the Windows Services file of the client computer (C:\Windows/ system32/ drivers/ etc/services) and when using SAP routers because they are responsible for the RFC access of the SAP system. In general, these ports are added to the Services file automatically during SAP GUI installation. If several SAP systems are connected, additional ports need to be enabled to accommodate the systems. By default, the syntax for a port number is as follows 3300 plus the <SAP system number> being used. If, for example, the system number is 03, the port number 3303 must be activated ..."
The SAP port entries int the Windows Services file should be look like that:
sapdp00 3200/tcp
sapdp01 3201/tcp
sapdp02 3202/tcp
....
sapgw96 3396/tcp
sapgw97 3397/tcp
sapgw98 3398/tcp
sapgw99 3399/tcp
sapmss04 3600/tcp
Best regards,
Sascha