[Persistence, JBoss/CMP, Hibernate, Database] - Re: Jboss Server Crashed ! ! !
by gothemilan
Hi,
There is one more hints i found in the server that, there are running more java instances like more than 20 java, and more than 1 jboss is running in the server in background(Linux RHEL4ES).
Following are the processes running in the server in background.
------------------------------------------------------------------------------------
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 16 0 3664 508 432 S 0.0 0.0 0:06.74 init
2 root RT 0 0 0 0 S 0.0 0.0 0:01.81 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.25 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:01.72 migration/1
5 root 34 19 0 0 0 S 0.0 0.0 0:00.19 ksoftirqd/1
6 root 5 -10 0 0 0 S 0.0 0.0 0:00.39 events/0
7 root 5 -10 0 0 0 S 0.0 0.0 0:00.18 events/1
8 root 5 -10 0 0 0 S 0.0 0.0 0:01.39 khelper
9 root 15 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
42 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kblockd/0
43 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kblockd/1
44 root 15 0 0 0 0 S 0.0 0.0 0:00.00 khubd
61 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
62 root 15 0 0 0 0 S 0.0 0.0 1:27.80 pdflush
63 root 16 0 0 0 0 S 0.0 0.0 4:37.49 kswapd0
64 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
65 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 aio/1
209 root 25 0 0 0 0 S 0.0 0.0 0:00.00 kseriod
439 root 22 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
456 root 15 0 0 0 0 S 0.0 0.0 7:40.55 kjournald
1102 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 kauditd
1823 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 kedac
2052 root 15 0 0 0 0 S 0.0 0.0 0:00.03 kjournald
2053 root 15 0 0 0 0 S 0.0 0.0 0:00.22 kjournald
2341 root 18 0 4876 1016 880 S 0.0 0.0 0:00.00 jbossrun.sh
2346 root 25 0 2259m 207m 300m S 0.0 10.2 11:21.30 java
2383 root 17 0 6048 1012 880 S 0.0 0.0 0:00.00 jbossrun.sh
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2388 root 25 0 2260m 205m 10m S 0.0 10.2 10:17.17 java
2701 root 16 0 3076 284 204 S 0.0 0.0 0:00.46 irqbalance
2762 root 16 0 33568 996 664 S 0.0 0.0 0:00.28 gamdrvd
2837 ntp 16 0 5272 5272 3448 S 0.0 0.3 0:09.50 ntpd
2846 root 16 0 4356 1016 788 S 0.0 0.0 0:08.10 vsftpd
3076 root 16 0 4672 428 292 S 0.0 0.0 0:00.00 saslauthd
3077 root 16 0 4720 920 768 S 0.0 0.0 0:00.00 saslauthd
3079 root 16 0 4720 916 764 S 0.0 0.0 0:00.00 saslauthd
3080 root 16 0 4720 916 764 S 0.0 0.0 0:00.00 saslauthd
3081 root 16 0 4720 920 768 S 0.0 0.0 0:00.00 saslauthd
3089 dbus 15 0 3224 800 652 S 0.0 0.0 0:00.04 dbus-daemon-1
3453 root 16 0 51788 9928 3248 S 0.0 0.5 0:01.90 cvd
3454 root 16 0 18036 4752 3272 S 0.0 0.2 0:01.30 EvMgrC
3455 root 16 0 18036 4752 3272 S 0.0 0.2 0:00.06 EvMgrC
3456 root 16 0 18036 4752 3272 S 0.0 0.2 0:00.25 EvMgrC
3457 root 16 0 51788 9928 3248 S 0.0 0.5 0:00.53 cvd
3459 root 16 0 51788 9928 3248 S 0.0 0.5 0:00.83 cvd
3460 root 15 0 51788 9928 3248 S 0.0 0.5 0:04.37 cvd
3463 root 16 0 51788 9928 3248 S 0.0 0.5 0:00.96 cvd
3467 root 16 0 18036 4752 3272 S 0.0 0.2 0:00.07 EvMgrC
3468 root 16 0 18036 4752 3272 S 0.0 0.2 0:00.00 EvMgrC
3469 root 16 0 51788 9928 3248 S 0.0 0.5 0:00.44 cvd
3474 root 18 0 1996 416 360 S 0.0 0.0 0:00.00 mingetty
3475 root 18 0 1784 412 360 S 0.0 0.0 0:00.00 mingetty
-----------------------------------------------------------------------------------
What i wanted to know is; this may cause the isssue of jboss down or? and what is the possible way to stop this from server level or code leve in the program.
Any help would be greatly appreciately.
Thanks
Milan Gothe
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178523#4178523
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178523
17 years, 7 months
[JBoss Messaging] - How to set ping timeout of ConnectionValidator from jboss me
by hendra_netm
Hi guys,
Recently, I got a lot of connection problem when using jboss messaging. The clients (producer and consumer) throw connection exception which is captured by connection exception listener.
This is happened repeatly at certain time every day.
After further investigation, I find out that at that time, lots of cron jobs run on the server and make the ConnectionValidator failed to get the pong after it pings the server.
In the client logs, I can see this:
[DEBUG] [DaemonRetry ] [MO] jboss.remoting.ConnectionValidator: ConnectionValidator[null, pingPeriod=2000 ms] created
| 2008-09-23 16:59:36,288 [TRACE] [DaemonRetry ] [MO] jboss.remoting.ConnectionValidator: config timeout: null
| 2008-09-23 16:59:36,288 [DEBUG] [DaemonRetry ] [MO] jboss.remoting.ConnectionValidator: ConnectionValidator[null, pingPeriod=2000 ms] timeout: 1000
| 2008-09-23 16:59:36,289 [DEBUG] [DaemonRetry ] [MO] jboss.remoting.ConnectionValidator: ConnectionValidator[null, pingPeriod=2000 ms] ping retries: 1
| 2008-09-23 16:59:36,311 [DEBUG] [DaemonRetry ] [MO] jboss.remoting.ConnectionValidator: ConnectionValidator[null, pingPeriod=2000 ms] connection retries: null
The pingTimeout of ConnectionValidator is too short in my opinion (1 second)
My question is: how to set the pingTimeout, pingPeriod, and max pingRetries of ConnectionValidator?
I have read the jboss messaging, and remoting documentation, but I can't find how I can set those values.
Thank you in advance for your help.
Best Regards,
Hendra
p.s.: I am using jboss 4.2.3.GA, jboss messaging 1.4.0.SP3.CP03, and jboss remoting 2.2.2.SP8
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178515#4178515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178515
17 years, 7 months
[Beginners Corner] - JBoss Resource bundle error
by skm2008
Hi,
While deploying one application in JBOSS i m getting the following error. Can anyone please let me know the solution??
2008-09-24 15:03:35,992 ERROR [org.apache.catalina.core.ContainerBase] Servlet.service() for servlet action threw exception
java.util.MissingResourceException: Can't find bundle for base name com.---, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:805)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:549)
at com.eaton.electrical.rtc.util.Globals.(Globals.java:144)
at com.action.LoginPerformAction.execute(LoginPerformAction.java:101)
at org.mwolff.struts.back.BackRequestProcessor.processActionPerform(BackRequestProcessor.java:111)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178514#4178514
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178514
17 years, 7 months