portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timony, Michael" <Michael.Tim...@FMR.COM>
Subject Error when deploying to Tomcat w/ Derby
Date Thu, 01 Mar 2007 00:00:26 GMT
This only happens when I use a Derby database, I changed to an Oracle
database and JetSpeed deploys successfully. This is using the latest
build as of ~2pm today.

sql-execute-derby:
     [java] Buildfile: /tmp/CUSTOM_PORTAL1/dtf/etc/derby-sql-build.xml

     [java] forked-sql-execute-derby:
     [java]       [sql] Executing file:
/tmp/CUSTOM_PORTAL1/dtf/etc/target/sql/derby/schema/phase1-schema.sql
     [java]       [sql] Failed to execute:   CREATE TABLE MEDIA_TYPE (
MEDIATYPE_ID INTEGER NOT NULL, NAME VARCHAR(80) NOT NULL, CHARACTER_SET
VARCHAR(40), TITLE VARCHAR(80), DESCRIPTION LONGVARCHAR, PRIMARY
KEY(MEDIATYPE_ID))

     [java] BUILD FAILED
     [java] /tmp/CUSTOM_PORTAL1/dtf/etc/derby-sql-build.xml:6: SQL
Exception: Syntax error: Encountered "" at line 1, column 145.

     [java] Total time: 1 second
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
/tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:298: The following error occurred
while executing this line:
/tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:289: The following error occurred
while executing this line:
/tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:390: Java returned: 1
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error executing
ant tasks
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:559)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:475)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:454)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:140)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
executing ant tasks
        at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntM
ojo.java:114)
        at
org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:412)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:534)
        ... 16 more
Caused by: The following error occurred while executing this line:
/tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:298: The following error occurred
while executing this line:
/tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:289: The following error occurred
while executing this line:
/tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:390: Java returned: 1
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHe
lper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntM
ojo.java:108)
        ... 19 more
Caused by: /tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:298: The following
error occurred while executing this line:
/tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:289: The following error occurred
while executing this line:
/tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:390: Java returned: 1
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHe
lper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
ckExecutor.java:37)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 23 more
Caused by: /tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:289: The following
error occurred while executing this line:
/tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:390: Java returned: 1
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHe
lper.java:539)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
ckExecutor.java:37)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 32 more
Caused by: /tmp/CUSTOM_PORTAL1/dtf/etc/build.xml:390: Java returned: 1
        at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleChe
ckExecutor.java:37)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        ... 41 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 18 seconds
[INFO] Finished at: Wed Feb 28 16:03:23 EST 2007
[INFO] Final Memory: 14M/26M
[INFO]
------------------------------------------------------------------------

Mick Timony

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message