ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Blanc <Sebastien.Bl...@alcatel.com>
Subject Re: weblogic deployment 8.1
Date Mon, 16 Feb 2004 16:13:07 GMT
Hello,
I'd be you I'd try to first launch it offline (DOS or terminal window); maybe it isn't ANT
the pb but your app srv JVM that causes outOfMem.
I'd advice you to tune your application startup offline, then wrap thru ANT using the
<jvmarg value="-XmsXXm"/>
<jvmarg value="-XmxYYm"/>
in your java task startup.
seb.

Mark Lybarger wrote:

> no dice. i switched debug off and still get the OutOfMemoryError thrown when deploying
my web app. deploying the beans works fine (even with debug turned on).
>
> > -----Original Message-----
> > From: kriss [mailto:madrockriss@hotmail.com]
> > Sent: Monday, February 16, 2004 10:56 AM
> > To: Ant Users List
> > Subject: Re: weblogic deployment 8.1
> >
> >
> > Hi,
> >
> > I had the same error with older version of Weblogic, I solved
> > my problem by desactivating the debug mode :)
> >
> > Kriss
> >   ----- Original Message -----
> >   From: Mark Lybarger
> >   To: Ant Users List (E-mail)
> >   Sent: Monday, February 16, 2004 4:53 PM
> >   Subject: weblogic deployment 8.1
> >
> >
> >   hi,
> >
> >   i'm using wls 8.1. and am trying to deploy (and later
> > update) a web module to the web server.  i'm using the
> > serverdeploy/weblogic task to deploy my application.  it
> > seems that weblogic has a newer deployer (weblogic.Deployer?)
> > than this task uses.  does anyone have suggestions for
> > deploying to weblogic 8.1 (with ant)?  we're using production
> > mode, and have multiple servers setup, an admin, a web and an
> > app server.  thus when i copy my beans to the deploy folder
> > (applications folder) they're not automatically redeployed.
> > even if i shutdown/start the servers the beans aren't
> > redeployed.  strange.  i figure i would like to manually
> > (through and ant script) force deployment of the applications/ejbs.
> >
> >   Thanks!
> >   ~mark
> >
> >
> >   i get an outofmemory error thought i have ANT_OPTS set to
> > -Xmx256m, no help.
> >
> >
> >        [java] Executing
> > '/usr/local/bea/weblogic81/jdk141_05/jre/bin/java' with arguments:
> >        [java] '-classpath'
> >        [java]
> > '/usr/local/bea/weblogic81/weblogic81/server/lib/weblogic.jar'
> >        [java] 'weblogic.deploy'
> >        [java] '-component'
> >        [java] 'isac:isacWebServerDev'
> >        [java] '-url'
> >        [java] 'localhost:5000'
> >        [java] '-debug'
> >        [java] '-username'
> >        [java] 'username'
> >        [java] 'deploy'
> >        [java] 'password'
> >        [java] 'isac'
> >        [java]
> > '/usr/local/bea/weblogic81/user_projects/domains/app-dev/appli
> > cations/isac'
> >        [java]
> >        [java] The ' characters around the executable and arguments are
> >        [java] not part of the command.
> >        [java] Exception in thread "main" java.lang.OutOfMemoryError
> >
> >
> >
> >   BUILD FAILED
> >
> > /export/home/wlsdev/autobuilds/projects/ISAC/build/isac/httpUn
> > it/build.deploy.xml:134: Java returned: 1
> >                       at
> > org.apache.tools.ant.taskdefs.Java.execute(Java.java:118)
> >                       at
> > org.apache.tools.ant.taskdefs.optional.j2ee.WebLogicHotDeploym
> > entTool.deploy(WebLogicHotDeploymentTool.java:107)
> >                       at
> > org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy.execu
> > te(ServerDeploy.java:145)
> >                       at
> > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306)
> >                       at
> > org.apache.tools.ant.Task.perform(Task.java:401)
> >                       at
> > org.apache.tools.ant.Target.execute(Target.java:338)
> >                       at
> > org.apache.tools.ant.Target.performTasks(Target.java:365)
> >                       at
> > org.apache.tools.ant.Project.executeTarget(Project.java:1237)
> >                       at
> > org.apache.tools.ant.Project.executeTargets(Project.java:1094)
> >                       at
> > org.apache.tools.ant.Main.runBuild(Main.java:669)
> >                       at
> > org.apache.tools.ant.Main.startAnt(Main.java:220)
> >                       at
> > org.apache.tools.ant.launch.Launcher.run(Launcher.java:215)
> >                       at
> > org.apache.tools.ant.launch.Launcher.main(Launcher.java:90)
> >
> >   ---
> >   Outgoing mail is certified Virus Free.
> >   Checked by AVG anti-virus system (http://www.grisoft.com).
> >   Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
> >
> >
> >
> >
> >
> > --------------------------------------------------------------
> > ----------------
> >
> >
> >
> > ---------------------------------------------------------------------
> >   To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >   For additional commands, e-mail: user-help@ant.apache.org
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
> >
> >
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.574 / Virus Database: 364 - Release Date: 1/29/2004
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message