Schema validation for XSD:int

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

Schema validation for XSD:int

TirupatiReddy
Hi,

  I am validationg an XForm with XSD. I have some elements of type XSD:int. When I submit my form without entering any value for those elements , It's saying the form has errors. It means those fields are required. How do I make the elements with XSD:int not required. If I change those elements to XSD:string they are working fine. So what I assume is if we have the XSD:int, those are required, right? So please let me know how do I solve the problem.

Thanks
TirupatiReddy
Reply | Threaded
Open this post in threaded view
|

Re: Schema validation for XSD:int

Erik Bruchez
Administrator
In XML schema, if an element or attribute is of type xsd:int, then it  
simply can't be empty. That's the way XML Schema works, independently  
from XForms.

If you switch to using xforms:bind for validation, you can use the  
type xforms:int, which allows empty values.

-Erik

On Jun 10, 2009, at 11:44 AM, TirupatiReddy wrote:

>
> Hi,
>
>  I am validationg an XForm with XSD. I have some elements of type  
> XSD:int.
> When I submit my form without entering any value for those  
> elements , It's
> saying the form has errors. It means those fields are required. How  
> do I
> make the elements with XSD:int not required. If I change those  
> elements to
> XSD:string they are working fine. So what I assume is if we have the
> XSD:int, those are required, right? So please let me know how do I  
> solve the
> problem.
>
> Thanks
> TirupatiReddy
> --
> View this message in context: http://www.nabble.com/Schema-validation-for-XSD%3Aint-tp23968552p23968552.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
Reply | Threaded
Open this post in threaded view
|

Re: Schema validation for XSD:int

TirupatiReddy
Thanks for your suggestion. But the point is I can't change the schema. Right now for the temporary fix, I am putting zero by default for integer elements. Is there any way that xforms:bind validation overwrites the schema validation?
Reply | Threaded
Open this post in threaded view
|

Re: Re: Schema validation for XSD:int

Erik Bruchez
Administrator
If any validation constraint fails for a node, then that node is  
marked as invalid. This is as per the XForms specification.

Do these elements have xsi:nillable in the schema?

-Erik

On Jun 12, 2009, at 2:10 PM, TirupatiReddy wrote:

>
> Thanks for your suggestion. But the point is I can't change the  
> schema. Right
> now for the temporary fix, I am putting zero by default for integer
> elements. Is there any way that xforms:bind validation overwrites  
> the schema
> validation?
> --
> View this message in context: http://www.nabble.com/Schema-validation-for-XSD%3Aint-tp23968552p24006136.html
> Sent from the ObjectWeb 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 for the Enterprise Done the Right Way
http://www.orbeon.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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Schema validation for XSD:int

TirupatiReddy
I have nillable="true" for all the xs:integer elements. But it is showing the validation error if we don't enter any value for those elements.


Erik Bruchez wrote
If any validation constraint fails for a node, then that node is  
marked as invalid. This is as per the XForms specification.

Do these elements have xsi:nillable in the schema?

-Erik

On Jun 12, 2009, at 2:10 PM, TirupatiReddy wrote:

>
> Thanks for your suggestion. But the point is I can't change the  
> schema. Right
> now for the temporary fix, I am putting zero by default for integer
> elements. Is there any way that xforms:bind validation overwrites  
> the schema
> validation?
> --
> View this message in context: http://www.nabble.com/Schema-validation-for-XSD%3Aint-tp23968552p24006136.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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: Re: Schema validation for XSD:int

Alessandro Vernet
Administrator
If your schema says those nodes have to be of type xs:integer, if you leave the nodes empty they won't be valid according to the schema. If it should be OK for those nodes to be empty, then the schema needs to be changed. I don't really see another way around it.

Alex

TirupatiReddy wrote
I have nillable="true" for all the xs:integer elements. But it is showing the validation error if we don't enter any value for those elements.


Erik Bruchez wrote
If any validation constraint fails for a node, then that node is  
marked as invalid. This is as per the XForms specification.

Do these elements have xsi:nillable in the schema?

-Erik

On Jun 12, 2009, at 2:10 PM, TirupatiReddy wrote:

>
> Thanks for your suggestion. But the point is I can't change the  
> schema. Right
> now for the temporary fix, I am putting zero by default for integer
> elements. Is there any way that xforms:bind validation overwrites  
> the schema
> validation?
> --
> View this message in context: http://www.nabble.com/Schema-validation-for-XSD%3Aint-tp23968552p24006136.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> 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

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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: Re: Re: Schema validation for XSD:int

Erik Bruchez
Administrator
What I was thinking was that if the schema says the field is nillable,  
and xsi:nil="true" is present on the element, then validation should  
work.

I haven't yet tried if our validator is happy with xsi:nil="true", but  
if so, you could add those attributes on all nillable elements, and  
then set xsi:nil to true or false with a calculate depending on  
whether the value is empty or not.

-Erik

On Jun 21, 2009, at 5:16 PM, Alessandro Vernet wrote:

