CF10 Datasource settings

I'm looking over the datasource settings for MS SQL Server and I have some questions about.
Limit Connections
I can't think of any reason to use this except to help minimize the damage of a DOS attack.
Max Pooled Statements
I understand that this should be set to equal the amount of unique cfquery tags that use the cfqueryparam tag and cfstoredproc tags. Thats great an all but why?
Timeout
This is how long it keeps each connection to that datasource open. Is there any reason to change this and how would you determine the right setting?
Query Timeout
It defaults to 0 (no timeout) and I don't want a query running forever. I can't think of the last time I had a query run more than 1 second. Any reason why I wouldn't want to set it to 5 seconds or less?
Thanks
Phil

Limit Connections: Why?
The main reason is that connections cost a lot of processing overhead (CPU resources). If you have too many of them going, things will eventually slow down to a treacle.
Max Pooled Statements: Why set it equal to the number of unique cfquery tags that use the cfqueryparam tag and cfstoredproc tags?
The ultimate purpose is efficiency. These types of query involve reuse. The underlying Java engine therefore creates and maintains a pool of prepared statements to be reused by each such query. The number of unique queries is a good starting point. It is unnecessary to allocate more memory space (for a larger pool) than is needed. Furthermore, since Java creates pooled statements based on currently active connections, the connection must be maintained for reuse of pooled statements to be possible.
Timeout: Is there any reason to change it and how would you determine the right setting?
This is how long ColdFusion maintains an idle connection before destroying it. I would leave it at the 20-minute default setting. That falls within the generally accepted range for session timeout in ColdFusion applications, namely, 20 to 30 minutes.
Query Timeout: Any reason to set it to 5 seconds or less?
The Relational Database Management System is separate from ColdFusion. A query may, for reasons beyond ColdFusion's control, run beyond the time that the ColdFusion application expects. The Coldfusion threads that wait on the query would continue to do so indefinitely. If it is critical to your application that a query must run under 5 seconds, or else abort, then you should set 'Query Timeout' to 5 seconds. Charlie Arehart wrote an instructive article on this.

