Jump to content

vukosyst

Members
  • Posts

    20
  • Joined

  • Last visited

Everything posted by vukosyst

  1. Apparently Java was restored on our account already, as the 'deploy' button was visible. However, deployment of our WAR file is still pending, it's been pending for about 12 hours now... What's happening?
  2. 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]
  3. That's good to know. Have our configuration settings in deploy.conf (deploying to vukosyst_web from vukosyst_web.war) been saved? If not, could you please reapply them? Thanks!
  4. Not that I'm aware of, I didn't receive any messages... How could I have become inactive? Please let me know what caused this and how to prevend this happening in the future. Thanks!
  5. We requested Java/Tomcat functionality earlier, but now cPanel tells me Java is "not currently enabled" and I need to request access. What happened!?
  6. So, topicstarter and everyone reading, please have a look at this topic: https://www.helionet.org/index/topic/31605-cant-send-e-mails-from-servlet/ Sending e-mails through Gmail SMTP now works, at least from my Java servlet!!!
  7. Yes!!! What did you do? Thanks for the support, again!
  8. Wolstech, please read my post again. I switched from gmail smtp to the (authenticated) smtp server of our 'main' hosting provider and still can't get it working... Maybe tomcat log files show more info? Will post source code asap, by the way.
  9. 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
  10. It seems like this is why the e-mail functionality in our servlet is not working (on Tommy). Did you get in touch with Google/team Gmail to hear why they're not transporting emails that were sent from a Heliohost domain?
  11. Nevermind, we had an error in our code. I'm able to read/write to the db-file, indeed. Could you please remove/edit your previous post as others now also know the db-name and have access to it through Tomcat? Thanks for all the support. we're up and running now! Next episode: configuring a cron job that sends the db to an e-mail address once a week...
  12. 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?
  13. Yes, it does! What did you change? Can we deploy from vukosyst_web.war from now on? Is Tomcat able to find files in /home/vukosyst? If so, we can place the SQLite db there, otherwise we'll need to take care of a MySQL connection.
  14. Ok, that's clear. And my other question? Renaming to vukosyst_web.war didn't make any difference...
  15. 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
  16. 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
  17. 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
  18. My account is currently running on Johnny, but I would like to move to Tommy for Java support. I just made the donation. Could you please move me to Tommy? Transaction ID: 3V6884850X0063433 User ID: vukosyst Thanks in advance, Martijn
×
×
  • Create New...