On 8/19/06, John B. Moore <jbm esonicspider.com> wrote:
> Simon Brown wrote:
>
> No problem.. But.. you should have that included that
info the install..
>
> Based on my read of your install it appears to be
assuming that Pebble
> is expecting the "auto-generation" of
mod-jk based on your web.xml
I don't actually mention anything about Apache at the
moment, but I'll
add what you have into the docs. Thanks.
> Since you want it to be manual, I would guess you
should suggest that
> the installer create a conf file with..
>
> > 2) In the encode-password.sh the following
classpath is missing..
> >
> > $PEBBLE_HOME/WEB-INF/lib/spring- 1.2.6.jar
> >
> > ..and should be added..
>
> My guess is that you ran encode-password.sh such that
the lib directory
> was "on the system classpath".. possible
same directory..???
I'll add the Spring JAR to the script, but I still don't
understand
why nobody else has reported this before. Here's a dump on
my terminal
window, just to show that I'm not using a system classpath!
It
uses RC2, but I've just downloaded RC1 and tried that too,
with the
same results.
Last login: Sat Aug 19 07:18:12 on ttyp2
Welcome to Darwin!
imac:~ simon$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode,
sharing)
imac:~ simon$ set CLASSPATH=
imac:~ simon$ echo $CLASSPATH
imac:~ simon$ cd svn/pebble/trunk
imac:~/svn/pebble/trunk simon$ cat bin/encode-password.sh
# Utility to encode a password using a specific algorithm,
using the
username as the salt.
# Usage : [md5|sha|plaintext] username password
#
# Set PEBBLE_HOME to the location of your exploded web
application root
export PEBBLE_HOME=web
export
LOCAL_CLASSPATH=$PEBBLE_HOME/WEB-INF/lib/pebble-2.0.0-RC2.ja
r:$PEBBLE_HOME/WEB-INF/lib/commons-logging-1.0.4.jar:$PEBBLE
_HOME/WEB-INF/lib/acegi-security-1.0.1.jar:$PEBBLE_HOME/WEB-
INF/lib/commons-codec-1.3.jar
java -classpath $LOCAL_CLASSPATH
net.sourceforge.pebble.util.SecurityUtils $1 $2 $3
imac:~/svn/pebble/trunk simon$ bin/encode-password.sh sha
username password
1d26806da123dd76cdc52fc3daa9ad6777522935
imac:~/svn/pebble/trunk simon$
I've even run this with the -verbose:class flag and
DataAccessException is never loaded. Something specific to
your JVM/OS
combination perhaps?
Cheers
Simon
------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pebble-user mailing list
Pebble-user lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pebble-user
|