Jack Rabbit upgrade from 1.3 to 1.4, NO DEAL

I attempted to upgrade from current version 1.3 to 1.4. Upgrade was smooth and looked ok prima facie but soon we discovered our document uploads and downloads were failing miserably with all kinds of exceptions.

How to roll back (back to 1.3)

1. Rollback your jars (if you use maven, just change the version in POM)
2. If you can afford to recreate the repository, easiest and cleanest way
3. Try to restore the backup. If you dont have one, then 1 is your only option.

Exception:
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at org.apache.jackrabbit.core.value.BLOBInTempFile.getStream(BLOBInTempFile.java:145)
at org.apache.jackrabbit.core.value.InternalValue.toJCRValue(InternalValue.java:366)
at org.apache.jackrabbit.core.PropertyImpl.getValue(PropertyImpl.java:466)
at org.apache.jackrabbit.core.PropertyImpl.getStream(PropertyImpl.java:479)
at com.thed.repository.RepositoryManagerImpl.getCurrentRepositoryObject(RepositoryManagerImpl.java:348)
at com.thed.server.servlet.DocumentDownloadServlet.doPost(DocumentDownloadServlet.java:115)
at com.thed.server.servlet.DocumentDownloadServlet.doGet(DocumentDownloadServlet.java:65)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:173)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:613)

Advertisements

~ by sxm20 on January 24, 2008.

One Response to “Jack Rabbit upgrade from 1.3 to 1.4, NO DEAL”

  1. I’m sorry about the problem. We’ve seen this in a few cases, and there is a workaround with the following system property setting: -Dorg.jackrabbit.useDataStore=false.

    We will likely do a 1.4.1 patch release next week to fix this issue.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: