problem with connecting/using oracle db

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

problem with connecting/using oracle db

ravenclaw
Hello, I am new here and I am trying to get orbeon to work with oracle
database.

I began using orbeon via localhost, and the eXist db. but now I want to use the
"oracle persistence layer" (opl) and my oracle db.

I have done the oracle setup:
And the oracle db is now ready with the tables. (scripts from the wiki-doc
opl.)

In application server setup:
I have put the jdbc drivers into /common/lib (jar files)
and in server.xml (in /Tomcat5.5/conf) I have put in this.


       <GlobalNamingResources>

         
         <Environment name="simpleValue" type="java.lang.Integer" value="30"/>

         

           
                   <Resource name="jdbc/oracle" auth="Container"
                   type="javax.sql.DataSource"
                   initialSize="3" maxActive="10" maxIdle="20"
                   maxWait="30000"
                   validationQuery="select * from dual"
                   driverClassName="oracle.jdbc.OracleDriver"
                   poolPreparedStatements="true"
                   username="orbeon"
                   password="mypassword"

            
      url="jdbc:oracle:thin:@//myServer.myInternet.com:1212/ran"/>
             


         <Resource name="UserDatabase" auth="Container"
                   type="org.apache.catalina.UserDatabase"
            description="User database that can be updated and saved"
                factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                pathname="conf/tomcat-users.xml" />

       </GlobalNamingResources>



And In Orbeon Forms setup:
I copyed "properties-local.xml.template" and named it "properties-local.xml"
(in Apache Software Foundation\Tomcat
5.5\webapps\orbeon\WEB-INF\resources\config) and in it I put this:


      <properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
                 xmlns:oxf="http://www.orbeon.com/oxf/processors">

         

                
         <property as="xs:anyURI"
            name="oxf.fr.persistence.service.oracle.datasource" value="oracle"/>
       


      </properties>





But this does not work, when I save my form nothing goes into the db, and I get
a big log file with loads of errors :(
I am not used to working with log files but I think this is the error I am
getting
   


      2010-07-07 15:34:46,985 INFO  ProcessorService  -
      /fr/service/custom/orbeon/database - Received request
      2010-07-07 15:34:47,157 ERROR SQLProcessor  - PreparedStatement: null
      2010-07-07 15:34:47,157 ERROR ProcessorService  - Exception at
      javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
     




Am I doing the above part correctly ?
Can someone help me on this,please ?





--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re:

Alessandro  Vernet
Administrator
The error you get ("Name jdbc is not bound in this Context") seems to
indicate that there is a problem with the declaration of the resource
in server.xml. Instead of placing your <Resource> under
<GlobalNamingResources>, could you try placing it inside the <Context>
for your application (this is in general what I do).

Alex

On Thu, Jul 8, 2010 at 2:13 AM,  <[hidden email]> wrote:

>
> Hello, I am new here and I am trying to get orbeon to work with oracle
> database.
>
> I began using orbeon via localhost, and the eXist db. but now I want to use the
> "oracle persistence layer" (opl) and my oracle db.
>
> I have done the oracle setup:
> And the oracle db is now ready with the tables. (scripts from the wiki-doc
> opl.)
>
> In application server setup:
> I have put the jdbc drivers into /common/lib (jar files)
> and in server.xml (in /Tomcat5.5/conf) I have put in this.
>
>
>   <GlobalNamingResources>
>
>     <!-- Test entry for demonstration purposes -->
>     <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
>
>     <!-- Editable user database that can also be used by
>          UserDatabaseRealm to authenticate users -->
>
>      <!-- my part starts here -->
>          <Resource name="jdbc/oracle" auth="Container"
>               type="javax.sql.DataSource"
>               initialSize="3" maxActive="10" maxIdle="20"
>               maxWait="30000"
>               validationQuery="select * from dual"
>               driverClassName="oracle.jdbc.OracleDriver"
>               poolPreparedStatements="true"
>               username="orbeon"
>               password="mypassword"
>
>
>  url="jdbc:oracle:thin:@//myServer.myInternet.com:1212/ran"/>
>         <!-- my part ends here -->
>
>     <Resource name="UserDatabase" auth="Container"
>               type="org.apache.catalina.UserDatabase"
>        description="User database that can be updated and saved"
>            factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>           pathname="conf/tomcat-users.xml" />
>
>   </GlobalNamingResources>
>
>
>
> And In Orbeon Forms setup:
> I copyed "properties-local.xml.template" and named it "properties-local.xml"
> (in Apache Software Foundation\Tomcat
> 5.5\webapps\orbeon\WEB-INF\resources\config) and in it I put this:
>
>
>  <properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
>             xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
>     <!-- This is an example of property which overrides an existing
>  property's default value:
>     <property as="xs:NMTOKENS"
>               name="oxf.xforms.logging.debug"
>               value="document model submission submission-details
> control
>  event action analysis server html"/>
>     -->
>
>  <!-- my part starts here -->
>     <property as="xs:anyURI"
>  name="oxf.fr.persistence.service.oracle.datasource" value="oracle"/>
>   <!-- my part ends here -->
>
>  </properties>
>
>
> But this does not work, when I save my form nothing goes into the db, and I get
> a big log file with loads of errors :(
> I am not used to working with log files but I think this is the error I am
> getting
>
>  2010-07-07 15:34:46,985 INFO  ProcessorService  -
>  /fr/service/custom/orbeon/database - Received request
>  2010-07-07 15:34:47,157 ERROR SQLProcessor  - PreparedStatement:
>  null
>  2010-07-07 15:34:47,157 ERROR ProcessorService  - Exception at
>  javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
>
> Am I doing the above part correctly ?
> Can someone help me on this,please ?
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re:

ravenclaw
It may be that I am having two problems with this.

1. I made a form that tryes to call the oracle db like you described here
http://n4.nabble.com/Form-populate-with-data-from-sql-td1678998.html#a1679585 
I see now (using the log file) that the error message ("Name jdbc is not bound in this Context") comes when that call is made. not before. (it is still using eXist db)

2. I think the "real" problem is that I havent configured it correctly to use the oracle db. There is most likely something wrong in my implementation on the "oracle persistence layer", but I cant find the problem.

I did as you said. I put the <Resource> out of <GlobalNamingResources> and put it in <Context>. I am not sure where to put it. So I put it below (not in) <GlobalNamingResourses>.  Is that the correct place?

it makes no difference. if I use a form that does not call oracle (as in nr.1) there is no error in the orbeon log, as it uses eXist.

please advice.



also in the "oracle persistence layer" there is something about setting the value of all "oxf.fr.persistence.app" to (value = "oracle") I could not find these lines/codes anywhere.

(I am using tomcat 5.5 and Orbeon Forms 3.8.0.201005141841 PE)

Reply | Threaded
Open this post in threaded view
|

Re: Re: Re:

Alessandro  Vernet
Administrator
I tried moving my <Resource> in <GlobalNamingResources>, and indeed
Orbeon Forms can't find the data source. From the Tomcat
documentation, I read:

The GlobalNamingResources element defines the global JNDI resources
for the Server. These resources are listed in the server's global JNDI
resource context. This context is distinct from the
per-web-application JNDI contexts described in the JNDI Resources
HOW-TO. The resources defined in this element are not visible in the
per-web-application contexts unless you explicitly link them with
<ResourceLink> elements.

This is on: http://tomcat.apache.org/tomcat-5.5-doc/config/globalresources.html

So it appears you need to either place the <Resource> inside the
<Context> for your application, or use a <ResourceLink>. I do the
former, which means I have:

<Context path="/orbeon" docBase="/path/to/orbeon-war-dir"
reloadable="false" override="true" allowLinking="true"
crossContext="true">
    <Resource .../>
</Context>

Alex

On Fri, Jul 9, 2010 at 3:30 AM, ravenclaw <[hidden email]> wrote:

>
> It may be that I am having two problems with this.
>
> 1. I made a form that tryes to call the oracle db like you described here
> http://n4.nabble.com/Form-populate-with-data-from-sql-td1678998.html#a1679585
> I see now (using the log file) that the error message ("Name jdbc is not
> bound in this Context") comes when that call is made. not before. (it is
> still using eXist db)
>
> 2. I think the "real" problem is that I havent configured it correctly to
> use the oracle db. There is most likely something wrong in my implementation
> on the "oracle persistence layer", but I cant find the problem.
>
> I did as you said. I put the <Resource> out of <GlobalNamingResources> and
> put it in <Context>. I am not sure where to put it. So I put it below (not
> in) <GlobalNamingResourses>.  Is that the correct place?
>
> it makes no difference. if I use a form that does not call oracle (as in
> nr.1) there is no error in the orbeon log, as it uses eXist.
>
> please advice.
>
>
>
> also in the "oracle persistence layer" there is something about setting the
> value of all "oxf.fr.persistence.app" to (value = "oracle") I could not find
> these lines/codes anywhere.
>
> (I am using tomcat 5.5 and Orbeon Forms 3.8.0.201005141841 PE)
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/problem-with-connecting-using-oracle-db-tp2282023p2283193.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Re:

pappleby
Out of Office AutoReply: Re:

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: Re: Re:

ravenclaw
In reply to this post by Alessandro Vernet
Hello Alex

I tried that too, but it had no effect.
However I tried to use the "tomcat 5.5. how to manual" and following that I was able to connect with my oracle db.

This is the page I used.
http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html 
It was the in this section: "4. Configure Tomcat's Resource Factory"
I was missing the part about context.xml.



ps.
I found Shakespeare in your code :)
Reply | Threaded
Open this post in threaded view
|

Out of Office AutoReply: Re:

pappleby
Out of Office AutoReply: Re:

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re:

Alessandro  Vernet
Administrator
In reply to this post by ravenclaw
I am glad it worked with a context.xml. As far as I know using a
context.xml is equivalent to defining a <Context> element in the
server.xml.

> ps. I found Shakespeare in your code :)

