Help - Search - Members - Calendar
Full Version: Ubuntu Server and Tomcat
Neowin Forums > *nix Customization & Support > Linux Server/BSD/Unix
WarStorm
Ok guys.

I am currently developing a few web applications. Currently only using JSPs. With JDBC and postgres.

I am quite new linux, still learning. Here the problem:

I can access the web server from my external computer for a certain amount of time before for some reason tomcat freezes and no pages will load.
I originally thought that It was to do with me not closing database connections (grinding the server to a halt) but closing these connections makes no difference

I read there are error log files in the tomcat directory on linux (attached screenshot).
Click to view attachment

I ve opened up one of the files for today and found this error:
Click to view attachment

Basically I need help debugging why this happens - I don't think it is the code I've written - i believe its to do with my tomcat setup.

Again remember I am new so the error might be obvious to you but not to me wink.gif

Cheers,

greg




markjensen
Well, I know nothing of Java, and precious little about webservers (other than just playing in my local home PC with Apache - not exposed to the outside). However, one item in the second screenshot sticks out to me. There is an "argument exception" posted there with a URI of "file:./", and that doesn't seem right. Should not the format of a 'file' address be identified as "file://" then followed by the path?
Commodore Max
I'm currently working with Tomcat at my work. I'm not on Ubuntu though ... I recommend you tail the log file in one shell and do your work in the other, kinda helps to see errors. Now about the error you're having, it seems to have to do with a file:// style path somewhere, which is kinda weird IMO ... Hope that helps.
kjordan2001
Also, you seem to be using the GCJ (part of the GCC toolkit) environment instead of the Sun JRE. And since the problem seems to originate from GCJ, you might try switching to the Sun JRE since it might have something to do with the way GCJ does jar paths.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.