Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error in server.log file while multiple requests are send

 
dattathreya bonakurthi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2013-09-17 18:51:29,432 ERROR [org.jboss.remoting.transport.coyote.CoyoteInvoker] Service error
java.lang.ArrayIndexOutOfBoundsException: 0
at org.jboss.remoting.transport.coyote.CoyoteInvoker.normalize(CoyoteInvoker.java:763)
at org.jboss.remoting.transport.coyote.CoyoteInvoker.postParseRequest(CoyoteInvoker.java:608)
at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvoker.java:287)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)

For example, if 100 accounts are triggerred from source to jboss only 50% are success or sometimes all are failed .

One thing I can observe if I submit the requests using web client all the success but if the same is done using source then they are getting failed
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

dattathreya bonakurthi wrote:2013-09-17 18:51:29,432 ERROR [org.jboss.remoting.transport.coyote.CoyoteInvoker] Service error
java.lang.ArrayIndexOutOfBoundsException: 0
at org.jboss.remoting.transport.coyote.CoyoteInvoker.normalize(CoyoteInvoker.java:763)
at org.jboss.remoting.transport.coyote.CoyoteInvoker.postParseRequest(CoyoteInvoker.java:608)
at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvoker.java:287)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

I haven't seen that code path before, as shown in the stacktrace. Which JBoss AS version is this and what exactly are you doing?


dattathreya bonakurthi wrote:
One thing I can observe if I submit the requests using web client all the success but if the same is done using source then they are getting failed

What do you mean by "done using source"?
 
dattathreya bonakurthi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I haven't seen that code path before, as shown in the stacktrace. Which JBoss AS version is this and what exactly are you doing?

Version : jboss 4.2.2 GA


What do you mean by "done using source"?


Jboss has some wsdl, which are called by other external systems to generate some transaction in the database level.

Whenever they send multiple requests some are not received at my end and throwing the exception as given by me.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry with that little and vague information it's really difficult to even guess what's wrong.
 
dattathreya bonakurthi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kiran,

thanks for your response.

Below is some information which I can share.
Please see the attached file for request flow image.

1. Obrm sends request to jboss IP.
2. the request is handled by esb file.
2.1 in the esb file the input data parsing is done.
2.2 the actual input is generated finally and send to wsdl
2.3 the wsdl call the required processes and transaction is completed.
3. Final response is send back to OBRM.
-------------------------------------------------------
Problem location:
--> As per the server.log file, the request coming to jboss are not tracked correctly and below error is displayed if any requets is not success.

2013-09-17 18:51:29,432 ERROR [org.jboss.remoting.transport.coyote.CoyoteInvoker] Service error
java.lang.ArrayIndexOutOfBoundsException: 0
at org.jboss.remoting.transport.coyote.CoyoteInvoker.normalize(CoyoteInvoker.java:763)
at org.jboss.remoting.transport.coyote.CoyoteInvoker.postParseRequest(CoyoteInvoker.java:608)
at org.jboss.remoting.transport.coyote.CoyoteInvoker.service(CoyoteInvoker.java:287)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:595)
---------------------------------------------------------

As per the above error message I checked the grep code link.

http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.jboss.remoting/jboss-remoting/2.4.0.SP1/org/jboss/remoting/transport/coyote/CoyoteInvoker.java#87


--------------------------------------------------------
When I checked in the esb file..
It contains jboss-esb.xml file...
I thought if there is any problem with the thread count but when I chked the count it is 200.

Can you suggest me any info.


Thanks
Datta


jboss_flow.JPG
[Thumbnail for jboss_flow.JPG]
request flow image
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic