Hi all:
I want to integrate Orbeon PresentationServer (OPS) portlet into gridsphere (http://www.gridsphere.org). I tried to deploy a sample portlet from my download into gridsphere, but got the following errors with a long Stack Trace: " Type class org.orbeon.saxon.xpath.DynamicError Message An empty sequence is not allowed as the value of variable $example Location oxf:/examples/dispatch.xpl Line 51 Column -1 " And I can view it as a servlet without problem. I guess I may miss something in my portlet.xml settings. Here is my portlet.xml: <?xml version="1.0" encoding="UTF-8"?> <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> <portlet> <portlet-name>OXFExamplesPortlet</portlet-name> <portlet-class>org.orbeon.oxf.portlet.OXFPortlet</portlet-class> <init-param> <name>oxf.main-processor.name</name> <value>{http://www.orbeon.com/oxf/processors}pipeline</value> </init-param> <init-param> <name>oxf.main-processor.input.config</name> <value>oxf:/examples/dispatch.xpl</value> </init-param> <init-param> <name>oxf.error-processor.input.config</name> <value>oxf:/config/error.xpl</value> </init-param> <supports> <mime-type>text/html</mime-type> </supports> <portlet-info> <title>Run Example</title> <short-title>Run Example</short-title> </portlet-info> </portlet> I appreciate if anybody can help me out. -- Xiaoyun Tang [hidden email] (515) 294 - 4275 (Office) -- Xiaoyun Tang [hidden email] (515) 294 - 4275 (Office) -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Hi,
Unfortunately, you should not expect OPS JSR-168 portlets to work in other containers at this point. But please see this FAQ entry: http://www.orbeon.com/ops/doc/home-faq#jsr-168 -Erik Xiaoyun Tang wrote: > Hi all: > > I want to integrate Orbeon PresentationServer (OPS) portlet into > gridsphere (http://www.gridsphere.org). I tried to deploy a sample > portlet from my download into gridsphere, but got the following errors > with a long Stack Trace: > " > Type class org.orbeon.saxon.xpath.DynamicError > Message An empty sequence is not allowed as the value of variable $example > Location oxf:/examples/dispatch.xpl > Line 51 > Column -1 > " > And I can view it as a servlet without problem. > > I guess I may miss something in my portlet.xml settings. Here is my portlet.xml: > > <?xml version="1.0" encoding="UTF-8"?> > <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > version="1.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"> > > <portlet> > <portlet-name>OXFExamplesPortlet</portlet-name> > <portlet-class>org.orbeon.oxf.portlet.OXFPortlet</portlet-class> > <init-param> > <name>oxf.main-processor.name</name> > <value>{http://www.orbeon.com/oxf/processors}pipeline</value> > </init-param> > <init-param> > <name>oxf.main-processor.input.config</name> > <value>oxf:/examples/dispatch.xpl</value> > </init-param> > <init-param> > <name>oxf.error-processor.input.config</name> > <value>oxf:/config/error.xpl</value> > </init-param> > <supports> > <mime-type>text/html</mime-type> > </supports> > <portlet-info> > <title>Run Example</title> > <short-title>Run Example</short-title> > </portlet-info> > </portlet> > > > I appreciate if anybody can help me out. > > > -- > Xiaoyun Tang > [hidden email] > (515) 294 - 4275 (Office) -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Xiaoyun Tang
Hi Erik
We tried (unsuccessfully) various portlet containers in 2004, both open source and commercial, when JSR-168 was in draft. We were trying to build 'dashboard' functionality at the time. From the FAQ: <snip> The current status is that there are some bugs in the implementation and that due to high workload at Orbeon and lack of demand so far nobody has spent the time to make this code work with actual JSR-168 container out there now that the specification has been final for a while and that containers are available. </snip> Dashboard functionality would still be highly desirable for us, so I would like to add +1 to the demand for whatever cleanup has to be done to include JSR-168 support in OPS.. Best regards, Martin -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] Sent: 23 September 2005 02:15 To: [hidden email] Subject: Re: [ops-users] Problem:Integrate OPS portlet into Gridsphere Hi, Unfortunately, you should not expect OPS JSR-168 portlets to work in other containers at this point. But please see this FAQ entry: http://www.orbeon.com/ops/doc/home-faq#jsr-168 -Erik Xiaoyun Tang wrote: > Hi all: > > I want to integrate Orbeon PresentationServer (OPS) portlet into > gridsphere (http://www.gridsphere.org). I tried to deploy a sample > portlet from my download into gridsphere, but got the following errors > with a long Stack Trace: > " > Type class org.orbeon.saxon.xpath.DynamicError > Message An empty sequence is not allowed as the value of variable $example > Location oxf:/examples/dispatch.xpl > Line 51 > Column -1 > " > And I can view it as a servlet without problem. > > I guess I may miss something in my portlet.xml settings. Here is my portlet.xml: > > <?xml version="1.0" encoding="UTF-8"?> > <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > version="1.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.x sd"> > > <portlet> > <portlet-name>OXFExamplesPortlet</portlet-name> > <portlet-class>org.orbeon.oxf.portlet.OXFPortlet</portlet-class> > <init-param> > <name>oxf.main-processor.name</name> > <value>{http://www.orbeon.com/oxf/processors}pipeline</value> > </init-param> > <init-param> > <name>oxf.main-processor.input.config</name> > <value>oxf:/examples/dispatch.xpl</value> > </init-param> > <init-param> > <name>oxf.error-processor.input.config</name> > <value>oxf:/config/error.xpl</value> > </init-param> > <supports> > <mime-type>text/html</mime-type> > </supports> > <portlet-info> > <title>Run Example</title> > <short-title>Run Example</short-title> > </portlet-info> > </portlet> > > > I appreciate if anybody can help me out. > > > -- > Xiaoyun Tang > [hidden email] > (515) 294 - 4275 (Office) -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Martin,
Thanks for the vote. The most likely solution may be that we actually find one or more sponsors for this feature, as for now the priority for us at Orbeon (understandably I hope) remains shipping OPS 3.0 with a kick-ass XForms engine. Maybe several individuals / companies could pool resources together to sponsor this feature? -Erik Martin Dow wrote: > Hi Erik > > We tried (unsuccessfully) various portlet containers in 2004, both open > source and commercial, when JSR-168 was in draft. We were trying to > build 'dashboard' functionality at the time. > > From the FAQ: > <snip> > The current status is that there are some bugs in the implementation and > that due to high workload at Orbeon and lack of demand so far nobody has > spent the time to make this code work with actual JSR-168 container out > there now that the specification has been final for a while and that > containers are available. > </snip> > > Dashboard functionality would still be highly desirable for us, so I > would like to add +1 to the demand for whatever cleanup has to be done > to include JSR-168 support in OPS.. > > Best regards, > > Martin > > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] > Sent: 23 September 2005 02:15 > To: [hidden email] > Subject: Re: [ops-users] Problem:Integrate OPS portlet into Gridsphere > > Hi, > > Unfortunately, you should not expect OPS JSR-168 portlets to work in > other containers at this point. But please see this FAQ entry: > > http://www.orbeon.com/ops/doc/home-faq#jsr-168 > > -Erik > > Xiaoyun Tang wrote: > > Hi all: > > > > I want to integrate Orbeon PresentationServer (OPS) portlet into > > gridsphere (http://www.gridsphere.org). I tried to deploy a sample > > portlet from my download into gridsphere, but got the following > errors > > with a long Stack Trace: > > " > > Type class org.orbeon.saxon.xpath.DynamicError > > Message An empty sequence is not allowed as the value of > variable > $example > > Location oxf:/examples/dispatch.xpl > > Line 51 > > Column -1 > > " > > And I can view it as a servlet without problem. > > > > I guess I may miss something in my portlet.xml settings. Here is my > portlet.xml: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <portlet-app > xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > > version="1.0" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.x > sd"> > > > > <portlet> > > <portlet-name>OXFExamplesPortlet</portlet-name> > > > <portlet-class>org.orbeon.oxf.portlet.OXFPortlet</portlet-class> > > <init-param> > > <name>oxf.main-processor.name</name> > > > <value>{http://www.orbeon.com/oxf/processors}pipeline</value> > > </init-param> > > <init-param> > > <name>oxf.main-processor.input.config</name> > > <value>oxf:/examples/dispatch.xpl</value> > > </init-param> > > <init-param> > > <name>oxf.error-processor.input.config</name> > > <value>oxf:/config/error.xpl</value> > > </init-param> > > <supports> > > <mime-type>text/html</mime-type> > > </supports> > > <portlet-info> > > <title>Run Example</title> > > <short-title>Run Example</short-title> > > </portlet-info> > > </portlet> > > > > > > I appreciate if anybody can help me out. > > > > > > -- > > Xiaoyun Tang > > [hidden email] > > (515) 294 - 4275 (Office) -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi,
I've just started looking into this issue, i.e. incorporating OPS XForms into the Gridsphere container, to make use of the GridPortlets for the grid security requirement of a project. For the time being, may be using iframe to wrap the OPS XForms as external webapps in Gridsphere may provide a temporary solution? Boon On 23 Sep 2005, at 22:20, Erik Bruchez wrote: > Martin, > > Thanks for the vote. The most likely solution may be that we actually > find one or more sponsors for this feature, as for now the priority > for us at Orbeon (understandably I hope) remains shipping OPS 3.0 with > a kick-ass XForms engine. Maybe several individuals / companies could > pool resources together to sponsor this feature? > > -Erik > > Martin Dow wrote: > > Hi Erik > > > > We tried (unsuccessfully) various portlet containers in 2004, > both open > > source and commercial, when JSR-168 was in draft. We were trying to > > build 'dashboard' functionality at the time. > > > > From the FAQ: > > <snip> > > The current status is that there are some bugs in the > implementation and > > that due to high workload at Orbeon and lack of demand so far > nobody has > > spent the time to make this code work with actual JSR-168 > container out > > there now that the specification has been final for a while and that > > containers are available. > > </snip> > > > > Dashboard functionality would still be highly desirable for us, so I > > would like to add +1 to the demand for whatever cleanup has to be > done > > to include JSR-168 support in OPS.. > > > > Best regards, > > > > Martin > > > > > > -----Original Message----- > > From: Erik Bruchez [mailto:[hidden email]] > > Sent: 23 September 2005 02:15 > > To: [hidden email] > > Subject: Re: [ops-users] Problem:Integrate OPS portlet into > Gridsphere > > > > Hi, > > > > Unfortunately, you should not expect OPS JSR-168 portlets to work in > > other containers at this point. But please see this FAQ entry: > > > > http://www.orbeon.com/ops/doc/home-faq#jsr-168 > > > > -Erik > > > > Xiaoyun Tang wrote: > > > Hi all: > > > > > > I want to integrate Orbeon PresentationServer (OPS) portlet into > > > gridsphere (http://www.gridsphere.org). I tried to deploy a > sample > > > portlet from my download into gridsphere, but got the following > > errors > > > with a long Stack Trace: > > > " > > > Type class org.orbeon.saxon.xpath.DynamicError > > > Message An empty sequence is not allowed as the value of > > variable > > $example > > > Location oxf:/examples/dispatch.xpl > > > Line 51 > > > Column -1 > > > " > > > And I can view it as a servlet without problem. > > > > > > I guess I may miss something in my portlet.xml settings. Here > is my > > portlet.xml: > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > <portlet-app > > xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" > > > version="1.0" > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > > > xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet- > app_1_0.x > > sd"> > > > > > > <portlet> > > > <portlet-name>OXFExamplesPortlet</portlet-name> > > > > > <portlet-class>org.orbeon.oxf.portlet.OXFPortlet</portlet-class> > > > <init-param> > > > <name>oxf.main-processor.name</name> > > > > > <value>{http://www.orbeon.com/oxf/processors}pipeline</value> > > > </init-param> > > > <init-param> > > > <name>oxf.main-processor.input.config</name> > > > <value>oxf:/examples/dispatch.xpl</value> > > > </init-param> > > > <init-param> > > > <name>oxf.error-processor.input.config</name> > > > <value>oxf:/config/error.xpl</value> > > > </init-param> > > > <supports> > > > <mime-type>text/html</mime-type> > > > </supports> > > > <portlet-info> > > > <title>Run Example</title> > > > <short-title>Run Example</short-title> > > > </portlet-info> > > > </portlet> > > > > > > > > > I appreciate if anybody can help me out. > > > > > > > > > -- > > > Xiaoyun Tang > > > [hidden email] > > > (515) 294 - 4275 (Office) > > > > -- > You receive this message as a subscriber of the ops- > [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/ > wws -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Boon,
Yes, I think that may be an option for the moment. We have not tried the iframe option yet, so you may encounter unforeseen issues, but it is certainly worth giving it a try. -Erik Boon Low wrote: > Hi, > > I've just started looking into this issue, i.e. incorporating OPS > XForms into the Gridsphere container, to make use of the GridPortlets > for the grid security requirement of a project. For the time being, may > be using iframe to wrap the OPS XForms as external webapps in > Gridsphere may provide a temporary solution? > > Boon > > > On 23 Sep 2005, at 22:20, Erik Bruchez wrote: > >> Martin, >> >> Thanks for the vote. The most likely solution may be that we actually >> find one or more sponsors for this feature, as for now the priority >> for us at Orbeon (understandably I hope) remains shipping OPS 3.0 with >> a kick-ass XForms engine. Maybe several individuals / companies could >> pool resources together to sponsor this feature? >> >> -Erik >> >> Martin Dow wrote: >> > Hi Erik >> > >> > We tried (unsuccessfully) various portlet containers in 2004, both >> open >> > source and commercial, when JSR-168 was in draft. We were trying to >> > build 'dashboard' functionality at the time. >> > >> > From the FAQ: >> > <snip> >> > The current status is that there are some bugs in the >> implementation and >> > that due to high workload at Orbeon and lack of demand so far >> nobody has >> > spent the time to make this code work with actual JSR-168 container >> out >> > there now that the specification has been final for a while and that >> > containers are available. >> > </snip> >> > >> > Dashboard functionality would still be highly desirable for us, so I >> > would like to add +1 to the demand for whatever cleanup has to be done >> > to include JSR-168 support in OPS.. >> > >> > Best regards, >> > >> > Martin >> > >> > >> > -----Original Message----- >> > From: Erik Bruchez [mailto:[hidden email]] >> > Sent: 23 September 2005 02:15 >> > To: [hidden email] >> > Subject: Re: [ops-users] Problem:Integrate OPS portlet into Gridsphere >> > >> > Hi, >> > >> > Unfortunately, you should not expect OPS JSR-168 portlets to work in >> > other containers at this point. But please see this FAQ entry: >> > >> > http://www.orbeon.com/ops/doc/home-faq#jsr-168 >> > >> > -Erik >> > >> > Xiaoyun Tang wrote: >> > > Hi all: >> > > >> > > I want to integrate Orbeon PresentationServer (OPS) portlet into >> > > gridsphere (http://www.gridsphere.org). I tried to deploy a sample >> > > portlet from my download into gridsphere, but got the following >> > errors >> > > with a long Stack Trace: >> > > " >> > > Type class org.orbeon.saxon.xpath.DynamicError >> > > Message An empty sequence is not allowed as the value of >> > variable >> > $example >> > > Location oxf:/examples/dispatch.xpl >> > > Line 51 >> > > Column -1 >> > > " >> > > And I can view it as a servlet without problem. >> > > >> > > I guess I may miss something in my portlet.xml settings. Here is my >> > portlet.xml: >> > > >> > > <?xml version="1.0" encoding="UTF-8"?> >> > > <portlet-app >> > xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" >> > > version="1.0" >> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> > > >> > xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet- >> app_1_0.x >> > sd"> >> > > >> > > <portlet> >> > > <portlet-name>OXFExamplesPortlet</portlet-name> >> > > >> > <portlet-class>org.orbeon.oxf.portlet.OXFPortlet</portlet-class> >> > > <init-param> >> > > <name>oxf.main-processor.name</name> >> > > >> > <value>{http://www.orbeon.com/oxf/processors}pipeline</value> >> > > </init-param> >> > > <init-param> >> > > <name>oxf.main-processor.input.config</name> >> > > <value>oxf:/examples/dispatch.xpl</value> >> > > </init-param> >> > > <init-param> >> > > <name>oxf.error-processor.input.config</name> >> > > <value>oxf:/config/error.xpl</value> >> > > </init-param> >> > > <supports> >> > > <mime-type>text/html</mime-type> >> > > </supports> >> > > <portlet-info> >> > > <title>Run Example</title> >> > > <short-title>Run Example</short-title> >> > > </portlet-info> >> > > </portlet> >> > > >> > > >> > > I appreciate if anybody can help me out. >> > > >> > > >> > > -- >> > > Xiaoyun Tang >> > > [hidden email] >> > > (515) 294 - 4275 (Office) >> >> >> >> -- >> You receive this message as a subscriber of the ops- >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws > > > > > ------------------------------------------------------------------------ > > > -- > 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 > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi,
Does anyone know how to configure a JBOSS datasource than can be found by Orbeon. I've tried to add resource-ref in web.xml and jboss-web.xml but orbeon always throws the exception "env not bound". Here's my web.xml resource-ref ------------------------------ <resource-ref> <description>DataSource</description> <res-ref-name>jdbc/wasis</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref> And my jboss-web.xml resource-ref --------------------------------- <resource-ref> <res-ref-name>jdbc/wasis</res-ref-name> <res-type>javax.sql.DataSource</res-type> <jndi-name>java:/wasis</jndi-name> </resource-ref> And my datasource : -------------------- <datasources> <local-tx-datasource> <jndi-name>wasis</jndi-name> ... Thanks -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Youssef Medaghri-Alaoui wrote:
> Hi, > > Does anyone know how to configure a JBOSS datasource than can be found by > Orbeon. > > I've tried to add resource-ref in web.xml and jboss-web.xml but orbeon > always throws the exception "env not bound". > > Here's my web.xml resource-ref > ------------------------------ > <resource-ref> > <description>DataSource</description> > <res-ref-name>jdbc/wasis</res-ref-name> > <res-type>javax.sql.DataSource</res-type> > <res-auth>Container</res-auth> > </resource-ref> > > And my jboss-web.xml resource-ref > --------------------------------- > <resource-ref> > <res-ref-name>jdbc/wasis</res-ref-name> > <res-type>javax.sql.DataSource</res-type> > <jndi-name>java:/wasis</jndi-name> > </resource-ref> > > And my datasource : > -------------------- > <datasources> > <local-tx-datasource> > <jndi-name>wasis</jndi-name> > ... automatically prepends "jdbc/" to the datasource name you specify in the <datasource> element in your SQL processor config. So if you write: <datasource>wasis</datasource> the SQL processor will actually get: java:comp/env/jdbc/wasis -Erik -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |