talk@lists.collectionspace.org

WE HAVE SUNSET THIS LISTSERV - Join us at collectionspace@lyrasislists.org

View all threads

Installation troubleshooting help?

RH
Roger Howard
Mon, Apr 1, 2013 4:36 PM

Hi,

I'm trying to complete a 3.2 installation on a CentOS VM and after
resolving a number of minor hurdles (mostly involving network security and
our proxy servers) I'm now stuck and wondering if anyone can offer a hand
by peaking at a console log. I'm a longtime Linux user, competent
developer, but Java (and Maven) aren't my thing.

The gist is a Maven compilation error with services.authorization.jaxb; a
partial log showing the beginning of the failure report (I used -X in the
Maven command to provide a debug log I can send to anyone who can help):

--

[INFO] Compiling 4 source files to
/tmp/collectionspace-services/services/authority/jaxb/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space

--

I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both
ANT_OPTS and MAVEN_OPTS to no avail.

Thanks for any help pushing me in the right direction,

Roger Howard

Hi, I'm trying to complete a 3.2 installation on a CentOS VM and after resolving a number of minor hurdles (mostly involving network security and our proxy servers) I'm now stuck and wondering if anyone can offer a hand by peaking at a console log. I'm a longtime Linux user, competent developer, but Java (and Maven) aren't my thing. The gist is a Maven compilation error with services.authorization.jaxb; a partial log showing the beginning of the failure report (I used -X in the Maven command to provide a debug log I can send to anyone who can help): -- [INFO] Compiling 4 source files to /tmp/collectionspace-services/services/authority/jaxb/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Failure executing javac, but could not parse the error: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: PermGen space -- I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both ANT_OPTS and MAVEN_OPTS to no avail. Thanks for any help pushing me in the right direction, Roger Howard
JM
Jesse Martinez
Mon, Apr 1, 2013 4:54 PM

Hi Roger,

Some additional info would be helpful in figuring out what's triggering the
error on compilation. Are you using CollectionSpace version 3.2 or 3.2.1?
The latter has slightly different requirements. Also, what version of Maven
is on the VM? And lastly, how much memory is allocated to the VM? Too
little system memory may cause compilation errors like this.

  • Jesse

On Mon, Apr 1, 2013 at 12:36 PM, Roger Howard rogerhoward@gmail.com wrote:

Hi,

I'm trying to complete a 3.2 installation on a CentOS VM and after
resolving a number of minor hurdles (mostly involving network security and
our proxy servers) I'm now stuck and wondering if anyone can offer a hand
by peaking at a console log. I'm a longtime Linux user, competent
developer, but Java (and Maven) aren't my thing.

The gist is a Maven compilation error with services.authorization.jaxb; a
partial log showing the beginning of the failure report (I used -X in the
Maven command to provide a debug log I can send to anyone who can help):

--

[INFO] Compiling 4 source files to
/tmp/collectionspace-services/services/authority/jaxb/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space

--

I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both
ANT_OPTS and MAVEN_OPTS to no avail.

Thanks for any help pushing me in the right direction,

Roger Howard


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Roger, Some additional info would be helpful in figuring out what's triggering the error on compilation. Are you using CollectionSpace version 3.2 or 3.2.1? The latter has slightly different requirements. Also, what version of Maven is on the VM? And lastly, how much memory is allocated to the VM? Too little system memory may cause compilation errors like this. - Jesse On Mon, Apr 1, 2013 at 12:36 PM, Roger Howard <rogerhoward@gmail.com> wrote: > Hi, > > I'm trying to complete a 3.2 installation on a CentOS VM and after > resolving a number of minor hurdles (mostly involving network security and > our proxy servers) I'm now stuck and wondering if anyone can offer a hand > by peaking at a console log. I'm a longtime Linux user, competent > developer, but Java (and Maven) aren't my thing. > > The gist is a Maven compilation error with services.authorization.jaxb; a > partial log showing the beginning of the failure report (I used -X in the > Maven command to provide a debug log I can send to anyone who can help): > > -- > > [INFO] Compiling 4 source files to > /tmp/collectionspace-services/services/authority/jaxb/target/classes > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] Failure executing javac, but could not parse the error: > > > The system is out of resources. > Consult the following stack trace for details. > java.lang.OutOfMemoryError: PermGen space > > -- > > I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both > ANT_OPTS and MAVEN_OPTS to no avail. > > Thanks for any help pushing me in the right direction, > > Roger Howard > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >
RH
Roger Howard
Mon, Apr 1, 2013 5:13 PM

Hi Jesse,

I'm fairly certain it's CS 3.2.1; I just downloaded the packages on Weds
so I'm pretty sure I would have picked up the latest... of course now I'm
doubting myself; I see the services-3.2.1.tar.gz for sure.

Maven 3.0.5

2GB memory; 4GB swap.

On Mon, Apr 1, 2013 at 9:54 AM, Jesse Martinez mjesse@gmail.com wrote:

Hi Roger,

Some additional info would be helpful in figuring out what's triggering
the error on compilation. Are you using CollectionSpace version 3.2 or
3.2.1? The latter has slightly different requirements. Also, what version
of Maven is on the VM? And lastly, how much memory is allocated to the VM?
Too little system memory may cause compilation errors like this.

  • Jesse

On Mon, Apr 1, 2013 at 12:36 PM, Roger Howard rogerhoward@gmail.comwrote:

Hi,

I'm trying to complete a 3.2 installation on a CentOS VM and after
resolving a number of minor hurdles (mostly involving network security and
our proxy servers) I'm now stuck and wondering if anyone can offer a hand
by peaking at a console log. I'm a longtime Linux user, competent
developer, but Java (and Maven) aren't my thing.

The gist is a Maven compilation error with services.authorization.jaxb; a
partial log showing the beginning of the failure report (I used -X in the
Maven command to provide a debug log I can send to anyone who can help):

--

[INFO] Compiling 4 source files to
/tmp/collectionspace-services/services/authority/jaxb/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space

--

I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both
ANT_OPTS and MAVEN_OPTS to no avail.

Thanks for any help pushing me in the right direction,

Roger Howard


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Jesse, I'm *fairly* certain it's CS 3.2.1; I just downloaded the packages on Weds so I'm pretty sure I would have picked up the latest... of course now I'm doubting myself; I see the services-3.2.1.tar.gz for sure. Maven 3.0.5 2GB memory; 4GB swap. On Mon, Apr 1, 2013 at 9:54 AM, Jesse Martinez <mjesse@gmail.com> wrote: > Hi Roger, > > Some additional info would be helpful in figuring out what's triggering > the error on compilation. Are you using CollectionSpace version 3.2 or > 3.2.1? The latter has slightly different requirements. Also, what version > of Maven is on the VM? And lastly, how much memory is allocated to the VM? > Too little system memory may cause compilation errors like this. > > - Jesse > > > On Mon, Apr 1, 2013 at 12:36 PM, Roger Howard <rogerhoward@gmail.com>wrote: > >> Hi, >> >> I'm trying to complete a 3.2 installation on a CentOS VM and after >> resolving a number of minor hurdles (mostly involving network security and >> our proxy servers) I'm now stuck and wondering if anyone can offer a hand >> by peaking at a console log. I'm a longtime Linux user, competent >> developer, but Java (and Maven) aren't my thing. >> >> The gist is a Maven compilation error with services.authorization.jaxb; a >> partial log showing the beginning of the failure report (I used -X in the >> Maven command to provide a debug log I can send to anyone who can help): >> >> -- >> >> [INFO] Compiling 4 source files to >> /tmp/collectionspace-services/services/authority/jaxb/target/classes >> [INFO] ------------------------------------------------------------- >> [ERROR] COMPILATION ERROR : >> [INFO] ------------------------------------------------------------- >> [ERROR] Failure executing javac, but could not parse the error: >> >> >> The system is out of resources. >> Consult the following stack trace for details. >> java.lang.OutOfMemoryError: PermGen space >> >> -- >> >> I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both >> ANT_OPTS and MAVEN_OPTS to no avail. >> >> Thanks for any help pushing me in the right direction, >> >> Roger Howard >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >> >> >
JM
Jesse Martinez
Mon, Apr 1, 2013 5:31 PM

Hi Roger,

Yep, you have the latest version; 3.2.1 was released in late February.
It looks like maven and your memory values are good, so mind sharing your
build logs? Uploading them online to something like pastebin or github gist
is fine.