>
> If your schema says those nodes have to be of type xs:integer, if  
> you leave
> the nodes empty they won't be valid according to the schema. If it  
> should be
> OK for those nodes to be empty, then the schema needs to be changed.  
> I don't
> really see another way around it.
>
> Alex
>
>
> TirupatiReddy wrote:
>>
>> I have nillable="true" for all the xs:integer elements. But it is  
>> showing
>> the validation error if we don't enter any value for those elements.
>>
>>
>>
>> Erik Bruchez wrote:
>>>
>>> If any validation constraint fails for a node, then that node is
>>> marked as invalid. This is as per the XForms specification.
>>>
>>> Do these elements have xsi:nillable in the schema?
>>>
>>> -Erik
>>>
>>> On Jun 12, 2009, at 2:10 PM, TirupatiReddy wrote:
>>>
>>>>
>>>> Thanks for your suggestion. But the point is I can't change the
>>>> schema. Right
>>>> now for the temporary fix, I am putting zero by default for integer
>>>> elements. Is there any way that xforms:bind validation overwrites
>>>> the schema
>>>> validation?
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Schema-validation-for-XSD%3Aint-tp23968552p24006136.html
>>>> Sent from the ObjectWeb 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 for the Enterprise Done the Right Way
>>> http://www.orbeon.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 2.0 Forms, open-source, for the Enterprise
> Orbeon's Blog: http://www.orbeon.com/blog/
> Personal Blog: http://avernet.blogspot.com/
> Twitter - http://twitter.com/avernet
> --
> View this message in context: http://www.nabble.com/Schema-validation-for-XSD%3Aint-tp23968552p24140230.html
> Sent from the ObjectWeb 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 for the Enterprise Done the Right Way
http://www.orbeon.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
Reply | Threaded
Open this post in threaded view
|

Small problem with Bookshelf No SuchMethodError when clicking on review



--
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
Alex Sharaz-2
In reply to this post by Erik Bruchez
Hi,

I'm currently running the 161209 nightly build of Orbeon on a Resin 4.0.2 server and have been looking at  

a). The bookshelf app and
b) mplementing the file upload example from the orbeon web site how-to list 

With the bookshelf app, I can create a book entry and double click on it to view the details. However, when i click on either pdf or review when looking at the details, I get a NoSuchMethod 
error occurring as shown below:-

Alyone else seen this error?
Rgds
Alex



Orbeon Forms Error

Typeclass java.lang.NoSuchMethodError
Messageorg.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
Stack Trace
java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
	at org.orbeon.oxf.util.NetUtils.getParameterMapMultipart(NetUtils.java:1003)
	at org.orbeon.oxf.servlet.ServletExternalContext$Request.getParameterMap(ServletExternalContext.java:148)
	at org.orbeon.oxf.processor.generator.RequestGenerator.addParameters(RequestGenerator.java:450)
	at org.orbeon.oxf.processor.generator.RequestGenerator.readWholeRequestAsDOM4J(RequestGenerator.java:321)
	at org.orbeon.oxf.processor.generator.RequestGenerator.readRequestAsDOM4J(RequestGenerator.java:293)
	at org.orbeon.oxf.processor.generator.RequestGenerator.access$500(RequestGenerator.java:79)
	at org.orbeon.oxf.processor.generator.RequestGenerator$1.fillOutState(RequestGenerator.java:213)
	at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java:1411)
	at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getLocalKey(ProcessorImpl.java:1374)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1316)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
	at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1226)
	at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1233)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.access$000(ConcreteChooseProcessor.java:35)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.getKeyImpl(ConcreteChooseProcessor.java:130)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:439)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
	at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:495)
	at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
	at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
	at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
	at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:112)
	at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
	at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
	at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:784)
	at com.caucho.server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:619)
	at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:556)
	at com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1194)
	at com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1127)
	at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1158)
	at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
	at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)
Reply | Threaded
Open this post in threaded view
|

Re: Small problem with Bookshelf No SuchMethodError when clicking on review

Alex Sharaz-2
Sigh!!

The copy of orbeon at home works just fine on resin 4.0.2. Guess I've got a jar file somewhere with an older copy of the apache file upload lurking around.

Alex
On 23 Dec 2009, at 15:07, Alex Sharaz wrote:

Hi,

I'm currently running the 161209 nightly build of Orbeon on a Resin 4.0.2 server and have been looking at  

a). The bookshelf app and
b) mplementing the file upload example from the orbeon web site how-to list 

With the bookshelf app, I can create a book entry and double click on it to view the details. However, when i click on either pdf or review when looking at the details, I get a NoSuchMethod 
error occurring as shown below:-

Alyone else seen this error?
Rgds
Alex



Orbeon Forms Error

Typeclass java.lang.NoSuchMethodError
Messageorg.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
Stack Trace
java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
	at org.orbeon.oxf.util.NetUtils.getParameterMapMultipart(NetUtils.java:1003)
	at org.orbeon.oxf.servlet.ServletExternalContext$Request.getParameterMap(ServletExternalContext.java:148)
	at org.orbeon.oxf.processor.generator.RequestGenerator.addParameters(RequestGenerator.java:450)
	at org.orbeon.oxf.processor.generator.RequestGenerator.readWholeRequestAsDOM4J(RequestGenerator.java:321)
	at org.orbeon.oxf.processor.generator.RequestGenerator.readRequestAsDOM4J(RequestGenerator.java:293)
	at org.orbeon.oxf.processor.generator.RequestGenerator.access$500(RequestGenerator.java:79)
	at org.orbeon.oxf.processor.generator.RequestGenerator$1.fillOutState(RequestGenerator.java:213)
	at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java:1411)
	at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getLocalKey(ProcessorImpl.java:1374)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1316)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
	at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1226)
	at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1233)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.access$000(ConcreteChooseProcessor.java:35)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.getKeyImpl(ConcreteChooseProcessor.java:130)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:439)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
	at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:495)
	at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
	at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
	at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
	at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:112)
	at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
	at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
	at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:784)
	at com.caucho.server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:619)
	at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:556)
	at com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1194)
	at com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1127)
	at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1158)
	at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
	at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)

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

