ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » SAP JCO jar path query

Post new topic  Reply to topic
 SAP JCO jar path query « View previous topic :: View next topic » 
Author Message
ntwmb
PostPosted: Tue Dec 09, 2008 1:32 am    Post subject: SAP JCO jar path query Reply with quote

Apprentice

Joined: 18 Sep 2008
Posts: 34

Hi

I'm working on one message flow which includes sap adapter connection. We, developers dont have access to runtime environment which will be handled by infrastructure team, runtime env is in Unix, dev environment is in Windows.

When Im trying to create SAPAdapter connection, it has showed path for Connector file D:\Program Files\IBM\WMBT610\ResourceAdapters\SAP_6.1.0.0\deploy\CWYAP_SAPAdapter_Tx.rar

1) If runtime env is in Unix, what this path is referring to?

SAP library files have been installed in runtime env.
We developers received sap jar files zip file from infrastructure team and unzipped it and saved in some local drive.
While creating adapter connection, choosen path for library files as given below
Ex: K:\SAP_JCO\sapjco.jar, K:\SAP_JCO\librfc32.dll, K:\SAP_JCO\sapjcorfc.dll

2) Is it correct to save these jar files in local drive?
Do we have to save these jar files only in C/D drive?

Sometimes I receieved NoClassDefFoundError:com.sap.mw.jco.JCO,
this is occuring only few times not always.

Im wondering why this error is occurring only few times.

It would be helpful, if someone can answer my queries.
Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Dec 09, 2008 2:06 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Don't double post!

http://www.mqseries.net/phpBB2/viewtopic.php?p=232931
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Dec 09, 2008 3:53 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Don't know about the .rar adapter... It used to require Netweaver.

About the SAPJCO adapter.
There is a different version for unix/AIX, Linux, Solaris, Windows.
You need to install the version that is right for your platform.
You might also want to add the jars for idoc handling that are relevant for your platform.

  • the Jars will need to be on your classpath.
  • the SAPJCO install directory will need to be on your PATH in Windows and on your LIBRARY_PATH/LD_LIBRARY_PATH/LIBPATH in Unix. See the appropriate environment command for your OS
  • There is a sap note that says that you need a .dll file from the appropriate .NET framework version


Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » SAP JCO jar path query
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.