Hi Kashif,
Web service directory layouts in tomcat are a recurring nightmare.
It's not even the first time this has happened to the CREAM releases.
See below from last Feb., when we moved to 1.16.2.
They have to tighten up this part of the install. These jar/mar WEBINF
links are often overlooked in the test phase.
Cheers,
Steve
------------------ IT HAPPENED BEFORE --------------------
So, for future reference, Steve found the following issue after
upgrading CREAM on hepgrid6:
7 Feb 2014 12:01:18,350 org.apache.axis2.deployment.ModuleDeployer - The
glite-ce-cream-authorization.mar module, which is not valid, caused
org/italiangrid/voms/store/VOMSTrustStore
java.lang.NoClassDefFoundError: org/italiangrid/voms/store/VOMSTrustStore
That is, the cream-authorization module wasn't loading, which caused the
glite-ce-cream service to not work.
Comparing this with the previous version of CREAM on hepgrid5, we found
the java class that provides "org/italiangrid/voms/store/VOMSTrustStore"
was in voms-api-java.jar, provided by the voms-api-java RPM.
This was installed on hepgrid6, but a symbolic link appeared to be
absent. /var/lib/tomcat6/webapps/ce-cream/WEB-INF/lib/voms-api-java.jar
linked to /usr/share/java/voms-api-java.jar previously, and was present
on hepgrid5, but missing on hepgrid6.
So we tried restoring the link and that didn't work. The error remained.
But with further investigation we found that the voms-api-java RPM was
no longer in the repository
(http://repository.egi.eu/sw/production/umd/3/sl6/x86_64/updates/) and
instead a voms-api-java3 RPM was there. This RPM had been installed on
hepgrid6, and contained a /usr/share/java/voms-api-java3.jar file.
There was no symbolic link from
/var/lib/tomcat6/webapps/ce-cream/WEB-INF/lib/ to this file either, so
copying the previous logic, we created one. This did work, and cleared
that particular error.
Conclusion: voms-api-java appears to have been replaced by
voms-api-java3, and the required symbolic link from
/var/lib/tomcat6/webapps/ce-cream/WEB-INF/lib/ may not be present
following an update.
On 12/09/2014 03:55 PM, Kashif Mohammad wrote:
> Hi
> It is just a head up if you are planning to upgrade to CREAMCE version
> 1.16.4. Upgrade to this version broke our CREAMCE. Details are here
> _https://ggus.eu/index.php?mode=ticket_info&ticket_id=110586_
> Name of argus-pep* jar files have changed in new version but old names
> were linked in /usr/share/tomcat6/webapps/ce-cream/WEB-INF/lib/
> So remove argus-pep-common-compat.jar and
> argus-pep-api-java-compat.jar links from above directory and link new
> files
> ln -sf /usr/share/java/argus-pep-api-java.jar
> /usr/share/tomcat6/webapps/ce-cream/WEB-INF/lib/
> ln -sf /usr/share/java/argus-pep-common.jar
> /usr/share/tomcat6/webapps/ce-cream/WEB-INF/lib/
> Cheers
> Kashif
--
Steve Jones [log in to unmask]
System Administrator office: 220
High Energy Physics Division tel (int): 42334
Oliver Lodge Laboratory tel (ext): +44 (0)151 794 2334
University of Liverpool http://www.liv.ac.uk/physics/hep/
|