[kepler-dev] [kepler-cvs] kepler/lib/jar/jwsdp xalan.jar xercesImpl.jar
jagan
Jagan.Kommineni at infotech.monash.edu.au
Wed Oct 5 17:03:33 PDT 2005
Hi Dan,
My code is using sun's latest jwsdp which includes certificate based
security module.
If I add those two jar files in kepler/lib/jar/jwsdp directory griddles
actors are able to pickup the right jar.
I have looked at the directory structure of the xalan.jar and
xercesImpl.jar of jwsdp and was different to
the directory structure of the old ones. Is there any possibility if I
add these jar files at the end so that
it won't affect other peoples code and griddles actors can get the
access to these jar files.
with regards,
Jagan Kommineni
Dan Higgins wrote:
> Hi Jagan,
> I suspect that we have some sort of versioning problem.
>
> Kepler does include the xercesImpl.jar and xalan.jar files.
> xercesImpl.jar is in kepler\lib\jar\sms and xalan.jar is in
> kepler\lib\jar\apache. And these jars are showing up in the kepler
> class path.
>
> The class DocumentBuilderFactoryImpl is in the xercesImpl.jar file,
> but its path is "org/apache/xerces/jaxp/". Note that the first 2
> elements of the path in your error message (I.e. "com/sun/") are
> missing! That is apparently why you are getting the error. But I don't
> know why your code is looking for a sun specific version of this
> class! (Something about the SecurityPluginUtil class?)
>
> The versions of xercesImpl.jar and xalan.jar files that are
> included with kepler were needed for some other parts of kepler and
> (if I remember correctly) are version-dependent, so we may have a
> problem with replacing the current versions.
>
> Dan Higgins
>
> jagan wrote:
>
>> Hello Matt,
>>
>> I have removed xalan.jar and xercesImpl.jar files from the cvs
>> repository.
>> You are correct these files are already there but kepler runtime
>> environment is complaining when I try to run griddles actors from
>> kepler which needs some of the classes from these jar files.
>> The error message is as follows, I suspect the kepler runtime is not
>> able to load
>> xalan and xerces from other directory. Could you mind to advise?
>> -------------------------------------------------------------------------------------------------------------
>>
>> java.lang.NoClassDefFoundError:
>> com/sun/org/apache/xerces/internal/jaxp/DocumentBuilderFactoryImpl
>> at
>> com.sun.xml.rpc.security.SecurityPluginUtil.<init>(SecurityPluginUtil.java:128)
>>
>> at
>> org.monash.griddles.jobrun.JobrunIF_Stub.<clinit>(JobrunIF_Stub.java:41)
>> at
>> org.monash.griddles.jobrun.MyJobrun_Impl.getJobrunIFPort(MyJobrun_Impl.java:59)
>>
>> at
>> org.monash.griddles.GriddlesRemoteExec.createProxy(GriddlesRemoteExec.java:132)
>>
>> at
>> org.monash.griddles.GriddlesRemoteExec.fire(GriddlesRemoteExec.java:148)
>> at ptolemy.actor.process.ProcessThread.run(ProcessThread.java:178)
>> --------------------------------------------------------------------------------------------------------------
>>
>>
>> with regards,
>>
>> Jagan Kommineni
>>
>>
>> Matt Jones wrote:
>>
>>> Jagan,
>>>
>>>
>>> These jar files are incredibly basic. I am positive there are already
>>> copies of both xalan and xerces in the classpath of Kepler -- I have
>>> used both in some of my actors. Adding your new copies will
>>> undoubtedly
>>> break something. Could you please remove them? Thanks.
>>>
>>> Matt
>>>
>>> Jagan Kommineni wrote:
>>>
>>>
>>>> kommineni 05/10/04 16:47:35
>>>>
>>>> Added: lib/jar/jwsdp xalan.jar xercesImpl.jar
>>>> Log:
>>>> Two jars files are added as jwsdp needs these jar files for
>>>> executing Griddles actors .....
>>>>
>>>> Revision Changes Path
>>>> 1.3 +0 -0 kepler/lib/jar/jwsdp/xalan.jar
>>>>
>>>> <<Binary file>>
>>>>
>>>>
>>>> 1.3 +0 -0 kepler/lib/jar/jwsdp/xercesImpl.jar
>>>>
>>>> <<Binary file>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Kepler-cvs mailing list
>>>> Kepler-cvs at ecoinformatics.org
>>>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-cvs
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at ecoinformatics.org
>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>>
>>
>
>
More information about the Kepler-dev
mailing list