OpenSource Solutions Enterprise Solutions
Feature Tour View Demo Get Ttrial
ASK THE MEISTER
Welcome, Guest
Please Login or Register.    Lost Password?
Error Running Workflows with omcmdline.jar (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Error Running Workflows with omcmdline.jar
#104
jerivas (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Error Running Workflows with omcmdline.jar 4 Months ago Karma: 0&nbsp&nbsp
KB Server in W2k3 SP2
Meister 7.1 Client in Windows XP SP 2

Now I have configured a WorkFlow (WF) in Meister which name is “BCV” I
have run the WF and everything work very well
Therefore I have trying to run the same “BCV” WF from the command line
with omcmdline.jar

The command line that I am running now is:

java –cp D:Meister_7_1clientbinomcmdline.jar com.openmake.cmdline.Main
-BUILD “BCV”

According to the User Manual pag. 35 but I got the following error
Exception in thread "main" java.lang.NoClassDefFoundError: ûcp
Could you please give me a hand with this problem?

I have checked that the file omcmdline.jar is in the following PATH D:Meister_7_1clientbin

2.- My PATH Variable has the following information

D:Javaj2re1_4_2_05;
D:Meister_7_1clientbin;
D:Perl_5_6_1_B638bin;
C:Program FilesCASharedComponentsPECbin;
C:WINDOWSsystem32;
C:WINDOWS;C:WINDOWSSystem32Wbem;
C:WINDOWSsystem32nls;
C:WINDOWSsystem32nlsENGLISH;
C:Program FilesNovellZENworks;
C:WINDOWSsystem32;
C:WINDOWSsystem32WBEM;
w:SQLLIBBIN;
w:SQLLIBFUNCTION;
w:SQLLIBSAMPLESREPL;
w:SQLLIBHELP;
C:Program FilesIBMIMNNQ;
C:PROGRA~1IBMIMNNQ;
C:WINDOWSsystem32nls;
C:WINDOWSsystem32nlsENGLISH;
C:Program FilesNovellZENworks;
C:Program FilesInstallShieldAdminStudio6.0ConflictSolver;
C:ORACLEClientebin;
C:ORACLEOraprodbin;
WBEM;
C:Program FilesSy_base_SQL Anywhere 9win32;
C:Program FilesSy_base_Sharedwin32;
C:Program FilesSy_base_SQL Anywhere 9drivers;
C:Program FilesSy_base_SharedSy_base_ Central 4.3win32;
C:Program FilesSy_base_SharedPowerBuilder;
C:Program FilesSy_base_SharedDataDirect;
C:Program FilesSy_base_InfoMaker 10.0Tutorial;
C:Program FilesSy_base_SharedWeb Targets;
C:Program FilesHewlett-PackardOpenViewservice desk 4.5clientbin;
C:Program FilesMicrosoft SQL Server80ToolsBINN;
C:Program FilesControl Center;
:SQLLIBHELP;C:ORACLEORA8IBIN;
C:Program FilesSy_base_SQL Anywhere 8win32;
C:Program FilesSy_base_SharedSy_base_ Central 4.1;
C:Program FilesSy_base_PowerDynamowin32;
C:Program FilesSy_base_InfoMaker 9.0Tutorial;
C:WIN32APPSWIFTALLIANCEWORKSTATIONcommonlibWin32;
C:WINDOWSsystem32eicon;
%C:WIN32APPSWIFTALLIANCEWORKSTATION%commonlibWin32;
%C:WINDOWS%system32eicon;ConflictSolver;
%%%C:WIN32APPSWIFTALLIANCEWORKSTATION%%%commonlibWin32;
%%%C:WINDOWS%%%system32eicon;
c:win32appswiftallianceworkstationbsabin;
C:WIN32APPSWIFTAllianceWorkstationCOMMONlibwin32;
D:CACryptography;
D:CAAllFusion Harvest Change Manager;
C:Program filesSy_base_SharedPowerBuilder;
C:PROGRAM FILESPB5I32DK;
C:PROGRAM FILESPB7I32DK;Z:.;W:.

As you can see D:Javaj2re1_4_2_05; is in the first place and I do no have any other java version installed.

When I run java –version from anywhere in the command line I get

DCHACON C:>java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)

I run the command from different directories I get

DCHACON D:Javaj2re1_4_2_05bin>java -cp D:Meister_7_1clientbinomcmdline.ja
r com.openmake.cmdline.Main -BUILD "BCV"

Same error

Exception in thread "main" java.lang.NoClassDefFoundError: ûcp

DCHACON D:Javaj2sdk1_4_2_05bin>java -cp D:Meister_7_1clientbinomcmdline.j
ar com.openmake.cmdline.Main -BUILD "BCV"
Exception in thread "main" java.lang.NoClassDefFoundError: ûcp

What would you like to be happened?

Thanks a lot
Jesús Rivas
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/06/12 18:56 By jerivas.
  The administrator has disabled public write access.
#120
mikerena77 (User)
Junior Boarder
Posts: 21
graph
User Offline Click here to see the profile of this user
Re:Error Running Workflows with omcmdline.jar 1 Month, 1 Week ago Karma: 0&nbsp&nbsp
Since no reply has been posted, I'm not certain if this is still a problem.

Was your command entered directly on the command-line or is this being run from a batch file or after a "cut-and-paste" operation from some editor?

In reviewing the command you have posted here, the dash in front of the cp is longer than the dash in front of the BUILD. If that is true of the text entered at the command-line, there would be an error with an unrecognized character, which is what your error message seems to indicate - notice that the error message presents a "non-ASCII" (the letter u with the caret) character in front of the cp.

To test this, open a command-line in Windows and enter the text directly there without any batch file or "cut-and-paste" operations in order to execute the command.

I have seen this same problem in my command-line functions where I have touched my batch files and Perl _script_s with an editor like Word or even Wordpad which can allow other representations of both the hyphen/dash and the double quotation marks. Typically, I don't even see the difference until I attempt to execute the file and get the error.

That's why I've gone to using "straight-text" editors, like SciTE or NotePad++, for all of my batch file and Perl _script_ edits.

Hope this helps.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Openmake Live OPENMAKE LIVE
Build Blogs BUILD BLOGS
Ask the Meister ASK THE MEISTER
LOGIN LOGIN
Contact Us CONTACT US
RSS RSS
Meister Public Training - Nov 12-14, in Chicago @ MicroTrain facility Learn More

Google PageRank 
Checker - Page Rank Calculator