tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Web app deployment Issues
Date Tue, 02 Oct 2012 18:35:37 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Asiya,

On 9/30/12 6:52 AM, ASIYA LABARAN wrote:
> I am trying to use tomcat server to deploy a webapp called mifos
> mfi. I created a folder in the C: (C:\MifosInstall\) where i
> unzipped the tomcat server 6.0.35. I created environment variables
> as required namely:
> 
> JAVA_HOME=C:\Program Files\Java\jdk1.7.0_07 CATALINA_HOME=C:\Mifos
> Install\apache-tomcat-6.0.35-windows-x64\apache-tomcat-6.0.35 
> CATALINA_OPTS=-Xms1024M -Xmx1024M -XX:MaxPermSize=256m 
> MIFOS_CONF=C:\Mifos Install\mifos-v2.4.1\config
> 
> 
> [I put something else under C:\Mifos Install\]

Neither NIFOS_CONF nor C:\Mifos Install have anything to do with
Tomcat unless you have something in your webapp that is referencing
them. Do you?

> I [...] also copied the mifos.war file into the webapps folder 
> (CATALINA_HOME/webapps).

So that would be C:\Mifos
Install\apache-tomcat-6.0.35-windows-x64\apache-tomcat-6.0.35\webapps\mifos.war?

> I launched the tomcat server by double clicking the startup.bat 
> inside 'CATALINA_HOME/bin/' folder.
> 
> I do receive an error message (HTTP Status 404) saying the
> resource you requested (http://localhost:8080/mifos) is not
> available.

With a default configuration, this should work (port 8080 is enabled
by default, defaultHost=localhost, localhost/appBase=webapps/).
Perhaps your web application is not launching properly.

As Pid suggests, you need to look at the log files in C:\Mifos
Install\apache-tomcat-6.0.35-windows-x64\apache-tomcat-6.0.35\logs to
see if there are any problems launching your webapp. Start with
catalina.out and go from there. You might want to stop Tomcat, remove
all files under logs/ and then restart Tomcat just so you don't try to
track-down issues that are from a previous run but aren't actually a
problem.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBrM/kACgkQ9CaO5/Lv0PC4FwCgsH3ZZKGxKsSDrpEVdABkn9s8
/KcAn1Keh8IXJ9lFlK+xxTuABOLx2k6I
=NVdg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message