论坛首页 入门技术论坛

Error 404--Not Found

浏览 7988 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (1) :: 隐藏帖 (0)
作者 正文
   发表时间:2008-11-25   最后修改:2008-11-28
  出现404错误时
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.

在config.xml中
<JDBCTxDataSource JNDIName="reportds" Name="MyJDBC Data Source-1"
        PoolName="MyJDBC Connection Pool-1" Targets="myserver"/>之后加入
<Application Name="_appsdir_report_ora_dir"
        Path="D:\bea\user_projects\domains\mydomain\applications"
        StagingMode="nostage" TwoPhase="true">
        <WebAppComponent Name="report_ora" Targets="myserver" URI="report_ora"/>
    </Application>
修改下划线的值,保存后。重启服务即可。
   发表时间:2009-05-12   最后修改:2009-05-12
我也是用weblogic9.2做单点登陆,我是参照了 配置单点登陆.doc做的,也出现这个问题: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.

但是在楼主的config.xml中
<JDBCTxDataSource JNDIName="reportds" Name="MyJDBC Data Source-1"
        PoolName="MyJDBC Connection Pool-1" Targets="myserver"/>之后加入
<Application Name="_appsdir_report_ora_dir"
        Path="D:\bea\user_projects\domains\mydomain\applications"
        StagingMode="nostage" TwoPhase="true">
        <WebAppComponent Name="report_ora" Targets="myserver" URI="report_ora"/>
    </Application>

我的config.xml里根本没有DBCTxDataSource 这个结点。
Path="D:\bea\user_projects\domains\mydomain\applications
我用的是weblogic9.2 没有applications这个文件夹,只有autodeploy

请问LZ是怎么解决的?


0 请登录后投票
   发表时间:2009-07-03  
你的这种情况可能是web.xml文件的配置有问题,使监听跟踪不到
0 请登录后投票
论坛首页 入门技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics