Krishnamohan Meduri's weblog
Monday Oct 02, 2006
Want to run Sun Java System Web Server 7.0 Technology Preview 3 with Java EE 5 Web Container ?
If you want to run Sun Java System Web Server 7.0 Technology Preview 3 with Java EE 5 compliant web container from Project Glassfish, you can do so. As it stands today, it has a few known issues and hence is good for experimental purpose only.
Here are the steps:
1. Download and install Web Server 7.0 Technology Preview 3.
2. Checkout and build web container from project glassfish
Prerequisites to building GlassFish
- The user must have Maven v1.0.2 and JDK 5.0 (Java SE Development kit) installed.
- The user must have a login on java.net and must have access to the CVS repository for the GlassFish project.
$mkdir workspace
$cd workspace
$cvs -d :pserver:<userid>@cvs.dev.java.net:/cvs checkout -r PWC12Dev_Branch glassfish/bootstrap
Create
workspace/glassfish/bootstrap/build.properties
-or-
one-time process is to create ${HOME}/build.properties (Unix) or %HOMEPATH%\build.properties (Windows) and set the following variables:
glassfish.os.name= <Possible values:WINNT, SunOS, Linux, SunOS_X86 or Darwin>
glassfish.cvs.username= <java.net id>
one-time process is to create ${HOME}/build.properties (Unix) or %HOMEPATH%\build.properties (Windows) and set the following variables:
glassfish.os.name= <Possible values:WINNT, SunOS, Linux, SunOS_X86 or Darwin>
glassfish.cvs.username= <java.net id>
$cd glassfish/bootstrap
$maven checkout-pwc bootstrap-pwc build-pwc
Note: These targets checkout, bootstrap and build only those components that are relevent to web container.
3. Modify the Web Server 7.0 installation to use the Java EE 5 compliant web container binaries from project glassfish
$cp workspace/publish/pwc/pwc.jar WS7_INSTALL_DIR/lib/pwc.jar
$cp workspace/publish/pwc/appserv-jstl.jar WS7_INSTALL_DIR/lib/webserv-jstl.jar
Posted at 06:20PM Oct 02, 2006 by kmeduri in Sun | Comments[2]
Posted by javaguru on October 02, 2006 at 08:24 PM PDT #
Posted by Krishnamohan Meduri on October 03, 2006 at 11:04 AM PDT #