cancel
Showing results for 
Search instead for 
Did you mean: 

can't connect to share from remote IP

jtechnau
Champ in-the-making
Champ in-the-making
Hello everybody,

just installed alfresco 3.2r on Ubuntu 9.10 by deploying the .war files in my existing jboss (not the one shipped with ubuntu, got my own one my home-directory). Now everything works fine as long as I'm connecting from localhost. But when I start jboss with ./run.sh -b my_IP_adress, to be able to connect from remote, I can only connect to alfresco, but not to the share. Both machines are running Ubuntu, but the same happens with XP clients. So I guess it's not OS related. I deployed alfresco.war, share.war, mobile.war. Also I deployed the wcm bootstrap xml, and as long as I am on localhost I can use its features. When starting jboss as root, there is no warning or error in the bootlog at all. Starting it as user it says it can't use some ports for ftp, which is only logical.

Here's the exception:

12:31:49,274 ERROR [[pageRendererServlet]] Servlet.service() for servlet pageRendererServlet threw exception
java.io.IOException: Unable to test document path: site-index.xml in remote store: alfresco due to error: 498 Connection refused
   at org.alfresco.web.scripts.RemoteStore.hasDocument(RemoteStore.java:351)
—many others…

As I said, using http://the_IP_adress:8080/alfresco I can connect from everywhere. Just this:
http://the_IP_adress:8080/share does not work. The URL gets resolved to …/page/site-index and then it stops giving me an http status 500 page on the browser.

I checked all file permissions, but because this exception also comes when running jboss as root, it cannot be the real problem?!

thank you for your help
5 REPLIES 5

jtechnau
Champ in-the-making
Champ in-the-making
this is the jboss bootlog:
jens@schaeffrechner:~/jboss-4.2.2.GA/bin$ sudo ./run.sh -b 192.168.1.11
[sudo] password for jens:
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/jens/jboss-4.2.2.GA

  JAVA: java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -XXSmiley TongueermSize=128m

  CLASSPATH: /home/jens/jboss-4.2.2.GA/bin/run.jar

=========================================================================

13:09:51,448 INFO  [Server] Starting JBoss (MX MicroKernel)…
13:09:51,448 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
13:09:51,449 INFO  [Server] Home Dir: /home/jens/jboss-4.2.2.GA
13:09:51,450 INFO  [Server] Home URL: file:/home/jens/jboss-4.2.2.GA/
13:09:51,450 INFO  [Server] Patch URL: null
13:09:51,450 INFO  [Server] Server Name: default
13:09:51,450 INFO  [Server] Server Home Dir: /home/jens/jboss-4.2.2.GA/server/default
13:09:51,450 INFO  [Server] Server Home URL: file:/home/jens/jboss-4.2.2.GA/server/default/
13:09:51,450 INFO  [Server] Server Log Dir: /home/jens/jboss-4.2.2.GA/server/default/log
13:09:51,451 INFO  [Server] Server Temp Dir: /home/jens/jboss-4.2.2.GA/server/default/tmp
13:09:51,451 INFO  [Server] Root Deployment Filename: jboss-service.xml
13:09:51,677 INFO  [ServerInfo] Java version: 1.6.0_10-beta,Sun Microsystems Inc.
13:09:51,677 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b11,Sun Microsystems Inc.
13:09:51,677 INFO  [ServerInfo] OS-System: Linux 2.6.31-15-generic,i386
13:09:51,990 INFO  [Server] Core system initialized
13:09:53,717 INFO  [WebService] Using RMI server codebase: http://192.168.1.11:8083/
13:09:53,719 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
13:09:54,042 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
13:09:54,042 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
13:09:54,170 INFO  [TransactionManagerService] Starting recovery manager
13:09:54,265 INFO  [TransactionManagerService] Recovery manager started
13:09:54,265 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
13:09:56,081 INFO  [EJB3Deployer] Starting java:comp multiplexer
13:09:56,268 INFO  [STDOUT] no object for null
13:09:56,269 INFO  [STDOUT] no object for null
13:09:56,281 INFO  [STDOUT] no object for null
13:09:56,295 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
13:09:56,301 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
13:09:57,752 INFO  [NativeServerConfig] JBoss Web Services - Native
13:09:57,752 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
13:09:58,411 INFO  [Embedded] Catalina naming disabled
13:09:58,527 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/jens/jdk1.6.0_10/jre/lib/i386/server:/home/jens/jdk1.6.0_10/jre/lib/i386:/home/jens/jdk1.6.0_10/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
13:09:58,572 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-192.168.1.11-8080
13:09:58,573 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-192.168.1.11-8009
13:09:58,585 INFO  [Catalina] Initialization processed in 173 ms
13:09:58,585 INFO  [StandardService] Starting service jboss.web
13:09:58,587 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
13:09:58,637 INFO  [Catalina] Server startup in 52 ms
13:09:58,747 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=…/deploy/jboss-web.deployer/ROOT.war/
13:09:59,249 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=…/deploy/http-invoker.sar/invoker.war/
13:09:59,351 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=…/deploy/jbossws.sar/jbossws-context.war/
13:09:59,428 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=…/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
13:10:00,176 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=…/deploy/management/console-mgr.sar/web-console.war/
13:10:00,456 INFO  [MailService] Mail Service bound to java:/Mail
13:10:00,627 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-ha-local-jdbc.rar
13:10:00,648 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-ha-xa-jdbc.rar
13:10:00,664 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-local-jdbc.rar
13:10:00,680 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jboss-xa-jdbc.rar
13:10:00,732 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/jms/jms-ra.rar
13:10:00,749 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/mail-ra.rar
13:10:00,772 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in …/deploy/quartz-ra.rar
13:10:00,777 INFO  [QuartzResourceAdapter] start quartz!!!
13:10:00,822 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
13:10:00,838 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
13:10:00,840 INFO  [RAMJobStore] RAMJobStore initialized.
13:10:00,841 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
13:10:00,841 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
13:10:00,841 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
13:10:00,974 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=FuelDS' to JNDI name 'java:FuelDS'
13:10:00,978 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/IQFUEL_MySQL' to JNDI name 'java:jdbc/IQFUEL_MySQL'
13:10:01,079 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
13:10:01,139 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'javaSmiley Very HappyefaultDS'
13:10:01,464 INFO  [A] Bound to JNDI name: queue/A
13:10:01,465 INFO  Bound to JNDI name: queue/B
13:10:01,466 INFO  [C] Bound to JNDI name: queue/C
13:10:01,468 INFO  [D] Bound to JNDI name: queue/D
13:10:01,469 INFO  [ex] Bound to JNDI name: queue/ex
13:10:01,483 INFO  [testTopic] Bound to JNDI name: topic/testTopic
13:10:01,484 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
13:10:01,486 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
13:10:01,488 INFO  [testQueue] Bound to JNDI name: queue/testQueue
13:10:01,570 INFO  [UILServerILService] JBossMQ UIL service available at : /192.168.1.11:8093
13:10:01,601 INFO  [DLQ] Bound to JNDI name: queue/DLQ
13:10:01,642 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=OracleDS' to JNDI name 'javaSmiley SurprisedracleDS'
13:10:01,784 INFO  [TomcatDeployer] deploy, ctxPath=/WebApplication1, warUrl=…/tmp/deploy/tmp21146WebApplication1-exp.war/
13:10:08,248 INFO  [TomcatDeployer] deploy, ctxPath=/alfresco, warUrl=…/tmp/deploy/tmp21147alfresco-exp.war/
13:10:09,664 INFO  [[/alfresco]] Initializing Spring root WebApplicationContext
13:10:13,473 INFO  [STDOUT] 13:10:13,471  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
13:10:13,475 INFO  [STDOUT] 13:10:13,474  INFO  [alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
13:10:13,614 INFO  [STDOUT] 13:10:13,614  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:10:31,950 INFO  [STDOUT] 13:10:31,950  INFO  [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
13:10:32,826 INFO  [STDOUT] 13:10:32,826  INFO  [domain.schema.SchemaBootstrap] No changes were made to the schema.
13:10:33,231 INFO  [STDOUT] 13:10:33,231  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
13:10:33,243 INFO  [STDOUT] 13:10:33,243  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:10:33,248 INFO  [STDOUT] 13:10:33,247  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
13:10:35,452 INFO  [STDOUT] 13:10:35,452 UserSmiley Frustratedystem INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
13:10:35,470 INFO  [STDOUT] 13:10:35,470 UserSmiley Frustratedystem INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:10:36,265 INFO  [STDOUT] 13:10:36,265 UserSmiley Frustratedystem WARN  [alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
13:10:36,265 INFO  [STDOUT] 13:10:36,265 UserSmiley Frustratedystem INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
13:10:36,361 INFO  [STDOUT] 13:10:36,361  WARN  [repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
13:10:36,361 INFO  [STDOUT] 13:10:36,361  INFO  [repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: ./alf_data
13:10:36,470 INFO  [STDOUT] 13:10:36,470  INFO  [admin.patch.PatchExecuter] Checking for patches to apply …
13:10:36,988 INFO  [STDOUT] 13:10:36,988  INFO  [admin.patch.PatchExecuter] No patches were required.
13:10:36,993 INFO  [STDOUT] 13:10:36,993 UserSmiley Frustratedystem INFO  [repo.module.ModuleServiceImpl] Found 0 module(s).
13:10:37,035 INFO  [STDOUT] 13:10:37,035  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [fileServers, default]
13:10:37,103 INFO  [STDOUT] 13:10:37,103  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:10:37,878 INFO  [STDOUT] 13:10:37,878  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
13:10:37,910 INFO  [STDOUT] 13:10:37,910  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:10:38,113 INFO  [STDOUT] 13:10:38,113  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
13:10:43,144 INFO  [STDOUT] 13:10:43,144  ERROR [org.alfresco.fileserver] Failed to get local domain/workgroup name, using default of WORKGROUP
13:10:43,145 INFO  [STDOUT] 13:10:43,145  ERROR [org.alfresco.fileserver] (This may be due to firewall settings or incorrect <broadcast> setting)
13:10:43,192 INFO  [STDOUT] 13:10:43,192  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
13:10:43,192 INFO  [STDOUT] 13:10:43,192  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [imap, default]
13:10:43,203 INFO  [STDOUT] 13:10:43,203  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:10:43,338 INFO  [STDOUT] 13:10:43,338  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [imap, default] complete
13:10:43,338 INFO  [STDOUT] 13:10:43,338  INFO  [repo.usage.UserUsageTrackingComponent] Enabled - calculate missing user usages …
13:10:43,409 INFO  [STDOUT] 13:10:43,408  INFO  [repo.usage.UserUsageTrackingComponent] Found 0 users to recalculate
13:10:43,409 INFO  [STDOUT] 13:10:43,409  INFO  [repo.usage.UserUsageTrackingComponent] … calculated missing usages for 0 users
13:10:43,409 INFO  [STDOUT] 13:10:43,409  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
13:10:43,424 INFO  [STDOUT] 13:10:43,424  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:10:43,515 INFO  [STDOUT] 13:10:43,515  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
13:10:43,809 INFO  [STDOUT] 13:10:43,809  INFO  [service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_10-beta-b23; maximum heap size 493,063MB
13:10:43,809 INFO  [STDOUT] 13:10:43,809  WARN  [service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493,063MB is less than recommended 512MB
13:10:43,810 INFO  [STDOUT] 13:10:43,810  INFO  [service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (r2 2440) schema 3300 - Originally installed version 3.2.0 (r2 2440) schema 3300
13:11:00,731 INFO  [STDOUT] 13:11:00,730  INFO  [alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
13:11:01,218 INFO  [STDOUT] 13:11:01,218  INFO  [management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default]
13:11:01,243 INFO  [STDOUT] 13:11:01,243  INFO  [alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
13:11:01,319 INFO  [STDOUT] 13:11:01,319  INFO  [management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [wcm_deployment_receiver, default] complete
13:11:02,218 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=…/deploy/jmx-console.war/
13:11:02,758 INFO  [TomcatDeployer] deploy, ctxPath=/mobile, warUrl=…/tmp/deploy/tmp21153mobile-exp.war/
13:11:03,111 INFO  [[/mobile]] Initializing Spring root WebApplicationContext
13:11:03,233 INFO  [STDOUT] 13:11:03,232  INFO  [alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@bc3ea5: display name [Root WebApplicationContext]; startup date [Tue Nov 24 13:11:03 CET 2009]; root of context hierarchy
13:11:03,383 INFO  [STDOUT] 13:11:03,383  INFO  [alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@bc3ea5]: org.springframework.beans.factory.support.DefaultListableBeanFactory@13e31b6
13:11:04,992 INFO  [STDOUT] 13:11:04,992  INFO  [web.scripts.DeclarativeRegistry] Registered 22 Web Scripts (+0 failed), 24 URLs
13:11:05,001 INFO  [STDOUT] 13:11:05,001  INFO  [web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 907.2761ms)
13:11:05,137 INFO  [STDOUT] 13:11:05,137  INFO  [web.scripts.DeclarativeRegistry] Registered 40 Web Scripts (+0 failed), 42 URLs
13:11:05,156 INFO  [STDOUT] 13:11:05,156  INFO  [web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 150.33131ms)
13:11:05,273 INFO  [STDOUT] 13:11:05,273  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
13:11:06,686 INFO  [TomcatDeployer] deploy, ctxPath=/share, warUrl=…/tmp/deploy/tmp21154share-exp.war/
13:11:07,061 INFO  [[/share]] Initializing Spring root WebApplicationContext
13:11:08,676 INFO  [STDOUT] 13:11:08,675  INFO  [web.site.FrameworkHelper] Successfully Initialized Web Framework
13:11:08,849 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-192.168.1.11-8080
13:11:08,866 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-192.168.1.11-8009
13:11:08,878 INFO  [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 1m:17s:426ms

jtechnau
Champ in-the-making
Champ in-the-making
meanwhile I fixed it and also found some other threads about this issue under 'installation'. Sorry for not checking them all prior posting.

My problem was fixed by simply opening the share.war (/jboss/server/default/deploy/share.war) and editing /WEB-INF/classes/alfresco/webscript-framework-config.xml. Here just change localhost to the real-world-IP of your server. This number must of course correspond to the jboss IP-binding given in the jboss start command (run.sh -b some_ip).

wittpoker
Champ in-the-making
Champ in-the-making
meanwhile I fixed it and also found some other threads about this issue under 'installation'. Sorry for not checking them all prior posting.

My problem was fixed by simply opening the share.war (/jboss/server/default/deploy/share.war) and editing /WEB-INF/classes/alfresco/webscript-framework-config.xml. Here just change localhost to the real-world-IP of your server. This number must of course correspond to the jboss IP-binding given in the jboss start command (run.sh -b some_ip).

Could you provide those relevant threads' info?

I have encountered a similar problem to yours in my two installations: i) Windows Server 2008 + Alfresco 3.2r Windows Full  Installer, and ii) Ubuntu 8.04 + Alfresco 3.2r2 Tomcat bundle, both running SUN's latest JDK.  My settings (in both cases):
- I have defined, in alfresco/tomcat/conf/server.xml, my own listening port (9443) with https (via Java's keytool etc.)
- I have thus commented out, in the same file, the original

      <Connector port="8080" protocol="HTTP/1.1" URIEncoding="UTF-8"
               connectionTimeout="20000"
               redirectPort="8443" />

And then when accessing https://192.168.1.10:9443/share the browser returned this (from Windows' case; the Ubuntu case is similar):

javax.servlet.ServletException: org.alfresco.error.AlfrescoRuntimeException: 10250001 Unable to retrieve object: site-index of type: page


Inspecting tomcat's log file localhost.2009-11-25.log (this is from my Linux case) shows this:

Nov 25, 2009 10:39:22 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet pageRendererServlet threw exception
java.io.IOException: Unable to test document path: site-index.xml in remote store: alfresco due to error: 498 Connection refused
                at org.alfresco.web.scripts.RemoteStore.hasDocument(RemoteStore.java:351)

   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Thread.java:619)

My problem was *NOT* solved even after following your suggestion of revising alfresco/…/webscript-framework-config.xml, viz. (for my case) by replacing all

<endpoint-url>http://localhost:8080/alfresco/

with

<endpoint-url>https://192.168.1.10:9443/alfresco/


Strangely :roll: here is my current dirty solution: (having first undone the above <endpoint-url> thing back to its original localhost:8080) I uncommented the <Connector port="8080"…> part in the above alfresco/tomcat/conf/server.xml (so that I now have Tomcat both listening on 9443 and 8080, with the latter being blocked by firewall).  And https://192.168.1.10:9443/share works!

Anyone has any clue as to what happens?  I hope to have a more transparent solution than my dirty one!

hidenorisano33
Champ in-the-making
Champ in-the-making
I have encountered the same problem and got it resolved. Smiley Very Happy
This information helped me a lot,

go to share/WEB-INF/classes/alfresco and edit the webscript-framework-config.xml file.
Here we see the some endpoint-url points to http://localhost:8080/alfresco/s, I changed it to >http://localhost/alfresco/s and such. (A few similar entries are found) In my environment, I used ajp connector to connect to alfresco on port 80, not 8080 so I got this problem.

danika1891
Champ in-the-making
Champ in-the-making
Could you please indicate me where is located webscript-framework-config.xml file? I am not able to find this file in alfresco directory.

Thanks ,
Danika