Integration with Alfresco

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

Integration with Alfresco

bouboubad

Hi,

I'm trying to integrate Orbeon into Alfresco. I would like to send my forms
edited by the Orbeon builder into the Alfresco repository (in my company home)

For this, i configurated the file properties-local.xml:

<?xml version="1.0" encoding="utf-8"?>

<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:oxf="http://www.orbeon.com/oxf/processors">
           
        <!--  Gestion des boutons dans le form runner -->
        <property as="xs:string" name="oxf.fr.detail.buttons.*.*"
value="refresh close clear pdf email save save-locally submit workflow-review
collapse-all expand-all"/>
    <property as="xs:string" name="oxf.fr.detail.buttons.view.*.*" value="back
workflow-edit workflow-send pdf"/>
    <property as="xs:boolean"
name="oxf.fr.detail.submit.content-from-persistence.*.*" value="false"/>
    <property as="xs:string" name="oxf.fr.detail.submit.buttons.*.*"
value="clear keep close-window"/>
    <property as="xs:boolean" name="oxf.fr.detail.pdf.barcode.*.*"
value="false"/>
    <property as="xs:boolean" name="oxf.fr.detail.send.email.*.*"
value="false"/>
    <property as="xs:boolean" name="oxf.fr.detail.send.pdf.*.*" value="false"/>
    <property as="xs:boolean" name="oxf.fr.detail.send.alfresco.*.*"
value="true"/>
    <property as="xs:boolean" name="oxf.fr.detail.view.show-explanation.*.*"
value="true"/>

   <!-- Alfresco integration configuration -->
    <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="admin"/>
    <property as="xs:string" name="oxf.fr.alfresco.path.*.*"
value="/app:company_home/cm:a"/>
    <property as="xs:boolean" name="oxf.fr.alfresco.send-pdf.*.*"
value="true"/>
    <property as="xs:boolean" name="oxf.fr.alfresco.send-xml.*.*"
value="true"/>

</properties>

When i click the "workflow send" button, my form isn't sent into Alfresco, and
i don't found my form nowhere.

Do you know where is the problem?

Thank you,
Céline

--
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: Integration with Alfresco

Alessandro  Vernet
Administrator
Céline,

Could you try to look at the orbeon.log when you do the submission to
Alfresco? If the submission to Alfresco fails for some reason, there
should be some additional information on why it failed in the log.

Alex

On Mon, Jul 26, 2010 at 1:28 AM,  <[hidden email]> wrote:

>
> Hi,
>
> I'm trying to integrate Orbeon into Alfresco. I would like to send my forms
> edited by the Orbeon builder into the Alfresco repository (in my company home)
>
> For this, i configurated the file properties-local.xml:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
>            xmlns:oxf="http://www.orbeon.com/oxf/processors">
>
>        <!--  Gestion des boutons dans le form runner -->
>        <property as="xs:string" name="oxf.fr.detail.buttons.*.*"
> value="refresh close clear pdf email save save-locally submit workflow-review
> collapse-all expand-all"/>
>    <property as="xs:string" name="oxf.fr.detail.buttons.view.*.*" value="back
> workflow-edit workflow-send pdf"/>
>    <property as="xs:boolean"
> name="oxf.fr.detail.submit.content-from-persistence.*.*" value="false"/>
>    <property as="xs:string" name="oxf.fr.detail.submit.buttons.*.*"
> value="clear keep close-window"/>
>    <property as="xs:boolean" name="oxf.fr.detail.pdf.barcode.*.*"
> value="false"/>
>    <property as="xs:boolean" name="oxf.fr.detail.send.email.*.*"
> value="false"/>
>    <property as="xs:boolean" name="oxf.fr.detail.send.pdf.*.*" value="false"/>
>    <property as="xs:boolean" name="oxf.fr.detail.send.alfresco.*.*"
> value="true"/>
>    <property as="xs:boolean" name="oxf.fr.detail.view.show-explanation.*.*"
> value="true"/>
>
>   <!-- Alfresco integration configuration -->
>    <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="admin"/>
>    <property as="xs:string" name="oxf.fr.alfresco.path.*.*"
> value="/app:company_home/cm:a"/>
>    <property as="xs:boolean" name="oxf.fr.alfresco.send-pdf.*.*"
> value="true"/>
>    <property as="xs:boolean" name="oxf.fr.alfresco.send-xml.*.*"
> value="true"/>
>
> </properties>
>
> When i click the "workflow send" button, my form isn't sent into Alfresco, and
> i don't found my form nowhere.
>
> Do you know where is the problem?
>
> Thank you,
> Céline
>
> --
> 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 -
http://www.orbeon.com/
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: Integration with Alfresco

bouboubad
Thank very much for you reply!

I look at the orbeon.log and i have 9 Warns:

1.      WARN  eXistURLStreamHandlerFactory  - The JVM has already an URLStreamHandlerFactory registered, skipping...

 

2.      WARN  AgentFactory  - Class not found for JMX agent: org.exist.management.impl.JMXAgent

 

3.      WARN  XFormsServer  -   ignoring property on xforms:model element {name: "computed-binds"}

 

4.      WARN  XFormsServer  -   ignoring property on xforms:model element {name: "server.events.initial-refresh-events"}

 

5.      WARN  Descriptor  - Giving up unable to read descriptor file from C:\Alfresco\tomcat\webapps\orbeon\WEB-INF\descriptor.xml

 

6.      WARN  Descriptor  - Giving up unable to read descriptor.xml file from classloader in package org.exist.http

 

7.      WARN  XFormsServer  -       xxforms:instance() - instance not found {instance id: "fr-uuid"}

 

8.      WARN  XFormsServer  -       xxforms:instance() - instance not found {instance id: "fr-save-locally-file-name"}

 

9.      WARN  XFormsServer  -                                   instance() - instance not found {instance id: "fr-persistence-instance"}


I think that The WARN 1 and 2 are about problem in the connexion with the eXist DB (i don't want to connect with exist, i just want to send my form to alfresco repository)

The warn 3 and 4 refer to problem about the deployment in Alfresco i think, i don't know how to fix that.

For the warn 5 and 6, I try to delete all the files in web-inf/exist-data but nothing changed.

Do you have any idea to resolve all this messages?

(I have installed Alfresco 3.3 community, Java jdk_6.0, Orbeon Forms 3.8 PE Trial Version, Apache Tomcat 6.0)

Thank you!

Céline


> Date: Mon, 26 Jul 2010 17:56:51 -0700
> From: [hidden email]
> To: [hidden email]
> Subject: [ops-users] Re: Integration with Alfresco
>
> Céline,
>
> Could you try to look at the orbeon.log when you do the submission to
> Alfresco? If the submission to Alfresco fails for some reason, there
> should be some additional information on why it failed in the log.
>
> Alex
>
> On Mon, Jul 26, 2010 at 1:28 AM, <[hidden email]> wrote:
> >
> > Hi,
> >
> > I'm trying to integrate Orbeon into Alfresco. I would like to send my forms
> > edited by the Orbeon builder into the Alfresco repository (in my company home)
> >
> > For this, i configurated the file properties-local.xml:
> >
> > <?xml version="1.0" encoding="utf-8"?>
> >
> > <properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
> >            xmlns:oxf="http://www.orbeon.com/oxf/processors">
> >
> >        <!--  Gestion des boutons dans le form runner -->
> >        <property as="xs:string" name="oxf.fr.detail.buttons.*.*"
> > value="refresh close clear pdf email save save-locally submit workflow-review
> > collapse-all expand-all"/>
> >    <property as="xs:string" name="oxf.fr.detail.buttons.view.*.*" value="back
> > workflow-edit workflow-send pdf"/>
> >    <property as="xs:boolean"
> > name="oxf.fr.detail.submit.content-from-persistence.*.*" value="false"/>
> >    <property as="xs:string" name="oxf.fr.detail.submit.buttons.*.*"
> > value="clear keep close-window"/>
> >    <property as="xs:boolean" name="oxf.fr.detail.pdf.barcode.*.*"
> > value="false"/>
> >    <property as="xs:boolean" name="oxf.fr.detail.send.email.*.*"
> > value="false"/>
> >    <property as="xs:boolean" name="oxf.fr.detail.send.pdf.*.*" value="false"/>
> >    <property as="xs:boolean" name="oxf.fr.detail.send.alfresco.*.*"
> > value="true"/>
> >    <property as="xs:boolean" name="oxf.fr.detail.view.show-explanation.*.*"
> > value="true"/>
> >
> >   <!-- Alfresco integration configuration -->
> >    <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="admin"/>
> >    <property as="xs:string" name="oxf.fr.alfresco.path.*.*"
> > value="/app:company_home/cm:a"/>
> >    <property as="xs:boolean" name="oxf.fr.alfresco.send-pdf.*.*"
> > value="true"/>
> >    <property as="xs:boolean" name="oxf.fr.alfresco.send-xml.*.*"
> > value="true"/>
> >
> > </properties>
> >
> > When i click the "workflow send" button, my form isn't sent into Alfresco, and
> > i don't found my form nowhere.
> >
> > Do you know where is the problem?
> >
> > Thank you,
> > Céline
> >
> > --
> > 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 -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet


Naviguer en toute sécurité? Téléchargez Internet Explorer 8 avec filtre anti-virus

--
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: Integration with Alfresco

Alessandro  Vernet
Administrator
Céline,

None of those warnings seems particularly worrying. I am looking at
the properties you setup, and they look fine. If no error is logged in
the orbeon.log when Orbeon Forms talks to Alfresco, then I would use
an HTTP monitoring tool like HTTP Scoop on OS X or Wireshark on
Windows or UNIX to look at the exchange between Orbeon and Alfresco.
If you're on Windows, try Wireshark; you can find more about using
Wireshark at:

http://wiki.orbeon.com/forms/doc/developer-guide/admin/monitoring-http-requests

And if you get a chance to do this, you'll let us know what your findings are.

Alex

On Tue, Jul 27, 2010 at 1:54 AM, céline b <[hidden email]> wrote:

> Thank very much for you reply!
>
> I look at the orbeon.log and i have 9 Warns:
>
> 1.      WARN  eXistURLStreamHandlerFactory  - The JVM has already an
> URLStreamHandlerFactory registered, skipping...
>
>
>
> 2.      WARN  AgentFactory  - Class not found for JMX agent:
> org.exist.management.impl.JMXAgent
>
>
>
> 3.      WARN  XFormsServer  -   ignoring property on xforms:model element
> {name: "computed-binds"}
>
>
>
> 4.      WARN  XFormsServer  -   ignoring property on xforms:model element
> {name: "server.events.initial-refresh-events"}
>
>
>
> 5.      WARN  Descriptor  - Giving up unable to read descriptor file from
> C:\Alfresco\tomcat\webapps\orbeon\WEB-INF\descriptor.xml
>
>
>
> 6.      WARN  Descriptor  - Giving up unable to read descriptor.xml file
> from classloader in package org.exist.http
>
>
>
> 7.      WARN  XFormsServer  -       xxforms:instance() - instance not found
> {instance id: "fr-uuid"}
>
>
>
> 8.      WARN  XFormsServer  -       xxforms:instance() - instance not found
> {instance id: "fr-save-locally-file-name"}
>
>
>
> 9.      WARN  XFormsServer  -                                   instance() -
> instance not found {instance id: "fr-persistence-instance"}
>
> I think that The WARN 1 and 2 are about problem in the connexion with the
> eXist DB (i don't want to connect with exist, i just want to send my form to
> alfresco repository)
>
> The warn 3 and 4 refer to problem about the deployment in Alfresco i think,
> i don't know how to fix that.
>
> For the warn 5 and 6, I try to delete all the files in web-inf/exist-data
> but nothing changed.
>
> Do you have any idea to resolve all this messages?
>
> (I have installed Alfresco 3.3 community, Java jdk_6.0, Orbeon Forms 3.8 PE
> Trial Version, Apache Tomcat 6.0)
>
> Thank you!
>
> Céline
>
>
>> Date: Mon, 26 Jul 2010 17:56:51 -0700
>> From: [hidden email]
>> To: [hidden email]
>> Subject: [ops-users] Re: Integration with Alfresco
>>
>> Céline,
>>
>> Could you try to look at the orbeon.log when you do the submission to
>> Alfresco? If the submission to Alfresco fails for some reason, there
>> should be some additional information on why it failed in the log.
>>
>> Alex
>>
>> On Mon, Jul 26, 2010 at 1:28 AM, <[hidden email]> wrote:
>> >
>> > Hi,
>> >
>> > I'm trying to integrate Orbeon into Alfresco. I would like to send my
>> > forms
>> > edited by the Orbeon builder into the Alfresco repository (in my company
>> > home)
>> >
>> > For this, i configurated the file properties-local.xml:
>> >
>> > <?xml version="1.0" encoding="utf-8"?>
>> >
>> > <properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
>> >            xmlns:oxf="http://www.orbeon.com/oxf/processors">
>> >
>> >        <!--  Gestion des boutons dans le form runner -->
>> >        <property as="xs:string" name="oxf.fr.detail.buttons.*.*"
>> > value="refresh close clear pdf email save save-locally submit
>> > workflow-review
>> > collapse-all expand-all"/>
>> >    <property as="xs:string" name="oxf.fr.detail.buttons.view.*.*"
>> > value="back
>> > workflow-edit workflow-send pdf"/>
>> >    <property as="xs:boolean"
>> > name="oxf.fr.detail.submit.content-from-persistence.*.*" value="false"/>
>> >    <property as="xs:string" name="oxf.fr.detail.submit.buttons.*.*"
>> > value="clear keep close-window"/>
>> >    <property as="xs:boolean" name="oxf.fr.detail.pdf.barcode.*.*"
>> > value="false"/>
>> >    <property as="xs:boolean" name="oxf.fr.detail.send.email.*.*"
>> > value="false"/>
>> >    <property as="xs:boolean" name="oxf.fr.detail.send.pdf.*.*"
>> > value="false"/>
>> >    <property as="xs:boolean" name="oxf.fr.detail.send.alfresco.*.*"
>> > value="true"/>
>> >    <property as="xs:boolean"
>> > name="oxf.fr.detail.view.show-explanation.*.*"
>> > value="true"/>
>> >
>> >   <!-- Alfresco integration configuration -->
>> >    <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="admin"/>
>> >    <property as="xs:string" name="oxf.fr.alfresco.path.*.*"
>> > value="/app:company_home/cm:a"/>
>> >    <property as="xs:boolean" name="oxf.fr.alfresco.send-pdf.*.*"
>> > value="true"/>
>> >    <property as="xs:boolean" name="oxf.fr.alfresco.send-xml.*.*"
>> > value="true"/>
>> >
>> > </properties>
>> >
>> > When i click the "workflow send" button, my form isn't sent into
>> > Alfresco, and
>> > i don't found my form nowhere.
>> >
>> > Do you know where is the problem?
>> >
>> > Thank you,
>> > Céline
>> >
>> > --
>> > 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 -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>
> ________________________________
> Naviguer en toute sécurité? Téléchargez Internet Explorer 8 avec filtre
> anti-virus
>
> --
> 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 -
http://www.orbeon.com/
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