401 unauthorized webscript
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2008 01:11 PM
is it possible to capture this error in case of basic http authentication while accessing a webscript and give custom message.
thanks
thanks
Labels:
- Labels:
-
Archive
12 REPLIES 12
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2009 08:16 AM
I'm using Alfresco and Share but my alfresco is running under an another port than 8080
In order to get Share working I edited a lot of file to change the 8080.
I can now use Share but I've got an 401 error after saving a wiki page while Alfresco is trying to generate the feeds.
If I try the URL given, I've got a prompt saying that the url require an authentication and that the site indicate "Alfresco"
Why is Alfresco asking "itself" or Share for a password ?
How can I solve that ?
My stack :
In order to get Share working I edited a lot of file to change the 8080.
I can now use Share but I've got an 401 error after saving a wiki page while Alfresco is trying to generate the feeds.
If I try the URL given, I've got a prompt saying that the url require an authentication and that the site indicate "Alfresco"
Why is Alfresco asking "itself" or Share for a password ?
How can I solve that ?
My stack :
13:57:30,389 INFO [org.alfresco.repo.activities.feed.FeedTaskProcessor] >>> Generated 4 activity feed entries for 1 activity posts13:57:32,041 INFO [org.alfresco.repo.activities.post.lookup.PostLookup] Update: 1 activity posts13:57:47,047 INFO [org.alfresco.repo.activities.feed.FeedTaskProcessor] >>> Generated 0 activity feed entries for 1 activity posts13:57:47,047 ERROR [org.alfresco.repo.activities.feed.local.LocalFeedGridJob] java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:18200/alfresco/service/api/activities/templates/org/alfresco/wiki/*?format=json13:57:47,047 ERROR [org.alfresco.repo.activities.feed.AbstractFeedGenerator] Exception during generation of feedsjava.lang.Exception: Server returned HTTP response code: 401 for URL: http://localhost:18200/alfresco/service/api/activities/templates/org/alfresco/wiki/*?format=json at org.alfresco.repo.activities.feed.local.LocalFeedGridJob.execute(LocalFeedGridJob.java:64) at org.alfresco.repo.activities.feed.local.LocalFeedGenerator.generate(LocalFeedGenerator.java:102) at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:133) at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:56) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)13:58:00,658 INFO [org.alfresco.repo.activities.feed.FeedTaskProcessor] >>> Generated 4 activity feed entries for 1 activity posts
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2009 11:10 AM
hello there…
I installed the alfresco 3 stable with success. I had no problems until now:
I just used share one time to create a new project, just for tests. After create that project I get the following error in alfresco.log
16:02:09,150 ERROR [org.alfresco.repo.activities.feed.local.LocalFeedGridJob] java.io.IOException: Server returned HTTP response code: 400 for URL: http://localhost:8080/alfresco/service/api/activities/templates/org/alfresco/links/*?format=json
16:02:09,152 ERROR [org.alfresco.repo.activities.feed.AbstractFeedGenerator] Exception during generation of feeds
java.lang.Exception: Server returned HTTP response code: 400 for URL: http://localhost:8080/alfresco/service/api/activities/templates/org/alfresco/links/*?format=json
at org.alfresco.repo.activities.feed.local.LocalFeedGridJob.execute(LocalFeedGridJob.java:64)
at org.alfresco.repo.activities.feed.local.LocalFeedGenerator.generate(LocalFeedGenerator.java:102)
at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:133)
at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:56)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
I my alfresco is not running in default port (8080), but in 8280. I think the problem is that I missed to modify a configuration file somewhere. But where?
I changed all the 8080 to 8280 in the configuration files in:
- <Alfresco_Directory>/tomcat/webapps/share/WEB-INF/classes/alfresco/
- <Alfresco_Directory>/tomcat/webapps/studio/WEB-INF/classes/alfresco/
- <Alfresco_Directory>/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/
Can you please tell me what file I miss to modify?
Help, Thanks
Luis
I installed the alfresco 3 stable with success. I had no problems until now:
I just used share one time to create a new project, just for tests. After create that project I get the following error in alfresco.log
16:02:09,150 ERROR [org.alfresco.repo.activities.feed.local.LocalFeedGridJob] java.io.IOException: Server returned HTTP response code: 400 for URL: http://localhost:8080/alfresco/service/api/activities/templates/org/alfresco/links/*?format=json
16:02:09,152 ERROR [org.alfresco.repo.activities.feed.AbstractFeedGenerator] Exception during generation of feeds
java.lang.Exception: Server returned HTTP response code: 400 for URL: http://localhost:8080/alfresco/service/api/activities/templates/org/alfresco/links/*?format=json
at org.alfresco.repo.activities.feed.local.LocalFeedGridJob.execute(LocalFeedGridJob.java:64)
at org.alfresco.repo.activities.feed.local.LocalFeedGenerator.generate(LocalFeedGenerator.java:102)
at org.alfresco.repo.activities.feed.AbstractFeedGenerator.execute(AbstractFeedGenerator.java:133)
at org.alfresco.repo.activities.feed.FeedGeneratorJob.execute(FeedGeneratorJob.java:56)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
I my alfresco is not running in default port (8080), but in 8280. I think the problem is that I missed to modify a configuration file somewhere. But where?
I changed all the 8080 to 8280 in the configuration files in:
- <Alfresco_Directory>/tomcat/webapps/share/WEB-INF/classes/alfresco/
- <Alfresco_Directory>/tomcat/webapps/studio/WEB-INF/classes/alfresco/
- <Alfresco_Directory>/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/
Can you please tell me what file I miss to modify?
Help, Thanks
Luis

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2009 11:25 AM
Probably (certainly) the "repo.remote.endpoint.url" property in repository.properties (in the "alfresco" webapp)
