Closed GoogleCodeExporter closed 9 years ago
I forgot to mention that many of the links to source code references a bad in
the
app...
Original comment by manico.james@gmail.com
on 29 Nov 2009 at 10:52
I'm fairly new to the group... so I don't know if this is the right place to
communicate this. Please provided me with a proper 301 error if necessary :)
I downloaded the Swingset application and needed to do some tweaking... you
see...
I'm a Mac :)... "Hello PC!"
I've created a startup script which is attached for running this on a mac... it
will
probably work on ubuntu as well. Here are the setup instructions if someone
would
like to update the web page. ** it would be nice, if the xml configs were not
platform specific... they don't have to be.
Setup Swingset for Mac OSX
1. Extract ESAPI_Swingset.zip to a directory of your choice.
2. Under the uncompressed directory, find and open up the server.xml in an
editor
* replace the text "c:\.keystore" with ".keystore"
* <Connector
keystoreFile=".keystore" SSLEnabled="true"
keystorePass="swingset" clientAuth="false" maxThreads="150"
3. Under the uncompressed directory, find and open up the web.xml for the ROOT
webapp
in an editor
* replace the text "c:\.resources" with some directory you would like to
protect
* <init-param>
<param-name>resourceDirectory</param-name>
<param-value>c:\resources</param-value>
</init-param>
4. Move .keystore from Swingset_with_tomcat_05b2/.keystore to
Swingset_with_tomcat_05b2/apache-tomcat-6.0.18/.keystore
5. Create the ESAPI_Swingset dir in the webapps directory
6. The tomcat_6.0.18_start.sh script expects that Java is in the path and that
JAVA_HOME is exported
instructions for Running Swingset on Mac OSX are the same... exception you have
to
run the tomcat_6.0.18_start.sh
also... technically the windows instructions are wrong... it specifies a
Tomcat_6.0.18_start.bat and it is a Tomcat 6.0.18_start.bat... a file with a
space in
the name (which is evil :). I would propose that the docs remain the same and
someone change the file name to match the docs.
It would take very little work to make this work on in a platform independent
way,
which would also reduce the Mac OSX instructions to 1. extract and 2. run
script.
All the changes listed are necessary to run the application without an
exception in
stdio.
Original comment by manico.james@gmail.com
on 29 Nov 2009 at 10:53
Swingset has its own google code site at:
http://code.google.com/p/owasp-esapi-java-swingset/
I created two new issues to track the ones here:
http://code.google.com/p/owasp-esapi-java-swingset/issues/detail?id=3
http://code.google.com/p/owasp-esapi-java-swingset/issues/detail?id=4
Recommending this issue be closed and discussion moved to the corresponding
issues.
Original comment by cyounk...@gmail.com
on 30 Nov 2009 at 5:36
Original comment by manico.james@gmail.com
on 2 Dec 2009 at 8:07
Original issue reported on code.google.com by
manico.james@gmail.com
on 29 Nov 2009 at 10:44