[kepler-dev] [kepler-cvs] kepler/lib/jar/jwsdp xalan.jar xercesImpl.jar

jagan Jagan.Kommineni at infotech.monash.edu.au
Mon Nov 7 16:40:30 PST 2005


Hello Chad and Matt,

Some of the GriddLeS actors are using Sun's jar files released with 
jwsdp-1.6 which I need to add to cvs repository.
But I am bit concern that it may affect other actors.  Could you mind to 
tell me how to add jar files specific to GriddLeS actors?

with regards,

Jagan Kommineni
 

Matt Jones wrote:

>Jagan,
>
>We are in the process of trying to reduce the central jars stored in
>Kepler because it is such a huge mess.  The KAR file format now allows
>you to include jar files required by an actor in a .kar file for that
>actor and list it in the actor's dependencies.  I think there are still
>a few issues to work out about how to handle the build with the KAR
>system, but the basic infrastructure should work.  So I would recommend
>that you work with Chad to get your Griddles actors built as a .kar with
>their own specific jar dependencies.
>
>Over the next short while I will be pushing for us to clean out the jar
>files from the central kepler lib dir and start including there only
>things that are part of the core kepler framework.  Actor-specific
>dependencies would be resolved via the KAR system.
>
>Your thoughts on this approach would be appareciated.
>
>Matt
>
>jagan wrote:
>  
>
>>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
>>>> 
>>>>
>>>>        
>>>>
>>>      
>>>
>>    
>>
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mercury.nceas.ucsb.edu/ecoinformatics/pipermail/kepler-dev/attachments/20051108/864cf8b0/attachment-0001.htm


More information about the Kepler-dev mailing list