Hi Kevan,

With your suggestion to hide the castor, now it is working

<dep:hidden-classes>
      <dep:filter>org.exolab</dep:filter>
      <dep:filter>org.castor</dep:filter>
    </dep:hidden-classes>
  </dep:environment> 

Instead of putting all the dependencies jar from the web-inf/lib to
repository folder of geronimo, I just moved the xerces.jar in the endorsed
folder and put the below deployment plan

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1";
         xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2";>
    <sys:environment>
        <sys:moduleId>
            <sys:groupId>samples</sys:groupId>
            <sys:artifactId>bhm</sys:artifactId>
            <sys:version>5.2</sys:version>
            <sys:type>war</sys:type>
        </sys:moduleId> 
       <sys:hidden-classes>
          <sys:filter>org.exolab</sys:filter>
          <sys:filter>org.castor</sys:filter>
       </sys:hidden-classes>            
    </sys:environment>
    <context-root>/bhm</context-root>
        <gbean name="MyAppSystemProperties"           
class="org.apache.geronimo.system.properties.SystemProperties">
    <attribute name="systemPathProperties">
         com.myApp.ConfigFile=var
    </attribute>
    <reference name="ServerInfo">
        <name>ServerInfo</name>
    </reference>
</gbean>
</web-app>


So, is there any further improvement which can be done.

Thanks,
Ranjan



--
View this message in context: 
http://apache-geronimo.328035.n3.nabble.com/class-path-issue-tp3005965p3009991.html
Sent from the Development mailing list archive at Nabble.com.

Reply via email to