cancel
Showing results for 
Search instead for 
Did you mean: 

Web-Studio:Unable to load Webscript

kalpakuri
Champ in-the-making
Champ in-the-making
Hi All,

i am using ALFRESCO LABS 3C on Windows with Mysql database.
When I enter http://localhost:8091/studio/page,the page opens and I am able to login successfully.
When I click Create new website,the  next page appears with
Web Site Name field as empty which we need to enter
Based on the following: field list both never loads.

I get the following error on tomcat console

12:22:57,038  INFO  [web.scripts.DeclarativeJSONWebScript] Caught exception & redirecting to status template: Failed to load script '/web-studio/api/prebuilt/list.get.js (in classpath store fileSmiley Very Happy:/Alfresco/tomcat/webapps/studio/WEB-INF/classes/alfresco/webscripts)': TypeError: Cannot read property "results" from null (AlfrescoScript#51)

Can any one please help me urgently.

thanks in advance

Siddhartha Kalpakuri
5 REPLIES 5

mikeh
Star Contributor
Star Contributor
You probably need to allow your Alfresco server internet access to http://network.alfresco.com

Mike

kalpakuri
Champ in-the-making
Champ in-the-making
You probably need to allow your Alfresco server internet access to http://network.alfresco.com

Mike

HI Mike,

Thanks for quick reply.
But Can you please elaborate on how to give internet access to http://network.alfresco.com

Regards
Siddhartha K

mikeh
Star Contributor
Star Contributor
Not really, because that's firewall / policy configuration on your network.

Mike

uzi
Champ in-the-making
Champ in-the-making
Hello,

Another option may be to look at your web-framework configuration files.  By default, the "alfresco-web-studio" endpoint is configured for localhost:8080.  If you run web studio on a different, port then you will need to reconfigure the endpoint to match your environment.  In this case, it sounds like localhost:8091.

If you want to keep things as simple as possible, you might try testing to ensure things work on localhost:8080 since that's how things are configured via the default install.

You should also check out the network connectivity as per Mike's note.

Michael

kalpakuri
Champ in-the-making
Champ in-the-making
Hello,

Another option may be to look at your web-framework configuration files.  By default, the "alfresco-web-studio" endpoint is configured for localhost:8080.  If you run web studio on a different, port then you will need to reconfigure the endpoint to match your environment.  In this case, it sounds like localhost:8091.

If you want to keep things as simple as possible, you might try testing to ensure things work on localhost:8080 since that's how things are configured via the default install.

You should also check out the network connectivity as per Mike's note.

Michael


Hi Michael,
Thanks for the reply.

i have already changed the "alfresco-web-studio" endpoint  to localhost:8091>after that i was able to log in to webstudio.
Then i started getting the above webscript error.

regards
Siddhartha K