Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Application Server  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 WebLogic 8.1 虚拟主机设置问题
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2003-12-01 10:10 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
在weblogic里建一个webapp,如test1
可以通过http://localhost:7001/test1访问
建立一个虚拟主机 www.test1.com
将test1部署到www.test1.com
可以通过www.test1.com/test1 访问
现在要通过www.test1.com就可以直接访问
就在test1的web-inf目录下放 了一个weblogic.xml设置<context-root>/</context-root>
成功通过www.test1.com访问

现在要建多个虚拟主机,都需要通过根访问
如: www.test2.com 直接就可以访问test2
再次将test2映射到根(/)上就出错

但重启几次,折通一番,虽然启动时仍然报错,但都可以通过根访问了

奇怪

大家都是怎么配的?



作者 Re:WebLogic 8.1 虚拟主机设置问题 [Re:wes109]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2003-12-01 11:27 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
没办法:(

在WebLogic的文档里面关于VirtualHost的说明里面看到

DefaultWebApp

Servlet 2.3 Web Application that maps to the "default" servlet context (where ContextPath = "/"). This param is being deprecated starting from 8.1 release. Set context-root="/" instead in weblogic.xml or application.xml

改weblogic.xml or application.xml又老是出错
设置DefaultWebApp 这个参数就可以了,但说不推荐使用了
实际在admin console里面根本就没有这一项,还要手工加



作者 Re:WebLogic 8.1 虚拟主机设置问题 [Re:wes109]
ditty

负资产小资

CJSDN高级会员


发贴: 1038
积分: 143
于 2003-12-01 11:39 user profilesend a private message to usersend email to dittysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这种需求对于webserver来说,很容易就可以实现。
所以,需要将weblogic 和 apache 集成.



内忧外患的时代,洗心革面,阿咪豆腐~
作者 Re:WebLogic 8.1 虚拟主机设置问题 [Re:wes109]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2003-12-01 12:54 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
要集成了就不用这么折腾了

痛苦



作者 Re:WebLogic 8.1 虚拟主机设置问题 [Re:wes109]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2003-12-03 12:00 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
weblogic 的 node manager 和 cluster 真是让人痛苦


作者 Re:WebLogic 8.1 虚拟主机设置问题 [Re:wes109]
wes109

以梦为马

CJSDN高级会员


发贴: 857
积分: 60
于 2003-12-03 12:58 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
有没有用weblogic管理10个以上的虚拟主机的?



flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923