 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Rob Guest
|
Posted: Sun Nov 06, 2005 9:42 pm Post subject: Heap error with APPC |
|
|
Hi,
I'm getting the followint APPC error using WL9.0:
"EJBModuleNetDataSyncServer.jar": The system is out of resources.
"EJBModuleNetDataSyncServer.jar": Consult the following stack trace for
details.
"EJBModuleNetDataSyncServer.jar": java.lang.OutOfMemoryError: Java heap
space
"EJBModuleNetDataSyncServer.jar": Exec failed .. exiting
"EJBModuleNetDataSyncServer.jar": WebLogic APPC tool invocation errors.
Does anyone know what the flag change would be to correct this?
Thanks in advance.
.... Rob
|
|
| Back to top |
|
 |
Rob Guest
|
Posted: Mon Nov 07, 2005 12:28 am Post subject: Re: Heap error with APPC |
|
|
Solved.
Incase others have this problem, I used:
-J-Xmx100m
.... Rob
|
|
| Back to top |
|
 |
Joe Enfield Guest
|
Posted: Mon Nov 07, 2005 3:29 pm Post subject: Re: Heap error with APPC |
|
|
This was a timely answer for me.
However, I cannot see how to set vmparams in the wldeploy ant task. any
ideas?
Joe E.
"Rob" <junk_acc (AT) concepts (DOT) to> wrote
| Quote: | Solved.
Incase others have this problem, I used:
-J-Xmx100m
... Rob
|
|
|
| Back to top |
|
 |
Lori M Olson [TeamB] Guest
|
Posted: Tue Nov 08, 2005 4: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 5: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
|
|
| 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
|
|