==========
Time for another Macmillan Cancer Support event. This time its the Trans Central America cycle challenge -680Km in 8 days. 




--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Small problem with Bookshelf No SuchMethodError when clicking on review

Alex Sharaz-2
Now this is getting silly.

Fire up orbeon and select the Bookshelf app.

(BTW, my installation  doesn't have any example data in bookshelf, should it?)

Create an entry.

From the bookshelf summary page, select the document 

Click on the PDF button

it works and a pdf is downloaded to your browser.

Click on the review button 
a review page appears.

Click on the pdf button in the review field

Get the "NoSuchMethod" error page.

Close the review page and get back to the summary page

Double click on the created entry to open the book details page

Click on the pdf button

Fails with nosuchmethod again

Go back to book details

Click on review

Fails with no such method

Help!!!
Alex


On 24 Dec 2009, at 09:15, Alex Sharaz wrote:

Sigh!!

The copy of orbeon at home works just fine on resin 4.0.2. Guess I've got a jar file somewhere with an older copy of the apache file upload lurking around.

Alex
On 23 Dec 2009, at 15:07, Alex Sharaz wrote:

Hi,

I'm currently running the 161209 nightly build of Orbeon on a Resin 4.0.2 server and have been looking at  

a). The bookshelf app and
b) mplementing the file upload example from the orbeon web site how-to list 

With the bookshelf app, I can create a book entry and double click on it to view the details. However, when i click on either pdf or review when looking at the details, I get a NoSuchMethod 
error occurring as shown below:-

Alyone else seen this error?
Rgds
Alex



Orbeon Forms Error

Typeclass java.lang.NoSuchMethodError
Messageorg.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
Stack Trace
java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
	at org.orbeon.oxf.util.NetUtils.getParameterMapMultipart(NetUtils.java:1003)
	at org.orbeon.oxf.servlet.ServletExternalContext$Request.getParameterMap(ServletExternalContext.java:148)
	at org.orbeon.oxf.processor.generator.RequestGenerator.addParameters(RequestGenerator.java:450)
	at org.orbeon.oxf.processor.generator.RequestGenerator.readWholeRequestAsDOM4J(RequestGenerator.java:321)
	at org.orbeon.oxf.processor.generator.RequestGenerator.readRequestAsDOM4J(RequestGenerator.java:293)
	at org.orbeon.oxf.processor.generator.RequestGenerator.access$500(RequestGenerator.java:79)
	at org.orbeon.oxf.processor.generator.RequestGenerator$1.fillOutState(RequestGenerator.java:213)
	at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java:1411)
	at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getLocalKey(ProcessorImpl.java:1374)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1316)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
	at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1226)
	at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1233)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.access$000(ConcreteChooseProcessor.java:35)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.getKeyImpl(ConcreteChooseProcessor.java:130)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
	at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
	at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:439)
	at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
	at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
	at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
	at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
	at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:495)
	at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
	at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
	at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
	at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:112)
	at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
	at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
	at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
	at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
	at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:784)
	at com.caucho.server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:619)
	at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:556)
	at com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1194)
	at com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1127)
	at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1158)
	at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
	at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)

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

==========
Time for another Macmillan Cancer Support event. This time its the Trans Central America cycle challenge -680Km in 8 days. 



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

==========

Time for another Macmillan Cancer Support event. This time its the Trans Central America cycle challenge -680Km in 8 days. 


For route plan see Google Maps 






--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Small problem with Bookshelf No SuchMethodError when clicking on review

Alessandro  Vernet
Administrator
Hi Alex,

1) After you have just installed Orbeon Forms, the Bookshelf example
won't show any data. So this is normal.

2) I followed those steps and didn't get any NoSuchMethod (or other
exception for that matter). I suspect that there is something iffy
with your installation, with either some old classes still around, or
some conflict with a library that comes with Rasin and that takes the
precedence over the one we ship with Orbeon Forms. Is the error always
with a class in org.apache.commons.fileupload? Could it be that Rasin
come with a version of commons-fileupload that takes the precedence
over the one in Orbeon Forms? Maybe you could try reinstalling a fresh
Rasin and Orbeon Forms, to check if you still get the same error.

Alex

On Thu, Dec 24, 2009 at 2:43 AM, Alex Sharaz <[hidden email]> wrote:

