Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

RIB 14.0 on AIX 7.1

$
0
0

Issue : While running RIB 14 check-version-and-unpack.sh script on an AIX machine.


 Error:

java.lang.RuntimeException: Could not instantiate serializer com.sun.org.apache.xml.internal.serialize.XMLSerializer: java.lang.ClassNotFoundException: com.sun.org.apache.xml.internal.serialize.XMLSerializer

        at org.exolab.castor.xml.BaseXercesJDK5Serializer.<init>(BaseXercesJDK5Serializer.java:59)

---

Work around: Updating one property value in castor.properties available in castor-1.3.2-xml.jar

1. Go to the location Rib1400ForAll14xxApps/rib-home/integration-lib/third-party/exolab

                - two jar files will be available castor-1.3.2-xml.jar, castor-core-1.3.2.jar

2. just extract castor.properties from castor-1.3.2-xml.jar , using below command will extract only property file from jar

                - jar -xvf castor-1.3.2-xml.jar castor.properties

3. update the caster.properties file , comment the property org.exolab.castor.xml.serializer.factory and uncomment org.exolab.castor.xml.serializer.factory, like below

#org.exolab.castor.xml.serializer.factory=org.exolab.castor.xml.XercesJDK5XMLSerializerFactory

org.exolab.castor.xml.serializer.factory=org.exolab.castor.xml.XercesXMLSerializerFactory

4. Update the jar with update property file

                - jar -uf castor-1.3.2-xml.jar castor.properties

Once the above steps are done, go ahead with rib process.


Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>