Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Several problems in the flash of tomcat startup

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

First, the environment variables are not configured properly.

JAVA_HOME=C:\ Program Files\ Java\ jdk1.7.0_79

JRE_HOME=C:\ Program Files\ Java\ jre7

CATALINA_BASE=C:\ tomcat6.0

CATALINA_HOME=C:\ tomcat6.0

Second, bootstrap.jar cannot be loaded.

Catalina.bat 's

If "% OS%" = = "Windows_NT" setlocal

Add at the bottom of the line

Java-jar-Duser.dir= "C:\ tomcat6.0"C:\ tomcat6.0\ bin\ bootstrap.jar" start

This sentence

Attached, startup.bat,catalina.bat,setclasspath.bat is required when tomcat starts.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report