Discussion:
[jboss-user] [Beginner's Corner] - Re: Time Out
Peter Johnson
2013-03-22 15:03:02 UTC
Permalink
Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/804312#804312

--------------------------------------------------------------
If my high school and college German hasn't failed me, I think that what you are saying is that you are experiencing pauses during JBoss AS startup. Here is a prior discussion on that topic (the poster was using 3.2.6 but the general debugging guidelines still apply to 5.1.0):
https://community.jboss.org/thread/148705 https://community.jboss.org/thread/148705

The key is taking a thread dump during the pause, looking at the threads to see what they are doing or waiting on, and fixing that. Most likely, it is an issue with network access.

Also, are you behind a firewall that would prevent internet access on certain ports?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804312#804312]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Wolf-Dieter Fink
2013-03-22 16:08:42 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/804328#804328

--------------------------------------------------------------
Hallo Michael,
willkommen im Forum.

But the normal language is English ;) otherwise you may not get a big number of contributors

Two minutes sounds like a Transaction timeout.
Could you post the original error message and maybe a related warning from the same thread?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804328#804328]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Michael Pellaton
2013-03-25 07:28:25 UTC
Permalink
Michael Pellaton [https://community.jboss.org/people/jochen89] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/804507#804507

--------------------------------------------------------------
Hello Guys
So we change to english. I hope I get where I want to. :-)

First off all, I don't think it's a startup problem. The application starts perfectely. The time out occures the moment I start this special method.

Maybe a quick try of explanation what happens in this method:
As I said on the original post, I didnt' do anything of this program and have also to find out whats happens actually.

In this method a list of products get's generated and the export to excel.

And if there are more then 100 products and it takes more then 2 minutes I get this *"request timed out"*

The code in the transaction-jboss-beans.xml file is:

<!-- Unit from transactionTimeout: Seconds -->
<property name="transactionTimeout">300000</property>
<property name="objectStoreDir">${jboss.server.data.dir}/tx-object-store</property>
<property name="mbeanServer"><inject bean="JMXKernel" property="mbeanServer"/></property>


I'm so sorry, but I really don't know where i find the original error message. :-( Ist it in a Log file?



--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804507#804507]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Wolf-Dieter Fink
2013-03-25 07:47:27 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/804512#804512

--------------------------------------------------------------
Hi Michael,

my difficulty is to understand where you see the 'request timed out" :(
the logfiles can be found in JBOSS/server/your-config-name/log/server.log

You might look for WARN/ERROR if this problem raise. If it is a JBoss problem then you should see somthing like this.
But I suppose it is something application related, so it will be interesting where you see the time out message.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804512#804512]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Michael Pellaton
2013-03-25 10:19:04 UTC
Permalink
Michael Pellaton [https://community.jboss.org/people/jochen89] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/804550#804550

--------------------------------------------------------------
Hi Wolf-Dieter
I found the log file. There was actually an error message. (It's quite long. :| )(I can't add a TextFile, can't I?)

The main error message is:

2013-03-25 07:55:34,254 ERROR [org.granite.messaging.webapp.AMFMessageFilter] (http-0.0.0.0-8080-2) AMF message error
ClientAbortException:  java.net.SocketException: Software caused connection abort: socket write error

I'm afraid that we're locked on this timeout. -.-

michael

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804550#804550]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
jaikiran pai
2013-03-25 10:29:38 UTC
Permalink
jaikiran pai [https://community.jboss.org/people/jaikiran] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/804554#804554

--------------------------------------------------------------
Post by Michael Pellaton
Hi Wolf-Dieter
I found the log file. There was actually an error message. (It's quite long. :| )(I can't add a TextFile, can't I?)
Click on the "Use advanced editor" link in the message editor window (top right corner) when you are replying. That will take you to a editor where you can attach files.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804554#804554]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Michael Pellaton
2013-03-26 08:13:21 UTC
Permalink
Michael Pellaton [https://community.jboss.org/people/jochen89] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/804777#804777

--------------------------------------------------------------
Thanks to jaikiran pai I'm able to add the log-file.

It's a tiny peace of hope, but I won't give up. :-)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/804777#804777]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Wolf-Dieter Fink
2013-04-08 18:59:48 UTC
Permalink
Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/807045#807045

--------------------------------------------------------------
Look like a network failure, is the behaviour reproducable?
What kind of application is running and what action will fail here?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/807045#807045]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Michael Pellaton
2013-04-09 08:44:28 UTC
Permalink
Michael Pellaton [https://community.jboss.org/people/jochen89] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/807148#807148

--------------------------------------------------------------
It's a Flex/Java Application which is running on the server.
The behaviour is reproducable. It allways accures when the programm generates an excel export from the sql-database.

I allready studied the log file (as good as I could) but the only remark i found was not an errer but a warning:

     2013-04-09 09:25:20,010 INFO [STDOUT] (http-0.0.0.0-8080-1) File name: Production sheet_all_2013-03-22_v1 Reports Type: Production sheet

I don't think that this is the reason for the timeout.



     2013-04-09 09:25:20,026 WARN [org.jboss.ejb3.interceptors.aop.InterceptorsFactory] (http-0.0.0.0-8080-1) EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
     2013-04-09 09:25:20,026 WARN [org.jboss.ejb3.interceptors.aop.InterceptorsFactory] (http-0.0.0.0-8080-1) EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/807148#807148]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Michael Pellaton
2013-04-10 09:46:03 UTC
Permalink
Michael Pellaton [https://community.jboss.org/people/jochen89] created the discussion

"Re: Time Out"

To view the discussion, visit: https://community.jboss.org/message/807387#807387

--------------------------------------------------------------
Phuuu
After checking almost every possible solution I finally found out, that the time out is not a sever problem, but an application problem.

It's the Flex part which generates a time out error if the server doesn't respond during 2 minutes. No i just have to find out, how I add a possibility to give all 2 minutes a feedback, so the application knows, that the server is still working.

But that I have to find out in an other forum.

I want to thank you all for your help!!! It really helped to understand the JBOSS Server a lot better.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/807387#807387]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Loading...