can login to /alfresco but i can't login to /share

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2009 05:35 AM
but i'm not able to connection to share , it give me :
the msg:
[i]Failed to LoginThe remote server may be unavailable or your authentication details have not been recognized.[/i]
(i'm tryng to connect true admin/admin)
but using /alfresco i login with admin/admin and no problem !
and thanks for your help
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 09:35 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 11:00 AM
Look for the file: \tomcat\shared\classes\alfresco\web-extension\webscript-framework-config-custom.xml
Kev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2009 12:27 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2009 05:31 PM
Could you please detail a bit further these re-writing capabilities…?
I have the same log in problem with Share but I didn't change the Tomcat 8080 port. I'm running on a different tomcat (not the one bundled with Alfresco) and with an Apache connector to port 80.
The firewall is configured to allow all internal traffic and I've also tested disabling it… therefore I can access Share on port 8080 and 80 and the result is the same, can't log in.
Could it be because I deployed share.war not at the same time than alfresco.war?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 06:22 AM
Is there a way to debug the alfresco authentication to figure out where the problem with /share is?
12:06:08,732 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to perform ImageMagick transformation:Execution result: os: Linux command: [./ImageMagick/bin/convert, /var/opt/scalix/h9/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_7040789403202661009.gif, /var/opt/scalix/h9/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_6798498335307660930.png] succeeded: false exit code: 1 out: err: Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory12:06:09,467 WARN [org.springframework.jmx.support.JmxUtils] Found more than one MBeanServer instance. Returning first from list.12:06:10,288 INFO [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]12:06:14,395 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformer] Failed to start a runtime executable content transformer:Execution result: os: Linux command: [./bin/pdf2swf, -V] succeeded: false exit code: 1 out: err: Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directory12:06:21,291 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.12:06:25,449 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.12:06:27,531 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data12:06:27,560 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …12:06:27,690 INFO [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.12:06:27,693 INFO [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).12:06:28,036 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.12:06:28,064 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_13-b03; maximum heap size 494.938MB12:06:28,065 WARN [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 494.938MB is less than recommended 512MB12:06:28,065 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installedversion 3.0.0 (Stable 1526) schema 100212:06:45,397 INFO [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 06:27 AM
11:47:56,947 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed toerform ImageMagick transformation:Execution result: os: Linux command: [./ImageMagick/bin/convert, /var/opt/scalix/h9/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_3463023371830635615.gif, /var/o/scalix/h9/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_3080839206771073114.png] succeeded: false exit code: 1 out: err: Cannot run program "./ImageMagick/bin/convert": java.io.IOException: error=2, No such file or directory11:47:57,542 WARN [org.springframework.jmx.support.JmxUtils] Found more than one MBeanServer instance. Returning first from list.11:47:58,490 INFO [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.prorties]11:48:03,228 ERROR [org.alfresco.repo.content.transform.RuntimeExecutableContentTransformer] Failed to start a runtime executable content transformer:Execution result: os: Linux command: [./bin/pdf2swf, -V] succeeded: false exit code: 1 out: err: Cannot run program "./bin/pdf2swf": java.io.IOException: error=2, No such file or directory11:48:11,011 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.11:48:11,105 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /var/opt/scalix/h9/tomcat/temp/Alfresco/AlfrescoSchemaCreate-g.hibernate.dialect.PostgreSQLDialect-3992034252827900964.sql (Generated).11:48:12,305 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /var/opt/scalix/h9/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-g.hibernate.dialect.PostgreSQLDialect-19818854984168512.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.PostgreSQLDialect/AlfscoPostCreate-2.2-MappedFKIndexes.sql).11:48:12,439 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /var/opt/scalix/h9/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-g.hibernate.dialect.PostgreSQLDialect-5701256894417251151.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.PostgreSQLDialect/ArescoPostCreate-2.2-Extra.sql).11:48:12,536 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /var/opt/scalix/h9/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-g.hibernate.dialect.PostgreSQLDialect-5856111781002118255.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.PostgreSQLDialect/pt-create-indexes-04.sql).11:48:12,541 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script /var/opt/scalix/h9/tomcat/temp/Alfresco/AlfrescoSchemaUpdate-g.hibernate.dialect.PostgreSQLDialect-5566220749876985915.sql (Copied from classpath:alfresco/dbscripts/create/3.0/org.hibernate.dialect.PostgreSQLDialect/cate-activities-extras.sql).11:48:12,570 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] All executed statements written to file /var/opt/scalix/h9/tomcat/temp/Alfresco/AlfrescchemaUpdate-All_Statements-5492745632181187538.sql.11:48:35,873 INFO [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data11:48:35,935 INFO [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …11:48:36,634 INFO [org.alfresco.repo.admin.patch.PatchExecuter]=== Applied patch ===ID: patch.db-V3.0-0-CreateActivitiesExtrasRESULT:Script completed=====================================11:48:36,637 INFO [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).11:48:42,008 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP11:48:42,008 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)11:48:42,326 WARN [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.11:48:42,365 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_13-b03; maximum heap size 494.938MB11:48:42,365 WARN [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 494.938MB is less than recommended 512MB11:48:42,365 INFO [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installedrsion 3.0.0 (Stable 1526) schema 100211:48:58,064 INFO [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 06:37 AM
Kev

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 09:39 AM
Tomcat is running on 8080 and Apache on 80. Therefore it's accessible both ways, http://server:8080/share or http://server/share. The result (failed authentication for /share) is the same. Alfresco (/alfresco) works flawlessly in both ports, as well as the Scalix mail apps.
You have a very good point about taking the proxy_ajp and apache out of the equation. Although accessing http://server:8080/share (tomcat directly) should have the same effect. Shouldn't it? I can give it a try to make install a fresh/standard tomcat instance and redeploy there.
Looking at the wiki http://wiki.alfresco.com/wiki/Install_Shared_Tomcat, looks really simple (except step 2, which I skiped because the files in <Alfresco_Root>/tomcat/shared/classes/alfresco are already deployed in /var/opt/scalix/h9/tomcat/webapps/alfresco/WEB-INF/classes/alfresco).
I wonder if there may be something else on the tomcat configuration/pre-requisities that I'm missing…
I understand there's a single user store and authentication (unless I modify the default authentication). Meaning that Alfresco users can directly log in into Share. That should also be valid for the default admin (user: admin / pwd: admin). Is that right, or an Alfresco user needs to be flagged somewhere as a Share user…?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2009 02:37 PM
You could turn on some debugging logging for share in your log4j.properties as that might shed some light on why it cannot connect - it will definitely be port/connection related as you are correct in saying that Share users are nothing special in Alfresco - they use the same Person/User objects and if you can login to Alfresco you can login to Share.
try these:
log4j.logger.org.alfresco.web.scripts.servlet.EndPointProxyServlet=debug
log4j.logger.org.alfresco.web.scripts.RemoteStore=debug
log4j.logger.org.alfresco.connector=debug
Thanks,
Kevin
