IllegalArgumentException on jbosss 5.1.0 while reading http
daphna deutsch
Greenhorn
Joined: Nov 17, 2005
Posts: 14
posted
0
Hi,
I'm trying to migrate from jboss 4.2.3 to jboss 5.1.0 (JDK 6.0).
My application reads xml over http requests from several clients.
After migrating to jboss 5 and sending the xml request I'm sometime getting IllegalArgumentException from tomcat. Same request may sometime works fine and sometime gets the exception.
Here is a sample of my code that read the request. Same code work fine on jboss 4.0.5 and 4.2.3.
how can i solve this?
Thanks,
Daphna
Fidel Kaily
Greenhorn
Joined: Jan 27, 2010
Posts: 2
posted
0
I have the same problem. I'm crazy with this.
Do you solve this??
Are you able to resolve this issue?Any workaround you have applied for Jboss 5.1.0 ?
Seems they have resolved it in 6.0.0.M3.
Sandeep P Kulkarni
Greenhorn
Joined: Sep 28, 2007
Posts: 5
posted
0
daphna deutsch wrote:Hi,
I'm trying to migrate from jboss 4.2.3 to jboss 5.1.0 (JDK 6.0).
My application reads xml over http requests from several clients.
After migrating to jboss 5 and sending the xml request I'm sometime getting IllegalArgumentException from tomcat. Same request may sometime works fine and sometime gets the exception.
Here is a sample of my code that read the request. Same code work fine on jboss 4.0.5 and 4.2.3.
how can i solve this?
Thanks,
Daphna
I was using BufferedReader readLine() API , using read() I was able to solve this issue. read() will be slower than readLine() , because of blocking calls.
This message was edited 1 time. Last update was at by Sandeep P Kulkarni
jian jin
Greenhorn
Joined: Mar 10, 2010
Posts: 3
posted
0
Hi,
Because what we used is JBoss Community edition, there is no support for this open source edition. If you used a JBoss commercial edition, you can request a fix for it.
As i know there is no workaround for it unless you want to fix it by yourself.
This message was edited 1 time. Last update was at by jian jin
Sandeep P Kulkarni
Greenhorn
Joined: Sep 28, 2007
Posts: 5
posted
0
jian jin wrote:Hi,
Because what we used is JBoss Community edition, there is no support for this open source edition. If you used a JBoss commercial edition, you can request a fix for it.
As i know there is no workaround for it unless you want to fix it by yourself.
Yes , thank you.
subject: IllegalArgumentException on jbosss 5.1.0 while reading http