HelioHost Posted May 2, 2020 Posted May 2, 2020 Username: prinshug, Server: Tommy, Main domain: mybai.com.heliohost.org I uploaded my project Java war file and after that I just deploy that. Andit's been 5 hours and it is still showing me that :Java deployment pending. Refresh the page tocheck the status. In order to run my project servlets I need this deployment isn't it? Coz Ihave just uploaded the Jsp files to public html folder which let me toaccess the front end content but in order to establish some connectionsthrough database I have used various servlets also,i tried uploading theservlet files in publicj_html directory and it didn't worked. So I thoughtthat deploying the war file is the correct way to centralize the wholeproject having Jsp web pages, servlets, and Java classes,but It got stuckedplease help me out with this.
HelioHost Posted May 3, 2020 Author Posted May 3, 2020 How much time it will take coz in order to make changes in my servlet partI have to redeploy the war file, so again and again I need to redeploy myproject so whether it will take a whole day to redeploy? And also when Ideployed my war file I've got: my-domain_name/project name but I want my domain name as my whole project,i.e I should be able to host my project directly through my domain_name. On Sun, May 3, 2020, 05:15 Heliohost Support wrote: > I just checked your account, and it says deployed.>>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic9563>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Krydos Posted May 3, 2020 Posted May 3, 2020 If it's the first time you've deployed a particular .war it can take a couple hours or so. If you change the name of the .war it will take the full amount of time to deploy again. For instance if you have the version number on your .war, like test_1.0.war and then you change it to test_1.1.war, it counts as a new .war and it will take the full amount of time again. If you keep the same name, like test.war and then upload a new test.war, it should deploy in just a few minutes.
HelioHost Posted May 3, 2020 Author Posted May 3, 2020 Ohk.. I have one problem I'm getting null pointer exception in my websitebut I'm able to remotely access my database through my ide and I can ableto perform CRUD operations easily but the same thing when I tried in serveruploaded website I'm getting null pointer exception. On Sun, May 3, 2020, 12:25 Heliohost Support wrote: > If it's the first time you've deployed a particular .war it can take a> couple hours or so. If you change the name of the .war it will take the> full amount of time to deploy again. For instance if you have the version> number on your .war, like test_1.0.war and then you change it to> test_1.1.war, it counts as a new .war and it will take the full amount of> time again. If you keep the same name, like test.war and then upload a new> test.war, it should deploy in just a few minutes.>>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic9563>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Krydos Posted May 4, 2020 Posted May 4, 2020 Are you using Tomcat 8.5.24 and Java 1.8.0_242 on your development system?
HelioHost Posted May 4, 2020 Author Posted May 4, 2020 Now I got it. I'm getting issue with session variables ,the null pointer isdue to null values in session variables.i read some post on helionetregarding this issue, I just put context.xml file in WEBINF folder insidethe war file but it doesn't help me. On Mon, May 4, 2020, 07:47 Heliohost Support wrote: > Are you using Tomcat 8.5.24 and Java 1.8.0_242 on your development system?>>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic9563>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
HelioHost Posted May 4, 2020 Author Posted May 4, 2020 Link is http://mybai.com.heliohost.org/ROOT/ On Mon, May 4, 2020, 09:01 Heliohost Support wrote: > What is the link to that post?>>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic9563>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
HelioHost Posted May 4, 2020 Author Posted May 4, 2020 i'll just make you simple to understand that how in my website sessionvariables are not workinggo to http://mybai.com.heliohost.org/ROOT/adminlogin.jsphere if the login credentials are matching then it will redirect you tohttp://mybai.com.heliohost.org/ROOT/admin.jspcode for above HttpSession session=request.getSession(); session.setAttribute("asession", amail); response.sendRedirect("admin.jsp"); in admin.jsp i have written this String amail=(String)session.getAttribute("asession");if(amail==null){response.sendRedirect("adminlogin.jsp");}so when im just logging in to this even if i enter correct credentials butthe session variable is null it again redirects me to login page.you can check this by going into this page http://mybai.com.heliohost.org/ROOT/adminlogin.jspand use login credentials as:username: adminpassword : trnbGNw/0zzvi0UY1s1fTQ== On Mon, May 4, 2020 at 9:01 AM Heliohost Support wrote: > What is the link to that post?>>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic9563>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Krydos Posted May 4, 2020 Posted May 4, 2020 You said > i read some post on helionet regarding this issue What post were you referring to?
HelioHost Posted May 4, 2020 Author Posted May 4, 2020 OhkLink to posthttps://www.helionet.org/index/topic/32553-tommy-server-java-session-variable-not-working/ On Mon, May 4, 2020, 11:27 Heliohost Support wrote: > You said> > > i read some post on helionet regarding this issue> > What post were you referring to?>>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic9563>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Krydos Posted May 5, 2020 Posted May 5, 2020 Have you tried the solution from that thread that worked for another user? https://www.helionet.org/index/topic/32553-tommy-server-java-session-variable-not-working/?p=146748
HelioHost Posted May 5, 2020 Author Posted May 5, 2020 Yes I tried but I doesn't work for me. On Tue, May 5, 2020, 07:43 Heliohost Support wrote: > Have you tried the solution that worked for another user?> https://www.helionet.org/index/topic/32553-tommy-server-java-session-variable-not-working/?p6748>>> You may view the status of your ticket by visiting:>> https://www.helionet.org/index/index.php?showtopic9563>> Thank you,> Heliohost support> https://www.heliohost.org/> https://www.helionet.org/>>
Recommended Posts