logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: [Chiba-commits] CVS: chiba-sandbox/web/forms multipart-related.xhtml,NO: msg#00021

Subject: Re: [Chiba-commits] CVS: chiba-sandbox/web/forms multipart-related.xhtml,NONE,1.1
Hello Peter,

hope you don't mind me taking this to the dev-list.

Peter Mikula wrote:
Joern Turner wrote:

Hello Peter,

i encountered a problem with this file. it's throwing an exception when i try to use the first upload. haven't tested further - could you please have a look?


  Hello,

    it is because you have not created the upload directory  The code
    was using webspace-accessible /upload directory, I have not changed
    that, and the directory is not created by default in war file.
ok, i'll check that again while i *have* an upload dir and still getting errors...

root cause

java.lang.NoSuchMethodError: javax.mail.internet.MimeBodyPart.setContentID(Ljava/lang/String;)V at org.chiba.xml.xforms.connector.serializer.MultipartRelatedSerializer.serialize(MultipartRelatedSerializer.java:40) at org.chiba.xml.xforms.connector.AbstractConnector.serialize(AbstractConnector.java:282) at org.chiba.xml.xforms.connector.http.HTTPSubmissionHandler.submit(HTTPSubmissionHandler.java:155)
        at org.chiba.xml.xforms.Submission.submit(Submission.java:366)
        at org.chiba.xml.xforms.Submission.performDefault(Submission.java:319)
at org.chiba.xml.xforms.XFormsDocument.performDefault(XFormsDocument.java:148) at org.chiba.xml.xforms.XFormsDocument.dispatchEvent(XFormsDocument.java:136)
        at org.apache.xerces.dom.NodeImpl.dispatchEvent(Unknown Source)
        at org.chiba.xml.xforms.Container.dispatch(Container.java:470)
        at org.chiba.xml.xforms.Container.dispatch(Container.java:442)
        at org.chiba.xml.xforms.ui.Submit.handleEvent(Submit.java:211)
        at org.apache.xerces.dom.DocumentImpl.dispatchEvent(Unknown Source)
at org.chiba.xml.xforms.XFormsDocument.dispatchEvent(XFormsDocument.java:133)
        at org.apache.xerces.dom.NodeImpl.dispatchEvent(Unknown Source)
        at org.chiba.xml.xforms.Container.dispatch(Container.java:470)
        at org.chiba.xml.xforms.Container.dispatch(Container.java:442)
        at org.chiba.xml.xforms.Container.dispatch(Container.java:423)
        at org.chiba.xml.xforms.ChibaBean.dispatch(ChibaBean.java:502)
at org.chiba.adapter.web.HttpRequestHandler.handleRequest(HttpRequestHandler.java:202) at org.chiba.adapter.web.HttpRequestHandler.execute(HttpRequestHandler.java:168) at org.chiba.adapter.web.ServletAdapter.executeHandler(ServletAdapter.java:219)
        at org.chiba.adapter.web.ChibaServlet.doPost(ChibaServlet.java:358)

any ideas?


    IMHO we should dump this alltogether, and move upload-temp to
    default c:\temp or /tmp. Then just add one more servlet for showing
    attachments + adding link to xsl-upload handling (I have this code
    ready as struts action)
what would be the benefit to make it 'c:\temp' or '/tmp' ?

well, to have a results-page for uploads as separate servlet/jsp would be a nice extension to the core.

Joern






-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>