Sorry: forgot to answer to this one
See below
On Fri, 19 Feb 2010, Govind Songara wrote:
> Hi Massimo,
>
> Earlier we had java-1.4.2-gcj installed ( i think which is not supported with cream).
> I have installed the sun jdk-1.6.0_18-fcs.x86_64 and corrected most of link by alternatives.
> I feel still something broken with java.
>
> During yaim config i see the following message related to tomcat
> ===========================
> Info: using default configuration directory: /opt/glite/etc/glite-security-trustmanager
> File /usr/share/tomcat5/server/lib/log4j.jar exists, skippind the linking. Use --force to FORCE linking
> Info: you can clean up using the following commands
> mv -f /etc/tomcat5/server.xml.old-glite /etc/tomcat5/server.xml
> rm -f /usr/share/tomcat5/server/lib/bcprov*.jar
> rm -f /usr/share/tomcat5/server/lib/log4j*.jar
> rm -f /usr/share/tomcat5/server/lib/glite-security-*.jar
> rm -f /etc/tomcat5/log4j-trustmanager.properties
> rm -f /opt/glite/etc/glite-security-trustmanager/server.xml
> INFO: Executing function: config_cream_ce_setenv
> INFO: Executing function: config_cream_ce
> ln: creating symbolic link `/opt/glite/etc/init.d/tomcat5' to `/etc/init.d/tomcat5': File exists
> Starting tomcat5: lock file found but no process running for
> pid 21535, continuing
> /usr/bin/rebuild-jar-repository: error: JVM_LIBDIR /usr/lib/jvm-exports/java does not exist or is not a directory
> /usr/bin/rebuild-jar-repository: error: JVM_LIBDIR /usr/lib/jvm-exports/java does not exist or is not a directory
> /usr/bin/rebuild-jar-repository: error: JVM_LIBDIR /usr/lib/jvm-exports/java does not exist or is not a directory
> /usr/bin/rebuild-jar-repository: error: JVM_LIBDIR /usr/lib/jvm-exports/java does not exist or is not a directory
Did you install the xml-commons-apis before installing the glite-CREAM
metapackage ?
As Andreas found at that time, this is explicitly needed because
of a dependency problem within the Tomcat distribution in SL5
Cheers, Massimo
> [ OK ]
> ===========================
>
> the port range is set as GLOBUS_TCP_PORT_RANGE="20000 25000"
> I can see the gridftp service is running.
> root 27614 1 0 16:13 ? 00:00:00 /opt/globus/sbin/globus-gridftp-server -p 2811 -d error,warn,info -l
> /var/log/gridftp-session.log -Z /var/log/globus-gridftp.log -no-detach
>
> Thanks
> Govind
>
> Massimo Sgaravatto - INFN Padova wrote:
> Can you check if some error was reported running yaim ?
>
> PS: Can you also check if the port range GLOBUS_TCP_PORT_RANGE
> (that is the ports used for gridftp data channel) are open ?
> It is not possible to access to your CE via gridftp
>
> Cheers, Massimo
>
>
> On Thu, 18 Feb 2010, Govind Songara wrote:
>
> Hello,
>
>
> I have installed cream-ce on SL5 and having some issue with tomcat.
> It was installed by cream repo and every time after restarting tomcat, it dies with below messages.
> I have installed the jdk-1.6.0_18-fcs.x86_64 manually.
>
> Please advise how to solve this problem.
>
> Regards
> Govind
>
> ===========================
> Using CATALINA_BASE: /usr/share/tomcat5
> Using CATALINA_HOME: /usr/share/tomcat5
> Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
> Using JRE_HOME:
> Created MBeanServer with ID: pjla2n:g5tl4z3i.0:ce1.pp.rhul.ac.uk:1
> log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded).
> log4j:WARN Please initialize the log4j system properly.
> java.lang.reflect.InvocationTargetException
> at java.lang.reflect.Method.invoke(libgcj.so.7rh)
> at org.apache.catalina.startup.Bootstrap.load(bootstrap.jar.so)
> at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
> Caused by: java.lang.NoClassDefFoundError: org.glite.security.trustmanager.UpdatingKeyManager
> at org.glite.security.trustmanager.ContextWrapper.initKeyManagers(ContextWrapper.java:497)
> at org.glite.security.trustmanager.ContextWrapper.init(ContextWrapper.java:415)
> at org.glite.security.trustmanager.ContextWrapper.<init>(ContextWrapper.java:266)
> at
> org.glite.security.trustmanager.tomcat.TMSSLServerSocketFactory.initProxy(TMSSLServerSocketFactory.java:306)
> at org.glite.security.trustmanager.tomcat.TMSSLServerSocketFactory.init(TMSSLServerSocketFactory.java:183)
> at
> org.glite.security.trustmanager.tomcat.TMSSLServerSocketFactory.createSocket(TMSSLServerSocketFactory.java:104)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(tomcat-util-5.5.23.jar.so)
> at org.apache.coyote.http11.Http11BaseProtocol.init(tomcat-http-5.5.23.jar.so)
> at org.apache.catalina.connector.Connector.initialize(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.StandardService.initialize(catalina-5.5.23.jar.so)
> at org.apache.catalina.core.StandardServer.initialize(catalina-5.5.23.jar.so)
> at org.apache.catalina.startup.Catalina.load(catalina-5.5.23.jar.so)
> at org.apache.catalina.startup.Catalina.load(catalina-5.5.23.jar.so)
> at java.lang.reflect.Method.invoke(libgcj.so.7rh)
> ...2 more
> ===========================
>
>
>
>
>
>
> \\\|///
> \\ ~ ~ //
> (/ @ @ /)
> -------oOOo-(_)-oOOo----------------------------------
> Massimo Sgaravatto
> INFN Sezione di Padova
> Via Marzolo, 8
> 35131 Padova - Italy
> Tel: ++39 0498275908 Fax: ++39 0498275952
> oooO E-mail: massimo.sgaravatto [at] pd.infn.it
> ( ) Oooo Home page: http://www.pd.infn.it/~sgaravat
> --------\ (----( )----------------------------------
> \_) ) /
> (_/
>
>
>
>
>
>
\\\|///
\\ ~ ~ //
(/ @ @ /)
-------oOOo-(_)-oOOo----------------------------------
Massimo Sgaravatto
INFN Sezione di Padova
Via Marzolo, 8
35131 Padova - Italy
Tel: ++39 0498275908 Fax: ++39 0498275952
oooO E-mail: massimo.sgaravatto [at] pd.infn.it
( ) Oooo Home page: http://www.pd.infn.it/~sgaravat
--------\ (----( )----------------------------------
\_) ) /
(_/
|