Hello all, am new to Orbeon, I have tried the following code on a GlassFish server instead of Tomcat (as tomcat kept giving me a PermGen space error when runing orbeon!), <html xmlns="http://www.w3.org/1999/ xmlns:xhtml="http://www.w3. xmlns:xforms="http://www.w3. xmlns:xs="http://www.w3.org/ xmlns:ev="http://www.w3.org/ xmlns:xxforms="http://orbeon. <head> <title>XForms Bookcast</title> <xforms:model> <xforms:instance id="books-instance"> <books xmlns=""> <book> <title/> <author/> <language/> <link/> <rating/> <notes/> </book> </books> </xforms:instance> <xforms:instance id="languages-instance"> <languages xmlns=""> <language> <name>English</name> <value>en</value> </language> <language> <name>French</name> <value>fr</value> </language> <language> <name>Spanish</name> <value>es</value> </language> </languages> </xforms:instance> <xforms:bind ref="book"> <xforms:bind nodeset="title" required="true()"/> <xforms:bind nodeset="author" required="true()"/> </xforms:bind> <xforms:submission id="save-submission" ref="instance('books-instance' resource="http://localhost: </xforms:model> </head> <body> <p>Hello you zebras!</p> <xforms:group ref="book"> <xforms:input ref="title"> <xforms:label>Title</xforms: </xforms:input> <br/> <xforms:input ref="author"> <xforms:label>Author</xforms: </xforms:input> <xforms:select1 ref="language"> <xforms:label>Language</ <xforms:item> <xforms:label>Choose One...</xforms:label> <xforms:value/> </xforms:item> <xforms:itemset nodeset="instance('languages- <xforms:label ref="name"/> <xforms:value ref="value"/> </xforms:itemset> </xforms:select1> <br/> <xforms:submit submission="save-submission"> <xforms:label>Save</xforms: </xforms:submit> </xforms:group> </body> </html> But when I click the subit button, I get the error below: Access to the webpage was deniedYou are not authorized to access the webpage at http://localhost:8180/orbeo HTTP Error 403 (Forbidden): The server refused to fulfill the request. Could anyone please point out where am going wrong? Why can't I view my submitted data? Why is the http error suggesting I may need to sign in? sign into what? Looking at my log, I see : 2013-10-09 01:49:19,081 INFO ProcessorService - /xforms-server - Timing: 70 2013-10-09 01:49:28,365 INFO ProcessorService - /xforms-server - Received request 2013-10-09 01:49:28,396 ERROR XFormsServer - xforms-submit-error - setting throwable {throwable: " +----------------------------- |An Error has Occurred | |----------------------------- |Could not initialize class org.orbeon.oxf.resources. |----------------------------- |Application Call Stack | |----------------------------- |----------------------------- |Exception: java.lang.NoClassDefFoundError | |----------------------------- |org.orbeon.oxf.resources. |java.net.URL |openConnection |URL.java | 969| |org.orbeon.oxf.util. |rg.orbeon.oxf.xforms. |rg.orbeon.oxf.xforms. |org.orbeon.oxf.xforms. |org.orbeon.oxf.xforms. |.orbeon.oxf.xforms. |.orbeon.oxf.xforms. |.oxf.xforms.event.Dispatch$$ |.oxf.xforms.event.Dispatch$$ |.oxf.xforms.event.Dispatch$$ |org.orbeon.oxf.xforms.event. |org.orbeon.oxf.xforms.event. |eon.oxf.xforms.control. |.oxf.xforms.event.Dispatch$$ |.oxf.xforms.event.Dispatch$$ |.oxf.xforms.event.Dispatch$$ |org.orbeon.oxf.xforms.event. |org.orbeon.oxf.xforms.event. |---8<--------8<--------8<---- |org.apache.catalina.core. |org.apache.catalina.core. |org.apache.catalina. |org.apache.catalina. |se.v3.services.impl. |com.sun.enterprise.v3. |com.sun.grizzly.http. |com.sun.grizzly.http. |com.sun.grizzly.http. |com.sun.grizzly.http. |com.sun.grizzly. |com.sun.grizzly. |com.sun.grizzly. |com.sun.grizzly.http. |com.sun.grizzly. |com.sun.grizzly. |com.sun.grizzly.ContextTask |run |ContextTask.java | 71| |com.sun.grizzly.util. |com.sun.grizzly.util. |java.lang.Thread |run |Thread.java | 722| +----------------------------- 2013-10-09 01:49:28,411 INFO ProcessorService - /xforms-server - Timing: 46 Hope this helps? Tumaini 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]. |
Administrator
|
Hi Tumaini,
Where are you getting this message? Indeed, you should not be allowed to access eXist directly from your browser, but I doubt that this is what you're doing. What page are you trying to access? And to avoid permgen errors, try increasing its size (see URL below). If avoiding permgen errors were your main reason to use GlassFish, I'd recommend you try again with Tomcat, as it is more lightweight and more widely used. http://wiki.orbeon.com/forms/doc/developer-guide/admin/performance-tuning#TOC-Permgen-errors Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |