File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes IllegalArgumentException on  jbosss 5.1.0 while reading http Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "IllegalArgumentException on  jbosss 5.1.0 while reading http" Watch "IllegalArgumentException on  jbosss 5.1.0 while reading http" New topic
Author

IllegalArgumentException on jbosss 5.1.0 while reading http

daphna deutsch
Greenhorn

Joined: Nov 17, 2005
Posts: 14
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
I have the same problem. I'm crazy with this.
Do you solve this??
Jaikiran Pai
Saloon Keeper

Joined: Jul 20, 2005
Posts: 6564

"fidel dsf sdf"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.


[My Blog] [JavaRanch Journal]
Fidel Kaily
Greenhorn

Joined: Jan 27, 2010
Posts: 2
Jaikiran Pai wrote:"fidel dsf sdf"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.


Thanks, I changed my profile now ;)

My problem is the same than daphna deutsch. Anyone resolve this ?
Thanks
jian jin
Greenhorn

Joined: Mar 10, 2010
Posts: 3
I also encountered this issue, anybody know how to resolve it?
jian jin
Greenhorn

Joined: Mar 10, 2010
Posts: 3
I opened a defect for JBoss: https://jira.jboss.org/jira/browse/JBAS-7817
It was accepted.
Sandeep P Kulkarni
Greenhorn

Joined: Sep 28, 2007
Posts: 5
jian jin wrote:I opened a defect for JBoss: https://jira.jboss.org/jira/browse/JBAS-7817
It was accepted.

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
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
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
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
 
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture