 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
server Guest
|
Posted: Tue Nov 08, 2005 9:39 pm Post subject: Heap error with APPC |
|
|
message unavailable |
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
Posted: Tue Nov 08, 2005 9:39 pm Post subject: Re: Heap error with APPC |
|
|
Joe Enfield wrote:
| Quote: | This was a timely answer for me.
However, I cannot see how to set vmparams in the wldeploy ant task. any
ideas?
|
I suspect you need to set the vmparams for Ant itself in this case.
wldeploy doesn't seem to allow any customization in this regard.
--
Regards,
Lori Olson [TeamB]
------------
Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.
Google Advanced Newsgroup Search
http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
http://www.visi.com/~gyles19/fom-serve/cache/1.html |
|
| Back to top |
|
 |
Joe Enfield Guest
|
Posted: Tue Nov 08, 2005 10:24 pm Post subject: Re: Heap error with APPC |
|
|
After struggling with this, I ditched the wldeploy ant task all together.
Instead, I created a macrodef - seems to deploy, undeploy, and [sometimes]
redeploy.
Joe E.
<macrodef name="wls.deploy.tasks">
<attribute name="task.action" default="-deploy"/>
<attribute name="task.name" />
<attribute name="source.root.for.upload"/>
<sequential>
<java classname="weblogic.Deployer"
jvm="${JAVA_HOME}/bin/java.exe"
fork="true"
failonerror="true">
<classpath refid="wls.classpath"/>
<jvmarg value="-Xmx100m"/>
<arg value="-user"/>
<arg value="${wls.user.name}"/>
<arg value="-adminurl"/>
<arg value="${wls.admin.url}"/>
<arg value="-password"/>
<arg value="${wls.user.password}"/>
<arg value="@{task.action}"/>
<arg value="-name"/>
<arg value="@{task.name}"/>
<arg value="-sourcerootforupload"/>
<arg value="@{source.root.for.upload}"/>
<arg value="-targets"/>
<arg value="${wls.server.name}"/>
<arg value="-nostage"/>
<arg value="-verbose"/>
</java>
</sequential>
</macrodef>
"Lori M Olson [TeamB]" <javadragon (AT) techie (DOT) com> wrote in message
news:4370d490$1 (AT) newsgroups (DOT) borland.com...
|
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|