cancel
Showing results for 
Search instead for 
Did you mean: 

FlexSpaces+AIR, FlexSpaces, + Alfresco Web Scripts

stevereiner
Champ in-the-making
Champ in-the-making
59 REPLIES 59

stevereiner
Champ in-the-making
Champ in-the-making
1. for the guest and data dictionary folder error, I need to do some work when user doesn't have permission  pre screen making the web script call

2. on opening/editing doc, xls files: Note that AIR client and firefox don't support the in place edit that IE does on XP.  And the inplace office apps support in XP in IE is gone in Vista anyway (can get it back with some config work).

Steve

rohitmichael
Champ in-the-making
Champ in-the-making
Hi Steve,
I'm getting the same HTTP request error described above.
Could you please suggest a solution.
Also, if i would want to use the webservice api approach, could you give me some suggestions to start

Thanks,
Rohit

rohitmichael
Champ in-the-making
Champ in-the-making
Hi,

The HTTP request error problem got resolved. I copied flexspaces under tomcat and uploaded the webscripts in Alfresco. Everything's working fine in flex after that.

Rohit

amitxlnc
Champ in-the-making
Champ in-the-making
Hi,

I have installed latest FlexSpaces Air. But I am getting a webscripts error when I try to login to AIR Client.

JBOSS server log shows the following:
ALC-CSV-001-000-User Authenticated successfully, user id: administrator/DefaultDom
2008-07-16 12:50:20,809 INFO  [STDOUT] [Fatal Error] :1:1: Content is not allowed in prolog.
2008-07-16 12:50:20,856 INFO  [STDOUT] [Fatal Error] :1:1: Content is not allowed in prolog.
2008-07-16 12:50:39,912 INFO  [STDOUT] [Fatal Error] :1:1: Content is not allowed in prolog.
2008-07-16 12:50:39,927 INFO  [STDOUT] [Fatal Error] :1:1: Content is not allowed in prolog.

On the client I get the following message, after few attempts of cancelling the login dialog
Application Error: Execution of web script failed:HTTP request error

Stack Trace:
null

I am using Win XP SP2.

Any Help would be appreciated?

-Amit

stevereiner
Champ in-the-making
Champ in-the-making
Amit,

1. It looks like it was part way through the login webscript that is builtin to alfresco. Try calling the login webscript url in your browser
http://localhost:8080/alfresco/service/api/login?u=admin&pw=admin (with your hostname, port, user, pw). It will return <ticket>TICKET_verylongnumber</ticket> to the browser if it worked

