When I test 3.2.3, I found there are error for import documentation item to DB project(in MySQL").

aquahellishΛογισμικό & κατασκευή λογ/κού

13 Δεκ 2013 (πριν από 3 χρόνια και 4 μήνες)

144 εμφανίσεις


1.

When I test 3.2.3, I found there are error for import documentation item to DB project(in MySQL").


need fix later.


org.talend.commons.exception.PersistenceException: org.eclipse.emf.teneo.hibernate.HbMapperException: Exception when
saving resource DataS
tore


at org.talend.repository.databaseprovider.DatabaseRepositoryFactory.saveResource(Unknown Source)


at org.talend.repository.databaseprovider.DatabaseRepositoryFactory.create(Unknown Source)


at org.talend.repository.remoteprovider.RemoteRepositoryFact
ory.create(Unknown Source)


at org.talend.repository.model.ProxyRepositoryFactory.create(Unknown Source)


at org.talend.repository.model.ProxyRepositoryFactory.create(Unknown Source)


at org.talend.repository.localprovider.imports.ImportItemUtil.importItem
Record(Unknown Source)


at org.talend.repository.localprovider.imports.ImportItemUtil.access$2(Unknown Source)


at org.talend.repository.localprovider.imports.ImportItemUtil$1.run(Unknown Source)


at org.talend.repository.RepositoryWorkUnit.executeRun(Unkn
own Source)


at org.talend.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(Unknown Source)


at org.talend.repository.remoteprovider.RemoteRepositoryFactory.executeRepositoryWorkUnit(Unknown Source)


at org.talend.repository.model.Proxy
RepositoryFactory.executeRepositoryWorkUnit(Unknown Source)


at org.talend.repository.localprovider.imports.ImportItemUtil.importItemRecords(Unknown Source)


at org.talend.repository.localprovider.imports.ImportItemWizardPage$21.run(Unknown Source)


at org
.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Caused by: org.eclipse.emf.teneo.hibernate.HbMapperException: Exception when saving resource DataStore


at org.eclipse.emf.teneo.hibernate.resource.HibernateResource.saveRe
source(Unknown Source)


at org.eclipse.emf.teneo.resource.StoreResource.save(Unknown Source)


... 15 more

Caused by: org.hibernate.exception.GenericJDBCException: could not insert: [ByteArray]


at org.hibernate.exception.SQLStateConverter.handledNonSpecifi
cException(SQLStateConverter.java:103)


at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)


at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)


at org.hibernate.id.insert.AbstractReturningDelega
te.performInsert(AbstractReturningDelegate.java:40)


at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2093)


at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2573)


a
t org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:47)


at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)


at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventL
istener.java:290)


at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:180)


at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108)


at
org.hibernate.event.de
f.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEvent
Listener.java:186)


at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)


at
org.hibernate.event.d
ef.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java
:98)


at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)


at org.hibernate.impl.SessionImpl.fireS
aveOrUpdate(SessionImpl.java:507)


at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)


at org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218)


at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268)


at org.hib
ernate.engine.Cascade.cascadeAssociation(Cascade.java:216)


at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)


at org.hibernate.engine.Cascade.cascade(Cascade.java:130)


at org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave
(AbstractSaveEventListener.java:412)


at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:261)


at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:180)


at
org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:108)


at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEvent
Listener.java:186)


at
org.hiberna
te.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175)


at
org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java
:98)


at
org.hibernate.event.de
f.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)


at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)


at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)


at org.hibernate.en
gine.CascadingAction$1.cascade(CascadingAction.java:218)


at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268)


at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216)


at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169
)


at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:296)


at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:242)


at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:219)


at org.hibernate.engine.Cascade.casca
deProperty(Cascade.java:169)


at org.hibernate.engine.Cascade.cascade(Cascade.java:130)


at org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:131)


at org.hibernate.event.def.AbstractFlushingEventListen
er.prepareEntityFlushes(AbstractFlushingEventListener.java:122)


at
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:65)


at org.hibernate.event.def.DefaultFlushEventListener.onFlush(Defau
ltFlushEventListener.java:26)


at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)


... 17 more

Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (1167038 > 1048576). You can change this
value on the server by settin
g the max_allowed_packet' variable.


