Can not create new form

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

Can not create new form

carlos sun
Hi,

I am using orbeon-4.3.0.1.201308150213-CE, Tomcat 7.0.24.
after a fresh install orbeon as a virtual host in a customized directory.
Open
http://{url}:8080, I can see orbeon default page.
I try to create a form, the link is http://{url}:8080/fr/orbeon/builder/new, I get a error as follow:

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:
    • With Firefox: hold down the shift key and click the Reload button in your browser toolbar.
    • With Safari and Chrome: click the Reload button in your browser toolbar.
    • With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
  • Return home.


Then I check the orbeon.log

2013-11-05 19:39:55,034 INFO  ProcessorService  - Context listener - Context initialized.
2013-11-05 19:39:58,793 INFO  ProcessorService  - Servlet initialized.
2013-11-05 19:39:59,008 INFO  ProcessorService  - /fr/orbeon/builder/new - Received request
2013-11-05 19:40:02,492 ERROR PageFlowControllerProcessor  - error caught {controller: "oxf:/apps/fr/page-flow.xml", method: "GET", path: "/fr/orbeon/builder/new"}
2013-11-05 19:40:02,646 ERROR PageFlowControllerProcessor  -
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|Connection refused                                                                                                    |
|----------------------------------------------------------------------------------------------------------------------|
|Application Call Stack                                                                                                |
|----------------------------------------------------------------------------------------------------------------------|
|oxf:/apps/fr/page-flow.xml                                                        |reading page view data output | 193|
|······················································································································|
|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: java.net.ConnectException                                                                                  |
|----------------------------------------------------------------------------------------------------------------------|
|java.net.PlainSocketImpl                           |socketConnect                 |PlainSocketImpl.java          |    |
|java.net.AbstractPlainSocketImpl                   |doConnect                     |AbstractPlainSocketImpl.java  | 339|
|java.net.AbstractPlainSocketImpl                   |connectToAddress              |AbstractPlainSocketImpl.java  | 200|
|java.net.AbstractPlainSocketImpl                   |connect                       |AbstractPlainSocketImpl.java  | 182|
|java.net.SocksSocketImpl                           |connect                       |SocksSocketImpl.java          | 392|
|java.net.Socket                                    |connect                       |Socket.java                   | 579|
|org.apache.http.conn.scheme.PlainSocketFactory     |connectSocket                 |PlainSocketFactory.java       | 127|
|ache.http.impl.conn.DefaultClientConnectionOperator|openConnection                |DefaultClientConnectionOperato| 180|
|org.apache.http.impl.conn.AbstractPoolEntry        |open                          |AbstractPoolEntry.java        | 151|
|org.apache.http.impl.conn.AbstractPooledConnAdapter|open                          |AbstractPooledConnAdapter.java| 125|
|org.apache.http.impl.client.DefaultRequestDirector |tryConnect                    |DefaultRequestDirector.java   | 645|
|org.apache.http.impl.client.DefaultRequestDirector |execute                       |DefaultRequestDirector.java   | 480|
|org.apache.http.impl.client.AbstractHttpClient     |execute                       |AbstractHttpClient.java       | 906|
|org.apache.http.impl.client.AbstractHttpClient     |execute                       |AbstractHttpClient.java       | 805|
|org.orbeon.oxf.resources.handler.HTTPURLConnection |connect                       |HTTPURLConnection.java        | 281|
|org.orbeon.oxf.util.Connection                     |connect                       |Connection.scala              | 149|
|processor.generator.URLGenerator$URLResourceHandler|openConnection                |URLGenerator.java             | 899|
|processor.generator.URLGenerator$URLResourceHandler|openConnection                |URLGenerator.java             | 872|
|processor.generator.URLGenerator$URLResourceHandler|getResourceMediaType          |URLGenerator.java             | 830|
|org.orbeon.oxf.processor.generator.URLGenerator$1  |readImpl                      |URLGenerator.java             | 458|
|---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        |  34|
|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  | 127|
|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|
|orbeon.oxf.servlet.OrbeonServlet$$anonfun$service$1|apply                         |OrbeonServlet.scala           |  67|
|org.orbeon.oxf.util.ScalaUtils$                    |withRootException             |ScalaUtils.scala              | 120|
|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        | 502|
|org.apache.catalina.core.StandardHostValve         |invoke                        |StandardHostValve.java        | 171|
|org.apache.catalina.valves.ErrorReportValve        |invoke                        |ErrorReportValve.java         |  99|
|org.apache.catalina.core.StandardEngineValve       |invoke                        |StandardEngineValve.java      | 118|
|org.apache.catalina.connector.CoyoteAdapter        |service                       |CoyoteAdapter.java            | 408|
|org.apache.coyote.http11.AbstractHttp11Processor   |process                       |AbstractHttp11Processor.java  |1023|
|e.coyote.AbstractProtocol$AbstractConnectionHandler|process                       |AbstractProtocol.java         | 589|
|cat.util.net.AprEndpoint$SocketWithOptionsProcessor|run                           |AprEndpoint.java              |1810|
|java.util.concurrent.ThreadPoolExecutor            |runWorker                     |ThreadPoolExecutor.java       |1145|
|java.util.concurrent.ThreadPoolExecutor$Worker     |run                           |ThreadPoolExecutor.java       | 615|
|java.lang.Thread                                   |run                           |Thread.java                   | 744|
+----------------------------------------------------------------------------------------------------------------------+ {}
2013-11-05 19:40:03,114 INFO  ProcessorService  - /fr/orbeon/builder/new - Timing: 4110
2013-11-05 19:40:03,129 INFO  ProcessorService  - /config/theme/error.css - Received request
2013-11-05 19:40:03,306 INFO  ProcessorService  - /config/theme/error.css - Timing: 177




