Hi Stefan,
I updated the PM and it is working now.
Thank you very much.....
Cheers,
Anilk.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stefan Guggisberg
Sent: Wednesday, June 04, 2008 7:29 PM
To: [email protected]
Subject: Re: Jackrabbit Server version change
(javax.jcr.ItemNotFoundException)
On Wed, Jun 4, 2008 at 3:02 PM, Anil K. Kotha <[EMAIL PROTECTED]> wrote:
> Hi Stefan,
> I have attached the configuration files.
> Repository.xml is the config file of 1.2.3 version.
> Repositoryfor1.4.xml is config file of 1.4 version.
ok, so the configuration *did* change (you switched from the 'simple' db
pm
to the 'bundle' db pm).
that's not gonna work since the pm's don't automagically migrate data.
you have 2 options:
- change your new configuration (repository.xml & workspace.xml files)
to use the 'old' pm (compare the <PersistenceManager/> entries and
you'll get the idea). i haven't tried it but i guess it should work.
- if you want to use the new bundle pm you have to migrate the data.
AFAIK there's currently no tool available that does this but it should
be relatively straight forward to write some custom code.
cheers
stefan
>
> I also attached the server startup log.
>
> Thanks,
> Anilk.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Stefan Guggisberg
> Sent: Wednesday, June 04, 2008 5:18 PM
> To: [email protected]
> Subject: Re: Jackrabbit Server version change
> (javax.jcr.ItemNotFoundException)
>
> On Tue, Jun 3, 2008 at 11:33 AM, Anil K. Kotha <[EMAIL PROTECTED]>
> wrote:
>> Hi Stefan,
>> Any idea how to solve this issue...
>
> as i told you in my previous post:
>
> could you please post your exact configuration?
> and please provide the relevant log entries of the server-side
> jackrabbit log,
>
> cheers
> stefan
>
>>
>> Also please let me know if I have to change any config files
to
>> upgrade from 1.2.3 to 1.4
>>
>>
>>
>> Thanks,
>> Anilk.
>>
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
>> On Behalf Of Stefan Guggisberg
>> Sent: Sunday, May 25, 2008 2:00 PM
>> To: [email protected]
>> Subject: Re: Jackrabbit Server version change
>> (javax.jcr.ItemNotFoundException)
>>
>> On Sat, May 24, 2008 at 8:07 AM, Anil K. Kotha <[EMAIL PROTECTED]>
>> wrote:
>>> Hi All,
>>>
>>> Previously I am using jackrabbit 1.2.3 and now I updated
> it
>>> to 1.4
>>>
>>>
>>>
>>> When I updated to 1.4 it is giving a exception saying
>>> version_names table not found. So I have created the table in the
>>> version/db of Derby database.
>>
>> did you modify your configuration? if yes, what exactly did you
> modify?
>>
>> cheers
>> stefan
>>
>>>
>>>
>>>
>>> When I try point to the existing repository and try to
>>> access a Node it is giving the following exception.
>>>
>>>
>>>
>>> Please help to solve the issue.
>>>
>>>
>>>
>>> Thanks in advance.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> javax.jcr.ItemNotFoundException:
e933c9d0-a056-49a0-8f9f-dd32bc40a6ae
>>>
>>> at
>>>
org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException(
>>>
>>> ServerObject.java:112)
>>>
>>> at
>>>
org.apache.jackrabbit.rmi.server.ServerNode.getVersionHistory(ServerN
>>>
>>> ode.java:473)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>>>
>>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
>>>
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>> Source)
>>>
>>> at java.lang.reflect.Method.invoke(Unknown Source)
>>>
>>> at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
>>>
>>> at sun.rmi.transport.Transport$1.run(Unknown Source)
>>>
>>> at java.security.AccessController.doPrivileged(Native Method)
>>>
>>> at sun.rmi.transport.Transport.serviceCall(Unknown Source)
>>>
>>> at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
>>> Source)
>>>
>>> at
>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Sour
>>>
>>> ce)
>>>
>>> at java.lang.Thread.run(Unknown Source)
>>>
>>> at
>>>
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknow
>>>
>>> n Source)
>>>
>>> at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown
>>> Source)
>>>
>>> at sun.rmi.server.UnicastRef.invoke(Unknown Source)
>>>
>>> at
>>>
org.apache.jackrabbit.rmi.server.ServerNode_Stub.getVersionHistory(Un
>>>
>>> known Source)
>>>
>>> at
>>>
org.apache.jackrabbit.rmi.client.ClientNode.getVersionHistory(ClientN
>>>
>>> ode.java:572)
>>>
>>> at
>>> com.aklero.cms.JRCMSSystem.getLatestDocument(JRCMSSystem.java:521)
>>>
>>> at
>>> com.aklero.cms.JRCMSSystem.getLatestDocument(JRCMSSystem.java:609)
>>>
>>> at
>>>
com.aklero.webapp.supervisor.action.ViewPDFAction.handleRequestAction
>>>
>>> (ViewPDFAction.java:56)
>>>
>>> at
>>>
com.aklero.common.base.webapp.sprmvc.action.BaseAction.handleRequest(
>>>
>>> BaseAction.java:48)
>>>
>>> at
>>>
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.ha
>>>
>>> ndle(SimpleControllerHandlerAdapter.java:45)
>>>
>>> at
>>>
org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch
>>>
>>> erServlet.java:820)
>>>
>>> at
>>>
org.springframework.web.servlet.DispatcherServlet.doService(Dispatche
>>>
>>> rServlet.java:755)
>>>
>>> at
>>>
org.springframework.web.servlet.FrameworkServlet.processRequest(Frame
>>>
>>> workServlet.java:396)
>>>
>>> at
>>>
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServ
>>>
>>> let.java:360)
>>>
>>> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>
>>> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>>>
>>> at
>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>
>>> icationFilterChain.java:252)
>>>
>>> at
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>
>>> ilterChain.java:173)
>>>
>>> at
>>>
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
>>>
>>> lter.java:96)
>>>
>>> at
>>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
>>>
>>> icationFilterChain.java:202)
>>>
>>> at
>>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
>>>
>>> ilterChain.java:173)
>>>
>>> at
>>>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
>>>
>>> alve.java:213)
>>>
>>> at
>>>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
>>>
>>> alve.java:178)
>>>
>>> at
>>>
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
>>>
>>> yAssociationValve.java:175)
>>>
>>> at
>>>
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
>>>
>>> e.java:74)
>>>
>>> at
>>>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
>>>
>>> ava:126)
>>>
>>> at
>>>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
>>>
>>> ava:105)
>>>
>>> at
>>>
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne
>>>
>>> ctionValve.java:156)
>>>
>>> at
>>>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
>>>
>>> ve.java:107)
>>>
>>> at
>>>
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
>>>
>>> a:148)
>>>
>>> at
>>>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
>>>
>>> :869)
>>>
>>> at
>>>
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
>>>
>>> rocessConnection(Http11BaseProtocol.java:664)
>>>
>>> at
>>>
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
>>>
>>> int.java:527)
>>>
>>> at
>>>
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor
>>>
>>> kerThread.java:112)
>>>
>>> at java.lang.Thread.run(Unknown Source)
>>>
>>>
>>>
>>>
>>>
>>> Anil.
>>>
>>>
>>
>