The problem is that tomcat did not start.
You can try to connect to the servlet by using the following URL in a
web browsers
http://golias26.farm.particle.cz:8080/R-GMA/LatestProducerServlet/getStatus
You should restart tomcat and look in the log file for the error
rm -f /var/tomcat4/log/catalina.out
/etc/rc.d/init.d/tomcat4 restart
tail -f /var/tomcat4/log/catalina.out
If tomcat has started and the servlets are working you should be able to
get XML back from the URL.
Laurence
Jiri Kosina wrote:
> On Tue, 3 May 2005, Laurence wrote:
>
>> is based on Java and has worked on 7.3 in the past I see no reason
>> why it would stop working. Checking the Servlets on your MON box
>> shows that they are up and running. There is just a small problem
>> with the client side configuration on the WNs.
>
>
> Actually, with help of Henry Nebrensky's mail from yesterday, I seem
> to have R-GMA up and running on PRAGUE-CESNET site. The problem was
> that the python scripts were executed in python 1.5 and not python
> version 2. This seems fine now to me.
>
> However on PragueLCG2 farm, the MON box behaves strangely:
>
> [root@golias26 lib]# /opt/lcg/yaim/scripts/configure_MON
> ~/yaim/yaim-all.def
> Configuring config_ldconf ...
> /sbin/ldconfig: /usr/lib/liblog4cxx.so.9 is not a symbolic link
>
> Configuring config_sysconfig_edg ...
> Configuring config_edgusers ...
> Configuring config_java ...
> Configuring config_rgma_client ...
>
> Welcome to the R-GMA Setup utility
> ----------------------------------
>
>
> Configuration written to /opt/edg/etc/rgma/rgma.conf
>
> Configuring config_rgma_server ...
>
> Stopping tomcat4: Using CATALINA_BASE: /var/tomcat4
> Using CATALINA_HOME: /var/tomcat4
> Using CATALINA_TMPDIR: /var/tomcat4/temp
> Using JAVA_HOME: /usr/java/j2sdk1.4.2_04/
> Catalina.stop: java.net.ConnectException: Connection refused
> java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
> at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
> at java.net.Socket.connect(Socket.java:452)
> at java.net.Socket.connect(Socket.java:402)
> at java.net.Socket.<init>(Socket.java:309)
> at java.net.Socket.<init>(Socket.java:124)
> at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
> at
> org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
> at
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> [FAILED]
> Starting tomcat4: [ OK ]
> Stopping edg-rgma-servicetool: [ OK ]
> Starting edg-rgma-servicetool: Couldn't connect to R-GMA server
> [FAILED]
> For more details check /opt/edg/var/log/rgma-servicetool.log
>
> cron will attempt a restart within the next hour
> to disable restart run edg-rgma-servicetool stop
> Configuring config_apel_rgma ...
> Configuration Complete
>
> Do you please have any idea? I wasn't able to find out where is it
> trying to connect to and what it fails. Thanks in advance a lot,
>
|