tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Issue when trying to move a webaplication from Websphere6/JDK6 to Tomcat8/JDK8
Date Wed, 08 Oct 2014 21:34:47 GMT
2014-10-09 0:54 GMT+04:00 Deme Carv <demecarv@gmail.com>:
> I have an application which runs perfectly in WebSphere 6.1 using JDK6 but
> now I want to publish it to Tomcat8 using JDK8. It is a simple application
> which is based on some JSP and some servlets. I was able to deploy it to
> Tomcat8 eithier from my STS or by creating a war file an publishing this
> war from admin console. But I can't access this application.

What exactly do you mean by "can't access"?

> There is no
> error in my console output and every dependency I have fix it. I have no
> idea what can be the root cause. The only message I saw it the one pasted
> in the title.

Re-read the title. There is no message mentioned there.


> I change to FINE the four lines in logging.properties but it
> didn't help to see any clear message. Any suggestion that help me at least
> to know where to check will be very appreciatted.
>
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = FINE
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/manager].level
> = FINE
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/host-manager].level
> = FINE
> org.apache.jasper.compiler.TldLocationsCache.level = FINE

The logging.properties file is used only if java.util.logging is
configured to use it (via certain system properties). The
catalina.bat/sh scripts do configure them. But if you run from within
Eclipse IDE, by default the IDE does not configure those properties.


> CATALINA.OUT:
>
> Oct 08, 2014 3:08:29 PM org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deploying configuration descriptor
> C:\STS\apache-tomcat-8.0.14\conf\Catalina\localhost\my_aplication2.xml
> Oct 08, 2014 3:08:29 PM
> org.apache.catalina.startup.SetContextPropertiesRule begin
> WARNING: [SetContextPropertiesRule]{Context} Setting property 'source'
> to 'org.eclipse.jst.j2ee.server:my_aplication' did not find a matching
> property.
> Oct 08, 2014 3:08:30 PM org.apache.jasper.servlet.TldScanner scanJars
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs.
> Enable debug logging for this logger for a complete list of JARs that
> were scanned but no TLDs were found in them. Skipping unneeded JARs
> during scanning can improve startup time and JSP compilation time.
> Oct 08, 2014 3:08:30 PM org.apache.catalina.startup.HostConfig deployDescriptor
> INFO: Deployment of configuration descriptor
> C:\STS\apache-tomcat-8.0.14\conf\Catalina\localhost\my_aplication2.xml
> has finished in 873 ms

Note the name: "my_aplication2". You should use the same name in web
browser. (There is a typo: s/aplication/application/)

https://tomcat.apache.org/tomcat-8.0-doc/config/context.html#Naming

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


Mime
View raw message