• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

About Tomcat

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Diffrence between Tomcat 4.1 and tomcat 6.0

Hi all

we have been facing problems deploying web applications from Tomcat 4.1 to tomcat 6.x

please help us with the measures to be taken,

the following errors are occuring

1)Home page is not displaying(We are using Welcome file list tag in web.xml) and images are not displaying and functinality is not working
2)when trying to access application IE it is displaying Web page not found
3)applications are not starting

 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
#1 and #2 seem to follow logically from #3, no?

I bet there are error messages in the log files; what are those?
 
Sheriff
Posts: 9708
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Were there any errors on the console when you started tomcat?? Open Tomcat Manager to see if your applications are starting and running. If they are not then there were some deployment errors which you'll have to check on the tomcat console or tomcat logs. Also this question is specific to tomcat and not JSPs...
 
santosh dhulipala
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Lester Burnham wrote:#1 and #2 seem to follow logically from #3, no?

I bet there are error messages in the log files; what are those?



we have followed the logics and seens application is running fine in tomcat 4.1 when we save the folder from webapps to 6.x webapps these problems are occuring,we have checked by uploading war file but of same results
and there is no error message in log files
 
santosh dhulipala
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ankit Garg wrote:Were there any errors on the console when you started tomcat?? Open Tomcat Manager to see if your applications are starting and running. If they are not then there were some deployment errors which you'll have to check on the tomcat console or tomcat logs. Also this question is specific to tomcat and not JSPs...



no there aren't any errors apart from servlet.jar is not loaded which we removed from the lib folder and in tomcat managet the aaplications are running but when we click the link in IE the webpage cannot be displayed
 
santosh dhulipala
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please find the attachment for the screen shots
how ever if we give the complete path or relative path they are functioning for example
localhost:8080/Application/Folder/page in tomcat 4.1

which are working fine in tocat 4.1
 
santosh dhulipala
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am trying to attach pdf and it is not aceepting(zip and rar also) please help me out with the format
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's keep aside the attachments and the fact that it runs on Tomcat 4.1. Let's just concentrate on Tomcat 6 where it's failing.

1) How do you start Tomcat 6
2) Where exactly is your application placed in Tomcat 6
3) What is it named?
4) When you start the server, what do the logs contain? Post the relevant logs.
 
santosh dhulipala
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


using tomcat6 service runner from the bin folder

2) Where exactly is your application placed in Tomcat 6



in the webapps folder

3) What is it named?



BRLMS

4) When you start the server, what do the logs contain? Post the relevant logs


in logs folder

admin.2010-11-09


Empty no data

host-manager.2010-11-09


Empty no data

manager.2010-11-09


Empty no data

localhost.2010-11-09


Empty no data

manager.2010-11-09


Nov 9, 2010 10:55:08 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,host=localhost'
Nov 9, 2010 10:55:08 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Global resources are available
Nov 9, 2010 10:55:08 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
Nov 9, 2010 11:00:23 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,host=localhost'
Nov 9, 2010 11:00:23 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Global resources are available
Nov 9, 2010 11:00:23 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

catalina.2010-11-09


the same message shown on the service console
like server strted
and giving INFO
The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java

 
santosh dhulipala
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can any one help?
 
santosh dhulipala
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you all for the replies,
atlast i could clear the issue by changing the folder Structure ans some changes in web.xml

Thank you all
 
joke time: What is brown and sticky? ... ... ... A stick! Use it to beat this tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic