Ubuntu Server and Tomcat


Recommended Posts

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).

post-58589-1212413936_thumb.png

I ve opened up one of the files for today and found this error:

post-58589-1212414107_thumb.png

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 ;)

Cheers,

greg

Link to comment
https://www.neowin.net/forum/topic/640794-ubuntu-server-and-tomcat/
Share on other sites

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?

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.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I'm not aware of this issue, but to help the other guys.  What version of Android are you using? Did you try a different browser? To see if Edge is the issue here.
    • I agree when are you going to read this (really poor BTW) article? Here is a better article so you actually know what is going on and answers questions you had in other comments --> https://arstechnica.com/gadgets/2026/05/speed-boosting-low-latency-profile-is-one-of-the-improvements-coming-to-windows-11/ It is unclear if one will be able to disable the new profile at this point but I am not seeing any reason why one would.
    • I disagree; they come off very "bitchy" and "whiny". Make a great product and combine that with a great price (free) and people will come over to your side. Or build it and they will come as they say. Constantly trying to get attention by complaining all the time, will turn people off to your product.
    • It use to be a nightmare, with LibreOffice supporting a newer draft ODF standard by default, and Microsoft Office supporting the older non-draft standard. Now that they both support the same version of ODF, they should be interoperable.
    • Brave Browser 1.91.171 by Razvan Serea Brave Browser is a lightning-fast, secure web browser that stands out from the competition with its focus on privacy, security, and speed. With features like HTTPS Everywhere and built-in tracker blocking, Brave keeps your online activities safe from prying eyes. Brave is one of the safest browsers on the market today. It blocks third-party data storage. It protects from browser fingerprinting. And it does all this by default. Speed - Brave is built on Chromium, the same technology that powers Google Chrome, and is optimized for speed, providing a fast and responsive browsing experience. Brave Browser also features Brave Rewards, a system that rewards users with Basic Attention Tokens (BAT) for viewing opt-in ads. This innovative system provides an alternative revenue model for content creators and a way to support the Brave community. SlimBrave Neo takes all the good things about Brave and makes them even better by keeping everything clean, light, and privacy-focused. It removes the extra clutter, turns off features you might not need, and cuts down on anything that could slow you down or collect unnecessary data. Because it relies on simple settings and policies instead of modifying the browser itself, you still get full Brave compatibility—just in a smoother, lighter, and more privacy-friendly package. Brave Browser 1.91.171 changelog: General Fixed Cardano not being disabled on upgrade to Brave Origin. Upgraded Chromium to 149.0.7827.103. Origin Removed “Survey Panelist” setting from brave://settings/privacy. Fixed P3A and usage ping under brave://settings/privacy being displayed on first launch on Linux. Upgraded Chromium to 149.0.7827.103. Download: Brave Browser 64-bit | 1.2 MB (Freeware) Download: Brave Browser 32-bit View: Brave Homepage | Offline Installers | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
    • One Year In
      slackerzz earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      517
    2. 2
      PsYcHoKiLLa
      189
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!