Hi Jeff, It works now. Thank you very much for your help.
Regards, Binh. On Thu, Apr 8, 2010 at 10:11 AM, Jeff Yu <[email protected]> wrote: > Hi, > > I looked at the error log that you attached, it shows: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building ODE :: Runtime Engine > [INFO] task-segment: [compile] > [INFO] > ------------------------------------------------------------------------ > [INFO] [resources:resources {execution: default-resources}] > [WARNING] Using platform encoding (UTF-8 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > /home/binh/setup/ode-sources-built/ode/engine/src/main/resources > [INFO] [compiler:compile {execution: default-compile}] > [INFO] Compiling 94 source files to > /home/binh/setup/ode-sources-built/ode/engine/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Fatal error compiling > > Embedded error: Error while executing the compiler. > Java heap space > > > Could you please run the following command to add java heap space, and then > run again. > > export MAVEN_OPTS="-Xms512M -Xmx512M -XX:MaxPermSize=512M" > > -Jeff > > On Thu, Apr 8, 2010 at 2:35 AM, Bi Be <[email protected]> wrote: > > > Hi, > > > > I found the following error in the file attached last time, which is > maybe > > the cause of this issue: > > > > > > Downloading: > > > http://www.ibiblio.org/maven2/xdoclet/xjavadoc/1.1-j5/xjavadoc-1.1-j5.pom > > [INFO] Unable to find resource 'xdoclet:xjavadoc:pom:1.1-j5' in > repository > > ibiblio (http://www.ibiblio.org/maven2) > > Downloading: > > > > > http://repository.apache.org/snapshots//xdoclet/xjavadoc/1.1-j5/xjavadoc-1.1-j5.pom > > [INFO] Unable to find resource 'xdoclet:xjavadoc:pom:1.1-j5' in > repository > > apache.snapshots (http://repository.apache.org/snapshots/) > > Downloading: > > > > > http://pxe.intalio.org/public/maven2/xdoclet/xjavadoc/1.1-j5/xjavadoc-1.1-j5.pom > > [INFO] Unable to find resource 'xdoclet:xjavadoc:pom:1.1-j5' in > repository > > intalio (http://pxe.intalio.org/public/maven2) > > Downloading: > > > http://repo1.maven.org/maven2/xdoclet/xjavadoc/1.1-j5/xjavadoc-1.1-j5.pom > > [INFO] Unable to find resource 'xdoclet:xjavadoc:pom:1.1-j5' in > repository > > central (http://repo1.maven.org/maven2) > > > > > > I have checked and found that sub-directory 1.1-j5 and > xjavadoc-1.1-j5.pom > > do not exist any more but replaced by sub-directory 1.1 and > > xjavadoc-1.1.pom respectively. > > > > I am not sure this is the right error, and if it is then how this error > > could be fixed? > > Any one has any ideas? > > > > Thanks. > > Regards, > > Binh. > > > > > > > > On Wed, Apr 7, 2010 at 11:16 AM, Terry Mueller <[email protected] > > >wrote: > > > > > 1. Register at > https://issues.apache.org/jira/secure/Signup!default.jspa<https://issues.apache.org/jira/secure/Signup%21default.jspa> > <https://issues.apache.org/jira/secure/Signup%21default.jspa> > > <https://issues.apache.org/jira/secure/Signup%21default.jspa> > > > 2. Login > > > 3. Create a new issue in project > > > ODE< > > > > > > https://issues.apache.org/jira/secure/CreateIssue%21default.jspa?pid=12310270 > > > > > > > > > > > > > > > > > > > On 7 April 2010 10:19, Bi Be <[email protected]> wrote: > > > > > > > Hi Jeff, > > > > > > > > I am using Fedora 9. Sorry that I do not know how to file a jira and > > > attach > > > > error report. Could you guide me more about it? > > > > > > > > Thanks. > > > > Regards, > > > > Binh. > > > > > > > > > > > > On Wed, Apr 7, 2010 at 11:27 AM, Jeff Yu <[email protected]> > > wrote: > > > > > > > > > Hi Binh, > > > > > > > > > > I build it with jdk1.6 last time. they both should be fine. > > > > > > > > > > I didn't see your attachment here, could you file a jira, and then > > > attach > > > > > your error report. BTW, what OS are you using? > > > > > > > > > > Regards > > > > > Jeff > > > > > > > > > > On Wed, Apr 7, 2010 at 3:35 AM, Bi Be <[email protected]> wrote: > > > > > > > > > > > Hi Jeff, > > > > > > > > > > > > I have just compiled ode2 trunk code with both Jdk1.5 and Jdk1.6 > > > > (because > > > > > I > > > > > > don't know which one is the best) and both have errors, that I > > attach > > > > > them > > > > > > here. Please take a look at them and let me know your opinions. > > > > > > > > > > > > Thank you very much. > > > > > > Regards, > > > > > > Binh. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Tue, Apr 6, 2010 at 2:30 PM, Jeff Yu <[email protected]> > > > > wrote: > > > > > > > > > > > >> +1. > > > > > >> > > > > > >> I've just run the maven build against ode 2 trunk code, it works > > > > great. > > > > > >> > > > > > >> Regards > > > > > >> Jeff > > > > > >> > > > > > >> On Mon, Apr 5, 2010 at 9:13 PM, Terry Mueller < > > > [email protected] > > > > > >> >wrote: > > > > > >> > > > > > >> > Hi Binh, > > > > > >> > > > > > > >> > Please post the contents of > > > > > >> > > > > > > >> > > > > > > >> > > > > > > > > > > > > > > > scheduler-simple/target/surefire-reports/TEST-org.apache.ode.scheduler.simple.SchedulerThreadTest.xml > > > > > >> > so we can see more details about the error. I've just updated > to > > > the > > > > > >> latest > > > > > >> > from http://svn.apache.org/repos/asf/ode/trunk and the unit > > tests > > > > > pass > > > > > >> for > > > > > >> > me, but this isn't helpful for you... > > > > > >> > > > > > > >> > You can skip tests by running: mvn *-Dmaven.test.skip=true* > > > install > > > > > >> > > > > > > >> > (You might find the Maven > > > > > >> > FAQ<http://maven.apache.org/general.html#skip-test>useful for > > > this > > > > > and > > > > > >> > other Maven-related questions.) > > > > > >> > > > > > > >> > Regards, > > > > > >> > Terry > > > > > >> > > > > > > >> > > > > > > >> > On 2 April 2010 23:51, Bi Be <[email protected]> wrote: > > > > > >> > > > > > > >> > > Hi all, > > > > > >> > > > > > > > >> > > When I am using mvn and Java 1.6 to build the source of the > > > > current > > > > > >> ODE > > > > > >> > 2, > > > > > >> > > the following error occurs: > > > > > >> > > > > > > > >> > > ... > > > > > >> > > [INFO] Building ODE :: BPEL Scheduler Simple > > > > > >> > > [INFO] task-segment: [install] > > > > > >> > > [INFO] > > > > > >> > > > > > > > >> > > > > > > ------------------------------------------------------------------------ > > > > > >> > > [INFO] [resources:resources {execution: default-resources}] > > > > > >> > > [WARNING] Using platform encoding (UTF-8 actually) to copy > > > > filtered > > > > > >> > > resources, i.e. build is platform dependent! > > > > > >> > > [INFO] Copying 1 resource > > > > > >> > > [INFO] [compiler:compile {execution: default-compile}] > > > > > >> > > [INFO] Nothing to compile - all classes are up to date > > > > > >> > > [INFO] [resources:testResources {execution: > > > > default-testResources}] > > > > > >> > > [WARNING] Using platform encoding (UTF-8 actually) to copy > > > > filtered > > > > > >> > > resources, i.e. build is platform dependent! > > > > > >> > > [INFO] Copying 7 resources > > > > > >> > > [INFO] [compiler:testCompile {execution: > default-testCompile}] > > > > > >> > > [INFO] Nothing to compile - all classes are up to date > > > > > >> > > [INFO] [surefire:test {execution: default-test}] > > > > > >> > > [INFO] Surefire report directory: > > > > > >> > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > > > > > > > > > > > /home/binh/.local/share/Trash/files/ode-source-1.3.x/scheduler-simple/target/surefire-reports > > > > > >> > > > > > > > >> > > ------------------------------------------------------- > > > > > >> > > T E S T S > > > > > >> > > ------------------------------------------------------- > > > > > >> > > Running org.apache.ode.scheduler.simple.SchedulerThreadTest > > > > > >> > > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time > > elapsed: > > > > > 3.373 > > > > > >> sec > > > > > >> > > <<< FAILURE! > > > > > >> > > Running org.apache.ode.scheduler.simple.SimpleSchedulerTest > > > > > >> > > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time > > elapsed: > > > > > 5.373 > > > > > >> sec > > > > > >> > > Running org.apache.ode.scheduler.simple.RetriesTest > > > > > >> > > DEBUG - GeronimoLog.debug(66) | retrying 1 > > > > > >> > > ERROR - GeronimoLog.error(104) | Error while processing > > > > transaction, > > > > > >> > > retrying in 1s > > > > > >> > > DEBUG - GeronimoLog.debug(66) | retrying 2 > > > > > >> > > ERROR - GeronimoLog.error(104) | Error while processing > > > > transaction, > > > > > >> > > retrying in 5s > > > > > >> > > DEBUG - GeronimoLog.debug(66) | completing 3 > > > > > >> > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time > > elapsed: > > > > > 10.058 > > > > > >> > sec > > > > > >> > > Running org.apache.ode.scheduler.simple.JdbcDelegateTest > > > > > >> > > Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time > > elapsed: > > > > 0.51 > > > > > >> sec > > > > > >> > > > > > > > >> > > Results : > > > > > >> > > > > > > > >> > > Failed tests: > > > > > >> > > > > > > > >> > > > > > > > > > testParallelEnqueue(org.apache.ode.scheduler.simple.SchedulerThreadTest) > > > > > >> > > > > > > > >> > > Tests run: 19, Failures: 1, Errors: 0, Skipped: 0 > > > > > >> > > > > > > > >> > > [INFO] > > > > > >> > > > > > > > >> > > > > > > ------------------------------------------------------------------------ > > > > > >> > > [ERROR] BUILD FAILURE > > > > > >> > > [INFO] > > > > > >> > > > > > > > >> > > > > > > ------------------------------------------------------------------------ > > > > > >> > > [INFO] There are test failures. > > > > > >> > > ... > > > > > >> > > > > > > > >> > > Could any one show me the reasons of this error, and how > TESTS > > > > step > > > > > >> can > > > > > >> > be > > > > > >> > > skipped when using mvn? > > > > > >> > > > > > > > >> > > Thank you. > > > > > >> > > Regards, > > > > > >> > > Binh. > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > > >> > > > > > >> -- > > > > > >> Cheers, > > > > > >> Jeff Yu > > > > > >> > > > > > >> ---------------- > > > > > >> blog: http://jeff.familyyu.net > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Cheers, > > > > > Jeff Yu > > > > > > > > > > ---------------- > > > > > blog: http://jeff.familyyu.net > > > > > > > > > > > > > > > > > > -- > Cheers, > Jeff Yu > > ---------------- > blog: http://jeff.familyyu.net >
