WebLogic 9.2 JDK1.5 Project redeployment to weblogic8.1 JDK1.4.2 process __web

Source: Internet
Author: User
Tags readline
1 The IBM JDK read configuration file appears with the following exception   caused by:sun.io.MalformedInputException        at Sun.io.ByteToCharGB18030.convert (Bytetochargb18030.java (Compiled Code))        at Sun.nio.cs.streamdecoder$convertersd.convertinto (Streamdecoder.java (inlined Compiled Code))         at Sun.nio.cs.streamdecoder$convertersd.implread (Streamdecoder.java (Compiled Code))         at Sun.nio.cs.StreamDecoder.read (Streamdecoder.java (Compiled Code))         at Java.io.InputStreamReader.read (Inputstreamreader.java (Compiled Code))         at Java.io.BufferedReader.fill (Bufferedreader.java (Compiled Code))         at Java.io.BufferedReader.readLine (Bufferedreader.java (Compiled Code))         at Java.io.BufferedReader.readLine (Bufferedreader.java (inlined Compiled Code))         at orG.springframework.util.xml.xmlvalidationmodedetector.detectvalidationmode (Xmlvalidationmodedetector.java ( Compiled Code) Method 1  Online Search method java-dibm.stream.nio=true error Still, problem still exists   Way 2 AIX JDK1.4.2 bug patching can solve Java (TM) 2 runt IME Environment, Standard Edition (build 1.4.2) Classic VM (builds 1.4.2, j2re 1.4.2 IBM AIX build ca142-20060421 (SR5) (JI T ENABLED:JITC) Recommended upgrade to 1.4.2 Service release 9 (sidecar only) (pj9ap32142-20070708) Method 3 configuration file can not have Chinese and character encoding consistent 2 Convert Jdk1.5jar package to JDK1.4 command-line method:Java-xms256m-xmx512m-jar retrotranslator-transformer-1.2.2.jar-srcdir d:/temp/jdk15/-destdir d:/temp/jdk14lib– Verify converts all jar packages and classes in the source directory to JDK 1.4 versions to the target directory Ant Task Method <path id= "Retrotranslator.path" >
<fileset dir= "${retrotranslator.home}" >
<include name= "*.jar"/>
</fileset>
</path> <target name= "tojdk14" depends= "" >
<taskdef name= "Retrotranslator" classpathref= "Retrotranslator.path"
Classname= "Net.sf.retrotranslator.transformer.RetrotranslatorTask"/>
<retrotranslator destjar= "${target.ear}/jdk14${ejb.file}"
Srcjar= "${target.ear}/${ejb.file}"
Verify= "false" >

<classpath location= "${java14_home}/jre/lib/rt.jar"/>
<classpath refid= "All-libs"/>
<classpath refid= "Retrotranslator.path"/>

</retrotranslator>
</target> Retrotranslator-runtime-1.2.2.jar add to runtime Lib 3 WebLogic 3.1 Weblogic-ejb-jar.xml DOCTYPE needs to be modified.So modify Xdoclet to generate Weblogic-ejb-jar.xml jar package xdoclet/lib/xdoclet-bea-module-1.2.3 for Wls81.jar 3.2 Managed Server startup script startmanagedweblogic.sh Add resources classpath Rmslib= "Lib" # Set the Classpath cp=$ (echo ${rmslib}/*.jar ${rmslib}/xml/*.jar | tr ': ')     # ************   echo "rmslib = = ${rmslib} = = = =--------------- ------------------------"echo" CP=================${CP} "classpath=" ${weblogic_classpath}${classpathsep}${ pointbase_classpath}${classpathsep}${java_home}/jre/lib/rt.jar${classpathsep}${wl_home}/server/lib/ WEBSERVICES.JAR${CLASSPATHSEP}${CLASSPATH}:${CP} "Export CLASSPATH

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.