Jump to content

Amoss

Members
  • Posts

    144
  • Joined

  • Last visited

Posts posted by Amoss

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

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

     

  3. 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!

  4. 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?

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

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

     

     

     

     

     

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

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

     

  9. 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 Found

    Type 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

     

  10. 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!

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

×
×
  • Create New...