起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 100|回复: 4

tomcat启动错误:Unsuccessful: alter table node add constraint

[复制链接]
发表于 2009-10-10 14:25:09 | 显示全部楼层 |阅读模式
文件alfresco.log如下:
11:19:11,953 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table node add constraint FK33AE02D24ADD25 foreign key (protocol, identifier) references store
11:19:11,953 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] ORA-02275: such a referential constraint already exists in the table

11:19:11,953 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table node_perm_entry add constraint FKCFE31CC05A6A54C3 foreign key (typeUri, typeName, name) references permission_ref
11:19:11,953 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] ORA-02275: such a referential constraint already exists in the table

11:19:11,953 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table node_perm_entry add constraint FKCFE31CC0DBBED737 foreign key (recipient) references recipient
11:19:11,953 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] ORA-02275: such a referential constraint already exists in the table

11:19:15,406 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply ...
11:19:15,437 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
11:19:15,453 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_04-b05; maximum heap size 1016.125MB
11:19:15,453 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Open Source) - v1.2.0 (RC2); repository v1.2.0 (RC2); schema 5


系统能运行,但tomcat报错总还是不正常,该如何修正这个错误呢?
回复

使用道具 举报

发表于 2009-10-10 14:30:15 | 显示全部楼层
应该是文档服务器在修改相关表时出错了。
您使用了文档服务吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-10 15:25:15 | 显示全部楼层
我没有使用文档服务。配置服务器时,默认连接的是业务系统数据库。这种错误该如何修正呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-10-10 16:00:56 | 显示全部楼层
请版主看看该如何处理?
回复 支持 反对

使用道具 举报

发表于 2009-10-10 17:03:36 | 显示全部楼层
那就先移除文档服务。 TOMCAT\webapps下的transfile文件夹移到别的目录
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-7-15 10:26 , Processed in 0.037246 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表