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 Interchange Server + Adapters » Issue with Configuring mySAP adaptor

Post new topic  Reply to topic
 Issue with Configuring mySAP adaptor « View previous topic :: View next topic » 
Author Message
kirankinnu
PostPosted: Tue May 08, 2007 4:53 am    Post subject: Issue with Configuring mySAP adaptor Reply with quote

Centurion

Joined: 12 Jun 2004
Posts: 128
Location: Chicago, IL

Hello folks,
I am trying to configure the mySAP adaptor. I have this version on my system Framework 2.6.0.8 & mySAP 6.0.4. I created the config file and when I run the start_SAP.bat I get this error

"
C:\IBM\WebSphereAdapters>REM @echo off
C:\IBM\WebSphereAdapters>setlocal
C:\IBM\WebSphereAdapters>if "C:\IBM\WebSphereAdapters" == "" goto CWSETTINGS
C:\IBM\WebSphereAdapters>call "C:\IBM\WebSphereAdapters"\bin\CWConnEnv.bat
C:\IBM\WebSphereAdapters>REM if WBIA_RUNTIME exists, do things the new way, otherwise use the old way
C:\IBM\WebSphereAdapters>if "C:\IBM\WebSphereAdapters" == "" goto CROSSWORLDS
C:\IBM\WebSphereAdapters>REM By default, use the WBIA.jar under lib. This is the jar built with the most
C:\IBM\WebSphereAdapters>REM recent WBIA adapter framework.
C:\IBM\WebSphereAdapters>set WBIA="C:\IBM\WebSphereAdapters"\lib\WBIA.jar
C:\IBM\WebSphereAdapters>set FFDC="C:\IBM\WebSphereAdapters"\lib\ffdc\properties
;"C:\IBM\WebSphereAdapters"\lib\aspectj\aspectjrt.jar;"C:\IBM\WebSphereAdapters"
\lib\ffdc\ffdcSupport.jar;"C:\IBM\WebSphereAdapters"\lib\ffdc\wsexception.jar;"C
:\IBM\WebSphereAdapters"\lib\ffdc\ffdc.jar;"C:\IBM\WebSphereAdapters"\lib\ffdc\a
nalysisEngine.jar
C:\IBM\WebSphereAdapters>set JCLASSES=;"C:\IBM\WebSphereAdapters"\lib\WBIA.jar;"
C:\IBM\WebSphereAdapters"\lib\ffdc\properties;"C:\IBM\WebSphereAdapters"\lib\asp
ectj\aspectjrt.jar;"C:\IBM\WebSphereAdapters"\lib\ffdc\ffdcSupport.jar;"C:\IBM\W
ebSphereAdapters"\lib\ffdc\wsexception.jar;"C:\IBM\WebSphereAdapters"\lib\ffdc\f
fdc.jar;"C:\IBM\WebSphereAdapters"\lib\ffdc\analysisEngine.jar
C:\IBM\WebSphereAdapters>goto END
C:\IBM\WebSphereAdapters>set CONNDIR=C:\IBM\WebSphereAdapters\connectors\SAP

C:\IBM\WebSphereAdapters>goto NEXT
C:\IBM\WebSphereAdapters>REM set the name to be the application connector that is starting

C:\IBM\WebSphereAdapters>set CONNAME=SAP

C:\IBM\WebSphereAdapters>set CONNPACKAGENAME=com.crossworlds.connectors.sap.visi
onframework.VisionConnectorAgent

C:\IBM\WebSphereAdapters>REM set the server name to be the interchange that is b
eing targeted

C:\IBM\WebSphereAdapters>set SERVER=WMQI_WAS

C:\IBM\WebSphereAdapters>REM goto the connector specific drive & directory

C:\IBM\WebSphereAdapters>cd /d C:\IBM\WebSphereAdapters\connectors\SAP

C:\IBM\WebSphereAdapters\connectors\SAP>REM set vision class paths

C:\IBM\WebSphereAdapters\connectors\SAP>set JCO_JAR="C:\IBM\WebSphereAdapters\co
nnectors\SAP"\jCO.jar;"C:\IBM\WebSphereAdapters\connectors\SAP"\sapjco.jar

C:\IBM\WebSphereAdapters\connectors\SAP>set AGENT_JAR="C:\IBM\WebSphereAdapters\
connectors\SAP"\CWSAP.jar

C:\IBM\WebSphereAdapters\connectors\SAP>set PATH="C:\IBM\WebSphereAdapters\conne
ctors\SAP";C:\IBM\WebSphereAdapters\bin;C:\IBM\WebSphereAdapters\jre\bin\classic
;C:\IBM\WebSphereAdapters\jre\bin;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\
WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\
QTSystem\;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\
Microsoft SQL Server\80\Tools\BINN;\bin;C:\Program Files\IBM\WebSphere MQ\bin;C:
\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;C:\PROGRA~1\IBM\SQLLIB\BIN;C
:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\CQ\bin;C:\
CQ\lib;

C:\IBM\WebSphereAdapters\connectors\SAP>REM Test PATH="C:\IBM\WebSphereAdapters\
connectors\SAP"

C:\IBM\WebSphereAdapters\connectors\SAP>if "C:\IBM\WebSphereAdapters" == "" goto
CWSTART

C:\IBM\WebSphereAdapters\connectors\SAP>REM set variables that need to pass to s
tart_adapter.bat

C:\IBM\WebSphereAdapters\connectors\SAP>set JVMArgs=

C:\IBM\WebSphereAdapters\connectors\SAP>set JCLASSES="C:\IBM\WebSphereAdapters\c
onnectors\SAP"\CWSAP.jar;C:\IBM\WebSphereAdapters\connectors\SAP;"C:\IBM\WebSphe
reAdapters\connectors\SAP"\jCO.jar;"C:\IBM\WebSphereAdapters\connectors\SAP"\sap
jco.jar

C:\IBM\WebSphereAdapters\connectors\SAP>set LibPath="C:\Program Files\IBM\WebSph
ere MQ\Java\lib"

C:\IBM\WebSphereAdapters\connectors\SAP>set ExtDirs="C:\Program Files\IBM\WebSph
ere MQ\Java\lib"

C:\IBM\WebSphereAdapters\connectors\SAP>REM start a Java connector

C:\IBM\WebSphereAdapters\connectors\SAP>call "C:\IBM\WebSphereAdapters"\bin\star
t_adapter.bat -nSAPConnector -sWMQI_WAS -lcom.crossworlds.connectors.sap.visionf
ramework.VisionConnectorAgent -cC:\IBM\WebSphereAdapters\connectors\SAP\SAP_IDOC
1.cfg
Exception in thread "main" java.lang.NoClassDefFoundError: org/aspectj/lang/Sign
ature
at AppEndWrapper.main(AppEndWrapper.java)
Press any key to continue . . .
"

I would appreciate If someone could help me out with this or where might be the possible error.
Thank you,
Kiran
Back to top
View user's profile Send private message
Il_Ciclone
PostPosted: Mon May 14, 2007 4:24 am    Post subject: Reply with quote

Novice

Joined: 21 Mar 2007
Posts: 24

Quote:
C:\IBM\WebSphereAdapters\connectors\SAP>set JCO_JAR="C:\IBM\WebSphereAdapters\co
nnectors\SAP"\jCO.jar;"C:\IBM\WebSphereAdapters\connectors\SAP"\sapjco.jar

C:\IBM\WebSphereAdapters\connectors\SAP>set AGENT_JAR="C:\IBM\WebSphereAdapters\
connectors\SAP"\CWSAP.jar


verify that the paths to the .jars are ok.
this looks kinda funny (is the "" placed ok?)
Back to top
View user's profile Send private message
mqseries0209
PostPosted: Mon May 14, 2007 5:55 am    Post subject: Reply with quote

Voyager

Joined: 30 Mar 2006
Posts: 90

The above error is a common one.
Look in to Infocenter on how to edit a particular bat file of an adapter, to point to the right adapter files and stuff.
Back to top
View user's profile Send private message
kirankinnu
PostPosted: Mon May 14, 2007 6:48 am    Post subject: Reply with quote

Centurion

Joined: 12 Jun 2004
Posts: 128
Location: Chicago, IL

This issue was resolved. As the start_SAP.bat file doesnot contain one of the class paths added to it. Once I added it, everything was fine. I had to compare the bat file with other bat file to make out the difference what was missing.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » Issue with Configuring mySAP adaptor
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.