cancel
Showing results for 
Search instead for 
Did you mean: 

How to install Alfresco in to my existing tomcat installatio

tvenkatmca
Champ in-the-making
Champ in-the-making
Hi,

Please tell me, [size=150]how to install Alfresco in my existing Tomcat(version 5) installation. [/size]

Smiley Very Happy

I installed alftresco tomcat-0.4.0a
operating system: windows 2000 with mysql and jdk1.5(alfresco is running ok from the c:\alfresco folder)

i already have a tomcat installed in my system, shall i simply copy webclient.war into the existing webapps folder.

and what other changes are needed?
13 REPLIES 13

gavinc
Champ in-the-making
Champ in-the-making
Yes, you're right, simply copy the web-client.war file into your webapps folder.

You will also need to copy the MySQL JDBC connector to Tomcat, copy mysql-connector-java-3.0.16-ga-bin.jar from projects/3rd-party/lib into <tomcat-home>/common/lib.

tvenkatmca
Champ in-the-making
Champ in-the-making
[size=117]
Hi,

I copied webclient.war and mysql-connector.jar file in to my existing tomcat installation. it was working.

But this was little slow. please tell me if any other modifications i need to do.


Thank you.
[/size]

gavinc
Champ in-the-making
Champ in-the-making
No, you shouldn't need any more modifications, what are you finding is slow?

mer
Champ in-the-making
Champ in-the-making
Hi all,

Please, how to install Alfresco in my existing Tomcat installation [[size=150]in Linux?[/size]
I copy the web-client.war file into my webapps folder and copy mysql-connector-java-3.0.16-ga-bin.jar  into <tomcat-home>/common/lib.
But it doesn't work!

Please, tell me if i need any other modification.

Thanks in advance.

carok
Champ in-the-making
Champ in-the-making
Yes, you're right, simply copy the web-client.war file into your webapps folder.

You will also need to copy the MySQL JDBC connector to Tomcat, copy mysql-connector-java-3.0.16-ga-bin.jar from projects/3rd-party/lib into <tomcat-home>/common/lib.

I try do it all too and there isn´t response. I modificated the server.xml with the url: http://localhost:8083

In that case how i can launch the Alfresco application? I think is with: http://localhost:8083/alfresco or not? I say this because say me the navigator that isn´t correct the url.

In conclusion, what URL i need to launch the Alfresco ???

Thanks,
Best rewards

steve
Champ in-the-making
Champ in-the-making
Hi,

Stick the 'alfresco.war' file into the tomcat/webapps directory.
Stick the mysql-connector.jar into tomcat/common/lib.
Create a schema in MySQL called 'alfresco'.
Create a user in MySQL called 'alfresco' with the password 'alfresco.
Allow the user 'alfresco' rights on the schema 'alfresco'.
Note, there is a db script shipped with the Alfresco packages that has these commands in it.
Run Tomcat, and connect to alfresco using:
http://localhost:8080/alfresco

Note, substitute your changed port number for the 8080 part.

Steve

crtaylor
Champ in-the-making
Champ in-the-making
I've followed the instructions myself. I've used the Tomcat manager to deploy the app. It deploys correctly and it creates the Alfresco directory in the webapps directory. When I go to start the app though it fails. In fact, not only does it fail but Tomcat appears to freeze altogether and I need to shutdown Tomcat, delete the Alfresca directory and the WAR file, then restart Tomcat.

java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)

sing CATALINA_BASE:   /var/tomcat5.5
Using CATALINA_HOME:   /var/tomcat5.5
Using CATALINA_TMPDIR: /var/tomcat5.5/temp
Using JRE_HOME:       /usr/java/jdk1.6.0_03
Server version: Apache Tomcat/5.5.25
Server built:   Aug 24 2007 05:33:50
Server number:  5.5.25.0
OS Name:        Linux
OS Version:     2.6.9-55.0.2.plus.c4smp
Architecture:   i386
JVM Version:    1.6.0_03-b05
JVM Vendor:     Sun Microsystems Inc.

Running CentOS (RHEL)

mikeh
Star Contributor
Star Contributor
What's in the alfresco.log file?

Also, are you sure it wasn't just starting up and not actually "frozen"?

Thanks,
Mike

crtaylor
Champ in-the-making
Champ in-the-making
These are the errors I was seeing in the logs:
14:18:01,745 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost
].[/alfresco]] Exception sending context initialized event to listener instance
of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.OutOfMemoryError: PermGen space
14:18:02,762 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost
].[/alfresco]] Exception sending context initialized event to listener instance
of class org.springframework.web.context.ContextLoaderListener
java.lang.OutOfMemoryError: PermGen space
14:18:04,708 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost
].[/alfresco]] Exception sending context initialized event to listener instance
of class org.alfresco.web.app.ContextListener

Tomcat itself was frozen as I couldn't even open up the default Tomcat homepage.