2. Make sure the installed the integratedsemantics.zip webscripts  are installed ok (are listed by http://localhost:8080/alfresco/service/  in the Browse by Web Script Package link.

3. Does flexspaces+browser work with your jboss?   Could you try to see if flexspaces+air/browser work with tomcat on your local machine, say from a default run of the latest alfresco 3.0 installer http://dev.alfresco.com/downloads/nightly/dist/ AlfrescoLabs-slingshot-dev-Setup.exe )

4. I have only tested with tomcat. I will do some testing with jboss. What version of jboss are you using? What alfresco are you running with with jboss (community/enterprise/version-number)? Are you using basic authentication or ldap (currently working to help someone get it working on ldap). Is jboss on your xp sp2 local machine? If not what os is it on?

thanks,
Steve

stevereiner
Champ in-the-making
Champ in-the-making
On my blog, I added some screenshots of the support for tagging and categorization  that will be in next release of FlexSpaces (0.5).  FlexSpaces 0.5 will also have progress bars added in upload,  some other features, and some bug fixes.

Within the search tab view, clicking on a tag in the tag cloud lists documents/folders with the tag in the search results. Clicking on a node in the category tree will list items with the category in the search results. Within all the views except wcm,  the “Tags/Categories” dialog can be used to view and edit the tags and categories assigned to a document/folder.

http://integratedsemantics.org/2008/07/16/tagging-in-flexspaces-05/

Steve Reiner

nri
Champ in-the-making
Champ in-the-making
I have searched over and over for an answer to this but cannot figure it out.  I am trying to make a flash preview in FlexSpaces+Air and FlexSpaces+Browser but keep getting errors.  If I try and generate a flash preview for a pdf document I get the error:
Application Error: Execution of web script failed:HTTP request error   Stack Trace: null
  If I try and generate a flash preview on a gif image I get the error:
Application Error: Execution of web script failed:Error #1085   Stack Trace: null
  I am running Ubuntu and pdf2swf is in my path.

1. It looks like it was part way through the login webscript that is builtin to alfresco. Try calling the login webscript url in your browser
http://localhost:8080/alfresco/service/api/login?u=admin&pw=admin (with your hostname, port, user, pw). It will return <ticket>TICKET_verylongnumber</ticket> to the browser if it worked

This works for me (I get a ticket value with a very long number).

2. Make sure the installed the integratedsemantics.zip webscripts are installed ok (are listed by http://localhost:8080/alfresco/service/ in the Browse by Web Script Package link.

The webscripts are listed correctly.

I do have a Flash space under Company Home.  Company Home is not renamed either to something else.  I think I have set up pretty much everything as specified.  Does anyone know what I am missing?  Thanks!

stevereiner
Champ in-the-making
Champ in-the-making
Did you add in the custom-transform-context.xml described in readmeWebScripts.txt ?
Does the alfresco log indicate any pdf2swf  or transformation errors?
Also you need to be using the new dev version of swftools, since I am using newer options for flash 9 format.

Steve

nri
Champ in-the-making
Champ in-the-making
Did you add in the custom-transform-context.xml described in readmeWebScripts.txt ?

I did add that to  <installdir>\tomcat\shared\classes\alfresco\extension.

Does the alfresco log indicate any pdf2swf or transformation errors?

This debug code is listed in catalina.out:

13:48:59,154 DEBUG [web.scripts.WebScriptServlet] Processing request (POST) http://myfqdn:8080/alfresco/service/flexspaces/makePreviewRendition
13:48:59,155 DEBUG [web.scripts.WebScriptRuntime] Processing script url (POST) /flexspaces/makePreviewRendition
13:48:59,155 DEBUG [web.scripts.DeclarativeWebScriptRegistry] Web Script index lookup for uri /flexspaces/makePreviewRendition took 0ms
13:48:59,155 DEBUG [web.scripts.WebScriptRuntime] Agent: null
13:48:59,155 DEBUG [web.scripts.WebScriptRuntime] Format style: argument, Default format: xml
13:48:59,155 DEBUG [web.scripts.WebScriptRuntime] Invoking Web Script integratedsemantics/preview/makePreviewRendition.post (unauthenticated)
13:48:59,155 DEBUG [web.scripts.WebScriptRuntime] Begin transaction: required
13:48:59,155 DEBUG [web.scripts.WebScriptRuntime] Current authentication: unauthenticated
13:48:59,156 DEBUG [web.scripts.WebScriptRuntime] Authentication required: user
13:48:59,156 DEBUG [web.scripts.WebScriptRuntime] Guest login: false
13:48:59,156 DEBUG [web.scripts.BasicHttpAuthenticator] HTTP Authorization provided: false
13:48:59,156 DEBUG [web.scripts.BasicHttpAuthenticator] URL ticket provided: true
13:48:59,156 DEBUG [web.scripts.BasicHttpAuthenticator] Authenticating (URL argument) ticket TICKET_1035fc13ba1f71384a9423f80243efa4bca25864
13:48:59,158 DEBUG [web.scripts.DeclarativeWebScript] Executing script workspace://SpacesStore//Company Home/Data Dictionary/Web Scripts Extensions/integratedsemantics/preview/makePreviewRendition.post.js
13:49:00,136 DEBUG [web.scripts.AbstractWebScript] Force success status header in response: false
13:49:00,137 DEBUG [web.scripts.AbstractWebScript] Sending status 500 (Template: /xml.status.ftl)
13:49:00,137 DEBUG [web.scripts.AbstractWebScript] Rendering response: content type=text/xml
13:49:00,198 DEBUG [web.scripts.AbstractWebScript] Rendered template /xml.status.ftl in 61ms
13:49:00,199 DEBUG [web.scripts.WebScriptRuntime] Authentication reset: unauthenticated
13:49:00,199 DEBUG [web.scripts.WebScriptRuntime] End transaction: required
13:49:00,297 DEBUG [web.scripts.WebScriptRuntime] Web Script integratedsemantics/preview/makePreviewRendition.post executed in 1142ms
13:49:00,297 DEBUG [web.scripts.WebScriptRuntime] Processed script url (POST) /flexspaces/makePreviewRendition in 1142ms

Also you need to be using the new dev version of swftools, since I am using newer options for flash 9 format.

I am running Ubuntu Server and have the package for swftools installed.  I believe it is version 0.8.1-1.  Do I need to manually install swftools (instead of using apt-get)?

Thanks!

stevereiner
Champ in-the-making
Champ in-the-making
Need to manually install newer dev snapshot of swftools from http://swftools.org/download.html
Flash 9 format support added after released 0.8.1 (in 0.9 in change log)
Other part of the log to check also: at server startup when installs of transforms are tested ( pdf2swf, open office)
Steve
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.