AnsweredAssumed Answered

Install on OC4J with Oracle - springframework ?

Question asked by schumhan on Feb 17, 2006
Hi,
I would like to install Alfresco in OC4J and access to Oracle XE. I changed the hibernate dialect and the entries for JDBC database. Within the deployment the tables were created. So far not bad. BUT: The deployment process never ends and in the log I found a bunch of error messages about springframework. Maybe someone had the same or at least know more than me what to do. Thx you so much for any help and have a nice weekend
Juergen


Could not retrieve remote events: Error deserializing return-value: org.springframework.beans.factory.BeanCreationException; nested exception is:
   java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanCreationException
java.rmi.UnmarshalException: Error deserializing return-value: org.springframework.beans.factory.BeanCreationException; nested exception is:
   java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanCreationException
   at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:110)
   at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:128)
   at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:472)
   at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:416)
   at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
   at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
   at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
   at __Proxy2.getEvents(Unknown Source)
   at oracle.oc4j.admin.jmx.client.MBeanServerEjbRemoteSynchronizer.getEvents(MBeanServerEjbRemoteSynchronizer.java:530)
   at oracle.oc4j.admin.jmx.client.CoreRemoteMBeanServer.getEvents(CoreRemoteMBeanServer.java:311)
   at oracle.oc4j.admin.jmx.client.EventManager.run(EventManager.java:199)
   at oracle.oc4j.admin.jmx.client.ThreadPool$ConfigurableThreadImpl.run(ThreadPool.java:295)
Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.BeanCreationException
   at com.evermind.server.rmi.RMIClassLoader.findClass(RMIClassLoader.java:54)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:242)
   at com.evermind.io.ClassLoaderObjectInputStream.resolveClass(ClassLoaderObjectInputStream.java:33)
   at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
   at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
   at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:468)
   at javax.management.Notification.readObject(Notification.java:350)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:919)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1813)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
   at com.evermind.server.rmi.RMIProtocol$Version.unmarshallParameterDirectly(RMIProtocol.java:402)
   at com.evermind.server.rmi.RMIProtocol$Version_1_0.unmarshallParameter(RMIProtocol.java:471)
   at com.evermind.server.rmi.RMIProtocol.readObject(RMIProtocol.java:80)
   at com.evermind.server.rmi.RMIProtocol.readValue(RMIProtocol.java:161)
   at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:794)
   at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:242)
   at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:197)
   at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:179)
   at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:154)
   at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:126)
   at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:105)
   at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
   at java.lang.Thread.run(Thread.java:595)

and one more:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'descriptorComponent' defined in class path resource [alfresco/core-services-context.xml]: Can't resolve reference to bean 'systemBootstrap' while setting property 'systemBootstrap'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeIndexer' defined in class path resource [alfresco/node-services-context.xml]: Can't resolve reference to bean 'indexerComponent' while setting property 'indexer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.repo.search.IndexerComponent#2cd10d' defined in class path resource [alfresco/core-services-context.xml]: Can't resolve reference to bean 'indexerAndSearcherFactory' while setting property 'indexerAndSearcherFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Can't resolve reference to bean 'luceneIndexerAndSearcherFactory' while setting property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'luceneIndexerAndSearcherFactory' defined in class path resource [alfresco/core-services-context.xml]: Can't resolve reference to bean 'nodeService' while setting property 'nodeService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeService' defined in class path resource [alfresco/node-services-context.xml]: Can't resolve reference to bean 'dbNodeService' while setting property 'defaultBinding'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.alfresco.repo.node.db.DbNodeServiceImpl#22d561' defined in class path resource [alfresco/node-services-context.xml]: Can't resolve reference to bean 'nodeDaoService' while setting property 'constructor argument'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDaoService' defined in class path resource [alfresco/node-services-context.xml]: Can't resolve reference to bean 'nodeDaoServiceImpl' while setting property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeDaoServiceImpl' defined in class path resource [alfresco/node-services-context.xml]: Can't resolve reference to bean 'sessionFactory' while setting property 'sessionFactory'; 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: node.GetChangedNodeStatuses, patch.GetAppliedPatchesByDate, patch.GetAllAppliedPatches, node.GetNodeAssocSources, permission.patch.UpdatePermissionEntryTypeName, node.GetNodeAssocTargets, node.GetNextChangeTxnIds, store.GetAllStores, permission.GetPermissionsForRecipient, node.patch.GetNodesWithPersistedSerializableProperties, node.GetChangedNodeStatusesCount, node.GetNodeAssoc

Outcomes