Jump to content

vukosyst

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by vukosyst

  1. It seems our servlet has been undeployed, for some reason. Java was still active, but requesting the servlet resulted in a 404 error. Why!? 

     

    We use our servlet regularly and I logged into my account after an inactivity warning, so that cannot have caused this issue.

     

    I now redeployed our WAR file, but I certainly hope this won't happen again...

     

    [edit] Deployment is pending for over 10 minutes now, but still didn't succeed, has deploy.conf been changed? [/edit]

  2. We use a Java servlet that has an e-mail functionality which sends e-mails through an external SMTP server. Due to the fact that we cannot use the Gmail-SMTP server for sending e-mails (see https://helionet.org/index/topic/31408-unable-to-connect-to-smtp-smtpgmailcom587/), I wanted to use the SMTP-server of IXL hosting (ixlhosting.nl) that hosts our website: mail.vuko.nl. Our code works locally, but not on Tommy. I tested the code with both port 25 and port 587, both on the insecure SMTP-server mail.vuko.nl. Unfortunately, the server does not support TLS/SSL.

     

    Do you have any idea why this is not working? Can you look up log files that describe the error or can I see them myself?

     

    Thanks, Martijn

  3. Thanks Krydos! We tried to connect to our SQLite DB in /home/vukosyst (the db file received CHMOD 0666), but the webapp now gives a 500 error. Is the relative location /home/vukosyst/[dbname].db correct or did we perhaps make a mistake there?

     

    As we now have a (sort of) drag-and-droppable webapp that requires minimal configuration, we prefer to keep the solution with the SQLite DB. If it's not possible to connect to it from the web app, is it possible for you to - on request - copy the db file to a folder that we can reach as we cannot reach it within the tomcat web-inf folder?

  4. I understand what you describe. It's somewhat different than on our previous host: RHcloud/OpenShift v2.

     

    So I did what you suggested: I renamed the war file to vukosyst_web.war and deployed, but after deploying, cPanel still tells me the deployment location is /web and the wrong references are still there...

     

    It's great that the entire /home/vukosyst/ folder will be backed up, but we use a SQLite db in our servlet which is our most important object to backup as it changes over time. Will the .war file be updated accordingly? My simple knowledge tells me it won't, but I hope you prove me wrong.

     

    Sorry for keeping you busy! As soon as our webapp is fully operational, you won't hear from me again, I promise :)

     

    Thanks, Martijn

  5. Ah, I see. The fact that I can't run a servlet in root is pretty logical, indeed!

     

    I now deployed to /web and the resulting servlet has references to /[username]_[foldername], which, in our case, is /vukosyst_web instead of just /web. This causes the servlet to misbehave, as the vukosyst_web folder does not exist, at least not on our host/domain. Do you have any idea how to solve this?

     

    Then, there's another thing that I don't (yet) understand: if Tomcat runs as a different user, is there any way I can make a full backup of my Java web app? Will a full backup from cPanel include the webapps folder? If so, sorry for not trying that earlier...

     

    Thanks again, keep up the good work!

     

    Martijn

  6. Hi there,

     

    Thanks for moving my account to Tommy and enabling Java! I uploaded a ROOT.war file through cPanel and then deployed it, but apparently I had to ask you to do this, because I want this deployment to run in the root-folder of Tomcat (tomcat/webapps, which I have no access to).

     

    Could you move the contents of the tomcat/webapps/ROOT folder up one level, as I think this makes the servlet run on http://inschrijven-vukamerorkest.heliohost.org/ is that correct?

     

    Is it possible to run Java servlets in the public_html directory, so that we don't have to upload .WAR files after each change of the webapp, but only those files that changed?

     

    Thanks, Martijn

     

     

×
×
  • Create New...