J_security_check error 404 login twice.

Hi, i encountered a problem with authentication based on form and containter. I have a login.xhtml (later mapped to login.jsf) page that contains:
<form action="j_security_check" method="post">
                        <div style="clear: both">
                            User:
                            <input type="text" name="j_username" size="25" class="textfield" tabindex="1"></input>
                            <input type="reset" value="Reset" class="button" tabindex="4"></input>
                        </div>
                        <div style="clear: both">
                            Password:
                            <input type="password" size="25" name="j_password" class="textfield" tabindex="2"></input>
                            <input type="submit" value="Submit" class="button" tabindex="3"></input>
                        </div>
                    </form>The authorisation is based on LDAP. The problem is when i open this login page in two separate tabs in the same browser. I log in to restricted page in the first tab, everything is ok. But when i try to log in in the second tab while still being logged in the first tab, i get error 404 service not available. Any ideas how to deal with such situation?

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
what do you get when you enter in an invalid username/password - your logonError.jsp? page
How do you access this page - is your destination page available, and working?
I take it you are trying to access /RnsttHome.jsp
Check the spelling of your URL - maybe try accessing another file under securlty to see if that one works?
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- It doesn't really matter whether I enter a correct username/password or an invalid one, cause I get the 404 Error. I am not re-directed to the logonError.jsp at all. I can only see that the browser is looking for J_security_check...at least that's what is written on the url when I get the 404 error.
e.g.
http://localhost/myapplication/j_security_check
-- The destination page is RnsttHone.jsp and it is working fine.I don't think that this is the problem.
-- I have tried accessing other files as well.That's not the problem.They all have the same problem with j_security_check...
Arapakis Giannis

Similar Messages

  • J_security_check / Error 404

    Hi,
    I am trying to modify an application that works with Apache and Tomcat server.
    I tried to add basic form authentication, but when I enter a login-name/password I get an HTTP 404 Error about the requested page, that it was not found.
    Here are my web.xml and logon.jsp files:
    ======================== web.xml ========================
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- (c) 2001, RosettaNet; portions hereof (c) 2001, SAIC. -->
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "webapps/rosettanet/WEB-INF/web-app_2_2.dtd">
    <web-app>
    <!-- Security Constraint -->
    <security-constraint>
    <display-name>SecurityConstraint</display-name>
    <web-resource-collection>
    <web-resource-name>STK</web-resource-name>
    <url-pattern>/RnsttHome.jsp</url-pattern>
    <http-method>DELETE</http-method>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    <http-method>PUT</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>customer</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>NONE</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <realm-name>file</realm-name>
    <form-login-config>
    <form-login-page>/logon.jsp</form-login-page>
    <form-error-page>/logonError.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <!-- Security Roles -->
    <security-role>
    <role-name>customer</role-name>
    </security-role>
    <welcome-file-list>
    <welcome-file>
    RnsttHome.jsp
    </welcome-file>
    </welcome-file-list>
    </web-app>
    =======================================================
    ======================== logon.jsp =======================
    <%@ page contentType="text/html" %>
    <%-- Log-In Page --%>
    <html>
    <head><title></title></head>
    <center>
    <h3>This is a login page.</h3>
    <br><br><form action="j_security_check" method=post>
    <table>
    <tr>
    <td align="center">
    <table border="0">
    <tr>
    <td><b>Enter your name: </b></td>
    <td><input type="text" size="15" name="j_username"></td>
    </tr>
    <tr>
    <td><b>Enter your password: </b></td>
    <td><input type="password" size="15" name="j_password"></td>
    </tr>
    <tr>
    <td></td>
    <td align="right"><input type="submit" value="Submit"></td>
    </tr>
    <tr>
    <td><br></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </form>
    </center>
    </html>
    =======================================================
    Tomcat is version 3.2 and Apache is version 1.3.19
    The application is located inside Tomcat, folder webapps.Any suggestions or ideas?I honestly don't know how to solve this problem.I looked at other similar threads but none of the suggestions or solutions posted work for my case...
    Arapakis Giannis
    IT-Postgraduate Student

    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    what do you get when you enter in an invalid username/password - your logonError.jsp? page
    How do you access this page - is your destination page available, and working?
    I take it you are trying to access /RnsttHome.jsp
    Check the spelling of your URL - maybe try accessing another file under securlty to see if that one works?
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    -- It doesn't really matter whether I enter a correct username/password or an invalid one, cause I get the 404 Error. I am not re-directed to the logonError.jsp at all. I can only see that the browser is looking for J_security_check...at least that's what is written on the url when I get the 404 error.
    e.g.
    http://localhost/myapplication/j_security_check
    -- The destination page is RnsttHone.jsp and it is working fine.I don't think that this is the problem.
    -- I have tried accessing other files as well.That's not the problem.They all have the same problem with j_security_check...
    Arapakis Giannis

  • Problem with j_security_check - Error 404

    Hi,
    I am trying to modify an application that works with Apache and Tomcat server.
    I tried to add basic form authentication, but when I enter a login-name/password I get an HTTP 404 Error about the requested page, that it was not found.
    Here are my web.xml and logon.jsp files:
    ======================== web.xml ========================
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- (c) 2001, RosettaNet; portions hereof (c) 2001, SAIC. -->
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "webapps/rosettanet/WEB-INF/web-app_2_2.dtd">
    <web-app>
    <!-- Security Constraint -->
    <security-constraint>
         <display-name>SecurityConstraint</display-name>
         <web-resource-collection>
              <web-resource-name>STK</web-resource-name>
              <url-pattern>/RnsttHome.jsp</url-pattern>
              <http-method>DELETE</http-method>
              <http-method>GET</http-method>
              <http-method>POST</http-method>
              <http-method>PUT</http-method>
         </web-resource-collection>
         <auth-constraint>
              <role-name>customer</role-name>
         </auth-constraint>
         <user-data-constraint>
              <transport-guarantee>NONE</transport-guarantee>
         </user-data-constraint>
    </security-constraint>
    <login-config>
         <auth-method>FORM</auth-method>
         <realm-name>file</realm-name>
         <form-login-config>
              <form-login-page>/logon.jsp</form-login-page>
              <form-error-page>/logonError.jsp</form-error-page>
         </form-login-config>
    </login-config>     
    <!-- Security Roles -->
    <security-role>
         <role-name>customer</role-name>
    </security-role>
    <welcome-file-list>
         <welcome-file>
              RnsttHome.jsp
         </welcome-file>
    </welcome-file-list>
    </web-app>
    =======================================================
    ======================== logon.jsp =======================
    <%@ page contentType="text/html" %>
    <%-- Log-In Page --%>
    <html>
    <head><title></title></head>
    <center>
    <h3>This is a login page.</h3>
    <br><br><form action="j_security_check" method=post>
    <table>
    <tr>
    <td align="center">
    <table border="0">
    <tr>
    <td><b>Enter your name: </b></td>
    <td><input type="text" size="15" name="j_username"></td>
    </tr>
    <tr>
    <td><b>Enter your password: </b></td>
    <td><input type="password" size="15" name="j_password"></td>
    </tr>
    <tr>
    <td></td>
    <td align="right"><input type="submit" value="Submit"></td>
    </tr>
    <tr>
    <td><br></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </form>
    </center>
    </html>
    =======================================================
    I also noticed the following messages in the mod_jk.log
    =======================================================
    [jk_ajp12_worker.c (596)]: ajpv12_handle_response, error writing back to server
    [jk_ajp12_worker.c (596)]: ajpv12_handle_response, error writing back to server
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (596)]: ajpv12_handle_response, error writing back to server
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_ajp12_worker.c (498)]: ajpv12_handle_response, error reading header line
    [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61
    [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1
    [jk_ajp12_worker.c (517)]: ajpv12_handle_response, no value supplied
    =======================================================
    I know for sure that Tomcat is configured to handle all the .jsp pages. This is mod_jk.conf-auto
    =======================================================
    JkMount /*.jsp ajp12
    JkMount /servlet/* ajp12
    =======================================================
    The application is located inside Tomcat folder webapps.Any suggestions or ideas?I honestly don't know how to solve this problem.I looked at other similar threads but none of the suggestions or solutions posted work for my case...
    Arapakis Giannis
    IT-Postgraduate Student

    No, that's not the problem.I am sure that it finds the pages "logon.jsp" and "logonError.jsp".There is no need to remove the "/".
    The problem is that after I am redirected to the logon.jsp and enter a login-name/password I press the submit button and then I get the 404 error.
    Have you configured Apache to recognise the "j_security_check" URL to be forwarded to Tomcat appropriately? It probably does not do this by default.
    That might be the problem.Could you please tell me how to check if Apache is configured appropriately?Which configuration file should I check and for what parameter should I look for?

  • Getting error 404 when iam running a simple login servlet in tomcat

    hi
    this is my Login.java
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class Login extends HttpServlet
         public void doPost(HttpServletRequest rq, HttpServletResponse rs)
              String username =rq.getParameter("username");
              String password =rq.getParameter("password");
    try{
              rs.setContentType("text/html");
              PrintWriter out=rs.getWriter();
              out.println("<html><body>");
              out.println("thank u, " + username + "you r logged sucessfully");
              out.println("</body></html>");
              out.close();
              }catch(Exception e){
                   e.printStackTrace();
    i have saved in the form ofC:\Program Files\apache-tomcat-4.1\webapps\sravan\WEB-INF\classes\Login.class
    where sravan is my folder
    step 2: Login.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>login page</title></head>
    <body>
    <h1> WELCOME TO THE SERVLET HOME PAGE</h1>
    ENTER UR USERNAME AND PASSWORD
    <form action="/sravan/Login" method="Post">
         username<input type="text" name="username" >
         password<input type="password" name="password" >
         <input type="submit" value="submit"></form>
         </body>
    </html>
    i have saved in the form C:\Program Files\apache-tomcat-4.1\webapps\sravan\Login.html
    step3:
    my web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>beginning j2ee</display-name>
    <servlet>
    <servlet-name>Login</servlet-name>
    <servlet-class>Login</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Login</servlet-name>
    <url-pattern>Login</url-pattern>
    </servlet-mapping>
    </web-app>
    i have saved in C:\Program Files\apache-tomcat-4.1\webapps\sravan\WEB-INF\web.xml
    step4:
    here is my server.xml
    <Context path="/sravan" docBase="sravan" debug="0" reloadable="true" privileged="true"/>
    saved in C:\Program Files\apache-tomcat-4.1\webapps\sravan\WEB-INF\server.xml
    everything is fine....program is compiled ...but when iam running the servlet in tomcat iam getting error 404 Login.html not found....
    so plz kindly help me this my first servlet .....

    There seems not to be any '.html' in your url-pattern
    <url-pattern>Login</url-pattern>- so i presume you should use
    http://yourhost/Logininstead.

  • J_security_check  causing 404 Error

    <b>Hello All<BR>
    I am using Weblogic 8.1 SP3, I am trying to use the Active Directory as a means for Authentication via a FORM based login-module. <BR>
    I have followed the directions in the Weblogic Security documentation but I am getting a 404 Error when I submit the login form. It looks like that my configuration does not recognize the j_security_check. I don't know what is missing in my configuration. It is just a plain simple Weblogic Server domain. <BR>
    I have pasted my web.xml, weblogic.xml, config.xml and login.html file. I would appreciate any help in this regards.<BR>
    Thanks in advance<BR>
    Rajeev Bhogal <BR></b>------------------------------------------------<BR>
    <b>Web.xml</b><BR>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <welcome-file-list>
              <welcome-file>welcome.jsp</welcome-file>
         </welcome-file-list>
         <security-constraint>
              <web-resource-collection>
                   <web-resource-name>welcomePage</web-resource-name>
                   <description>
                        The Welcome Page and all other resources
                   </description>
                   <url-pattern>/*</url-pattern>
                   <http-method>GET</http-method>
    <http-method>POST</http-method>
              </web-resource-collection>
              <auth-constraint>
                   <role-name>COSTWebAppUser</role-name>
              </auth-constraint>
         </security-constraint>
         <login-config>
              <auth-method>FORM</auth-method>
              <realm-name>default</realm-name>
              <form-login-config>
                   <form-login-page>login.html</form-login-page>
                   <form-error-page>login-invalid.jsp</form-error-page>
              </form-login-config>
         </login-config>
         <security-role>
              <description>The Cost Web App users</description>
              <role-name>COSTWebAppUser</role-name>
         </security-role>
    </web-app>
    ---------------------------------------------------<BR>
    <b>Weblogic.xml</b><BR>
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE weblogic-web-app
    PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN"
    "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd" >
    <weblogic-web-app>
         <security-role-assignment>
              <role-name>COSTWebAppUser</role-name>
              <principal-name>WebAppUser_group</principal-name>
         </security-role-assignment>
         <container-descriptor>
              <check-auth-on-forward/>
         </container-descriptor>
         <context-root>cost</context-root>
    </weblogic-web-app>
    -------------------------------------------------<BR>
    <b>Config.xml</b><BR>
    <?xml version="1.0" encoding="UTF-8"?>
    <Domain ConfigurationVersion="8.1.3.0" Name="cost">
    <Server ExpectedToRun="false" ListenAddress="" ListenPort="7002"
    Name="costserver" NativeIOEnabled="true"
    ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.3.0">
    <SSL Enabled="false" HostnameVerificationIgnored="false"
    IdentityAndTrustLocations="KeyStores" Name="costserver"/>
    </Server>
    <JMSFileStore Directory="rmfilestore" Name="FileStore"/>
    <WSReliableDeliveryPolicy DefaultRetryCount="10"
    DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
    <Security Name="cost" PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm" RealmSetup="true">
    <weblogic.security.providers.authentication.DefaultAuthenticator
    ControlFlag="SUFFICIENT"
    Name="Security:Name=myrealmDefaultAuthenticator" Realm="Security:Name=myrealm"/>
    <weblogic.security.providers.authentication.DefaultIdentityAsserter
    ActiveTypes="AuthenticatedUser"
    Name="Security:Name=myrealmDefaultIdentityAsserter" Realm="Security:Name=myrealm"/>
    <weblogic.security.providers.authorization.DefaultRoleMapper
    Name="Security:Name=myrealmDefaultRoleMapper" Realm="Security:Name=myrealm"/>
    <weblogic.security.providers.authorization.DefaultAuthorizer
    Name="Security:Name=myrealmDefaultAuthorizer" Realm="Security:Name=myrealm"/>
    <weblogic.security.providers.authorization.DefaultAdjudicator
    Name="Security:Name=myrealmDefaultAdjudicator" Realm="Security:Name=myrealm"/>
    <weblogic.security.providers.credentials.DefaultCredentialMapper
    Name="Security:Name=myrealmDefaultCredentialMapper" Realm="Security:Name=myrealm"/>
    <weblogic.management.security.authentication.UserLockoutManager
    Name="Security:Name=myrealmUserLockoutManager" Realm="Security:Name=myrealm"/>
    <weblogic.management.security.Realm
    Adjudicator="Security:Name=myrealmDefaultAdjudicator"
    AuthenticationProviders="Security:Name=myrealmActiveDirectoryAuthenticator|Security:Name=myrealmDefaultAuthenticator|Security:Name=myrealmDefaultIdentityAsserter"
    Authorizers="Security:Name=myrealmDefaultAuthorizer"
    CredentialMappers="Security:Name=myrealmDefaultCredentialMapper"
    DefaultRealm="true" DisplayName="myrealm"
    Name="Security:Name=myrealm"
    RoleMappers="Security:Name=myrealmDefaultRoleMapper" UserLockoutManager="Security:Name=myrealmUserLockoutManager"/>
    <weblogic.security.providers.authentication.ActiveDirectoryAuthenticator
    ControlFlag="SUFFICIENT"
    Credential="{3DES}wC2qC6JGP2Ejslt9YBUQXA=="
    GroupBaseDN="OU=WebApp Testing,DC=dna,DC=tcorp,DC=cibcwm,DC=com"
    Host="10.127.30.77"
    Name="Security:Name=myrealmActiveDirectoryAuthenticator"
    Principal="CN=costadmin,CN=Users,DC=dna,DC=tcorp,DC=cibcwm,DC=com"
    Realm="Security:Name=myrealm" UserBaseDN="CN=Users,DC=dna,DC=tcorp,DC=cibcwm,DC=com"/>
    </Security>
    <EmbeddedLDAP
    Credential="{3DES}itnOzBVUKKxXTwrsE0931yGJo8kr/c/yoacbH+aqD78=" Name="cost"/>
    <SecurityConfiguration
    Credential="{3DES}UAu57FhReq0paDOgNlRBxIhitxG70lwKu8FLhEvrneZRBFWCPi0gViZCPB3Qx5h09H7cef7V6Y9MXlPAv9Zgx9lz/j2w8BXL"
    Name="cost" RealmBootStrapVersion="1"/>
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
    <FileRealm Name="wl_default_file_realm"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <JMSServer Name="WSStoreForwardInternalJMSServercostserver"
    Store="FileStore" Targets="costserver">
    <JMSQueue CreationTime="1153845019403"
    JNDIName="jms.internal.queue.WSStoreForwardQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuecostserver"/>
    <JMSQueue CreationTime="1153845019840"
    JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuecostserver"/>
    </JMSServer>
    <Application Name="cost" Path="H:\eclipse\workspace\cost"
    StagingMode="nostage" TwoPhase="true">
    <WebAppComponent Name="WebRoot" Targets="costserver" URI="WebRoot"/>
    </Application>
    </Domain>

    Hi Brian;
    From the error we see " http://server:7001/coolapp/messagebroker/amf'". It seems you are trying to access the flex app over https but access the backend remote servce via http.
    If that is the case, I have an old blog post that may help in that situation. http://blogs.adobe.com/lin/archives/2008/04/how_to_access_f.html
    If  that is not what you are trying to do, or your issue is more compilcated, please open a support case if you have a support contract.

  • DADs on WLS 11g (version 10.3.6.0) do not work (Error 404--Not Found)

    Actually we use Application Server 10g (version 10.1.2.3.0) for different Forms 10g Applications (roundabout 1000 Forms) and want to change to Forms 11g and Weblogic Server 11g (version 10.3.6.0). A Test-Application on the Weblogic Server works fine, but DAD’s do not work at all.
    In Enterprise Manager 10g i can configure DADs within the GUI of the Enterprise Manager, where i can see, if a connection could be established or not.
    In Enterprise Manager 11g Fusion Middleware Control this doesn't seem to exist anymore, so i tried to configure the DADs manually, but something has to be wrong or missing, because there is no connection to the database and the following error appears:
    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.
    I added several DAD’s to /opt/oracle/product/Middleware/asinst_1/config/OHS/ohs1/mod_plsql/dads.conf like this:
    <Location /pls/jd-download-dev>
    SetHandler pls_handler
    Order allow,deny
    Allow from All
    AllowOverride None
    PlsqlDatabaseUsername w_web_user_download
    PlsqlDatabasePassword @BWKChfgPacV6yQL40lIKZqXUUA9wC4cmAw==
    PlsqlDatabaseConnectString jddev TNSFormat
    PlsqlNLSLanguage German_Germany.WE8ISO8859P1
    PlsqlAuthenticationMode Basic
    PlsqlDefaultPage w_anwendung.p_web_show_document
    PlsqlAlwaysDescribeProcedure Off
    PlsqlErrorStyle DebugStyle
    </Location>
    The passwords were obfuscated with dadTool.pl and the http-Server restarted with /opt/oracle/product/Middleware/asinst_1/bin/opmnctl restartproc process-type=OHS
    The files /opt/oracle/product/Middleware/asinst_1/config/OHS/ohs1/mod_plsql.cache.conf and /opt/oracle/product/Middleware/asinst_1/config/OHS/ohs1/moduleconf.plsql.conf were left unchanged.
    Our Test-Application generates the following link
    'http://172.106.2.7:9001/pls/jddevdev/B_ARCHIVE.P_ARCHIVE_VIEW?docfid=200'
    that seems to be ok, because when i replace IP and port with our old IAS it works fine, but the WebLogic Server generates the above mentioned error.
    To get some more information i searched an error_log in /opt/oracle/product/Middleware/asinst_1/diagnostics/logs/OHS/ohs1 but there isn’t any.
    I used the following Documentation for configuring the DADs which is for HTTP Server 11g Release 1 (version 11.1.1), because I could not find one for version 10.3.6.0:
    http://docs.oracle.com/cd/E23943_01/web.1111/e10144/under_mods.htm#i1055269
    So probably there are differences between configuring version 10.3.6.0 and version 11.1.1 and so something is wrong configured or missing...
    Thank you in advance for your help
    Udo

    Hi Raj,
    it is a Sparc Solaris 10
    and yes that's my enviorment.
    After some more tests it's seems it's not a real bug but no realy nice working solution.
    Eclipse uses for all instances the same secure storage, where OEPE also saves the password.
    And if I look right the pasword was saved without the user context, so if you use an other user he takes the same password from the old user.
    and I doesn't know how do OEPE check the connection in reality or only reply the last failed login message.
    After deleting the complete secure storage and test it again with the juno version it works well.

  • Error While Login ADF Security Sample Application

    Hi All,
    Jdevloper Version : 11.1.1.5.0
    we are Creating ADF Login Application contains login.jspx and main.jspx pages.
    we define ADF Security on this Sample Application.
    when we provide valid credentials to login(username and password) it shows Error:
    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. 
    ManagedBean(BackingbeanScope) doLogin():
             public String doLogin() {
            String un = _userName;
            byte[] pw = _password.getBytes();
            FacesContext ctx = FacesContext.getCurrentInstance();
            HttpServletRequest request =(HttpServletRequest)ctx.getExternalContext().getRequest();
            try {
                Subject subject =Authentication.login(new URLCallbackHandler(un, pw));
                weblogic.servlet.security.ServletAuthentication.runAs(subject,request);
                String loginUrl = "/adfAuthentication?success_url=/faces/main.jspx";
                HttpServletResponse response =(HttpServletResponse)ctx.getExternalContext().getResponse();
                RequestDispatcher dispatcher =request.getRequestDispatcher(loginUrl);
         ctx.responseComplete();
        catch (FailedLoginException fle)
                    FacesMessage msg =new FacesMessage(FacesMessage.SEVERITY_ERROR, "Incorrect Username or Password", "An incorrect Username or Password was specified");
                    ctx.addMessage(null, msg);
            return null;
    In ADF Security We Define :
    User : admin1
    Enterprise Role  : ManagerGroup(added user admin1 to this EnterpriseRole)
    Application Role : Manager
    Resource Grants  : Resource Type : Web Page
                               login page
                              main  page -  Granted Role(Manager)
    jazn-data.xml file
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <jazn-data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/jazn-data-11_0.xsd">
      <jazn-realm default="jazn.com">
        <realm>
          <name>jazn.com</name>
          <users>
            <user>
              <name>admmin1</name>
              <display-name>admmin1</display-name>
              <credentials>{903}y2I4TDwMavn90VxJJfPfgxtBsRnF0qiaMoxzP93XF74=</credentials>
            </user>
          </users>
          <roles>
            <role>
              <name>ManagerGroup</name>
              <display-name>ManagerGroup</display-name>
              <members>
                <member>
                  <type>user</type>
                  <name>admmin1</name>
                </member>
              </members>
            </role>
          </roles>
        </realm>
      </jazn-realm>
      <policy-store>
        <applications>
          <application>
            <name>ADFLogin</name>
            <app-roles>
              <app-role>
                <name>Manager</name>
                <class>oracle.security.jps.service.policystore.ApplicationRole</class>
                <display-name>Manager</display-name>
                <members>
                  <member>
                    <name>ManagerGroup</name>
                    <class>oracle.security.jps.internal.core.principals.JpsXmlEnterpriseRoleImpl</class>
                  </member>
                </members>
              </app-role>
            </app-roles>
            <jazn-policy>
              <grant>
                <grantee>
                  <principals>
                    <principal>
                      <name>Manager</name>
                      <class>oracle.security.jps.service.policystore.ApplicationRole</class>
                    </principal>
                  </principals>
                </grantee>
                <permissions>
                  <permission>
                    <class>oracle.adf.share.security.authorization.RegionPermission</class>
                    <name>multiofonds.adf.common.view.pageDefs.mainPageDef</name>
                    <actions>view</actions>
                  </permission>
                </permissions>
              </grant>
            </jazn-policy>
          </application>
        </applications>
      </policy-store>
    </jazn-data>
    Please help us how to resolve it.
    Thanks,
    kumar

    A best practice in this situation is to check on a running sample e.g. Oracle ADF: Security for Everyone
    I guess your resource grants are not set correctly.
    Timo

  • No Images and Error 404 After Clean Install

    Hello folks, I was in the hope you could help me with a brand new and clean install of APEX on WebLogic, so here is the basics:
    WebLogic 10.3.6
    Jrockit 28.2.7
    Apex Listener:2.0.3.221.10.13.
    Apex 4.1.0.00.32
    DB Enterprise 11.2.0.3
    I just finished deploying WebLogic and the listener and I get 2 different errors:
    1- When I access the default page http://host:port/apex I receive the blank page without any images, but looking into the source I can see the APEX login source there,
    2- When I access any other URL I receive error 404 below.
    What I tried:
    1- Configure and deploy the i.war
    2- Configure the listener defaults
    3- Turned debug on
    4- Verified if the APEX_PUBLIC_USER account is open.
    Detail - There are no users for REST, I have skipped this step in configuration.
    Error 404 shown:
    Request Path passes syntax validation
    Mapping request to database pool: PoolMap [_poolName=apex, _regex=null, _workspaceIdentifier=null, _failed=false, _lastUpdate=-1, _template=null, _type=REGEX]
    Applied database connection info
    Attempting to process with PL/SQL Gateway
    ==== Processing Request: ====
    GET /apex/default.htm
    ==== Headers in Request ====
    Accept: */*
    Referer: http://hqw0cdt0rwla01.dev.pbgc.gov:8077/console/console.portal?_nfpb=true&_pageLabel=WebAppApplicationTestingPage&handle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Dapex%2CType%3DAppDeployment%22%29
    Accept-Language: en-US
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)
    Accept-Encoding: gzip, deflate
    Host: hqw0cdt0rwlm05.dev.pbgc.gov:7677
    Connection: Keep-Alive
    Cookie: ORA_WWV_USER_64727692400863=8A0CE01E4C4ADA12; s_vi=[CS]v1|28CFBB1E851D08FB-40000104A00168A1[CE]; __utma=260516940.1098765263.1375813699.1375813699.1375813699.1; __utmz=260516940.1375813699.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); s_pers=%20gpv_e11%3DMyPBA%2520Is%2520Down%2520for%2520Maintenance%7C1375815499520%3B
    ==== Cookies in Request ====
    ORA_WWV_USER_64727692400863 = 8A0CE01E4C4ADA12
    s_vi = [CS]v1|28CFBB1E851D08FB-40000104A00168A1[CE]
    __utma = 260516940.1098765263.1375813699.1375813699.1375813699.1
    __utmz = 260516940.1375813699.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
    s_pers = %20gpv_e11%3DMyPBA%2520Is%2520Down%2520for%2520Maintenance%7C1375815499520%3B
    isValidRequest(), procedure name:
    Validating: default.htm
    *** Total number of arguments: 0
    Procedure DENIED with Error code: 404
    ==== Request Processed ====
    Not processed as PL/SQL Gateway request
    Attempting to process as a RESTful Service
    Determining if request can be dispatched as a Tenanted RESTful Service
    Request path has one path segment, continuing processing
    No Tenant Principal established yet, continuing processing
    APEX_LISTENER pool does not exist, cannot dispatch
    Any help is greatly appreciated.
    Thank you in advance,
    Andre

    Jeff, tried as you recommended I have the files extracted to:
    /ora/Middleware1036/user_projects/applications/apex/apex
    and
    /ora/Middleware1036/user_projects/applications/apex/apex_list
    The apex.war and i.war files are under "/ora/Middleware1036/user_projects/applications/apex/apex_list"
    The configdir is set to "/ora/Middleware1036/user_projects/applications/apex/apex_list"
    the configuration files can be found under "/ora/Middleware1036/user_projects/applications/apex/apex_list/apex" and "/ora/Middleware1036/user_projects/applications/apex/apex_list/apex/conf" the directories where created by the command "java -jar apex.war setup".
    The images directory is set to "/ora/Middleware1036/user_projects/applications/apex/apex/images"
    I still get the same errors.
    Any other ideas on how to resolve this issue?
    Thank you in advance,
    Andre

  • Error 404: No target servlet configured for uri: +websphere 6.0

    My server is running properly, but I got Error 404: No target servlet configured for uri: error while launching my project on web sphere 6.0
    see my web.xml and strut-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    id="WebApp_ID"
    version="2.4"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
    <display-name>supportPortalWeb</display-name>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>validate</param-name>
    <param-value>true</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>OrganizationDataServlet</servlet-name>
    <servlet-class>com.harcourt.supportportal.web.OrganizationDataServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>OrderProcessingServlet</servlet-name>
    <servlet-class>com.harcourt.supportportal.web.ordermgmt.OrderProcessingServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>OrganizationValidationServlet</servlet-name>
    <servlet-class>com.harcourt.supportportal.web.OrganizationValidationServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>ProductValidationServlet</servlet-name>
    <servlet-class>com.harcourt.supportportal.web.ProductValidationServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>ProductGradeServlet</servlet-name>
    <servlet-class>com.harcourt.supportportal.web.ProductGradeServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>action_tmp</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>3</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>3</param-value>
    </init-param>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>OrganizationDataServlet</servlet-name>
    <url-pattern>/servlet/OrganizationDataServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>OrderProcessingServlet</servlet-name>
    <url-pattern>/servlet/OrderProcessingServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>OrganizationValidationServlet</servlet-name>
    <url-pattern>/servlet/OrganizationValidationServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ProductValidationServlet</servlet-name>
    <url-pattern>/servlet/ProductValidationServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ProductGradeServlet</servlet-name>
    <url-pattern>/servlet/ProductGradeServlet</url-pattern>
    </servlet-mapping>
    <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>/WEB-INF/spring-config/spring-config.xml</param-value>
    </context-param>
    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
    <jsp-config>
    <taglib>
    <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/WEB-INF/epc.tld</taglib-uri>
    <taglib-location>/WEB-INF/supportportal.tld</taglib-location>
    </taglib>
    </jsp-config>
    <resource-ref>
    <res-ref-name>jdbc/SupportPortalDataSource</res-ref-name>
    <res-type>java.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
         <!-- Data Sources -->
         <data-sources />
         <!-- Form Beans -->
         <form-beans>
              <form-bean name="signOnHandlerForm" type="com.harcourt.supportportal.struts.signon.actionform.SignOnHandlerForm" />
              <form-bean name="signOffHandlerForm" type="com.harcourt.supportportal.struts.signon.actionform.SignOffHandlerForm" />
              <form-bean name="updatePersonForm" type="com.harcourt.supportportal.struts.sample.actionform.UpdatePersonForm" />
              <form-bean name="searchPersonsForm" type="com.harcourt.supportportal.struts.sample.actionform.SearchPersonsForm" />
              <form-bean name="updateProductForm" type="com.harcourt.supportportal.struts.product.actionform.UpdateProductForm"/>
              <form-bean name="searchProductsForm" type="com.harcourt.supportportal.struts.product.actionform.SearchProductsForm"/>
              <form-bean name="searchOrganizationForm" type="com.harcourt.supportportal.struts.mdr.actionform.SearchOrganizationForm"/>
              <form-bean name="updateOrganizationForm" type="com.harcourt.supportportal.struts.mdr.actionform.UpdateOrganizationForm"/>
              <form-bean name="exportOrganizationForm" type="com.harcourt.supportportal.struts.mdr.actionform.ExportOrganizationForm"/>
              <form-bean name="exportProductForm" type="com.harcourt.supportportal.struts.product.actionform.ExportProductForm"/>           
         </form-beans>
         <!-- Global Exceptions -->
         <global-exceptions />
         <!-- Global Forwards -->
         <!-- Action Mappings -->
         <action-mappings type="org.apache.struts.config.SecureActionConfig">
              <action
                   path="/start"
                   type="org.apache.struts.actions.ForwardAction"
                   parameter="loginRendererDef"/>
    <!--          <action -->
    <!--               path="/product"-->
    <!--               type="org.apache.struts.actions.ForwardAction"-->
    <!--               parameter="productInputDef"/>-->
              <action path="/product" type="org.springframework.web.struts.DelegatingActionProxy"
                        name="updateProductForm" parameter="method" scope="request" validate="false">
                   <forward name="success" path="productInputDef"/>
                   <forward name="failure" path="productInputDef"/>
              </action>
    <!--          <action -->
    <!--               path="/organization"-->
    <!--               type="org.apache.struts.actions.ForwardAction"-->
    <!--               parameter="organizationIndexDef"/>-->
              <action
                   path="/report"
                   type="org.apache.struts.actions.ForwardAction"
                   parameter="reportIndexDef"/>
              <action
                   path="/user"
                   type="org.apache.struts.actions.ForwardAction"
                   parameter="userIndexDef"/>
              <action path="/login" type="org.springframework.web.struts.DelegatingActionProxy" name="signOnHandlerForm" scope="request" input="loginRendererDef" validate="true">
         <set-property property="secure" value="false"/>
              <forward name="success" path="loginLandingDef" />
              <forward name="failure" path="loginRendererDef" />
    </action>
    <!-- sample -->
         <action path="/updatePerson" type="org.springframework.web.struts.DelegatingActionProxy" name="updatePersonForm" scope="request" input="productInputDef" validate="true">
         <set-property property="secure" value="false"/>
              <forward name="success" path="personIndexDef" />
              <forward name="failure" path="personInputDef" />
    </action>
         <action path="/searchPersons"
                   type="org.springframework.web.struts.DelegatingActionProxy"
                   name="searchPersonsForm"
                   scope="request"
                   parameter="method"
                   validate="true">
         <set-property property="secure" value="false"/>
              <forward name="success" path="personIndexDef" />          
              <forward name="failure" path="loginRendererDef" />
    </action>
         <!-- end sample -->
         <action path="/updateProduct" type="org.springframework.web.struts.DelegatingActionProxy"
                   name="updateProductForm" parameter="method" scope="request" input="productInputDef" validate="true">
         <set-property property="secure" value="false"/>
              <forward name="success" path="loginLandingDef" />          
              <forward name="failure" path="/product.do?method=createOrUpdateProduct" />
    </action>
    <action path="/deleteProduct" type="org.springframework.web.struts.DelegatingActionProxy"
                   name="updateProductForm" parameter="method" scope="request" validate="false">
         <set-property property="secure" value="false"/>
              <forward name="success" path="loginLandingDef" />          
              <forward name="failure" path="/product.do?method=createOrUpdateProduct" />
    </action>
    <action path="/searchProducts"
                   type="org.springframework.web.struts.DelegatingActionProxy"
                   name="searchProductsForm"
                   scope="request"
                   parameter="method"
                   validate="true">
         <set-property property="secure" value="false"/>
              <forward name="success" path="productSearchDef" />
              <forward name="failure" path="loginLandingDef"/>
    </action>
    <action path="/loadProducts" type="org.springframework.web.struts.DelegatingActionProxy"
              name="searchProductsForm" parameter="method" scope="request" validate="true">
         <forward name="success" path="productIndexDef"/>
         <forward name="failure" path="userIndexDef"/>
    </action>
    <action path="/exportProduct" type="org.springframework.web.struts.DelegatingActionProxy"
              name="exportProductForm" parameter="method" scope="request" validate="true">
              <forward name="failure" path="loginLandingDef" />
    </action>
    <!-- Organization Actions -->
    <action path="/searchOrganization" type="org.springframework.web.struts.DelegatingActionProxy"
              name="searchOrganizationForm" parameter="method" scope="request" validate="true">
         <forward name="success" path="orgSearchDef"></forward>
         <forward name="failure" path="loginLandingDef"/>
         </action>
    <action path="/organization" type="org.springframework.web.struts.DelegatingActionProxy"
              name="updateOrganizationForm" parameter="method" scope="request" validate="false">
         <set-property property="secure" value="false"/>
              <forward name="success" path="orgInputDef" />          
              <forward name="failure" path="loginLandingDef" />
    </action>
    <action path="/loadOrganizations" type="org.springframework.web.struts.DelegatingActionProxy"
              name="searchOrganizationForm" parameter="method" scope="request" validate="true">
         <forward name="success" path="orgIndexDef" />          
              <forward name="failure" path="loginLandingDef" />
    </action>
    <action path="/updateOrganization" type="org.springframework.web.struts.DelegatingActionProxy"
              name="updateOrganizationForm" parameter="method" scope="request" input="orgInputDef" validate="true">
                   <forward name="success" path="/loadOrganizations.do?method=loadOrganizations"></forward>
                   <forward name="failure" path="/organization.do?method=createOrUpdateOrganization"/>               
              </action>
              <action path="/exportOrganization" type="org.springframework.web.struts.DelegatingActionProxy"
              name="exportOrganizationForm" parameter="method" scope="request" >
              <forward name="failure" path="loginLandingDef" />
    </action>
         </action-mappings>
         <!-- Register Support Portal RequestProcessor -->
         <controller>
              <set-property property="processorClass" value="com.harcourt.supportportal.struts.common.action.SupportPortalRequestProcessor" />
         </controller>
         <!-- Message Resources -->
         <message-resources parameter="com.harcourt.supportportal.resources.ApplicationResources" />
         <!-- tiles plugin -->
    <plug-in className="com.harcourt.supportportal.tiles.SupportPortalSecureTilesPlugin">
         <set-property property="definitions-config" value="/WEB-INF/tiles-def/tiles-defs.xml" />
         <set-property property="httpPort" value="80"/>
    <set-property property="httpsPort" value="80"/>      
    <set-property property="enable" value="false"/>      
    <set-property property="addSession" value="false"/>      
    </plug-in>
         <!-- spring plugin -->
         <plug-in className="org.springframework.web.struts.ContextLoaderPlugIn">
         <set-property property="contextConfigLocation" value="/WEB-INF/spring-config/spring-config.xml"/>
         </plug-in>
    </struts-config>

    If your EAR has actually started, try this:
    http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/xrun_jvm_sendredirect.html
    If you are not on z/OS, the link is actually under server->server infrastructure->Java and process management->environment entries
    for setting the property

  • UCM Log in error : Error 404--Not Found From RFC 2068 Hypertext Transfer Pr

    i am not able to get ucm login page , admin and manage server is up and there is no error in logs . but iam getting below error in login page
    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.

    Hi ,
    This is an indication that ECM cs.ear deployment has failed for some reason . To get the exact reason either check ucm_server1.log or start the server from command line and there the errors will be shown.
    Copy the core part and post it .
    Thanks
    srinath

  • Error 404 on editable page

    I and a colleague have successfully loaded and edited your
    demo (news_start.htm) example and are happy with the process.
    However on setting up a live site, on accessing the editable area
    with CTRL+E I keep getting the (custom) Error 404 page and cannot
    proceed
    The editable page is:
    http://www.andrewleestrust.org/links.htm
    and the (custom) error is generated by:
    http://www.andrewleestrust.org/includes/ice/ide.html#page=links.htm
    Any suggestions?

    Hello ClandonMan,
    It sounds like you're experiencing the same issue discussed
    in the
    Error
    Editing Page topic...
    Please take a look at the following Tech Note which discusses
    the issue:
    http://www.adobe.com/go/kb406749
    Error: "The operation could not be performed because a
    problem occurred while attempting to connect to the server" when
    trying to edit a page using Adobe InContext Editing
    Issue
    After successful login in InContext Editing or when
    navigating to a page in your website while the InContext Editing
    toolbar is displayed, you receive the error "404 File or Directory
    Not Found", or, depending on the server configuration, a custom
    error page is displayed instead.
    If you try to edit the page you will receive the following
    error message: "The operation could not be performed because a
    problem occurred while attempting to connect to the server. Please
    check your Internet connection and try again. For more details,
    please visit the InContext Editing Support Center".
    Reason
    InContext Editing requires the HEAD HTTP request method to be
    enabled and functioning properly for a registered web site.
    InContext Editing will not function properly if the HEAD HTTP
    request method is disabled or if it does not function properly.
    InContext Editing is using HEAD requests to check the
    existence of the draft and published versions of the current page.
    If those calls do not work as expected (the HEAD should return
    status code 200/304 if the checked page exists, 404 otherwise) then
    you will experience this behavior. In most cases the problem
    appears on web servers running IIS 6 or 7 with PHP installed as
    CGI, but this problem may occur with other server configurations as
    well.
    Solution
    Contact your web hosting provider for assistance. This may
    require changes in web server configuration.
    Best regards,
    Corey

  • Error 404 Not Found

    Hi,
    When i am opening an URL(http://hema-vaio:9704/analytics) in IE i'm getting Error 404 not Found some times and some times i'm getting analytics page.how to resolve this issue.

    Hi,
    Some times it may happen due to obiee 11g installation (simple/software only/enterprise ) due to JVM processor speed only. its still starting the Admin server/bi server still in progress please give some time.
    Note: Use JRockit 1.6.0_26 and above version 64bit along with OBIEE11g software only so this will not through like that kind of error. if u goes with simple option with jdk it may slowly starting bi server/admin server thats cause.
    if its not working kindly check the status of u r opmn server via command prompt
    D:\Oracle\Middleware\instances\instance1\bin\opmctl status
    D:\Oracle\Middleware\instances\instance1\bin\opmctl startall
    D:\Oracle\Middleware\instances\instance1\bin\opmctl stopall
    if any one services down make sure try to login to enterprise manager console and check what all services are down.restart it
    for some more ref:
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=1126761
    Thanks
    Deva
    Edited by: Devarasu on Mar 13, 2012 4:01 PM

  • The remote server returned an error: (404) Not Found.

    Hi All
    Now I try to deploy my SAP Portal Project it gives following error message "The remote server returned an error: (404) Not Found.". What is missing?
    Regards

    Hi,
    In order to check if those seetings are ok, do following:
    Open internet explorer (or another) browser and go to
    http://localhost:50000/irj
    You should get the Portal homepage with login screen.
    If you don't - then you have a problem with your local portal ( may be it is not running ).
    If you do - Login with username: administrator and
    password: abcd1234
    If you don't succeed to login, then you have a problem with your user( may be it does not exist ).
    Regards,
    Rima.

  • Protocol error: close rcvd twice

    Hi
    I have noticed lately that a "strange" error message appearing in my /var/adm/messages saying:
    root@kapttapp2 # tail -500 messages
    Jun 22 17:09:26 kapttapp2 sshd[13668]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
    root@kapttapp2 # tail -500 messages.0
    Jun 15 15:10:18 kapttapp2 sshd[953]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
    Jun 16 17:03:37 kapttapp2 sshd[15674]: [ID 800047 auth.error] error: channel 0:elp protocol error: close rcvd twice
    Jun 17 17:07:04 kapttapp2 sshd[392]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
    Jun 18 17:08:34 kapttapp2 sshd[16643]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
    Jun 21 08:46:35 kapttapp2 sshd[28911]: [ID 800047 auth.error] error: channel 0: protocol error: close rcvd twice
    Please how can i remove this error.
    Please help me
    Thank in advance

    hi everyone,
    Could you please take a look at the following code?.
    I'm having some trouble with it. The problem is the
    following: I have to access to the code of a web page
    in order to perform different actions depending on it
    content, but in order to get to that page firs I have
    to login the server. [...]Hi,
    I have similar work to domaybe that helps or not, I cannot tell up to now because I haven't tested it yet already.
    Have a look at the static function java.net.Autheticator.setDefault(java.net.Autheticator); as far as I have understood this function does install a fixed object providing HTTP accesses with a user/password pair. I tried it, and it works to fetch a password protected WEB page. I don't know what happens after that, if new pages are correctly authentified or not.

  • Error 404 for EM not found in browser..

    Hi all,
    We have this test environment installed Oracle DB 11.2.0.1.0 in Red Hat Enterprise Linux Server release 6.1, we cloned it to move it to another server. EM is functioning well but after the migration, EM reports this error
    "404 Not Found
    Resource /em/console/database/home not found on this server"
    I deconfig the emca, and reconfig it again. I even checked the listener configuration and it seems fine..
    When I issue the command "emctl status dbconsole", it outputs:
    emctl status dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
    https://localhost:1158/em/console/aboutApplication
    Oracle Enterprise Manager 11g is running.
    It says that it's running..
    But when I'm trying to access the EM in my remote browser "https://10.0.0.1:1158/em" it keeps me giving this error:
    "404 Not Found
    Resource /em not found on this server"
    and when i issue just the command "https://10.0.0.1:1158" without the EM, it gives me J2EE page..
    Thanks in advance if you could help me..
    Cheers,
    Kaye
    Edited by: Kaye Chow on Mar 22, 2012 10:48 PM

    Hi,
    Try to remove/rename the login keychain file that is stored
    on your current user profile. Restart the system with the CD/DVD install disk in the unit and press and hold the 'C' key to boot off of the media and run disk utility to make sure permissions are verified and fixed. Hope that helps.

Maybe you are looking for