>
> Now this is getting silly.
> Fire up orbeon and select the Bookshelf app.
> (BTW, my installation  doesn't have any example data in bookshelf, should it?)
> Create an entry.
> From the bookshelf summary page, select the document
> Click on the PDF button
> it works and a pdf is downloaded to your browser.
> Click on the review button
> a review page appears.
> Click on the pdf button in the review field
> Get the "NoSuchMethod" error page.
> Close the review page and get back to the summary page
> Double click on the created entry to open the book details page
> Click on the pdf button
> Fails with nosuchmethod again
> Go back to book details
> Click on review
> Fails with no such method
> Help!!!
> Alex
>
> On 24 Dec 2009, at 09:15, Alex Sharaz wrote:
>
> Sigh!!
> The copy of orbeon at home works just fine on resin 4.0.2. Guess I've got a jar file somewhere with an older copy of the apache file upload lurking around.
> Alex
> On 23 Dec 2009, at 15:07, Alex Sharaz wrote:
>
> Hi,
>
> I'm currently running the 161209 nightly build of Orbeon on a Resin 4.0.2 server and have been looking at
>
> a). The bookshelf app and
> b) mplementing the file upload example from the orbeon web site how-to list
>
> With the bookshelf app, I can create a book entry and double click on it to view the details. However, when i click on either pdf or review when looking at the details, I get a NoSuchMethod
> error occurring as shown below:-
>
> Alyone else seen this error?
> Rgds
> Alex
>
>
>
> Orbeon Forms Error
>
> Typeclass java.lang.NoSuchMethodError
> Messageorg.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
> Stack Trace
>
> java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
> at org.orbeon.oxf.util.NetUtils.getParameterMapMultipart(NetUtils.java:1003)
> at org.orbeon.oxf.servlet.ServletExternalContext$Request.getParameterMap(ServletExternalContext.java:148)
> at org.orbeon.oxf.processor.generator.RequestGenerator.addParameters(RequestGenerator.java:450)
> at org.orbeon.oxf.processor.generator.RequestGenerator.readWholeRequestAsDOM4J(RequestGenerator.java:321)
> at org.orbeon.oxf.processor.generator.RequestGenerator.readRequestAsDOM4J(RequestGenerator.java:293)
> at org.orbeon.oxf.processor.generator.RequestGenerator.access$500(RequestGenerator.java:79)
> at org.orbeon.oxf.processor.generator.RequestGenerator$1.fillOutState(RequestGenerator.java:213)
> at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java:1411)
> at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getLocalKey(ProcessorImpl.java:1374)
> at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1316)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
> at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
> at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
> at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1226)
> at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1233)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.access$000(ConcreteChooseProcessor.java:35)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.getKeyImpl(ConcreteChooseProcessor.java:130)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
> at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:439)
> at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
> at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:495)
> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
> at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
> at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
> at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:112)
> at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
> at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
> at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
> at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:784)
> at com.caucho.server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:619)
> at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:556)
> at com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1194)
> at com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1127)
> at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1158)
> at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
> at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)
>
> --
> 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
>
> ==========
> Time for another Macmillan Cancer Support event. This time its the Trans Central America cycle challenge -680Km in 8 days.
> Please sponsor me at http://www.justgiving.com/alexsharaz
>
> --
> 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
>
> ==========
> Time for another Macmillan Cancer Support event. This time its the Trans Central America cycle challenge -680Km in 8 days.
> Please sponsor me at http://www.justgiving.com/alexsharaz
> For route plan see Google Maps
> Link: <http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=107842292717531843695.000478a34dfab81e9c373&ll=11.323867,-84.188232&spn=3.791241,6.196289&t=p&z=8>
>
>
>
>
> --
> 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
Orbeon's Blog: http://www.orbeon.com/blog/
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: Re: Small problem with Bookshelf No SuchMethodError when clicking on review

Alessandro  Vernet
Administrator
In reply to this post by Alex Sharaz-2
Alex,

1) After you have just installed Orbeon Forms, the Bookshelf example
won't show any data. So this is normal.

2) I followed those steps and didn't get any NoSuchMethod (or other
exception for that matter). I suspect that there is something iffy
with your installation, with either some old classes still around, or
some conflict with a library that comes with Rasin and that takes the
precedence over the one we ship with Orbeon Forms. Is the error always
with a class in org.apache.commons.fileupload? Could it be that Rasin
come with a version of commons-fileupload that takes the precedence
over the one in Orbeon Forms? Maybe you could try reinstalling a fresh
Rasin and Orbeon Forms, to chec

On Thu, Dec 24, 2009 at 2:43 AM, Alex Sharaz <[hidden email]> wrote:

>
> Now this is getting silly.
> Fire up orbeon and select the Bookshelf app.
> (BTW, my installation  doesn't have any example data in bookshelf, should it?)
> Create an entry.
> From the bookshelf summary page, select the document
> Click on the PDF button
> it works and a pdf is downloaded to your browser.
> Click on the review button
> a review page appears.
> Click on the pdf button in the review field
> Get the "NoSuchMethod" error page.
> Close the review page and get back to the summary page
> Double click on the created entry to open the book details page
> Click on the pdf button
> Fails with nosuchmethod again
> Go back to book details
> Click on review
> Fails with no such method
> Help!!!
> Alex
>
> On 24 Dec 2009, at 09:15, Alex Sharaz wrote:
>
> Sigh!!
> The copy of orbeon at home works just fine on resin 4.0.2. Guess I've got a jar file somewhere with an older copy of the apache file upload lurking around.
> Alex
> On 23 Dec 2009, at 15:07, Alex Sharaz wrote:
>
> Hi,
>
> I'm currently running the 161209 nightly build of Orbeon on a Resin 4.0.2 server and have been looking at
>
> a). The bookshelf app and
> b) mplementing the file upload example from the orbeon web site how-to list
>
> With the bookshelf app, I can create a book entry and double click on it to view the details. However, when i click on either pdf or review when looking at the details, I get a NoSuchMethod
> error occurring as shown below:-
>
> Alyone else seen this error?
> Rgds
> Alex
>
>
>
> Orbeon Forms Error
>
> Typeclass java.lang.NoSuchMethodError
> Messageorg.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
> Stack Trace
>
> java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;
> at org.orbeon.oxf.util.NetUtils.getParameterMapMultipart(NetUtils.java:1003)
> at org.orbeon.oxf.servlet.ServletExternalContext$Request.getParameterMap(ServletExternalContext.java:148)
> at org.orbeon.oxf.processor.generator.RequestGenerator.addParameters(RequestGenerator.java:450)
> at org.orbeon.oxf.processor.generator.RequestGenerator.readWholeRequestAsDOM4J(RequestGenerator.java:321)
> at org.orbeon.oxf.processor.generator.RequestGenerator.readRequestAsDOM4J(RequestGenerator.java:293)
> at org.orbeon.oxf.processor.generator.RequestGenerator.access$500(RequestGenerator.java:79)
> at org.orbeon.oxf.processor.generator.RequestGenerator$1.fillOutState(RequestGenerator.java:213)
> at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java:1411)
> at org.orbeon.oxf.processor.ProcessorImpl$DigestTransformerOutputImpl.getLocalKey(ProcessorImpl.java:1374)
> at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1316)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
> at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
> at org.orbeon.oxf.processor.ProcessorImpl$CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
> at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1226)
> at org.orbeon.oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1233)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.access$000(ConcreteChooseProcessor.java:35)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.getKeyImpl(ConcreteChooseProcessor.java:130)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.pipeline.TeeProcessor$TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$1.getKey(ProcessorImpl.java:1000)
> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:1212)
> at org.orbeon.oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:1247)
> at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:439)
> at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:189)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor$5.run(PipelineProcessor.java:647)
> at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
> at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:644)
> at org.orbeon.oxf.processor.PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:495)
> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
> at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
> at org.orbeon.oxf.servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:138)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
> at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:112)
> at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
> at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
> at com.caucho.server.webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
> at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:290)
> at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:784)
> at com.caucho.server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:619)
> at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:556)
> at com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1194)
> at com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1127)
> at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1158)
> at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:901)
> at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)
>
> --
> 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
>
> ==========
> Time for another Macmillan Cancer Support event. This time its the Trans Central America cycle challenge -680Km in 8 days.
> Please sponsor me at http://www.justgiving.com/alexsharaz
>
> --
> 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
>
> ==========
> Time for another Macmillan Cancer Support event. This time its the Trans Central America cycle challenge -680Km in 8 days.
> Please sponsor me at http://www.justgiving.com/alexsharaz
> For route plan see Google Maps
> Link: <http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=107842292717531843695.000478a34dfab81e9c373&ll=11.323867,-84.188232&spn=3.791241,6.196289&t=p&z=8>
>
>
>
>
> --
> 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
Orbeon's Blog: http://www.orbeon.com/blog/
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: Re: Re: Small problem with Bookshelf No SuchMethodError when clicking on review

