Exception:Database is read only

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception:Database is read only

Divya Philip

Hi All,

 

                I am getting an exception “Database is read-only” while loading the xform pages. Initially all the xform pages were loaded and I was able to enter the data correctly. This exception will persist till I replace the current orbeon war in the server with a fresh copy. Even after doing this, the issue is coming frequently. Please help me in finding the reason for this exception and a correct fix to solve the issue. Details of the exception is as follows.

 

Orbeon Forms - An Error has Occurred

An error has occurred in Orbeon Forms. You may want to try one of the following:

·    If this error occurred when you followed a link, press your browser's Back button.

·    If the above does not work, try reloading the page:

o   With Firefox and Safari: hold down the shift key and click the Reload button in your browser toolbar.

o   With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.

·    Return home.

Show DetailsShow details

Hide DetailsHide details

Error Message

Database is read-only

Call Stack

Resource URL

Line

Column

Description

XML Element

oxf:/config/xforms-widgets.xsl

27

N/A

converting XHTML+XForms document to XHTML

 

oxf:/ops/pfc/xforms-epilogue.xpl

122

68

reading processor output

name → document
id → xhtml-data

<p:output name="document" id="xhtml-data"/>

oxf:/ops/pfc/xforms-epilogue.xpl

128

67

reading processor output

name → data
ref → xformed-data

<p:output name="data" ref="xformed-data"/>

oxf:/config/epilogue.xpl

44

58

reading processor output

name → xformed-data
id → xformed-data

<p:output name="xformed-data" id="xformed-data"/>

oxf:/config/epilogue-servlet.xpl

31

48

reading processor output

name → xformed-data

<p:param type="input" name="xformed-data"/>

oxf:/config/epilogue.xpl

62

46

executing processor

name → {http://www.orbeon.com/oxf/processors}pipeline

<p:processor name="oxf:pipeline">...</p:processor>

oxf:/ops/xforms/xforms-renderer.xpl

67

46

executing processor

name → {http://www.orbeon.com/oxf/processors}pipeline

<p:processor name="oxf:pipeline">...</p:processor>

Java Exceptions (8 total)

Java Exceptions are the native mechanism by which Orbeon Forms reports errors. More than one exception may be provided below but usually the first exception along with the Orbeon Forms Stack Trace above provide enough information to track down an issue.

Toggleorg.exist.security.PermissionDeniedException

Exception Class

org.exist.security.PermissionDeniedException

Message

Database is read-only

Servlet Stack Trace
(117 method calls)

Class Name

Method Name

File Name

Line Number

org.exist.collections.Collection

validateXMLResourceInternal

Collection.java

934

org.exist.collections.Collection

validateXMLResource

Collection.java

879

org.exist.collections.Collection

validateXMLResource

Collection.java

873

org.exist.xmldb.LocalCollection

storeXMLResource

LocalCollection.java

703

org.exist.xmldb.LocalCollection

storeResource

LocalCollection.java

620

org.exist.xmldb.LocalCollection

storeResource

LocalCollection.java

612

org.orbeon.oxf.processor.xmldb.XMLDBProcessor

storeResource

XMLDBProcessor.java

204

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore$XMLDBAccessor

storeResource

XFormsPersistentApplicationStateStore.java

536

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore

persistEntryExistXMLDB

XFormsPersistentApplicationStateStore.java

257

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore

persistEntry

XFormsPersistentApplicationStateStore.java

205

ToggleMore...

org.orbeon.oxf.xforms.state.XFormsStateStore

expireOne

XFormsStateStore.java

182

org.orbeon.oxf.xforms.state.XFormsStateStore

addOne

XFormsStateStore.java

113

org.orbeon.oxf.xforms.state.XFormsStateStore

addOrReplaceOne

XFormsStateStore.java

103

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore

addOrReplaceOne

XFormsPersistentApplicationStateStore.java

213

org.orbeon.oxf.xforms.state.XFormsStateStore

add

XFormsStateStore.java

56

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore

add

XFormsPersistentApplicationStateStore.java

159

org.orbeon.oxf.xforms.state.XFormsStateManager

getInitialEncodedClientState

XFormsStateManager.java

128

org.orbeon.oxf.xforms.processor.handlers.XHTMLBodyHandler

start

XHTMLBodyHandler.java

100

org.orbeon.oxf.xml.ElementHandlerController

startElement

ElementHandlerController.java

161

org.orbeon.oxf.xml.ForwardingContentHandler

startElement

ForwardingContentHandler.java

87

org.orbeon.oxf.xml.ElementFilterContentHandler

startElement

ElementFilterContentHandler.java

41

org.orbeon.oxf.xforms.processor.XFormsToXHTML$4

startElement

XFormsToXHTML.java

382

org.orbeon.oxf.xml.SAXStore

replay

SAXStore.java

193

org.orbeon.oxf.xforms.processor.XFormsToXHTML

outputResponseDocument

XFormsToXHTML.java

363

org.orbeon.oxf.xforms.processor.XFormsToXHTML

doIt

XFormsToXHTML.java

226

org.orbeon.oxf.xforms.processor.XFormsToXHTML

access$000

XFormsToXHTML.java

51

org.orbeon.oxf.xforms.processor.XFormsToXHTML$1

readImpl

XFormsToXHTML.java

80

org.orbeon.oxf.processor.ProcessorImpl$7

read

ProcessorImpl.java

1030

org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl

read

ProcessorImpl.java

1213

org.orbeon.oxf.processor.ProcessorImpl

readInputAsSAX

ProcessorImpl.java

348

org.orbeon.oxf.processor.ProcessorImpl

readInputAsSAX

ProcessorImpl.java

353

org.orbeon.oxf.processor.xinclude.XIncludeProcessor

access$100

XIncludeProcessor.java

41

org.orbeon.oxf.processor.xinclude.XIncludeProcessor$2

read

XIncludeProcessor.java

85

org.orbeon.oxf.processor.ProcessorImpl

readCacheInputAsObject

ProcessorImpl.java

...
Thanks,
Divya



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Orbeon Forms_ERROR.DOC (1M) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Exception:Database is read only

Alessandro  Vernet
Administrator
Divya,

This might be due to the Java process not having the appropriate permissions to write to the eXist database, which is stored in WEB-INF/exist-data.

Alex

On Thu, May 13, 2010 at 9:38 PM, Divya Philip <[hidden email]> wrote:

Hi All,

 

                I am getting an exception “Database is read-only” while loading the xform pages. Initially all the xform pages were loaded and I was able to enter the data correctly. This exception will persist till I replace the current orbeon war in the server with a fresh copy. Even after doing this, the issue is coming frequently. Please help me in finding the reason for this exception and a correct fix to solve the issue. Details of the exception is as follows.

 

Orbeon Forms - An Error has Occurred

An error has occurred in Orbeon Forms. You may want to try one of the following:

·    If this error occurred when you followed a link, press your browser's Back button.

·    If the above does not work, try reloading the page:

o   With Firefox and Safari: hold down the shift key and click the Reload button in your browser toolbar.

o   With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.

·    Return home.

Show DetailsShow details

Hide DetailsHide details

Error Message

Database is read-only

Call Stack

Resource URL

Line

Column

Description

XML Element

oxf:/config/xforms-widgets.xsl

27

N/A

converting XHTML+XForms document to XHTML

 

oxf:/ops/pfc/xforms-epilogue.xpl

122

68

reading processor output

name → document
id → xhtml-data

<p:output name="document" id="xhtml-data"/>

oxf:/ops/pfc/xforms-epilogue.xpl

128

67

reading processor output

name → data
ref → xformed-data

<p:output name="data" ref="xformed-data"/>

oxf:/config/epilogue.xpl

44

58

reading processor output

name → xformed-data
id → xformed-data

<p:output name="xformed-data" id="xformed-data"/>

oxf:/config/epilogue-servlet.xpl

31

48

reading processor output

name → xformed-data

<p:param type="input" name="xformed-data"/>

oxf:/config/epilogue.xpl

62

46

executing processor

name → {http://www.orbeon.com/oxf/processors}pipeline

<p:processor name="oxf:pipeline">...</p:processor>

oxf:/ops/xforms/xforms-renderer.xpl

67

46

executing processor

name → {http://www.orbeon.com/oxf/processors}pipeline

<p:processor name="oxf:pipeline">...</p:processor>

Java Exceptions (8 total)

Java Exceptions are the native mechanism by which Orbeon Forms reports errors. More than one exception may be provided below but usually the first exception along with the Orbeon Forms Stack Trace above provide enough information to track down an issue.

Toggleorg.exist.security.PermissionDeniedException

Exception Class

org.exist.security.PermissionDeniedException

Message

Database is read-only

Servlet Stack Trace
(117 method calls)

Class Name

Method Name

File Name

Line Number

org.exist.collections.Collection

validateXMLResourceInternal

Collection.java

934

org.exist.collections.Collection

validateXMLResource

Collection.java

879

org.exist.collections.Collection

validateXMLResource

Collection.java

873

org.exist.xmldb.LocalCollection

storeXMLResource

LocalCollection.java

703

org.exist.xmldb.LocalCollection

storeResource

LocalCollection.java

620

org.exist.xmldb.LocalCollection

storeResource

LocalCollection.java

612

org.orbeon.oxf.processor.xmldb.XMLDBProcessor

storeResource

XMLDBProcessor.java

204

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore$XMLDBAccessor

storeResource

XFormsPersistentApplicationStateStore.java

536

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore

persistEntryExistXMLDB

XFormsPersistentApplicationStateStore.java

257

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore

persistEntry

XFormsPersistentApplicationStateStore.java

205

ToggleMore...

org.orbeon.oxf.xforms.state.XFormsStateStore

expireOne

XFormsStateStore.java

182

org.orbeon.oxf.xforms.state.XFormsStateStore

addOne

XFormsStateStore.java

113

org.orbeon.oxf.xforms.state.XFormsStateStore

addOrReplaceOne

XFormsStateStore.java

103

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore

addOrReplaceOne

XFormsPersistentApplicationStateStore.java

213

org.orbeon.oxf.xforms.state.XFormsStateStore

add

XFormsStateStore.java

56

org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore

add

XFormsPersistentApplicationStateStore.java

159

org.orbeon.oxf.xforms.state.XFormsStateManager

getInitialEncodedClientState

XFormsStateManager.java

128

org.orbeon.oxf.xforms.processor.handlers.XHTMLBodyHandler

start

XHTMLBodyHandler.java

100

org.orbeon.oxf.xml.ElementHandlerController

startElement

ElementHandlerController.java

161

org.orbeon.oxf.xml.ForwardingContentHandler

startElement

ForwardingContentHandler.java

87

org.orbeon.oxf.xml.ElementFilterContentHandler

startElement

ElementFilterContentHandler.java

41

org.orbeon.oxf.xforms.processor.XFormsToXHTML$4

startElement

XFormsToXHTML.java

382

org.orbeon.oxf.xml.SAXStore

replay

SAXStore.java

193

org.orbeon.oxf.xforms.processor.XFormsToXHTML

outputResponseDocument

XFormsToXHTML.java

363

org.orbeon.oxf.xforms.processor.XFormsToXHTML

doIt

XFormsToXHTML.java

226

org.orbeon.oxf.xforms.processor.XFormsToXHTML

access$000

XFormsToXHTML.java

51

org.orbeon.oxf.xforms.processor.XFormsToXHTML$1

readImpl

XFormsToXHTML.java

80

org.orbeon.oxf.processor.ProcessorImpl$7

read

ProcessorImpl.java

1030

org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl

read

ProcessorImpl.java

1213

org.orbeon.oxf.processor.ProcessorImpl

readInputAsSAX

ProcessorImpl.java

348

org.orbeon.oxf.processor.ProcessorImpl

readInputAsSAX

ProcessorImpl.java

353

org.orbeon.oxf.processor.xinclude.XIncludeProcessor

access$100

XIncludeProcessor.java

41

org.orbeon.oxf.processor.xinclude.XIncludeProcessor$2

read

XIncludeProcessor.java

85

org.orbeon.oxf.processor.ProcessorImpl

readCacheInputAsObject

ProcessorImpl.java

...
Thanks,
Divya



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet