AW: [Jrevproxy-user] Installation
Status: Alpha
Brought to you by:
fnoe
|
From: Thomas W. <We...@Qu...> - 2003-06-24 10:13:56
|
Hello Frederik,
thanks fpr your reply to my question.
I have corrected the mistakes an my configuration file lokks like this:
----------------------------
#!/bin/sh
#
## =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D ##
# jRevProxy startup script =
#
## =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D ##
# $Id: jrevproxy.sh,v 1.3 2003/04/23 19:45:13 fnoe Exp $
#
EXTJARS=3D"../lib/xercesImpl.jar:../lib/xmlParserAPIs.jar"
JREVJAR=3D"../bin/jrevproxy.jar"
CLPATH=3D"$CLASSPATH:$EXTJARS:$JREVJAR"
PROPERTIES=3D"../etc/jrevproxy.properties"
CMD=3D"./java -cp $CLPATH cx.noe.jrevproxy. RevProxy $PROPERTIES"
exec $CMD
----------------------------
When i now run the shellscript he gives me an error like this:
----------------------------
[root@EX0B jrevproxy]# sh bin/jrevproxy.sh
Exception in thread "main" java.lang.NoClassDefFoundError: =
cx/noe/jrevproxy/RevProxy
----------------------------
I think that i have forgotten something, but I don't know what. In front =
of all I have a question
about the $CLASSPATH. Have I set this Variable by hand or must I add =
this as a systemvariable?
Thanks for help,
best regards,
Thomas W.
-----Urspr=FCngliche Nachricht-----
Von: Frederik No=EB [mailto:fn...@bi...]
Gesendet: Dienstag, 24. Juni 2003 11:53
An: Jrevproxy-User-Request (E-Mail)
Cc: Thomas Weuffel
Betreff: RE: [Jrevproxy-user] Installation
Hi Thomas,
I've two remarks concerning your problem:
1) The following piece of script code you specify is not correct !
#!/bin/sh
dk1.4.1_03j2sdk1.4.1_03
## =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ##
Either the second line should be removed or it should be commented out
2) You have set the current working directory to the bin subdirectory of =
your jRevProxy installation so that the relative paths to the different =
jar files will be correct.
Best regards,
Frederik Noe
-----Original Message-----
From: Thomas Weuffel [mailto:We...@Qu...]=20
Sent: maandag 23 juni 2003 10:06
To: Jrevproxy-User-Request (E-Mail)
Subject: [Jrevproxy-user] Installation
Hello Everybuddy,
after a successfull installation on a Windows 2000 Server I tried to =
install JRevProxy 0.5 on an RedHat8 Linux system. In MinimumInstallation =
I installed the avtual Java SDK (j2sdk1.4.1_03) from Sun and set the =
$CLASSPATH to /usr/java/j2sdk1.4.1_03/bin.
Heres my jrevproxy.sh:
#!/bin/sh
dk1.4.1_03j2sdk1.4.1_03
## =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ##
# jRevProxy startup script =
#
## =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ##
# $Id: jrevproxy.sh,v 1.3 2003/04/23 19:45:13 fnoe Exp $
#
EXTJARS=3D"../lib/xercesImpl.jar:../lib/xmlParserAPIs.jar"
JREVJAR=3D"../bin/jrevproxy.jar" CLPATH=3D"$CLASSPATH:$EXTJARS:$JREVJAR"
JAVA=3D"/usr/java/j2sdk1.4.1_03/bin/java"
PROPERTIES=3D" ../etc/jrevproxy.properties"
CMD=3D"$java -c $CLPATH cx.noe.jrevproxy.RevProxy $PROPERTIES"
exec $CMD
When I try to run the shell script it says:
[root@EX0B bin]# sh jrevproxy.sh
: command not found14:
: Datei oder Verzeichnis nicht =
gefunden.4.1_03/bin:../lib/xercesImpl.jar:../lib/xmlParserAPIs.jar
: cannot execute: Datei oder Verzeichnis nicht =
gefundenn:../lib/xercesImpl.jar:../lib/xmlParserAPIs.jar
in the configurationfile i have changed nothing.
Actually I have no idea what it could be. Please, if anyone has an idea, =
mail me. Thanks,
Thomas W.
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. =
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! =
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Jrevproxy-user mailing list Jre...@li...
https://lists.sourceforge.net/lists/listinfo/jrevproxy-user
|