Alex Sharaz-2

On 25 Dec 2009, at 23:28, Alessandro Vernet wrote:

> Alex,
>
> 1) After you have just installed Orbeon Forms, the Bookshelf example
> won't show any data. So this is normal.
>
o.k

> 2) I followed those steps and didn't get any NoSuchMethod (or other
> exception for that matter). I suspect that there is something iffy
> with your installation, with either some old classes still around, or
> some conflict with a library that comes with Rasin and that takes the
> precedence over the one we ship with Orbeon Forms. Is the error always
> with a class in org.apache.commons.fileupload? Could it be that Rasin
> come with a version of commons-fileupload that takes the precedence
> over the one in Orbeon Forms? Maybe you could try reinstalling a fresh
> Rasin and Orbeon Forms, to chec
>
That's what I've done. I've got a linux vsn running at home and that  
all worked just fine.
I've also done a completely fresh install on my windoze 7 laptop  and  
that works just fine as well. As you said, there's something ify with  
the main one. The serve has been around for a while and has gone  
through various versions of resin. I spent a happy day looking at jar  
files trying to find the apache file upload class (yes its always the  
same one) without any luck so far. Guess I'l keep looking :-((
Alex


> On Thu, Dec 24, 2009 at 2:43 AM, Alex Sharaz <[hidden email]>  
> wrote:
>>
>> Now this is getting silly.
>> Fire up orbeon and select the Bookshelf app.
>> (BTW, my installation  doesn't have any example data in bookshelf,  
>> should it?)
>> Create an entry.
>> From the bookshelf summary page, select the document
>> Click on the PDF button
>> it works and a pdf is downloaded to your browser.
>> Click on the review button
>> a review page appears.
>> Click on the pdf button in the review field
>> Get the "NoSuchMethod" error page.
>> Close the review page and get back to the summary page
>> Double click on the created entry to open the book details page
>> Click on the pdf button
>> Fails with nosuchmethod again
>> Go back to book details
>> Click on review
>> Fails with no such method
>> Help!!!
>> Alex
>>
>> On 24 Dec 2009, at 09:15, Alex Sharaz wrote:
>>
>> Sigh!!
>> The copy of orbeon at home works just fine on resin 4.0.2. Guess  
>> I've got a jar file somewhere with an older copy of the apache file  
>> upload lurking around.
>> Alex
>> On 23 Dec 2009, at 15:07, Alex Sharaz wrote:
>>
>> Hi,
>>
>> I'm currently running the 161209 nightly build of Orbeon on a Resin  
>> 4.0.2 server and have been looking at
>>
>> a). The bookshelf app and
>> b) mplementing the file upload example from the orbeon web site how-
>> to list
>>
>> With the bookshelf app, I can create a book entry and double click  
>> on it to view the details. However, when i click on either pdf or  
>> review when looking at the details, I get a NoSuchMethod
>> error occurring as shown below:-
>>
>> Alyone else seen this error?
>> Rgds
>> Alex
>>
>>
>>
>> Orbeon Forms Error
>>
>> Typeclass java.lang.NoSuchMethodError
>> Messageorg
>> .apache
>> .commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/
>> apache/commons/fileupload/RequestContext;)Ljava/util/List;
>> Stack Trace
>>
>> java.lang.NoSuchMethodError:  
>> org
>> .apache
>> .commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/
>> apache/commons/fileupload/RequestContext;)Ljava/util/List;
>> at  
>> org.orbeon.oxf.util.NetUtils.getParameterMapMultipart(NetUtils.java:
>> 1003)
>> at org.orbeon.oxf.servlet.ServletExternalContext
>> $Request.getParameterMap(ServletExternalContext.java:148)
>> at  
>> org
>> .orbeon
>> .oxf
>> .processor
>> .generator.RequestGenerator.addParameters(RequestGenerator.java:450)
>> at  
>> org
>> .orbeon
>> .oxf
>> .processor
>> .generator
>> .RequestGenerator.readWholeRequestAsDOM4J(RequestGenerator.java:321)
>> at  
>> org
>> .orbeon
>> .oxf
>> .processor
>> .generator
>> .RequestGenerator.readRequestAsDOM4J(RequestGenerator.java:293)
>> at org.orbeon.oxf.processor.generator.RequestGenerator.access
>> $500(RequestGenerator.java:79)
>> at org.orbeon.oxf.processor.generator.RequestGenerator
>> $1.fillOutState(RequestGenerator.java:213)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java:
>> 1411)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $DigestTransformerOutputImpl.getLocalKey(ProcessorImpl.java:1374)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1316)
>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.getKey(ProcessorImpl.java:1000)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>> at org.orbeon.oxf.processor.pipeline.TeeProcessor
>> $TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.getKey(ProcessorImpl.java:1000)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>> at  
>> org
>> .orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:
>> 1212)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.getKey(ProcessorImpl.java:1000)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>> at  
>> org
>> .orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:
>> 1212)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.getKey(ProcessorImpl.java:1000)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>> at  
>> org
>> .orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:
>> 1212)
>> at  
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:
>> 1247)
>> at  
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1226)
>> at  
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1233)
>> at  
>> org
>> .orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.access
>> $000(ConcreteChooseProcessor.java:35)
>> at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor
>> $1.getKeyImpl(ConcreteChooseProcessor.java:130)
>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.getKey(ProcessorImpl.java:1000)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>> at org.orbeon.oxf.processor.pipeline.TeeProcessor
>> $TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>> $1.getKey(ProcessorImpl.java:1000)
>> at org.orbeon.oxf.processor.ProcessorImpl
>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>> at  
>> org
>> .orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:
>> 1212)
>> at  
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:
>> 1247)
>> at  
>> org
>> .orbeon
>> .oxf
>> .processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:
>> 439)
>> at  
>> org
>> .orbeon
>> .oxf
>> .processor
>> .ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
>> at  
>> org
>> .orbeon
>> .oxf
>> .processor
>> .pipeline
>> .choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:
>> 189)
>> at org.orbeon.oxf.processor.pipeline.PipelineProcessor
>> $5.run(PipelineProcessor.java:647)
>> at  
>> org
>> .orbeon
>> .oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
>> at  
>> org
>> .orbeon
>> .oxf
>> .processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:
>> 644)
>> at  
>> org
>> .orbeon
>> .oxf
>> .processor
>> .PageFlowControllerProcessor.start(PageFlowControllerProcessor.java:
>> 495)
>> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:90)
>> at  
>> org
>> .orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96)
>> at  
>> org
>> .orbeon
>> .oxf
>> .servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:
>> 138)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
>> at  
>> com
>> .caucho
>> .server
>> .dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:112)
>> at  
>> com
>> .caucho
>> .server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:183)
>> at  
>> com
>> .caucho
>> .server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
>> at  
>> com
>> .caucho
>> .server
>> .webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
>> at  
>> com
>> .caucho
>> .server.dispatch.ServletInvocation.service(ServletInvocation.java:
>> 290)
>> at  
>> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:
>> 784)
>> at  
>> com
>> .caucho
>> .server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:619)
>> at  
>> com
>> .caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:
>> 556)
>> at com.caucho.server.port.TcpConnection
>> $AcceptTask.doTask(TcpConnection.java:1194)
>> at com.caucho.server.port.TcpConnection
>> $ConnectionReadTask.runThread(TcpConnection.java:1127)
>> at com.caucho.server.port.TcpConnection
>> $AcceptTask.run(TcpConnection.java:1158)
>> at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:
>> 901)
>> at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)
>>
>> --
>> 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
>>
>> ==========
>> Time for another Macmillan Cancer Support event. This time its the  
>> Trans Central America cycle challenge -680Km in 8 days.
>> Please sponsor me at http://www.justgiving.com/alexsharaz
>>
>> --
>> 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
>>
>> ==========
>> Time for another Macmillan Cancer Support event. This time its the  
>> Trans Central America cycle challenge -680Km in 8 days.
>> Please sponsor me at http://www.justgiving.com/alexsharaz
>> For route plan see Google Maps
>> Link: <http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=107842292717531843695.000478a34dfab81e9c373&ll=11.323867,-84.188232&spn=3.791241,6.196289&t=p&z=8 
>> >
>>
>>
>>
>>
>> --
>> 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
> Orbeon's Blog: http://www.orbeon.com/blog/
> 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
==========
Time for another Macmillan Cancer Support event. This time its the  
Trans Central America cycle challenge -680Km in 8 days.

