Starting & Stopping the J2EE 1.3 SDK Server

by Jeff Hunter, Sr. Database Administrator


Introduction

After installing and and setting all environment variables for the J2EE 1.3 SDK, you will need to start the application server. For a complete guide to installing J2EE 1.3 SDK, refer to my article .

Starting the J2EE 1.3 SDK

To start the J2EE 1.3 SDK Application Server, use the "j2ee -verbose" command. Although not required, the verbose option is useful for debugging.
  ORA920 on cartman: j2ee -verbose
  J2EE server listen port: 1050
  Naming service started:1050
  Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
  Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
  Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
  Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
  Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:CloudscapeDB;create=true
  Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
  Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.core.RemoteXaDataSource@82751
  Starting JMS service...
  Initialization complete - waiting for client requests
  Binding: < JMS Destination : jms/Topic , javax.jms.Topic >
  Binding: < JMS Destination : jms/Queue , javax.jms.Queue >
  Binding: < JMS Cnx Factory : TopicConnectionFactory , Topic , No properties >
  Binding: < JMS Cnx Factory : QueueConnectionFactory , Queue , No properties >
  Binding: < JMS Cnx Factory : jms/QueueConnectionFactory , Queue , No properties >
  Binding: < JMS Cnx Factory : jms/TopicConnectionFactory , Topic , No properties >
  Starting web service at port: 8000
  Starting secure web service at port: 7000
  J2EE SDK/1.3.1
  Starting web service at port: 9191
  J2EE SDK/1.3.1
  J2EE server startup complete.

Stopping the J2EE 1.3 SDK

To stop the J2EE 1.3 SDK Application Server, use the "j2ee -stop" command as follows:
  ORA920 on cartman: j2ee -stop
  Shutting down the J2EE server