cancel
Showing results for 
Search instead for 
Did you mean: 

running alfresco directly on the domain

thoho
Champ in-the-making
Champ in-the-making
Hi,

I am a real newbie to tomcat. So maybe this sounds verry trivial to you but… difficult to me.

How can I run Alfresco on http://domain:8080 instead of http://domain:8080/alfresco ?

Thanks for your help

Tom
6 REPLIES 6

cmathieu
Champ in-the-making
Champ in-the-making
Hi Tom,

I too have an identical requirement but I've not had any success in achieving this. Have you managed to get around this? If you have, how did you do it?

Thanks Tom.

Regards,
Charles Matheu

thoho
Champ in-the-making
Champ in-the-making
Hi Charles,

I have not found a solution, but in /opt/alfresco/tomcat/webapps/ are some different containers ROOT seems to be the default container. I dont know how to make the alfresco container default.

cu,
Tom

cmathieu
Champ in-the-making
Champ in-the-making
Hi Tom,

That's a pity. I'm scouring the net to see if I can find a way of changing the default container in tomcat. If I am successful, I will share the finding with you.

Thanks for replying.

Cheers,
Charles

cmathieu
Champ in-the-making
Champ in-the-making
Hi Tom,

I've found a way to make the default container Alfresco instead of ROOT so that you can access Alfresco by typing:

http://domainname.com:8080

You need to edit the file "web.xml" in the tomcat/conf/ directory. In the web.xml file, you need to only change 2 values from "default" to "alfresco". Here are the sections that I modified:

<servlet>
        <servlet-name>alfresco</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
            <param-name>debug</param-name>
            <param-value>0</param-value>
        </init-param>
        <init-param>
            <param-name>listings</param-name>
            <param-value>false</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>


and

<!– ================ Built In Servlet Mappings ========================= –>


  <!– The servlet mappings for the built in servlets defined above.  Note  –>
  <!– that, by default, the CGI and SSI servlets are *not* mapped.  You    –>
  <!– must uncomment these mappings (or add them to your application's own –>
  <!– web.xml deployment descriptor) to enable these services              –>

    <!– The mapping for the default servlet –>
    <servlet-mapping>
        <servlet-name>alfresco</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

Let me know if you don't understand.

Cheers,
Charles

thoho
Champ in-the-making
Champ in-the-making
Hi,

it's great to work with someone form Australia,

you post a Problem and what you've already found out, then you go to bed and when you get up there is the solution. 🙂

Thanks,
Tom

cmathieu
Champ in-the-making
Champ in-the-making
Hi Tom,

For some strange my Alfresco can no longer be accessed directly. I haven't the foggiest idea why…how is your implementation going? Did you manage to get it to run directly on your domain using my suggestion?

Cheers,
Charles