• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

application page shows blanks upgrading from Tomcat5.5 to tomcat 6

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,

I am running successful running my application on Tomcat 5.5 . Now we planned to go with Tomcat 6. when i deployed the same in tomcat 6 .the application page shows blank/empty.

here is the log file of tomcat 6.

Jan 13, 2010 2:47:42 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\Java\jdk1.6.0_05\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.5;C:\WINDOWS\system32\AspriseJTwain.dll;C:\PBRunTime9;C:\mysql\bin;C:\apache-ant-1.6.2\bin
Jan 13, 2010 2:47:42 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8090
Jan 13, 2010 2:47:42 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1082 ms
Jan 13, 2010 2:47:42 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jan 13, 2010 2:47:42 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Jan 13, 2010 2:47:42 PM org.apache.catalina.ha.tcp.SimpleTcpCluster start
INFO: Cluster is about to start
Jan 13, 2010 2:47:42 PM org.apache.catalina.tribes.transport.ReceiverBase bind
INFO: Receiver Server Socket bound to:/192.168.0.27:4000
Jan 13, 2010 2:47:42 PM org.apache.catalina.tribes.membership.McastServiceImpl setupSocket
INFO: Setting cluster mcast soTimeout to 500
Jan 13, 2010 2:47:42 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:4
Jan 13, 2010 2:47:43 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Done sleeping, membership established, start level:4
Jan 13, 2010 2:47:43 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Sleeping for 1000 milliseconds to establish cluster membership, start level:8
Jan 13, 2010 2:47:44 PM org.apache.catalina.tribes.membership.McastServiceImpl waitForMembers
INFO: Done sleeping, membership established, start level:8
Jan 13, 2010 2:47:45 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\MultiSynergyEMRIVPortal\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Jan 13, 2010 2:47:45 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\MultiSynergyEMRIVPortal\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class


help me..
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know why the page is blank, but I see you're including servlet.jar and servelt-api.jar in your WAR. Don't do that. Not even in Tomcat 5.5. Those jars are part of Tomcat and Tomcat will make them available to the webapp. You only need to reference the servlet-api.jar for compiling.
 
sreenivas jeenor
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Tim


I have removed servlet.jar and servelt-api.jar in my WAR. Still the application is showing Blank page.
There is an error regarding APR

I am running Tomcat on Apache web server 2.0 for clustering and load balancing.

here is it

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:\Program Files\Java\jdk1.6.0_05\bin;C:\Program Files\Apache Software Foundation\Tomcat 5.5;C:\WINDOWS\system32\AspriseJTwain.dll;C:\PBRunTime9;C:\mysql\bin;C:\apache-ant-1.6.2\bin

what is it.how should i resolve it.

 
Tim Holloway
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ignore it.

This is an information message alerting you to the fact that there's an accelerator option available for Tomcat, which - unlike Tomcat - is based on platform-specific binary code.

Because the accelerator is not "Write Once, Run Anywhere", it has to be manually installed in an OS-specific manner, and the process can be rather difficult, in my experience.

If you have a high-volume server farm running Tomcat clusters, it may be worth the effort to install this component, but for most of us, Tomcat runs just fine without it.
 
sreenivas jeenor
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am still getting blank page.
here is the log file

Jan 18, 2010 5:42:21 PM org.apache.catalina.core.StandardWrapperValve invoke
INFO: Servlet jsp is currently unavailable
Jan 18, 2010 5:42:21 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet jsp is currently unavailable
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Srinivas,

I'm also getting the same error when i migrated to Tomcat6. If you resolved the problem, could you please let me know how did you do that.

Thanks in advance.

Regards
Srikanth
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic