You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@continuum.apache.org by Bob Herrmann <bo...@jadn.com> on 2006/02/03 03:39:59 UTC
Re: problem building continuum
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
>>
>>
>>
>>
>>
Re: problem building continuum
Posted by Bob Herrmann <bo...@jadn.com>.
Emmanuel Venisse wrote:
> hmm, weird. You aren't the only one with this problem. I can build
> continuum with 256Mo assigned to jvm.
> If you want to increase memory, you need to set MAVEN_OPTS env var,
> it's used by mvn.
>
ok, I still get an error when the tests run.
$ export MAVEN_OPTS=-Xmx500m
$ export PATH=$PATH:/usr/local/maven-2.0.2/bin
$ 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-03 11:43:35,417 [main] INFO Continuum - <
Continuum 1.0.3-SNAPSHOT started! >
...
2006-02-03 11:43:35,746 [main] INFO ContinuumInitializer -
Continuum initializer running ...
2006-02-03 11:43:36,076 [main] INFO SchedulesActivator -
Activating schedules ...
2006-02-03 11:43:36,082 [main] WARN ContinuumScheduler -
Will not schedule this job as a job {DEFAULT_SCHEDULE:DEFAULT} already
exists.
2006-02-03 11:43:36,286 [main] INFO SchedulesActivator - null
2006-02-03 11:43:36,286 [main] INFO PlexusContainer -
Loading on start [role,roleHint]:
[org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor,build-project]
2006-02-03 11:43:36,419 [main] ERROR VelocityComponent -
ResourceManager.getResource() parse exception:
org.apache.velocity.exception.ParseErrorException: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
121, column 17. Encountered: <EOF> after : ""
-----------------------------------------------------
this realm = plexus.core
urls[0] =
file:/usr/local/continuum-1.0.x/continuum-core-it/target/level1/level2/plexus-home/../../../../../continuum-web/src/main/resources/localization/
Number of imports: 0
-----------------------------------------------------
[surefire] Running org.apache.maven.continuum.it.MavenTwoIntegrationTest
[surefire] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 9.513 sec
<<<<<<<< FAILURE !!
Results :
[surefire] Tests run: 5, Failures: 0, Errors: 5
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] There are some test failure.
[INFO]
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 6 minutes 5 seconds
[INFO] Finished at: Fri Feb 03 11:43:36 EST 2006
[INFO] Final Memory: 77M/138M
[INFO]
----------------------------------------------------------------------------
Re: problem building continuum
Posted by Emmanuel Venisse <em...@venisse.net>.
hmm, weird. You aren't the only one with this problem. I can build continuum with 256Mo assigned to jvm.
If you want to increase memory, you need to set MAVEN_OPTS env var, it's used by mvn.
Emmanuel
Bob Herrmann a écrit :
>
> 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
>>>
>>>
>>>
>>>
>>>
>
>
>
>
Re: problem building continuum
Posted by dan tran <da...@gmail.com>.
oops, sorry ;-)
On 2/3/06, Emmanuel Venisse <em...@venisse.net> wrote:
>
> no, the pb is in continuum build, not in continuum execution
>
> Emmanuel
>
> dan tran a écrit :
> > ${continuum.home}/conf/wrapper.conf on win and linux i think
> >
> > -Dan
> >
> >
> >
> > On 2/2/06, Bob Herrmann <bo...@jadn.com> 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
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
> >
>
>
Re: problem building continuum
Posted by Emmanuel Venisse <em...@venisse.net>.
no, the pb is in continuum build, not in continuum execution
Emmanuel
dan tran a écrit :
> ${continuum.home}/conf/wrapper.conf on win and linux i think
>
> -Dan
>
>
>
> On 2/2/06, Bob Herrmann <bo...@jadn.com> 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>
Re: problem building continuum
Posted by dan tran <da...@gmail.com>.
did you take a look at continuum install directory/conf/wrapper.conf ?
-Dan
On 2/2/06, Bob Herrmann <bo...@jadn.com> wrote:
>
>
> $ 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 <bo...@jadn.com> 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
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> >>
> >
> >
> >
>
>
>
>
Re: problem building continuum
Posted by Bob Herrmann <bo...@jadn.com>.
$ 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 <bo...@jadn.com> 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>
>
>
Re: problem building continuum
Posted by dan tran <da...@gmail.com>.
${continuum.home}/conf/wrapper.conf on win and linux i think
-Dan
On 2/2/06, Bob Herrmann <bo...@jadn.com> 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
> >>
> >>
> >>
> >>
> >>
>
>