• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

IllegalArgumentException on jbosss 5.1.0 while reading http

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the same problem. I'm crazy with this.
Do you solve this??
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"fidel dsf sdf"

Please click on the "My Private Messages" link on top of this page, for a message from JavaRanch.
 
Fidel Kaily
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I also encountered this issue, anybody know how to resolve it?
 
jian jin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I opened a defect for JBoss: https://jira.jboss.org/jira/browse/JBAS-7817
It was accepted.
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.

 
jian jin
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Sandeep P Kulkarni
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic