weblogic中默认的web应用程序位置是在C:\bea\user_projects\mydomain\applications\DefaultWebApp下,请问如何改动这个位置到我指定的地

painus 2003-08-19 10:08:29
如题:weblogic中默认的web应用程序位置是在C:\bea\user_projects\mydomain\applications\DefaultWebApp下,请问如何改动这个位置到我指定的地方?比如我用jb上做了一个servlet(假定在c:\test下),make成一个*.war,然后部署到weblogic上,最后敲入http://127.0.0.1:7001/servletname可以看到效果。
请问如何做呢?
...全文
33 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
painus 2003-08-19
  • 打赏
  • 举报
回复
原来这样,那与在JB中直接部署也是一样的结果呀,但是我为何在
http://127.0.0.1:7001/servletname看到的是错误呢


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.

Sundery 2003-08-19
  • 打赏
  • 举报
回复
在点击application出现的网页中,有Configure a new Application
对吗?
点击进入

Step 1. through your browser ->upload 这下看到了吧?

Step 2. 选择自己要发布的那个东西的旁边的[select]

......

painus 2003-08-19
  • 打赏
  • 举报
回复
看到了呀,有我的war,但是点右键也没有upload这个选项呀!
Sundery 2003-08-19
  • 打赏
  • 举报
回复
登陆wls console
左边一栏有mydomain->deployments->application

看到了吗?嗬嗬
painus 2003-08-19
  • 打赏
  • 举报
回复
TO:Sundery(Sundery)
" 选中c:\test\xxx.war然后,upload就可以了"
我的wls里的consile怎么没有upload这个选项呀?请详细一点告诉我好吗?
Sundery 2003-08-19
  • 打赏
  • 举报
回复
厄.....楼上说的好象对的:)
conning333 2003-08-19
  • 打赏
  • 举报
回复
好像是不可以改动的。upload只是动态发布到应用里面,实际上还是发布在applications目录下面。
Sundery 2003-08-19
  • 打赏
  • 举报
回复
部署好了,就可以的

wls console在web application的时候不是可以选择的吗?

你只要选中c:\test\xxx.war然后,upload就可以了

就可以由你想要的效果了:)

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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