Thanks,

  • Jesse

On Mon, Apr 1, 2013 at 1:13 PM, Roger Howard rogerhoward@gmail.com wrote:

Hi Jesse,

I'm fairly certain it's CS 3.2.1; I just downloaded the packages on Weds
so I'm pretty sure I would have picked up the latest... of course now I'm
doubting myself; I see the services-3.2.1.tar.gz for sure.

Maven 3.0.5

2GB memory; 4GB swap.

On Mon, Apr 1, 2013 at 9:54 AM, Jesse Martinez mjesse@gmail.com wrote:

Hi Roger,

Some additional info would be helpful in figuring out what's triggering
the error on compilation. Are you using CollectionSpace version 3.2 or
3.2.1? The latter has slightly different requirements. Also, what version
of Maven is on the VM? And lastly, how much memory is allocated to the VM?
Too little system memory may cause compilation errors like this.

  • Jesse

On Mon, Apr 1, 2013 at 12:36 PM, Roger Howard rogerhoward@gmail.comwrote:

Hi,

I'm trying to complete a 3.2 installation on a CentOS VM and after
resolving a number of minor hurdles (mostly involving network security and
our proxy servers) I'm now stuck and wondering if anyone can offer a hand
by peaking at a console log. I'm a longtime Linux user, competent
developer, but Java (and Maven) aren't my thing.

The gist is a Maven compilation error with services.authorization.jaxb;
a partial log showing the beginning of the failure report (I used -X in the
Maven command to provide a debug log I can send to anyone who can help):

--

[INFO] Compiling 4 source files to
/tmp/collectionspace-services/services/authority/jaxb/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space

--

I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both
ANT_OPTS and MAVEN_OPTS to no avail.

Thanks for any help pushing me in the right direction,

Roger Howard


Talk mailing list
Talk@lists.collectionspace.org

http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Roger, Yep, you have the latest version; 3.2.1 was released in late February. It looks like maven and your memory values are good, so mind sharing your build logs? Uploading them online to something like pastebin or github gist is fine. Thanks, - Jesse On Mon, Apr 1, 2013 at 1:13 PM, Roger Howard <rogerhoward@gmail.com> wrote: > Hi Jesse, > > I'm *fairly* certain it's CS 3.2.1; I just downloaded the packages on Weds > so I'm pretty sure I would have picked up the latest... of course now I'm > doubting myself; I see the services-3.2.1.tar.gz for sure. > > Maven 3.0.5 > > 2GB memory; 4GB swap. > > > On Mon, Apr 1, 2013 at 9:54 AM, Jesse Martinez <mjesse@gmail.com> wrote: > >> Hi Roger, >> >> Some additional info would be helpful in figuring out what's triggering >> the error on compilation. Are you using CollectionSpace version 3.2 or >> 3.2.1? The latter has slightly different requirements. Also, what version >> of Maven is on the VM? And lastly, how much memory is allocated to the VM? >> Too little system memory may cause compilation errors like this. >> >> - Jesse >> >> >> On Mon, Apr 1, 2013 at 12:36 PM, Roger Howard <rogerhoward@gmail.com>wrote: >> >>> Hi, >>> >>> I'm trying to complete a 3.2 installation on a CentOS VM and after >>> resolving a number of minor hurdles (mostly involving network security and >>> our proxy servers) I'm now stuck and wondering if anyone can offer a hand >>> by peaking at a console log. I'm a longtime Linux user, competent >>> developer, but Java (and Maven) aren't my thing. >>> >>> The gist is a Maven compilation error with services.authorization.jaxb; >>> a partial log showing the beginning of the failure report (I used -X in the >>> Maven command to provide a debug log I can send to anyone who can help): >>> >>> -- >>> >>> [INFO] Compiling 4 source files to >>> /tmp/collectionspace-services/services/authority/jaxb/target/classes >>> [INFO] ------------------------------------------------------------- >>> [ERROR] COMPILATION ERROR : >>> [INFO] ------------------------------------------------------------- >>> [ERROR] Failure executing javac, but could not parse the error: >>> >>> >>> The system is out of resources. >>> Consult the following stack trace for details. >>> java.lang.OutOfMemoryError: PermGen space >>> >>> -- >>> >>> I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both >>> ANT_OPTS and MAVEN_OPTS to no avail. >>> >>> Thanks for any help pushing me in the right direction, >>> >>> Roger Howard >>> >>> >>> _______________________________________________ >>> Talk mailing list >>> Talk@lists.collectionspace.org >>> >>> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>> >>> >> >
AR
Aron Roberts
Mon, Apr 1, 2013 6:00 PM

Hi Roger,

The gist is a Maven compilation error with services.authorization.jaxb ...
java.lang.OutOfMemoryError: PermGen space

Hi,

I'm trying to complete a 3.2 installation on a CentOS VM and after resolving
a number of minor hurdles (mostly involving network security and our proxy
servers) I'm now stuck and wondering if anyone can offer a hand by peaking
at a console log. I'm a longtime Linux user, competent developer, but Java
(and Maven) aren't my thing.

The gist is a Maven compilation error with services.authorization.jaxb; a
partial log showing the beginning of the failure report (I used -X in the
Maven command to provide a debug log I can send to anyone who can help):

--

[INFO] Compiling 4 source files to
/tmp/collectionspace-services/services/authority/jaxb/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space

--

I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both
ANT_OPTS and MAVEN_OPTS to no avail.

Thanks for any help pushing me in the right direction,

Roger Howard


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Hi Roger, > The gist is a Maven compilation error with services.authorization.jaxb ... > java.lang.OutOfMemoryError: PermGen space This might also help: http://wiki.collectionspace.org/display/DOC/Troubleshooting+Installation+Problems#TroubleshootingInstallationProblems-MemoryerrorswhenrunningAnt%28ant%29orMaven%28mvn%29 Aron On Mon, Apr 1, 2013 at 9:36 AM, Roger Howard <rogerhoward@gmail.com> wrote: > Hi, > > I'm trying to complete a 3.2 installation on a CentOS VM and after resolving > a number of minor hurdles (mostly involving network security and our proxy > servers) I'm now stuck and wondering if anyone can offer a hand by peaking > at a console log. I'm a longtime Linux user, competent developer, but Java > (and Maven) aren't my thing. > > The gist is a Maven compilation error with services.authorization.jaxb; a > partial log showing the beginning of the failure report (I used -X in the > Maven command to provide a debug log I can send to anyone who can help): > > -- > > [INFO] Compiling 4 source files to > /tmp/collectionspace-services/services/authority/jaxb/target/classes > [INFO] ------------------------------------------------------------- > [ERROR] COMPILATION ERROR : > [INFO] ------------------------------------------------------------- > [ERROR] Failure executing javac, but could not parse the error: > > > The system is out of resources. > Consult the following stack trace for details. > java.lang.OutOfMemoryError: PermGen space > > -- > > I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both > ANT_OPTS and MAVEN_OPTS to no avail. > > Thanks for any help pushing me in the right direction, > > Roger Howard > > > _______________________________________________ > Talk mailing list > Talk@lists.collectionspace.org > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >
AR
Aron Roberts
Mon, Apr 1, 2013 6:03 PM

Sorry, Roger, I missed seeing this part of your note, as well as
Jesse's responses:

I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both ANT_OPTS and MAVEN_OPTS to no avail.

What were the highest settings you tried?  You might start with the
recommended settings in that Troubleshooting guide:

export ANT_OPTS="-Xmx768m -XX:MaxPermSize=512m"
export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=512m"

Also, you might verify that those settings are present, in the
environment of the user running the build.  The '-X' debug log, as
Jesse points out, would be very helpful as well.

Aron

On Mon, Apr 1, 2013 at 11:00 AM, Aron Roberts aronroberts@gmail.com wrote:

Hi Roger,

The gist is a Maven compilation error with services.authorization.jaxb ...
java.lang.OutOfMemoryError: PermGen space

Hi,

I'm trying to complete a 3.2 installation on a CentOS VM and after resolving
a number of minor hurdles (mostly involving network security and our proxy
servers) I'm now stuck and wondering if anyone can offer a hand by peaking
at a console log. I'm a longtime Linux user, competent developer, but Java
(and Maven) aren't my thing.

The gist is a Maven compilation error with services.authorization.jaxb; a
partial log showing the beginning of the failure report (I used -X in the
Maven command to provide a debug log I can send to anyone who can help):

--

[INFO] Compiling 4 source files to
/tmp/collectionspace-services/services/authority/jaxb/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space

--

I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both
ANT_OPTS and MAVEN_OPTS to no avail.

Thanks for any help pushing me in the right direction,

Roger Howard


Talk mailing list
Talk@lists.collectionspace.org
http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org

Sorry, Roger, I missed seeing this part of your note, as well as Jesse's responses: > I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both ANT_OPTS and MAVEN_OPTS to no avail. What were the highest settings you tried? You might start with the recommended settings in that Troubleshooting guide: export ANT_OPTS="-Xmx768m -XX:MaxPermSize=512m" export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=512m" Also, you might verify that those settings are present, in the environment of the user running the build. The '-X' debug log, as Jesse points out, would be very helpful as well. Aron On Mon, Apr 1, 2013 at 11:00 AM, Aron Roberts <aronroberts@gmail.com> wrote: > Hi Roger, > >> The gist is a Maven compilation error with services.authorization.jaxb ... >> java.lang.OutOfMemoryError: PermGen space > > This might also help: > > http://wiki.collectionspace.org/display/DOC/Troubleshooting+Installation+Problems#TroubleshootingInstallationProblems-MemoryerrorswhenrunningAnt%28ant%29orMaven%28mvn%29 > > Aron > > On Mon, Apr 1, 2013 at 9:36 AM, Roger Howard <rogerhoward@gmail.com> wrote: >> Hi, >> >> I'm trying to complete a 3.2 installation on a CentOS VM and after resolving >> a number of minor hurdles (mostly involving network security and our proxy >> servers) I'm now stuck and wondering if anyone can offer a hand by peaking >> at a console log. I'm a longtime Linux user, competent developer, but Java >> (and Maven) aren't my thing. >> >> The gist is a Maven compilation error with services.authorization.jaxb; a >> partial log showing the beginning of the failure report (I used -X in the >> Maven command to provide a debug log I can send to anyone who can help): >> >> -- >> >> [INFO] Compiling 4 source files to >> /tmp/collectionspace-services/services/authority/jaxb/target/classes >> [INFO] ------------------------------------------------------------- >> [ERROR] COMPILATION ERROR : >> [INFO] ------------------------------------------------------------- >> [ERROR] Failure executing javac, but could not parse the error: >> >> >> The system is out of resources. >> Consult the following stack trace for details. >> java.lang.OutOfMemoryError: PermGen space >> >> -- >> >> I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both >> ANT_OPTS and MAVEN_OPTS to no avail. >> >> Thanks for any help pushing me in the right direction, >> >> Roger Howard >> >> >> _______________________________________________ >> Talk mailing list >> Talk@lists.collectionspace.org >> http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org >>
RH
Roger Howard
Mon, Apr 1, 2013 6:24 PM

Hi Aron,

Happy to share the -X build log - I sent it to Jesse directly... attached
it here (as its not all that big)

I started with the memory defaults as shown in the docs and tried several
variations (to a max of Xmx2048/MaxPermSize=1024 and down to 512/128).

Verified the settings are sticking by running env to see - running the
install as root, so setup the environmental variables in
/etc/profile.d/collectionspace.sh instead of a .bashrc, which was probably
my only real deviation from the install guide, but "env" shows the settings
so it should be good.

-R

On Mon, Apr 1, 2013 at 11:03 AM, Aron Roberts aron@socrates.berkeley.eduwrote:

Sorry, Roger, I missed seeing this part of your note, as well as
Jesse's responses:

I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both

ANT_OPTS and MAVEN_OPTS to no avail.

What were the highest settings you tried?  You might start with the
recommended settings in that Troubleshooting guide:

export ANT_OPTS="-Xmx768m -XX:MaxPermSize=512m"
export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=512m"

Also, you might verify that those settings are present, in the
environment of the user running the build.  The '-X' debug log, as
Jesse points out, would be very helpful as well.

Aron

On Mon, Apr 1, 2013 at 11:00 AM, Aron Roberts aronroberts@gmail.com
wrote:

Hi Roger,

The gist is a Maven compilation error with services.authorization.jaxb

...

java.lang.OutOfMemoryError: PermGen space

This might also help:

Aron

