Jump to content

Amoss

Members
  • Posts

    144
  • Joined

  • Last visited

Everything posted by Amoss

  1. Via port 8080. I have found the logs, deleted them so I will have clean folder, ran again the process, for some reason, I got no new log files at all, not sure why but also I don't see the problem again.
  2. I have a VPS with a tomcat and the war is deployed there. When running against the WAR locally (eclipse), everything is working great. When running against the VPS, I get disconnections from time to time without any specific rule for that to happen. I'm trying to reach Krydos in order to see what's going on while I run the problematic scenario but I understand he is one person that needs to handle a lot of things. I left a message but we are on different timezones so we barely "meet". Is there someone who can help me with checking what's going on? It's been over a week like that and I really want to make it work already. The reason I moved to the VPS is to make things run smooth but as things are now, the server is not stable. @Krydos was last online yesterday morning (my time) and I'm a bit lost here... Please help. Thanks
  3. Thanks but that's the thing, I don't even know if the problem is on the server side or the client side...
  4. Hi I have a client with ResponseTimeout of 1000 minutes. Java servlet installed in a VPS with a session timeout of 30minutes. Despite that, the connection seems to disconnect after 30 seconds with a null response as if something broke the connection in the middle. Any idea how can I check what happens and/or how can I know whether the problem is on the client or server side? Thanks
  5. Hi Krydos, I sent you a private message.
  6. I understood from wolstech that Windows license will cost money so I guess Windows is out of the question. So to conclude, I should select ubuntu (I saw this in the list, not xubuntu) and I will have a browser (I guess the VPS should be at least 2gb) from which I can connect to tomcat's webui in order to deploy my WAR. Will it also have HTTPS? Can I use the vps also as a hosting to my site (not Java)? I guess I can it's just I don't know how to actually do that using the VPS. Krydos, I'm in the middle of testing so for now I will use the shared hosting. Soon I hope to finish the testing phase so I will keep your "If you want to try it out let me know and I can get it set up for you" proposal for when that happens, I appreciate it very much!
  7. That's my intention, thanks a lot!
  8. First I want to say thank you again, HTTPS is working! Sorry for being slow here: I have a site placed in https://stockdiv.heliohost.org/save.me/ I want to point my domain to that folder so when people enter www.mydomain.com they will reach this folder/site - so far so good? Regardless, I will still call my Java using https://stockdiv.heliohost.org/MyHelioServlet/ That means nothing would change and there won't be a need for a new Java installation, right?
  9. All I need is a simple server that is running Java. What I like about heliohost hosting is the simplicity to deploy the war and make it work. Unless I misunderstood, the VPS is not like that. Is there a way to make it as simple as the current heliohost hosting? Thanks
  10. Using my test api shows a weird behavior now that it's https so I will check later when I'm home. Regarding Java and domain: I will assign the domain I bought to your hosting but do I understand correctly that when calling Java, I should keep using the url https://stockdiv.heliohost.org... and not the new domain?
  11. For now I'm in a testing phase. After that, I might go with the VPS option. I just wanted to make sure it is not something I did. BTW: The user interface, cpanel, Java deployments and SSL support are the same when using the VPS? Regarding manual restarting: instead of asking you to restart it again and again, does re-deploying it does the same effect? Thanks
  12. Thanks, is there a way to know what has caused this? Requests that came afterwards passed with no problem. I wonder if it's something I did. Also, is there a way to "restart" java except for redeploying the war? Thanks
  13. Hi I got the following error in one of my calls to the server: 502 Proxy Error The proxy server received an invalid response from an upstream server The proxy server could not handle the request Reason: Error reading from remote server Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request. What did I do wrong? Also, I have a cache in my WAR, is there a way to restart Java when/if I get a general error of some kind in order to "start things fresh"? Thanks
  14. Hi and thanks for a quick reply cpanel: stockdi1 main domain: stockdiv.heliohost.org (I will migrate my real domain soon, will it make your work obsolete or it doesn't matter?) server: tommy Thanks
  15. Hi I read that heliohost/tommy supports SSL built in but when calling my war file, it works with HTTP but doesn't work with HTTPS. Did I misunderstand or is there something I should do to add ssl support? Thanks
  16. I'm on Tommy. I wanted to make sure I understood the steps correctly before changing the DNS so the site will work when the propagation occur. I have a folder stockdiv.heliohost.org/save.me with the main site and another folder inside it stockdiv.heliohost.org/save.me/stockdiv So basically, I should: 1) Change the dns names to ns1/2.heliohost.org 2) Add an addon domain 3) new domain name should be "save.me" as the name of the folder. 4) subdomain: "saveme" 5) Document Root is setup automatically based on the domain name/folder That's it, right? Thanks
  17. Hi I want to move my site to heliohost. Currently, the domain in godaddy is pointed to the old namespace. I moved the files to heliohost and it's working. Now I want to create an addon domain so when I will change the nameservers in godaddy to heliohost, the domain will point to the relevant folder: stockdiv.heliohost.org/save.me When creating the addon domain, I got the following error: (XID 77p63e) Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver. Is that mean I can't create the addon domain in heliohost before changing the namespace in godaddy? Or maybe it's a different problem that I don't understand? Thanks
  18. Ofcourse I need it. I just wanted to make sure that I don't have any kind of limitation that will make it go away.
  19. Thanks, followed the instructions with several changes required by me and all is well! One last question: Since I'm still in development, any special instructions for my interaction with Java (on site) so I won't lose it again? Thanks.
  20. The project name has to be "MyHelioServlet" and the package "org.heliohost" or this is just for explanation purposes?
  21. I had this problem in the past and it was never solved. I made a new project, made sure index.jsp is inside. I deployed my war, there is index.jps in deployed resources->webapp folder but when browsing to http://stockdiv.heliohost.org/MyHelioServlet/ I get: HTTP Status 404 – Not FoundType Status Report Message Not Found Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. What am I missing? Thanks
  22. Yeah, only after posting my previous message I realized that the WAR is there because from there it is being deployed and it's not where it actually runs. I will use InputStream inputStream = new FileInputStream("/home/stockdi1/filename.txt")It said 2019-03-09 or 2019-03-10 until 2 days ago and since then it's just "java should be installed soon", I guess I'm next then. edit: I got it, thanks! Thanks!
  23. Thank you very much, so my path should be /home/stockdi1/filename.txt and 644 as the permissions. I now see that it's the same folder as the war itself, so I guess I can simply write InputStream inputStream = new FileInputStream("filename.txt");and if it won't work, use the absolute path InputStream inputStream = new FileInputStream("/home/stockdi1/filename.txt")Thanks btw: Until 2 days ago, I saw a deadline to my Java access, 2 days ago it changed back to "Your account is in the queue to receive java support. It should be installed soon." and it's like that since... I hope the counting didn't start from the beginning :-)
  24. Hi I need my WAR to read some settings from a file. After deploying it, where should I put the file (text file) so my WAR can read it? How can I know the absolute/relative path to the file from the WAR? Do I need a special permissions just to read this file? Thanks
×
×
  • Create New...