Alfresco integration

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

Alfresco integration

Deva
Hi,

I am newbie to Orbeon and trying to integrate it with Alfresco.  I followed the integration steps given in documentation and while trying to send form data, I am getting alfresco authentication service not available exception.  Can someone help me.

I am using "Orbeon Forms 3.9.0.201105152053 PE" edition with Alfresco Enterprise v3.3.

Exception details:
2011-06-02 13:14:34,250 WARN  XFormsServer  - instance() - instance not found {instance id: "fr-persistence-instance"}
2011-06-02 13:14:34,265 WARN  XFormsServer  - xxforms:instance() - instance not found {instance id: "fr-uuid"}
2011-06-02 13:14:34,265 WARN  XFormsServer  - xxforms:instance() - instance not found {instance id: "fr-save-locally-file-name"}
2011-06-02 13:14:34,328 ERROR XFormsServer  - xforms-submit-error - setting body string {body: "
<html><head><title>Apache Tomcat/6.0.26 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body>

HTTP Status 404 - /alfrescoapi/AuthenticationService

<HR size="1" noshade="noshade"><p>type Status report</p><p>message <u>/alfrescoapi/AuthenticationService</u></p><p>description <u>The requested resource (/alfrescoapi/AuthenticationService) is not available.</u></p><HR size="1" noshade="noshade">

Apache Tomcat/6.0.26

</body></html>"}
2011-06-02 13:14:34,328 ERROR XFormsServer  - xforms-submit-error - setting throwable {throwable: "org.orbeon.oxf.xforms.submission.XFormsSubmissionException:  (processing submission response): xforms:submission for submission id: alfresco-auth-submission, error code received when submitting instance: 404
null, line -1, column -1: xforms:submission for submission id: alfresco-auth-submission, error code received when submitting instance: 404
        at org.orbeon.oxf.xforms.submission.XFormsModelSubmission.getReplacer(XFormsModelSubmission.java:672)
        at org.orbeon.oxf.xforms.submission.RegularSubmission$1.call(RegularSubmission.java:96)
        at org.orbeon.oxf.xforms.submission.RegularSubmission$1.

Thanks,
Deva
Reply | Threaded
Open this post in threaded view
|

Re: Alfresco integration

Erik Bruchez
Administrator
Deva,

This error means that the path "/alfrescoapi/AuthenticationService"
was not found at all.

You did set these properties, right?

http://wiki.orbeon.com/forms/doc/developer-guide/form-runner/alfresco-integration

-Erik

On Thu, Jun 2, 2011 at 11:49 AM, Deva <[hidden email]> wrote:

> Hi,
>
> I am newbie to Orbeon and trying to integrate it with Alfresco.  I followed
> the integration steps given in documentation and while trying to send form
> data, I am getting alfresco authentication service not available exception.
> Can someone help me.
>
> I am using "Orbeon Forms 3.9.0.201105152053 PE" edition with Alfresco
> Enterprise v3.3.
>
> Exception details:
> 2011-06-02 13:14:34,250 WARN  XFormsServer  - instance() - instance not
> found {instance id: "fr-persistence-instance"}
> 2011-06-02 13:14:34,265 WARN  XFormsServer  - xxforms:instance() - instance
> not found {instance id: "fr-uuid"}
> 2011-06-02 13:14:34,265 WARN  XFormsServer  - xxforms:instance() - instance
> not found {instance id: "fr-save-locally-file-name"}
> 2011-06-02 13:14:34,328 ERROR XFormsServer  - xforms-submit-error - setting
> body string {body: "
> <html><head><title>Apache Tomcat/6.0.26 - Error report</title> </head><body>
> HTTP Status 404 - /alfrescoapi/AuthenticationService
> <HR size="1" noshade="noshade"><p>type Status report</p><p>message
> <u>/alfrescoapi/AuthenticationService</u></p><p>description <u>The requested
> resource (/alfrescoapi/AuthenticationService) is not available.</u></p><HR
> size="1" noshade="noshade">
> Apache Tomcat/6.0.26
> </body></html>"}
> 2011-06-02 13:14:34,328 ERROR XFormsServer  - xforms-submit-error - setting
> throwable {throwable:
> "org.orbeon.oxf.xforms.submission.XFormsSubmissionException:  (processing
> submission response): xforms:submission for submission id:
> alfresco-auth-submission, error code received when submitting instance: 404
> null, line -1, column -1: xforms:submission for submission id:
> alfresco-auth-submission, error code received when submitting instance: 404
>        at
> org.orbeon.oxf.xforms.submission.XFormsModelSubmission.getReplacer(XFormsModelSubmission.java:672)
>        at
> org.orbeon.oxf.xforms.submission.RegularSubmission$1.call(RegularSubmission.java:96)
>        at org.orbeon.oxf.xforms.submission.RegularSubmission$1.
>
> Thanks,
> Deva
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Alfresco-integration-tp3569088p3569088.html
> Sent from the Orbeon Forms (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
>
>


--
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: Alfresco integration

Deva
Thanks Eric for your response and yes, I followed the documentation and here is my properties-local.xml configuration.  Also I have both Alfresco and Orbeon as separate application in Tomcat.  Does it cause any problem?

    <property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="close clear print pdf save submit workflow-send"/>
   
        <property as="xs:boolean" name="oxf.fr.detail.send.alfresco.*.*"        value="true"/>   
        <property as="xs:anyURI"  name="oxf.fr.alfresco.uri.*.*"         value="http://localhost:8080/alfresco"/>
        <property as="xs:string"  name="oxf.fr.alfresco.username.*.*"    value="admin"/>
        <property as="xs:string"  name="oxf.fr.alfresco.credentials.*.*" value="myalfresco"/>
        <property as="xs:string"  name="oxf.fr.alfresco.path.*.*"        value="/app:company_home/cm:test"/>
        <property as="xs:boolean" name="oxf.fr.alfresco.send-pdf.*.*"    value="true"/>
        <property as="xs:boolean" name="oxf.fr.alfresco.send-xml.*.*"    value="true"/>

Regards,
Deva
Reply | Threaded
Open this post in threaded view
|

Re: Re: Alfresco integration

idwright
Hi,
Just thought I'd chip in - I've been doing some work with Alfresco using
the CMIS REST calls  (not that it's too relevant to your problem but
works quite nicely)

I think you need a / at the end of your uri - you need to be calling

/alfresco/api/AuthenticationService not /alfrescoapi/AuthenticationService


Regards,
Ian
On 19:59, Deva wrote:

> Thanks Eric for your response and yes, I followed the documentation and here
> is my properties-local.xml configuration.  Also I have both Alfresco and
> Orbeon as separate application in Tomcat.  Does it cause any problem?
>
>       <property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="close
> clear print pdf save submit workflow-send"/>
>
> <property as="xs:boolean" name="oxf.fr.detail.send.alfresco.*.*"
> value="true"/>
> <property as="xs:anyURI"  name="oxf.fr.alfresco.uri.*.*"
> value="http://localhost:8080/alfresco"/>
> <property as="xs:string"  name="oxf.fr.alfresco.username.*.*"
> value="admin"/>
> <property as="xs:string"  name="oxf.fr.alfresco.credentials.*.*"
> value="myalfresco"/>
> <property as="xs:string"  name="oxf.fr.alfresco.path.*.*"
> value="/app:company_home/cm:test"/>
> <property as="xs:boolean" name="oxf.fr.alfresco.send-pdf.*.*"
> value="true"/>
> <property as="xs:boolean" name="oxf.fr.alfresco.send-xml.*.*"
> value="true"/>
>
> Regards,
> Deva
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Alfresco-integration-tp3569088p3579859.html
> Sent from the Orbeon Forms (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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Alfresco integration

Deva
Thanks Ian, it worked.