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/WildFly and the fly likes how to debug to get  more information on the exception thrown in JBOSS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "how to debug to get  more information on the exception thrown in JBOSS" Watch "how to debug to get  more information on the exception thrown in JBOSS" New topic
Author

how to debug to get more information on the exception thrown in JBOSS

dattathreya bonakurthi
Greenhorn

Joined: Sep 17, 2008
Posts: 20
Hi ,
I need help to debug the transactions in JBOSS server.

I m getting an exception in server.log file but unable to get the location or file from which it is throwing the exception.
When checked the code of the that error message I m unable to understand it.

So I thought of enable the debug in next level, if I can get more information.

Exception thrown :
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)

My findings:
As per the that particular class, I can see some lines of code from which it is called but unable to find the exact reason for it.
Can someone please guide me.

http://www.massapi.com/source/JBossRemoting-2_2_0_GA/src/org/jboss/remoting/transport/coyote/CoyoteInvoker.java.html


Thanks in Advance.


dattathreya
Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 598

Hi,

What version of the server are you using?


===>SCJP 1.5(72%)<===
==>SCWCD1.5(76%)<===
dattathreya bonakurthi
Greenhorn

Joined: Sep 17, 2008
Posts: 20
Hi,

version : jboss 4.2.2 GA

Thanks
Datta
Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 598

You should be able to configure the log levels for the class in question if you alter jboss-log4j.xml in your server configuration...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to debug to get more information on the exception thrown in JBOSS