You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Stephen Cottham <St...@robertbird.com.au> on 2012/07/23 10:10:48 UTC
Issues with Compiling in VPS Server
Hi All,
I have been having issues with compiling OM 2.0 on a Debian Server, I can compile it on my server and upload it and the OM instance works but the compile process fails with the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
I have checked the JAVA version, assigned more virtual memory to both ANT and JAVA, completely removed the OM and run ANT clean but the problem still persists:
I run the debug option on the ANT build and get the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
I’ve confirmed all pre-reqs are installed so not sure what the issue is, it could still be a memory problem but I cannot be sure. (I built a test environment using the same memory limit and the compile works fine)
N.B – This server had OpenJDK installed before which I purged out, could it be remnants of the old java? I’ve set the alternatives and made sure its pointing to the correct location thou.
Has anyone seen this before?
I didn’t build this server from the OS up so there may well be something wrong with the build but wanted to check to see if anyone has seen this and knows a quick fix before I start to plough thru it, this is a default install on a VPS account for a user that I am assisting with currently.
Any pointers would be great.
Best Regards
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
http://www.codetwo.com
RE: Issues with Compiling in VPS Server
Posted by Stephen Cottham <St...@robertbird.com.au>.
Ok looks like it was overcommitting.
Set the ANT_OPTS to the following and it ran thru ok.
export ANT_OPTS="-Xms10m -Xmx100m"
Best Regards
From: Stephen Cottham [mailto:Stephen.Cottham@robertbird.com.au]
Sent: 23 July 2012 10:28
To: openmeetings-user@incubator.apache.org
Subject: RE: Issues with Compiling in VPS Server
That was my guess too, the machine has 2 Gig of RAM and I’ve stopped all un-needed services.
What’s a good value for ANT \ JAVA Virtual memory?
Assuming the correct command should be
set ANT_OPTS="-Xms1024m -Xmx1024m"
or
export ANT_OPTS="-Xms1024m -Xmx1024m"
1 gig should be enough to compile this right?
Is there anything else that may run that could kill the java process? I couldn’t see anything in the messages log to indicate something had done that either.
It’s curious.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: 23 July 2012 10:23
To: openmeetings-user@incubator.apache.org
Subject: Re: Issues with Compiling in VPS Server
According to this link ( http://forums.fedoraforum.org/archive/index.php/t-255819.html ) and some other
Exit code 137 means that your process died because of signal 9 (SIGKILL)
Exit code 1->127 are for normal completion of a process.
Ext code > 127 are for process terminated by a signal. The signal number = 128-exit code
In our case 9 (SIGKILL)
something kill your java process
I saw such behavior
Linux kernel start killing most eager processes then its memory is exhausted (just a guess)
On Mon, Jul 23, 2012 at 4:07 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
Attached the build log for the failed compile.
If I change this entry in the build file
<java classname="org.openlaszlo.compiler.Main" fork="true" newenvironment="true" failonerror="false" dir="${flash.src.dir}" classpathref="laszlo.lib">
It completes the build (but obviously not fully), so something around this area is causing it to send a signal 9, I thought it was memory but am not sure.
Thanks for your help.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: 23 July 2012 10:02
To: openmeetings-user@incubator.apache.org
Subject: Re: Issues with Compiling in VPS Server
Please attach full build log, it is not clear from the partial stack trace what is wrong
On Mon, Jul 23, 2012 at 3:10 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi All,
I have been having issues with compiling OM 2.0 on a Debian Server, I can compile it on my server and upload it and the OM instance works but the compile process fails with the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
I have checked the JAVA version, assigned more virtual memory to both ANT and JAVA, completely removed the OM and run ANT clean but the problem still persists:
I run the debug option on the ANT build and get the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
I’ve confirmed all pre-reqs are installed so not sure what the issue is, it could still be a memory problem but I cannot be sure. (I built a test environment using the same memory limit and the compile works fine)
N.B – This server had OpenJDK installed before which I purged out, could it be remnants of the old java? I’ve set the alternatives and made sure its pointing to the correct location thou.
Has anyone seen this before?
I didn’t build this server from the OS up so there may well be something wrong with the build but wanted to check to see if anyone has seen this and knows a quick fix before I start to plough thru it, this is a default install on a VPS account for a user that I am assisting with currently.
Any pointers would be great.
Best Regards
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
http://www.codetwo.com
RE: Issues with Compiling in VPS Server
Posted by Stephen Cottham <St...@robertbird.com.au>.
Thanks Alexei,
Turns out this server had a TomCat service running eating all the RAM and for some reason had no swap partition… so the OOM killer was stalling the compile stage.
Anyways I fixed that all and the server is running good now so don’t think the changes you made affected this build it just a badly installed Debian box by the maintainer…
Best Regards
From: Alexei Fedotov [mailto:alexei.fedotov@gmail.com]
Sent: 23 July 2012 10:40
To: openmeetings-user@incubator.apache.org
Subject: Re: Issues with Compiling in VPS Server
Stephen,
I decreased memory to 512Mb in my last commit - that worked for me. It seems this somehow indirectly affected your build, sorry.
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/build.xml?rev=1361971&r1=1361970&r2=1361971&view=diff <http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/build.xml?rev=1361971&r1=1361970&r2=1361971&view=diff>
- <jvmarg value="-Xms1024M" />
- <jvmarg value="-Xmx1024M" />
+ <jvmarg value="-Xms512M" />
+ <jvmarg value="-Xmx512M" />
--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095
On Mon, Jul 23, 2012 at 4:28 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
That was my guess too, the machine has 2 Gig of RAM and I’ve stopped all un-needed services.
What’s a good value for ANT \ JAVA Virtual memory?
Assuming the correct command should be
set ANT_OPTS="-Xms1024m -Xmx1024m"
or
export ANT_OPTS="-Xms1024m -Xmx1024m"
1 gig should be enough to compile this right?
Is there anything else that may run that could kill the java process? I couldn’t see anything in the messages log to indicate something had done that either.
It’s curious.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: 23 July 2012 10:23
To: openmeetings-user@incubator.apache.org
Subject: Re: Issues with Compiling in VPS Server
According to this link ( http://forums.fedoraforum.org/archive/index.php/t-255819.html ) and some other
Exit code 137 means that your process died because of signal 9 (SIGKILL)
Exit code 1->127 are for normal completion of a process.
Ext code > 127 are for process terminated by a signal. The signal number = 128-exit code
In our case 9 (SIGKILL)
something kill your java process
I saw such behavior
Linux kernel start killing most eager processes then its memory is exhausted (just a guess)
On Mon, Jul 23, 2012 at 4:07 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
Attached the build log for the failed compile.
If I change this entry in the build file
<java classname="org.openlaszlo.compiler.Main" fork="true" newenvironment="true" failonerror="false" dir="${flash.src.dir}" classpathref="laszlo.lib">
It completes the build (but obviously not fully), so something around this area is causing it to send a signal 9, I thought it was memory but am not sure.
Thanks for your help.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: 23 July 2012 10:02
To: openmeetings-user@incubator.apache.org
Subject: Re: Issues with Compiling in VPS Server
Please attach full build log, it is not clear from the partial stack trace what is wrong
On Mon, Jul 23, 2012 at 3:10 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi All,
I have been having issues with compiling OM 2.0 on a Debian Server, I can compile it on my server and upload it and the OM instance works but the compile process fails with the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
I have checked the JAVA version, assigned more virtual memory to both ANT and JAVA, completely removed the OM and run ANT clean but the problem still persists:
I run the debug option on the ANT build and get the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
I’ve confirmed all pre-reqs are installed so not sure what the issue is, it could still be a memory problem but I cannot be sure. (I built a test environment using the same memory limit and the compile works fine)
N.B – This server had OpenJDK installed before which I purged out, could it be remnants of the old java? I’ve set the alternatives and made sure its pointing to the correct location thou.
Has anyone seen this before?
I didn’t build this server from the OS up so there may well be something wrong with the build but wanted to check to see if anyone has seen this and knows a quick fix before I start to plough thru it, this is a default install on a VPS account for a user that I am assisting with currently.
Any pointers would be great.
Best Regards
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
http://www.codetwo.com
Re: Issues with Compiling in VPS Server
Posted by Alexei Fedotov <al...@gmail.com>.
Stephen,
I decreased memory to 512Mb in my last commit - that worked for me. It
seems this somehow indirectly affected your build, sorry.
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/build
.xml?rev=1361971&r1=1361970&r2=1361971&view=diff
- <jvmarg value="-Xms1024M" />
- <jvmarg value="-Xmx1024M" />
+ <jvmarg value="-Xms512M" />
+ <jvmarg value="-Xmx512M" />
--
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://dataved.ru/
+7 916 562 8095
On Mon, Jul 23, 2012 at 4:28 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
> That was my guess too, the machine has 2 Gig of RAM and I’ve stopped all
> un-needed services.****
>
> ** **
>
> What’s a good value for ANT \ JAVA Virtual memory?****
>
> ** **
>
> Assuming the correct command should be****
>
> ** **
>
> set ANT_OPTS="-Xms1024m -Xmx1024m"****
>
> ** **
>
> or****
>
> ** **
>
> export ANT_OPTS="-Xms1024m -Xmx1024m"****
>
> ** **
>
> 1 gig should be enough to compile this right?****
>
> ** **
>
> Is there anything else that may run that could kill the java process? I
> couldn’t see anything in the messages log to indicate something had done
> that either.****
>
> ** **
>
> It’s curious.****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* 23 July 2012 10:23
>
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: Issues with Compiling in VPS Server****
>
> ** **
>
> According to this link (
> http://forums.fedoraforum.org/archive/index.php/t-255819.html ) and some
> other ****
>
> ** **
>
> Exit code 137 means that your process died because of signal 9 (SIGKILL)
> Exit code 1->127 are for normal completion of a process.
> Ext code > 127 are for process terminated by a signal. The signal number =
> 128-exit code
> In our case 9 (SIGKILL) ****
>
> ** **
>
> something kill your java process****
>
> I saw such behavior****
>
> Linux kernel start killing most eager processes then its memory
> is exhausted (just a guess)****
>
> On Mon, Jul 23, 2012 at 4:07 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hey Maxim,****
>
> ****
>
> Attached the build log for the failed compile.****
>
> ****
>
> If I change this entry in the build file****
>
> ****
>
> <java classname="org.openlaszlo.compiler.Main" fork="true"
> newenvironment="true" failonerror="*false*" dir="${flash.src.dir}"
> classpathref="laszlo.lib">****
>
> ****
>
> It completes the build (but obviously not fully), so something around this
> area is causing it to send a signal 9, I thought it was memory but am not
> sure.****
>
> ****
>
> Thanks for your help.****
>
> ****
>
> Best Regards****
>
> ****
>
> ****
>
> ****
>
> ****
>
> ****
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* 23 July 2012 10:02
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: Issues with Compiling in VPS Server****
>
> ****
>
> Please attach full build log, it is not clear from the partial stack trace
> what is wrong****
>
> On Mon, Jul 23, 2012 at 3:10 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hi All,****
>
> ****
>
> I have been having issues with compiling OM 2.0 on a Debian Server, I can
> compile it on my server and upload it and the OM instance works but the
> compile process fails with the following:****
>
> ****
>
> *BUILD FAILED*****
>
> */usr/local/svn/2.0/build.xml:441: The following error occurred while
> executing this line:*****
>
> */usr/local/svn/2.0/build.xml:408: Java returned: 137*****
>
> ****
>
> I have checked the JAVA version, assigned more virtual memory to both ANT
> and JAVA, completely removed the OM and run ANT clean but the problem still
> persists:****
>
> ****
>
> I run the debug option on the ANT build and get the following:****
>
> ****
>
> *BUILD FAILED*****
>
> */usr/local/svn/2.0/build.xml:441: The following error occurred while
> executing this line:*****
>
> */usr/local/svn/2.0/build.xml:408: Java returned: 137*****
>
> *at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)*****
>
> *at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)**
> ***
>
> *at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)*****
>
> *at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> *****
>
> *at java.lang.reflect.Method.invoke(Method.java:597)*****
>
> *at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> *****
>
> *at org.apache.tools.ant.Task.perform(Task.java:348)*****
>
> *at org.apache.tools.ant.Target.execute(Target.java:392)*****
>
> *at org.apache.tools.ant.Target.performTasks(Target.java:413)*****
>
> *at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)**
> ***
>
> *at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
> *****
>
> *at org.apache.tools.ant.Project.executeTargets(Project.java:1251)*****
>
> *at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)*****
>
> *at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)*
> ****
>
> *at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)**
> ***
>
> *at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)*****
>
> *at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> *****
>
> *at java.lang.reflect.Method.invoke(Method.java:597)*****
>
> *at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> *****
>
> *at org.apache.tools.ant.Task.perform(Task.java:348)*****
>
> *at org.apache.tools.ant.Target.execute(Target.java:392)*****
>
> *at org.apache.tools.ant.Target.performTasks(Target.java:413)*****
>
> *at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)**
> ***
>
> *at org.apache.tools.ant.Project.executeTarget(Project.java:1368)*****
>
> *at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> *****
>
> *at org.apache.tools.ant.Project.executeTargets(Project.java:1251)*****
>
> *at org.apache.tools.ant.Main.runBuild(Main.java:811)*****
>
> *at org.apache.tools.ant.Main.startAnt(Main.java:217)*****
>
> *at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)*****
>
> *at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)*****
>
> ****
>
> I’ve confirmed all pre-reqs are installed so not sure what the issue is,
> it could still be a memory problem but I cannot be sure. (I built a test
> environment using the same memory limit and the compile works fine)****
>
> ****
>
> N.B – This server had OpenJDK installed before which I purged out, could
> it be remnants of the old java? I’ve set the alternatives and made sure its
> pointing to the correct location thou.****
>
> ****
>
> Has anyone seen this before?****
>
> ****
>
> I didn’t build this server from the OS up so there may well be something
> wrong with the build but wanted to check to see if anyone has seen this and
> knows a quick fix before I start to plough thru it, this is a default
> install on a VPS account for a user that I am assisting with currently.***
> *
>
> ****
>
> Any pointers would be great.****
>
> ****
>
> Best Regards****
>
> ****
>
> ****
>
> ****
>
> *Stephen Cottham
> *Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia****
>
> *Phone: +6173 319 2777 (AUS)*****
>
> *Phone: +44207 592 8000 (UK)*****
>
> *Fax: +6173 319 2799*****
>
> ****
>
> *Mobile: +61400 756 963 (AUS)*****
>
> *Mobile: +447900 918 616 (UK)*****
>
> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>
> <http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses. ****
>
> ****
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com****
>
> ****
>
>
>
> ****
>
> ****
>
> --
> WBR
> Maxim aka solomax****
>
>
>
> ****
>
> ** **
>
> --
> WBR
> Maxim aka solomax****
>
RE: Issues with Compiling in VPS Server
Posted by Stephen Cottham <St...@robertbird.com.au>.
That was my guess too, the machine has 2 Gig of RAM and I’ve stopped all un-needed services.
What’s a good value for ANT \ JAVA Virtual memory?
Assuming the correct command should be
set ANT_OPTS="-Xms1024m -Xmx1024m"
or
export ANT_OPTS="-Xms1024m -Xmx1024m"
1 gig should be enough to compile this right?
Is there anything else that may run that could kill the java process? I couldn’t see anything in the messages log to indicate something had done that either.
It’s curious.
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: 23 July 2012 10:23
To: openmeetings-user@incubator.apache.org
Subject: Re: Issues with Compiling in VPS Server
According to this link ( http://forums.fedoraforum.org/archive/index.php/t-255819.html ) and some other
Exit code 137 means that your process died because of signal 9 (SIGKILL)
Exit code 1->127 are for normal completion of a process.
Ext code > 127 are for process terminated by a signal. The signal number = 128-exit code
In our case 9 (SIGKILL)
something kill your java process
I saw such behavior
Linux kernel start killing most eager processes then its memory is exhausted (just a guess)
On Mon, Jul 23, 2012 at 4:07 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hey Maxim,
Attached the build log for the failed compile.
If I change this entry in the build file
<java classname="org.openlaszlo.compiler.Main" fork="true" newenvironment="true" failonerror="false" dir="${flash.src.dir}" classpathref="laszlo.lib">
It completes the build (but obviously not fully), so something around this area is causing it to send a signal 9, I thought it was memory but am not sure.
Thanks for your help.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: 23 July 2012 10:02
To: openmeetings-user@incubator.apache.org
Subject: Re: Issues with Compiling in VPS Server
Please attach full build log, it is not clear from the partial stack trace what is wrong
On Mon, Jul 23, 2012 at 3:10 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi All,
I have been having issues with compiling OM 2.0 on a Debian Server, I can compile it on my server and upload it and the OM instance works but the compile process fails with the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
I have checked the JAVA version, assigned more virtual memory to both ANT and JAVA, completely removed the OM and run ANT clean but the problem still persists:
I run the debug option on the ANT build and get the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
I’ve confirmed all pre-reqs are installed so not sure what the issue is, it could still be a memory problem but I cannot be sure. (I built a test environment using the same memory limit and the compile works fine)
N.B – This server had OpenJDK installed before which I purged out, could it be remnants of the old java? I’ve set the alternatives and made sure its pointing to the correct location thou.
Has anyone seen this before?
I didn’t build this server from the OS up so there may well be something wrong with the build but wanted to check to see if anyone has seen this and knows a quick fix before I start to plough thru it, this is a default install on a VPS account for a user that I am assisting with currently.
Any pointers would be great.
Best Regards
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
http://www.codetwo.com
Re: Issues with Compiling in VPS Server
Posted by Maxim Solodovnik <so...@gmail.com>.
According to this link (
http://forums.fedoraforum.org/archive/index.php/t-255819.html ) and some
other
Exit code 137 means that your process died because of signal 9 (SIGKILL)
Exit code 1->127 are for normal completion of a process.
Ext code > 127 are for process terminated by a signal. The signal number =
128-exit code
In our case 9 (SIGKILL)
something kill your java process
I saw such behavior
Linux kernel start killing most eager processes then its memory
is exhausted (just a guess)
On Mon, Jul 23, 2012 at 4:07 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
> Hey Maxim,****
>
> ** **
>
> Attached the build log for the failed compile.****
>
> ** **
>
> If I change this entry in the build file****
>
> ** **
>
> <java classname="org.openlaszlo.compiler.Main" fork="true"
> newenvironment="true" failonerror="*false*" dir="${flash.src.dir}"
> classpathref="laszlo.lib">****
>
> ** **
>
> It completes the build (but obviously not fully), so something around this
> area is causing it to send a signal 9, I thought it was memory but am not
> sure.****
>
> ** **
>
> Thanks for your help.****
>
> ** **
>
> Best Regards****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* 23 July 2012 10:02
> *To:* openmeetings-user@incubator.apache.org
> *Subject:* Re: Issues with Compiling in VPS Server****
>
> ** **
>
> Please attach full build log, it is not clear from the partial stack trace
> what is wrong****
>
> On Mon, Jul 23, 2012 at 3:10 PM, Stephen Cottham <
> Stephen.Cottham@robertbird.com.au> wrote:****
>
> Hi All,****
>
> ****
>
> I have been having issues with compiling OM 2.0 on a Debian Server, I can
> compile it on my server and upload it and the OM instance works but the
> compile process fails with the following:****
>
> ****
>
> *BUILD FAILED*****
>
> */usr/local/svn/2.0/build.xml:441: The following error occurred while
> executing this line:*****
>
> */usr/local/svn/2.0/build.xml:408: Java returned: 137*****
>
> ****
>
> I have checked the JAVA version, assigned more virtual memory to both ANT
> and JAVA, completely removed the OM and run ANT clean but the problem still
> persists:****
>
> ****
>
> I run the debug option on the ANT build and get the following:****
>
> ****
>
> *BUILD FAILED*****
>
> */usr/local/svn/2.0/build.xml:441: The following error occurred while
> executing this line:*****
>
> */usr/local/svn/2.0/build.xml:408: Java returned: 137*****
>
> *at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)*****
>
> *at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)**
> ***
>
> *at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)*****
>
> *at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> *****
>
> *at java.lang.reflect.Method.invoke(Method.java:597)*****
>
> *at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> *****
>
> *at org.apache.tools.ant.Task.perform(Task.java:348)*****
>
> *at org.apache.tools.ant.Target.execute(Target.java:392)*****
>
> *at org.apache.tools.ant.Target.performTasks(Target.java:413)*****
>
> *at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)**
> ***
>
> *at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
> *****
>
> *at org.apache.tools.ant.Project.executeTargets(Project.java:1251)*****
>
> *at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)*****
>
> *at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)*
> ****
>
> *at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)**
> ***
>
> *at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)*****
>
> *at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> *****
>
> *at java.lang.reflect.Method.invoke(Method.java:597)*****
>
> *at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> *****
>
> *at org.apache.tools.ant.Task.perform(Task.java:348)*****
>
> *at org.apache.tools.ant.Target.execute(Target.java:392)*****
>
> *at org.apache.tools.ant.Target.performTasks(Target.java:413)*****
>
> *at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)**
> ***
>
> *at org.apache.tools.ant.Project.executeTarget(Project.java:1368)*****
>
> *at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> *****
>
> *at org.apache.tools.ant.Project.executeTargets(Project.java:1251)*****
>
> *at org.apache.tools.ant.Main.runBuild(Main.java:811)*****
>
> *at org.apache.tools.ant.Main.startAnt(Main.java:217)*****
>
> *at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)*****
>
> *at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)*****
>
> ****
>
> I’ve confirmed all pre-reqs are installed so not sure what the issue is,
> it could still be a memory problem but I cannot be sure. (I built a test
> environment using the same memory limit and the compile works fine)****
>
> ****
>
> N.B – This server had OpenJDK installed before which I purged out, could
> it be remnants of the old java? I’ve set the alternatives and made sure its
> pointing to the correct location thou.****
>
> ****
>
> Has anyone seen this before?****
>
> ****
>
> I didn’t build this server from the OS up so there may well be something
> wrong with the build but wanted to check to see if anyone has seen this and
> knows a quick fix before I start to plough thru it, this is a default
> install on a VPS account for a user that I am assisting with currently.***
> *
>
> ****
>
> Any pointers would be great.****
>
> ****
>
> Best Regards****
>
> ****
>
> ****
>
> ****
>
> *Stephen Cottham
> *Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia****
>
> *Phone: +6173 319 2777 (AUS)*****
>
> *Phone: +44207 592 8000 (UK)*****
>
> *Fax: +6173 319 2799*****
>
> ****
>
> *Mobile: +61400 756 963 (AUS)*****
>
> *Mobile: +447900 918 616 (UK)*****
>
> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>
> <http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses. ****
>
> ****
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com****
>
> ** **
>
>
>
> ****
>
> ** **
>
> --
> WBR
> Maxim aka solomax****
>
--
WBR
Maxim aka solomax
RE: Issues with Compiling in VPS Server
Posted by Stephen Cottham <St...@robertbird.com.au>.
Hey Maxim,
Attached the build log for the failed compile.
If I change this entry in the build file
<java classname="org.openlaszlo.compiler.Main" fork="true" newenvironment="true" failonerror="false" dir="${flash.src.dir}" classpathref="laszlo.lib">
It completes the build (but obviously not fully), so something around this area is causing it to send a signal 9, I thought it was memory but am not sure.
Thanks for your help.
Best Regards
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: 23 July 2012 10:02
To: openmeetings-user@incubator.apache.org
Subject: Re: Issues with Compiling in VPS Server
Please attach full build log, it is not clear from the partial stack trace what is wrong
On Mon, Jul 23, 2012 at 3:10 PM, Stephen Cottham <St...@robertbird.com.au> wrote:
Hi All,
I have been having issues with compiling OM 2.0 on a Debian Server, I can compile it on my server and upload it and the OM instance works but the compile process fails with the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
I have checked the JAVA version, assigned more virtual memory to both ANT and JAVA, completely removed the OM and run ANT clean but the problem still persists:
I run the debug option on the ANT build and get the following:
BUILD FAILED
/usr/local/svn/2.0/build.xml:441: The following error occurred while executing this line:
/usr/local/svn/2.0/build.xml:408: Java returned: 137
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
I’ve confirmed all pre-reqs are installed so not sure what the issue is, it could still be a memory problem but I cannot be sure. (I built a test environment using the same memory limit and the compile works fine)
N.B – This server had OpenJDK installed before which I purged out, could it be remnants of the old java? I’ve set the alternatives and made sure its pointing to the correct location thou.
Has anyone seen this before?
I didn’t build this server from the OS up so there may well be something wrong with the build but wanted to check to see if anyone has seen this and knows a quick fix before I start to plough thru it, this is a default install on a VPS account for a user that I am assisting with currently.
Any pointers would be great.
Best Regards
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com <http://www.robertbird.com/>
<http://www.robertbird.com.au/>
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
www.codetwo.com
--
WBR
Maxim aka solomax
Stephen Cottham
Group IT Manager (Associate)
Robert Bird Group
Level 5, 333 Ann St
Brisbane, Queensland, 4000, Australia
Phone: +6173 319 2777 (AUS)
Phone: +44207 592 8000 (UK)
Fax: +6173 319 2799
Mobile: +61400 756 963 (AUS)
Mobile: +447900 918 616 (UK)
Web: www.robertbird.com
This email and any attachments are confidential and may contain legally privileged information or copyright material. Unless expressly stated, confidentiality and/or legal privilege is not intended to be waived by the sending of this email. The contents of this email, including any attachments, are intended solely for the use of the individual or entity to whom they are addressed. If you are not an intended recipient, please contact us immediately by return email and then delete both messages. You may not otherwise read, forward, copy, use or disclose this email or any attachments. Any views expressed in this email are those of the individual sender except where the sender expressly, and with authority, states otherwise. It is your responsibility to check any attachments for viruses or defects before opening or sending them on. None of the sender or its related entities accepts any liability for any consequential damage resulting from this email containing computer viruses.
Disclaimer added by CodeTwo Exchange Rules
http://www.codetwo.com
Re: Issues with Compiling in VPS Server
Posted by Maxim Solodovnik <so...@gmail.com>.
Please attach full build log, it is not clear from the partial stack trace
what is wrong
On Mon, Jul 23, 2012 at 3:10 PM, Stephen Cottham <
Stephen.Cottham@robertbird.com.au> wrote:
> Hi All,****
>
> ** **
>
> I have been having issues with compiling OM 2.0 on a Debian Server, I can
> compile it on my server and upload it and the OM instance works but the
> compile process fails with the following:****
>
> ** **
>
> *BUILD FAILED*
>
> */usr/local/svn/2.0/build.xml:441: The following error occurred while
> executing this line:*
>
> */usr/local/svn/2.0/build.xml:408: Java returned: 137*
>
> ** **
>
> I have checked the JAVA version, assigned more virtual memory to both ANT
> and JAVA, completely removed the OM and run ANT clean but the problem still
> persists:****
>
> ** **
>
> I run the debug option on the ANT build and get the following:****
>
> ** **
>
> *BUILD FAILED*
>
> */usr/local/svn/2.0/build.xml:441: The following error occurred while
> executing this line:*
>
> */usr/local/svn/2.0/build.xml:408: Java returned: 137*
>
> * at org.apache.tools.ant.taskdefs.Java.execute(Java.java:111)*
>
> * at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)*
>
> * at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)*
>
> * at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> *
>
> * at java.lang.reflect.Method.invoke(Method.java:597)*
>
> * at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> *
>
> * at org.apache.tools.ant.Task.perform(Task.java:348)*
>
> * at org.apache.tools.ant.Target.execute(Target.java:392)*
>
> * at org.apache.tools.ant.Target.performTasks(Target.java:413)*
>
> * at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)*
>
> * at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
> *
>
> * at org.apache.tools.ant.Project.executeTargets(Project.java:1251)*
>
> * at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)*
>
> * at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
> *
>
> * at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)*
>
> * at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)*
>
> * at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> *
>
> * at java.lang.reflect.Method.invoke(Method.java:597)*
>
> * at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> *
>
> * at org.apache.tools.ant.Task.perform(Task.java:348)*
>
> * at org.apache.tools.ant.Target.execute(Target.java:392)*
>
> * at org.apache.tools.ant.Target.performTasks(Target.java:413)*
>
> * at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)*
>
> * at org.apache.tools.ant.Project.executeTarget(Project.java:1368)*
>
> * at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
> *
>
> * at org.apache.tools.ant.Project.executeTargets(Project.java:1251)*
>
> * at org.apache.tools.ant.Main.runBuild(Main.java:811)*
>
> * at org.apache.tools.ant.Main.startAnt(Main.java:217)*
>
> * at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)*
>
> * at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)*
>
> ** **
>
> I’ve confirmed all pre-reqs are installed so not sure what the issue is,
> it could still be a memory problem but I cannot be sure. (I built a test
> environment using the same memory limit and the compile works fine)****
>
> ** **
>
> N.B – This server had OpenJDK installed before which I purged out, could
> it be remnants of the old java? I’ve set the alternatives and made sure its
> pointing to the correct location thou.****
>
> ** **
>
> Has anyone seen this before?****
>
> ** **
>
> I didn’t build this server from the OS up so there may well be something
> wrong with the build but wanted to check to see if anyone has seen this and
> knows a quick fix before I start to plough thru it, this is a default
> install on a VPS account for a user that I am assisting with currently.***
> *
>
> ** **
>
> Any pointers would be great.****
>
> ** **
>
> Best Regards****
>
> ** **
>
> ** **
>
> ** **
>
> *Stephen Cottham**
> *Group IT Manager (Associate)
>
> Robert Bird Group
> Level 5, 333 Ann St
> Brisbane, Queensland, 4000, Australia****
>
> *Phone: +6173 319 2777 (AUS)*
>
> *Phone: +44207 592 8000 (UK)*****
>
> *Fax: +6173 319 2799*
>
> ******
>
> *Mobile: +61400 756 963 (AUS)*
>
> *Mobile: +447900 918 616 (UK)*
>
> *Web: **www.robertbird.com* <http://www.robertbird.com/>****
>
> ********************************************************************<http://www.robertbird.com.au/><http://www.robertbird.com.au/>
>
> This email and any attachments are confidential and may contain legally
> privileged information or copyright material. Unless expressly stated,
> confidentiality and/or legal privilege is not intended to be waived by the
> sending of this email. The contents of this email, including any
> attachments, are intended solely for the use of the individual or entity to
> whom they are addressed. If you are not an intended recipient, please
> contact us immediately by return email and then delete both messages. You
> may not otherwise read, forward, copy, use or disclose this email or any
> attachments. Any views expressed in this email are those of the individual
> sender except where the sender expressly, and with authority, states
> otherwise. It is your responsibility to check any attachments for viruses
> or defects before opening or sending them on. None of the sender or its
> related entities accepts any liability for any consequential damage
> resulting from this email containing computer viruses.
>
>
> Disclaimer added by *CodeTwo Exchange Rules*
> www.codetwo.com
>
>
--
WBR
Maxim aka solomax