Serving large files for download using JSF

Hello Community,
my JSF Controler Bean has a method which is called using method binding on either a commandButton or commandLink. It's purpose is to stream CSV datasets from a database to the browser, which then opens an application like ms excel, oocalc or gnumeric. Everything works fine if there is only a small number of datasets. But if there are several thousand datasets I get an OutOfMemoryError. So it seems that the data is somehow cached/buffered by the JSF Servlet. Is there a known workaround to my problem?
public void exportFile() {
        FacesContext context = FacesContext.getCurrentInstance();
        HttpServletResponse response =
(HttpServletResponse)context.getExternalContext().getResponse();
        response.setContentType("text/csv");
        response.setHeader("Content-disposition",
"attachment; filename=data.csv");
        try {
                 * This method iterates a java.sql.ResultSet and writes the data
                 * to the ServletOutputStream: "Write and Forget"
                writeData(response.getOutputStream());   // <<< If there are many datasets an OutOfMemoryError is produced
                response.getOutputStream().flush();
                response.getOutputStream().close();
                context.responseComplete();
        } catch (IOException e) {
                e.printStackTrace();
}Thanks, Alexander

Chrisse-
Ann is one of the most knowledgeable Photoshop folks here and I respect her immensely. However she comes from a long film background and is brand new to quality digital camera capture. Ann is
incorrect when she says
>I think that it is probably a toss-up between which would be worse: an interpolated rez-up or a 170 ppi print. Basically, Chrisse needs a better camera if she wants to make prints of this size let alone 11" x 14" ones.
Ann speaks from very extensive film-scan experience, but the reality is that "uprezzing" digital camera image capture is a whole different thing than uprezzing scanned film images. Those of us who do have substantial digicam experience have found a surprising ability to successfully uprez digicam image captures.
Certainly,
well-shot pix from your G9 will normally uprez to print 8x10s just fine and probably 11x14s as well.
Do not hesitate to experiment with uprezzing digicam captures - - including very large amounts of uprez like 2x or more. Test - test - test because each image and how presented/used is different.
I have found however that "well-shot," especially as regards exposure and focus, is important to allow good uprez. Also be especially careful with post-process edits because uprezzing can exacerbate editing distortion.
You need not worry about whether Ann is correct or I am - - just do it and judge the results. Do to typical viewing distances personally I use 300-360 ppi for small prints, 240-300 ppi for 8x10 and 240 ppi for 11x14; 180 ppi for large posters. But like others have said, if the ppi comes reasonably close at your chosen image size do not force a recalculation to reach precisely 240 ppi or whatever, just leave the resample box unchecked.

Similar Messages

  • Exporting Large Files for Web Use

    Most of my images are around 3000x2000 in filesize and between 10MB and 15MB. They are for use on the web so I don't want them to be too large (in MB's.)
    What is the best option:
    - keep original size and lower the quality-setting from 100% to -let's say- between 75% and 90%
    - Resize them -let's say- to half size.
    The large files have more pixels but are lower quality, or the resized files are higher quality but have less pixels - what is the best?

    You don't need to but it is advisable as scaling always makes images soft.
    You have to scale to display an image on a monitor as a monitor is a very
    low resolution device. Luckily you can do the sharpening straight in the
    export dialog and you don't really need to think about it. Sharpen for
    screen at standard setting is usually just fine. So try using the following
    settings in the export dialog:
    File settings: jpeg, quality 75, Color Space sRGB
    Image Sizing: resize to fit long edge, 800 pixels
    Output sharpening: Sharpen for screen, amount Standard
    Metadata: Minimize embedded metadata (preserves your copyright info
    but omits all the edit and
    camera info)
    Then play
    around with the sharpening amount and compare the exports to see what
    you prefer. There is very little difference between High and Standard.

  • Function module to choose the file for download and upload

    what is the function module to choose the file for download and upload  for presentation server.
    give me with example

    Please search in SCN.
    This has been discussed so many times.

  • File upload, download using ADF UIX and not JSP

    I have examples for the file upload, download using JSP
    But I want to use ADF UIX. Look and feel in this is impressing and I want to use this. Any one have example for this.
    Users will select a file from their desktop
    This will be stored into the database (Any document. Word, Excel)
    When they query the records then the UIX column need to give a hyperlink. Clicking on the link should prompt to download the file to the local system

    Sure, I use the Apache Commons File Upload package, so that is what I will discuss here ( [Commons File Upload|http://commons.apache.org/fileupload/] ).
    The Commons File Upload uses instances of ProgressListener to receive upload progress status. So first create a simple class that implements ProgressListener:
    public class ProgressListenerImpl implements ProgressListener {
        private int percent = 0;
        public int getPercentComplete() {
            return percent;
        public void update(long pBytesRead, long pContentLength, int pItems) {
            if (pContentLength > -1) { //content length is known;
                percent = (new Long((pBytesRead / pContentLength) * 100)).intValue();
    }So in your Servlet that handles file upload you will need to create an instance of this ProgressListenerImpl, register it as a listener and store it in the session:
    ServletFileUpload upload = new ServletFileUpload();
    ProgressListenerImpl listener = new ProgressListenerImpl();
    upload.setProgressListener(listener);
    request.getSession().setAttribute("ProgressListener", listener);
    ...Now create another servlet that will retrieve the ProgressListenerImpl, get the percent complete and write it back (how you actually write it back is up to you, could be text, an XML file, a JSON object, up to you):
    ProgressListenerImpl listener = (ProgressListenerImpl) request.getSession().getAttribute("ProgressListener");
    response.getWriter().println("" + listener.getPercentComplete());
    ...Then your XMLHttpRequest object will call this second servlet and read the string returned as the percent complete.
    HTH

  • How do I add a PDF file for download to my iWeb page?

    How do I add a PDF file for download to my iWeb page?
    I have created one using Apples Pages program.
    Thanks!

    Hi-
    You need to create a text link to the file...
    On your page, type a word that you want to be the link... then select the word, and in the inspector pane, click the link tab (the arrow on the far right) and check "enable as hyperlink." Then choose "file" from the dropdown menu and a chooser box will open for you to locate the file on your hard drive.
    Choose the file by clicking "open" once it's located. Then the next time you publish, the file will be uploaded and linked to!
    Hope this helps... I think I got all the steps in there!

  • Error in maintenence optimizer while selecting files for download for EHP4

    HI,
    We are trying to download files for upgrade of ECC (HCM) and Portal systems from EHP3 to EHP4.
    This download we are doing through the Solman 7.0. Solman is currently at 7.0 but going to be upgraded soon to EHP1.
    Problem is that after we select the files for download of ECC EHP4, in step 2.1 i.e. 'choose stack', the next screen shows error as "Only one EhP release is allowed additionally".
    Is this because the Solman is not upgraded to EHP1 yet or soem other reason?
    Please let us know.
    Thanks for your time.
    Thanks & Regards,
    Kunal.

    ..have a look at the How-To Install EHP4 Guide (http://service.sap.com/~sapidb/011000358700000293582009E.PDF)
    3.4.2 Only one EHP release is allowed
    Issue: You get the error message: u201COnly one EHP release is allowedu201D
    Reason: This problem is documented in SAP Note 1139602.
    If you get this error message, then you already have installed another SAP enhancement package on this system before (for example SAP enhancement package 3 for SAP ERP 6.0).
    The error tells you that you have chosen too few technical usages. If you continued with this selection, you would not update all of the software components to SAP enhancement package 4 that are currently on SAP enhancement package 3. So in the end, some software components would be on SAP enhancement package 3 while others would be on SAP enhancement package 4. That way you would have several SAP enhancement package versions in one system, which is a state that is not supported.
    Solution: SAP Solution Manager Maintenance Optimizer requests you to select more technical usages and proposes a list for you to choose from.
    If you implement SAP Note 1287216, then Maintenance Optimizer automatically pre-selects the technical usages that are already installed on the system. In the example here, the technical usage Central Applications has been installed on a previous version of SAP enhancement packages.
    In rare cases you still get the error after accepting what SAP Solution Manager proposes. The reason for this is that you updated software components without properly covering technical usages.
    Hope that helps - best regards,
    Christian.

  • Help me out to get the jar files for FileUpload using MyFaces.

    hi,
    Can anyone help to get the jar files for FileUpload using MyFaces.
    I want myfaces-extensions.jar and commons-fileupload-1.0.jar.
    Thank you.

    you can't control the speed of a for-loop.
    you can remove your code from a for-loop and use a function to execute the code in your for-loop and you control how frequently you call the function.

  • Trying to activate serial number after entering redemption code and continues to say invalid serial number. Installing on Server 2012 R2 for client using RDS. HELP.....

    trying to activate serial number after entering redemption code and continues to say invalid serial number. Installing on Server 2012 R2 for client using RDS. HELP.....

    Thank you guys for the quick answer! Muche appreciated
    I've tried all suggested solutions, but no luck :-(
    - tried http://support.microsoft.com/kb/2765260 > no help and by the way the hotfix provided is not applicable for 2012 R2.
    also tried "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regii -enable -i" and got this :
    Microsoft (R) ASP.NET RegIIS version 4.0.30319.33440Administration utility to install and uninstall ASP.NET on the local machine.Copyright (C) Microsoft Corporation.  All rights reserved.Start installing ASP.NET (4.0.30319.33440).This option is not supported on this version of the operating system.  Administrators should instead install/uninstall ASP.NET 4.5 with IIS8 using the "Turn Windows Features On/Off" dialog,  the Server Manager management tool, or the dism.exe command line tool.  For more details please see http://go.microsoft.com/fwlink/?LinkID=216771.Finished installing ASP.NET (4.0.30319.33440).
    http://social.technet.microsoft.com/wiki/contents/articles/14582.sharepoint-2013-install-prerequisites-offline-or-manually-on-windows-server-2012-a-comprehensive-guide.aspx
    > is not for 2012 R2.
    For the automated install script (http://gallery.technet.microsoft.com/office/DownloadInstall-SharePoint-e6df9eb8) Craig mentions that the script are not yet compatible
    "SharePoint 2013 SP1 and Windows Server 2012 R2 support coming soon
     I will be updating this script with support for SharePoint 2013 Service Pack 1 installations along with support for Windows Server 2012 R2 in the near future. Thank you to everyone for the interest in my scripts - it is much appreciated! "

  • New After Effects project file for download

    New After Effects project file for download:
    http://marko-stojkovic.blogspot.com/p/animation_03.html
    and more on: http://www.marko-stojkovic.blogspot.com/p/animation_03.html

    Not that I'm aware of. I think the largest one I've ever made was around 98mb. At that point, the file became way too cumbersome, and I ended up splitting up the project more efficiently into multiple project files. There may be a limit, but if not, then it would probably be any file size limits imposed by your OS.

  • When i select a pdf file for download in a webpage instead of automatically downloading the file and opening it using adobe acrobat I get a new blank window in the browser and it says done in the bottom left corner

    when I select a pdf file within a webpage and click to download instead of getting the "download" window and the file automatically opening after download using adobe reader I get a blank webpage (in the same tab) and in the bottom left corner it says"done". No file is downloaded and if I click "back" I just return to the webpage containing the link.

    Aha!  The properties for the plugin file nppdf32.dll for Adobe Reader indicate the file is for Adobe Acrobat.  This misidentification is then used by SeaMonkey as a label in the helper application list. 
    Adobe Reader 11.0.3.37:  nppdf32.dll has version 11.0.3.37.  This is the version in SeaMonkey's plugins folder. 
    Adobe Acrobat 7.0.8.218:  nppdf32.dll has version 7.0.9.50. 
    As for having both Adobe Reader and Adobe Acrobat on the same PC, this generally works providing Reader is installed AFTER Acrobat.  Reader is freeware, and I want to keep it current.  Acrobat is purchaseware, and I cannot afford to keep buying  upgrades or newer versions. 

  • Which format on a flash drive for large files for use by Mac and PC

    I need to copy large files (9GB of movie file exported from iMovie of school graduation) onto 16GB flash drives so they can be used by school parents who may have Mac, PC or even TV.
    My first attempt says the files are too large.
    A lot of googling tells me this is a recognised problem but I am confursed by which advice to take.
    I am on a 2012 iMac running OSX version 10.7.4.
    Do I need to download some software to run NTFS.  It all sounds so confusing!
    I ended up in this predicament because the quality of my photo slideshows I copied to my DVD-R was so bad.  Thought a flash drive would be easy. Ha, not at all.
    Please answer in laymans terms - I could barely follow some of the advice I found.....

    Format the flash drives with Disk Utility in ExFAT format.

  • Does anyone have a good server.xml file for tomcat?

    I am trying to link apache and tomcat on a RedHat 9 computer. I previously posted a message stating that I could not get tomcat to "automagically" make the configuration files (mod_jk.conf-auto) that all the manuals promised it would. However, I found that my problem was the lack of an ApacheConfig tag in the server.xml file. After looking at my server.xml file, I found that it was much more simplistic than I would hoped = it did not have enough comments or commented out options. It had none of the directives that the manuals said it included by default.
    In short, does anyone who has apache and tomcat linked have a server.xml file that I can look at so that I can figure out what I must add to mine to get tomcat working with apache? I would greatly appreciate it if you could copy and paste the whole thing here.
    Thank you very much in advance.
    Edward S. Rice

    Hi!
    I am having the Apache-Tomcat4.0 version installed on a Win2000 machine. I am pasting here my server.xml. Hope it will be useful to you. I even didnot do much modifications to my server.xml except for adding a context.
    Please come back if problem persists.
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Tomcat-Standalone">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 4.0 documentation bundle for more detailed
    instructions):
    * Download and install JSSE 1.0.2 or later, and put the JAR files
    into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="60000"/>
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to -1 -->
    <!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
         acceptCount="10" debug="0" scheme="https" secure="true">
    <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
    clientAuth="false" protocol="TLS"/>
    </Connector>
    -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!--
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
    port="8009" minProcessors="5" maxProcessors="75"
    acceptCount="10" debug="0"/>
    -->
    <!-- Define a Proxied HTTP/1.1 Connector on port 8081 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8081" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0" connectionTimeout="60000"
    proxyPort="80"/>
    -->
    <!-- Define a non-SSL HTTP/1.0 Test Connector on port 8082 -->
    <!--
    <Connector className="org.apache.catalina.connector.http10.HttpConnector"
    port="8082" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0"/>
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.3
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="catalina_log." suffix=".txt"
    timestamp="true"/>
    <!-- Because this Realm is here, an instance will be shared globally -->
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority?user=test;password=test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL?user=scott;password=tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host -->
    <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn"
    debug="0"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common"/>
    <!-- Logger shared by all Contexts related to this virtual host. By
    default (when using FileLogger), log files are created in the "logs"
    directory relative to $CATALINA_HOME. If you wish, you can specify
    a different directory with the "directory" attribute. Specify either a
    relative (to $CATALINA_HOME) or absolute path to the desired
    directory.-->
    <Logger className="org.apache.catalina.logger.FileLogger"
    directory="logs" prefix="localhost_log." suffix=".txt"
         timestamp="true"/>
    <!-- Define properties for each web application. This is only needed
    if you want to set non-default properties, or have web application
    document roots in places other than the virtual host's appBase
    directory. -->
    <!-- Tomcat Root Context -->
    <!--
    <Context path="" docBase="ROOT" debug="0"/>
    -->
              <Context path="/vijay" docBase="D:\Java\servlets" debug="0"/>
    <!-- Tomcat Manager Context -->
    <Context path="/manager" docBase="manager"
    debug="0" privileged="true"/>
    <!-- Tomcat Examples Context -->
    <Context path="/examples" docBase="examples" debug="0"
    reloadable="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_examples_log." suffix=".txt"
         timestamp="true"/>
    <Ejb name="ejb/EmplRecord" type="Entity"
    home="com.wombat.empl.EmployeeRecordHome"
    remote="com.wombat.empl.EmployeeRecord"/>
    <!-- PersistentManager: Uncomment the section below to test Persistent
              Sessions.
    saveOnRestart: If true, all active sessions will be saved
    to the Store when Catalina is shutdown, regardless of
    other settings. All Sessions found in the Store will be
    loaded on startup. Sessions past their expiration are
    ignored in both cases.
    maxActiveSessions: If 0 or greater, having too many active
    sessions will result in some being swapped out. minIdleSwap
    limits this. -1 means unlimited sessions are allowed.
    0 means sessions will almost always be swapped out after
    use - this will be noticeably slow for your users.
    minIdleSwap: Sessions must be idle for at least this long
    (in seconds) before they will be swapped out due to
    maxActiveSessions. This avoids thrashing when the site is
    highly active. -1 or 0 means there is no minimum - sessions
    can be swapped out at any time.
    maxIdleSwap: Sessions will be swapped out if idle for this
    long (in seconds). If minIdleSwap is higher, then it will
    override this. This isn't exact: it is checked periodically.
    -1 means sessions won't be swapped out for this reason,
    although they may be swapped out for maxActiveSessions.
    If set to >= 0, guarantees that all sessions found in the
    Store will be loaded on startup.
    maxIdleBackup: Sessions will be backed up (saved to the Store,
    but left in active memory) if idle for this long (in seconds),
    and all sessions found in the Store will be loaded on startup.
    If set to -1 sessions will not be backed up, 0 means they
    should be backed up shortly after being used.
    To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
    and minIdleBackup all to -1, saveOnRestart to false, then restart
    Catalina.
    -->
              <!--
    <Manager className="org.apache.catalina.session.PersistentManager"
    debug="0"
    saveOnRestart="true"
    maxActiveSessions="-1"
    minIdleSwap="-1"
    maxIdleSwap="-1"
    maxIdleBackup="-1">
    <Store className="org.apache.catalina.session.FileStore"/>
    </Manager>
              -->
    <Environment name="maxExemptions" type="java.lang.Integer"
    value="15"/>
    <Parameter name="context.param.name" value="context.param.value"
    override="false"/>
    <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/EmployeeAppDb">
    <parameter><name>user</name><value>sa</value></parameter>
    <parameter><name>password</name><value></value></parameter>
    <parameter><name>driverClassName</name>
    <value>org.hsql.jdbcDriver</value></parameter>
    <parameter><name>driverName</name>
    <value>jdbc:HypersonicSQL:database</value></parameter>
    </ResourceParams>
    <Resource name="mail/Session" auth="Container"
    type="javax.mail.Session"/>
    <ResourceParams name="mail/Session">
    <parameter>
    <name>mail.smtp.host</name>
    <value>localhost</value>
    </parameter>
    </ResourceParams>
    </Context>
    </Host>
    </Engine>
    </Service>
    <!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
    as its servlet container. Please read the README.txt file coming with
    the WebApp Module distribution on how to build it.
    (Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
    To configure the Apache side, you must ensure that you have the
    "ServerName" and "Port" directives defined in "httpd.conf". Then,
    lines like these to the bottom of your "httpd.conf" file:
    LoadModule webapp_module libexec/mod_webapp.so
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples/
    The next time you restart Apache (after restarting Tomcat, if needed)
    the connection will be established, and all applications you make
    visible via "WebAppDeploy" directives can be accessed through Apache.
    -->
    <!-- Define an Apache-Connector Service -->
    <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
    port="8008" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0"/>
    <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
    name="Apache" debug="0" appBase="webapps">
    <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="apache_log." suffix=".txt"
    timestamp="true"/>
    <!-- Because this Realm is here, an instance will be shared globally -->
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    </Engine>
    </Service>
    </Server>

  • Can't Upload Large Files (Upload Fails using Internet Explorer but works with Google Chrome)

    I've been experience an issue uploading large (75MB & greater) PDF files to a SharePoint 2010 document library. Using normal upload procedures using Internet Explorer 7 (our company standard for the time being) the upload fails. No error message is thrown,
    the upload screen goes away and the page refreshes and the document isn't there. I tried upload multiple and it says throws a failed error after a while.
    Using google chrome I made an attempt just to see what it did and the file using the "Add a document" uploaded in seconds. Can't figure out why one browser worked and the other doesn't. We are getting sporadic inquiries with the same issue.
    We have previously setup large file support in the appropriate areas and large files are uploaded to the sites successfully. Any thoughts?

    File size upload has to be configured on the server farm level. Your administrator most likely set
    up the limit to size of files that can be uploaded. This size can be increased and you would then be able to upload your documents.

  • How to send (larger files) for 'Shared Review'?

    We are unable to get PDF files above 5.5MB to successfully 'Send for Shared Review' to a WebDav server (using Acrobat Pro 9.3.0 on OSX 10.5.8).
    The 'save' process fails at the final stage & the PDF is not uploaded to the server.  Files below that size can be sent for Shared Review without any problems.  Have tested this on different WebDav servers & domains - and with various PDF files.
    Has anyone been able to get PDF files above 5/6MB to successfully 'Send for Shared Review' to a WebDave server???
    Is there a file size limit for individual PDF files for 'Shared Review' using a WebDav server???
    Thanks for your help!!!

    Try creating a review without sending the file and then send the link in a seperate email.
    I used the "Do not send email invitation, just save localy" option and didn't add any reviewers in the wizard. Afterwards I sent a email with a link to the file to all reviewers and it worked.

  • How can I export songs with full info (INCLUDING LYRICS) to file for future use? [x]

    Hi everyone,
    I got my new iPod touch 4th gen, and I spend literally all day to edit songs' info like Artist, Lyrics, Album... with like thousand songs.. Then I've tried to export them fully for future use as back up, but I could not find any option to do so. Exporting library and playlist only saves info for basic tags but no lyrics in it. So what should I do? I've tried iTunes Export and mp3Tag but I still could not do it.
    I would appreciate much any help for me to back up full information of songs for future use.
    Regards,
    [x]

    Thanks for the responses.
    I forgot to mention the dimensions I need the file to be at, sorry. Overnight Prints requires that the uploaded file be at 2.13 inches wide by 6.13 inches high (or 638 by 1838 pixels) at 300 dpi. I think I understand what Scott Falkner means by pixels are not a unit of measure. However, I have been using inches in Illustrator, with the file being set to the height and width (in inches) required by Overnight Prints.
    Here is what I have uploaded to Overnight Prints so far:
    - Illustrator file set to 2.13 inches wide by 6.13 inches high – Upload preview on Overnight Prints is correct size, but shows the bookmark as pixelated/blurry.
    - Saved above Illustrator file as copy: “Press Quality Preset” PDF – Upload preview on Overnight Prints is correct size, but the bookmark is still pixelated/blurry.
    - Exported same Illustrator file as a PNG (638 pixels wide by 1838 pixels high - 300dpi) – Upload preview on Overnight Prints is correct size, but shows the bookmark as pixelated/blurry.
    - Creating an Illustrator file at 638 by 1838 pixels makes any file that is uploaded preview on Overnight Prints as too large, but not pixelated/blurry (I think I now understand why, just covering all my bases).
    So, I guess my more specific question would be:
    How can I create a file that I can upload to Overnight Prints (TIF, PDF, JPG, EPS, PNG, or AI) that ends up at the dimensions (in inches) required, while not appearing (at least in the upload preview) as low resolution (pixelated/blurry)?
    Thanks in advance for any responses (especially to such a novice question).

Maybe you are looking for