Modified 2001/06/19 - JSB

WARNING with J2EE: Discovered 2001/06/07, Do not use the clean.bat file in %J2EE_HOME%\bin. It will cause the removal of the the repository sub tree (%J2EE_HOME%\repository\[server name], eg., Skyspec3). Your work will disappear!


WARNING with J2EE: Discovered 2001/05/29, Something has stepped onto port 8000. Now when I run J2EE it fails at port 8000 and go to use port 9191. The new server root now wants to map to D:\j2sdkee1.3\repository\skyjesse\applications (where http://localhost:9191/ defaults to).

THE JAVA ENVIRONMENT and BRINGING UP JAVA WEB SERVERS

==> ADDITIONAL INFO at: http://javasoft.com/. <==

    JDK Standard Edition, required for J2EE:

  • CLASSPATH=.;D:\JDK1.3.0_02\lib
  • JAVA_HOME=D:\JDK1.3.0_02

        J2EE environment:

  • J2EE_HOME=D:\j2sdkee1.3

    Download my edited setenv.bat and userconfig.bat files.

    * NB: The J2EE_CLASSPATH settings should probably also be included into the CLASSPATH variable, though this is NOT necessary for bringing up the Java Web Server.

  • J2EE_CLASSPATH=%J2EE_HOME%\lib\system;%J2EE_HOME%\lib\j2ee.jar;
  • %J2EE_HOME%\lib\locale

        Windows SYSTEM Environment:

    Make sure the Java Binaries path is in the general path.

    * NB: Substituting %JAVA_HOME%, and %J2EE_HOME% (must be SYSTEM - not USER - environment variables. If they are not set as system venvironment variables "%JAVA_HOME%\bin" in the path will not expand into the Path the string:

  • Path=C:\WINNT\system32;C:\WINNT;C:\%JAVA_HOME%\bin;C:\%J2EE_HOME%\bin;C:\Program Files\Mts

    TO RUN THE WEB SERVERS:

    * If trying to use port 8080 please make sure that it is not already claimed by the proxy server, which typically uses the assignment.

        for J2EE: more info at: http://javasoft.com/.

  • 1.) Simply make sure that JAVA_HOME and J2EE_HOME are set.
  • 2.) Go to the %J2EE_HOME%\bin and execute the J2EE.bat file to invoke the server.
  • 3.) Browse to "http://localhost:8000" to see the J2EE server's "J2EE 1.3 Congratulations" page.

    The <server root> context (Sun language) this will serve to is:
    \j2sdkee1.3\public_html (where http://localhost:8000/index.html defaults to).

        for ORIONSERVER: more info at: http://orionserver.com/.

  • 1.) Copy %JAVA_HOME%\lib\tools.jar to C:\orion.
  • 2.) Edit the file at C:\orion\config\default-web-site.xml to change:

           web-site host="[ALL]" port="80" display-name="Default Orion WebSite"
                 to
           web-site host="localhost" port="8000" display-name="Default Orion WebSite"

  • 3.) In a command file session prompt, in the C:\orion dir, type "java -jar orion.jar".
  • 4.) As with the J2EE server, browse to "http://localhost:8000" to see the page for "Orion Application Web Server 1.4.0 - Up and Running".

    The <server root> context (Sun language) this will serve to is:
    \orion\default-web-app\(where http://localhost:8000/index.html defaults to).
    \orion\default-web-app\examples\~ (where servlets are registered).

    Back to top of page.

    Edit 
    Language: fr  | it  | de  | es  | pt  | ar  | he  | da  | nl  | zh  | ja  | ko  | none 
    Author: jesse

    This Version:
    Archived at: https://www.skybuilders.com/Users/Jesse/Docs/HowToJSP.20010529180515.html

    Requests
     Version: 2555 | Series: 2555