-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Onur,

On 12/15/17 8:31 AM, Onur Küçükturan wrote:
> I want to move a web site from a new server but getting some errors
> and site is not working, here is the details;
> 
> Old Server details: Debian,Tomcat6, Java 1.6
> 
> New Server details: Centos7, Tomcat9,Java 1.8.151
> 
> User and group is created in Centos and gave access to site
> directory and subfolders
> 
> After this installation, I moved sitename.war file and site content
> to the new server (tomcat installation path/webapps/).

This is a good first step. Of course, you want to make sure not to
copy the configuration files from OLD_TOMCAT/conf/* to
NEW_TOMCAT/conf/* because they are likely to be incompatible between
major Tomcat versions. Always start with a fresh e.g. conf/server.xml.

> When I run the tomcat in the log files I am getting following 
> errors.
> 
> _Catalina.out log files error:_ SEVERE [main] 
> org.apache.catalina.startup.HostConfig.deployWAR Error deploying
> web application archive /installation path/sitename.war/
> 
> / /java.lang.IllegalStateException: ContainerBase.addChild: start: 
> org.apache.catalina.LifecycleException: Failed to start component 
> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[//si
tename/]]

Without
> 
the rest of the stack trace, we aren't going to be able to
help. Buried somewhere is the "real" error preventing the application
from starting.

> _Localhost_access_log error: _"GET //sitename/ HTTP/1.1" 404 1077
> 
> And when trying to Access page via Internet Explorer:
> 
> HTTP Status 404 – Not Found

This is not surprising given that the application failed to deploy.

Can you provide a more complete stack trace from logs/catalina.out?
Also, there may be more information in either logs/localhost*.log or
logs/sitename.log.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQJRBAEBCAA7FiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAloz+W0dHGNocmlzQGNo
cmlzdG9waGVyc2NodWx0ei5uZXQACgkQHPApP6U8pFiywBAAvX/n0TruAoelL7Ek
zpQbzCGFnGb51f6KDwin2/3VNBxGfB5c1mYO8sjePnEBen7bdTSz96err5g/qefL
EiCdlQJnutanFDs03NFcuMBvrmYx5pUx9mVfOTKz2lM1KE6fplW9jG77EyldxIIR
f+R/kOHJcRK0lTJcrnEo9cyldRmp/fMnhtvl3L2tpdG2vFhLr0x1nItwd+/Pk9D9
gTOkoayxqJ7YEv0BLM57Z6H/w5Fvfkfx+HTaeGPhG9I5v/IFqgrX79Y98uHrX18f
9H0tPZk97fNyVITHHUrUuOhL7fg5T90tPBZOi0T0Lyr9V/jDjCa6wul4UHNLVNNN
Uck/XZ9EXy3fF9HsZ7pmstPNxu8SucVbtZGzlNHkaft2l7/O5AVKDkuWXGV/EnOp
gweGembX39paSoBx76zZlYs6cmDkYYiXcef2eT1DlAa4Sqwyvvz//9uBLVjLX+2h
ioMVDU3yIL5zQFp0ZECgbktLisMeG2qKfXNL09CfaUEUdPWIQUWr/zaci+Vv1Gur
FhN1aYw6wxH5ZH8IFavoGgJ2GcDPHdS9+injbf5l+K2mUoz7cFA06QOCdKPwjOan
uTlCv/U6Cmqz0Mp3Zq0+gYHPZ1kF4opcE+UrdO649MAjS6gdEvkd8LOTSuc3c5Jn
k7o/9dN3hPFTwq0WgnSWxfiekWI=
=6G9A
-----END PGP SIGNATURE-----

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

Reply via email to