Jump to content

Recommended Posts

Posted

Username: prinshug, Server: Tommy, Main domain: mybai.com.heliohost.org

 

I uploaded my project Java war file and after that I just deploy that. And

it's been 5 hours and it is still showing me that :

Java deployment pending. Refresh the page

 

to

check the status.

 

In order to run my project servlets I need this deployment isn't it? Coz I

have just uploaded the Jsp files to public html folder which let me to

access the front end content but in order to establish some connections

through database I have used various servlets also,i tried uploading the

servlet files in publicj_html directory and it didn't worked. So I thought

that deploying the war file is the correct way to centralize the whole

project having Jsp web pages, servlets, and Java classes,but It got stucked

please help me out with this.

Posted

How much time it will take coz in order to make changes in my servlet part

I have to redeploy the war file, so again and again I need to redeploy my

project so whether it will take a whole day to redeploy? And also when I

deployed 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/

>

>

Posted

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.

Posted

Ohk.. I have one problem I'm getting null pointer exception in my website

but I'm able to remotely access my database through my ide and I can able

to perform CRUD operations easily but the same thing when I tried in server

uploaded 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/

>

>

Posted

Now I got it. I'm getting issue with session variables ,the null pointer is

due to null values in session variables.i read some post on helionet

regarding this issue, I just put context.xml file in WEBINF folder inside

the 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/

>

>

Posted

i'll just make you simple to understand that how in my website session

variables are not working

go to http://mybai.com.heliohost.org/ROOT/adminlogin.jsp

here if the login credentials are matching then it will redirect you to

http://mybai.com.heliohost.org/ROOT/admin.jsp

code 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 but

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

and use login credentials as:

username: admin

password : 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/

>

>

Posted

Ohk

Link to post

https://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/

>

>

Posted

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/

>

>

Guest
This topic is now closed to further replies.
×
×
  • Create New...