How to change default port config in version 3.3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2010 01:51 AM
Hi,
We have installed Alfresco Community Edition 3.3 on Windows Server 2008 OS.
Also installed is another application P/I OfficeMail on the same server.
While installing Alfresco, we have given the Tomcat a different port no. ( 8099 ), as port 8080 was already in use by OfficeMail.
The issue is that after installing OfficeMail, Alfresco Explorer and Share aren't accessible.
The Alfresco Web Client still defaults to port 8080, and when we tried starting up Share, the web page displayed the following exception:
*********************************************************
HTTP Status 500 -
type Exception report
message description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 06080001 Unable to retrieve object: slingshot.site.configuration of type: configuration
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:659)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
*********************************************
There seems to be a port conflict.
We have already gone thorugh the forum and found a page ( http://wiki.alfresco.com/wiki/Changing_Default_Port_Configuration ),
describing how to change default port config. for upto Version 3.0.
It would be great if anyone could reply with the process ( if any ) to change the default port settings so that both these apps can run simultaneously without any conflict.
Thanks,
Shiv
We have installed Alfresco Community Edition 3.3 on Windows Server 2008 OS.
Also installed is another application P/I OfficeMail on the same server.
While installing Alfresco, we have given the Tomcat a different port no. ( 8099 ), as port 8080 was already in use by OfficeMail.
The issue is that after installing OfficeMail, Alfresco Explorer and Share aren't accessible.
The Alfresco Web Client still defaults to port 8080, and when we tried starting up Share, the web page displayed the following exception:
*********************************************************
HTTP Status 500 -
type Exception report
message description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 06080001 Unable to retrieve object: slingshot.site.configuration of type: configuration
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:659)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
*********************************************
There seems to be a port conflict.
We have already gone thorugh the forum and found a page ( http://wiki.alfresco.com/wiki/Changing_Default_Port_Configuration ),
describing how to change default port config. for upto Version 3.0.
It would be great if anyone could reply with the process ( if any ) to change the default port settings so that both these apps can run simultaneously without any conflict.
Thanks,
Shiv
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2010 07:42 AM
8080 is tomcat port, you just change that
alfresco3.0\tomcat\conf\server.xml
<Connector port="8180(you change this port to what ever you need)" protocol="HTTP/1.1" URIEncoding="UTF-8"
connectionTimeout="20000"
redirectPort="8443" />
so you go http://address:whateverportnumber/alfresco
if you have jboss just google it out , "how to change port on jboss" or go hire http://lkamal.blogspot.com/2006/09/jboss-4-how-to-change-port-8080-in.html
hope it helps.
alfresco3.0\tomcat\conf\server.xml
<Connector port="8180(you change this port to what ever you need)" protocol="HTTP/1.1" URIEncoding="UTF-8"
connectionTimeout="20000"
redirectPort="8443" />
so you go http://address:whateverportnumber/alfresco
if you have jboss just google it out , "how to change port on jboss" or go hire http://lkamal.blogspot.com/2006/09/jboss-4-how-to-change-port-8080-in.html
hope it helps.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2010 02:48 AM
Thanks for the help. It served the initial purpose.
We have changed the port no for Tomcat to 8099.
The Alfresco web client works fine. But when we tried opening up Share page, it threw the following exception:
****************************
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 06090000 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.PlatformRuntimeException: 06090000 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.ModelObjectPersisterException: Failure to load model object for path: alfresco/site-data/configurations/slingshot.site.configuration.xml
root cause
java.io.IOException: Unable to test document path: alfresco/site-data/configurations/slingshot.site.configuration.xml in remote store: alfresco due to error: 404
***************************
We have gone thru some of the responses over this issue in this forum,
and changed the port no in the file: " $_Alfresco\tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml " to 8099 as well. Still it odesnt work.
Would be really great if someone could help resolving this issue.
Thanks,
Shiv
We have changed the port no for Tomcat to 8099.
The Alfresco web client works fine. But when we tried opening up Share page, it threw the following exception:
****************************
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 06090000 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.PlatformRuntimeException: 06090000 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.ModelObjectPersisterException: Failure to load model object for path: alfresco/site-data/configurations/slingshot.site.configuration.xml
root cause
java.io.IOException: Unable to test document path: alfresco/site-data/configurations/slingshot.site.configuration.xml in remote store: alfresco due to error: 404
***************************
We have gone thru some of the responses over this issue in this forum,
and changed the port no in the file: " $_Alfresco\tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml " to 8099 as well. Still it odesnt work.
Would be really great if someone could help resolving this issue.
Thanks,
Shiv

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2010 03:58 AM

see the xml code. You will find bunch of addresses witch point to localhost:8080 and you must change all of them to your port .
Hope it helps!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2010 09:35 PM
Thanks Guys for your kind help.
We have done all the settings and changes and Explorer works fine now.
Still working on few other customizations now.
Thanks and Regards
Shiva
We have done all the settings and changes and Explorer works fine now.
Still working on few other customizations now.
Thanks and Regards
Shiva
