ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiang Liu" <S3075...@student.rmit.edu.au>
Subject Re: Re: Build Problem
Date Tue, 23 Jan 2007 15:05:03 GMT
Hi all,
I tried svn 3 times and now found this problem:
There are exceptions when building "dao-jpa-ojpa" but it still displayed built successfully.
Following exceptions are generated when building "dao-jpa-ojpa-derby". It looks like there
missing shutdown file.



[INFO] Building ODE :: OpenJPA DAO Impl Using Derby
[INFO]    task-segment: [package]
[INFO] -------------------------------------------------------------------------
---
[WARNING]
        Artifact junit:junit:jar:3.8.1:test retains local scope 'test' overridin
g broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the loc
al scope.

[INFO] [antrun:run {execution: OpenJPA Schema Gen}]
[INFO] Executing tasks

gen-schemas:
     [java] java.util.MissingResourceException: C:\Documents
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava
.java:180)
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)

     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:364)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:341)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1216)
     [java]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
s(SingleCheckExecutor.java:37)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
     [java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:364)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:341)
     [java]     at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(A
bstractAntMojo.java:71)
     [java]     at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.
java:72)
     [java]     at org.apache.maven.plugin.DefaultPluginManager.executeMojo(Defa
ultPluginManager.java:412)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGo
als(DefaultLifecycleExecutor.java:534)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGo
alWithLifecycle(DefaultLifecycleExecutor.java:475)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGo
al(DefaultLifecycleExecutor.java:454)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGo
alAndHandleFailures(DefaultLifecycleExecutor.java:306)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTa
skSegments(DefaultLifecycleExecutor.java:273)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(D
efaultLifecycleExecutor.java:140)
     [java]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322
)
     [java]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
     [java]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.jav
a:315)
     [java]     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
     [java]     at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.j
ava:430)
     [java]     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
     [java] Caused by: java.util.MissingResourceException: C:\Documents
     [java]     at org.apache.openjpa.lib.conf.ProductDerivations.load(ProductDe
rivations.java:180)
     [java]     at org.apache.openjpa.lib.conf.Configurations.populateConfigurat
ion(Configurations.java:194)
     [java]     at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java
:956)
     [java]     at org.apache.openjpa.jdbc.meta.MappingTool.main(MappingTool.jav
a:907)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.jav
a:202)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava
.java:134)
     [java]     ... 34 more
     [java] --- Nested Exception ---
     [java] java.util.MissingResourceException: C:\Documents
     [java]     at org.apache.openjpa.lib.conf.ProductDerivations.load(ProductDe
rivations.java:180)
     [java]     at org.apache.openjpa.lib.conf.Configurations.populateConfigurat
ion(Configurations.java:194)
     [java]     at org.apache.openjpa.jdbc.meta.MappingTool.run(MappingTool.java
:956)
     [java]     at org.apache.openjpa.jdbc.meta.MappingTool.main(MappingTool.jav
a:907)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.jav
a:202)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava
.java:134)
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)

     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:364)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:341)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:369)
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1216)
     [java]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarget
s(SingleCheckExecutor.java:37)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
     [java]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:364)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:341)
     [java]     at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(A
bstractAntMojo.java:71)
     [java]     at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.
java:72)
     [java]     at org.apache.maven.plugin.DefaultPluginManager.executeMojo(Defa
ultPluginManager.java:412)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGo
als(DefaultLifecycleExecutor.java:534)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGo
alWithLifecycle(DefaultLifecycleExecutor.java:475)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGo
al(DefaultLifecycleExecutor.java:454)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGo
alAndHandleFailures(DefaultLifecycleExecutor.java:306)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTa
skSegments(DefaultLifecycleExecutor.java:273)
     [java]     at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(D
efaultLifecycleExecutor.java:140)
     [java]     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322
)
     [java]     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
     [java]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.jav
a:315)
     [java]     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
     [java]     at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.j
ava:430)
     [java]     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] Executed tasks
[INFO] [antrun:run {execution: Generate Derby DB}]
[INFO] Executing tasks

depset:

tarball:

dbload:

derby-shutdown:
IJ ERROR: file not found: C:\Documents and Settings\Jiang Liu\ode\dao-jpa-ojpa-d
erby/shutdown.sql
   [delete] Deleting directory C:\Documents and Settings\Jiang Liu\ode\dao-jpa-o
jpa-derby\target\derby
      [sql] Executing file: C:\Documents and Settings\Jiang Liu\ode\dao-jpa-ojpa
-derby\target\derby.sql
      [sql] Failed to execute:    create table qrtz_job_details ( job_name varch
ar(80) not null, job_group varchar(80) not null, description varchar(120) , job_
class_name varchar(128) not null, is_durable varchar(5) not null, is_volatile va
rchar(5) not null, is_stateful varchar(5) not null, requests_recovery varchar(5)
 not null, job_data blob, primary key (job_name,job_group) )
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
C:\Documents and Settings\Jiang Liu\ode\dao-jpa-ojpa-derby\build.xml:62: The fol
lowing error occurred while executing this line:
C:\Documents and Settings\Jiang Liu\ode\dao-jpa-ojpa-derby\build.xml:79: SQL Exc
eption: Table/View 'QRTZ_JOB_DETAILS' already exists in Schema 'SA'.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Wed Jan 24 02:01:03 EST 2007
[INFO] Final Memory: 8M/15M
[INFO] ------------------------------------------------------------------------

