Results 1 to 2 of 2

Thread: JDev 10.1.2 and Spring 1.2.3: Incredibly slow OC4J startup

  1. #1
    Join Date
    Sep 2005
    Posts
    1

    Default JDev 10.1.2 and Spring 1.2.3: Incredibly slow OC4J startup

    I posted this problem to the JDev forums but it won't hurt to ask here as well.

    I have JDev 10.1.2 which runs many non-Spring apps in the embedded OC4J without incident.

    But after an app that uses Spring Framework 1.2.2 or 1.2.3 is added to a Workspace, attempting to run _any_ application, spring-using or not, in that workspace results in an incredibly long startup time for OC4J, typically 160-220 seconds during which JDeveloper becomes unresponsive and the CPU use rises to 100%.

    After JDeveloper becomes responsive again, here are the displayed contents of the OC4J server window:

    -------------------------------------------------------------------------------------------------
    [Starting OC4J using the following ports: HTTP=65001, RMI=65002, JMS=65003.]
    /home/kt/jdevhome/system10.1.2.0.0.1811/oc4j-config>
    /usr/java/j2sdk1.4.2_07/bin/java -server -classpath
    /home/kt/lib/java/jdev1012/j2ee/home/oc4j.jar:/home/kt/lib/java/jdev1012/jdev/lib/jdev-oc4j.jar
    -Xverify:none -Ddisable.checkForUpdate=true -Xrs -Doracle.j2ee.dont.use.memory.archive=true
    -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE
    -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config
    /home/kt/jdevhome/system10.1.2.0.0.1811/oc4j-config/server.xml
    [waiting for the server to complete its initialization...]
    05/09/01 12:25:38 Auto-deploying SSAC (New server version detected)...
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 189824 ms.

    Target URL -- http://172.17.50.60:65001/bafg/brs/index.jsp
    05/09/01 12:25:38 Oracle Application Server Containers for J2EE 10g (10.1.2.0.0) initialized
    -------------------------------------------------------------------------------------------------

    This problem occurs using JDev 10.1.2 on several workstations. One workstation is FC4, the others are WinXP. We are using j2sdk1.4.2_07 to compile/run on FC4 and the bundled 1.4.2_04 on Windows.

    Once the OC4J is started, JDeveloper and applications appear to work fine with no noticable differences in speed. Also, once deployed to an Oracle App Server 10g (w/OC4J 10.1.2), there is no noticable difference in startup time for applications on that server.

    Again, I would emphasize that the problem affects all applications in the workspace, not just the one that uses Spring. And if I remove the Spring application from the workspace, OC4J starts quickly again for the other applications. Also, running applications in a one workspace is not impacted by a Spring app in a different workspace.

    Any ideas?

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    Sounds like an issue with JDev 10.1.2. I would suggest that you:

    - Try to find out which part of Spring proves it. Are you deploying a web app?
    - Try to do a thread dump to see what is happening when the container is starting.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Similar Threads

  1. Announcement: Spring IDE 1.2.3 released
    By Torsten Juergeleit in forum Announcements
    Replies: 0
    Last Post: Aug 24th, 2005, 05:57 PM
  2. Spring Framework 1.2.3 Released
    By Colin Sampaleanu in forum Announcements
    Replies: 0
    Last Post: Jul 26th, 2005, 12:12 PM
  3. Spring code remarks
    By Alarmnummer in forum Architecture
    Replies: 18
    Last Post: Apr 7th, 2005, 07:17 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  5. Replies: 0
    Last Post: Sep 16th, 2004, 01:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •