$ find . -name wrapper.conf

./continuum-plexus-application/target/plexus-test-runtime/bin/solaris/wrapper.conf
./continuum-plexus-application/target/plexus-test-runtime/bin/win32/wrapper.conf
./continuum-plexus-application/target/plexus-test-runtime/bin/linux/wrapper.conf
./continuum-plexus-application/target/plexus-test-runtime/bin/macosx/wrapper.conf

I tried changing the linux one (I'm running on Fedora 4), but I get identical results. Note that continuum is started when being built by maven. So I suspect the wrapper stuff is not used. I will attach result.log to this message (for those inclined to dig into what is not getting enough memory.)
Can anyone tell me how to raise the memory so I don't get these out of  memory 
errors when building contiuum?

Thanks
-bob


dan tran wrote:

${continuum.home}/conf/wrapper.conf on win and linux i think

-Dan



On 2/2/06, Bob Herrmann <[EMAIL PROTECTED]> wrote:
Progress, but not yet happiness.  I'm running Out of Memory when the
build is running.

I hunted down (google); activation, mail, jta, connector (note connector
is named connector-api on the maven mini guide, but is just connector in
the build)

mvn install:install-file -Dfile=jta-1_0_1B-classes.zip
-DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar
-DgroupId=javax.transaction
# I add connector with both names...  Once using the maven's
recommended naming, once using what Continuum requires
mvn install:install-file -Dfile=j2ee_connector-1_0-fr-class.zip
-DartifactId=connector-api -Dversion=1.0 -Dpackaging=jar
-DgroupId=javax.resource
mvn install:install-file -Dfile=j2ee_connector-1_0-fr-class.zip
-DartifactId=connector -Dversion=1.0 -Dpackaging=jar
-DgroupId=javax.resource
mvn install:install-file -Dfile=/ul/javamail-1_3_3_01.zip
-DartifactId=mail -Dversion=1.3.2 -Dpackaging=jar -DgroupId=javax.mail
mvn install:install-file -Dfile=/ul/jaf-1_0_2-upd2.zip
-DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar
-DgroupId=javax.activation

I then I started again,
$ svn co
http://svn.apache.org/repos/asf/maven/continuum/branches/continuum-1.0.x/
$ cd continuum-1.0.x
$ sh build.sh
...
2006-02-02 21:30:17,967 [main] INFO  RDBMS                          -
Validated 1 unique key(s) for table PROJECTNOTIFIER
2006-02-02 21:30:21,639 [main] ERROR SCHEMA                         - An
exception was thrown while adding/validating class(es) : Java exception:
': java.lang.OutOfMemoryError'.
java.lang.OutOfMemoryError

2006-02-02 21:30:21,639 [main] ERROR SCHEMA                         -
SQL Exception: Java exception: ': java.lang.OutOfMemoryError'.
2006-02-02 21:30:22,351 [main] ERROR SCHEMA                         -
Failed initialising database. Exception : An exception was thrown while
adding/validating class(es) : Java exception: ':
java.lang.OutOfMemoryError'.
java.lang.OutOfMemoryError
...

I imagine I need to jam -Xmx1g somewhere, but I'm not sure how to set
that in the right place.  Help?

Thanks
-bob


Emmanuel Venisse wrote:

Continuum use some SUN jars that can't be redistributed. So you need
to download them from sun site and copy them in the correct group in
your repository like describe there :
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Emmanuel

Bob Herrmann a écrit :

ok,

$ svn co

http://svn.apache.org/repos/asf/maven/continuum/branches/continuum-1.0.x/
$ cd continuum-1.0.x
$ sh build.sh
...
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO]

----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]

----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

required artifacts missing:
javax.resource:connector:jar:1.0
javax.transaction:jta:jar:1.0.1B

for the artifact:
org.codehaus.mojo:maven-jpox-plugin:maven-plugin:1.0.1

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
snapshots (http://snapshots.maven.codehaus.org/maven2)


Why am I getting these missing resources?   I'm following the
building continuum instructions,



http://maven.apache.org/continuum/guides/development/guide-build-continuum.html
and dont see any reference to needed external stuff.  (I did already
put maven-2.0.2 in my path.)

Cheers
-bob







Attachment: result.log.gz
Description: GNU Zip compressed data

Reply via email to