Or at least in the examples. But it looks like we've been uncovered -
we hoped those would be mistaken as coming from our own insight! :).

Alex

On Friday, July 16, 2010, ravenclaw <[hidden email]> wrote:

>
> Hello Alex
>
> I tried that too, but it had no effect.
> However I tried to use the "tomcat 5.5. how to manual" and following that I
> was able to connect with my oracle db.
>
> This is the page I used.
> http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html
> It was the in this section: "4. Configure Tomcat's Resource Factory"
> I was missing the part about context.xml.
>
>
>
> ps.
> I found Shakespeare in your code :)
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/problem-with-connecting-using-oracle-db-tp2282023p2291519.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re:

Ripa
This post was updated on .
version 4.4 PE (trial)
Orbeon Forms 4.4.0.201311042036 PE

I had exactly the same problem but Now Orbeon will store data into oracle but when hitting PUBLISH I will have this:
(and page will display just error) I have not found that I missed anything from http://wiki.orbeon.com/forms/doc/developer-guide/form-runner/oracle-and-mysql-persistence-layers guide

I have these in: properties-local.xml

<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:oxf="http://www.orbeon.com/oxf/processors">

<property as="xs:string" name="oxf.fr.persistence.provider.*.*.*" value="oracle"/>


<property
  as="xs:anyURI"
  name="oxf.fr.persistence.oracle.uri"
  value="/fr/service/oracle"/>
<property
  as="xs:string"
  name="oxf.fr.persistence.oracle.datasource"
  value="oracle"/>
<property
  as="xs:boolean"
  name="oxf.fr.persistence.oracle.create-flat-view"
  value="false"/>

How this even should work because I have the embedded exist and exter oracle. In those summary pages etc. we the Orbeon application tries to find forms?

Someone had problems with xml http://discuss.orbeon.com/Problem-in-connecting-to-Oracle-td2324122.html but I have not this kind of problem, data is in oracle table. Am I missing some setting somewhere? I can create the form and save it. After publish I will have error and I can't add any data.


