求助!weblogic10.3.0升级到10.3.6后项目部署报错
最近要把weblogic服务器从10.3.0升级到10.3.6同时升级JDK,服务器的操作系统是UNIX的,我在测试环境升级完之后,用原来的domain部署项目是没有问题的,但如果用新建的domain部署项目就会报以下错误<Feb 16, 2013 9:38:19 AM GMT+08:00> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLo
aderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defin
ed in URL [file:/tmp/ccicfile/ccic_test/CCICConsole/WEB-INF/classes/spring/applicationContext-dataAccess-hibernate-annotation.xml]
: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: GraphSession.fi
ndActiveNodesByProcessInstance, GraphSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstancesWithProcessName, Gr
aphSession.calculateAverageTimeByNode, GraphSession.findProcessInstanceByKey, GraphSession.findProcessDefinitionByNameAndVersion,
GraphSession.findTokensForProcessInNode, GraphSession.findAllRunningProcessInstancesWithProcessName, GraphSession.findAllRunningPr
ocessInstances, GraphSession.findSubProcessInstances, GraphSession.selectLogsForTokens, TaskMgmtSession.findPooledTaskInstancesByA
ctorId, GraphSession.findAllSwimlaneNames, GraphSession.findTokensForProcessInstance, JobSession.getFirstDueJob, GraphSession.dele
teTaskInstancesById, TaskMgmtSession.findTaskInstancesByActorIds, GraphSession.findAllProcessInstancesForADefinition, TaskMgmtSess
ion.findOpenTasksOfProcessInstance, TaskMgmtSession.findPooledTaskInstancesByActorIds, LoggingSession.findLogsByToken, JobSession.
getFirstAcquirableJob, JobSession.findExclusiveJobs, JobSession.deleteExecuteNodeJobsForProcessInstance, JobSession.deleteTimersFo
rProcessInstance, TaskMgmtSession.findTaskInstancesByProcessInstance, GraphSession.findLatestProcessDefinitionQuery, JobSession.ge
tFirstDueJobExlcMonitoredJobs, TaskMgmtSession.findTaskForNode, GraphSession.findAllProcessInstances, JobSession.getTimersByName,
GraphSession.findAllTokensOfProcessInstance, GraphSession.findAllProcessDefinitions, TaskMgmtSession.findTaskInstancesByActorId, J
obSession.resumeJobs, GraphSession.findTaskInstanceIdsForProcessInstance, GraphSession.findAllProcessDefinitionVersions, TaskMgmtS
ession.findTaskInstancesByTokenId, JobSession.suspendJobs, TaskMgmtSession.findTaskInstancesByIds.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [file:/tmp/
ccicfile/ccic_test/CCICConsole/WEB-INF/classes/spring/applicationContext-dataAccess-hibernate-annotation.xml]: Invocation of init
method failed; nested exception is org.hibernate.HibernateException: Errors in named queries: GraphSession.findActiveNodesByProces
sInstance, GraphSession.deleteJobsForProcessInstance, GraphSession.findAllProcessInstancesWithProcessName, GraphSession.calculateA
verageTimeByNode, GraphSession.findProcessInstanceByKey, GraphSession.findProcessDefinitionByNameAndVersion, GraphSession.findToke
nsForProcessInNode, GraphSession.findAllRunningProcessInstancesWithProcessName, GraphSession.findAllRunningProcessInstances, Graph
Session.findSubProcessInstances, GraphSession.selectLogsForTokens, TaskMgmtSession.findPooledTaskInstancesByActorId, GraphSession.
findAllSwimlaneNames, GraphSession.findTokensForProcessInstance, JobSession.getFirstDueJob, GraphSession.deleteTaskInstancesById,
TaskMgmtSession.findTaskInstancesByActorIds, GraphSession.findAllProcessInstancesForADefinition, TaskMgmtSession.findOpenTasksOfPr
ocessInstance, TaskMgmtSession.findPooledTaskInstancesByActorIds, LoggingSession.findLogsByToken, JobSession.getFirstAcquirableJob
, JobSession.findExclusiveJobs, JobSession.deleteExecuteNodeJobsForProcessInstance, JobSession.deleteTimersForProcessInstance, Tas
kMgmtSession.findTaskInstancesByProcessInstance, GraphSession.findLatestProcessDefinitionQuery, JobSession.getFirstDueJobExlcMonit
oredJobs, TaskMgmtSession.findTaskForNode, GraphSession.findAllProcessInstances, JobSession.getTimersByName, GraphSession.findAllT
okensOfProcessInstance, GraphSession.findAllProcessDefinitions, TaskMgmtSession.findTaskInstancesByActorId, JobSession.resumeJobs,
GraphSession.findTaskInstanceIdsForProcessInstance, GraphSession.findAllProcessDefinitionVersions, TaskMgmtSession.findTaskInstan
cesByTokenId, JobSession.suspendJobs, TaskMgmtSession.findTaskInstancesByIds
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBean
Factory.java:1175)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFact
ory.java:427)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:1
55)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
Truncated. see log file for complete stacktrace
Caused By: org.hibernate.HibernateException: Errors in named queries: GraphSession.findActiveNodesByProcessInstance, GraphSession.
deleteJobsForProcessInstance, GraphSession.findAllProcessInstancesWithProcessName, GraphSession.calculateAverageTimeByNode, GraphS
ession.findProcessInstanceByKey, GraphSession.findProcessDefinitionByNameAndVersion, GraphSession.findTokensForProcessInNode, Grap
hSession.findAllRunningProcessInstancesWithProcessName, GraphSession.findAllRunningProcessInstances, GraphSession.findSubProcessIn
stances, GraphSession.selectLogsForTokens, TaskMgmtSession.findPooledTaskInstancesByActorId, GraphSession.findAllSwimlaneNames, Gr
aphSession.findTokensForProcessInstance, JobSession.getFirstDueJob, GraphSession.deleteTaskInstancesById, TaskMgmtSession.findTask
InstancesByActorIds, GraphSession.findAllProcessInstancesForADefinition, TaskMgmtSession.findOpenTasksOfProcessInstance, TaskMgmtS
ession.findPooledTaskInstancesByActorIds, LoggingSession.findLogsByToken, JobSession.getFirstAcquirableJob, JobSession.findExclusi
veJobs, JobSession.deleteExecuteNodeJobsForProcessInstance, JobSession.deleteTimersForProcessInstance, TaskMgmtSession.findTaskIns
tancesByProcessInstance, GraphSession.findLatestProcessDefinitionQuery, JobSession.getFirstDueJobExlcMonitoredJobs, TaskMgmtSessio
n.findTaskForNode, GraphSession.findAllProcessInstances, JobSession.getTimersByName, GraphSession.findAllTokensOfProcessInstance,
GraphSession.findAllProcessDefinitions, TaskMgmtSession.findTaskInstancesByActorId, JobSession.resumeJobs, GraphSession.findTaskIn
stanceIdsForProcessInstance, GraphSession.findAllProcessDefinitionVersions, TaskMgmtSession.findTaskInstancesByTokenId, JobSession
.suspendJobs, TaskMgmtSession.findTaskInstancesByIds
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:407)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
Truncated. see log file for complete stacktrace
>
我在百度和谷歌搜了一下,好像跟jar报冲突有关,我也试了下那些解决方法,比如<container-descriptor><prefer-web-inf-classes>true</prefer-web-inf-classes></container-descriptor>
、修改启动参数等等,但都没效果还是会报错,报其他错,我现在怀疑跟JDK有关,原本用的是weblogic自带的java6_64sr4这个JDK,现在换成JDK1.6.0.24的了,不知道是哪的问题,搞得我很头痛,各位大神们有没有解决办法啊? weblogic jdk spring
补充:企业软件 , 中间件