[kepler-dev] [kepler-cvs] kepler/lib/jar/jwsdp xalan.jar xercesImpl.jar
Dan Higgins
higgins at nceas.ucsb.edu
Wed Oct 5 10:07:21 PDT 2005
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
>
>
--
*******************************************************************
Dan Higgins higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/ Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS)
Marine Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************
More information about the Kepler-dev
mailing list