I try to locate orbeon in the Tomcat default app directory, then goto http://{IP addressl}:8080/orbeon.
Everything seems working fine.
Is there any special settings to use Orbeon as a virtual host?
I googled but can not find any tutorial, can anyone give me some instructions?
Thanks in avdvance!

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Jez
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

Jez
Are you using localhost for your config? ie. Can you connect to http://localhost:8080/orbeon from the guest VM?
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

Erik Bruchez
Administrator
In reply to this post by carlos sun
I am a bit unclear about your virtual host setup "as a virtual host in a customized directory".

Is this with plain Tomcat? Do you have a front-end?

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

kamehameha
In reply to this post by Jez
I am using another computer in my office. The IP address is 192.168.0.200
If I put orbeon in the default Tomcat app directory.
Yes, I can connect to   http://192.168.0.200:8080/orbeon
I can see the front-end and all links seems working fine.

I put orbern in a directory under /mnt/disk1/orbeon.
and in my server.xml
I add a host which is "jsp.myftp.ortg and  the docBase="/mnt/disk1/orbeon"
If i connect to http://jsp.myftp.ortg:8080
Yes, I can see the orbeon front-end, but when click the  create a form link
http://jsp.myftp.ortg:8080/fr/orbeon/builder/new
The error will occur


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:
With Firefox: hold down the shift key and click the Reload button in your browser toolbar.
With Safari and Chrome: click the Reload button in your browser toolbar.
With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
Return home.
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

kamehameha
In reply to this post by Erik Bruchez
Hi Erik,
Thank you for your reply and please see my explaination to Jez.
If anything unclear, please let me know.
I am really confused at this step.
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

kamehameha
Sorry, The domain name is
http://jsp.myftp.org:8080
Jez
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

Jez
Hi Kamehameha

Sorry, I meant wiith a browser running on the VM on which Orbeon is actually installed, can you connect to localhost:8080/orbeon?
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

Erik Bruchez
Administrator
And, related, does it work if you keep an /orbeon context path?

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

kamehameha
In reply to this post by Jez
Hi Jez,

Thank you for your reply.
As I have mentioned, I am not using a VM, but use a computer in my office as the server, the OS is debian, the IP is 192.168.0.200, there is no GUI so no browser on this server.
If I put orbeon under Tomcat default webapps directory, yes, I can access http://192.168.0.200:8080/orbeon and everything same working fine, at least I do not get a broken link error.
I now want to put orbeon in a different directory and assign a Vhost with a domain name  http://jsp.myftp.org so I can access it when I am out of my office.
When I open http://jsp.myftp.org:8080, yes, I can see the orbeon front interface. Then I click on the first and the biggest image "From Builder" with a link to
http://jsp.myftp.org:8080/fr/orbeon/builder/new
Then this error showup

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:
        With Firefox: hold down the shift key and click the Reload button in your browser toolbar.
        With Safari and Chrome: click the Reload button in your browser toolbar.
        With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
    Return home.
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

kamehameha
In reply to this post by Erik Bruchez
Hi Erik,
Thank you for your reply.
As I mentioned above "If I put orbeon under Tomcat default webapps directory, yes, I can access http://192.168.0.200:8080/orbeon and everything same working fine, at least I do not get a broken link error. "
I want to use a vhost for orbeon with the domain name http://jsp.myftp.org
First, do I have to  keep the /orbeon context path?
I want to use the http://jsp.myftp.org:8080 to access Oberon which doesn't work.
I actually tried to point the vhost to the upper directory of Oberon, then use http://jsp.myftp.org:8080/orbeon to access Oberon.
Still the same error, I can see the front interface of Oberon but when click on Form Builder link, the same error showup

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:
        With Firefox: hold down the shift key and click the Reload button in your browser toolbar.
        With Safari and Chrome: click the Reload button in your browser toolbar.
        With Internet Explorer: hold down the control key and click the Reload button in your browser toolbar.
    Return home.
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

kamehameha
In reply to this post by kamehameha
Well, I finally find out why.
The problem is about the domain name jsp.myftp.org which is not a qualified public domain name.
So I can only use IP address to access oberon I think.
Reply | Threaded
Open this post in threaded view
|

Re: Can not create new form

Erik Bruchez
Administrator
Good, thanks for sharing. -Erik