Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geclipse-dev] Job submission problem

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi again,

the problem is solved, I just switched to the cvs version of bouncycastle and
it does the trick !!!

No idea why. I was using the last version of bouncy castle.

Rom

Romain a écrit :
> Hello Pawel,
> 
> I stll have this problem and cannot figure out why !?!
> 
> wms3.1.jar and axis1.4.jar are both present in the eu.gleclipse.glite
> bundle classpath.
> 
> May you explain me, how to get the soap message?
> 
> Do you have another idea? May I provide you with other information to
> help diagnose the problem?
> 
> Cheers,
> Romain
> 
> Pawel Wolniewicz a écrit :
> 
> 
>> On Tue, 2 Dec 2008, Romain wrote:
> 
>>> I am still trying to submit jobs through an application (call it
>>> SimExplorer) using g-eclipse.
>>>
>>> When I use g-eclipse workspace everything is fine. When I use
>>> SimExplorer I
>>> get the following exception:
> 
>> Hi,
> 
>> I see two potential problems:
> 
>>> Caused by: Stack dump
>>>     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>> Method)
>>>     at
>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>>
>>>     at
>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>>
>>>     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>>     at java.lang.Class.newInstance0(Class.java:355)
>>>     at java.lang.Class.newInstance(Class.java:308)
>>>     at
>>> org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
>>>
>> Here is one. BeanDeserialiser tries to load via reflection class
>> org.glite.wms.wmproxy.GenericFaultType.
>> And classloader cannot instantiate it. Strange, because that class was
>> already instantiated here:
> 
>>>     at
>>> org.glite.wms.wmproxy.GenericFaultType.getDeserializer(GenericFaultType.java:90)
>>>
>>>     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:597)
>>>     at
>>> org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
>>>
>> But then it was instantiated by SAX parser and the exception is while
>> instantiating it from Axis. Maybe Axis classloader has no WMS.jar in its
>> classpath?
> 
> 
>> The second problem is the GenericFaultType itself. This class should not
>> be used if jobRegister() is successfull. Stack trace clearly shows, that
>> SAX parser found GenericFaultType in WMS response. It means that WMS
>> refused job registration. It is not easy to guess why. (If you dig deep
>> anough in debugging axis responses you can find WMS Soap response, but
>> it is not easy). Are you sure, that you use the same WMS with Eclipse
>> workspace and without it? If yes, my suspecion is that it is again
>> problem with classpath from Axis to WMS.jar. If the message send to WMS
>> was not serialised correctly then WMS can throw GeneralFaultType.
> 
> 
>> Regards,
> 
>> Pawel
>> _______________________________________________
>> geclipse-dev mailing list
>> geclipse-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/geclipse-dev
> 
_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk4Hg8ACgkQbUN+hKKXqgsmiQCgsIcWvg/xAHvcaxs51JgXqR7e
btIAn1F3hAr5ilD2jxOg3W/LXauMsBKI
=k90c
-----END PGP SIGNATURE-----


Back to the top