weblogic与tomcat

lxl8325 2002-09-25 09:33:44
如何将weblogic 代替tomcat?
我写了很多程序放在了Root下用tomcat and jdk 完全好用!怎样使用weblogic 来运行这些Root下的程序?具体点!谢谢!
...全文
36 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
lxl8325 2002-09-29
  • 打赏
  • 举报
回复
运行出错如下
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.
dsdai 2002-09-26
  • 打赏
  • 举报
回复
把weblogic中的错误贴出来,还有,conf/config/是用来存放xml文件的,html文件放在wlserver6.1\config\mydomain\applications\DefaultWebApp目录下。
lxl8325 2002-09-26
  • 打赏
  • 举报
回复
html页面放在conf\onfig\目录下?
我把.html放在
wlserver6.1\config\mydomain\applications\DefaultWebApp\t1.html

运行出错如下
Error 404--Not Found
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

怎么办?
restart2001 2002-09-25
  • 打赏
  • 举报
回复
你要是偷懒可以这样:
jsp文件放在default webapp目录下;
bean文件放在web-inf/classes目录下;
有时候可能要改下web.xml这个文件
dsdai 2002-09-25
  • 打赏
  • 举报
回复
jsp页面放在wlserver6.1\config\mydomain\applications\DefaultWebApp目录下,把你引入的lib包都放在wlserver6.1\config\mydomain目录下的startWebLogic.cmd文件中的setpath=。。。。。。(要编辑的哦:))。还有xml文件要放在conf\onfig\目录下。
内容概要:本文研究了基于二进制编码的遗传算法在电力系统经济调度中的应用,重点考虑了排放目标与输电损耗的双重约束。通过构建多目标优化模型,将燃料成本、污染物排放量以及电网传输损耗纳入统一框架,并采用二进制遗传算法进行求解,实现了对发电机组出力的智能优化分配。文中详细阐述了算法的编码方式、适应度函数设计、选择、交叉与变异操作等关键步骤,并利用Python编程实现了完整的求解流程。结合标准测试系统进行了仿真实验,验证了该方法在降低综合运行成本、减少环境污染和提高电网效率方面的有效性与可行性。; 适合人群:具备一定电力系统基础知识和Python编程能力的高校研究生、科研人员及从事能源优化调度相关工作的工程技术人员。; 使用场景及目标:①应用于电力系统经济调度研究中,平衡发电成本与环保要求;②为含多目标约束的复杂优化问题提供基于遗传算法的求解思路与代码实现参考;③作为教学案例帮助学生理解智能优化算法在能源领域的实际应用。; 阅读建议:建议读者结合文中的数学模型与Python代码同步阅读,动手复现实验结果,并尝试调整算法参数或引入其他约束条件以加深理解,进一步可拓展至更多元化的智能算法对比研究。

1,237

社区成员

发帖
与我相关
我的任务
社区描述
企业软件 中间件技术
社区管理员
  • 中间件
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