grouper-dev - [grouper-dev] RE: DDL Script error
Subject: Grouper Developers Forum
List archive
- From: "Klug, Lawrence" <>
- To: Grouper Dev <>
- Subject: [grouper-dev] RE: DDL Script error
- Date: Fri, 12 Aug 2011 14:45:40 -0700
- Accept-language: en-US
- Acceptlanguage: en-US
This has been resolved. Modified the script for SQLServer syntax. From: [mailto:] On Behalf Of Klug, Lawrence Hi, I’m getting an error when running the Grouper 2 DDL script against SQLServer 2005 - using jtds 1.2 JDBC driver – running from gsh. Has anyone else seen this behavior? Thanks, Lawrence Error running script: C:\Users\lklug\Documents\workspace4\grouper.api-2.0.0\ddlScripts\grouperDdl_20110812_09_01_20_689.sql.tmp, java.sql.SQLException: Incorrec t syntax near the keyword 'as'. at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:463) at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.sqlRun(GrouperDdlUtils.java:805) at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.sqlRun(GrouperDdlUtils.java:742) at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:127) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:188) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:128) at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16) Caused by: java.sql.SQLException: Incorrect syntax near the keyword 'as'. at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365) at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224) at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:628) at net.sourceforge.jtds.jdbc.JtdsStatement.processResults(JtdsStatement.java:525) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQL(JtdsStatement.java:487) at net.sourceforge.jtds.jdbc.JtdsStatement.executeImpl(JtdsStatement.java:664) at net.sourceforge.jtds.jdbc.JtdsStatement.execute(JtdsStatement.java:1114) at org.apache.tools.ant.taskdefs.SQLExec.execSQL(SQLExec.java:565) at org.apache.tools.ant.taskdefs.SQLExec.runStatements(SQLExec.java:535) at org.apache.tools.ant.taskdefs.SQLExec$Transaction.runTransaction(SQLExec.java:776) at org.apache.tools.ant.taskdefs.SQLExec$Transaction.access$000(SQLExec.java:706) at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:449) ... 10 more Lawrence Klug Grouper Integration UCLA Middleware Services Office: 310 825-2061 Cell: 818 667-2386 |
- [grouper-dev] DDL Script error, Klug, Lawrence, 08/12/2011
- [grouper-dev] RE: DDL Script error, Klug, Lawrence, 08/12/2011
- [grouper-dev] RE: DDL Script error, Chris Hyzer, 08/13/2011
- [grouper-dev] RE: DDL Script error, Klug, Lawrence, 08/15/2011
- [grouper-dev] RE: DDL Script error, Chris Hyzer, 08/13/2011
- [grouper-dev] RE: DDL Script error, Klug, Lawrence, 08/12/2011
Archive powered by MHonArc 2.6.16.