Hello,
And this is what comes up when I echo the command line in the shell
script "$GLOBUS_LOCATION/bin/globus-start-container", ie "echo
$_RUNJAVA $@"
/usr/lib64/jvm/java-1.6.0-sun/bin/java -DGLOBUS_LOCATION=/usr/local/
globus/4.2.1/ -Djava.endorsed.dirs=/usr/local/globus/4.2.1//endorsed -
Dlog4j.configuration=container-log4j.properties -Djava.security.egd=file:///dev/urandom
-classpath /usr/local/globus/4.2.1//lib/common/bootstrap.jar:/usr/
local/globus/4.2.1//lib/common/cog-url.jar:/usr/local/globus/4.2.1//
lib/common/axis-url.jar org.globus.bootstrap.ContainerBootstrap
org.globus.wsrf.container.ServiceContainer
Does that look correct?
Prakash
On May 18, 2010, at 1:54 PM, João Marcelo wrote:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.globus.wsrf.utils.Version
I think this is the main exception. What are your environment
variables values? GLOBUS_LOCATION, CLASSPATH, etc?
It's strange because the container can't find a class that belongs to
the globus distribution.
[]'s
On Mon, May 17, 2010 at 4:42 PM, Prakash Velayutham
<[email protected]> wrote:
Hello all,
I have installed GT 4.2.1 in my gatekeeper system (with
--prefix=/usr/local/globus/4.2.1 --enable-wsgram-pbs --enable-
wsgram-lsf
options).
I updated all the packages and have done the required things for CA
and
certificate creations for the container user. I followed this
tutorial URL
(http://www.globusconsortium.org/tutorial/ch6/page_10.php).
grid-proxy-info
shows a valid proxy.
But, when I try to start the container, it fails as below.
glo...@bmiclustersvcd1:~> globus-start-container -debug
Caused by java.lang.reflect.InvocationTargetException
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sunreflectNativeConstructorAccessorImplnewInstance
(NativeConstructorAccessorImpl.java:39)
at
sunreflectDelegatingConstructorAccessorImplnewInstance
(DelegatingConstructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
orgglobuswsrf
.container.ServiceContainer.createContainer(ServiceContainer.java:
168)
at
orgglobuswsrfcontainerServiceContainer
.startSecurityContainer(ServiceContainer.java:606)
at
org
.globus.wsrf.container.ServiceContainer.main(ServiceContainer.java:
539)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sunreflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sunreflectDelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:114)
at
org
.globus.bootstrap.ContainerBootstrap.main(ContainerBootstrap.java:40)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.globus.wsrf.utils.Version
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:
142)
at
org.apache.axis.utils.cache.ClassCache.lookup(ClassCache.java:85)
at
orgapacheaxis
.providers.java.JavaProvider.getServiceClass(JavaProvider.java:453)
at
orgapacheaxis
.providers.java.JavaProvider.initServiceDesc(JavaProvider.java:486)
at
orgapacheaxishandlers
.soap.SOAPService.getInitializedServiceDesc(SOAPService.java:286)
at
orgapacheaxis
.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.java:500)
at
orgapacheaxisdeploymentwsdd
.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
at
orgapacheaxisdeploymentwsdd
.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at
orgapacheaxis
.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment.java:446)
at
org
.apache.axis.configuration.DirProvider.getService(DirProvider.java:
158)
at org.apache.axis.AxisEngine.getService(AxisEngine.java:311)
at
org.apache.axis.MessageContext.setTargetService(MessageContext.java:
905)
at
org.globus.wsrf.container.ServiceManager.stop(ServiceManager.java:
324)
at
orgglobuswsrf
.container.ServiceDispatcher.stopServices(ServiceDispatcher.java:787)
at
orgglobus
.wsrf.container.ServiceDispatcher.stop(ServiceDispatcher.java:768)
at
org
.globus.wsrf.container.ServiceContainer.close(ServiceContainer.java:
311)
at
orgglobus
.wsrf.container.ServiceContainer.<init>(ServiceContainer.java:221)
at
orgglobuswsrf
.container.GSIServiceContainer.<init>(GSIServiceContainer.java:42)
... 13 more
[JWSCORE-114] Failed to start container: [Caused by:
java.lang.reflect.InvocationTargetException]
Any ideas on how to debug this?
Thanks,
Prakash
--
__________________________________
João Marcelo Uchôa de Alencar
Computer Science BSc.
jmarcelo.alencar(at)gmail.com
http://simetriade.blogspot.com
Linux User 398939
__________________________________