Hi,

I am trying uPortal 4.0.5 on MySQL and I get the following errors, 
found in the attached file, when ruuning the ant initportal command.

Thanks in advance.

Andreas

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev
up-shell:

prodPrompt:

db-hibernate-raw-events:

prodPrompt:

db-hibernate-portal:
     [echo] Creating HBM2DDL Script

up-shell:

prodPrompt:

db-hibernate-aggr-events:

prodPrompt:

db-hibernate-portal:
     [echo] Creating HBM2DDL Script

up-shell:

prodPrompt:

db-import:

prodPrompt:

db-import-required:

prodPrompt:

data-import:
     [echo] Creating Data Import Script

up-shell:

prodPrompt:

db-import-default:

prodPrompt:

data-import:
     [echo] Creating Data Import Script

up-shell:

prodPrompt:

db-import-quickstart:

prodPrompt:

data-import:
     [echo] Creating Data Import Script

up-shell:

up-shell-default:

up-shell:
     [echo] Artifact 
'C:\uportal\uPortal-4.0.5\uportal-search-api\target/uportal-search-api-4.0.5.jar'
 is up-to-date
[artifact:install] [INFO] Installing 
C:\uportal\uPortal-4.0.5\uportal-search-api\target\uportal-search-api-4.0.5.jar 
to C:\Users\Administrat
or\.m2\repository\org\jasig\portal\uportal-search-api\4.0.5\uportal-search-api-4.0.5.jar
     [echo] Artifact 'C:\uportal\uPortal-4.0.5\uportal-war\target/uPortal.war' 
is up-to-date
[artifact:install] [INFO] Installing 
C:\uportal\uPortal-4.0.5\uportal-war\target\uPortal.war to 
C:\Users\Administrator\.m2\repository\org\ja
sig\portal\uportal-war\4.0.5\uportal-war-4.0.5.war
     [copy] Copying 1 file to C:\uportal\uPortal-4.0.5\target
     [java]  INFO Creating new lazily initialized GenericApplicationContext for 
the portal
     [java]  INFO HHH000400: Using dialect: 
org.hibernate.dialect.MySQL5InnoDBDialect
     [java]  INFO HHH000400: Using dialect: 
org.hibernate.dialect.MySQL5InnoDBDialect
     [java]  INFO HHH000400: Using dialect: 
org.hibernate.dialect.MySQL5InnoDBDialect
     [java] ERROR HHH015011: Unable to locate static metamodel field : 
org.jasig.portal.layout.dao.jpa.AbstractStylesheetDataImpl_#entityVer
sion
     [java] ERROR HHH015011: Unable to locate static metamodel field : 
org.jasig.portal.layout.dao.jpa.AbstractStylesheetDataImpl_#entityVer
sion
     [java]  INFO Adding destruction callback singleton for bean 
'scopedTarget.sessionAttributesOverridesMap'
     [java]  WARN The uPortal database is not initialized, the database tests 
will not be performed.
     [java]  INFO Created new lazily initialized GenericApplicationContext for 
the portal in 52213ms
     [java]  INFO
     [java]  INFO
     [java]  INFO Running DbLoader with: 
DbLoaderConfigBuilder[tablesFile=/properties/db/tables.xml,dataFile=/properties/db/data.xml,scriptF
ile=<null>,dropTables=true,createTables=true,populateTables=true]
     [java]  INFO HHH000400: Using dialect: 
org.hibernate.dialect.MySQL5InnoDBDialect
     [java]  INFO Resolved Hibernate Dialect: 
