Jump to content

Search the Community

Showing results for tags 'java'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







  1. Hi, I want to put a a java class file which is integrated in html, on the helio server (Johnny). Why doesn't it work? I have set up a free hosting account. Does something need to be done to my web account? The website is hm087.heliohost.us Appreciate any support. Hasan
  2. I have two web-pages on my cPanel account: one static html page at https://ternsjo-it.heliohost.us/troff/one Java-war-application-page at https://ternsjo-it.heliohost.us/ternsjo_Troff/ both work fine at there respective url's, however, I would like users to simply type https://sb.troff.app to access my web application.When I create a subdomain, I must specify a "Root domain". IF I specify public_html/troff then the subdomain will point to the static page. Now my question is what I should specify in Document Root for the subdomain to point to the java-war-application-page? Thanks for trying to explain this! NOTE: I have tried to put "/public_html/ternsjo_Troff" as Document Root but it is not working...I use the Tommy server.
  3. I have deployed a war file in Johnny server. It is a spring boot generated war file with html as server rendering page instead of JSP(jsp is not used instead only HTML). The war file was tested successfully in local machine by deploying it in apache tomcat 8.5 above version. But I find the deployment has failed with Java in Johnny server. I require assistance in the deployment and running the application successfully. Username: iotblend Could you please assist on it.?
  4. Hi guys, I have an application made in spring boot and mysql, I have successfully deployed it. When I access the link http://itmarket.heliohost.us/emt-aud-0.0.1/ it gives me the following error: HTTP Status 404 – Not Found Type Status Report Message /stavb_emt-aud-0.0.1/ Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. In my public_html i have META-INF, org, WEB-INF Info: Username: stavbWAR-file: emt-aud-0.0.1.warServer: johnny
  5. Hi Is it possible to run more than one java application on my account? When I uploaded two different war-files and deployed them, only the last war-file was running. I would very much like to host a couple of apps on this server! Thanks for the help! / Slim Sim
  6. Hi, i sent a java activation request yesterday and i'm waiting for it. somebody asked the same and you told him that will need some days. then you said "The line for Java only moves if someone else loses their Java." question: do i have to check the activation page each day or will i get an email when it's done? (which is less work - and less frustration - for me )` If this is still necessary i would like to register my application (SoftwareWatchlist.war) just to save time. Will this war file be checked on a regular base by the system? Just replace it and the new version will go live in some minutes? Best regards walter
  7. Hello, I am trying to do a connect from Java to my DB, but I have a type error: “Access denied for user '_______'@'______' to database '_______'” I have the host, port, username and password of the helionet panel. The user is added to the database table and with all the privileges. Regards.
  8. Welcome! I'm having problem with deploying my file .war. Username: sepiqon Domain: sepiqon.heliohost.org My war file: sepiqon_server.war Server: johnny.heliohost.org I did read this post: https://www.helionet.org/index/topic/28053-solved-deploy-war-app-request/page-3?hl=maven&do=findComment&comment=128900 But it doesn't working for me... I get error "Java deployment failed with errors. For further information please contact support.", previously the code 404 on sepiqon.heliohost.org/sepiqon_service This app works on local tomcat.
  9. I requested Java support some five days ago: "Your account is in the queue to receive java support. It should be installed soon." Is there any estimate how long this would take? Is it weeks/months? Thanks
  10. this is code of dbconnection.java file which is inside my javaee webapplicataion my web application is hosted on heliohost package Database; import java.sql.Connection; import java.sql.DriverManager; public class DbConnection { public static Connection getconnection() { Connection con=null; try { Class.forName("com.mysql.jdbc.Driver");//load the driver //Create the connection //Connection is an interface //Drivermanager is a class and getConnetcion()is a static metod of DriverManager class whose return type is Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/yo52674_wp678"+"?verifyServerCertificate=false&useSSL=false&autoReconnect=true&useUnicode=true&characterEncoding=utf8","yo52674_R","<removed>"); } catch(Exception e){ System.out.println(e); } return con; //return the connection } } my web application is trying to connect heliohost mysql database but it can only connect and perform queries when my heliohost phpmyadmin page is open after when i close php my admin it gives me error e Exception Report Message An exception occurred processing JSP page [/userregact.jsp] at line [17] Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception org.apache.jasper.JasperException: An exception occurred processing JSP page [/userregact.jsp] at line [17] 14: //String feedback = request.getParameter("feedback"); 15: Connection getconnection = DbConnection.getconnection(); 16: //String sql=; 17: PreparedStatement st = getconnection.prepareStatement("insert into user values(?,?,?,?)"); 18: 19: st.setString(1,username); 20: st.setString(2,password); Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) Root Cause java.lang.NullPointerException org.apache.jsp.userregact_jsp._jspService(userregact_jsp.java:147) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330) javax.servlet.http.HttpServlet.service(HttpServlet.java:742) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) Note The full stack trace of the root cause is available in the server logs. Apache Tomcat/8.5.24 this is code of dbconnection.java file
  11. Hi, I'm on Tommy, you guys migrated my account back from Johnny a few days ago. Everything was working perfectly, but now, a few hours after the last time I've used my site, I found Java disabled on my account. I've pressed the button to request it again. Can you please activate it again for me so I don't have to wait in the queue? >.< Thank you in advance.
  12. Hi Team, The java privileges from my account were removed. I had access till yesterday (29/12/2019) and also deployed a WAR file, But today when I logged in and went to the java page, its saying request access. I have faced this problem in past also. Although the inactive login for heliohost is 30 days, this varies greatly for Java. Please confirm what is the duration and criteria for revoking java access. As you would know once the Java access is removed, re gaining it takes a lot of time (even upto 3 months in past). Please clarify my doubts. Thanks. Regards, Prat
  13. username: aakash44 i have uploaded the war file name: test.war please host my test.war i am using it for learning purpose this is created in java. i forgot the server name, but i remember it was middle one in three. i think it is jonny.
  14. Hello! Thanks for all the great support from the staff here! I'm trying to re-deploy my .war after the Tommy failure, I've got Java access, I've restored my .war from the backup, but then I hit this error message: Java deployment failed with errors. For further information please contact support. Could I get the log for the failure? What might be causing this issue now when it worked before the Tommy failure? Best, Adam username: tommygun domain: tommygun.heliohost.org
  15. Hello I've finally been granted Java support on my account, and so today I tried to test out my website/game on it. I'm very new to websites, domains, etc. so my knowledge of all this is limited. That being said I've worked on my website/game for a while now, and I know it works as I have tested it on my computer. My game uses a websocket from the client side to connect to the Java websocket endpoint. I use: new WebSocket("ws://localhost:443/Hide/Server/ANY") ...on the client side to do this. "localhost" is used because this is being tested on Tomcat on the same computer; "443" because while I can set this to any number (which I have tested), it seems like the best port I could use for a non-secured connection; "Hide" is the project folder name; "Server/ANY" is the server endpoint. I've tested this many times and it works. Now to move the project/WAR file (WAR file is called "Hide-1.war") to HelioHost, I first changed the Websocket URL to: new WebSocket("ws://hhdavidh.heliohost.org/Hide/Server/ANY") I then uploaded the WAR file and deployed it. However, when I go to the URL where it's deployed at (http://hhdavidh.heliohost.org/Hide-1/) I get: WebSocket connection to 'ws://hhdavidh.heliohost.org/Hide/Server/ANY' failed: Error during WebSocket handshake: Unexpected response code: 404 I've tried port "8080" as well as other port numbers. I've tried changing the websocket URL to: new WebSocket("ws://hhdavidh.heliohost.org/Hide-1/Server/ANY") new WebSocket("ws://hhdavidh.heliohost.org/Server/ANY") new WebSocket("ws://hhdavidh.heliohost.org:8080/Hide/Server/ANY") ... ...which all come up with the same error. When trying: new WebSocket("ws://hhdavidh.heliohost.org:443/Hide/Server/ANY") ...the error is instead: WebSocket connection to 'ws://hhdavidh.heliohost.org:443/Hide/Server/ANY' failed: Connection closed before receiving a handshake response I've tried everything I can think of but now I'm stuck. Any help is appreciated!
  16. Hi there! I have a java web project that used jsp and servlet. I´ve done correctly all the database and there is no problem with that. In the section of MySql Databases I´ve created a new user and I attached it to the database created. The problem is that I don´t get the connection to the database. I genere a .war file to be deployed . I attach part of the code that I use to connect java to the database. public class Clase_Conexion{ private Connection cn; private String user="garoskul_garos"; //The user I created private String password="mypassword"; private String url="jdbc:mysql://"; //I used hnny.heliohost.org fist and it doesn´t work public Clase_Conexion(){ cn=null; try{ Class.forName("com.mysql.jdbc.Driver"); cn=DriverManager.getConnection(url,user,password); if(cn!=null){ System.out.println("Conexion establecida"); } }catch ( SQLException e){ System.out.println("error al conectar"+e); } catch (ClassNotFoundException ex) { Logger.getLogger(Clase_Conexion.class.getName()).log(Level.SEVERE, null, ex); } } public Connection getConnection(){ return cn; } Please if u don´t mine to help me I´ll be very grateful.
  17. Good morning, I recently asked for Java to be reinstated to my account (it was removed due to a Tomcat service problem, I believe). Then, once I got back to cPanel > Java, I uploaded two WAR files to be deployed. I can see the files in the file manager, but the Java section does not see them. The only option I have is the Upload WAR button. I can't deploy any of my WAR files. --- I know war deployment can take a while, but I don't think it should be that long for the platform to initially see the files. Thanks in advance for your help.
  18. I'm trying to deploy a new war file, and it appears to be stuck on "Java deployment pending. Refresh the page to check the status." Can someone please trigger the deployment? Thank you
  19. Hi team, since this morning my paged hosted on Tomcat are always responing with a 503 error response. I tried to re-deploy my Java app from the Java Tomcat section, but the deploy is failing with errors (even if I tested it in local and it is working fine). Can you please help on that? User: shufflyDomain: shuffly-backend.heliohost.org Thanks for the support
  20. Hello, I have created a johnny server, and have requested java access. The estimated date of access is the 17th of March and was wondering if there is a way to get access to this service quicker. Thanks, Emer
  21. I need Java software enabled but the wait for Johnny server is too long. How do I switch to the Tommy server?
  22. Hi team, starting from today I am not able to reach some domains from my PHP and JAVA code from my domain in Heliohost. In particular, I am not able to reach https://api.fanburst.com and http://api.soundcloud.com/ (which I call to extract some data) from my code. I always get a "Connection refused" error. Did you change something from your side? User: shuffly Domain: shuffly-backend.heliohost.org Thanks for the support
  23. Hi, yesterday I deployed a new version of my .war but something didn't work. I mean, it did deploy successfully and I can use methods that access the database through a management page, but there's a scheduled job that isn't running. Unfortunately, I've set my application to write in its own log file under "home/cridus10/logs", but the file doesn't get created at all. Does it lack permissions? Can you please look at my app's logs to see if there's an error and give the stack trace to me in private? Thank you very much.
  24. Hi team, without any action my Java WAR application went down about 2 hours ago. I am trying to deploy it again from the Java Tomcat section, but the deploy is failing with errors. Is it possible to know the reason? Everything was working fine until 2 hours ago and I did not change anything within it. User: shuffly Domain: shuffly-backend.heliohost.org Thanks for the support
  25. Dear all, Today I tried to access on my site (http://arkham19.heliohost.org/mb/), but unfortunately I've got an error: Error report: [Home]Could not initialize class com.mysql.jdbc.Driver StackTrace: java.lang.NoClassDefFoundError: Could not initialize class com.mysql.jdbc.Driver java.lang.Class.forName0(Native Method) java.lang.Class.forName(Class.java:264) beans.ConnectionManagerBean.connect(ConnectionManagerBean.java:47) beans.ConnectionManagerBean.getCon(ConnectionManagerBean.java:66) org.apache.jsp.index_jsp._jspService(index_jsp.java:198) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:458) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330) javax.servlet.http.HttpServlet.service(HttpServlet.java:741) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) java.lang.Thread.run(Thread.java:748) It 's very strange because I have not uploaded code updates and few days ago I could easily access to my site.I also tried to access the database from my local site with Eclipse and it work well. Can you give me assistance, please?Thanks in advance!
  • Create New...