Opened 16 years ago
Closed 16 years ago
#231 closed defect (fixed)
ant messages could be more helpful
Reported by: | dmn | Owned by: | kjdon |
---|---|---|---|
Priority: | moderate | Milestone: | 3.04 Release |
Component: | Greenstone3 Ant Code | Severity: | blocker |
Keywords: | Cc: |
Description
at the end of
========================================= (cms-r1-13-145)ant start Buildfile: build.xml
init:
[echo] tomcat.port:8080, gli.present:true gs2build.present=true gsdl2.installed.path = ${gsdl2.installed.path}
start-tomcat:
start:
BUILD SUCCESSFUL Total time: 13 seconds
=======================================
Can we say
"Greenstone 3 server now running on xxx.server.org"
or something similar.
And when we run ant stop
==================== (cms-r1-13-146)ant stop Buildfile: build.xml
init:
[echo] tomcat.port:8080, gli.present:true gs2build.present=true gsdl2.installed.path = ${gsdl2.installed.path}
stop-tomcat:
stop:
BUILD SUCCESSFUL Total time: 1 second =============================
cant we say
"Greenstone 3 server has been shutdown."
Also, if we run ant stop when a GS3 server isn't running then we get an exception:
================================= (cms-r1-13-144)ant stop Buildfile: build.xml
init:
[echo] tomcat.port:8080, gli.present:true gs2build.present=true gsdl2.installed.path = ${gsdl2.installed.path}
stop-tomcat:
[exec] 12/11/2007 10:22:13 org.apache.catalina.startup.Catalina stopServer [exec] SEVERE: Catalina.stop: [exec] java.net.ConnectException: Connection refused [exec] at java.net.PlainSocketImpl.socketConnect(Native Method) [exec] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [exec] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [exec] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [exec] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [exec] at java.net.Socket.connect(Socket.java:519) [exec] at java.net.Socket.connect(Socket.java:469) [exec] at java.net.Socket.<init>(Socket.java:366) [exec] at java.net.Socket.<init>(Socket.java:179) [exec] at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:395) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [exec] at java.lang.reflect.Method.invoke(Method.java:597) [exec] at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:344) [exec] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:435)
stop:
BUILD SUCCESSFUL Total time: 7 seconds =====================================
Can we check whether it is running so we don't get an exception?
Change History (5)
comment:1 by , 16 years ago
Owner: | changed from | to
---|
comment:2 by , 16 years ago
Milestone: | → Release 3.04 |
---|
comment:3 by , 16 years ago
Component: | Greenstone3 Runtime → Greenstone3 Ant Code |
---|---|
Severity: | → blocker |
comment:4 by , 16 years ago
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
There is more useful output now for ant start.