主要是你想干什么你安装tomcat无非是为了做jsp.servlet的容器,所以你没有必要安装apache
解决方案 »
- 最近在看jquery,谁那里有比较好的jquery的资料啊
- 麻烦高手看一下下面代码为什么错误?
- 如何映射到第三对象
- The server encountered an internal error () that prevented it from fulfilling this request
- 请问:如何接收表单控件<input type=file name=filename>中filename的值?请高手指点一下,谢谢了!
- 页面显示混乱问题
- 蓝蓝进来呀~~~花花送分了~
- 如何使用Aspect编写可适应的程序?
- 在jsp中,html元素<select>的值如何显示?
- 传递参数的问题还请指教!!
- slkdflsfls
- 庆祝~~~散分^_^
然后
http://127.0.0.1:8080页面显示
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, webmaster@Catalina and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.
--------------------------------------------------------------------------------Apache/2.0.48 (Win32) mod_jk2/2.0.2 Server at 127.0.0.1 Port 8080
LoadModule jk2_module modules/mod_jk2-2.0.43.dll
ServerAdmin [email protected]
DocumentRoot "D:\jhome\work"
ServerName asdmusi_cn
DirectoryIndex index.htm index.html index.jsp
</VirtualHost>http://127.0.0.1:8080还是不行。不知道怎么配置。
http://127.0.0.1:8080
http://127.0.0.1:8080/root
http://127.0.0.1:8080/root/index.jsp
都不行。我看了日志
[Tue Nov 18 08:59:03 2003] [error] shm.init(): No file
[Tue Nov 18 08:59:03 2003] [notice] Parent: Created child process 3052
[Tue Nov 18 08:59:03 2003] [error] shm.init(): No file
[Tue Nov 18 08:59:03 2003] [notice] Child 3052: Child process is running
[Tue Nov 18 08:59:03 2003] [error] shm.init(): No file
[Tue Nov 18 08:59:03 2003] [error] mod_jk child init 1 0
[Tue Nov 18 08:59:03 2003] [notice] Child 3052: Acquired the start mutex.
[Tue Nov 18 08:59:03 2003] [notice] Child 3052: Starting 250 worker threads.
[Tue Nov 18 08:59:41 2003] [error] workerEnv.init() create slot epStat.0 failed
[Tue Nov 18 08:59:41 2003] [error] lb.service() worker failed 120000 for ajp13:localhost:8009
[Tue Nov 18 08:59:41 2003] [error] lb.service() unrecoverable error...
[Tue Nov 18 08:59:41 2003] [error] mod_jk.handler() Error connecting to tomcat 120000
最后一行connecting to tomcat 是不是它还是要TOMCAT呀。但是如果我先启动 apach 再启动tomcat的话。tomcat启动过程中报错误。好像是地址帮定有冲突。应该是和apach 冲突吧但是如果我先启动 tomcat 再启动apach的话。apach启动过程中报错误。错误信息我上面的帖子中写了。
我现在想看
1 apach 我好了没有?
2 两个是否整和好。(它们是否各私其职)
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 8081
#把 8080改为8081,这样后,我两个都启动,就不会后帮定端口的错误了。<VirtualHost localhost:8080> # 我不知道这边该怎么写。8080还是8081。
LoadModule jk2_module modules/mod_jk2-2.0.43.dll
ServerAdmin [email protected]
DocumentRoot "D:\jhome\work"
ServerName asdmusi_cn
DirectoryIndex index.htm index.html index.jsp
</VirtualHost>