ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14168] New: - OutOfMemory during EJBC
Date Fri, 01 Nov 2002 15:50:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14168>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14168

OutOfMemory during EJBC

           Summary: OutOfMemory during EJBC
           Product: Ant
           Version: 1.5.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: sbarber@benefitfocus.com


I have recently upgraded from 1.4.1 to 1.5.1.  I have noticed now that whey 
trying to build our EJB JARs I get out of memory errors from ant.  I can revert 
back to 1.4.1 and the build works fine.

<!-- target from build.xml file -->
    <target name="makeWeblogicJAR" depends="init,makeJAR">
        <java classname="weblogic.ejbc" fork="yes" failonerror="yes"
            args="-compiler javac ${cbmrdbms.jardir}/std${cbmrdbms.jar} 
${cbmrdbms.libdir}/bfi/${cbmrdbms.jar}">
            <classpath refid="cbmrdbms.classpath" />
        </java>
        <delete file="${cbmrdbms.jardir}/std${cbmrdbms.jar}"/>
    </target>

<!--verbose output-->
makeWeblogicJAR:
     [java] The args attribute is deprecated. Please use nested arg elements.
     [java] Executing 'C:\jdk1.3.1_02\jre\bin\java.exe' with arguments:
     [java] '-classpath'
     [java] 'C:\_cbm\lib\PyLib-
21.jar;C:\_cbm\lib\Tidy.jar;C:\_cbm\lib\ant.jar;C:\_cbm\lib\httpclient.jar;C:\_c
bm\lib\httpunit.jar;C:\_cbm\lib\junit.jar;C:\_cbm\lib\jython-21.
jar;C:\_cbm\lib\oboe.jar;C:\_cbm\lib\xerces.jar;C:\_cbm\lib\bfi\bfi-
core.jar;C:\_cbm\lib\bfi\bfi-
util.jar;C:\_cbm\lib\jakarta\cactus.jar;C:\_cbm\lib\jakarta\commons-beanutils-
1_2.jar;C:\_cbm\lib\jakarta\commons-collections-
1_0.jar;C:\_cbm\lib\jakarta\commons-digester-
1_1_1.jar;C:\_cbm\lib\jakarta\datetime.jar;C:\_cbm\lib\jakarta\dom4j.jar;C:\_cbm
\l
ib\jakarta\oro-2_0_4.jar;C:\_cbm\lib\jakarta\regexp-
1_2.jar;C:\_cbm\lib\jakarta\velocity-tools-struts-
0_1.jar;C:\_cbm\lib\jakarta\velocity-tools-view-0_3.jar;C:\_cbm\lib\jakar
ta\log4j-1_2_7.jar;C:\_cbm\lib\jakarta\velocity-dep-1_3_1-
rc2.jar;C:\_cbm\lib\jce\US_export_policy.jar;C:\_cbm\lib\jce\jce1_2_1.jar;C:\_cb
m\lib\jce\local_policy.jar;C:\_cbm\li
b\jce\sunjce_provider.jar;C:\_cbm\lib\xdoclet\middlegen.0.4.beta.jar;C:\_cbm\lib
\xdoclet\xdoclet-1.1.2.jar;C:\_cbm\lib\iText.jar;C:\beaSP3\wlserver6.1
\lib\j2ee12.jar;C:\beaSP3
\wlserver6.1\lib\jms450.jar;C:\beaSP3\wlserver6.1\lib\jms451.jar;C:\beaSP3
\wlserver6.1\lib\jms500.jar;C:\beaSP3\wlserver6.1\lib\jms510.jar;C:\beaSP3
\wlserver6.1\lib\mssqlserve
r4v65.jar;C:\beaSP3\wlserver6.1\lib\weblogic.jar;C:\beaSP3\wlserver6.1
\lib\wleorb.jar;C:\beaSP3\wlserver6.1\lib\wlepool.jar;C:\beaSP3\wlserver6.1
\lib\xmlx.jar;C:\beaSP3\wlserv
er6.1\lib\zac.jar'
     [java] 'weblogic.ejbc'
     [java] '-compiler'
     [java] 'javac'
     [java] 'C:\_cbm\cbmrdbms\build/../../jar/stdbfi-cbmrdbms.jar'
     [java] 'C:\_cbm\cbmrdbms\build/../../lib/bfi/bfi-cbmrdbms.jar'
     [java]
     [java] The ' characters around the executable and arguments are
     [java] not part of the command.


     [java] The system is out of resources.
     [java] Consult the following stack trace for details.

     [java] java.lang.OutOfMemoryError
     [java]     <<no stack trace available>>
     [java] Exec failed .. exiting

BUILD FAILED
file:C:/_cbm/cbmrdbms/build/build.xml:111: Java returned: 1
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:110)
        at org.apache.tools.ant.Task.perform(Task.java:319)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
        at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
        at org.apache.tools.ant.Task.perform(Task.java:319)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
        at org.apache.tools.ant.Task.perform(Task.java:319)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
        at org.apache.tools.ant.Main.runBuild(Main.java:610)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)

Total time: 3 minutes 37 seconds

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message