On Mon, Apr 1, 2013 at 9:36 AM, Roger Howard rogerhoward@gmail.com

wrote:

Hi,

I'm trying to complete a 3.2 installation on a CentOS VM and after

resolving

a number of minor hurdles (mostly involving network security and our

proxy

servers) I'm now stuck and wondering if anyone can offer a hand by

peaking

at a console log. I'm a longtime Linux user, competent developer, but

Java

(and Maven) aren't my thing.

The gist is a Maven compilation error with services.authorization.jaxb;

a

partial log showing the beginning of the failure report (I used -X in

the

Maven command to provide a debug log I can send to anyone who can help):

--

[INFO] Compiling 4 source files to
/tmp/collectionspace-services/services/authority/jaxb/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space

--

I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both
ANT_OPTS and MAVEN_OPTS to no avail.

Thanks for any help pushing me in the right direction,

Roger Howard


Talk mailing list
Talk@lists.collectionspace.org

Hi Aron, Happy to share the -X build log - I sent it to Jesse directly... attached it here (as its not all that big) I started with the memory defaults as shown in the docs and tried several variations (to a max of Xmx2048/MaxPermSize=1024 and down to 512/128). Verified the settings are sticking by running env to see - running the install as root, so setup the environmental variables in /etc/profile.d/collectionspace.sh instead of a .bashrc, which was probably my only real deviation from the install guide, but "env" shows the settings so it should be good. -R On Mon, Apr 1, 2013 at 11:03 AM, Aron Roberts <aron@socrates.berkeley.edu>wrote: > Sorry, Roger, I missed seeing this part of your note, as well as > Jesse's responses: > > > I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both > ANT_OPTS and MAVEN_OPTS to no avail. > > What were the highest settings you tried? You might start with the > recommended settings in that Troubleshooting guide: > > export ANT_OPTS="-Xmx768m -XX:MaxPermSize=512m" > export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=512m" > > Also, you might verify that those settings are present, in the > environment of the user running the build. The '-X' debug log, as > Jesse points out, would be very helpful as well. > > Aron > > On Mon, Apr 1, 2013 at 11:00 AM, Aron Roberts <aronroberts@gmail.com> > wrote: > > Hi Roger, > > > >> The gist is a Maven compilation error with services.authorization.jaxb > ... > >> java.lang.OutOfMemoryError: PermGen space > > > > This might also help: > > > > > http://wiki.collectionspace.org/display/DOC/Troubleshooting+Installation+Problems#TroubleshootingInstallationProblems-MemoryerrorswhenrunningAnt%28ant%29orMaven%28mvn%29 > > > > Aron > > > > On Mon, Apr 1, 2013 at 9:36 AM, Roger Howard <rogerhoward@gmail.com> > wrote: > >> Hi, > >> > >> I'm trying to complete a 3.2 installation on a CentOS VM and after > resolving > >> a number of minor hurdles (mostly involving network security and our > proxy > >> servers) I'm now stuck and wondering if anyone can offer a hand by > peaking > >> at a console log. I'm a longtime Linux user, competent developer, but > Java > >> (and Maven) aren't my thing. > >> > >> The gist is a Maven compilation error with services.authorization.jaxb; > a > >> partial log showing the beginning of the failure report (I used -X in > the > >> Maven command to provide a debug log I can send to anyone who can help): > >> > >> -- > >> > >> [INFO] Compiling 4 source files to > >> /tmp/collectionspace-services/services/authority/jaxb/target/classes > >> [INFO] ------------------------------------------------------------- > >> [ERROR] COMPILATION ERROR : > >> [INFO] ------------------------------------------------------------- > >> [ERROR] Failure executing javac, but could not parse the error: > >> > >> > >> The system is out of resources. > >> Consult the following stack trace for details. > >> java.lang.OutOfMemoryError: PermGen space > >> > >> -- > >> > >> I tried a range of memory settings for -Xmx and -XX:MaxPermSize for both > >> ANT_OPTS and MAVEN_OPTS to no avail. > >> > >> Thanks for any help pushing me in the right direction, > >> > >> Roger Howard > >> > >> > >> _______________________________________________ > >> Talk mailing list > >> Talk@lists.collectionspace.org > >> > http://lists.collectionspace.org/mailman/listinfo/talk_lists.collectionspace.org > >> >