Re: [xwiki-users] RES: External OpenOffice Server

2011-03-25 Thread Asiri Rathnayake
Hi Ramon,


Asiri, when the web service mode turns available on next versions of
 JODConverter, will it be possible to use it in XWiki, in the way to have
 OpenOffice and XWiki on different servers? I'm so interested on it because
 in our company here, it's not (and I believe it won't be) possible to share
 our production container server with an openoffice instance (policy
 restrictions higher than we can deal), and we do have a dedicated openoffice
 server up and running, on another machine, for other applications. We're
 running XE2.4.3 without Office Importer functionalities and the main reason
 to upgrade to the last version, among others, would be the opportunity
 window do activate this amazing feature, what would substantially boost our
 XWiki experience.

 Aren't there any possibilities or approaches in the short term, at all?


I think I proposed one possible alternative sometime back:

1. On the machine you are running openoffice server, you'll have to setup a
tomcat server and a small servlet. This servlet will take care of converting
office documents into html and zipping them up (because the conversion could
result in multiple artifacts) and streaming them back to the client who
invoked the servlet.

2. Modify officeimporter codebase so that OfficeConverter (IIRC) now instead
consumes this servlet for document conversion instead of the local
openoffice server.

IMO this solution is not that hard to implement but as I remember nobody
commented on this approach back then.

Thanks.

- Asiri



 Thanks in advance for your precious help.


 Ramon Gomes Brandão


 -Mensagem original-
 De: users-boun...@xwiki.org em nome de Marius Dumitru Florea
 Enviada: qua 23/3/2011 18:45
 Para: users@xwiki.org
 Assunto: Re: [xwiki-users] External OpenOffice Server

 Hi Ramon,

 On 03/23/2011 11:22 PM, Ramon Gomes Brandão - SERINT wrote:
  Hi,
 

  Is it possible to use an external OpenOffice Server that is not on the
 same machine as the XWiki instance, i.e., not local? If so, how can I do
 that? If not, can't I even test this possibility? External local one is
 running in my test place, but in production environment this probably won't
 be the case.

 We're using http://code.google.com/p/jodconverter/ to connect to the
 OpenOffice server and convert office documents. Here's a discussion
 regarding your problem on their google group, raised by Asiri, the
 person who wrote the xwiki-office-importer module:

 http://groups.google.com/group/jodconverter/browse_thread/thread/f4f0e8328d422fbf
 .

 Using a remote OpenOffice server had some limitations at that point.
 Maybe you can check if the latest version of jodconverter was improved
 in this direction.

 Hope this helps,
 Marius

 
  I'm using XE 2.7.1 and I'll test also XE 3.0M3.
 
  Ramon Gomes Brandão
 
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] RES: External OpenOffice Server

2011-03-25 Thread Asiri Rathnayake
2011/3/25 Asiri Rathnayake asiri.rathnay...@gmail.com

 Hi Ramon,


 Asiri, when the web service mode turns available on next versions of
 JODConverter, will it be possible to use it in XWiki, in the way to have
 OpenOffice and XWiki on different servers? I'm so interested on it because
 in our company here, it's not (and I believe it won't be) possible to share
 our production container server with an openoffice instance (policy
 restrictions higher than we can deal), and we do have a dedicated openoffice
 server up and running, on another machine, for other applications. We're
 running XE2.4.3 without Office Importer functionalities and the main reason
 to upgrade to the last version, among others, would be the opportunity
 window do activate this amazing feature, what would substantially boost our
 XWiki experience.

 Aren't there any possibilities or approaches in the short term, at all?


 I think I proposed one possible alternative sometime back:

 1. On the machine you are running openoffice server, you'll have to setup a
 tomcat server and a small servlet. This servlet will take care of converting
 office documents into html and zipping them up (because the conversion could
 result in multiple artifacts) and streaming them back to the client who
 invoked the servlet.

 2. Modify officeimporter codebase so that OfficeConverter (IIRC) now
 instead consumes this servlet for document conversion instead of the local
 openoffice server.


PS: Notice the huge overhead in transferring documents and results up and
down to / from the machine running openoffice server, but this is inevitable
if you plan to run openoffice server remotely.



 IMO this solution is not that hard to implement but as I remember nobody
 commented on this approach back then.

 Thanks.

 - Asiri



 Thanks in advance for your precious help.


 Ramon Gomes Brandão


 -Mensagem original-
 De: users-boun...@xwiki.org em nome de Marius Dumitru Florea
 Enviada: qua 23/3/2011 18:45
 Para: users@xwiki.org
 Assunto: Re: [xwiki-users] External OpenOffice Server

 Hi Ramon,

 On 03/23/2011 11:22 PM, Ramon Gomes Brandão - SERINT wrote:
  Hi,
 

  Is it possible to use an external OpenOffice Server that is not on the
 same machine as the XWiki instance, i.e., not local? If so, how can I do
 that? If not, can't I even test this possibility? External local one is
 running in my test place, but in production environment this probably won't
 be the case.

 We're using http://code.google.com/p/jodconverter/ to connect to the
 OpenOffice server and convert office documents. Here's a discussion
 regarding your problem on their google group, raised by Asiri, the
 person who wrote the xwiki-office-importer module:

 http://groups.google.com/group/jodconverter/browse_thread/thread/f4f0e8328d422fbf
 .

 Using a remote OpenOffice server had some limitations at that point.
 Maybe you can check if the latest version of jodconverter was improved
 in this direction.

 Hope this helps,
 Marius

 
  I'm using XE 2.7.1 and I'll test also XE 3.0M3.
 
  Ramon Gomes Brandão
 
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] RES: External OpenOffice Server

2011-03-25 Thread Asiri Rathnayake
Hi,

And here is the discussion I mentioned:
http://www.mail-archive.com/devs@xwiki.org/msg09117.html

- Asiri
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] RES: External OpenOffice Server

2011-03-24 Thread Ramon Gomes Brandão - SERINT
Thanks Marius, 

I'll give a deep look. 

Regards, 

Ramon Gomes Brandão



-Mensagem original-
De: users-boun...@xwiki.org em nome de Marius Dumitru Florea
Enviada: qua 23/3/2011 18:45
Para: users@xwiki.org
Assunto: Re: [xwiki-users] External OpenOffice Server
 
Hi Ramon,

On 03/23/2011 11:22 PM, Ramon Gomes Brandão - SERINT wrote:
 Hi,


 Is it possible to use an external OpenOffice Server that is not on the same 
 machine as the XWiki instance, i.e., not local? If so, how can I do that? If 
 not, can't I even test this possibility? External local one is running in my 
 test place, but in production environment this probably won't be the case.

We're using http://code.google.com/p/jodconverter/ to connect to the 
OpenOffice server and convert office documents. Here's a discussion 
regarding your problem on their google group, raised by Asiri, the 
person who wrote the xwiki-office-importer module: 
http://groups.google.com/group/jodconverter/browse_thread/thread/f4f0e8328d422fbf
 
.

Using a remote OpenOffice server had some limitations at that point. 
Maybe you can check if the latest version of jodconverter was improved 
in this direction.

Hope this helps,
Marius


 I'm using XE 2.7.1 and I'll test also XE 3.0M3.

 Ramon Gomes Brandão

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] RES: External OpenOffice Server

2011-03-24 Thread Ramon Gomes Brandão - SERINT
Hi Asiri / Marius

I've been looking around in JODConverter documentation and indeed there's no 
support for running OpenOffice in a remote Server. The only way I see (in a 
very near future, I hope) is running JODConverter as the so called Web 
Service mode, which is not available yet on the version we're using in XWiki, 
right (3.0beta3)? It's said on Issues page: 
http://code.google.com/p/jodconverter/issues/detail?id=40

Asiri, when the web service mode turns available on next versions of 
JODConverter, will it be possible to use it in XWiki, in the way to have 
OpenOffice and XWiki on different servers? I'm so interested on it because in 
our company here, it's not (and I believe it won't be) possible to share our 
production container server with an openoffice instance (policy restrictions 
higher than we can deal), and we do have a dedicated openoffice server up and 
running, on another machine, for other applications. We're running XE2.4.3 
without Office Importer functionalities and the main reason to upgrade to the 
last version, among others, would be the opportunity window do activate this 
amazing feature, what would substantially boost our XWiki experience. 

Aren't there any possibilities or approaches in the short term, at all? 

Thanks in advance for your precious help.  


Ramon Gomes Brandão


-Mensagem original-
De: users-boun...@xwiki.org em nome de Marius Dumitru Florea
Enviada: qua 23/3/2011 18:45
Para: users@xwiki.org
Assunto: Re: [xwiki-users] External OpenOffice Server
 
Hi Ramon,

On 03/23/2011 11:22 PM, Ramon Gomes Brandão - SERINT wrote:
 Hi,


 Is it possible to use an external OpenOffice Server that is not on the same 
 machine as the XWiki instance, i.e., not local? If so, how can I do that? If 
 not, can't I even test this possibility? External local one is running in my 
 test place, but in production environment this probably won't be the case.

We're using http://code.google.com/p/jodconverter/ to connect to the 
OpenOffice server and convert office documents. Here's a discussion 
regarding your problem on their google group, raised by Asiri, the 
person who wrote the xwiki-office-importer module: 
http://groups.google.com/group/jodconverter/browse_thread/thread/f4f0e8328d422fbf
 
.

Using a remote OpenOffice server had some limitations at that point. 
Maybe you can check if the latest version of jodconverter was improved 
in this direction.

Hope this helps,
Marius


 I'm using XE 2.7.1 and I'll test also XE 3.0M3.

 Ramon Gomes Brandão

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users