Please sponsor me at http://www.justgiving.com/alexsharaz



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Small problem with Bookshelf No SuchMethodError when clicking on review

Alessandro  Vernet
Administrator
Alex,

On Sun, Dec 27, 2009 at 12:38 AM, Alex Sharaz <[hidden email]> wrote:
> That's what I've done. I've got a linux vsn running at home and that all
> worked just fine.
> I've also done a completely fresh install on my windoze 7 laptop  and that
> works just fine as well. As you said, there's something ify with the main
> one. The serve has been around for a while and has gone through various
> versions of resin. I spent a happy day looking at jar files trying to find
> the apache file upload class (yes its always the same one) without any luck
> so far. Guess I'l keep looking :-((

You'll let us know what the problem was when you find it. At least
that will help those who stumble upon the same issue with an install
of Resin in the future.

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
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: Re: Re: Re: Small problem with Bookshelf No SuchMethodError when clicking on review

Alex Sharaz-2
In reply to this post by Alex Sharaz-2
Sorted!!
Found a file upload webapp that had a jar called uploadfile.jar that  
had the apache fileupload class in it. Archived the webap and  
everything sprang into life

So .... now that it working, Is it possible to use one of your example  
apps ( in this case bookshelf) as the basis for one with a few more  
bells and whistles? or do I have to start again?
Rgds
Alex

