users@glassfish.java.net

Re: EJB takes a long time to be loaded on glassfish v2.1.1

From: <glassfish_at_javadesktop.org>
Date: Mon, 08 Feb 2010 11:17:48 PST

How big is your application and how many ejbs are there? Typically, creation of EJB container and loading of EJBs does NOT take a lot of time.

Can you use a profiler? also if you add the jvm option: -Xloggc:<full path to a file>, then you can also see if GC is causing the delay. (You can tail -f the file on a separate terminal to see ongoing gc activity)
[Message sent by forum member 'mk111283' (Mahesh.Kannan_at_Sun.Com)]

http://forums.java.net/jive/thread.jspa?messageID=385502