org.hibernate.dialect.MySQL5InnoDBDialect
     [java]  INFO Dropping existing tables
     [java]  INFO drop table if exists UP_USER
     [java]  INFO drop table if exists UP_USER_LOCALE
     [java]  INFO drop table if exists UP_PERMISSION
     [java]  INFO drop table if exists UP_USER_LAYOUT
     [java]  INFO drop table if exists UP_LAYOUT_STRUCT
     [java]  INFO drop table if exists UP_LAYOUT_PARAM
     [java]  INFO drop table if exists UP_SEQUENCE
     [java]  INFO drop table if exists UP_USER_PROFILE
     [java]  INFO drop table if exists UP_GROUP
     [java]  INFO drop table if exists UP_ENTITY_TYPE
     [java]  INFO drop table if exists UP_GROUP_MEMBERSHIP
     [java]  INFO drop table if exists UP_ENTITY_CACHE_INVALIDATION
     [java]  INFO drop table if exists UP_ENTITY_LOCK
     [java]  INFO drop table if exists UP_ENTITY_PROP
     [java]  INFO Creating tables
     [java]  INFO create table UP_USER (USER_ID integer not null, USER_NAME 
varchar(35), USER_DFLT_USR_ID integer, USER_DFLT_LAY_ID integer,
 NEXT_STRUCT_ID integer, LST_CHAN_UPDT_DT datetime, primary key (USER_ID), 
unique (USER_NAME)) ENGINE=InnoDB
     [java]  INFO create table UP_USER_LOCALE (USER_ID integer not null, LOCALE 
varchar(64) not null, PRIORITY integer, primary key (USER_ID
, LOCALE)) ENGINE=InnoDB
     [java]  INFO create table UP_PERMISSION (OWNER varchar(255), 
PRINCIPAL_TYPE integer, PRINCIPAL_KEY varchar(255), ACTIVITY varchar(255),
 TARGET varchar(255), PERMISSION_TYPE varchar(255), EFFECTIVE datetime, EXPIRES 
datetime) ENGINE=InnoDB
     [java]  INFO create table UP_USER_LAYOUT (LAYOUT_ID integer not null, 
USER_ID integer not null, LAYOUT_TITLE varchar(15), INIT_STRUCT_I
D integer, primary key (LAYOUT_ID, USER_ID)) ENGINE=InnoDB
     [java]  INFO create table UP_LAYOUT_STRUCT (USER_ID integer not null, 
LAYOUT_ID integer not null, STRUCT_ID integer not null, NEXT_STRU
CT_ID integer, CHLD_STRUCT_ID integer, EXTERNAL_ID varchar(64), CHAN_ID 
integer, NAME varchar(35), TYPE varchar(35), HIDDEN varchar(1), IMMU
TABLE varchar(1), UNREMOVABLE varchar(1), primary key (LAYOUT_ID, USER_ID, 
STRUCT_ID)) ENGINE=InnoDB
     [java]  INFO create table UP_LAYOUT_PARAM (USER_ID integer not null, 
LAYOUT_ID integer not null, STRUCT_ID integer not null, STRUCT_PAR
M_NM varchar(35) not null, STRUCT_PARM_VAL varchar(2000) not null, primary key 
(USER_ID, LAYOUT_ID, STRUCT_ID, STRUCT_PARM_NM)) ENGINE=InnoD
B
     [java]  INFO create table UP_SEQUENCE (SEQUENCE_NAME varchar(255) not 
null, SEQUENCE_VALUE integer, primary key (SEQUENCE_NAME)) ENGINE
=InnoDB
     [java]  INFO create table UP_USER_PROFILE (USER_ID integer not null, 
PROFILE_ID integer not null, PROFILE_FNAME varchar(50) not null, P
ROFILE_NAME varchar(50), DESCRIPTION varchar(100), LAYOUT_ID integer, 
STRUCTURE_SS_ID integer, THEME_SS_ID integer, primary key (USER_ID, PR
OFILE_ID)) ENGINE=InnoDB
     [java]  INFO create table UP_GROUP (GROUP_ID varchar(240) not null, 
CREATOR_ID varchar(240) not null, ENTITY_TYPE_ID integer not null,
GROUP_NAME varchar(255) not null, DESCRIPTION varchar(255), primary key 
(GROUP_ID)) ENGINE=InnoDB
     [java]  INFO create table UP_ENTITY_TYPE (ENTITY_TYPE_ID integer not null, 
ENTITY_TYPE_NAME varchar(255), DESCRIPTIVE_NAME varchar(255)
, primary key (ENTITY_TYPE_ID), unique (ENTITY_TYPE_NAME)) ENGINE=InnoDB
     [java]  INFO create table UP_GROUP_MEMBERSHIP (GROUP_ID varchar(200) not 
null, MEMBER_SERVICE varchar(80) not null, MEMBER_KEY varchar(
200) not null, MEMBER_IS_GROUP varchar(1) not null, primary key (GROUP_ID, 
MEMBER_SERVICE, MEMBER_KEY, MEMBER_IS_GROUP)) ENGINE=InnoDB
     [java]  INFO create table UP_ENTITY_CACHE_INVALIDATION (ENTITY_TYPE_ID 
integer not null, ENTITY_KEY varchar(240) not null, INVALIDATION
_TIME datetime not null, ENTITY_CACHE_ID integer not null, primary key 
(ENTITY_TYPE_ID, ENTITY_KEY)) ENGINE=InnoDB
     [java]  INFO create table UP_ENTITY_LOCK (ENTITY_TYPE_ID integer not null, 
ENTITY_KEY varchar(240) not null, LOCK_TYPE integer not null
, EXPIRATION_TIME datetime not null, LOCK_OWNER varchar(240) not null, primary 
key (ENTITY_TYPE_ID, ENTITY_KEY, LOCK_OWNER, EXPIRATION_TIME)
) ENGINE=InnoDB
     [java]  INFO create table UP_ENTITY_PROP (ENTITY_TYPE_ID integer not null, 
ENTITY_KEY varchar(255) not null, PROPERTY_NAME varchar(150)
 not null, PROPERTY_VALUE varchar(255), LAST_MODIFIED datetime not null, 
primary key (ENTITY_TYPE_ID, ENTITY_KEY, PROPERTY_NAME)) ENGINE=Inn
oDB
     [java]  INFO create index UPU_DFLT_ID_IDX on UP_USER (USER_DFLT_USR_ID)
     [java]  INFO create index UPPERM_IDX__PETYPE on UP_PERMISSION 
(PERMISSION_TYPE)
     [java]  INFO create index UPPERM_IDX__OWNER on UP_PERMISSION (OWNER)
     [java]  INFO create index UPPERM_IDX__PRKEY on UP_PERMISSION 
(PRINCIPAL_KEY)
     [java]  INFO create index UPPERM_IDX__TARGET on UP_PERMISSION (TARGET)
     [java]  INFO create index UPPERM_IDX__ACTIVITY on UP_PERMISSION (ACTIVITY)
     [java]  INFO create index UPPERM_IDX__PRTYPE on UP_PERMISSION 
(PRINCIPAL_TYPE)
     [java]  INFO create index UPG_GROUP_NAME_IDX on UP_GROUP (GROUP_NAME)
     [java]  INFO Populating database
     [java]  INFO INSERT INTO UP_SEQUENCE (SEQUENCE_NAME, SEQUENCE_VALUE) 
VALUES (?, ?) [UP_GROUP, 10]  [12, 4]
     [java]  INFO
     [java]  INFO
     [java]  INFO HBM2DDL: portalDbHibernateExport
     [java]  INFO HHH000400: Using dialect: 
org.hibernate.dialect.MySQL5InnoDBDialect
     [java] alter table UP_DLM_EVALUATOR_PAREN drop foreign key 
FK389B659CF5644C8E
     [java] ERROR HHH000231: Schema export unsuccessful
     [java] org.hibernate.HibernateException: Error during DDL export
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:423)
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:373)
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:323)
     [java]     at 
org.jasig.portal.tools.dbloader.DataSourceSchemaExport.create(DataSourceSchemaExport.java:76)
     [java]     at 
org.jasig.portal.shell.PortalShellBuildHelper.hibernateCreate(PortalShellBuildHelper.java:112)
     [java]     at 
org.jasig.portal.shell.PortalShellBuildHelper$hibernateCreate.call(Unknown 
Source)
     [java]     at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
     [java]     at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
     [java]     at upshell_1013628000.run(upshell_1013628000.groovy:18)
     [java]     at 
groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:266)
     [java]     at groovy.lang.GroovyShell.run(GroovyShell.java:229)
     [java]     at org.jasig.portal.shell.PortalShell.main(PortalShell.java:84)
     [java] Caused by: 
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 
'uportal.up_dlm_evaluator_paren' doesn't exist
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
     [java]     at com.mysql.jdbc.Util.getInstance(Util.java:386)
     [java]     at 
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
     [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)
     [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)
     [java]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490)
     [java]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)
     [java]     at 
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2677)
     [java]     at 
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1748)
     [java]     at 
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1665)
     [java]     at 
org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
     [java]     at 
org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
     [java]     at 
org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:419)
     [java]     ... 11 more
     [java] create table UP_DLM_EVALUATOR (EVALUATOR_TYPE varchar(31) not null, 
EVALUATOR_ID bigint not null, ENTITY_VERSION bigint, DESCRIP
TION varchar(255), FRAGMENT_NAME varchar(255), OWNER_ID varchar(255), 
PRECEDENCE double precision, ATTRIBUTE_MODE integer, ATTRIBUTE_NAME va
rchar(255), ATTRIBUTE_VALUE varchar(255), EVALUATOR_MODE integer, GROUP_KEY 
varchar(255), GROUP_NAME varchar(255), PROFILE_FNAME varchar(255
), PAREN_TYPE integer, primary key (EVALUATOR_ID)) ENGINE=InnoDB
     [java] create table UP_DLM_EVALUATOR_PAREN (PAREN_EVAL_ID bigint not null, 
CHILD_EVAL_ID bigint not null, EVAL_INDEX integer not null,
primary key (PAREN_EVAL_ID, EVAL_INDEX), unique (CHILD_EVAL_ID)) ENGINE=InnoDB
     [java] create table UP_MESSAGE (ID bigint not null, CODE varchar(128) not 
null, LOCALE varchar(64) not null, VALUE varchar(1024) not nu
ll, primary key (ID), unique (CODE, LOCALE)) ENGINE=InnoDB
     [java] create table UP_MUTEX (MUTEX_ID bigint not null, ENTITY_VERSION 
bigint, LOCK_UPDATE datetime not null, LOCK_END datetime not nul
l, LOCK_START datetime not null, LOCKED boolean not null, MUTEX_NAME 
varchar(200) not null, SERVER_ID varchar(200), primary key (MUTEX_ID),
unique (MUTEX_NAME)) ENGINE=InnoDB
     [java] create table UP_PERMISSION_ACTIVITY (ACTIVITY_ID bigint not null, 
ACTIVITY_DESCRIPTION varchar(255), ENTITY_VERSION bigint, ACTI
VITY_FNAME varchar(128) not null unique, ACTIVITY_NAME varchar(128) not null 
unique, OWNER_TARGET_PROVIDER varchar(255) not null, OWNER_ID b
igint, primary key (ACTIVITY_ID)) ENGINE=InnoDB
     [java] create table UP_PERMISSION_OWNER (OWNER_ID bigint not null, 
OWNER_DESCRIPTION varchar(255), ENTITY_VERSION bigint, OWNER_FNAME v
archar(128) not null, OWNER_NAME varchar(128) not null, primary key (OWNER_ID), 
unique (OWNER_FNAME)) ENGINE=InnoDB
     [java] create table UP_PERSON_ATTR (id integer not null, ENTITY_VERSION 
bigint, ATTR_NAME varchar(255) not null, USER_DIR_ID bigint not
 null, primary key (id)) ENGINE=InnoDB
     [java] create table UP_PERSON_ATTR_VALUES (ATTR_ID integer not null, 
ATTR_VALUE varchar(255), VALUE_ORDER integer not null, primary key
 (ATTR_ID, VALUE_ORDER)) ENGINE=InnoDB
     [java] create table UP_PERSON_DIR (USER_DIR_ID bigint not null, 
ENTITY_VERSION bigint, LST_PSWD_CGH_DT datetime, USER_NAME varchar(35)
not null, ENCRPTD_PSWD varchar(256), primary key (USER_DIR_ID), unique 
(USER_NAME)) ENGINE=InnoDB
     [java] create table UP_PORTAL_COOKIES (PORTAL_COOKIE_ID bigint not null, 
CREATED datetime not null, ENTITY_VERSION bigint, EXPIRES date
time not null, COOKIE_VALUE varchar(100) not null, primary key 
(PORTAL_COOKIE_ID), unique (COOKIE_VALUE)) ENGINE=InnoDB
     [java] create table UP_PORTLET_COOKIES (PORTLET_COOKIE_ID bigint not null, 
COOKIE_COMMENT varchar(1000), COOKIE_DOMAIN varchar(500), EN
TITY_VERSION bigint, EXPIRES datetime not null, COOKIE_NAME varchar(500) not 
null, COOKIE_PATH varchar(1000), SECURE boolean not null, COOKI
E_VALUE varchar(1000) not null, VERSION integer not null, 
portalCookie_PORTAL_COOKIE_ID bigint, PORTAL_COOKIE_ID bigint, primary key 
(PORTLE
T_COOKIE_ID), unique (PORTAL_COOKIE_ID, COOKIE_NAME)) ENGINE=InnoDB
     [java] ERROR HHH000231: Schema export unsuccessful
     [java] org.hibernate.HibernateException: Error during DDL export
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:423)
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:376)
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:323)
     [java]     at 