On 27 Dec 2009, at 08:38, Alex Sharaz wrote:

>
> On 25 Dec 2009, at 23:28, Alessandro Vernet wrote:
>
>> Alex,
>>
>> 1) After you have just installed Orbeon Forms, the Bookshelf example
>> won't show any data. So this is normal.
>>
> o.k
>
>> 2) I followed those steps and didn't get any NoSuchMethod (or other
>> exception for that matter). I suspect that there is something iffy
>> with your installation, with either some old classes still around, or
>> some conflict with a library that comes with Rasin and that takes the
>> precedence over the one we ship with Orbeon Forms. Is the error  
>> always
>> with a class in org.apache.commons.fileupload? Could it be that Rasin
>> come with a version of commons-fileupload that takes the precedence
>> over the one in Orbeon Forms? Maybe you could try reinstalling a  
>> fresh
>> Rasin and Orbeon Forms, to chec
>>
> That's what I've done. I've got a linux vsn running at home and that  
> all worked just fine.
> I've also done a completely fresh install on my windoze 7 laptop  
> and that works just fine as well. As you said, there's something ify  
> with the main one. The serve has been around for a while and has  
> gone through various versions of resin. I spent a happy day looking  
> at jar files trying to find the apache file upload class (yes its  
> always the same one) without any luck so far. Guess I'l keep  
> looking :-((
> Alex
>
>
>> On Thu, Dec 24, 2009 at 2:43 AM, Alex Sharaz <[hidden email]>  
>> wrote:
>>>
>>> Now this is getting silly.
>>> Fire up orbeon and select the Bookshelf app.
>>> (BTW, my installation  doesn't have any example data in bookshelf,  
>>> should it?)
>>> Create an entry.
>>> From the bookshelf summary page, select the document
>>> Click on the PDF button
>>> it works and a pdf is downloaded to your browser.
>>> Click on the review button
>>> a review page appears.
>>> Click on the pdf button in the review field
>>> Get the "NoSuchMethod" error page.
>>> Close the review page and get back to the summary page
>>> Double click on the created entry to open the book details page
>>> Click on the pdf button
>>> Fails with nosuchmethod again
>>> Go back to book details
>>> Click on review
>>> Fails with no such method
>>> Help!!!
>>> Alex
>>>
>>> On 24 Dec 2009, at 09:15, Alex Sharaz wrote:
>>>
>>> Sigh!!
>>> The copy of orbeon at home works just fine on resin 4.0.2. Guess  
>>> I've got a jar file somewhere with an older copy of the apache  
>>> file upload lurking around.
>>> Alex
>>> On 23 Dec 2009, at 15:07, Alex Sharaz wrote:
>>>
>>> Hi,
>>>
>>> I'm currently running the 161209 nightly build of Orbeon on a  
>>> Resin 4.0.2 server and have been looking at
>>>
>>> a). The bookshelf app and
>>> b) mplementing the file upload example from the orbeon web site  
>>> how-to list
>>>
>>> With the bookshelf app, I can create a book entry and double click  
>>> on it to view the details. However, when i click on either pdf or  
>>> review when looking at the details, I get a NoSuchMethod
>>> error occurring as shown below:-
>>>
>>> Alyone else seen this error?
>>> Rgds
>>> Alex
>>>
>>>
>>>
>>> Orbeon Forms Error
>>>
>>> Typeclass java.lang.NoSuchMethodError
>>> Messageorg
>>> .apache
>>> .commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/
>>> apache/commons/fileupload/RequestContext;)Ljava/util/List;
>>> Stack Trace
>>>
>>> java.lang.NoSuchMethodError:  
>>> org
>>> .apache
>>> .commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/
>>> apache/commons/fileupload/RequestContext;)Ljava/util/List;
>>> at  
>>> org
>>> .orbeon.oxf.util.NetUtils.getParameterMapMultipart(NetUtils.java:
>>> 1003)
>>> at org.orbeon.oxf.servlet.ServletExternalContext
>>> $Request.getParameterMap(ServletExternalContext.java:148)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor
>>> .generator.RequestGenerator.addParameters(RequestGenerator.java:450)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor
>>> .generator
>>> .RequestGenerator.readWholeRequestAsDOM4J(RequestGenerator.java:321)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor
>>> .generator
>>> .RequestGenerator.readRequestAsDOM4J(RequestGenerator.java:293)
>>> at org.orbeon.oxf.processor.generator.RequestGenerator.access
>>> $500(RequestGenerator.java:79)
>>> at org.orbeon.oxf.processor.generator.RequestGenerator
>>> $1.fillOutState(RequestGenerator.java:213)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $DigestTransformerOutputImpl.getFilledOutState(ProcessorImpl.java:
>>> 1411)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $DigestTransformerOutputImpl.getLocalKey(ProcessorImpl.java:1374)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1316)
>>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>>> $1.getKey(ProcessorImpl.java:1000)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>>> at org.orbeon.oxf.processor.pipeline.TeeProcessor
>>> $TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
>>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>>> $1.getKey(ProcessorImpl.java:1000)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>>> at  
>>> org
>>> .orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:
>>> 1212)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
>>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>>> $1.getKey(ProcessorImpl.java:1000)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>>> at  
>>> org
>>> .orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:
>>> 1212)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $CacheableTransformerOutputImpl.getKeyImpl(ProcessorImpl.java:1308)
>>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>>> $1.getKey(ProcessorImpl.java:1000)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>>> at  
>>> org
>>> .orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:
>>> 1212)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:
>>> 1247)
>>> at  
>>> org
>>> .orbeon
>>> .oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1226)
>>> at  
>>> org
>>> .orbeon
>>> .oxf.processor.ProcessorImpl.isInputInCache(ProcessorImpl.java:1233)
>>> at  
>>> org
>>> .orbeon
>>> .oxf.processor.pipeline.choose.ConcreteChooseProcessor.access
>>> $000(ConcreteChooseProcessor.java:35)
>>> at  
>>> org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor
>>> $1.getKeyImpl(ConcreteChooseProcessor.java:130)
>>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>>> $1.getKey(ProcessorImpl.java:1000)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>>> at org.orbeon.oxf.processor.pipeline.TeeProcessor
>>> $TeeProcessorOutputImpl.getKeyImpl(TeeProcessor.java:147)
>>> at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl
>>> $1.getKey(ProcessorImpl.java:1000)
>>> at org.orbeon.oxf.processor.ProcessorImpl
>>> $ProcessorOutputImpl.getKey(ProcessorImpl.java:1190)
>>> at  
>>> org
>>> .orbeon.oxf.processor.ProcessorImpl.getInputKey(ProcessorImpl.java:
>>> 1212)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor.ProcessorImpl.getInputKeyValidity(ProcessorImpl.java:
>>> 1247)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:
>>> 439)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor
>>> .ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:409)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor
>>> .pipeline
>>> .choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:
>>> 189)
>>> at org.orbeon.oxf.processor.pipeline.PipelineProcessor
>>> $5.run(PipelineProcessor.java:647)
>>> at  
>>> org
>>> .orbeon
>>> .oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:526)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:
>>> 644)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .processor
>>> .PageFlowControllerProcessor
>>> .start(PageFlowControllerProcessor.java:495)
>>> at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:
>>> 90)
>>> at  
>>> org
>>> .orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:
>>> 96)
>>> at  
>>> org
>>> .orbeon
>>> .oxf
>>> .servlet.OrbeonServletDelegate.service(OrbeonServletDelegate.java:
>>> 138)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:96)
>>> at  
>>> com
>>> .caucho
>>> .server
>>> .dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:112)
>>> at  
>>> com
>>> .caucho
>>> .server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:
>>> 183)
>>> at  
>>> com
>>> .caucho
>>> .server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:169)
>>> at  
>>> com
>>> .caucho
>>> .server
>>> .webapp.AccessLogFilterChain.doFilter(AccessLogFilterChain.java:103)
>>> at  
>>> com
>>> .caucho
>>> .server.dispatch.ServletInvocation.service(ServletInvocation.java:
>>> 290)
>>> at  
>>> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:
>>> 784)
>>> at  
>>> com
>>> .caucho
>>> .server.port.TcpConnection.handleRequestsImpl(TcpConnection.java:
>>> 619)
>>> at  
>>> com
>>> .caucho
>>> .server.port.TcpConnection.handleRequests(TcpConnection.java:556)
>>> at com.caucho.server.port.TcpConnection
>>> $AcceptTask.doTask(TcpConnection.java:1194)
>>> at com.caucho.server.port.TcpConnection
>>> $ConnectionReadTask.runThread(TcpConnection.java:1127)
>>> at com.caucho.server.port.TcpConnection
>>> $AcceptTask.run(TcpConnection.java:1158)
>>> at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:
>>> 901)
>>> at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:866)
>>>
>>> --
>>> 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
>>>
>>> ==========
>>> Time for another Macmillan Cancer Support event. This time its the  
>>> Trans Central America cycle challenge -680Km in 8 days.
>>> Please sponsor me at http://www.justgiving.com/alexsharaz
>>>
>>> --
>>> 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
>>>
>>> ==========
>>> Time for another Macmillan Cancer Support event. This time its the  
>>> Trans Central America cycle challenge -680Km in 8 days.
>>> Please sponsor me at http://www.justgiving.com/alexsharaz
>>> For route plan see Google Maps
>>> Link: <http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=107842292717531843695.000478a34dfab81e9c373&ll=11.323867,-84.188232&spn=3.791241,6.196289&t=p&z=8 
>>> >
>>>
>>>
>>>
>>>
>>> --
>>> 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
>> Orbeon's Blog: http://www.orbeon.com/blog/
>> 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
>
> ==========
> Time for another Macmillan Cancer Support event. This time its the  
> Trans Central America cycle challenge -680Km in 8 days.
>
> Please sponsor me at http://www.justgiving.com/alexsharaz
>
>
> --
> 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
==========
Time for another Macmillan Cancer Support event. This time its the  
Trans Central America cycle challenge -680Km in 8 days.

Please sponsor me at http://www.justgiving.com/alexsharaz



--
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