404 Resource Not Found In UWL for Display Request in Travel Management
Hi Team,
Issue regarding Uwl in Travel Management.In Mss inbox when approver clicks on display form for travel request its throwing error like 404 resource not found.
i have check all uwl iview properties like list actions to be excluded and Xml code etc.
Regards,
Venkat.
Hi Venkat
I hope you are well and many thanks for using the discussion forums .
In relation to the scenario that you have described you mentioned that:
Once a user (via the MSS Inbox) clicks on the display form for travel request you are encountering a 404 resource not found error.
Ok so the first means of analysis is to ensure the UWL Destination Service Configuration is setup and maintained accordingly. Kindly review and consult the documentation below carefully.
SAP Note: 1133821 - UWL Destination Service configuration
After ensuring the destination(s) are setup accordingly and if the issue persists kindly restart the UWL service and clear the UWL cache to see if that resolves the issue.
In the destination configuration kindly ensure there are no discrepancies or misconfigurations.
Now have you navigated to your current connector setup and viewed the status columns to see if there are any exceptions appearing?
Lastly kindly check if the URL being called (at the request page) is correct.
Kindly update me as per your findings.
Kind Regards & All The Best
Troy Cronin - Enterprise Portal Support Engineer
Similar Messages
-
Well this morning I woke up to see that my site hosted on Windows Azure was producing 50X errors and in general being incredibly slow (up to 60 seconds response time).
Now after looking through the DetailedErrors folder I see that the error received is:
HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
I tried creating a new test website and host it and guess what? I receive the exact same error here as well.
What could be causing this?hi,
Do you use windows azure website in Europe ? According to azure dashboard shown,
Some customers may experience intermittent time out errors or slow response when accessing their web sites. Please see this image:
And now, you could try it again.
If I misunderstand, 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. -
404 Application Not Found:Failed to process the request
Hello
We are facing below dump issue on our SAP Netweaver CE EHP1 as Java system (DEV System). But its not coming frequently.
when refresh the url then loging screen coming again.
OS - Windows Server 2008 R2
Database - MS SQL Server 2008
404 Application Not Found SAP NetWeaver Application Server/Java AS
Failed to process the request: Request refers to an unknown session
Correction Hints
The request refers to a session that doesn't exist. Reasons might be one of the following: a) Wrong URL is used to request the application (i.e. there might be a typo in the URL). b) Request with wrong parameters is sent by the client (might also indicate an unfriendly attack). c) Request belongs to a session that expired already some time ago and is no longer traced on the server. If the problem persists, record the HTTP traffic to analyse the causing requests.
Note: The above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.Hello Asish,
Could you please check the follwing link if it is helpful!!
http://wiki.sdn.sap.com/wiki/display/JSTSG/%28JSTSG%29%28Web%29Problems-P203
The requested resource does not exist -
So I'm debugging my application when I suddenly start getting this error:
No resource found (404)
The requested URL /content/adeparchitecture-debug/adeparchitecture.html resulted in an error in org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet.
Request Progress:
0 (2011-08-31 13:25:37) TIMER_START{Request Processing}
0 (2011-08-31 13:25:37) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>
0 (2011-08-31 13:25:37) LOG Method=GET, PathInfo=/content/adeparchitecture-debug/adeparchitecture.html
1 (2011-08-31 13:25:37) TIMER_START{ResourceResolution}
3 (2011-08-31 13:25:37) TIMER_END{2,ResourceResolution} URI=/content/adeparchitecture-debug/adeparchitecture.html resolves to Resource=NonExistingResource, path=/content/adeparchitecture-debug/adeparchitecture.html
3 (2011-08-31 13:25:37) LOG Resource Path Info: SlingRequestPathInfo: path='/content/adeparchitecture-debug/adeparchitecture.html', selectorString='null', extension='html', suffix='null'
3 (2011-08-31 13:25:37) TIMER_START{ServletResolution}
3 (2011-08-31 13:25:37) TIMER_START{resolveServlet(NonExistingResource, path=/content/adeparchitecture-debug/adeparchitecture.html)}
4 (2011-08-31 13:25:37) TIMER_END{1,resolveServlet(NonExistingResource, path=/content/adeparchitecture-debug/adeparchitecture.html)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet
4 (2011-08-31 13:25:37) TIMER_END{1,ServletResolution} URI=/content/adeparchitecture-debug/adeparchitecture.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet
4 (2011-08-31 13:25:37) LOG Applying Requestfilters
4 (2011-08-31 13:25:37) LOG Calling filter: org.apache.sling.security.impl.ReferrerFilter
4 (2011-08-31 13:25:37) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
4 (2011-08-31 13:25:37) LOG Calling filter: com.adobe.ep.taskmanagement.task.service.FormsRedirect
4 (2011-08-31 13:25:37) LOG Calling filter: com.adobe.aes.aesop.j2ee.impl.UserTransactionCleanupFilter
4 (2011-08-31 13:25:37) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
4 (2011-08-31 13:25:37) LOG Calling filter: com.adobe.livecycle.crx.security.SpringSecurityBridgeFilter
4 (2011-08-31 13:25:37) LOG Calling filter: com.adobe.livecycle.content.sling.impl.ResourceResolverFilter
4 (2011-08-31 13:25:37) LOG Calling filter: com.adobe.livecycle.content.appcontext.impl.AppContextFilter
4 (2011-08-31 13:25:37) TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
5 (2011-08-31 13:25:37) TIMER_END{1,org.apache.sling.servlets.get.DefaultGetServlet#0}
5 (2011-08-31 13:25:37) TIMER_START{handleError:status=404}
6 (2011-08-31 13:25:37) TIMER_END{1,handleError:status=404} Using handler org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet
6 (2011-08-31 13:25:37) TIMER_END{6,Request Processing} Dumping SlingRequestProgressTracker Entries
Any idea what could be causing it? I just started happening, I didn't do anything to cause it or change anything on the server.Did a clean on the project and it started launching again.
-
this is the complete error I get. I just installed firefox so that I can use this feature and now it is useless.
Error Summary
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
Detailed Error Information
Module StaticFileModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070032
Requested URL http://www.refworks.com:80/refgrabit/install.xpi
Physical Path E:\RefGrabIt\install.xpi
Logon Method Anonymous
Logon User Anonymous
Failed Request Tracing Log Directory C:\inetpub\logs\FailedReqLogFiles
Most likely causes:
It is possible that a handler mapping is missing. By default, the static file handler processes all content.
The feature you are trying to use may not be installed.
The appropriate MIME map is not enabled for the Web site or application. (Warning: Do not create a MIME map for content that users should not download, such as .ASPX pages or .config files.)
If ASP.NET is not installed.
Things you can try:
In system.webServer/handlers:
Ensure that the expected handler for the current page is mapped.
Pay extra attention to preconditions (for example, runtimeVersion, pipelineMode, bitness) and compare them to the settings for your application pool.
Pay extra attention to typographical errors in the expected handler line.
Please verify that the feature you are trying to use is installed.
Verify that the MIME map is enabled or add the MIME map for the Web site using the command-line tool appcmd.exe.
To set a MIME type, use the following syntax: %SystemRoot%\windows\system32\inetsrv\appcmd set config /section:staticContent /+[fileExtension='string',mimeType='string']
The variable fileExtension string is the file name extension and the variable mimeType string is the file type description.
For example, to add a MIME map for a file which has the extension ".xyz": appcmd set config /section:staticContent /+[fileExtension='.xyz',mimeType='text/plain']
Warning: Ensure that this MIME mapping is needed for your Web server before adding it to the list. Configuration files such as .CONFIG or dynamic scripting pages such as .ASP or .ASPX, should not be downloaded directly and should always be processed through a handler. Other files such as database files or those used to store configuration, like .XML or .MDF, are sometimes used to store configuration information. Determine if clients can download these file types before enabling them.
Install ASP.NET.
Create a tracing rule to track failed requests for this HTTP status code. For more information about creating a tracing rule for failed requests, click here.
Links and More Information This error occurs when the file extension of the requested URL is for a MIME type that is not configured on the server. You can add a MIME type for the file extension for files that are not dynamic scripting pages, database, or configuration files. Process those file types using a handler. You should not allows direct downloads of dynamic scripting pages, database or configuration files.
View more information »That file might have moved to a different location on the server. I think you'll need to check with RefWorks support or your local IT department on why the install page links do not work.
-
Error: Resource not found in FilterOptionCollection. Please help
Hi Experts,
I'm currently implementing Approve Requests at a customer.
I've got the service TASKPROCESSING pointing to ERP_WF. I can see the catalog SAP_FND_TC_TX1 and I've created a tile, pointing to my scenario as defined in the netweaver gateway.
When I go to launchpad the reference error message is displayed.
Details on the word file.
Error Resource not found Filter Option Collection - Approve Requests.docx - Google Drive
Thanks in advance!Thank you Andre,
We finally solved it. I post the correction for future reference.
The problem was solved by changing the configuration on the assignment of the data provider to the data model.
ZTM_TGW_SVC_MODEL_0001_BE software version was DEFAULT, when it should've been /IWPGW/BWF.
The route in SPRO is: SAP Netweaver->Gateway>OData Channel>Administration>General Settings> Assign Data Provider to Data Model. -
I am not able to go to the facebook site. www.facebook.com is not working. I get the following error message. 404 Error - Not Found
The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request, or the file is not accessible in the requested directory. Please verify that:
* You have used the proper case; requests ARE case-sensitive!
* You have entered the URL correctly. (i.e. proper directory/filename)
* You used the FULL URL. (i.e. proper file type: .html, .gif , .jpg, etc.)
* You use a tilde (~) before user directories. (i.e. www.furcen.org/~jurann/ )
* The user/file still exists on this server.
I also get redirected to "Busca Google" when typing www.facebook.com in the address bar.
== URL of affected sites ==
http://facebook.com; buscagoogle.comI have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?
-
While running servlets getting errors 404 or 505 resource not found
Hi all,
I'm novice to J2EE.
I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
when i access my web application by specifying the proper server and port no and context root it is showing
either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
Now let me elaborate what i've done till now.
My webapplication folder structure is : C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\classes\Sai\ServExamp.class
My servlet is ServExamp.java
I created a folder called "Suresh". In that folder created another folder called "WEB-INF". In WEB-INF created a folder called "Classes".
Since my servlet is in package "Sai", the .class file reside in \Suresh\WEB-INF\Classes\Sai\ServExamp.class
The source code is :
package Sai;
import javax.servlet.;*
import javax.servlet.http.;*
import java.io.;*
public class ServExamp extends HttpServlet
public void doPost(HttpServletRequest req,HttpServletResponse res)throws IOException
PrintWriter out=res.getWriter();
java.util.Date today=new java.util.Date();
out.println("<html>"+"<body>"+
*"<h1 align=center>HF\'s Chapter1 Servlet </h1>"*
+"<br>"+today+"</body>"+"</html>");
Now i'm almost done creating a web application. Next, I constructed a simple web.xml descriptor that gives a web friendly name for my servlet, and points to the servlet. I constructed web.xml descriptor file in the WEB-INF folder (C:\bea\user_projects\domains\mydomain\applications\Suresh\WEB-INF\).
The web.xml file source is :
*<!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>Hello World Web Application</display-name>*
*<description>Test Servlet</description>*
*<servlet>*
*<servlet-name>ServExamp</servlet-name>*
*<servlet-class>Sai.ServExamp</servlet-class>*
*</servlet>*
*<servlet-mapping>*
*<servlet-name>ServExamp</servlet-name>*
*<url-pattern>/Suresh</url-pattern>*
*</servlet-mapping>*
*</web-app>*
Now I have told Weblogic that the URI /Suresh corresponds to my servlet "Sai.ServExamp".
My Web Application is ready to be deployed at this point. I logged onto Weblogic's admin console,
*1) clicked on deployments, then navigated to "Web Application Modules" .*
*2) Clicked "Deploy new Web Application Module"*
*3) Navigated to the location of your web application folder (Suresh). There was a radio button next to it indicating that I can select that folder as a valid web application.*
*4) I Clicked that radio button and clicked "Target Module".*
*5) It informed that my web application "Suresh" will be deployed to myServer.It asked a name for my web application deployment. By default it was "Suresh"*
I clicked Deploy.
*6) After deployment, my web application "Suresh" appeared in the "Web Application Modules" tree on the left.*
I Clicked on "Suresh"( my web application) then clicked the testing tab, then clicked the link shown there(http://localhost:7001/Suresh-2).
It was not showing my servlet (showed a 403 error)
Error - 403
This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
I think so it came b'coz I don't have an index.html or index.jsp page.
*7)Instead,I added my servlet on to the URL it provided.*
http://localhost:7001/Suresh-2/Suresh
It is showing these error code: Http: 505 resource not allowed
The page cannot be displayed
The page you are looking for cannot be displayed because the address is incorrect.
Please try the following:
If you typed the page address in the Address bar, check that it is entered correctly.
Open the localhost:7001 home page and then look for links to the information you want.
Click Search to look for information on the Internet.
when i just type : http://localhost:7001/ -> Error 404 not found error
it's showing
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 want to run my web application & any help would be appreciated.
Thanks in advance.
with regards,
S.SayeeNarayanan.
Note: I even deployed my war file, which i got by execution of (jar cv0f webapp.war . ) command from the root directory of my web application i.e. Suresh
Then executed my webapplication it is showing
error-505 resource not allowed.
--------------------------------------------------------------------------------------------nammathamizhan wrote:
Hi all,
I'm novice to J2EE.
You're also a novice to this forum.
First, turn off the bold font.
Second, post your question once and only once to a single forum. You only waited an hour before reposting your question. That's not the way this works. Asking your question multiple times will not increase the likelihood that you''ll get an answer. As a matter of fact, you're guaranteed nothing at all. Give it your best effort and hope for success. This isn't a paid consultancy - we're volunteers.
I've encountered a problem while accessing the deployed module in weblogic 8.1 server.
I'm sure that the webapplication module is deployed as i saw my module in administration console & also the status said that it is deployed.
when i access my web application by specifying the proper server and port no and context root it is showing
either 505 - resource not found error(http://localhost:7001/Suresh-2/Suresh) or 404 - not found error.( http://localhost:7001/Suresh-2/Suresh)
If you're correct, and it's deployed, that would suggest that the URL you gave is incorrect.
>
Now let me elaborate what i've done till now.Good info - almost too much.
% -
When I type in a URL in the address bar, for example http://www.LinkedIn.com sometimes I am forced to Yahoo!.com and an error is displayed:
Yahoo! 404 Page not found
Sorry, the page you were looking for could not be found
Showing related results for: http://websearch.ask.com/redirect?client=ff&src=kw&tb=FW...Under "Tools" on your Firefox browser, select Add-Ons. On the Add-Ons page, select the Extensions tab. Scroll through the list until you find the Yahoo toolbar add-on. Disable, and then remove the add-on. I've had no problems since I did this earlier this evening. Easy fix!
-
Need some help, I was downloading an album when the message "could not complete itunes store request, requested resource not found." "Error in the itunes store please try again later." My account has been deducted for the amount of the album, but I dont have it downloaded on my computer. Please help!!! Thank you!!!
Does the purchases show in your Purchased list?
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"? Ones with a green checkmark are solved.
Next contact iTunes by:
Contact iTunes -
WL6.1 : Get '404 : File not found' for all WARs
I had some web applications deployed which were running perfectly. Now suddenly
, I get '404 - File not found' for any URL - including the server root, i.e. http://localhost/
I was able to access admin console using http://localhost/console. I checked the
config of each application & couldn't find anything wrong.
Finally I had to re-deploy the WARs to get some applications running.
However, I am still unable to get the Default Web App running - the one handling
server root path.. (I've checked the server config & it shows DefaultWebApp as
the default application).
Any pointers on what could be wrong / correction needed ?
TIA,
SubodhCreate a subdirectory called 'classes' and copy your servlet class file
to the 'classes' dir.
mydomain/applications/
DefaultWebApp/
WEB-INF/classes.
Modify the web.xml file located in the mydomain/applications/
DefaultWebApp/
WEB-INF/ directory
<web-app>
<servlet>
<servlet-name>
myServlet
</servlet-name>
<servlet-class>
package.name.myServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>
myServlet
</servlet-name>
<url-pattern>
servlet-url-pattern
</url-pattern>
</servlet-mapping>
</web-app>
Start the default WebLogic Server.
Call your servlet from a Web browser with the following URL:
http://localhost:port/servlet-url-pattern
servlet-url-pattern is the value of the <url-pattern> element that you
defined in the web.xml file.
prakash wrote:
> Hi everybody ,I have this web app on weblogic 7 .The application
> works file with Tomcat 4.0 but on WebLogic server 7,I am getting
> 404 not found for all the servlets ,although weblogic is serving
> the html files without any problems
-
I am sorry if thie is republished-My first time doing this and I am not sure what goes where and where to hear feedback.
Have published iweb site for five years with no problems and just opened a new site and get -
404: Page not found
This error is generated when there was no web page with the name you specified at the web site.-
Troubleshooting suggestions:
Ensure the page you are linking to exists in the correct folder.
Check your file name for case sensitivity . Index.htm is not the same as index.htm!
Temporarily disable any rewrite rules by renaming your .htaccess file if it exists
is the problem with
iweb or with hosting?
One Apple tech started to fix Iweb and had to end session and the next said problem with hosting at Network Solutions as it published
to local folder. NWS has checked sttting a few times-
Any help would be extremely appreciated as trying to fix this for about five weeks
Thanks VG
<Email Edited by Host>It's a really bad idea to post your email address - it's an invitation to spam - and I've asked the Hosts to remove it. (Even though I've now noticed you mis-spelled it! - anyway, never post your address in a forum.)
You have a site here: http://virginiagordon.com/www.virginiagordon.com/WELCOME.html
If that's not the page you are having trouble with, what is that page's URL? -
Outlook for mac, message HTTP error resource not found 18596
outlook for mac, message HTTP error resource not found 18596 really strange and outlook is connected and as soon as you send a mail you suddenly get the message, really annoying actually, seems to be an old problem!!!
Help appreciated!!!!!!!!Same probelm any suggestions ????
-
HTTP server code 404 reason Not Found explanation Not Found
Hi all
I am facing this error "HTTP server code 404 reason Not Found explanation Not Found" during a asynchronous xml message sent to a buisiness service
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
<SAP:P1>404</SAP:P1>
<SAP:P2>Not Found</SAP:P2>
<SAP:P3>Not Found</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP server code 404 reason Not Found explanation Not Found</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
could you provide an explanation on this error.Hi
Go through this
Error: 404 Not Found
Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. 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. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
Possible Tips:- for HTTP_RESP_STATUS_CODE_NOT_OK 404
404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
**********Reward points if usefulll.********** -
404 File not Found error trying servlet under https
Hi,
This is the first time that I've had to work with SSL. I have a servlet that worked fine under regular http. I had to implement SSL and run my site over https. When I try to access my servlet under HTTPS, I get the 404 File not found error. Is there something that I need to setup for servlets to run under SSL in apache or server.xml? or Do I need to modify my JSP and Servlet code?
I call my servlet from my JSP on the action method of the form like such:
* JSP call to servlet
<form action="https://www.benefitserver.com:8081/FDFServlet" method="post">
* Servlet code
import javax.servlet.*;
import javax.servlet.http.*;
import javax.net.ssl.*;
import java.io.*;
import java.util.*;
import com.yoursummit.benefitserver.*;
import com.adobe.fdf.*;
import com.adobe.fdf.exceptions.*;
public class FDFServlet extends HttpServlet
private static final String CONTENT_TYPE = "text/html";
private String fileout = "";
//Initialize global variables
public void init() throws ServletException
System.setProperty("java.protocol.handler.pkgs","sun.net.ssl.internal.www.protocol");
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
//Process the HTTP Get request
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost( request, response);
//Process the HTTP Post request
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
String planID = request.getParameter("planID");
String empID = request.getParameter("empID");
HttpSession session = request.getSession();
try {
FDFDoc outputFDF = null;
/* Create a new FDF. */
outputFDF = new FDFDoc();
// Set the form fields with values from the database
if ( planID.equalsIgnoreCase("31") )
formDeltaPopulation formDP = new formDeltaPopulation();
fileout = formDP.populateDeltaForm( outputFDF, planID, empID, request );
if (planID.equalsIgnoreCase("29") )
formUnicarePopulation formUC = new formUnicarePopulation();
fileout = formUC.populateUnicareForm( outputFDF, planID, empID, request );
if (planID.equalsIgnoreCase("30") || planID.equalsIgnoreCase("32") || planID.equalsIgnoreCase("33") || planID.equalsIgnoreCase("34") || planID.equalsIgnoreCase("35"))
formSunLifePopulation formSL = new formSunLifePopulation();
fileout = formSL.populateSunLifeForm( outputFDF, planID, empID, request );
response.sendRedirect(com.yoursummit.utils.urlRewrite.getServletURL(request,"emp_main.jsp?empID=" + empID));
} catch(FDFException fdfe) {
/* We handle an error by emitting an html header */
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("Caught FDF exception");
out.println(fdfe.toString());
fdfe.printStackTrace(out);
IOException e = new IOException ( fdfe.getMessage() );
throw e;
catch(IOException ioe) {
/* We handle an error by emitting an html header */
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("Caught FDF exception");
out.println(ioe.toString());
ioe.printStackTrace(out);
throw ioe;
catch(Exception e) {
/* We handle an error by emitting an html header */
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("Caught tomcatDB exception");
out.println(e.toString());
e.printStackTrace(out);
IOException ioe = new IOException ( e.getMessage() );
throw ioe;
//Clean up resources
public void destroy()
}I have been told that there is problem with my configuration of Tomcat. I have followed the documentation found at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
and it doesn't work. I have been working on this for a week now and can't seem to get it to work. Can someone please take a look at it and tell me what I am doing wrong? THANKS!
I get "HTTP 404 - File not Found" with the URL https://www.benefitserver.com/FDFServlet
I get "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request" with the URL https://www.benefitserver.com/servlet/FDFServlet
I've looked at the log files for Apache and I don't see any errors listed. No errors logged in the Tomcat log file either.
* httpd.conf
## Include line for mod_jk.so (Jakarta-Tomcat installation)
#Include /usr/home/summimps/usr/local/jakarta/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
JkWorkersFile /usr/home/summimps/usr/tomcat4.1.24/conf/worker.properties
JkLogFile /usr/home/summimps/var/log/mod_jk.log
JkLogLevel info
#JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
#JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
#JkRequestLogFormat "%w %V %T"
JkMount /*.jsp benefitserver
JkMount /solarc/*.jsp benefitserver
JkMount /servlet/* ajp13
JkMount /solarc/servlet/* ajp13
# Should mod_jk send SSL information to Tomcat (default is On)
#JkExtractSSL On
# What is the indicator for SSL (default is HTTPS)
JkHTTPSIndicator HTTPS
# What is the indicator for SSL session (default is SSL_SESSION_ID)
JkSESSIONIndicator SSL_SESSION_ID
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
JkCIPHERIndicator SSL_CIPHER
# What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
JkCERTSIndicator SSL_CLIENT_CERT
<Directory />
AllowOverride None
</Directory>
<Directory "/usr/tomcat4.1.24/webapps/ROOT">
Options Indexes
<IfDefine SSL>
SSLRequireSSL
SSLOptions +StdEnvVars +ExportCertData +StrictRequire
SSLVerifyClient require
SSLVerifyDepth 1
</IfDefine>
</Directory>
<VirtualHost benefitserver.com www.benefitserver.com>
SSLRequireSSL
ServerName benefitserver.com
ServerAdmin [email protected]
DocumentRoot /usr/local/etc/httpd/htdocs/benefitserver
TransferLog /usr/local/etc/httpd/logs/bsAccess_log
ErrorLog /usr/local/etc/httpd/logs/bsError_log
</VirtualHost>
* server.xml
<?xml version='1.0' encoding='utf-8'?>
<Server className="org.apache.catalina.core.StandardServer" debug="0" port="8006" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
<GlobalNamingResources>
</GlobalNamingResources>
<Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
redirectPort="8443" bufferSize="2048" port="8081" connectionTimeout="20000" scheme="https" enableLookups="true" secure="true" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" debug="0" disableUploadTimeout="true" maxKeepAliveRequests="100" proxyPort="0" tcpNoDelay="true" minProcessors="5" maxProcessors="75" acceptCount="100" useURIValidationHack="false" connectionLinger="-1" compression="off">
<Factory className="org.apache.catalina.net.SSLServerSocketFactory" keystoreFile="//.keystore" keystoreType="JKS" algorithm="SunX509" clientAuth="false" protocol="TLS"/>
</Connector>
<Engine className="org.apache.catalina.core.StandardEngine" mapperClass="org.apache.catalina.core.StandardEngineMapper" debug="0" defaultHost="localhost" name="Standalone">
<Host className="org.apache.catalina.core.StandardHost" appBase="webapps" liveDeploy="true" mapperClass="org.apache.catalina.core.StandardHostMapper" autoDeploy="true" configClass="org.apache.catalina.startup.ContextConfig" errorReportValveClass="org.apache.catalina.valves.ErrorReportValve" debug="9" deployXML="true" contextClass="org.apache.catalina.core.StandardContext" unpackWARs="true" name="localhost">
<Context className="org.apache.catalina.core.StandardContext" crossContext="false" reloadable="false" mapperClass="org.apache.catalina.core.StandardContextMapper" useNaming="true" debug="0" swallowOutput="false" privileged="false" displayName="Welcome to Tomcat" wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="/usr/tomcat4.1.24/webapps/ROOT" cookies="true" path="" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper">
<Environment name="uploadUrl" override="true" type="java.lang.String" description="URL to display uploaded file in Benefit Server" value="http://www.benefitserver.com:8081/bsup"/>
<Environment name="exportPath" override="true" type="java.lang.String" description="Export Path for Benefit Server Export Utility" value="/usr/tomcat4.1.24/webapps/ROOT/bsex"/>
<Environment name="uploadPath" override="true" type="java.lang.String" description="Upload Path for Benefit Server" value="/usr/tomcat4.1.24/webapps/ROOT/bsup/"/>
<Environment name="tempPath" override="true" type="java.lang.String" description="Temporary Directory for File Upload in Benefit Server - Developm" value="/usr/home/summimps/tmp/benefitserver"/>
<Resource name="BS_Data" type="javax.sql.DataSource" scope="Shareable"/>
<ResourceParams name="BS_Mail">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
<ResourceParams name="BS_Data">
<parameter>
<name>url</name>
<value>jdbc:mysql://localhost/BS_Data</value>
</parameter>
<parameter>
<name>password</name>
<value>kdsusa1350</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>50</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.mysql.jdbc.Driver</value>
</parameter>
<parameter>
<name>username</name>
<value>summimps</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>5</value>
</parameter>
</ResourceParams>
</Context>
<Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="localhost_log." directory="logs" timestamp="true" suffix=".txt"/>
</Host>
<Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="catalina_log." directory="logs" timestamp="true" suffix=".txt"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" resourceName="UserDatabase" validate="true"/>
</Engine>
</Service>
</Server>
* web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!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>FDFServlet</servlet-name>
<servlet-class>FDFServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FDFServlet</servlet-name>
<url-pattern>/FDFServlet</url-pattern>
</servlet-mapping>
</web-app>
Maybe you are looking for
-
Hi All, We have recently installed Service Pack 4 In SharePoint 2003 I,e SPS 2.0 , we ran the stsadm upgrade command from the Command Prompt , since 5 days the upgrading the sites windows showing and does it completes or not or is there some thing
-
Fieldname and tablename for the purchase order ( deliverd or not )
hi, how to find out whether the purchase order is delivered or not, (whats table, whats fieldname) please tell its urgent points assured
-
Safari 5 Crashes on Launch for Users With Network Homes
I have just upgraded 2 Macs to Safari 5, on both machines it crashes immediately on lauch when the users (who have networked home directories) launch the app. A test local user can run Safari 5 with no problems. The Internet Plug-Ins directory for us
-
Getting remote control 438483-001 to work in Windows 7
I have recently upgrade from Vista to Windows 7 premium (clean install). Now my remote control which came with my dv9770ea laptop (P/N 438483-001) does not work. Batteries checked, the remote's green light flashes when pushing a button, AND when usi
-
FV50-- Editing Option Error "Enter a valid value" Message 00002
Hello FI experts, An user is trying to execute a tcode FV50 and clicking "Editing Options" to make changes to "Doc.Type option" from "Document type hidden" to "Enter with short name" under " Special functions for single screen transactions" section.