Sitemap.xml 404 error
I recently had to change the domain name on my site. It was set up with google apps and webmaster tools, and everything was working great. The sitemap indexed my pages, and it was easy. I added a new domain name, and I have the old one forwarding to the new one. Everything seems to be working fine. The forwards work, and the page works great, but I keep getting a 404 page not found error when I try submitting the new sitemap.xml to google. WHAT IS THE DEAL? The support people on the chat thing can't seem to help me. They told me they would resubmit and it would work in 24 hours. It never worked. It's been like 6 days. I don't think anything is changing. Has anyone had this problem? Any way to work around it. If I can't get my sitemap submitted, I can't optimize my search results, and my page is useless to me. HELP!
Because the domain is not acting line a website, its just a forward. It is void of content, it has no content, it is just pointing to your new domain and that is what has the sitemap.
You already have this:
http://www.crabtreedermatology.com/sitemap.xml
And as you add content this updates every night.
Your also changing what say in nearly every post first you talk about old domain and your new domain sitemap is fine, then you saying the new one is not working when it is.
In terms of old information you have to give google time to understand you changed domain and wait for it to filter out the results. You can not just change a sites domain like you have an have instant results. It does not work like that.
You can set up webmaster tools for the new domain, add the sitemap.xml for the new domain (not the old one) and then allow google to crawl and then you can deny urls and control what google reads and knows from there.
Similar Messages
-
Handling 404 error through web.xml
In my application i made the following entry in web.xml:
<error-page>
<error-code>404</error-code>
<location>/error.jspx</location>
</error-page>
error.jspx is a jspx file and exist in the public_html folder and has following entry:
<f:view>
<af:document id="d1">
<af:form id="f1">
<af:outputText value="Hello There error occured" id="ot_11" />
</af:form>
</af:document>
</f:view>
when a 404 occurs in the application, i am getting following application in the log:
<[ServletContext@3806419[app:j2ee-app module:retailer path:/retailer spec-version:2.5]] error-page location: "/error.jspx" for the error-code: "404" does not exist. Serving the default error page.>
Any suggestion what to do next?on more thing,
404 errors are handled by web.xml using following:
<error-page>
<error-code>404</error-code>
<location>/login/404errorPage404.html</location>
</error-page>
but in case of 500 errors or nullpointers i treid a no of options, but neither one worked:
<error-page>
<error-code>500</error-code>
<location>/login/500errorPage500.html</location>
</error-page>
<error-page>
<exception-type>javax.el.ELException</exception-type>
<location>/login/500errorPage500.html</location>
</error-page>
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/login/500errorPage500.html</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/login/500errorPage500.html</location>
</error-page>
Any advise? -
Errors when submitting sitemap.xml to Webmasters.
When I submit my sitemap.xml to Google Websmasters it says there is an error for every one of my pages. It says there that this url is not allowed. i submitted "the-domain-name".com/sitemap.xml
Does anyone know why this is happening?
Thanks alot!
RussHello Russ,
Try this format:
http://"the-domain-name".com/sitemap.xml
Cheers
Parikshit -
Sitemap.xml is not up-to-date
I was browsing in webmaster tools and I noticed that there was an alert that Google was experiencing crawl errors on my site. I noticed that the crawl errors were 404 page not found and that the pages were old pages that have expired or are disabled. Then I looked at the sitemap.xml and noticed that they are still in the feed. Is there a way to update the sitemap.xml so that it updates/regenerates? It looks to me that new pages are being added to the sitemap.xml file but expired and disabled pages are not being removed. Thanks!
Thanks Liam. I took a copy of sitemap.xml off the site and copied it to the root of the site via FTP. How long before I can delete the file so that the system regenerates? Or did I do this right at all?
Plus, since my site is always changing, I'm guessing that I have to do this periodically. -
Not able to run my first Servlet..... 404 error!!!
Hi,
I am new to Java.
I am trying to create a small servlet application. I am using Tomcat 5.5 server and eclipse for this.
I have first writtern a HTML form which on submission is redirected to a servlet that displays the information submitted. but i am not able to evn open the html file through browser, i am getting 404 error.
My html codes and Servlet codes are inside the htmlform package...
When i type http://localhost:8080/htmlform/form.html i am gettig 404 error... Also let me know if any thing is wrong with the codes...
Here is my code...
form.html
<html>
<head>
<title> This is a HTML page </title>
</head>
<body>
<p><h3>This page displays a submission form</h3></p>
<form method="GET" action="/htmlform/LoginServlet">
<p> USERNAME: <input type="text" name="username"/> </p>
<p> PASSWORD: <input type="password" name="password" /> </p>
<p> <input type="submit" value="Press Me" name="submit"/> </p>
</form>
</body>
</html>
LoginServlet.java
package htmlform;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class LoginServlet extends HttpServlet{
private static final long serialVersionUID = 1L;
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html");
PrintWriter pw = response.getWriter();
String username = request.getParameter("username");
String password = request.getParameter("password");
pw.println("<html><head><title>This is the out put page</title></head");
pw.println("<body><h2>If you can see this page then your form is cleanly processed</h2><br>");
pw.println("<h2>Congratulations!!!</h2>");
pw.println("<p>Your user name is: "+ username+ "</p>");
pw.println("<p>Your password is: "+ password + "</p>");
pw.println("<br></body></html>");
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>
<servlet>
<servlet-name>Login</servlet-name>
<servlet-class>LoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Login</servlet-name>
<url-pattern>/login</url-pattern>
</servlet-mapping>
</web-app>
Thanks in advanceyou might have other problems, but I think the action attribute in your HTML form is incorrect.
You have:
<form method="GET" action="/htmlform/LoginServlet">Your web.xml says:
<servlet-mapping>
<servlet-name>Login</servlet-name>
<url-pattern>/login</url-pattern>
</servlet-mapping>So I think you should change the action like this:
<form method="GET" action="/htmlform/login">Your servlet's not in a package, and you might not be deploying it correctly (god forbid you added this to /ROOT), but try that first.
% -
404 error while invoking servlet in weblogic 6.0
Hi,
When I try to invoke a servlet from weblogic 6.0, I am getting
404 error. I have copied the HelloWorldServlet class into defaultWebAppl_Server/WEB_INF/CLASSES
directory and when I invoke the HelloWorldservlet, its giving file
not found(404) error. I am doing exactly what has been given in
the "quick start to servlets" in weblogic 6.0. I am using Windows
NT.
I have also another problem when I use java utils.dbping to test
the connection to my oracle8.1.8, its giving licence file not found.
Could some one help me out from this.
Thanks in advance,
Ramu
Hi kumar,
I have been keep trying to solve that. After some time Suddenly
"Error 404" disappeared and instead "Error 500" came. Okay kumar,
here is what I am doing...
I have installed weblogic6.0(eval), oracle 8.1.6 on Windows NT4.0.
I have installed oracle Enterprise edition from CD "ORACLE 8.1.6
for NT".
I installed the weblogic under D: drive.
I did class path settings as given in documentation. But Iam not
sure whether I need to do any other class path settings.
I was able to run pet store application given in weblogic server.
I went to "quick start" section and ran HelloWorld.jsp page from
"DefaultWebApp_myServer" directory.
I was not able to run servlet program as per given in the "quick
start". I am getting
"Error 500---Internal server error"
The server encountered an unexpected condition which prevented
it from fulfilling the request"
I have modified the web.xml under WEB-INF of DefaultWebApp_myServer
as per given in the quick start.
Here is the quick start link For you reference(as what I talking
about)
http://edocs.beasys.com/wls/docs60/quickstart/quick_start.html
In the web.xml, I have given <servlet-class> as just HelloWorldServlet,
since I directly copied the file from some other examples directory.
But still I am getting 500 error.
Here is the url that I am invoking...Http://ramup:7001/quickStartServlet
Coming to your oracle connection test, I did exactly what you said.
kumar, I have executed the command
"D:\bea\wlserver6.0\config\mydomain>java -classpath %classpath%;D:\bea
utils.dbping ORACLE
>scott tiger TestDB"
Where TestDB is the database that I have created while installing,
but I am not aware of the instance you said.
Here is what I got after executing the command.
--------*******-------Pasting the ms-dos command results----**-
// This mode is superior, especially in serverside classes because
// it avoids DriverManager calls are class synchronized, and will
// bottleneck any other JDBC in the server, even already-running
// connections, because all JDBC drivers use DriverManager.println()
// to log info and exceptions, and that call is also class synchronized.
// For repeated connecting, a single driver instance can be re-used.
**** or ****
Class.forName("weblogic.jdbc.oci.Driver").newInstance();
java.sql.Connection conn =
DriverManager.getConnection("jdbc:weblogic:oracle:TestDB", "scott",
"tiger")
**** or ****
java.util.Properties props = new java.util.Properties();
props.put("user", "scott");
props.put("password", "tiger");
props.put("server", "TestDB");
Class.forName("weblogic.jdbc.oci.Driver").newInstance();
java.sql.Connection conn =
DriverManager.getConnection("jdbc:weblogic:oracle", props);
D:\bea\wlserver6.0\config\mydomain>
--------*******-------Pasting the ms-dos command results----**-
I think I have connection to database, thanks for your suggestion.
Kumar, I have not seen weblogic.properties file any where in D:\bea
directory.
Kumar, if you have some time can you jot down the classpath settings
and path settings for executing SERVLETS/EJB programs.
Thanks for helping me out..,
Ramu
Kumar Allamraju <[email protected]> wrote:
>Assuming you registered the helloworld servlet in web.xml,
>could you show me the url
>that you typed in the browser window? :)
>
>
>Regarding the dbping problem, make sure license.bea is
>in the classpath
>
>ie.. java -classpath %classpath%;D:\bea utils.dbping ORACLE
>scott tiger [instance-name]
>
>PS: I'm assuming WLS is installed in D:\bea directory.
>
>--
>Kumar
>
>
>Ramu wrote:
>
>> Hi,
>>
>> When I try to invoke a servlet from weblogic 6.0, I
>am getting
>> 404 error. I have copied the HelloWorldServlet class
>into defaultWebAppl_Server/WEB_INF/CLASSES
>> directory and when I invoke the HelloWorldservlet, its
>giving file
>> not found(404) error. I am doing exactly what has been
>given in
>> the "quick start to servlets" in weblogic 6.0. I am
>using Windows
>> NT.
>>
>> I have also another problem when I use java utils.dbping
>to test
>> the connection to my oracle8.1.8, its giving licence
>file not found.
>>
>> Could some one help me out from this.
>>
>> Thanks in advance,
>> Ramu
>
-
404 error while accessing the blob in cdn
Hi Team,
I have a public container where I store my blob via code.
I am able to access the item from the container via tha blob url. But when I try to access the blob via CDN I get the 404-Not found error.
I have set up the CDN 3 days back.
When I was using the Free trial it was working fine.But when I created the new strorage/container and CDN endpoint with my Visual Studio premium subscription I am getting this issue.
The endpoint and the quertystring are enabled.Do I need to pay for CDN, I don't think this should be the case.
Please help me out on this.
My CDN endpoint is - http://az678809.vo.msecnd.net/
Eg: My blob url - http://chiprocontainer.blob.core.windows.net/sitecorecontainer/Images/Destination/San%20Fran%20GG%20Bridge.jpghi,
How did you set your container permission as "public"?
I suggest you could add this setting permission code into your container:
CloudBlobContainer container = blobClient.GetContainerReference("mycontainer");
container.CreateIfNotExist();
// Create a permission policy to set the public access setting for the container.
BlobContainerPermissions containerPermissions = new BlobContainerPermissions();
containerPermissions.PublicAccess = BlobContainerPublicAccessType.Container;
//Set the permission policy on the container.
container.SetPermissions(containerPermissions);
About above code, I suggest you could refer to this docs(http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.storage.blob.blobcontainerpublicaccesstype.aspx
At the same time, I used the Fiddler and Azure Storage Explore to reproduce this issue:
1. I create a container named "img" and upload an image
2.And set the security property in Azure Storage Explore as Public container. I could visit the CDN endpoint successfully.
GET http://az678259.vo.msecnd.net/img/test/det/4.jpg HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US,en;q=0.8,zh-Hans-CN;q=0.5,zh-Hans;q=0.3
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
Accept-Encoding: gzip, deflate, peerdist
Host: az678259.vo.msecnd.net
If-Modified-Since: Wed, 22 Oct 2014 05:32:35 GMT
If-None-Match: 0x8D1BBD0B814C51A
DNT: 1
Connection: Keep-Alive
Pragma: no-cache
X-P2P-PeerDist: Version=1.1
X-P2P-PeerDistEx: MinContentInformation=1.0, MaxContentInformation=1.0
But I visit your CDN endpoints, I got the 404 error:
GET http://az678809.vo.msecnd.net/sitecorecontainer/Images/Destination/San%20Fran%20GG%20Bridge.jpg HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US,en;q=0.8,zh-Hans-CN;q=0.5,zh-Hans;q=0.3
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko
Accept-Encoding: gzip, deflate, peerdist
Host: az678809.vo.msecnd.net
DNT: 1
Connection: Keep-Alive
X-P2P-PeerDist: Version=1.1
After I changed the container permission, I could get the 404 error in my test container. So I suggest you could set the container permission firstly.
Any questions about this issue, please let me know.
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Deploying BOE XI 3.1 SP2 apps on SAP NW J2EE 7.0/7.11 - 404 Error
Hi,
I'm experiencing problems with opening InfoView + Cmc after deploying to SAP J2EE. What happens is that I can open up the URLs and the page is displayed with the logo, header etc., but instead of the login box I get a 404 error - "ressource can not be found"
We have tried the following scenarios:
- BOE XI 3.1 SP2 deployed on a separate application server (SAP J2EE 7.11) - This gives the above error
- BOE XI 3.1 SP2 deployed on a separate application server (SAP J2EE 7.0) - This gives the above error
- BOE XI 3.1 deployed on a separate application server (the same SAP J2EE 7.0 as above) - This does NOT give the error - everything works fine.
So somehow it seems like the SP2 deployment files does not work properly (or I am doing something wrong).
Any ideas?
Thanks in advance,
JacobHi Jacob,
please take a look at the release notes of SP2 ([http://service.sap.com/releasenotes]). There is a case where the deployment of SAP.war ( and of crystalreports.war ) on SAP Netweaver 7.1 can fail. You have to edit the related web.xml file manually as described below:
ADAPT01190939: SAP Integration: Deploying SAP
web applications to Netweaver 7.1
When a user tries to deploy SAP web applications to SAP Netweaver7.1,
they may find that SAP.war does not deploy successfully using either wdeploy
or the deploy script supplied by SAP Netweaver7.1.
To resolve this issue, use the following steps:
1. Go to <Business Objects install directory>\Business Objects
Enterprise 12.0\java\applications.
2. Backup your SAP.war file.
3. Open SAP.war with Win RAR.
4. Navigate to the WEB-INF folder within Win RAR.
5. Copy the web.xml file to your desktop.
6. Open web.xml in a text editor (Notepad for example).
7. Search for u201C$u201D character and delete it.
8. Save the file.
9. Copy the web.xml you edited back into Win RARu2019s explorer. A dialog will
open asking if you wish to replace the existing web.xml file.
10. Click OK.
11. Save the SAP.war file and close Win RAR.
Users can now deploy the SAP.war file using wdeploy or the deploy script
supplied by SAP Netweaver 7.1.
Regards,
Stratos
Edited by: Efstratios Karaivazoglou on Sep 26, 2009 10:35 AM -
Here's a strange one.
I've successfully deployed a test application
with welcome-file-list directive as the only
entry (besides required ?xml and DOCTYPE headers).
When I attempt to access my page e.g., http://myMachine:port/testApp, the URL
changes to read http://myMachine:port/testApp/welcome.htm as expected
but I get 404 errors saying the page cannot be found.
Web.xml successfully passes my XML parser so I don't think
that is the problem.
Any ideas?
Thanks,
TC YoungHi.
What's the layout of your webapp directory structure? More to the point,
your welcome.htm file should be in the root directory of your webapp. Can
you confirm this is where you have it?
Also, please post the relevant bits of your web.xml file here.
Thanks,
Michael
TC Young wrote:
My apologies.
I'm running WL 6.1 on Solaris 2.6.
The weblogic logs do not mention any 'Resource not found'
exceptions.
Thanks.
"TC Young" <[email protected]> wrote:
Here's a strange one.
I've successfully deployed a test application
with welcome-file-list directive as the only
entry (besides required ?xml and DOCTYPE headers).
When I attempt to access my page e.g., http://myMachine:port/testApp,
the URL
changes to read http://myMachine:port/testApp/welcome.htm as expected
but I get 404 errors saying the page cannot be found.
Web.xml successfully passes my XML parser so I don't think
that is the problem.
Any ideas?
Thanks,
TC Young
Michael Young
Developer Relations Engineer
BEA Support -
Hello,
When I was running my JSF application through the embeded Tomcat 6.0.18 server in Netbeans 6.5.1 all worked fine. After deploying the *.WAR file to the stand alone Tomcat 6.0.18 server I get a 404 error when I access the jsf pages. The default page at http://localhost:8080 work fine and so does the servlet in the same webapp as my jsfs. I tried downloading the JSF & JSTL frameworks and placing the contents of their lib directory into TOMCATHOME/lib and restarted the server - no effect
Pls Help ! Thnx
(URL im using to access one of the jsf pages is http://localhost:8080/LUIDManager/LUID_Config_List.jsf)
Here is my web.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>initServlet</servlet-name>
<servlet-class>Servlets.initServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>initServlet</servlet-name>
<url-pattern>/initServlet</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>forwardToJSF.jsp</welcome-file>
</welcome-file-list>
<resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/luidregistry</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</web-app>Edited by: paulchwd on Apr 15, 2009 5:01 PMThnx for your reply. Not sure what Faclets are. I added the JSF 1.2 framework from Netbeans into my project. I am also an idiot :)
The links the servlet generates to take me to the JSFs had a typo - wrong port #
Thnx for the help -
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. -
HTTP Status 404 error -- The requested resource is not available.
Hi ,
i am trying to run a sample struts2 program using java1.5 , tomcat5.5 but getting the error ...
* The requested resource (/Struts2Sample/) is not available.*
i am listing my files below.. kindly help...
web.xml -----------------
<?xml version="1.0"?>
<!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>Struts2Sample</display-name>
<filter>
<filter-name>struts</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>home</servlet-name>
<jsp-file>HelloWorld.jsp</jsp-file>
</servlet>
<servlet-mapping>
<servlet-name>home</servlet-name>
<url-pattern>/home</url-pattern>
</servlet-mapping>
</web-app>
struts.xml ---------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<package name="example" extends="struts-default" namespace="/">
<action name="HelloWorld" class="example.HelloWorld">
<result>/HelloWorld.jsp</result>
</action>
</package>
</struts>
HelloWorld.jsp ----------------------
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<title>Struts 2 Hello World Application!</title>
</head>
<body>
<h2><s:property value="message" /></h2>
<p>Current date and time is: <b><s:property value="currentTime" /></b>
</body>
</html>
ExampleSupport.java ---------------------------
package example;
import com.opensymphony.xwork2.ActionSupport;
* Base Action class for the Tutorial package.
public class ExampleSupport extends ActionSupport {
HelloWorld.java --------------------
package example;
public class HelloWorld extends ExampleSupport {
public String execute() throws Exception {
setMessage(getText(MESSAGE));
return SUCCESS;
* Provide default valuie for Message property.
public static final String MESSAGE = "HelloWorld.message";
* Field for Message property.
private String message;
* Return Message property.
* @return Message property
public String getMessage() {
return message;
* Set Message property.
* @param message Text to display on HelloWorld page.
public void setMessage(String message) {
this.message = message;
My directory structure ....
D:\tomcat5.5\webapps\Struts2Sample ---- this has my jsp file.
D:\tomcat5.5\webapps\Struts2Sample\src\example ---- this has both java source files..
D:\tomcat5.5\webapps\Struts2Sample\WEB-INF\classes\example ---- this has compiled class files
D:\tomcat5.5\webapps\Struts2Sample\WEB-INF\classes ---- this has my struts.xml file
D:\tomcat5.5\webapps\Struts2Sample\WEB-INF\lib ---- this has all my jars..
D:\tomcat5.5\webapps\Struts2Sample\WEB-INF --- this has my web.xml file
kindly let me know i am making mistakes if any...
i am using url as : http://localhost:8080/Struts2Sample/
Thanks,
NadsHi ,
when iam trying to deploy struts 2 application iam getting 404 error. in tomcat 5.5.23
if u got the solution pls help me
regards
srini -
ClientAbortError on 404 error page
Hi
I have a custom 404 JSP page that gets loaded every time resource is not found.
I tested this on our development server and it was working great. After redeploying to production server
I am getting the following error
[#|2004-06-24T09:13:33.186-0400|SEVERE|sun-appserver-pe8.0|javax.enterprise.system.container.web|_ThreadID=16;|org.apache.catalina.core.StandardHostValve@128ed5f: Exception Processing ErrorPage[errorCode=404, location=/error404.jsp]
ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
The dev and production servers are the same hardware and software configuration and the web.xml has the following entry in it.
<error-page>
<error-code>404</error-code>
<location>/error404.jsp</location>
</error-page>
The exception now gets thrown on any and every page request regardless if it is found or not.
The weird thing about it that it does not affect anything else.
I am stopmed on this one .... Please helpWhat server and version are you using? Have you tried rebooting the appserver to see if that clears your problem?
-
Ive tried to link my podcast page in various place like feedburner, when I put my rss they all tell me there is a 404 error, but my link is working! what does it means?
http://web.mac.com/preacherallanrich/iWeb/Preacher%20Allan%20Rich/Radio%20%28pod cast%29/Radio%20%28podcast%29.html
http://rss.mac.com/preacherallanrich/iWeb/Preacher%20Allan%20Rich/Radio%20%28pod cast%29/rss.xml
G4 Mac OS X (10.4.7)A 404 error means that the server wasn't able to find the requested page.
Reload web page(s) and bypass the cache.
* Press and hold Shift and left-click the Reload button.
* Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
* Press "Cmd + Shift + R" (MAC)
Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
* Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
* Tools > Options > Privacy > Cookies: "Show Cookies" -
I have researched all the postings about WebAccess and 404 errors with no resolution to my issue. I have a Windows 2003 server for use with WebAccess 7 and I am getting 404 errors when trying to access http://<server>/gw/webacc. Not sure what else to try.
Any suggestions would be greatly appreciated.On 12/16/2009 6:46 AM, cfratto wrote:
>
> QUOTE=mikebell90;1905616]On 12/15/2009 6:16 PM, cfratto wrote:
>>
>> I have researched all the postings about WebAccess and 404 errors
> with
>> no resolution to my issue. I have a Windows 2003 server for use
> with
>> WebAccess 7 and I am getting 404 errors when trying to access
>> http://<server>/gw/webacc. Not sure what else to try.
>>
>> Any suggestions would be greatly appreciated.
>>
>>
> Check if tomcat is running. If it is look up tomcat.apache.org, study
> server.xml and learn bout the http connector for tomcat. Test the http
> connector. If that works, by passing IIS, then it is either IIS or the
> ISAPI_redirector. Test IIS. Then read tomcat.apache.org on the ISAPI
> connector and test. There is a debug mode. Turn it on.
>
>
> Tomcat is running. I can browse to the IP address of the server and I
> get the Tomcat page. This is a new installation and has never worked.
> What can I look at within the IIS/Tomcat config to determine if it is
> configured correctly?
>
>
Can you use the tomcat http port (normally 8080) to connect to tomcat or
the connector? Check the tomcat/logs directory for interesting errors
Maybe you are looking for
-
my ipad won"t turn off. there is a small window with an email text in it and it appears frozen on the screen. How can i turn the ipad off?
-
Ok i work at a military base and there were iPod touch's given out to some units and I have found one and would like to return it but don't know the owner so is there a way to track a name with the serial number? Or how can I find out who owns it?
-
Difference in Data Sources in BW3.5 and BI7.0
Hi Experts, what is the difference between BW3.5 Data Source and BI 7.0 Data Sources <removed by moderator> Regards Vijay Edited by: Siegfried Szameitat on Nov 12, 2008 3:27 PM
-
Transfer: early 2008 Macbook to new Macbook Pro Retina. Which cable?
Which cable do I use for a transfer between these two? I want to use Migration Assistant.
-
CENVAT utilization by Manual Journal Entry
Hi All, Can anybody explain me the process of cenvat utilization by passing Manual Journal Entry. Please reply fast Regards, Abhishek