Profile picture for user rahul.rajvanshi31

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.

by Sascha Ding
Posted on Wed, 12/16/2009 - 07:54

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

0
by Ankush Jain
Posted on Mon, 05/06/2013 - 15:00

In reply to by Frank Weyand

 

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

0
by Rahul Rajvanshi Author
Posted on Wed, 12/16/2009 - 02:55

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.

0
by Sascha Ding
Posted on Thu, 12/17/2009 - 07:59

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

0
by Rahul Rajvanshi Author
Posted on Wed, 12/16/2009 - 23:47

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

0
by Pierre-Alain MILLET
Posted on Wed, 09/01/2010 - 13:38

thanks again Sascha for this very detailed solution...

same situation than rahul... and it works fine now

regards,

pam

0
by Sascha Ding
Posted on Wed, 09/01/2010 - 13:59

You are welcome!

Best regards,

Sascha

0
by Natasha N
Posted on Sun, 12/12/2010 - 04:37

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!

 

 

0
by Farooq Hussain
Posted on Sun, 01/09/2011 - 14:23

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

0
by Sascha Ding
Posted on Sun, 10/30/2011 - 16:41

Hi,

if you have any other problems with the JCo issue then have a look at this SAP JCo FAQ.

Best regards,

Sascha

0
by Gilad Wilk
Posted on Sun, 11/20/2011 - 11:32

 

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'

JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [C:\WINDOWS\system32\sapjcorfc.dll: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem]. java.library.path [D:\Program Files\ARIS7.1\server\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Program Files\ARIS7.1;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\OmniBack\bin\;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;D:\Program Files\ARIS7.1\server\lib; C:\JCo;C:\WINDOWS\system32\jco] at com.sap.mw.jco.JCO.<clinit>(JCO.java:871) at com.sap.mw.jco.About.<init>(About.java:49) at com.sap.mw.jco.About.main(About.java:110)   the local server printscreen is  and the jco error is: java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [C:\WINDOWS\system32\sapjcorfc.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform]. java.library.path [C:\Program Files\ARIS7.1\LocalServer\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Novell\ZENworks\; C:\WINDOWS\system32\JCo;Z:.;] at com.sap.mw.jco.JCO.<clinit>(JCO.java:871) at com.sap.mw.jco.About.<init>(About.java:49) at com.sap.mw.jco.About.main(About.java:110)     and thats it i think... if you need any more information that would help you help us, just ask   Thank you very much in advance   gilad

 

0
by Gilad Wilk
Posted on Sun, 11/20/2011 - 16:30

Yes...

I read it from begining to end... and than 8 more times...

 

0
by Gilad Wilk
Posted on Sun, 11/27/2011 - 11:15

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

0
by Ignacio Arriagada
Posted on Wed, 11/30/2011 - 03:01

Hi,

I'm getting the following error when i try to synchronize ARIS and SAP. I think its a SAP port error, but i'm not sure in what to ask the basis to do to solve this problem.

Can anyone help me in "what to ask for"?

Thanks

Error ARIS 4 SAP

0
by Sascha Ding
Posted on Wed, 11/30/2011 - 08:09

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

0

Featured achievement

Genius
You like to help others solve their problems by answering questions.
Recent Unlocks
  • KF
  • KH
  • RG
  • Profile picture for user Vee_ARIS
  • Profile picture for user smarty
  • PacMan

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock