Hello list, Following the deployment of our EAR to a french production environment, we start getting strange errors with JBossMQ
2003-11-17 17:38:52,903 [lThread-9] FATAL cannersynch.SyncherSessionBean - Could not use syncher bean: Could not load message : 28 msg=6 soft STORED PERSISTENT queue=QUEUE.kp/scannerTransactionsOut priority=4 hashCode=15902756; - nested throwable: (java.io.IOException: Could not load the message: java.io.StreamCorruptedException: invalid stream header) org.jboss.mq.SpyJMSException: Could not load message : 28 msg=6 soft STORED PERSISTENT queue=QUEUE.kp/scannerTransactionsOut priority=4 hashCode=15902756; - nested throwable: (java.io.IOException: Could not load the message: java.io.StreamCorruptedException: invalid stream header) at org.jboss.mq.pm.jdbc2.PersistenceManager.loadFromStorage(PersistenceManager.j ava:1029) at org.jboss.mq.server.MessageCache.loadFromStorage(MessageCache.java:406) at org.jboss.mq.server.MessageReference.makeHard(MessageReference.java:273) at org.jboss.mq.server.MessageReference.getMessage(MessageReference.java:126) at org.jboss.mq.server.MessageReference.getHeaders(MessageReference.java:168) at org.jboss.mq.server.BasicQueue.receive(BasicQueue.java:251) at org.jboss.mq.server.JMSQueue.receive(JMSQueue.java:130) at org.jboss.mq.server.ClientConsumer.receive(ClientConsumer.java:225) at org.jboss.mq.server.JMSDestinationManager.receive(JMSDestinationManager.java: 672) at org.jboss.mq.server.JMSServerInterceptorSupport.receive(JMSServerInterceptorS upport.java:225) at org.jboss.mq.security.ServerSecurityInterceptor.receive(ServerSecurityInterce ptor.java:103) at org.jboss.mq.server.TracingInterceptor.receive(TracingInterceptor.java:478) at org.jboss.mq.server.JMSServerInvoker.receive(JMSServerInvoker.java:227) at org.jboss.mq.il.jvm.JVMServerIL.receive(JVMServerIL.java:245) at org.jboss.mq.Connection.receive(Connection.java:1166) at org.jboss.mq.SpyMessageConsumer.receiveNoWait(SpyMessageConsumer.java:364) at Our environment: Jboss 3.2.1 Postgres 7.3.2 Java 1.4.1_02 Redhat Advanced Server 2.1 This EAR works perfectly on our production machine. The only difference is the machine's locale The output of the /etc/sysconfig/i18n for our production machine (the one which works OK): LANG="en_US" SUPPORTED="en_US:en" SYSFONT="lat0-sun16" SYSFONTACM="iso01" The output of the /etc/sysconfig/i18n for the french machine LANG="[EMAIL PROTECTED]" SUPPORTED="en_US:en:[EMAIL PROTECTED]:fr_FR:fr" SYSFONT="lat0-sun16" SYSFONTACM="iso15" export LANG LC_ALL LC_CTYPE LC_COLLATE LC_NUMERIC LC_CTYPE LC_TIME Changing, on the french machine, to our production environment solves the issue My questions: 1/ Could you please explain WHY the system locale gives this problem? 2/ What do we have to do to run our application with the french locale so that we are not obliged to changed to US locale. Many thanks in advance, let me know if you need further details. Regards, Stephane _______________________________________ Stéphane Nicoll Software Engineer KIALA NV - The last mile company Avenue Louise/Louisalaan 149/28 (24th floor) B-1050 Brussels (BELGIUM) TEL +32 2 535 93 67 GSM +32 477 77 26 96 E-mail [EMAIL PROTECTED] _______________________________________ ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user