on 05-22-2006 8:58 AM
Hi all,
I would like to change the 500 internal error page to my own html page.
Does onyone have any sample or HOWTO ?
Thanks
Amity
Hi Amity,
you can create your own error page: http://help.sap.com/saphelp_nw2004s/helpdata/en/5e/05a5421935c511e10000000a1550b0/frameset.htm
Regards, Heidi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any updates on this ?? I am also planning on changing this message for all apps....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai amit,
go to Visual Administrator, expand nodes
Server / Service / Web Container and select Web Container / "sap.com/tcwddispwda" / "webdynpro/dispatcher" application. Select the application and now click "View" at right side. Then go to "Pages" tab in applications properties.
regards,
charan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, I have the same problem and tried your procedure, but without success.
In Visual Admin I added a page /500.jsp - Error - 500. The entry is shown in web.xml. The jsp is a simple TEST line.
Then I created a file in /tcwddispwda/servlet_jsp/webdynpro/dispatcher/root. When I reload the WD application, I get an empty screen instead of the error 500, but not the TEST content. What is wrong with my procedure?
The server throws an exception in WDR.log:
Error in dispatching request to servlet [/500.jsp]
BR Joerg
Hi There
I'm looking for a solution in the same case.
Now my Error-Page is working, if its on the root and in the servlet-jsp environment (like /docs or /webdynpro/resources).
-When I'm accessing a not aviable webdynpro then theres just a normal "The page cannot be displayed" Message from the InternetExplorer. (and even not the SAP-Error Page!)
-When I'm starting a "errornous" webdynpro there's still the old SAP-Error Msg
I've changed the global-web.xml into the Configuration Adapter/cluster_data/server/persistent/servlet_jsp and added the following Rules:
<error-page>
<error-code>404</error-code>
<location>/error/index.jsp</location>
</error-page>
<error-page>
<error-code>503</error-code>
<location>/error/index.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/error/index.jsp</location>
</error-page>
In the server.1.log i found a Message like that:
com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: Error while invoking the error page.
With filemon (sysinternals-tool) i try to find out which file is searched from the j2ee while accessing the webdynpro- but there isn't any file (Perhaps everything in the cache?)! The java.exe searches nothing.
But when im going to a wrong URL (into the root) for example http://localhost:50100/asdfgh then i see that the jlaunch.exe goes to the com.sap.engine.docs.examples\servlet_jsp\_default\root Folder!
How can i configure, that the webdynpro-application uses the same Error-Page like the others? And which error-Page does the webdynpro use now?
Regards Marco
Hi there,
I've had a reply from Chris W. and a developer from SAP. Unfortunately it is not possible in NW04 or NW04s to have custom error pages for webdynpro.
This is because WD applications are not treated as true servlet objects and the WD container is different from a regular Java WebContainer. Thus the error handling for WD is hardwired into the framework.
A solution to this is planned to be available for NW07 (the so-called "next major release" that will try to make everything better). If possible they will then consider to make a down-port to NW04 maybe.
Regards,
Manuel
Hi,
I've tried to change the Web.xml under
"C:\usr\sap\EPD\JC00\j2ee\cluster\server0\apps\sap.com\tcwddispwda\servlet_jsp\webdynpro\dispatcher\root\WEB-INF"
I restart the server and the error page is still the same.
What am I doing wrong ? Is there other web.xml or general web.xml for the EP ?
Amity
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I need to custom the error page in J2EE server and not in ABAP.
Thanks
Amity
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.