[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cactus-dev
Subject:    [jira] Commented: (CACTUS-59) CactifyWar task throws OutOfMemory
From:       "Petar Tahchiev (JIRA)" <cactus-dev () jakarta ! apache ! org>
Date:       2008-08-20 7:26:44
Message-ID: 253893790.1219217204704.JavaMail.jira () brutus
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/CACTUS-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623922#action_12623922 \
] 

Petar Tahchiev commented on CACTUS-59:
--------------------------------------

Also it could be that your WAR/EAR is really big, so Cactus is 
checking if the needed JARs are in the WEB-INF/lib folder. 

This issue might resolve your problem:
http://issues.apache.org/jira/browse/CACTUS-258

It will be included in 1.8.1

> CactifyWar task throws OutOfMemory Error with large WAR files
> -------------------------------------------------------------
> 
> Key: CACTUS-59
> URL: https://issues.apache.org/jira/browse/CACTUS-59
> Project: Cactus
> Issue Type: Bug
> Components: Ant Integration
> Affects Versions: 1.5-beta1
> Environment: Operating System: Linux
> Platform: PC
> Reporter: brianj
> 
> When using the CactifyWar task within Ant (v. 1.6), the build will fail with an
> OutOfMemory error.  Stack trace follows:
> [cactifywar] Analyzing war: \
> /usr/local/tdk-2.2/webapps/janus/WEB-INF/build/janus.war 
> BUILD FAILED
> java.lang.OutOfMemoryError
> at org.apache.tools.ant.Project.executeTarget(Project.java:1246)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1094)
> at org.apache.tools.ant.Main.runBuild(Main.java:668)
> at org.apache.tools.ant.Main.startAnt(Main.java:220)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:213)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
> Caused by: java.lang.OutOfMemoryError
> --- Nested Exception ---
> java.lang.OutOfMemoryError
> 
> Total time: 4 seconds
> ----- End stack trace
> - WAR file size: 44M
> Build fails when Cactified WAR file reaches 9M.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic