[Performance Tuning] New message: "JBoss 3.2.6 - pauses for a minute during startup"
by Mike Curwen
User development,
A new message was posted in the thread "JBoss 3.2.6 - pauses for a minute during startup":
http://community.jboss.org/message/528816#528816
Author : Mike Curwen
Profile : http://community.jboss.org/people/mike.curwen
Message:
--------------------------------------------------------------
Hello,
I'm currently migrating a production application from older physical hardware, to a new vmware host.
I've confirmed that all components (java version, jboss version, application and libraries) are the same between platforms. I've also made the platforms as close as possible, recognizing that vmware HD space, RAM and CPU are not the same as 'real' ones. The remaining differences would be that our existing production server is (I think) some flavour of redhat running linux 2.6.8 on reiserfs, and the new vmware host is ubuntu linux 2.6.24 using ext3.
I recognize that there's quite a difference between plain hardware and VMWare hosts. But...
When I start this application on my localhost (also ubuntu) for development it takes about 17 seconds for the whole thing to start. On production it takes about the same. But on the new VM host, it takes a minute and 17 seconds, and nearly the whole minute extra is experienced right here (3rd line from bottom):
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /usr/foo/java/jboss-3.2.6
JAVA: /usr/foo/java/j2sdk1.4.2_19/bin/java
JAVA_OPTS: -server -Xms700m -Xmx700m -Djava.awt.headless=true -Dprogram.name=run.sh
CLASSPATH: /usr/foo/java/jboss-3.2.6/bin/run.jar:/usr/foo/java/j2sdk1.4.2_19/lib/tools.jar
=========================================================================
me@oldhost:/usr/foo/java/jboss-3.2.6/bin$ 10:06:41,010 INFO [Server] Starting JBoss (MX MicroKernel)...
10:06:41,011 INFO [Server] Release ID: JBoss [WonderLand] 3.2.6 (build: CVSTag=JBoss_3_2_6 date=200410140106)
10:06:41,012 INFO [Server] Home Dir: /usr/foo/java/jboss-3.2.6
10:06:41,012 INFO [Server] Home URL: file:/usr/foo/java/jboss-3.2.6/
10:06:41,012 INFO [Server] Library URL: file:/usr/foo/java/jboss-3.2.6/lib/
10:06:41,013 INFO [Server] Patch URL: null
10:06:41,013 INFO [Server] Server Name: default
10:06:41,013 INFO [Server] Server Home Dir: /usr/foo/java/jboss-3.2.6/server/default
10:06:41,013 INFO [Server] Server Home URL: file:/usr/foo/java/jboss-3.2.6/server/default/
10:06:41,013 INFO [Server] Server Data Dir: /usr/foo/java/jboss-3.2.6/server/default/data
10:06:41,014 INFO [Server] Server Temp Dir: /usr/foo/java/jboss-3.2.6/server/default/tmp
10:06:41,014 INFO [Server] Server Config URL: file:/usr/foo/java/jboss-3.2.6/server/default/conf/
10:06:41,014 INFO [Server] Server Library URL: file:/usr/foo/java/jboss-3.2.6/server/default/lib/
10:06:41,014 INFO [Server] Root Deployment Filename: jboss-service.xml
10:06:41,016 INFO [Server] Starting General Purpose Architecture (GPA)...
10:06:41,250 INFO [ServerInfo] Java version: 1.4.2_19,Sun Microsystems Inc.
10:06:41,250 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.4.2_19-b04,Sun Microsystems Inc.
10:06:41,250 INFO [ServerInfo] OS-System: Linux 2.6.24-23-generic,i386
10:06:41,422 INFO [Server] Core system initialized
10:07:34,053 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
10:07:39,116 INFO [WebService] Using RMI server codebase: http://oldhost:8083/
See how it takes nearly a minute after "Core system initialized" to proceed with the rest of the startup?
Has anyone seen this before, or have ideas what it could be, or where I should start looking for my lost minute?
Thanks.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/528816#528816
16 years, 1 month
[EJB 3.0] New message: "Re: Error on deploy persistence unit"
by Jose M. M. M.
User development,
A new message was posted in the thread "Error on deploy persistence unit":
http://community.jboss.org/message/528811#528811
Author : Jose M. M. M.
Profile : http://community.jboss.org/people/jotremar
Message:
--------------------------------------------------------------
and I see this on log
17:23:59,683 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#ejbPU
17:23:59,928 INFO [STDOUT] [TopLink Warning]: 2010.02.26 05:23:59.916--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class modelo.Venta. The class is ignored.
17:23:59,928 INFO [STDOUT] [TopLink Warning]: 2010.02.26 05:23:59.928--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class modelo.Seccion. The class is ignored.
17:24:00,153 INFO [STDOUT] [TopLink Warning]: 2010.02.26 05:24:00.153--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class modelo.Cliente. The class is ignored.
17:24:00,154 INFO [STDOUT] [TopLink Warning]: 2010.02.26 05:24:00.154--java.lang.NullPointerException: null was thrown on attempt of PersistenceLoadProcessor to load class modelo.Producto. The class is ignored.
17:24:00,229 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=Practica_final-ejb.jar,name=TiendaBean,service=EJB3
17:24:00,663 INFO [EJBContainer] STARTED EJB: EJB.TiendaBean ejbName: TiendaBean
17:24:00,685 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
TiendaBean/remote - EJB3.x Default Remote Business Interface
TiendaBean/remote-EJB.TiendaRemote - EJB3.x Remote Business Interface
TiendaBean/local - EJB3.x Default Local Business Interface
TiendaBean/local-EJB.TiendaLocal - EJB3.x Local Business Interface
17:24:00,754 INFO [DeployHandler] End start, [vfszip:/E:/jboss/server/default/deploy/Practica_final-ejb.jar/]
17:24:01,971 WARN [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
17:24:01,988 WARN [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null
17:24:27,768 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
17:24:27,769 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
17:24:27,795 INFO [STDOUT] [TopLink Info]: 2010.02.26 05:24:27.794--ServerSession(462569)--TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
17:24:28,725 INFO [STDOUT] [TopLink Info]: 2010.02.26 05:24:28.724--ServerSession(462569)--jar:file:/E:/jboss/server/default/deploy/Practica_final-ejb.jar!/-ejbPU login successful
All modelo.* are @Entity
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/528811#528811
16 years, 1 month