Similar Messages

  • CF10 Datasources and Isolation Level

    I've been looking all over for a solution to this and have been unable to find one.  In CF9 using jrun, we are able to set the default isolation level on a datasource so that any time it is used it defaults to dirty read in case a record is in a lock state it still returns the current data.  However in CF10 with it using Tomcat, I cannot find anyway to even configure a datasource through Tomcat, or set the default isolation level on a datasource created in the CF10 administration panel.  I know we could surround every single query with a <cftransaction> tag that sets the isolation level, but that is unrealistic as this is a very large web service with thousands of queries.
    Can anyone help out with this?  Thanks!

    Hello
    You should be able to see your inserted row in the same session
    Session 1:_
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> SELECT *  FROM demo;
            ID
            11
             1
             2
             3
             4
             5
             8
             9
            10
    9 rows selected.
    SQL>
    SQL> INSERT INTO demo  VALUES (11);
    1 row created.
    SQL>
    SQL> SELECT *   FROM demo;
            ID
            11
             1
             2
             3
             4
             5
             8
             9
            10
            11
    10 rows selected.
    Session 2: Different session without committing the result from the above session_
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining Scoring Engine options
    SQL> select * from demo;
            ID
            11
             1
             2
             3
             4
             5
             8
             9
            10
    9 rows selected.Regards
    Edited by: OrionNet on Jan 4, 2009 9:58 PM

  • Creator Saving DataSource Settings

    I've been fighting multiple problems setting up a system that lets me develop code under Creator (on a WinXP box) then publish on a local App Server 8 machine (WhiteBox Linux). I am accessing MySQL running on a WhiteBox Linux machine. (three-tier, right out of the book). I've finally got most of the bugs worked out, but in the process, I moved my Data Source from ff_local to ffdb.
    Although I changed the few pages that used the DataSource, I'm still getting an error when I deploy the project locally, that says "Deployment failed because the following data sources have not been found in the Server Navigator: jdbc/ff_local.... ". I've rebooted the development machine, reloaded the project, no difference.
    Even more annoying is the fact that now the DataSource Server Navigator resets to the default settings when I restart Creator (i.e. my datasources are gone, and the Order and Travel ones are back)
    Anyone have a suggestion where I can look to find:
    1) Where the offending ff_local reference is at?
    2) How I can get Creator to remember my Server Navigator settings?
    Thanks in advance,
    harold miller

    http://swforum.sun.com/jive/forum.jspa?forumID=123 is probably a better place to post creator questions as this is for creator product itself.
    I am however confused on your questions. Why would you change the name of the DataSource? All I would expect you to have to do is change the host/port on your connection pool to point to your production backend this would not require you to change you application.
    I cannot however speak to the wizards on creator and you are best served via the forum above

  • CF10 mail settings

    in the mail server setings CF10 will not let me submit domain\username in the user name field and shows domainusername without the backslash.

    Just for FYI since ColdFusion is built on Java you can always replace the backslash with a forward slash. If you pur a forward slash it requires ColdFusion to escape it.

  • ONS FAN Enabled Datasource Settings

    Using weblogic 10.3.6 and was wondering if we have ONS nodes configured with FAN enabled if there are any settings on the data source that we should change from the default values. For instance I think I read that if you have FAN enabled you shouldn't use Test Connections on Reserve is that true?

    Sorry, F6 was a typo, I meant F8. How do you tell if it has changed the speed of the fan? I wet my finger and held it next to the grill on the right hand side but could feel no difference nor hear any sound for the changes from white backgound to grey background on the fan icon.
    I may have not been clear on the graphics question. On the tray there is an icon for graphic options. When it is pressed, one of the selections is graphics properties. I selected this, then on the box that appeared, I pressed display settings to see if I cold get around the scrolling problem, and saw a box "power scheme". I selected that and another box appeared called power settings, I assume for the graphics as it is called "Intel Graphics Media Accelerator Driver for Mobile". this has some greyed out boxes called Intel Automatic Display Brightness, Intel Power saving technology with a slider going from Max quakity to Max battery, and another box called Intel display refresh rate technology. All this is greyed out. I have selected varios options regarding overall power schemes in the control panel and they work OK.

  • Setting up Microsoft SQL Server datasource in Websphere 4.0

    Does anyone know how to setup an SQL Server jdbc driver in Websphere 4.0? I am using jdbc driver from jTurbo. But I am having trouble specifying the proper URL and other datasource settings in Websphere 4.0 (or WTE) server configuration.

    Hi,
    Please find the extract from jTurbo site (http://www.newatlanta.com/support/jturbo/third-party.jsp#WebSphere)
    which will explain the steps to follow for setting up Microsoft SQL Server datasource
    in Websphere 4.0 using jTurbo jdbc driver.
    1.Always make sure the JTurbo.jar is set in your classpath.
    2.Started "WebSphere Admin Server"
    3.Open "WebSphere Administrative Console"
    4.Install the JTurbo Driver into WAS by modifying the following field of "Admin DB Driver"
    Name: JTurbo
    Class Name: com.ashna.jturbo.driver.Driver
    URL prefix: jdbc:JTurbo://localhost/pubs
    JTA Enabled: false
    (apply changes which resulted in the installation of JTurbo Driver)
    5.Selected "Create Data Source" in Console "Wizards" drop down
    6.Selected "Use an already installed JDBC Driver" JDBC Option
    7.Specified "my ds name" as the "Data Source Name"
    Specified "pubs" as the "Database Name" pull down is showing "JTurbo"
    This should sucessfully create a new data source by the name of "my ds name".
    Also there is an excellent document on "Configuring the Merant ConnectJDBC data source for MS SQL Server for the WebSphere Application Server Advanced Single Server Edition" at http://www-4.ibm.com/software/webservers/appserv/doc/v40/ae/infocenter/was/was402/rn112253.4.html .
    Hope this helps. Good luck.
    Best Regards
    Gayam_Slash

  • Weblogic datasource - Created "1" resources for pool "DataSource", out of which "1" are available and "0" are unavailable.

    I am performing some transactions with java application deployed on weblogic. I faced some issue of getting the transaction response with some delay. I found these below mention messages logged into the managed server logs. 
    Following is my datasource settings
    Initial Capacity: 2
    Maximum Capacity: 100
    Capacity Increment: 20
    Anyone have idea why these following errors coming.
    ####<Nov 26, 2013 2:25:41 PM PKT> <Info> <Common> <machine1> <managed_server> <[ACTIVE] ExecuteThread: '25' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <BEA1-1B6BE1217D118A188C49> <> <1385457941513> <BEA-000628> <Created "1" resources for pool "DataSource", out of which "1" are available and "0" are unavailable.>
    ####<Nov 26, 2013 2:25:42 PM PKT> <Info> <Common> <machine1> <managed_server> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <BEA1-1B6EE1217D118A188C49> <> <1385457942413> <BEA-000628> <Created "1" resources for pool "DataSource", out of which "1" are available and "0" are unavailable.>
    ####<Nov 26, 2013 2:25:43 PM PKT> <Info> <Common> <machine1> <managed_server> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <weblogic> <BEA1-1B71E1217D118A188C49> <> <1385457943792> <BEA-000628> <Created "1" resources for pool "DataSource", out of which "1" are available and "0" are unavailable.>
    ####<Nov 26, 2013 3:12:28 PM PKT> <Info> <JDBC> <machine1> <managed_server> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1385460748433> <BEA-001128> <Connection for pool "DataSource" closed.>
    ####<Nov 26, 2013 3:12:28 PM PKT> <Info> <JDBC> <machine1> <managed_server> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1385460748433> <BEA-001128> <Connection for pool "DataSource" closed.>
    ####<Nov 26, 2013 3:12:28 PM PKT> <Info> <JDBC> <machine1> <managed_server> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1385460748433> <BEA-001128> <Connection for pool "DataSource" closed.>
    ####<Nov 26, 2013 3:12:28 PM PKT> <Info> <JDBC> <machine1> <managed_server> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1385460748434> <BEA-001128> <Connection for pool "DataSource" closed.>

    i know this,
    The cause of the problem is: owing to the client's operations staff to modify the datasource ,and reployed
    thinks

  • Connecting to a Mysql database using CF Administrator and DW

    I can't create a mysql datasource in CF Administrator.
    If I use the following datasource settings in CF
    Administrator:
    JDBC URL: jdbc:mysql://localhost:3306/test
    Drive Class: MySQL Connector J
    AND (note the emphasis) I set my local and remote folders in
    my DW site local folder, remote folder and testing server folders
    all to C:\CFusionMX\db\, I can connect to my mysql database in CF
    Administrator.
    However, with these DW site folder settings, DW doesn't
    recognize any databases (Access or Mysql) at all.
    When I change my DW site folder settings to 'wwwroot'
    (e.g.local folder C:\CFusionMX\db\' is changed to
    'C:\CFusionMX\wwwroot') DW now lists all my CF Administrator
    databases.
    The problem is CF Administrator can't connect to my Mysql
    data sources. It gives me the error:
    "Connection verification failed for data source: javaserver
    []java.sql.SQLException: SQLException occurred in JDBCPool
    while attempting to connect, please check your username, password,
    URL, and other connectivity info.
    The root cause was that: java.sql.SQLException: SQLException
    occurred in JDBCPool while attempting to connect, please check your
    username, password, URL, and other connectivity info"
    I've tried changing the 3306 port to 8500, but this doesn't
    help.
    My java path and connector file is:
    C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar,
    Is this a ID/password problem? I've tried both 'root' and
    leaving the ID field in the CF Administrator add data source block,
    both to no avail. I don't have a password set in Mysql for 'root'
    either.
    Any help would be gratefully appreciated. I've been working
    on this for weeks and keep running into one problem after another.
    Thanks a million in advance.
    Sincerely,
    Graham A. Kerby

    1) ensure mysql server is running
    2) there are numerous tutorials for mysql installation out
    there
    3) there are good free mysql admin tools out there
    4) use both the above to verify your mysql installation is
    correct
    5) please tell me you do have your zonealarm DISABLED
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Connecting to a Mysql database using a ColdFusion server

    can't create a mysql datasource in CF Administrator.
    If I use the following datasource settings in CF
    Administrator:
    JDBC URL: jdbc:mysql://localhost:3306/test
    Drive Class: MySQL Connector J
    AND (note the emphasis) I set my local and remote folders in
    my DW site local folder, remote folder and testing server folders
    all to C:\CFusionMX\db\, I can connect to my mysql database in CF
    Administrator.
    However, with these DW site folder settings, DW doesn't
    recognize any databases (Access or Mysql) at all.
    When I change my DW site folder settings to 'wwwroot'
    (e.g.local folder C:\CFusionMX\db\' is changed to
    'C:\CFusionMX\wwwroot') DW now lists all my CF Administrator
    databases.
    The problem is CF Administrator can't connect to my Mysql
    data sources. It gives me the error:
    "Connection verification failed for data source: javaserver
    []java.sql.SQLException: SQLException occurred in JDBCPool
    while attempting to connect, please check your username, password,
    URL, and other connectivity info.
    The root cause was that: java.sql.SQLException: SQLException
    occurred in JDBCPool while attempting to connect, please check your
    username, password, URL, and other connectivity info"
    I've tried changing the 3306 port to 8500, but this doesn't
    help.
    My java path and connector file is:
    C:\CFusionMX\wwwroot\WEB-INF\lib\mysql-connector-java-3.0.17-ga-bin.jar,
    Is this a ID/password problem? I've tried both 'root' and
    leaving the ID field in the CF Administrator add data source block,
    both to no avail. I don't have a password set in Mysql for 'root'
    either.
    Any help would be gratefully appreciated. I've been working
    on this for weeks and keep running into one problem after another.
    Thanks a million in advance.
    Sincerely,
    Graham A. Kerby

    If it were me I would use the MySQL JDBC driver and not ODBC. Then DSN versus not-DSN wouldn't be an issue.

  • How to load a config file at appliaction startup

    Hi
    Is there a way to load a config file at application startup?
    I have the DB conection info in a config file.
    Right now m accessing that info by loading it using a classloader n then parsing it.
    When ever i access the DB this file is loaded n parsed.
    I want it to be loaded only once at startup n get cached.
    Then later on whenever i refer it, i shud get the cached copy.
    Is there a way to do this?

    Or you could just include a relevant static block.
    For instance you could have a utility class for accessing your DB in which you wrap jdbc code for querying, updating etc. This class would have code like the following:
    public class DBBean {
       private static DataSource ds = null;
       static {
          loadDataSource();
       public static loadDataSource() {
          // load your property file with the configuration info and setup your datasource
       public static void doSomething() {
          Connection con = ds.getConnection();
    }By placing initialization code in a public (?) method you can call this method to re-initialize your DataSource if e.g. you updated your datasource settings.
    Hope this helps

  • Java Media Framework + jipCam + IP Cam

    Hi everyone,
    I maked an aplication using JMF, its connect to a USB cam and shouw the video, it's can snapshot the video too.. and record the video. Now i'm studding a JMF integration with a IP CAM, using the jipCam [http://jipcam.sourceforge.net]
    But, i having some difficulty to do it.
    Someone here has axperiency with jipCam?
    My main question is how to prepare the MediaLocator using jipCam.
    Thanks, and sorry the poor english language..
    ---- portuguese version
    Sauda��es,
    Fiz um aplicativo utilizando JMF que se conecta a uma camera USB e exibe sua imagem, podendo tirar 'fotografias' da imagem e/ou gravar o v�deo. Agora estou estudando a integra��o do JMF com uma Camera IP, para tanto estou estudando o jipCam http://jipcam.sourceforge.net/ que � um framework que auxilia exatamente neste tipo de comunica��o: conectar uma camera ip em um aplicativo jmf. Por�m, estou com dificuldades para encontrar documenta��o, ou c�digo de exemplo, nem se quer um Hello World encontrei.. Em fim, algo que facilite minha vida. Algu�m j� trabalhou, ou estudou algo a respeito?

    I build a simple code to play a IP Cam:
    But i have the fallow error:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Category
         at ipcam.PlayerManager.main(PlayerManager.java:115)
    import java.awt.Component;
    import javax.media.ConfigureCompleteEvent;
    import javax.media.ControllerEvent;
    import javax.media.ControllerListener;
    import javax.media.EndOfMediaEvent;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.Player;
    import javax.media.PrefetchCompleteEvent;
    import javax.media.Processor;
    import javax.media.RealizeCompleteEvent;
    import javax.media.ResourceUnavailableEvent;
    import javax.media.SizeChangeEvent;
    import javax.media.protocol.DataSource;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    * @author cassio
    * @since December 2007
    public class PlayerManager extends JFrame implements ControllerListener {
         private static final long serialVersionUID = 1L;
         private Player p;
         private Object waitSync = new Object();
         boolean stateTransitionOK = true;
         public void play(DataSource ds) {
              try {
                   p = Manager.createPlayer(ds);
              } catch (Exception e) {
                   System.err.println("Failure to create the player: " + e);
               * turn on the listeners and realize the player
              p.addControllerListener(this);
              p.prefetch();
              if (!waitForState(Processor.Prefetched)) {
                   System.err.println("Failure to realize the player: ");
              JPanel painel = new JPanel();
              Component cc; // control component
              Component vc; // visual component
              if ((vc = p.getVisualComponent()) != null)
                   painel.add(vc);
              if ((cc = p.getControlPanelComponent()) != null)
                   add(cc);
              this.setContentPane(painel);
              p.start();
              this.setVisible(true);
         public void addNotify() {
              super.addNotify();
              pack();
         private boolean waitForState(int state) {
              synchronized (waitSync) {
                   try {
                        while (p.getState() < state && stateTransitionOK)
                             waitSync.wait();
                   } catch (Exception e) {
              return stateTransitionOK;
          * Controller Listener implementation
         public void controllerUpdate(ControllerEvent evt) {
              if (evt instanceof ConfigureCompleteEvent
                        || evt instanceof RealizeCompleteEvent
                        || evt instanceof PrefetchCompleteEvent) {
                   synchronized (waitSync) {
                        stateTransitionOK = true;
                        waitSync.notifyAll();
              } else if (evt instanceof ResourceUnavailableEvent) {
                   synchronized (waitSync) {
                        stateTransitionOK = false;
                        waitSync.notifyAll();
              } else if (evt instanceof EndOfMediaEvent) {
                   p.close();
              } else if (evt instanceof SizeChangeEvent) {
          * Main program
         public static void main(String[] args) {
              MediaLocator ml = new MediaLocator("http://192.168.0.100:80");
              net.sf.jipcam.axis.media.protocol.http.DataSource ds = null;
              try {
                   // DataSource configuration
                   ds = new net.sf.jipcam.axis.media.protocol.http.DataSource();
                   ds.setLocator(ml);
                   // i'm not using password
                   ds.setUsername(null);
                   ds.setPassword(null);
              } catch (Exception e) {
                   System.err.println("Impossp�vel criar dataSuource para: " + ml);
                   e.printStackTrace();
              PlayerManager p = new PlayerManager();
              p.play(ds);
    }someone has any idea?
    this code can work with an local cam or a local file. you only need to substitute the MediaLocator and the DataSource settings in the main method:
    using jipCam (the current main code):
         public static void main(String[] args) {
              MediaLocator ml = new MediaLocator("http://192.168.0.100:80");
              net.sf.jipcam.axis.media.protocol.http.DataSource ds = null;
              try {
                   // DataSource configuration
                   ds = new net.sf.jipcam.axis.media.protocol.http.DataSource();
                   ds.setLocator(ml);
                   // i'm not using password
                   ds.setUsername(null);
                   ds.setPassword(null);
              } catch (Exception e) {
                   System.err.println("Impossp�vel criar dataSuource para: " + ml);
                   e.printStackTrace();
              PlayerManager p = new PlayerManager();
              p.play(ds);
         }accessing a local device (new main code):
         public static void main(String[] args) {
              MediaLocator ml = new MediaLocator("vfw://3"); //use the jmf registry to see the correct location
              DataSource ds = null;
              try {
                   // DataSource configuration
                   ds = Manager.createDataSource(ml);
              } catch (Exception e) {
                   System.err.println("Impossp�vel criar dataSuource para: " + ml);
                   e.printStackTrace();
              PlayerManager p = new PlayerManager();
              p.play(ds);
         }Edited by: cassioso on Dec 10, 2007 11:25 AM
    add the cod to run as a local application

  • Unable to Obtain a Connection to Hyperion Essbase from Planning Application

    Dear All,
    I have installed FDM+Foundation+HFM+Essbase+Planning 11.1.1.3 (Tomcat)
    I have stacked with the following problem:
    when I try to open my data form, I am getting
    “Unable to obtain a connection to Hyperion Essbase. If this problem persists, please contact your administrator”
    Validate Database Connection & Validate Essbase Connection are successful throw Manage Data Source menu
    Essbase user has admin privileges
    In EAS console I can make myself sure, that my application is running
    Data Form is valid (verified in Preview screen in Data Form wizard)
    Can somebody help me with it?
    Best Regards,
    Siarhei

    Thanks, John
    Summary
    Symptoms
    When attempting to connect to Hyperion Planning as the admin user, the following error occurs:
    Unable to obtain a connection to Hyperion Essbase. If the problem persists, please contact your administrator'
    Cause
    Hyperion Planning web accesses the application by making a connection to the Planning metadata in the relational repository (via Relational repository settings) and also to Essbase via the datasource settings.
    Any Essbase connection issues indicate problems with the Essbase settings in the datasource or are related to the Essbase server.
    Solution
    - Edit the datasource via the Configuration Utility.
    - Test the Essbase connection and make sure that the user used to make the connection is valid and has admin rights to Essbase.
    - Restart the Hyperion Planning service once the Essbase user has been given the correct access rights.
    - Login to the Essbase Administration Services (EAS) console and right click on the Essbase server name node -> Refresh security from Shared Services
    - Expand the applications node (under the Essbase server name node) and check that there is an application with exactly the same name as the Planning application.
    Note: Go to section 'manually recreating a Planning application in Hyperion Essbase, if the Planning application is missing in the above step.
    - Login to the application in Hyperion Planning web.
    Manually recreating a Planning application in Essbase:
    - Login to the EAS console as admin (the Essbase user used by admin must have Essbase administrator rights)
    - Go to Essbase servers -> your Essbase server name -> right click on applications -> Create application -> Using Block Storage and enter the exact Hyperion Planning Application name then click on ok.
    Note: The above step will only create the application shell without the databases.
    - Login to the application in Hyperion Planning web as admin and go to Administration menu -> Manage Database -> select database and filters (to create filter access to Essbase) and Refresh (refresh will also recreate the databases if they don't exist)
    Best Regards,
    Siarhei

  • Connection TimeOut in Websphere App Server.

    Hi,
    I am using JSF with JNDI and WebSphere to get query details. We have set the Connection Pooling Timeout in JNDI DataSource settings in WebSphere to 60 minutes.
    I have attached the Exception Stack Trace for your verification. This is a very serious exception which is hindering us from running any query that is running more than 10 minutes. Please suggest.
    Exception = com.ibm.wsspi.webcontainer.ClosedConnectionException
    Source = com.ibm.ws.webcontainer.srt.BufferedWriter.writeOut
    probeid = 416
    Stack Dump = com.ibm.wsspi.webcontainer.ClosedConnectionException: OutputStream encountered error during write
         at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:108)
         at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:96)
         at sun.nio.cs.StreamEncoder$ConverterSE.implFlushBuffer(StreamEncoder.java:293)
         at sun.nio.cs.StreamEncoder$ConverterSE.implFlush(StreamEncoder.java:299)
         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:210)
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:236)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.writeOut(BufferedWriter.java:486)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.flushChars(BufferedWriter.java:372)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.flush(BufferedWriter.java:347)
         at java.io.PrintWriter.flush(PrintWriter.java:291)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at com.ibm.ws.cache.servlet.FragmentComposer.requestFinished(FragmentComposer.java:393)
         at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:480)
         at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:281)
         at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:256)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
         at com.ibm.faces.context.MultipartExternalContextImpl.dispatch(MultipartExternalContextImpl.java:320)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:257)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:276)
         at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:463)
         at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:281)
         at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:256)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at com.filter.ApplicationSessionExpiryFilter.doFilter(Unknown Source)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
         at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Caused by: java.io.IOException: Async IO operation failed, reason: RC: 32 There is no process to read data written to a pipe.
         at com.ibm.io.async.AbstractAsyncChannel.multiIO(AbstractAsyncChannel.java:474)
         at com.ibm.io.async.AsyncSocketChannelHelper.write(AsyncSocketChannelHelper.java:478)
         at com.ibm.io.async.AsyncSocketChannelHelper.write(AsyncSocketChannelHelper.java:396)
         at com.ibm.ws.tcp.channel.impl.AioSocketIOChannel.writeAIO(AioSocketIOChannel.java:281)
         at com.ibm.ws.tcp.channel.impl.AioTCPWriteRequestContextImpl.processAsyncWriteRequest(AioTCPWriteRequestContextImpl.java:49)
         at com.ibm.ws.tcp.channel.impl.TCPWriteRequestContextImpl.writeInternal(TCPWriteRequestContextImpl.java:166)
         at com.ibm.ws.tcp.channel.impl.TCPWriteRequestContextImpl.write(TCPWriteRequestContextImpl.java:137)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.asynchWrite(HttpServiceContextImpl.java:2376)
         at com.ibm.ws.http.channel.impl.HttpServiceContextImpl.sendOutgoing(HttpServiceContextImpl.java:2165)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundServiceContextImpl.sendResponseBody(HttpInboundServiceContextImpl.java:778)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.writeBufferAsynch(WCChannelLink.java:307)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.writeBufferResponse(WCChannelLink.java:287)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.writeBuffer(WCChannelLink.java:241)
         at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.flushWriteBuffer(WCCByteBufferOutputStream.java:401)
         at com.ibm.ws.webcontainer.channel.WCCByteBufferOutputStream.write(WCCByteBufferOutputStream.java:147)
         at com.ibm.ws.webcontainer.srt.SRTOutputStream.write(SRTOutputStream.java:96)
         at sun.nio.cs.StreamEncoder$ConverterSE.implFlushBuffer(StreamEncoder.java:293)
         at sun.nio.cs.StreamEncoder$ConverterSE.implFlush(StreamEncoder.java:299)
         at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:210)
         at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:236)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.writeOut(BufferedWriter.java:486)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.flushChars(BufferedWriter.java:372)
         at com.ibm.wsspi.webcontainer.util.BufferedWriter.flush(BufferedWriter.java:347)
         at java.io.PrintWriter.flush(PrintWriter.java:291)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:233)
         at java.io.PrintWriter.flush(PrintWriter.java:291)
         at com.ibm.ws.cache.servlet.CacheProxyWriter.flush(CacheProxyWriter.java:159)
         at com.ibm.ws.cache.servlet.FragmentComposer.requestFinished(FragmentComposer.java:393)
         at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:480)
         at com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:281)
         at com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.java:256)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:225)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:639)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1034)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:997)
         at com.ibm._jsp._extract_5F__jspService(_extract_5F_java:91)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWrapper.java:276)
         at com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java:463)
         ... 51 more

    http://redeyeinteractive.com/index.eye?cart=1027565021121425&membersku=[membersku]&action=specific&SKU=507921572586523
    if this link don't work go to http://redeyeinteractive.com
    go to there java\applets path u will see a file upload component
    u can down load trial version free it is very easy to use.
    Good luck.

  • Using Unicode with MS-SQL-Server 2000

    Hello,
    i want to migrate my coldfusion application to support
    unicode. for that i read some articles here in the knowledge bas e
    and on the web. So i actually tested with:
    * correct use of cfcontent,cfprocessingdirective
    * storing source-files with UTF8 (BOM)
    * activating Unicode-handling for strings in
    datasource-settings of coldfusion admin
    * using nvarchar instead of varchar on mssql-server
    my firsts test displaying diffrent characters of different
    languages (chinese, japanese, arabic) look good. Tests storing and
    selecting example strings in that languages also look good.
    but now i read, that mssql stores unicode data with the UCS-2
    implementation and cannot handle UTF-8 directly. but my
    coldfusion-application will be converted to UTF-8.
    now my question: Do i have to do special handling storing and
    selecting the application data or does this the mssql jdbc driver
    for me. What about characters in some languages which use 3 Bytes
    in UTF8. How are they handled when MS-SQL-Server 2000 uses UCS-2
    (max 2 Bytes) instead?
    Many regards for your answers
    McD

    mcd wrote:
    > now my question: Do i have to do special handling
    storing and selecting the
    > application data or does this the mssql jdbc driver for
    me. What about
    > characters in some languages which use 3 Bytes in UTF8.
    How are they handled
    > when MS-SQL-Server 2000 uses UCS-2 (max 2 Bytes)
    instead?
    no need to worry, the db driver will handle that for you.
    just make sure your
    encoding is the same end-to-end.
    also a potential gotcha has just been exposed in unicode
    handling for sql server
    related to cfqueryparam under loads, you need to convert
    everything to "N"
    datatypes to avoid this. see jochem's blog:
    http://jochem.vandieten.net/2008/03/22/ms-sql-server-and-the-coldfusion-string-format-sett ing/

  • Error when generating program /SAPAPO/TSM141 and Errors in source system

    Hello APO Experts!
    I had to include a new key figure in the cube and the planning area with configuration semantic = 000.
    The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error "Error when generating program /SAPAPO/TSM141" and u201CErrors in source systemu201D when trying to load data in the Infopackage.
    Do you have any idea of what this could be?
    Best Regards
    Nik

    Hello,
    The problem may come from the inconsistency between the datasource settings and the content in table /SAPAPO/TSAREATE.
    - SE16, go to table /SAPAPO/TSAREATE, input the planning area name, check the extraction structure, which is started from  '/1APO/EXT_STRU'.
    - SE16, go to table /SAPAPO/TSAREAEX, input the datasource name, and check the extraction structure.
    Are the two extraction structures the same or different ?
    If they're different, please read the below solutions, otherwise, you can ignore the following.
    In general and most customer cases this inconsistency happens during transporting of datasource alone. In many cases the planning area is directly created at target system and datasoucre transported from a a different system which causes incorrect export structure entry in planning area table.
    Please refer to following content from note 549184:
    Q4: Why could I have extraction problem after transport of DataSource?
    A4: DataSources for DP/SNP planning areas depend directly on the  structure of the planning areas. That's why the planning area MUST  ALWAYS be transported with or before the DataSource.
    The simple solution will be to create a dummy data source for this planning area. This will regenerate the extract structure for all other data sources as well and update the corresponding tables. After that you can delete the dummy datasource.
    After delete the dummy datasource, in case of inconsistency, please also run the report /SAPAPO/TS_PSTRU_GEN report for
    - Basis - form routines
    - Create planning objects
    - Planning area extractor
    with the flags "Reset generation time stamp" and "Generate" set.
    And in order to transfer datasource correctly, please also refer to the consulting note 514524.
    Best Regards,
    Ada

