Jump to content

Recommended Posts

Posted

Try putting an index file such as index.html or index.php or index.jsp in your public_html folder.

 

Tomcat seems to be running fine now, I think the only issue is with the indexing on your account since you don't have any index files. Try logging into cPanel and clicking Index Manager and checking the settings for public_html.

Posted

And by default our system shows the directory listing if there are no index files. If he wants that error to go away he can

  1. add an index file
  2. turn on standard indexing
  3. turn on fancy indexing

Posted

When entered the domain http://guard163.heliohost.org/ i saw this:

 

type Status report

message /

description The requested resource (/) is not available.

 

What does it mean? In terms of where the error?

It means that tomcat has crashed and needed to be manually restarted. Which I have just done.

 

That error just means that the resource could not be found (404), which has nothing to do with tomcat.

Posted

Meh, 403, 404 what's the difference? (1 or -1 depending which is the divisor.) Anyhow, I could have sworn I saw a 403 earlier before I rebooted tomcat. Maybe I didn't look at it closely enough.

Posted

2Krydos It was 503 like now.

I tried to upload index,html, server works right with him. Now i uploaded index.jsp and it writes: "Service Temporarily Unavailable". What's that?

P.S. index.jsp i took from here:

http://mainline.brynmawr.edu/~dkumar/JSP/

The same page as above using JSP looks as shown below:

 

<HTML>

<HEAD>

<TITLE>Hello World</TITLE>

</HEAD>

<BODY>

<H1>Hello World</H1>

Today is: <%= new java.util.Date().toString() %>

</BODY>

</HTML>

 

In order to run it, do the following:

  1. Place it in a file, HelloWorld.jsp in the same directory as your .html files

Posted

I cleared the cache but nothing changed. I shared a link with a friend, he also did not appears site. And what you saw?

UPD: I see

type Exception report

 

message

 

description The server encountered an internal error () that prevented it from fulfilling this request.

 

exception

 

org.apache.jasper.JasperException: Unable to compile class for JSP:

 

An error occurred at line: 7 in the jsp file: /index.jsp

The method print(boolean) in the type JspWriter is not applicable for the arguments (void)

4: </HEAD>

5: <BODY>

6: <H1>Hello World</H1>

7: Today is: <%=out.println("test") %>

8: </BODY>

9: </HTML>

 

 

Stacktrace:

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)

org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:451)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:307)

org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:309)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)

javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

 

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.33 logs.

 

Now again the white screen

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...