at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3068)


at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1834)


at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1976)


at com.mysql.jdbc.ConnectionImpl.execSQL(Connecti
onImpl.java:2503)


at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1737)


at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2022)


at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:19
40)


at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1925)


at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)


at org.hibernate.id.IdentityGenerator$GetGeneratedKeysDelegate.exe
cuteAndExtract(IdentityGenerator.java:73)


at org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:33)


... 59 more


2.

when migrate 3.2.3 to 4.0.0RC2, I got the following error .


I think,
need fix later.


org.hibern
ate.MappingException: Property path [ExecutionTask.branch] does not reference a collection









at
org.hibernate.criterion.AbstractEmptinessExpression.getQueryableCollection(AbstractEmptinessExpression.java:61)









at org.hibernate.criterion.Abstrac
tEmptinessExpression.toSqlString(AbstractEmptinessExpression.java:40)









at org.hibernate.loader.criteria.CriteriaQueryTranslator.getWhereCondition(CriteriaQueryTranslator.java:334)









at org.hibernate.loader.criteria.CriteriaJoinWalker.<init>(Cr
iteriaJoinWalker.java:82)









at org.hibernate.loader.criteria.CriteriaLoader.<init>(CriteriaLoader.java:68)









at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1550)









at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)









at org.talend.migration.SchedulerMigration.updateBranchColumn(Unknown Source)









at org.talend.migration.SchedulerMigration.start(Unknown Source)









at org.talend.migration.DatabaseSchemaMigrationApplication.start(Unknown Source)









at

org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)









at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)









at org.eclipse.core.runtime.internal.adaptor.Eclip
seAppLauncher.start(EclipseAppLauncher.java:79)









at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)









at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)









at sun.reflect.NativeMet
hodAccessorImpl.invoke0(Native Method)









at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)









at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)









at java.lang.reflect.Me
thod.invoke(Method.java:585)









at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)









at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)









at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

Migration task do
ne: QuartzJobConductorGroups: Quartz groups updated from 'DEFAULT' to 'JOB_CONDUCTOR'


3.

when I test 3.2.3 for db project,
sometime

I got this error also.


org.hibernate.SessionException: Session is closed!

at org.hibernate.impl.AbstractSessionImpl.errorIfCl
osed(AbstractSessionImpl.java:49)

at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:874)

at org.hibernate.impl.SessionImpl.load(SessionImpl.java:795)

at org.talend.repository.databaseprovider.DatabaseRepositoryFactory.getItemFromResource(Unknown
Source)

at org.talend.repository.databaseprovider.DatabaseRepositoryFactory.getStatus(Unknown Source)

at org.talend.repository.remoteprovider.RemoteRepositoryFactory.getStatus(Unknown Source)

at org.talend.repository.model.ProxyRepositoryFactory.getStatus(
Unknown Source)

at org.talend.repository.model.ProxyRepositoryFactory.getStatus(Unknown Source)

at org.talend.repository.model.ProjectRepositoryNode.addNode(Unknown Source)

at org.talend.repository.model.ProjectRepositoryNode.convert(Unknown Source)

at org
.talend.repository.model.ProjectRepositoryNode.initializeChildren(Unknown Source)

at org.talend.repository.model.ProjectRepositoryNode.initializeChildren(Unknown Source)

at org.talend.repository.ui.views.RepositoryContentProvider.getChildren(Unknown Source
)

at org.talend.repository.ui.views.RepositoryContentProvider.hasChildren(Unknown Source)

at org.eclipse.jface.viewers.AbstractTreeViewer.isExpandable(AbstractTreeViewer.java:2076)



4.

After migration 3.2.3 to 4.0.0RC2,

sometime

I can't login TAC use "admin"

account, after db migration. I
research that, there are two admin account in the "user" table.

and I can logon the db project or svn project to use other account which I created. it's ok.



5.

After DB migration, maybe need update
the

license also.
F
or examp
le, from 3.2.3 to 4.0.0RC2, the old
license is not valid.
(
this should be normal.
)


6.

If there are more job in your old project, when login, the
“Connection add unique name”

migration
task will spend more time to do.


W
hen I test the demo jobs, it will spend

me 5
-
10

min at least.

(
maybe
,

need improve something
)