-
1. Re: Time Out
peterj Mar 22, 2013 11:02 AM (in response to jochen89)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
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?
-
2. Re: Time Out
wdfink Mar 22, 2013 12:08 PM (in response to jochen89)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?
-
3. Re: Time Out
jochen89 Mar 25, 2013 3:28 AM (in response to jochen89)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?
-
4. Re: Time Out
wdfink Mar 25, 2013 3:47 AM (in response to jochen89)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.
-
5. Re: Time Out
jochen89 Mar 25, 2013 6:19 AM (in response to wdfink)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 errorI'm afraid that we're locked on this timeout. -.-
michael
-
6. Re: Time Out
jaikiran Mar 25, 2013 6:29 AM (in response to jochen89)Michael Pellaton wrote:
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.
-
7. Re: Time Out
jochen89 Mar 26, 2013 4:13 AM (in response to jochen89)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. :-)
-
server_log.log.zip 1.2 KB
-
-
8. Re: Time Out
wdfink Apr 8, 2013 2:59 PM (in response to jochen89)Look like a network failure, is the behaviour reproducable?
What kind of application is running and what action will fail here?
-
9. Re: Time Out
jochen89 Apr 9, 2013 4:44 AM (in response to wdfink)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
-
10. Re: Time Out
jochen89 Apr 10, 2013 5:45 AM (in response to jochen89)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.