2014-01-02 13:39:56,063 INFO  ProcessorService  - /fr/service/persistence/crud/ripa/ripa2/form/form.xhtml - Timing: 30
2014-01-02 13:39:56,064 ERROR PageFlowControllerProcessor  - error caught {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/ripa/ripa2/new"}
2014-01-02 13:39:56,081 ERROR PageFlowControllerProcessor  -
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|


|[No error message provided.]                                                                                          |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/page-flow.xml                                                        |reading page view data output | 169|
|······················································································································|
|element=<page path="/fr/([^/^.]+)/([^/^.]+)/(new|edit|view)(/([^/^.]+))?" model="detail/detail-model.xpl" view="html-v|
|view   =html-view.xpl                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/html-view.xpl                                                        |reading processor output      |  34|
|······················································································································|
|element=<p:output name="data" ref="data"/>                                                                            |
|name   =data                                                                                                          |
|ref    =data                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/unroll-form.xpl                                                      |reading processor output      |  94|
|······················································································································|
|element=<p:output name="data" ref="data"/>                                                                            |
|name   =data                                                                                                          |
|ref    =data                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/unroll-form.xpl                                                      |reading processor output      |  83|
|······················································································································|
|element=<p:output name="data" id="after-components"/>                                                                 |
|name   =data                                                                                                          |
|id     =after-components                                                                                              |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/components/components.xsl                                            |executing XSLT transformation |    |
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.webapp.HttpStatusCodeException                                                              |
|----------------------------------------------------------------------------------------------------------------------|
|processor.generator.URLGenerator$URLResourceHandler|checkStatusCode               |URLGenerator.java             | 971|
|processor.generator.URLGenerator$URLResourceHandler|readXML                       |URLGenerator.java             | 941|
|org.orbeon.oxf.processor.generator.URLGenerator$1  |readImpl                      |URLGenerator.java             | 494|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|rocessor.xinclude.XIncludeProcessor$$anon$1$$anon$3|read                          |XIncludeProcessor.scala       |  95|
|rocessor.xinclude.XIncludeProcessor$$anon$1$$anon$3|read                          |XIncludeProcessor.scala       |  91|
|org.orbeon.oxf.processor.ProcessorImpl             |readCacheInputAsObject        |ProcessorImpl.java            | 363|
|on.oxf.processor.xinclude.XIncludeProcessor$$anon$1|readImpl                      |XIncludeProcessor.scala       |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|cessor.pipeline.TeeProcessor$TeeProcessorOutputImpl|readImpl                      |TeeProcessor.java             |  88|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.scope.ScopeSerializer$1   |read                          |ScopeSerializer.java          |  58|
|org.orbeon.oxf.processor.scope.ScopeSerializer$1   |read                          |ScopeSerializer.java          |  41|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|org.orbeon.oxf.processor.IdentityProcessor$1       |readImpl                      |IdentityProcessor.java        |  33|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|orbeon.oxf.processor.pipeline.PipelineProcessor$1$1|run                           |PipelineProcessor.java        |  93|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000                    |PipelineProcessor.java        |  60|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|readImpl                      |PipelineProcessor.java        |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|processor.pipeline.choose.ConcreteChooseProcessor$1|readImpl                      |ConcreteChooseProcessor.java  | 125|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|on.oxf.processor.transformer.xslt.XSLTTransformer$1|runTransformer                |XSLTTransformer.java          | 467|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                  |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.OrbeonLocationException$     |wrapException                 |OrbeonLocationException.scala |  60|
|org.orbeon.oxf.common.OrbeonLocationException      |wrapException                 |OrbeonLocationException.scala |    |
|on.oxf.processor.transformer.xslt.XSLTTransformer$1|runTransformer                |XSLTTransformer.java          | 526|
|on.oxf.processor.transformer.xslt.XSLTTransformer$1|readImpl                      |XSLTTransformer.java          | 188|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|rocessor.xinclude.XIncludeProcessor$$anon$1$$anon$3|read                          |XIncludeProcessor.scala       |  95|
|rocessor.xinclude.XIncludeProcessor$$anon$1$$anon$3|read                          |XIncludeProcessor.scala       |  91|
|org.orbeon.oxf.processor.ProcessorImpl             |readCacheInputAsObject        |ProcessorImpl.java            | 363|
|on.oxf.processor.xinclude.XIncludeProcessor$$anon$1|readImpl                      |XIncludeProcessor.scala       |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|orbeon.oxf.processor.pipeline.PipelineProcessor$1$1|run                           |PipelineProcessor.java        |  93|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000                    |PipelineProcessor.java        |  60|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|readImpl                      |PipelineProcessor.java        |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply                         |OrbeonServlet.scala           |  67|
|org.orbeon.oxf.util.ScalaUtils$                    |withRootException             |ScalaUtils.scala              | 118|
|org.orbeon.oxf.servlet.OrbeonServlet               |service                       |OrbeonServlet.scala           |  67|
|javax.servlet.http.HttpServlet                     |service                       |HttpServlet.java              | 728|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter              |ApplicationFilterChain.java   | 305|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                      |ApplicationFilterChain.java   | 210|
|org.apache.catalina.core.StandardWrapperValve      |invoke                        |StandardWrapperValve.java     | 222|
|org.apache.catalina.core.StandardContextValve      |invoke                        |StandardContextValve.java     | 123|
|org.apache.catalina.authenticator.AuthenticatorBase|invoke                        |AuthenticatorBase.java        | 472|
|org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 171|
|org.apache.catalina.valves.ErrorReportValve        |invoke                        |ErrorReportValve.java         |  99|
|org.apache.catalina.valves.AccessLogValve          |invoke                        |AccessLogValve.java           | 936|
|org.apache.catalina.core.StandardEngineValve       |invoke                        |StandardEngineValve.java      | 118|
|org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 407|
|org.apache.coyote.http11.AbstractHttp11Processor   |process                       |AbstractHttp11Processor.java  |1004|
|e.coyote.AbstractProtocol$AbstractConnectionHandler|process                       |AbstractProtocol.java         | 589|
|.apache.tomcat.util.net.JIoEndpoint$SocketProcessor|run                           |JIoEndpoint.java              | 312|
|java.util.concurrent.ThreadPoolExecutor            |runWorker                     |ThreadPoolExecutor.java       |1145|
|java.util.concurrent.ThreadPoolExecutor$Worker     |run                           |ThreadPoolExecutor.java       | 615|
|java.lang.Thread                                   |run                           |Thread.java                   | 744|
+----------------------------------------------------------------------------------------------------------------------+ {}
2014-01-02 13:39:56,081 ERROR PageFlowControllerProcessor  - error caught {controller: "oxf:/page-flow.xml", method: "GET", path: "/fr/ripa/ripa2/new"}
2014-01-02 13:39:56,095 ERROR PageFlowControllerProcessor  -
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.ValidationException: oxf:/apps/fr/components/components.xsl (executing XSLT transformation): nul|
|l                                                                                                                     |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/page-flow.xml                                                                |reading page model data output|  35|
|······················································································································|
|element=<page path="/([^/]+)/.*" model="apps/${1}/page-flow.xml" public-methods="#all"/>                              |
|model  =apps/${1}/page-flow.xml                                                                                       |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/page-flow.xml                                                        |reading page view data output | 169|
|······················································································································|
|element=<page path="/fr/([^/^.]+)/([^/^.]+)/(new|edit|view)(/([^/^.]+))?" model="detail/detail-model.xpl" view="html-v|
|view   =html-view.xpl                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/html-view.xpl                                                        |reading processor output      |  34|
|······················································································································|
|element=<p:output name="data" ref="data"/>                                                                            |
|name   =data                                                                                                          |
|ref    =data                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/unroll-form.xpl                                                      |reading processor output      |  94|
|······················································································································|
|element=<p:output name="data" ref="data"/>                                                                            |
|name   =data                                                                                                          |
|ref    =data                                                                                                          |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/unroll-form.xpl                                                      |reading processor output      |  83|
|······················································································································|
|element=<p:output name="data" id="after-components"/>                                                                 |
|name   =data                                                                                                          |
|id     =after-components                                                                                              |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/components/components.xsl                                            |executing XSLT transformation |    |
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.webapp.HttpStatusCodeException                                                              |
|----------------------------------------------------------------------------------------------------------------------|
|processor.generator.URLGenerator$URLResourceHandler|checkStatusCode               |URLGenerator.java             | 971|
|processor.generator.URLGenerator$URLResourceHandler|readXML                       |URLGenerator.java             | 941|
|org.orbeon.oxf.processor.generator.URLGenerator$1  |readImpl                      |URLGenerator.java             | 494|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|rocessor.xinclude.XIncludeProcessor$$anon$1$$anon$3|read                          |XIncludeProcessor.scala       |  95|
|rocessor.xinclude.XIncludeProcessor$$anon$1$$anon$3|read                          |XIncludeProcessor.scala       |  91|
|org.orbeon.oxf.processor.ProcessorImpl             |readCacheInputAsObject        |ProcessorImpl.java            | 363|
|on.oxf.processor.xinclude.XIncludeProcessor$$anon$1|readImpl                      |XIncludeProcessor.scala       |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|cessor.pipeline.TeeProcessor$TeeProcessorOutputImpl|readImpl                      |TeeProcessor.java             |  88|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.scope.ScopeSerializer$1   |read                          |ScopeSerializer.java          |  58|
|org.orbeon.oxf.processor.scope.ScopeSerializer$1   |read                          |ScopeSerializer.java          |  41|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|org.orbeon.oxf.processor.IdentityProcessor$1       |readImpl                      |IdentityProcessor.java        |  33|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|orbeon.oxf.processor.pipeline.PipelineProcessor$1$1|run                           |PipelineProcessor.java        |  93|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000                    |PipelineProcessor.java        |  60|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|readImpl                      |PipelineProcessor.java        |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|processor.pipeline.choose.ConcreteChooseProcessor$1|readImpl                      |ConcreteChooseProcessor.java  | 125|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|on.oxf.processor.transformer.xslt.XSLTTransformer$1|runTransformer                |XSLTTransformer.java          | 467|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                  |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.OrbeonLocationException$     |wrapException                 |OrbeonLocationException.scala |  60|
|org.orbeon.oxf.common.OrbeonLocationException      |wrapException                 |OrbeonLocationException.scala |    |
|on.oxf.processor.transformer.xslt.XSLTTransformer$1|runTransformer                |XSLTTransformer.java          | 526|
|on.oxf.processor.transformer.xslt.XSLTTransformer$1|readImpl                      |XSLTTransformer.java          | 188|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|rocessor.xinclude.XIncludeProcessor$$anon$1$$anon$3|read                          |XIncludeProcessor.scala       |  95|
|rocessor.xinclude.XIncludeProcessor$$anon$1$$anon$3|read                          |XIncludeProcessor.scala       |  91|
|org.orbeon.oxf.processor.ProcessorImpl             |readCacheInputAsObject        |ProcessorImpl.java            | 363|
|on.oxf.processor.xinclude.XIncludeProcessor$$anon$1|readImpl                      |XIncludeProcessor.scala       |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|orbeon.oxf.processor.pipeline.PipelineProcessor$1$1|run                           |PipelineProcessor.java        |  93|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000                    |PipelineProcessor.java        |  60|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|readImpl                      |PipelineProcessor.java        |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|orbeon.oxf.processor.pipeline.PipelineProcessor$1$1|run                           |PipelineProcessor.java        |  93|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$000                    |PipelineProcessor.java        |  60|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$1|readImpl                      |PipelineProcessor.java        |  91|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|processor.pipeline.choose.ConcreteChooseProcessor$1|readImpl                      |ConcreteChooseProcessor.java  | 125|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|ssor.pipeline.PipelineProcessor$InternalTopOutput$1|run                           |PipelineProcessor.java        | 536|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeParents                |PipelineProcessor.java        | 697|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|access$400                    |PipelineProcessor.java        |  60|
|cessor.pipeline.PipelineProcessor$InternalTopOutput|readImpl                      |PipelineProcessor.java        | 532|
|essor.impl.ProcessorOutputImpl$TopLevelOutputFilter|read                          |ProcessorOutputImpl.java      | 258|
|org.orbeon.oxf.processor.impl.ProcessorOutputImpl  |read                          |ProcessorOutputImpl.java      | 404|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 262|
|org.orbeon.oxf.processor.ProcessorImpl             |readInputAsSAX                |ProcessorImpl.java            | 266|
|org.orbeon.oxf.processor.NullSerializer            |start                         |NullSerializer.java           |  28|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.OXFException                                                                         |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.processor.NullSerializer            |start                         |NullSerializer.java           |  30|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                           |PipelineProcessor.java        | 618|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.common.ValidationException                                                                  |
|----------------------------------------------------------------------------------------------------------------------|
|org.orbeon.oxf.common.OrbeonLocationException$     |wrapException                 |OrbeonLocationException.scala |  60|
|org.orbeon.oxf.common.OrbeonLocationException      |wrapException                 |OrbeonLocationException.scala |    |
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                           |PipelineProcessor.java        | 620|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 615|
|f.processor.pipeline.choose.ConcreteChooseProcessor|start                         |ConcreteChooseProcessor.java  | 230|
|g.orbeon.oxf.processor.pipeline.PipelineProcessor$4|run                           |PipelineProcessor.java        | 618|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|executeChildren               |PipelineProcessor.java        | 680|
|org.orbeon.oxf.processor.pipeline.PipelineProcessor|start                         |PipelineProcessor.java        | 615|
|ller.PageFlowControllerProcessor$PageOrServiceRoute|process                       |PageFlowControllerProcessor.sc| 475|
|g.orbeon.oxf.controller.PageFlowControllerProcessor|start                         |PageFlowControllerProcessor.sc| 166|
|org.orbeon.oxf.pipeline.InitUtils$                 |runProcessor                  |InitUtils.scala               |  82|
|org.orbeon.oxf.webapp.ProcessorService             |service                       |ProcessorService.scala        |  41|
|orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply$mcV$sp                  |OrbeonServlet.scala           |  74|
|orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply                         |OrbeonServlet.scala           |  67|
|orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply                         |OrbeonServlet.scala           |  67|
|org.orbeon.oxf.util.ScalaUtils$                    |withRootException             |ScalaUtils.scala              | 118|
|org.orbeon.oxf.servlet.OrbeonServlet               |service                       |OrbeonServlet.scala           |  67|
|javax.servlet.http.HttpServlet                     |service                       |HttpServlet.java              | 728|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter              |ApplicationFilterChain.java   | 305|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                      |ApplicationFilterChain.java   | 210|
|org.apache.catalina.core.StandardWrapperValve      |invoke                        |StandardWrapperValve.java     | 222|
|org.apache.catalina.core.StandardContextValve      |invoke                        |StandardContextValve.java     | 123|
|org.apache.catalina.authenticator.AuthenticatorBase|invoke                        |AuthenticatorBase.java        | 472|
|org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 171|
|org.apache.catalina.valves.ErrorReportValve        |invoke                        |ErrorReportValve.java         |  99|
|org.apache.catalina.valves.AccessLogValve          |invoke                        |AccessLogValve.java           | 936|
|org.apache.catalina.core.StandardEngineValve       |invoke                        |StandardEngineValve.java      | 118|
|org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 407|
|org.apache.coyote.http11.AbstractHttp11Processor   |process                       |AbstractHttp11Processor.java  |1004|
|e.coyote.AbstractProtocol$AbstractConnectionHandler|process                       |AbstractProtocol.java         | 589|
|.apache.tomcat.util.net.JIoEndpoint$SocketProcessor|run                           |JIoEndpoint.java              | 312|
|java.util.concurrent.ThreadPoolExecutor            |runWorker                     |ThreadPoolExecutor.java       |1145|
|java.util.concurrent.ThreadPoolExecutor$Worker     |run                           |ThreadPoolExecutor.java       | 615|
|java.lang.Thread                                   |run                           |Thread.java                   | 744|
+----------------------------------------------------------------------------------------------------------------------+ {}
2014-01-02 13:39:56,518 INFO  ProcessorService  - /fr/ripa/ripa2/new - Timing: 502
2014-01-02 13:39:56,653 INFO  ProcessorService  - /bf4532aaf8aa2306e7c4be5f63159bfffe1e20ce/config/theme/error.css - Received request
2014-01-02 13:39:56,654 INFO  ProcessorService  - /bf4532aaf8aa2306e7c4be5f63159bfffe1e20ce/config/theme/error.css - Timing: 1

Here is the latest log from orbeon.log file

2014-01-02 18:07:38,809 INFO  ProcessorService  - /fr/ - Timing: 4786
2014-01-02 18:10:52,854 INFO  QuartzScheduler  - Scheduler exist_QuartzScheduler_$_NON_CLUSTERED shutting down.
2014-01-02 18:10:52,854 INFO  QuartzScheduler  - Scheduler exist_QuartzScheduler_$_NON_CLUSTERED paused.
2014-01-02 18:10:52,854 INFO  QuartzScheduler  - Scheduler exist_QuartzScheduler_$_NON_CLUSTERED shutdown complete.
2014-01-02 18:10:52,856 INFO  FileLock  - Deleting lock file: /home/sami/apache-tomcat-7.0.34/webapps/orbeon/WEB-INF/exist-data/journal.lck
2014-01-02 18:10:52,962 INFO  FileLock  - Deleting lock file: /home/sami/apache-tomcat-7.0.34/webapps/orbeon/WEB-INF/exist-data/dbx_dir.lck
2014-01-02 18:10:52,963 INFO  ProcessorService  - Servlet destroyed.
2014-01-02 18:10:52,977 INFO  ProcessorService  - Context listener - Context destroyed.
tail: /home/sami/apache-tomcat-7.0.34/logs/orbeon.log: file truncated
2014-01-02 18:11:01,023 INFO  ProcessorService  - Context listener - Context initialized.
2014-01-02 18:11:05,455 INFO  ProcessorService  - Context listener - Context destroyed.
tail: /home/sami/apache-tomcat-7.0.34/logs/orbeon.log: file truncated
2014-01-02 18:11:12,352 INFO  ProcessorService  - Context listener - Context initialized.
2014-01-02 18:11:39,926 INFO  ProcessorService  - Servlet initialized.
2014-01-02 18:11:39,973 INFO  ProcessorService  - / - Received request
2014-01-02 18:11:40,396 INFO  ProcessorService  - / - Timing: 423
2014-01-02 18:11:40,451 INFO  ProcessorService  - /home/ - Received request
2014-01-02 18:11:40,972 INFO  ProcessorService  - /home/ - Timing: 521
2014-01-02 18:11:42,584 INFO  ProcessorService  - /fr/orbeon/builder/new - Received request
2014-01-02 18:11:43,130 INFO  ProcessorService  - /fr/service/persistence/crud/orbeon/builder/form/form.xhtml - Received request
2014-01-02 18:11:43,204 INFO  ProcessorService  - /fr/service/resource/crud/orbeon/builder/form/form.xhtml - Received request
2014-01-02 18:11:43,297 INFO  ProcessorService  - /fr/service/resource/crud/orbeon/builder/form/form.xhtml - Timing: 93
2014-01-02 18:11:43,297 INFO  ProcessorService  - /fr/service/persistence/crud/orbeon/builder/form/form.xhtml - Timing: 167
2014-01-02 18:11:45,781 WARN  XFormsServer  - unknown id {id: "fr-number"}
2014-01-02 18:11:45,781 WARN  XFormsServer  - observer attribute present but does not refer to at least one valid id, ignoring event handler {element: "<xxf:script ev:target="#observer" ev:observer="fr-number" ev:event="DOMFocusOut" id="xf-2359">[...]</xxf:script>"}
2014-01-02 18:11:45,781 WARN  XFormsServer  - target attribute present but does not refer to at least one valid id, ignoring event handler {element: "<xxf:script ev:target="#observer" ev:observer="fr-number" ev:event="DOMFocusOut" id="xf-2359">[...]</xxf:script>"}
2014-01-02 18:11:45,782 WARN  XFormsServer  - unknown id {id: "fr-number"}
2014-01-02 18:11:45,782 WARN  XFormsServer  - observer attribute present but does not refer to at least one valid id, ignoring event handler {element: "<xxf:script ev:target="#observer" ev:observer="fr-number" ev:event="DOMFocusOut" id="xf-2396">[...]</xxf:script>"}
2014-01-02 18:11:45,782 WARN  XFormsServer  - target attribute present but does not refer to at least one valid id, ignoring event handler {element: "<xxf:script ev:target="#observer" ev:observer="fr-number" ev:event="DOMFocusOut" id="xf-2396">[...]</xxf:script>"}
2014-01-02 18:11:46,225 INFO  ProcessorService  - /fr/service/i18n/fr-resources/orbeon/builder - Received request
2014-01-02 18:11:46,389 INFO  ProcessorService  - /fr/service/i18n/fr-resources/orbeon/builder - Timing: 164
2014-01-02 18:11:47,047 WARN  XFormsServer  - Unsupported event context information for event('app'). {}
2014-01-02 18:11:47,047 WARN  XFormsServer  - Unsupported event context information for event('form'). {}
2014-01-02 18:11:47,876 INFO  ProcessorService  - /fr/orbeon/builder/new - Timing: 5292
2014-01-02 18:11:50,351 INFO  ProcessorService  - Servlet initialized.
2014-01-02 18:11:50,352 INFO  ProcessorService  - /xforms-server - Received request
2014-01-02 18:11:50,607 INFO  ProcessorService  - /xforms-server - Timing: 255
2014-01-02 18:11:51,616 INFO  ProcessorService  - /xforms-server - Received request
2014-01-02 18:11:51,748 INFO  ProcessorService  - /xforms-server - Timing: 132
2014-01-02 18:11:54,559 INFO  ProcessorService  - /xforms-server - Received request
2014-01-02 18:11:54,686 INFO  ProcessorService  - /xforms-server - Timing: 127
2014-01-02 18:11:57,536 INFO  ProcessorService  - /xforms-server - Received request
2014-01-02 18:11:57,641 INFO  ProcessorService  - /fr/service/custom/orbeon/builder/toolbox - Received request
2014-01-02 18:11:57,779 INFO  ProcessorService  - /fr/service/persistence/crud/orbeon/library/form/form.xhtml - Received request
2014-01-02 18:11:57,791 INFO  ProcessorService  - /fr/service/exist/crud/orbeon/library/form/form.xhtml - Received request
2014-01-02 18:11:57,869 INFO  EXistServlet  - EXistServlet: exist.home=/home/sami/apache-tomcat-7.0.34/webapps/orbeon/WEB-INF
2014-01-02 18:11:57,869 INFO  EXistServlet  - reading configuration from /home/sami/apache-tomcat-7.0.34/webapps/orbeon/WEB-INF/exist-conf.xml
2014-01-02 18:11:57,871 INFO  Configuration  - Reading configuration from file /home/sami/apache-tomcat-7.0.34/webapps/orbeon/WEB-INF/exist-conf.xml
2014-01-02 18:11:57,994 WARN  XQueryContext  - Configuration problem: failed to load class for module http://exist-db.org/xquery/xqdoc; class: org.exist.xqdoc.xquery.XQDocModule; message: org.exist.xqdoc.xquery.XQDocModule
2014-01-02 18:11:57,994 INFO  EXistServlet  - configuring eXist instance
2014-01-02 18:11:58,016 INFO  SimpleThreadPool  - Job execution threads will use class loader of thread: http-bio-8080-exec-1
2014-01-02 18:11:58,025 INFO  SchedulerSignalerImpl  - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2014-01-02 18:11:58,025 INFO  QuartzScheduler  - Quartz Scheduler v.1.6.6 created.
2014-01-02 18:11:58,026 INFO  RAMJobStore  - RAMJobStore initialized.
2014-01-02 18:11:58,026 INFO  StdSchedulerFactory  - Quartz scheduler 'exist_QuartzScheduler' initialized from an externally provided properties instance.
2014-01-02 18:11:58,026 INFO  StdSchedulerFactory  - Quartz scheduler version: 1.6.6
2014-01-02 18:11:58,128 INFO  DefaultCacheManager  - Cache settings: 20,480k; totalPages: 5,120; maxCacheSize: 4,608
2014-01-02 18:11:58,133 INFO  XQueryPool  - QueryPool: size = 128; maxStackSize = 5; timeout = 120,000; timeoutCheckInterval = 30,000
2014-01-02 18:11:58,200 INFO  IndexManager  - Registered index org.exist.indexing.ngram.NGramIndex as ngram-index
2014-01-02 18:11:58,256 INFO  IndexManager  - Registered index org.exist.indexing.lucene.LuceneIndex as lucene-index
2014-01-02 18:11:58,257 INFO  IndexManager  - Registered index org.exist.fulltext.FTIndex as ft-legacy-index
2014-01-02 18:11:58,366 INFO  QuartzScheduler  - Scheduler exist_QuartzScheduler_$_NON_CLUSTERED started.
2014-01-02 18:11:58,367 INFO  EXistServlet  - registering XMLDB driver
2014-01-02 18:11:58,374 INFO  EXistServlet  - Using default user guest for all unauthorized requests.
2014-01-02 18:11:58,383 WARN  XmlLibraryChecker  - Looking for a valid Parser...
Checking for Xerces, found version Xerces-J 2.11.0 needed version Xerces-J 2.9.0
Warning: Failed find a valid Parser!

Please add an appropriate Parser to the class-path, e.g. in the 'endorsed' folder of the servlet container or in the 'endorsed' folder of the JRE.

2014-01-02 18:11:58,383 INFO  XmlLibraryChecker  - Looking for a valid Transformer...
Checking for Saxon, found version 9.1.0.8
OK!

2014-01-02 18:11:58,384 INFO  XmlLibraryChecker  - Looking for a valid Resolver...
Checking for Resolver, found version XmlResolver 1.2
OK!

2014-01-02 18:11:58,385 INFO  XmlLibraryChecker  - Using parser org.orbeon.oxf.xml.xerces.XercesSAXParser
2014-01-02 18:11:58,389 INFO  XmlLibraryChecker  - Using transformer com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl
2014-01-02 18:11:58,390 WARN  Descriptor  - Giving up unable to read descriptor file from /home/sami/apache-tomcat-7.0.34/webapps/orbeon/WEB-INF/descriptor.xml
2014-01-02 18:11:58,390 WARN  Descriptor  - Giving up unable to read descriptor.xml file from classloader in package org.exist.http
2014-01-02 18:11:58,427 INFO  ProcessorService  - /fr/service/exist/crud/orbeon/library/form/form.xhtml - Timing: 636
2014-01-02 18:11:58,428 INFO  ProcessorService  - /fr/service/persistence/crud/orbeon/library/form/form.xhtml - Timing: 648
2014-01-02 18:11:58,449 INFO  ProcessorService  - /fr/service/persistence/crud/ripa/library/form/form.xhtml - Received request
2014-01-02 18:11:58,460 INFO  ProcessorService  - /fr/service/oracle/crud/ripa/library/form/form.xhtml - Received request
2014-01-02 18:11:58,830 INFO  ProcessorService  - /fr/service/persistence/form/ripa/library - Received request
2014-01-02 18:11:58,841 INFO  ProcessorService  - /fr/service/oracle/form/ripa/library - Received request
2014-01-02 18:11:58,895 INFO  ProcessorService  - /fr/service/oracle/form/ripa/library - Timing: 54
2014-01-02 18:11:58,895 INFO  DatabaseContext  - Committing JDBC connection for datasource: jdbc/oracle.
2014-01-02 18:11:58,897 INFO  ProcessorService  - /fr/service/persistence/form/ripa/library - Timing: 67
2014-01-02 18:11:58,920 INFO  ProcessorService  - /fr/service/oracle/crud/ripa/library/form/form.xhtml - Timing: 460
2014-01-02 18:11:58,920 INFO  DatabaseContext  - Committing JDBC connection for datasource: jdbc/oracle.
2014-01-02 18:11:58,921 INFO  ProcessorService  - /fr/service/persistence/crud/ripa/library/form/form.xhtml - Timing: 472
2014-01-02 18:11:58,937 INFO  ProcessorService  - /fr/service/custom/orbeon/builder/toolbox - Timing: 1296
2014-01-02 18:11:59,270 INFO  ProcessorService  - /xforms-server - Timing: 1734
2014-01-02 18:12:01,233 INFO  ProcessorService  - /xforms-server - Received request
2014-01-02 18:12:01,345 INFO  ProcessorService  - /fr/service/persistence/crud/orbeon/builder/data/6f89abd22f09bbe5b3d3ba0c9e6ccda85f0916ee/data.xml - Received request
2014-01-02 18:12:01,374 INFO  ProcessorService  - /fr/service/exist/crud/orbeon/builder/data/6f89abd22f09bbe5b3d3ba0c9e6ccda85f0916ee/data.xml - Received request
2014-01-02 18:12:01,702 WARN  XFormsServer  - instance or text replacement did not take place upon successful response because no body was provided. {submission id: "fr-default-submission"}
2014-01-02 18:12:01,713 INFO  ProcessorService  - /fr/service/exist/crud/orbeon/builder/data/6f89abd22f09bbe5b3d3ba0c9e6ccda85f0916ee/data.xml - Timing: 339
2014-01-02 18:12:01,713 INFO  ProcessorService  - /fr/service/persistence/crud/orbeon/builder/data/6f89abd22f09bbe5b3d3ba0c9e6ccda85f0916ee/data.xml - Timing: 368
2014-01-02 18:12:01,907 INFO  ProcessorService  - /xforms-server - Timing: 674
2014-01-02 18:12:03,116 INFO  ProcessorService  - /xforms-server - Received request
2014-01-02 18:12:03,178 WARN  XFormsServer  - instance() - instance not found {instance id: "fr-create-update-submission-response"}
2014-01-02 18:12:03,223 WARN  XFormsServer  - instance() - instance not found {instance id: "fr-create-update-submission-response"}
2014-01-02 18:12:03,272 INFO  ProcessorService  - /xforms-server - Timing: 156
2014-01-02 18:12:05,116 INFO  ProcessorService  - /xforms-server - Received request
2014-01-02 18:12:05,152 INFO  ProcessorService  - /fr/service/persistence/crud/ripa/ripa/form/form.xhtml - Received request
2014-01-02 18:12:05,178 INFO  ProcessorService  - /fr/service/oracle/crud/ripa/ripa/form/form.xhtml - Received request
2014-01-02 18:12:05,257 INFO  SQLProcessor  - Using Oracle Tomcat 5 delegate.
2014-01-02 18:12:05,500 INFO  ProcessorService  - /fr/service/oracle/crud/ripa/ripa/form/form.xhtml - Timing: 322
2014-01-02 18:12:05,500 INFO  DatabaseContext  - Committing JDBC connection for datasource: jdbc/oracle.
2014-01-02 18:12:05,500 INFO  ProcessorService  - /fr/service/persistence/crud/ripa/ripa/form/form.xhtml - Timing: 348
2014-01-02 18:12:05,546 WARN  XFormsServer  - instance() - instance not found {instance id: "fr-create-update-submission-response"}
2014-01-02 18:12:05,583 WARN  XFormsServer  - instance() - instance not found {instance id: "fr-create-update-submission-response"}
2014-01-02 18:12:05,629 INFO  ProcessorService  - /xforms-server - Timing: 512
2014-01-02 18:12:07,044 INFO  ProcessorService  - /fr/ripa/ripa/summary - Received request
2014-01-02 18:12:07,266 WARN  XFormsServer  - unknown id {id: "fb-form-instance"}
2014-01-02 18:12:07,569 INFO  ProcessorService  - /fr/service/i18n/fr-resources/ripa/ripa - Received request
2014-01-02 18:12:07,598 INFO  ProcessorService  - /fr/service/i18n/fr-resources/ripa/ripa - Timing: 28
2014-01-02 18:12:07,608 INFO  ProcessorService  - /fr/service/persistence/crud/ripa/ripa/form/form.xhtml - Received request
2014-01-02 18:12:07,617 INFO  ProcessorService  - /fr/service/oracle/crud/ripa/ripa/form/form.xhtml - Received request
2014-01-02 18:12:07,636 INFO  SQLProcessor  - Using Oracle Tomcat 5 delegate.
2014-01-02 18:12:07,644 INFO  ProcessorService  - /fr/service/oracle/crud/ripa/ripa/form/form.xhtml - Timing: 27
2014-01-02 18:12:07,644 INFO  DatabaseContext  - Rolling back JDBC connection for datasource: jdbc/oracle.
2014-01-02 18:12:07,655 INFO  ProcessorService  - /fr/service/persistence/crud/ripa/ripa/form/form.xhtml - Timing: 47
2014-01-02 18:12:07,690 ERROR XFormsServer  - xforms-submit-error - setting throwable {throwable: "
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|xf:submission for submission id: get-source-form-submission, error code received when submitting instance: 500        |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|----------------------------------------------------------------------------------------------------------------------|
|Exception: org.orbeon.oxf.xforms.submission.XFormsSubmissionException                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|getReplacer                   |XFormsModelSubmission.java    | 731|
|rg.orbeon.oxf.xforms.submission.RegularSubmission$1|call                          |RegularSubmission.java        | 101|
|rg.orbeon.oxf.xforms.submission.RegularSubmission$1|call                          |RegularSubmission.java        |  71|
|org.orbeon.oxf.xforms.submission.BaseSubmission    |submitCallable                |BaseSubmission.java           |  99|
|org.orbeon.oxf.xforms.submission.RegularSubmission |connect                       |RegularSubmission.java        | 124|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|doSubmit                      |XFormsModelSubmission.java    | 464|
|.orbeon.oxf.xforms.submission.XFormsModelSubmission|performDefaultAction          |XFormsModelSubmission.java    | 296|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply$mcV$sp                  |Dispatch.scala                | 137|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                         |Dispatch.scala                |  73|
|.oxf.xforms.event.Dispatch$$anonfun$dispatchEvent$1|apply                         |Dispatch.scala                |  73|
|org.orbeon.oxf.xforms.event.Dispatch$              |withEvent$1                   |Dispatch.scala                |  38|
|org.orbeon.oxf.xforms.event.Dispatch$              |dispatchEvent                 |Dispatch.scala                |  72|
|g.orbeon.oxf.xforms.action.actions.XFormsSendAction|execute                       |XFormsSendAction.scala        |  51|
|org.orbeon.oxf.xforms.action.XFormsAction          |execute                       |XFormsAction.scala            |  36|
|rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runSingleIteration            |XFormsActionInterpreter.java  | 205|
|rg.orbeon.oxf.xforms.action.XFormsActionInterpreter|runAction                     |XFormsActionInterpreter.java  | 151|
|ction.actions.XFormsActionAction$$anonfun$execute$1|apply                         |XFormsActionAction.scala      |  53|
|ction.actions.XFormsActionAction$$anonfun$execute$1|apply                         |XFormsActionAction.scala      |  41|
|scala.collection.Iterator$class                    |foreach                       |Iterator.scala                | 727|
|scala.collection.AbstractIterator                  |foreach                       |Iterator.scala                |1157|
|---8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---|
|orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply                         |OrbeonServlet.scala           |  67|
|org.orbeon.oxf.util.ScalaUtils$                    |withRootException             |ScalaUtils.scala              | 118|
|org.orbeon.oxf.servlet.OrbeonServlet               |service                       |OrbeonServlet.scala           |  67|
|javax.servlet.http.HttpServlet                     |service                       |HttpServlet.java              | 728|
|org.apache.catalina.core.ApplicationFilterChain    |internalDoFilter              |ApplicationFilterChain.java   | 305|
|org.apache.catalina.core.ApplicationFilterChain    |doFilter                      |ApplicationFilterChain.java   | 210|
|org.apache.catalina.core.StandardWrapperValve      |invoke                        |StandardWrapperValve.java     | 222|
|org.apache.catalina.core.StandardContextValve      |invoke                        |StandardContextValve.java     | 123|
|org.apache.catalina.authenticator.AuthenticatorBase|invoke                        |AuthenticatorBase.java        | 472|
|org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 171|
|org.apache.catalina.valves.ErrorReportValve        |invoke                        |ErrorReportValve.java         |  99|
|org.apache.catalina.valves.AccessLogValve          |invoke                        |AccessLogValve.java           | 936|
|org.apache.catalina.core.StandardEngineValve       |invoke                        |StandardEngineValve.java      | 118|
|org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 407|
|org.apache.coyote.http11.AbstractHttp11Processor   |process                       |AbstractHttp11Processor.java  |1004|
|e.coyote.AbstractProtocol$AbstractConnectionHandler|process                       |AbstractProtocol.java         | 589|
|.apache.tomcat.util.net.JIoEndpoint$SocketProcessor|run                           |JIoEndpoint.java              | 312|
|java.util.concurrent.ThreadPoolExecutor            |runWorker                     |ThreadPoolExecutor.java       |1145|
|java.util.concurrent.ThreadPoolExecutor$Worker     |run                           |ThreadPoolExecutor.java       | 615|
|java.lang.Thread                                   |run                           |Thread.java                   | 744|
+----------------------------------------------------------------------------------------------------------------------+"}
2014-01-02 18:12:07,696 INFO  PageFlowControllerProcessor  - not found {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/ripa/ripa/summary"}
2014-01-02 18:12:07,697 INFO  PageFlowControllerProcessor  - not found {controller: "oxf:/page-flow.xml", method: "GET", path: "/fr/ripa/ripa/summary"}
2014-01-02 18:12:07,716 INFO  ProcessorService  - /fr/ripa/ripa/summary - Timing: 672

Reply | Threaded
Open this post in threaded view
|

Re: Re:

Ripa
 I tested the same in windows and mysql and it was a success. Then I tried with Oracle and it worked. I had old version apache-tomcat-6.0.37 and it seems that Orbeon forms is ok with that and not with the new one.

So now it works like it should. I am not sure is anyone using this Orbeon anymore because here in the forum is so quiet....

have a nice weekend
Reply | Threaded
Open this post in threaded view
|

Re: Re:

Alessandro  Vernet
Administrator
Hi Ripa,

It should work with newer version of Tomcat as well (I imagine you're referring to Tomcat 7.x), but the format of the server.xml in Tomcat 7 is slightly different, which might explain why you would have trouble using snippets mentioned in this thread on Tomcat 7.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re:

Ripa
HI Alessandro

Hmm. that explains it then, it was hard to tack down because the orbeon.log was not saying anything. I will check that also. Thanks a lot for answering!


BR
Ripa