User: jules
Date: 00/11/15 15:19:01
Modified: jetty/src/main/org/jboss/jetty JettyService.java
Log:
add message when starting Jetty
Revision Changes Path
1.3 +2 -2 contrib/jetty/src/main/org/jboss/jetty/JettyService.java
Index: JettyService.java
===================================================================
RCS file:
/products/cvs/ejboss/contrib/jetty/src/main/org/jboss/jetty/JettyService.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- JettyService.java 2000/11/15 22:35:26 1.2
+++ JettyService.java 2000/11/15 23:19:00 1.3
@@ -27,7 +27,7 @@
*
* @see <related>
* @author <a href="mailto:[EMAIL PROTECTED]">Julian Gosnell</a>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class JettyService extends ServiceMBeanSupport
implements JettyServiceMBean, MBeanRegistration
@@ -129,6 +129,7 @@
startService()
throws Exception
{
+ System.out.println("Starting Jetty (jetty.mortbay.com)");
ensureService(); // lazy construction
// should check whether already running ? TODO
_server.start();
@@ -138,7 +139,6 @@
stopService()
{
// should check whether already stopped ? TODO
-
System.out.println("Stopping Jetty - if using sun jdk 1.3 on linux, waits 1
minute for Sun bug 4386498... ");
try {_server.stop();} catch (Exception e) {e.printStackTrace();}
System.out.println("Jetty Stopped");