CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 6131|Reply: 1

Xampp Tomcat error code=1

[Copy link]
Post time 29-9-2018 01:01 AM | Show all posts |Read mode
Persoalannya,

Installer yg sama (Xampp dgn Java SE DK 11)

2 laptop. satu boleh, satu tak boleh (error). Kenapa ye?


Reply

Use magic Report


ADVERTISEMENT


Post time 14-7-2021 11:05 PM | Show all posts
Edited by Akshay_M at 26-7-2021 07:08 PM

Solution:
we need to create an Environment Variable "JAVA_HOME". and give the vale as JDK installation directory path. Ex: "C:\Program Files\Java\jdk1.8.0_66"

we need to create an Environment Variable "JRE_HOME". and give the vale as JRE installation directory path. Ex: "C:\Program Files\Java\jre1.8.0_66"

Go to your "tomcat" installation directory and then "conf" folder. Ex: "C:\xampp\tomcat\conf".

Edit these given files with these values: i) open server.xml file which is located inside conf folder. Go to line number "70" and change the "port" number "8080" as something else for example "9999" and save it. ii) open context.xml file which is located inside "conf" folder and go to line number "19" and change <Context> tag as <Context reloadable="true"> and save it.

close the "XAMPP" App and restart it.

Now go to the "Config" Option inside "XAMPP" application i.e top right corner of the XAMPP app. then go to the "Service and Port Settings" then go to the "Tomcat" tab and put "9999" as the "HTTP Port" value and save it. Not restart XAMPP.

Now try to start "Tomcat" Server.

Open your browser and type localhost:9999 in the browser url and hit enter.

Regards,
Akshay
Technical Consultant
Apps4Rent | CloudDesktopOnline | O365CloudExperts


Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT



 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

22-12-2024 02:55 AM GMT+8 , Processed in 0.038519 second(s), 15 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list