Issues Viewing i/themes/ directory under HTTP DAD PLS.

Hey Everyone,
I don't know if I'm explaining this 100% correctly, but try to bear with me. We have an APEX application at work that from up until now has run on port 8080 with the remote access listener enabled. My superior set up a pls gateway of somesort threw the Enterprise Manager to allow access to APEX through port 7778.
However, our problem is, when you go to our APEX application through the 7778 address, anything in the i/themes/ folder gets denied permission, and hense images and javascript files in our theme folder do not open.
Does anybody have any experience in this issue?

Did you follow the [install guide|http://download.oracle.com/docs/cd/E14373_01/install.32/e13366/toc.htm] for configuring a DAD? It details how to copy images and create an alias for them. If that does not resolve the issue, please list the steps in the install guide that you have completed.
Tyler Muth
http://tylermuth.wordpress.com
[Applied Oracle Security: Developing Secure Database and Middleware Environments|http://sn.im/aos.book]

Similar Messages

  • How to view all directory under project directory.

    I'm eclipse user and want to try JDeveloper. The performance of JDeveloper was good and the debugger was much better. But I have some problem with the Navigator view of JDeveloper.
    I can only see directory under "Java Content" and "Resources". Under the project directory, I have some other directory like log, doc and images, which should not been copied to target folder. If I add them to "Java Content" or "Resources" I will see them, but they will been copied to target folder, which is not what I want.
    Can I see them without add them to "Java Content" or "Resources"?
    Regards

    Hi gurus,
    I think this looks like a bug :(
    Pay attention: user574665 apparently means not to add a Resource path in addition to (or instead of) the default one.
    This (at least with me) works properly.
    What really doesn't work is when you having one Resource path try to specify a list of subfolders to be included.
    The content of those subfolders will then be copied to the output directory.
    Funny is that when you have more than one Resource path it also works fine!
    Hi user574665, try to get a workaround out of this hint :)
    Regards,
    alexandre.

  • How much will Apple charge me for selling magazine for Free in Multi-issue viewer?

    Hi Guys, especially to the two Bobs,
    I would like to know, here's the situation:
    Let's say I have a Multi-issue Viewer, and I sell magazine issue for free, How much does Apple gonna charge me?
    Please help and share your advice.
    Thank you.

    To conclude:
    Apple's financial aspects are based on two parts:
    1. A yearly payment, NOT for "development" (that's also free) but for access to their store(s). Everyone can register as a developer, download most tools for free, and develop until they drop. But putting stuff up on the store, requires that $99 fee per year. Note: the publisher (responsible for the content) is the one who legally needs to set up an account and pay this fee.
    2. A 30% margin on anything you sell and handle through the Apple store directly or through an in-app purchase, even if it's not physically distributed by Apple. A "free" app or download is still considered a "purchase" but 30% of nothing is still nothing.
    Adobe's financial plan is a threefold choice:
    1. For Single Editions, it's a one-time payment by credit card ($395) - no additional contract or download fees.
    2. For Professional Editions, a fee for your platform contract (on a monthly or yearly basis), plus a fee per download, depending on your contract type and chosen bundle (ranging from 12 to 30 cents). You can develop and distribute all kinds of Single and Multi Folio apps, and even produce them under "Agency" conditions, which means you're allowed to handle others their publications.
    3. For Enterprise Editions: call an Adobe representative...

  • My wife and I decided to both buy Iphones do I put them both under the same apple ID, or do I create two different apple ID's and two differnt icloud accounts?

    My wife and I decided to both buy Iphones do I put them both under the same apple ID, or do I create two different apple ID's and two differnt icloud accounts? We want to be able to share my itunes library on both our phones and sync our calendars, but I don't want every update and reminder that my wife puts in her phone and I know she doesn't want every reminder I put in my phone.

    What you need to do is both use the same Apple ID for iTunes content, but separate Apple ID's for everything else. So, you keep your existing Apple ID. If not a verifiable email address, you will need to create a new Apple ID for yourself. You also create an Apple ID for your wife, again a verifiable email address. You use the existing Apple ID for all iTunes content. The new Apple ID's for iCloud, iMessage, FaceTime, etc. Here's how to create an Apple ID:
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/wa/createAppleId?loca lang=en_US
    Use multiple devices on one computer:
    http://support.apple.com/kb/HT1495

  • 404 Error on 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
    #DocumentRoot /usr/local/jakarta/jakarta-tomcat-3.2.3/webapps/benefitserver
    </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>
        <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" redirectPort="8443" bufferSize="2048" port="8010" connectionTimeout="0" scheme="http" enableLookups="true" secure="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" debug="0" disableUploadTimeout="false" maxKeepAliveRequests="100" proxyPort="0" tcpNoDelay="true" minProcessors="5" maxProcessors="75" acceptCount="10" useURIValidationHack="false" connectionLinger="-1" compression="off">
          <Factory className="org.apache.catalina.net.DefaultServerSocketFactory"/>
        </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="true"
              mapperClass="org.apache.catalina.core.StandardContextMapper"
              useNaming="true"
              debug="0"
              swallowOutput="false"
              privileged="false"
              displayName="Welcome to BenefitServer"
              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>
          </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>
    * 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>

  • Trouble getting the default  user directory under Windows XP

    I m trying to get the default user directory under windows XP SP3.
    To do so, I'm using
    System.getProperty("user.home");
    I was expecting to get a path like "C:\Documents and Settings\user", nstead of that I get "C:\Documents and Settings\user\Destop".
    I checked the %USERPROFILE% and %HOMEPATH% window's environment variables and both of them are correctly set ( set to "C:\Documents and Settings\user").
    Is there any way to get the right path other than using : System.setProperty("user.home", "C:\\Documents and Settings\\user"); ?

    Thanks WalterLaan,
    The System.getenv("USERPROFILE") method will, at least, fix the problem under win XP.
    I guess i'll have to write a more refined method to be able to deploy my application under differents OSes.
    Regards.

  • I have a fujifilm X100, at first there were no issues viewing my RAW photos but now all of a sudden the pictures come up as "unsupported image format"

    I have a fujifilm X100, at first there were no issues viewing my RAW photos but now all of a sudden the pictures come up as "unsupported image format".  How do I fix this?

    No, I did not do any updates between the time that the files were viewable and when they were not.  I was actually without an internet connection for a few days when the problem started.  I reported the bug to apple and have since been contacted by them asking for a few sample images so they can figure out the problem, so I'm hoping they come up with an answer for me.

  • Upload images or use direct link to theme directory ?

    Hello,
    I work with APEX 3.2 and Oracle 10g r2, on Windows XP.
    I use my own CSS file, uploaded using Shared Components > Cascading Style Sheets > Create+, I added the link in the header section of the desired templates.
    I want to define an image as "background-image" in my CSS file, but my images were uploaded using Shared Components > Images > Create+, so I have to use #WORKSPACE_IMAGES# but it's impossible in the CSS file !
    Do i have to modify the template directly like that :
    *<div style="background-image:url(#WORKSPACE_IMAGES#header.png)\></div\>*
    or should I use direct links to my theme directory in my CSS file like that :
    *#headerstyle{background-image:url(header.png)}*
    For the moment I use the first solution, both work but I want to know which one is better, for me it would be better to have a separate file with all the CSS, whithout any CSS in the code. Nevertheless I think it's better to upload images instead of store them in the theme directory, no ?
    Thanks.
    Yann.

    Hope it will be fixed in next versions ![It seems unlikely|http://forums.oracle.com/forums/thread.jspa?messageID=3932244]
    If you are making extensive use of CSS, creating custom themes etc and you have access to the web server file system then the best approach is to move all CSS and images there (but using a different directory structure from that supplied by APEX).
    If just making minor customisations, or you are restricted to workspace repository storage, then CSS rules referencing #WORKSPACE_IMAGES# or #APP_IMAGES# need to go into the page HTML Header or page template.

  • Creating directory under specific schema

    What is the syntax to create a directory under a specific schema?
    Here is what I've tried and I get an error:
    CREATE OR REPLACE DIRECTORY test.utl_dir AS 'D:/utl_dir' ;
    Here is the error:
    Error starting at line 1 in command:
    CREATE OR REPLACE DIRECTORY rcdtpump.novus_dir AS 'D:/Novus/novus_dir'
    Error at Command Line:1 Column:36
    Error report:
    SQL Error: ORA-00905: missing keyword
    +00905. 00000 - "missing keyword"+
    *Cause:+
    *Action:+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    You can't, directories are database wide objects, see:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_5007.htm#i2061958
    ...+All directories are created in a single namespace and are not owned by an individual schema+...
    HTH
    Enrique

  • Problems updating folios in multi issue viewer

    I created a multi issue viewer app containing two issues. Now I try to update one of these two issues in the DPS Folio Producer Organizer, but the app still shows the old version of the issue.
    I update the issue with the "update"-button and deleted the multi issue viewer and re-installed it on my iPad many times, but the multi issue viewer still shows the old version of the changed issue.
    Finally I deleted the changed issue in the DPS Folio Producer Organizer, but the multi issue viewer still shows the old version of the issue.
    What can I do now?

    I suggest calling enterprise support for this, they should be able to help you figure out what is going on. You can find contact information by logging into http://digitalpublishing.acrobat.com/ and looking in the bottom middle of the page.
    Neil

  • HP Mini Ability To View Win 8 Metro Under Its MAX Screen Resolution When Released :(

    This is just a question and I know it has got to be posted many, many time somewhere. I absolutely love the Mini and when I had some issues after my purchase a few months ago, the fantastic support agent even said when the actual Win 8 is released,  it will be so cool on it. Well, one major problem I never caught. While the Mini Desktop portion of Win 8 Consumer preview works great, the HP Mini ability to view Win 8 Metro under Its MAX screen resolution is not possible. Now I know HP does not support the consumer preview as of yet but am I just out of luck by the release date? Will there be some kind of patch or ability for current Mini buyers to use Win 8 Metro when released? I asked this question in a Win 8 forum and the response I got was just that Notebooks are not designed for these kinds of features and are simple in nature. I agree but that is backward having a small device that will not be able to use Windows 8 except on its Desktop and furthermore, something tells me that Minis after 2013 will?  Help....

    Anyway, I know there is nothing that can be done about it-its just frustrating knowing that in about 7 months, the upgrade will not mean much to these minis and pretty much a new unit within 12 months of an OS release. I doubt MS will lower the resolution rate but the 600 is right at that line for many programs as well. I never would have thought-I am just stuck and was hoping the 210 would be compatible to an OS that is supposed to be friendly with the smaller devices-now this is ironic.

  • HTTP request error under HTTPS

    Under the HTTPS, we encountered an issue that the content responed by WebSpwhere would display a http request error in flash, but if the content was compressed the flash works fine, may i know if it is necessory to compress everthing response to flash player under https?
    More Detail:
    The applicate side has a header setting for the response as below:
         response.setContentType("text");
         response.setHeader("Cache-Control", "no-cache, must-revalidate");
    The flash would have http request error with below setting in the WebSpwhere's IHS
        AddOutputFilterByType DEFLATE text/html
        AddOutputFilterByType DEFLATE text/plain text/xml
    But if we change it like below it would works fine.
        AddOutputFilterByType DEFLATE text
        AddOutputFilterByType DEFLATE text/html
        AddOutputFilterByType DEFLATE text/plain text/xml

    I always found it odd Flash didn't just use text/plain but to answer you, no you do not need to gzip before sending over HTTPS. Unless it interferes with other things, since you're already compressing text, maybe it's just a good idea to compress it.

  • 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>

  • Renaming distribution directory under$FORTE_ROOT/appdist/ env name /

    I am trying to replace an application with one whose
    name matches the first 8 characters. When you deploy
    an application with the same 8 characters, Forte
    automatically starts a numbering scheme for the
    distribution directories.
    ie.
    Let's say that an application named "myapplication" is
    already deployed in the environment. I decide to
    deploy another application named "myapplicationagain".
    The disribution directory under appdist will be
    "myapplic" for the first one and "myappli1" for the
    second one.
    What I want to do is totally replace an application
    using the same directory name. Does the directory
    naming convention come out of the code repository or
    out of the environment repository? If it is out of
    the code repository, is there an option in the
    "c4tstdrv" utility that I could use to change the
    default distribution directory name???? I have tried
    "fscript" and can't seem to get the results I want.
    Mark Musgrove
    Senior Systems Engineer
    Object Technologies, Inc
    (540) 977-3861 (home)
    (540) 977-2794 (fax)

    As the server.xml is big enough, I took the minimum portion of it. Hope u can proceed with it.
    <!-- Tomcat Root Context -->
    <Context path="" docBase="ROOT" debug="0"/>
    <!-- New contexts -->
    <Context path="/xyz" docBase="pathTo_xyz" debug="0" crossContext="true"/>
    <Context path="/pqr" docBase="pathTo_pqr" debug="0" crossContext="true"/>
    <!-- Tomcat Examples Context -->
    <Context path="/examples" docBase="examples" debug="0"
    reloadable="true" crossContext="true">
    You should also provide a WEB-INF folder under pqr or xyz folder.
    You should also provide a web.xml file under each WEB-INF folder.
    The minimal web.xml is
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtd/web-app_2_3.dtd">
    <web-app>
    </web-app>
    That's it. Try it out. Hope it is OK.
    Hafizur Rahman
    SCJP

  • I have an iPhone 4, My itunes are from two differnt accounts; one from when I was under my dads account, and the other is my own. My question is would I be able to sync and update my itunes on my MacBook without having all the new music erased.

    I have an iPhone 4, My itunes are from two differnt accounts; one from when I was under my dads account when i was younger, and the other is my own which i currently use. My question is would I be able to sync and update my itunes on my MacBook without having all the new music erased. I have the icloud on my phone, but I just want to update my music on my laptop. Just nervous to, because it has happened to me before on a desktop computer  and it *****. Please help! Thanks.

    nevermind, i figuered it out

Maybe you are looking for

  • Can't drag sidebar items in "open/save" dialog boxes - Mountain Lion

    (First time poster)  Using Mountain Lion 10.8.3 and InDesign CS6.  Having errors. First was that smart folders made the Open/ Save dialog boxes crash when referenced in the "Favorites" section of sidebar.   Next, and more serious, error, is that I ca

  • I can't write to usb stick [solved]

    I've installed arch on my notebook yesterday. It took a few hours, but I got almost everything working correctly. My issue is that when I plug in a usb stick, it gets automatically mounted, but I can't write to it. I had the same issue with my ntfs d

  • Hp 6600 low ink level warning

    I have a HP 6600 and I want to turn off the ink cartridges depleted warning that pops up repeatedly on my laptop. Does anyone know where to shut off that message?

  • After Upgrade:  No pics, just frame and exif data

    I upgraded yesterday from 1.0 (on XPmedia center05) I get the library from 1.0 (no pics, just a blank frame and the exif data) I deleted the library and uninstalled and reinstalled twice---same results- Any suggestions on how to get an actual picture

  • Interactive Report with specific rows editable

    I have an interactive reports, with the edit (pencil) link to a maintenance form. I only want the link to show for specific records in the reports. Can you put a condition in the link column to the pencil for certain records? If so, how can you acces