Before you download and install Java WSDP, download and install a
Web container to use. Get the Web containers (Sun Java System Application Server 8.1
Platform Edition 2005Q2 UR2 or Tomcat 5 for Java WSDP) here. You can use Glassfish as your Web container if you want to install JAX-WSA and an experimental version of JAX-WS. You can also use later versions of Tomcat (versions 5.x or 6.x) as your Web container. However, note that these containers have only been tested minimally.
Run the self-installing executable to unpack and install the Java
WSDP software bundle. If you have any difficulties, see the
Troubleshooting
section at the end of this document.
- Check
the download file size.
If you saved the self-installing executable to disk without
running it from the download page at the Java Software web site, check
to see that you have the complete file:
jwsdp-2_0-windows-i586.exe
23,789,469 bytes
- Uninstall
previous versions of the Java WSDP.
If you have installed a previous version of the Java WSDP,
uninstall it (Start --> Programs --> Java(TM) Web Services
Developer Pack 1.x --> Uninstall).
- Run
the Java WSDP installer.
The file jwsdp-2_0-windows-i586.exe is the Java WSDP
installer. If you downloaded it instead of running it directly from the
website, double-click on the installer's icon. Then follow the
instructions that the installer provides.
You can also install the Java WSDP from the command line, by
using the console option, as shown:
C:\> jwsdp-2_0-windows-i586.exe -console
Select either no Web container or the Web container into which you will install or
have installed and integrate the Java WSDP software. Follow the instructions that
are displayed.
If did not install a Web container, you can get one
here or select the
"no Web Container" option. Then, after you obtain and install a supported container,
run the jwsdponcontainer integration script for that
container to integrate your Java WSDP installation into your Web container
installation. See the
Integration Notes
for more information.
The Java WSDP installer places the Java WSDP technologies under
<jwsdp.home> and the integration scripts copy the
appropriate JAR files to the container directories.
In addition, there will be an entry for
JavaTM Web Services Developer Pack
2.0 in
the Start --> Programs menu.
- Delete
the downloaded file. (Optional)
To recover disk space, delete the file (or files) you originally
downloaded.
- Update the PATH
variable.
You can run the Java WSDP without setting the PATH variable, or
you can optionally set it as a convenience.
Should I set the PATH variable?
Set the PATH variable if you want to be able to conveniently run
the Java WSDP executables (startup.bat, shutdown.bat,
ant.bat, etc.) from any directory without having to
type the full path of the command. If you don't set the PATH variable,
you need to specify the full path to the executable every time you run
it, such as:
C:> c:\jwsdp-2.0\jwsdp-shared\bin\startup.bat
It is useful to set the PATH permanently, so it persists after
rebooting.
How do I set the PATH permanently?
To set the PATH permanently, add the full path of the bin
directory in the Java WSDP installation directory to the PATH variable.
Typically, with the Sun Java System Application Server Platform Edition 8.1 2005Q2 UR1,
this full path looks something like C:\Sun\AppServer\jwsdp-2.0\jwsdp-shared\\bin.
To set the PATH permanently:
- Choose Start, Settings, Control Panel, and double-click
System. Select the Advanced tab and then Environment Variables. Look
for "Path" in the User Variables and System Variables. If you're not
sure where to add the path, add it to the right end of the "Path" in
the User Variables. A typical value for PATH is:
C:\Sun\AppServer\jwsdp-2.0\jwsdp-shared\bin
Capitalization doesn't matter. Click "Set", "OK" or "Apply".
The PATH can be a series of directories separated by
semi-colons (;). Microsoft Windows looks for programs in the PATH
directories in order, from left to right. You should only have one bin
directory for a Java WSDP installation
in the path at a time (those following the first are
ignored), so if one is already present, you can update it.
- The new path takes effect in each new Command Prompt window
you open after setting the PATH variable.
- Start
using the Java WSDP.
Your computer system should now be ready to use the Java WSDP.
To verify that the installation was successful, start (or
restart) your Web container. If you are using Tomcat 5 for Java WSDP,
browse to http://localhost:8080/index.html; if you are using the
Application Server, browse to http://localhost:8080/JWSDP.html
and click on the links for the deployed Java WSDP applications, such as
the saaj-simple application.
- Uninstall
the Java WSDP.
If you should ever want to uninstall the Java WSDP, use the
"Add/Remove Programs" utility in the Microsoft Windows Control Panel.
You can also uninstall the Java WSDP in console mode, by
executing the uninstaller.exe file in the <JWSDP_HOME>/_uninst
directory:
uninstaller.exe -console