Login  Register

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

Posted by Alex Sharaz-2 on Dec 27, 2009; 8:38am
URL: https://discuss.orbeon.com/Schema-validation-for-XSD-int-tp44183p979369.html


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