I can not deploy alfresco 2.0 & 2.1 (tried both) on Weblogic server 10. When I try to deploy it gives the following exception:
<Nov 2, 2007 2:18:00 PM EET> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schemaBootstrap' defined in class path resource [alfresco/bootstrap-context.xml]: Can't resolve reference to bean '&sessionFactory' while setting property 'localSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Initialization of bean failed; nested exception is org.hibernate.HibernateException: Errors in named queries: HistoryLink.ByAncestor, VersionRoot.GetVersionRoot, GraphSession.findAllProcessDefinitionVersions, AVMNode.GetNewInStore, node.GetNodesWithPropertyValuesByActualType, audit.GetLatestAuditDate, MessagingSession.resumeMessagesForToken, GraphSession.selectLogsForTokens, txn.GetLastTxnIdForStore, GraphSession.findTokensForProcessInstance, MessagingSession.findMessages, MergeLink.ByFrom, MessagingSession.suspendMessagesForToken, node.GetChildAssocRefsByQName, node.GetChildAssocRefs, SchedulerSession.resumeTimersForToken, node.GetPrimaryChildNodeStatuses, FindOrphans, GraphSession.findAllProcessInstancesForADefinition, PlainFileNode.GetContentUrls, audit.GetAuditSourceByApplication, node.GetTargetAssocs, GraphSession.findTaskInstanceIdsForProcessInstance, store.GetAllStores, node.GetNodeAssoc, VersionRoot.VersionByID, TaskMgmtSession.findPooledTaskInstancesByActorIds, GraphSession.findLatestProcessDefinitionQuery, txn.GetLastTxnId, txn.GetTxnChanges, node.GetChildAssocByTypeAndName, server.getServerByIpAddress, txn.GetNextTxns, SchedulerSession.findTimersByDueDate, txn.GetNextRemoteTxns, GraphSession.deleteMessagesForToken, patch.GetAppliedPatchesByDate, patch.GetAllAppliedPatches, txn.GetTxnChangesForStore, SchedulerSession.findTimersByName, AVMNode.GetMergedTo, node.GetSourceAssocs, permission.GetAccessControlEntriesForAuthority, GraphSession.deleteTaskInstancesById, audit.GetAuditTrailForNode, node.GetChildAssocsByAll, permission.patch.GetAccessControlEntriesToChangePermissionOn, permission.GetPermission, TaskMgmtSession.findTaskInstancesByIds, SchedulerSession.findSuspendedTimers, LoggingSession.findLogsByToken, node.GetNodeAssocsToAndFrom, TaskMgmtSession.findTaskInstancesByActorId, AVMNode.GetDescendents, TaskMgmtSession.findPooledTaskInstancesByActorId, audit.GetLatestAuditConfig, TaskMgmtSession.findTaskInstancesByTokenId, SchedulerSession.suspendTimersForToken, node.GetChildAssocs, txn.CountTransactions, GraphSession.findProcessDefinitionByNameAndVersion, node.patch.GetNodesWithPersistedSerializableProperties, node.updateChildAssocName, MessagingSession.findErrorMessages, SchedulerSession.deleteTimersForProcessInstance, txn.GetTxnUpdateCountForStore, node.patch.GetAssocsAndChildNames, SchedulerSession.findFailedTimers, ChildEntry.DeleteByParent, audit.GetAuditSourceByApplicationServiceMethod, TaskMgmtSession.findTaskInstancesByActorIds, txn.GetTxnDeleteCountForStore, GraphSession.findAllProcessDefinitions.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schemaBootstrap' defined in class path resource [alfresco/bootstrap-context.xml]: Can't resolve reference to bean '&sessionFactory' while setting property 'localSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [alfresco/hibernate-context.xml]: Initialization of bean failed; nested exception is org.hibernate.HibernateException: Errors in named queries: HistoryLink.ByAncestor, VersionRoot.GetVersionRoot, GraphSession.findAllProcessDefinitionVersions, AVMNode.GetNewInStore, node.GetNodesWithPropertyValuesByActualType, audit.GetLatestAuditDate, MessagingSession.resumeMessagesForToken, GraphSession.selectLogsForTokens, txn.GetLastTxnIdForStore, GraphSession.findTokensForProcessInstance, MessagingSession.findMessages, MergeLink.ByFrom, MessagingSession.suspendMessagesForToken, node.GetChildAssocRefsByQName, node.GetChildAssocRefs, SchedulerSession.resumeTimersForToken, node.GetPrimaryChildNodeStatuses, FindOrphans, GraphSession.findAllProcessInstancesForADefinition, PlainFileNode.GetContentUrls, audit.GetAuditSourceByApplication, node.GetTargetAssocs, GraphSession.findTaskInstanceIdsForProcessInstance, store.GetAllStores, node.GetNodeAssoc, VersionRoot.VersionByID, TaskMgmtSession.findPooledTaskInstancesByActorIds, GraphSession.findLatestProcessDefinitionQuery, txn.GetLastTxnId, txn.GetTxnChanges, node.GetChildAssocByTypeAndName, server.getServerByIpAddress, txn.GetNextTxns, SchedulerSession.findTimersByDueDate, txn.GetNextRemoteTxns, GraphSession.deleteMessagesForToken, patch.GetAppliedPatchesByDate, patch.GetAllAppliedPatches, txn.GetTxnChangesForStore, SchedulerSession.findTimersByName, AVMNode.GetMergedTo, node.GetSourceAssocs, permission.GetAccessControlEntriesForAuthority, GraphSession.deleteTaskInstancesById, audit.GetAuditTrailForNode, node.GetChildAssocsByAll, permission.patch.GetAccessControlEntriesToChangePermissionOn, permission.GetPermission, TaskMgmtSession.findTaskInstancesByIds, SchedulerSession.findSuspendedTimers, LoggingSession.findLogsByToken, node.GetNodeAssocsToAndFrom, TaskMgmtSession.findTaskInstancesByActorId, AVMNode.GetDescendents, TaskMgmtSession.findPooledTaskInstancesByActorId, audit.GetLatestAuditConfig, TaskMgmtSession.findTaskInstancesByTokenId, SchedulerSession.suspendTimersForToken, node.GetChildAssocs, txn.CountTransactions, GraphSession.findProcessDefinitionByNameAndVersion, node.patch.GetNodesWithPersistedSerializableProperties, node.updateChildAssocName, MessagingSession.findErrorMessages, SchedulerSession.deleteTimersForProcessInstance, txn.GetTxnUpdateCountForStore, node.patch.GetAssocsAndChildNames, SchedulerSession.findFailedTimers, ChildEntry.DeleteByParent, audit.GetAuditSourceByApplicationServiceMethod, TaskMgmtSession.findTaskInstancesByActorIds, txn.GetTxnDeleteCountForStore, GraphSession.findAllProcessDefinitions
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:180)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1013)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)
I cannot find any reason for this exception. please help!