https://bz.apache.org/bugzilla/show_bug.cgi?id=60750

--- Comment #5 from qixiaobo...@gmail.com ---
Very simple code!

        OutputStream out = outputMessage.getBody();
        String text = JSON.toJSONString(obj, features);
        byte[] bytes = text.getBytes(charset);
        out.write(bytes);
The same code runs in product or development env very normal .Just become
abnormal in test env (with ip).


信息: Server version:        Apache Tomcat/7.0.70
信息: Server built:          Jun 15 2016 16:27:45 UTC
信息: Server number:         7.0.70.0
信息: OS Name:               Linux
信息: OS Version:            2.6.32-504.el6.x86_64
信息: Architecture:          amd64
信息: Java Home:             /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre
信息: JVM Version:           1.7.0_65-mockbuild_2014_07_16_06_06-b00
信息: JVM Vendor:            Oracle Corporation
信息: CATALINA_BASE:         /home/opt/apache-tomcat-7.0.70-erp
信息: CATALINA_HOME:         /home/opt/apache-tomcat-7.0.70-erp
信息: Command line argument:
-Djava.util.logging.config.file=/home/opt/apache-tomcat-7.0.70-erp/conf/logging.properties
信息: Command line argument:
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
信息: Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
信息: Command line argument: -Dcom.sun.management.jmxremote
信息: Command line argument: -XX:PermSize=64M
信息: Command line argument: -XX:MaxNewSize=128m
信息: Command line argument: -XX:MaxPermSize=128m
信息: Command line argument: -Djava.rmi.server.hostname=192.168.1.153
信息: Command line argument: -Dcom.sun.management.jmxremote.port=9999
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
信息: Command line argument: -XX:+PrintGCTimeStamps
信息: Command line argument: -XX:+PrintGCDetails
信息: Command line argument: -Xloggc:logs/gc.log
信息: Command line argument: -Xdebug
信息: Command line argument: -Xnoagent
信息: Command line argument: -Djava.compiler=NONE
信息: Command line argument:
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5888
信息: Command line argument:
-Djava.endorsed.dirs=/home/opt/apache-tomcat-7.0.70-erp/endorsed
信息: Command line argument: -Dcatalina.base=/home/opt/apache-tomcat-7.0.70-erp
信息: Command line argument: -Dcatalina.home=/home/opt/apache-tomcat-7.0.70-erp
信息: Command line argument:
-Djava.io.tmpdir=/home/opt/apache-tomcat-7.0.70-erp/temp
信息: The APR based Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to