[opencms-dev] cmsshell

Petr Hollay ph at ethikom.de
Wed May 21 13:38:01 CEST 2003


> What jar file have I to add to the classpath to avoid the
java.lang.NoClassDefFoundError:
> org/doomdark/uuid/UUIDGenerator exception?

Add jug.jar from OpenCms 5.0: opencms.war\WEB-INF\lib\jug.jar

Regards
Petr



-----Original Message-----
From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]On Behalf Of
Thomas.Breder at sbroker.de
Sent: Wednesday, May 21, 2003 12:25 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] cmsshell


Hello,

I want to use the cmsshell to upload monthly generated files to the vfs. In
cmsshell.bat I have changed the file.encoding option from ISO8859_1 to
ISO-8859-1.
Why does OpenCms starts in a Tomcat but not from the shell? What jar file
have I to add to the classpath to avoid the java.lang.NoClassDefFoundError:
org/doomdark/uuid/UUIDGenerator exception?


D:\Tomcat4\webapps\opencms\WEB-INF>cmsshell.bat

D:\Tomcat4\webapps\opencms\WEB-INF>java -Dfile.encoding=ISO-8859-1
-Dopencms.disableScheduler=true  -classpath
../../../common/lib/servlet.jar;lib/opencms.jar;lib/activation.jar;lib/jakar
ta-oro-2_0_6.jar;lib/mysql-connector-java-2_0_14-bin.jar;lib/Tidy.jar;lib/ma
il.jar;lib/fesi.jar;lib/xerces-1_4_4.jar
 com.opencms.boot.CmsMain
No OpenCms home folder given. Trying to guess...
%%% props: D:\Tomcat4\webapps\opencms\WEB-INF\config/opencms.properties
. OpenCms encoding     : ISO-8859-1
. System file.encoding : ISO-8859-1
. Encoding set to      : ISO-8859-1
java.lang.NoClassDefFoundError: org/doomdark/uuid/UUIDGenerator
        at
com.opencms.flex.util.CmsUUID.getDummyEthernetAddress(CmsUUID.java:113)
        at com.opencms.core.OpenCms.<init>(OpenCms.java:228)
        at com.opencms.core.CmsShell.<init>(CmsShell.java:114)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
sorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
torAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        at java.lang.Class.newInstance0(Class.java:306)
        at java.lang.Class.newInstance(Class.java:259)
        at com.opencms.boot.CmsMain.begin(CmsMain.java:155)
        at com.opencms.boot.CmsMain.main(CmsMain.java:108)


Mit freundlichen Grüßen

Thomas Breder

____________________________________________________

S Broker AG
Information Technology

Tel.: +49 (0)203/289-2120 (Duisburg)
Tel.: +49 (0)611/2044-2120 (Wiesbaden)
Fax: +49 (0)203/289-2099 (Duisburg)
thomas.breder at sbroker.de


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
S Broker AG * Beekstraße 38-42 * 47051 Duisburg
service at sbroker.de * www.sbroker.de

Sitz Duisburg * Amtsgericht Duisburg * HRB 9420 * BLZ 300 301 00

Vorstand:
Klaus Schöniger (Sprecher)
Dr. Raoul G. Wild
Karl-Martin im Brahm

Vorsitzender des Aufsichtsrats:
Winfried Drewes

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev






More information about the opencms-dev mailing list