org.jasig.portal.tools.dbloader.DataSourceSchemaExport.create(DataSourceSchemaExport.java:80)
     [java]     at 
org.jasig.portal.shell.PortalShellBuildHelper.hibernateCreate(PortalShellBuildHelper.java:112)
     [java]     at 
org.jasig.portal.shell.PortalShellBuildHelper$hibernateCreate.call(Unknown 
Source)
     [java]     at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
     [java]     at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
     [java]     at upshell_1013628000.run(upshell_1013628000.groovy:18)
     [java]     at 
groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:266)
     [java]     at groovy.lang.GroovyShell.run(GroovyShell.java:229)
     [java]     at org.jasig.portal.shell.PortalShell.main(PortalShell.java:84)
     [java] Caused by: 
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was 
too long; max key length is 767 bytes
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
     [java]     at com.mysql.jdbc.Util.getInstance(Util.java:386)
     [java]     at 
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
     [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)
     [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)
     [java]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490)
     [java]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)
     [java]     at 
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2677)
     [java]     at 
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1748)
     [java]     at 
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1665)
     [java]     at 
org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
     [java]     at 
org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
     [java]     at 
org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:419)
     [java]     ... 11 more
     [java] Exception in thread "main" java.lang.RuntimeException: db-hibernate 
for portalDbHibernateExport failed
     [java]     at 
org.jasig.portal.shell.PortalShellBuildHelper.hibernateCreate(PortalShellBuildHelper.java:115)
     [java]     at 
org.jasig.portal.shell.PortalShellBuildHelper$hibernateCreate.call(Unknown 
Source)
     [java]     at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
     [java]     at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
     [java]     at upshell_1013628000.run(upshell_1013628000.groovy:18)
     [java]     at 
groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:266)
     [java]     at groovy.lang.GroovyShell.run(GroovyShell.java:229)
     [java]     at org.jasig.portal.shell.PortalShell.main(PortalShell.java:84)
     [java] Caused by: org.hibernate.HibernateException: Error during DDL export
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:423)
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:376)
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:323)
     [java]     at 
org.jasig.portal.tools.dbloader.DataSourceSchemaExport.create(DataSourceSchemaExport.java:80)
     [java]     at 
org.jasig.portal.shell.PortalShellBuildHelper.hibernateCreate(PortalShellBuildHelper.java:112)
     [java]     ... 7 more
     [java] Caused by: 
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was 
too long; max key length is 767 bytes
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     [java]     at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     [java]     at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     [java]     at 
java.lang.reflect.Constructor.newInstance(Constructor.java:513)
     [java]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
     [java]     at com.mysql.jdbc.Util.getInstance(Util.java:386)
     [java]     at 
com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
     [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4096)
     [java]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4028)
     [java]     at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2490)
     [java]     at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)
     [java]     at 
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2677)
     [java]     at 
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1748)
     [java]     at 
com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1665)
     [java]     at 
org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
     [java]     at 
org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
     [java]     at 
org.hibernate.tool.hbm2ddl.DatabaseExporter.export(DatabaseExporter.java:64)
     [java]     at 
org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:419)
     [java]     ... 11 more

BUILD FAILED
C:\uportal\uPortal-4.0.5\build.xml:142: The following error occurred while 
executing this line:
C:\uportal\uPortal-4.0.5\build.xml:148: The following error occurred while 
executing this line:
C:\uportal\uPortal-4.0.5\build.xml:1101: The following error occurred while 
executing this line:
C:\uportal\uPortal-4.0.5\build.xml:865: The following error occurred while 
executing this line:
C:\uportal\uPortal-4.0.5\build.xml:430: The following error occurred while 
executing this line:
C:\uportal\uPortal-4.0.5\build.xml:1278: The following error occurred while 
executing this line:
C:\uportal\uPortal-4.0.5\build.xml:1251: The following error occurred while 
executing this line:
C:\uportal\uPortal-4.0.5\build.xml:1254: The following error occurred while 
executing this line:
C:\uportal\uPortal-4.0.5\build.xml:1281: The following error occurred while 
executing this line:
C:\uportal\uPortal-4.0.5\build.xml:439: Java returned: 1

Total time: 12 minutes 8 seconds

C:\uportal\uPortal-4.0.5>

Reply via email to