ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Lybarger" <Mark.Lybar...@CBC-Companies.com>
Subject weblogic deployment 8.1
Date Mon, 16 Feb 2004 15:53:01 GMT
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/applications/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/httpUnit/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.WebLogicHotDeploymentTool.deploy(WebLogicHotDeploymentTool.java:107)
                    at org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy.execute(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
 


Mime
View raw message