C:\Documents and Settings\Jiang Liu\ode\dao-jpa-ojpa-derby>



-----Original Message-----
From: "Guillaume Nodet" <gnodet@gmail.com>
To: ode-dev@incubator.apache.org
Date: Tue, 23 Jan 2007 13:50:35 +0100
Subject: Re: Build Problem

I have reverted to rev 496438 to be able to use Ode JPA persistence.
I think you should do the same and make the needed changes locally
to be able to build Ode correctly, until the problem is fixed.

On 1/23/07, Jan Loewe <jloewe@cs.tu-berlin.de> wrote:
> Hi Alex,
>
> I can confirm that this issue is solved. But it appears again while
> install'ing bpel-runtime. I changed the pom.xml to use maven-apt-plugin
> 1.0.8 like you did for JACOB and it compiles. At axis2-war exists a
> similar problem with maven-war-plugin 2.0.2. I forced the use of 2.0.1
> and it works.
>
> I then manually mvn install'ed distro-axis2 (it is not built
> automatically like mentioned on the documentation page "Getting Ode", is
> it?), unpacked the distro-axis2-2.0-SNAPSHOT.tar.gz and deployed
> ode.war:
>
> Unable to create DB connection: SQL Exception: Database
> '/home/tomcat/apache-tomcat-5.5.20/webapps/ode/WEB-INF/hibdb/data' not
> found.
>
> I first copied the hibdb directory from webapps/ode (where it was) to
> webapps/ode/WEB-INF and got the following error:
>
> org.apache.openjpa.persistence.ArgumentException: SQL Exception: Table
> 'STORE_PROC_TO_PROP' does not exist.
>
> I then thought to myself: hibdb sounds like hibernate where it should be
> OpenJBA. So I copied jpadb from webapps/ode over
> webapps/ode/WEB-INF/hibdb and see - it works.
>
> But now while using the test processes I get the error described by
> Guillaume in the NPE thread.
>
> regards,
> Jan
>
> Am Montag, den 22.01.2007, 09:10 -0800 schrieb Alex Boisvert:
> > I've forced the use of maven-apt-plugin 1.0.8 (instead of 1.0.9) and this
> > appears to fix the problem.   Let me know if you still have build issues.
> >
> > alex
> >
> > On 1/22/07, Alex Boisvert <boisvert@intalio.com> wrote:
> > >
> > > I was able to reproduce this problem after wiping my local repository.
> > > Looks like a maven-apt-plugin update broke the build.   I'll look into this.
> > >
> > > alex
> > >
> > >
> > > On 1/22/07, Jiang Liu <S3075163@student.rmit.edu.au> wrote:
> > > >
> > > > Hi Jan
> > > > I have the same problem 2 days ago and still unable to deploy it. As one
> > > > reply from the group: try harder for Maven, then....
> > > >
> > > > -----Original Message-----
> > > > From: Jan Loewe < jloewe@cs.tu-berlin.de>
> > > > To: ode-dev@incubator.apache.org
> > > > Date: Mon, 22 Jan 2007 14:08:23 +0100
> > > > Subject: Build Problem
> > > >
> > > > Hi there,
> > > >
> > > > I tried to build ODE as mentioned, this is what I get:
> > > >
> > > > [INFO]
> > > >
> > > > ----------------------------------------------------------------------------
> > > > [INFO] Building ODE :: Java Concurrent Objects (JACOB)
> > > > [INFO]    task-segment: [install]
> > > > [INFO]
> > > > ----------------------------------------------------------------------------
> > > >
> > > > Downloading:
> > > > http://people.apache.org/repo/m2-snapshot-repository/org/apache/myfaces/tobago/maven-apt-plugin/1.0.9/maven-apt-plugin-1.0.9.pom
> > > >
> > > > -----------------------------------------------------
> > > > this realm =
> > > > app0.child-container[org.apache.myfaces.tobago:maven-apt-plugin]
> > > > urls[0] =
> > > > file:/home/jan/.m2/repository/org/apache/myfaces/tobago/maven-apt-plugin/1.0.9/maven-
> > > > apt-plugin-1.0.9.jar
> > > > Number of imports: 0
> > > >
> > > >
> > > > this realm = plexus.core.maven
> > > > urls[0] =
> > > > file:/home/jan/temp/maven-2.0.4/lib/maven-plugin-descriptor-2.0.4.jar
> > > > urls[1] = file:/home/jan/temp/maven-2.0.4/lib/jsch- 0.1.24.jar
> > > > urls[2] =
> > > > file:/home/jan/temp/maven-2.0.4/lib/plexus-
> > > > interactivity-api-1.0-alpha-4.jar
> > > > urls[3] =
> > > > file:/home/jan/temp/maven-2.0.4/lib/maven-error-diagnostics-2.0.4.jar
> > > > urls[4] = file:/home/jan/temp/maven- 2.0.4/lib/wagon-ssh-1.0-alpha-7.jar
> > > > urls[5] =
> > > > -----------------------------
> > > > Jiang Liu
> > > > Student Number: 3075163
> > > > CS/Yallara Name: ljiang
> > > >
> > >
> > >
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/


------------------------------
Jiang Liu
Student Number: 3075163
CS/Yallara Name: ljiang
RMIT, Melbourne

Mime
View raw message