?
Solved

JSP

Posted on 2011-03-23
19
Medium Priority
?
488 Views
Last Modified: 2012-05-11
I had a running search engine on my server.
But just now suddenly i get this code displaying instea of the search engine
please advice

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<jsp:forward page="/views/user/index.jsp"/>


linux OS
0
Comment
Question by:whspider
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 6
  • 2
  • +3
19 Comments
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 35197644
Are you sure that you were invoking /views/user/index.jsp page only?

0
 

Author Comment

by:whspider
ID: 35197660
Thats what is there in the last backup
0
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 35197670
It seems that now you are using an intermediate page in between the search engine page
0
Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35197951
Check your console or log file ...

Your page have error while loading !!
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35197969
May be this error is ur JVM error ! out of memeory eror !
return result have more values !
0
 

Author Comment

by:whspider
ID: 35198296
@dravidnsr
What can i do about this JVM error ?
which log file ?
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35198561
Jsut restart the server and try with  some other search word ?

if its work means then its JVM error !  1st let know !
0
 

Author Comment

by:whspider
ID: 35201856
No does not work...
same code is displayed.

plz advice.
0
 

Expert Comment

by:soundar_vk
ID: 35202617
Just remove the following lines from the page and see. It will work.
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
0
 

Expert Comment

by:soundar_vk
ID: 35202834
if you really need those, then just use the html meta tag.
<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8">
0
 
LVL 92

Expert Comment

by:objects
ID: 35202889
your jsp is not getting executed, make sure its not being processed by the default servlet, and instead using jasper
 
0
 

Author Comment

by:whspider
ID: 35204696
How so i check out that...
Am new to this, so kindly don mind if the questions r too simple
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35204756
Oh ok... Ru using Log file check that log 1st !
0
 

Author Comment

by:whspider
ID: 35204837
This is partially  the catalina.err log file

Dec 20, 2010 7:40:03 AM 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: /usr/local/jdk/jre/lib/amd64/server:/usr/local/jdk/jre/lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Dec 20, 2010 7:40:03 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 20, 2010 7:40:03 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1163 ms
Dec 20, 2010 7:40:03 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 20, 2010 7:40:03 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.30
Dec 20, 2010 7:40:03 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 20, 2010 7:40:05 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 20, 2010 7:40:05 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 20, 2010 7:40:05 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 20, 2010 7:40:05 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 20, 2010 7:40:05 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
Dec 20, 2010 7:40:06 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 20, 2010 7:40:07 AM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
INFO: Tiles definition factory loaded for module ''.
Dec 20, 2010 7:40:07 AM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
Dec 20, 2010 7:40:07 AM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Dec 20, 2010 7:40:07 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 20, 2010 7:40:07 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 20, 2010 7:40:07 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 20, 2010 7:40:07 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 20, 2010 7:40:07 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
Dec 20, 2010 7:40:07 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 20, 2010 7:40:08 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 20, 2010 7:40:08 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 20, 2010 7:40:08 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 20, 2010 7:40:08 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 20, 2010 7:40:08 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
Dec 20, 2010 7:40:08 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 20, 2010 7:40:08 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 20, 2010 7:40:08 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/25  config=null
Dec 20, 2010 7:40:08 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Dec 20, 2010 7:40:08 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4887 ms
Dec 20, 2010 7:40:52 AM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
Dec 20, 2010 7:40:53 AM org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Dec 20, 2010 7:40:59 AM 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: /usr/local/jdk/jre/lib/amd64/server:/usr/local/jdk/jre/lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Dec 20, 2010 7:40:59 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 20, 2010 7:40:59 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 801 ms
Dec 20, 2010 7:40:59 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 20, 2010 7:40:59 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.30
Dec 20, 2010 7:40:59 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 20, 2010 7:41:00 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 20, 2010 7:41:00 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 20, 2010 7:41:00 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 20, 2010 7:41:00 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 20, 2010 7:41:00 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
Dec 20, 2010 7:41:00 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 20, 2010 7:41:01 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 20, 2010 7:41:01 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/42  config=null

Open in new window

0
 
LVL 92

Expert Comment

by:objects
ID: 35211190
check the mappings in your web.xml and server.xml
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35213205
not ur  catalina.err log file
ur application log.....
0
 
LVL 28

Accepted Solution

by:
rrz earned 2000 total points
ID: 35216528
Do you have an Apache Web Server in front of Tomcat ? Maybe you have somehow changed its configuration.  If so, you should ask at  
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/
0
 

Author Closing Comment

by:whspider
ID: 35217199
Yes i changed the cof file and restarted Apache ....
Done!!

Thanks
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35217523
May i know what is the changes you made???
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses
Course of the Month10 days, 15 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question