aspose file tools*
The moose likes JBoss/WildFly and the fly likes Error in server.log file while multiple requests are send Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error in server.log file while multiple requests are send " Watch "Error in server.log file while multiple requests are send " New topic
Author

Error in server.log file while multiple requests are send

dattathreya bonakurthi
Greenhorn

Joined: Sep 17, 2008
Posts: 20
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

dattathreya
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109


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"?

[My Blog] [JavaRanch Journal]
dattathreya bonakurthi
Greenhorn

Joined: Sep 17, 2008
Posts: 20
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

Joined: Jul 20, 2005
Posts: 9317
    
109

Sorry with that little and vague information it's really difficult to even guess what's wrong.
dattathreya bonakurthi
Greenhorn

Joined: Sep 17, 2008
Posts: 20
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]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in server.log file while multiple requests are send
 
Similar Threads
install error: java.lang.NoClassDefFoundError
class path problem
OutOfMemory with JSF RI, RichFaces, Faclets, and Tomcat
XmlHttpResponse issue with Jboss 5.1
Tomcat 7 + cookies