Friday, July 16, 2010

Jahia 6.1 in RAD 7.5 on WAS 6.1 - connecting to CVS

When you run a jahia 6.1 project in RAD 7.5, and publish this project directly to a websphere application server 6.1 test server, it gives errors when your project is connected to CVS.

It starts with a trace like this:


[16/07/10 10:26:14:219 CEST] 0000001d SystemOut     O 2010-07-16 10:26:14,218: INFO  [GroovyEventListener] - Listener initialized with listener file name 'EventListener.groovy' and default listener file path 'events/EventListener.groovy'
[16/07/10 10:26:14:607 CEST] 0000001d SystemOut     O 2010-07-16 10:26:14,605: ERROR [NodeTypeRegistry] - Array index out of range: 1
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
at org.jahia.services.content.nodetypes.NodeTypeRegistry.(NodeTypeRegistry.java:66)

then, jahia goes on initializing, a few pages later you get this:

[16/07/10 10:26:23:737 CEST] 0000001d SystemOut     O 2010-07-16 10:26:23,736: ERROR [ContextLoader] - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'VersionService' defined in ServletContext resource [/WEB-INF/etc/spring/applicationcontext-services.xml]: Invocation of init method failed; nested exception is java.lang.StringIndexOutOfBoundsException

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)

Then the beautiful jahia ascii art shows up, to finish with this fatal message:


[16/07/10 10:26:25:076 CEST] 0000001d SystemOut     O 2010-07-16 10:26:25,075: ERROR [JCRStoreProvider] - Repository init error

java.lang.IllegalStateException: repository instance has been shut down



The solution to these errors was to disconnect the project from CVS


and to make sure the cvs resources were deleted



No comments:

Post a Comment