Maybe you are looking for

  • Have upgraded to Snow Leopard. Pages icon still there but wont open, and i cant open my pages docs. Any ideas

    Have upgraded to Snow Leopard. Pages icon still on dock but wont open. Also I cant view my documents. Do I have to buy Pages from ITunes? Thankyou

  • How to edit a datablock

    I have a datablock that was already created. I need it to display another column on that layout. I don't want to run the wizard again because i have to many triggers and things created and don't want to lose it all. I added another display item which

  • CIF: ECC Material without plant assignment

    Hi Experts, i have a question regarding to CIF'ing of ECC materials to APO. Is it possible to CIF ECC materials to APO without an assignment of a plant to this material? If yes, how is this possible? We have several materials without such an assignme

  • War file generated in WinXPPro gives runtime error in Win2003Server

    Hi, I'm using Netbeans4.1 to compile my jsp application war file in windowsXP Pro environment. But when I try to deploy the war file to production server that is running Win2003Server, it gives the following error. At the end, I install NetBeans4.1 o

  • Install 32 bit or 64 bit version of Windows?

    I plan to install Windows using Parallels. I have a MacBook Pro i5 Intel processor. I haven't purchased Windows yet and noticed it comes in 32 bit and 64 bit versions. I tried reading up on the difference and I sort of understand what they are saying