File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Reall Funny Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Reall Funny Error" Watch "Reall Funny Error" New topic
Author

Reall Funny Error

varun bihani
Ranch Hand

Joined: Aug 11, 2003
Posts: 96
I am using own server with Tomcat and Apache integrated..
My sites are acting funny, sometimes it displays page and sometime it give out this error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@plain.rackshack.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Can anybody help me finding out how to solve it???


<a href="http://www.galaxyweblinks.com" target="_blank" rel="nofollow">www.galaxyweblinks.com</a><br /><a href="http://www.freechatcode.com" target="_blank" rel="nofollow">www.freechatcode.com</a><br /><a href="http://www.onlinefamilytreemaker.com" target="_blank" rel="nofollow">www.onlinefamilytreemaker.com</a>
Eelco den Heijer
Ranch Hand

Joined: Jan 17, 2002
Posts: 61
well, I guess you have to supply more info than this if you want people to solve it...

What kind of requests go wrong? Do all HTML/GIF/CSS requests go OK and all JSP request go wrong? Or is it totally random? Do you have a HTTP connector setup in your tomcat? If so, can you connect to it directory (bypassing apache)?

My guess is that your apache-tomcat connection isn't working at all...
(but you have to give some more info )


== <br />Rgrds,<br />Eelco<br /> <br />SCJP, SCJD, SCBCD, SCWD, SCEA
varun bihani
Ranch Hand

Joined: Aug 11, 2003
Posts: 96
I dont know which kind of request.. but its mostly jsp pages that I am using which are giving me errors.....It is totally random...
I am using mod_jk as connector...


Originally posted by Eelco den Heijer:
well, I guess you have to supply more info than this if you want people to solve it...

What kind of requests go wrong? Do all HTML/GIF/CSS requests go OK and all JSP request go wrong? Or is it totally random? Do you have a HTTP connector setup in your tomcat? If so, can you connect to it directory (bypassing apache)?

My guess is that your apache-tomcat connection isn't working at all...
(but you have to give some more info )
Balan Raj
Ranch Hand

Joined: Aug 26, 2003
Posts: 74
Have you checked your tomcat logs to see if there are any clues to the error?

They way, i wud proceed is :
figure out if everything works without Apache !
Make sure you do not have the "url" of tomcat (port 8080?) hardcoded somewhere on the JSP's..
As pointed out earlier, isolate the problem by file type.
is this is a random occurance ??

varun bihani
Ranch Hand

Joined: Aug 11, 2003
Posts: 96
I am not able to stop apache. It give me following error/warning
[warn] module mod_jk.c is already added, skipping

just now my sites are not opening.. I had stopped tomcat and restarted it..
The process on port 8009 and 80 are running but sites are not opening..

Originally posted by Balan Ram:
Have you checked your tomcat logs to see if there are any clues to the error?

They way, i wud proceed is :
figure out if everything works without Apache !
Make sure you do not have the "url" of tomcat (port 8080?) hardcoded somewhere on the JSP's..
As pointed out earlier, isolate the problem by file type.
is this is a random occurance ??

Balan Raj
Ranch Hand

Joined: Aug 26, 2003
Posts: 74
Are there any non-daemon threads running in infinite loops??

release the ports & see if you can restart the servers.. The warning abt skipping, is because u have the same module specified twice in Apache config file. u can ignore that..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reall Funny Error