Lap Vong <lvong <at> vmware.com> writes:

> 
> 
> Getting the 
> following errors trying to start VM|SETUP|HOST service.  Build version is 
> 313057 from vc5x-testware.
> STAF server is 
> windows 2008 x86 with java 1.6.0_22.  Same version of java works for 
> windows 2003 x86.
> 
>  
> Anyone have any 
> suggestions on this issue?  
> 
>  
> Lap
>  
> ---------------------------------------------
> C:\Users\administrator.HCTCLUSTER>stafproc
>  
> Error on Service definition line:
>  
> service setup library JSTAF execute 
> C:\VMStaf4\setup.jar
>  
> Error code: 38Reason    : Error 
> constructing service, JSTAF, Result: JSTAFSH.loadService(): Error loading 
> the Java service. Verify you are using a valid version of Java 
> (e.g. Sun or IBM Java).java.lang.NoClassDefFoundError: 
> com/vmware/vcqa/GenericConnectAnchor        
> at java.lang.Class.getDeclaredConstructors0(Native 
> Method)        at 
> java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)        
> at 
> java.lang.Class.getConstructor0(Class.java:2699)        
> at 
> java.lang.Class.newInstance0(Class.java:326)        
> at java.lang.Class.newInstance(Class.ja
>  
> Error in configuration file: 
> C:\STAF\bin\STAF.cfg
>  
> C:\Users\administrator.HCTCLUSTER>java 
> -versionjava version "1.6.0_22"Java(TM) SE Runtime Environment (build 
> 1.6.0_22-b04)Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, 
> sharing)
>  
> C:\Users\administrator.HCTCLUSTER>
> 
> 
> 
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a 
> Billion" shares his insights and actions to help propel your 
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev

Comments from y...@vmware.com at 2010/12/03

I think you should met this error when you use vmware staf services: VM, HOST,
SETUP and etc.

If so, you should have the 4 vmware staf service jars: vm.jar, host.jar, 
setup.jar, util.jar and you should register the 4 staf service into STAF
by editing the STAF.cfg file. 

Do you notice there should be a folder named: lib, which is published 
together with above 4 services jars. If not, you also should get the folder
lib, and you will found many jars in the folder, they are all necessary for your
CLASSPATH.

the class: com/vmware/vcqa/GenericConnectAnchor locate in lib\vcqa.jar,
but you can not only add vcqa.jar into your classpath, the lib folder already
supply a simply way to add all needed jars into classpath, you only need to add
lib\lib.jar into your classpath, because the lib\lib.jar\META-INF\MANIFEST.MF in
the lib.jar includes all jars in the lib folder, 
you can take a look at MANIFEST.MF and you will understand it.




------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to