Java
  Home arrow Java arrow Page 4 - Getting Set with J2EE
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

Getting Set with J2EE
By: Apress Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 10
    2005-12-08

    Table of Contents:
  • Getting Set with J2EE
  • Installing the J2EE 1.4 SDK
  • Starting the Database Server
  • Starting the J2EE Server

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Getting Set with J2EE - Starting the J2EE Server


    (Page 4 of 4 )

    The next step to verifying that your installation is working correctly is to start the J2EE server. The server is launched from menus that are automatically created during installation, so choose the following option from the Start menu:

    Start | All Programs | Sun Microsystems | J2EE 1.4 SDK | Start Default Domain

    A command window should open with messages similar to the following, the last one prompting you to Press any key to continue as shown below:

    Starting Domain domain1, please wait.
    Log redirected to C:\Sun\AppServer\ domains\domain1\logs\server.log.
    Domain domain1 started.
    Press any key to continue . . .

    At this point the J2EE server is started. Go ahead and press any key as requested, open a browser, and go to the following URL:

      http://localhost:8080

    The web browser should display the default J2EE web page:

    Pat yourself on the back for a job well done. Let's go shred a little code for a final test.

    Problems and Solutions

    Here is a possible problem you might come up against when running through the previous steps to test your J2EE 1.4 SDK installation:

    Problem

    Solution

    The web browser reports "Page cannot be displayed" when trying to open the URL http://localhost:8080

    Make certain that there weren't any errors reported when starting hte J2EE server.

    If you see messages indicating that the server couldn't start because TCP ports were in use by other processes, you may either have another web server using port 8080, or have another instance of the J2EE server running.

    Also, make certain that you've specified the port "8080" in the URL (this is the default port used by the J2EE server).

     


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · This article is an excerpt from the book "Beginning J2EE 1.4 From Novice to...
     

    Buy this book now. This article is excerpted from chapter two of the book Beginning J2EE 1.4 From Novice to Professional, written by James L. Weaver, Kevin Mukhar, and Jim Crume (Apress, 2005; ISBN: 1590593413). Check it out at your favorite bookstore today. Buy this book now.

    JAVA ARTICLES

    - Deploying Multiple Java Applets as One
    - Deploying Java Applets
    - Understanding Deployment Frameworks
    - Database Programming in Java Using JDBC
    - Extension Interfaces and SAX
    - Entities, Handlers and SAX
    - Advanced SAX
    - Conversions and Java Print Streams
    - Formatters and Java Print Streams
    - Java Print Streams
    - Wildcards, Arrays, and Generics in Java
    - Wildcards and Generic Methods in Java
    - Finishing the Project: Java Web Development ...
    - Generics and Limitations in Java
    - Getting Started with Java Web Development in...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT