Hello list, Just to remind you that message. Does anybody has a suggestion to this problem?
Regards, Stephane -----Forwarded Message----- > From: Stephane Nicoll <[EMAIL PROTECTED]> > To: JBoss user (E-mail) <[EMAIL PROTECTED]> > Subject: [JBoss-user] java.io.StreamCorruptedException / locale problem? > Date: Mon, 17 Nov 2003 20:06:55 +0100 > > 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 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
