Behavior of Fetchsize on Application Server

I have not been able to find this documented anywhere and I'm hoping someone can clear it up.
Let's assume I've set a DataReader's FetchSize to 1,073,741,824 (1GB) but the DB only returns 1,048,576 bytes(1MB) of data.
Now I know that the DataReader in this case can use up to 1GB of memory to store DB data, but does it actually request the 1GB of memory to be allocated or does in increase it's memory allocation on demand, much like the C++ vector?
My DB calls under normal conditions will not return more than 100 MB of data and most results are under 1MB. However, due to the number of calls that can occur at once in a multiuser enviroment, I cannot afford to have fetchsize pre-allocate the maximum possible result size for every call. Increasing FetchSize to match the size of the result set is greatly improving the performance, but we cannot dynamically determine the ideal value for each query because we are using ref cursors. Therefore we are considering setting FetchSize to a very large number.
This code is being run on VS 2008 using .Net 3.5 with ODP 10.1.
To sum it up:
Does DataReader.FetchSize represent the maximum memory that can be used by the DataReader, or does it represent the amount of memory pre-allocated to the DataReader?
Thanks

Hi,
Might help u..
Re: How to create sap directories in application server by coding.
Thanks..
Edited by: Sap Fan on Mar 2, 2009 7:51 AM

Similar Messages

  • Developing for a Oracle Application Server with SSO

    Hello there,
    I'm developing an application (Java) that will be deployed as a partner application within an Oracle Application Server 10g at my client. This Oracle instance has a SSO already configured, and my app will use this Identity Manager (consuming the cookie). The problem is that at my company we don't have a SSO system configured, not even an Oracle Application Server, just a simple Oracle XE 10g to hold data. So I'm wondering how can I do to develop my application and test it.
    I was looking forward to install an OAS and configure an SSO to validate my implementation, but the download link provided by Oracle is broken (http://www.oracle.com/technology/products/ias/index.html). Another alternative that I thought of was to install an OC4J and configure a Java SSO to simulate the behavior of OSSO, and make my app the cookie set by it. But OC4J supports only til Servlet 2.4 and my app is using 2.5...
    And to complete, I cannot access my client's environment. I'm supposed to write a Deploying document telling him how to deploy my app and then try to access it through Internet.
    Does anyone have an idea of how can I develop and test my app in my company's environment?
    Thanks in advance,
    Bruno Krebs.

    Apache 2.0 based OHS is located in Oracle Application Server Companion CD.
    Pavna

  • Picking a IDOC Flat File stored in SAP R/3 Application Server by SAP PI

    Hi,
    Can SAP PI pickup a IDOC Flat File stored in SAP R/3 Application Server Directory and send it back as an Inbound IDOC.
    Scenario:
    We have a data in the EXCEL Sheet, which will be used to a fill an IDOC and the IDOC will be just save in the SAP R/3 Application Server Directory, but can not be triggered due to its peculiar behavior. Afterwards, SAP PI should pole the SAP R/3 and pick up that IDOC Flat File from the R/3 Application Server and send it back to the SAP R/3 as an Inbound IDOC.
    For Ref: IDOC does not have a Outbound Process Code, thus can not be triggered and send to SAP PI. It is always used as a Inbound IDOC in SAP R/3 system.
    Regards,
    Saurabh

    SAP PI should pole the SAP R/3 and pick up that IDOC Flat File from the R/3 Application Server
    If SAP PI = 7.11 --> /people/william.li/blog/2009/04/01/how-to-use-user-module-for-conversion-of-idoc-messages-between-flat-and-xml-formats
    send it back to the SAP R/3 as an Inbound IDOC
    why to send  some information again into R3 which it already has? cant some internal code in R3 read the info from excel and then update the IDOC directly?

  • [JPA] Logging in Oracle Application Server

    Hi,
    I have a problem that the logging of SQL statements is lost in an application deployed in OAS 10.1.3.1.
    I have set the following property in persistence.xml:
        <property name="toplink.logging.level" value="FINER"/>In Java SE and in the standalone OC4J, the SQL is printed in the console window. However, when deployed in the Oracle Application Server, the SQL statements are lost. They are not in the standard server's log file in $ORACLE_HOME/opmn/logs/ default_group~home~default_group~1.log where the rest of the log data can be found.
    Can anybody tell me if there's anything special about JPA logging in OAS?
    We currently use TopLink Essentials v2.0-b58g (RC8) but we have also tried with other versions and there's no SQL info in the log.
    Best regards,
    Bisser

    Thank you very much!
    I tried that option too. Sadly, it didn't work.
    Now I have the following in persistence.xml:
        <property name="toplink.logging.level" value="FINEST"/>
        <property name="toplink.logging.level.sql" value="FINEST"/>I re-deployed the application. I even restarted the server. But nope, nothing helped. TopLink Essentials doesn't print to the standard console log and I don't know if it prints anywhere at all (and if it does, where?).
    Through the server's administration console, I can see the following in the "Logger configuration":
    oracle.toplink.essentials.session.file:/u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/applications/asmPreview/asmModel.jar-ASM:  FINEST
        oracle.toplink.essentials.session.file:/u01/app/oracle/product/10.1.3.1/OracleAS_1/j2ee/home/applications/asmPreview/asmModel.jar-ASM.sql:  FINEST
    .Previously, the latter was NULL, which meant that it was inheriting from its parent log. But now it's explicitly set to "FINEST" and yet it doesn't print anything.
    I wish I could force it to print somehow. That would aid us a lot in the functional testing, when we see strange behavior.

  • Installing Sun Application Server 8.1 on Win2k3 Fails

    Hi,
    I have tried several times, 8 or more, to install Sun Application Server 8.1 on Win2k3 Server Standard Edition sp1. However, the install places the relevant files onto the disc only to remove them.
    The archive I am using is java_es_05Q1_appserver-windows-x86.zip.
    I have jdk1.4.2_06 installed however, the installer installs JDK1.5.0.
    The only message I receive is displayed in a window:
    The wizard was interrupted before Sun Java Enterprise System could be completely installed
    Pls Help.
    Regds

    Hi,
    Java ES 2005 Q1 is not supported on Windows 2003.
    Please use Java ES 2005 Q4 release.
    If you still encounter problems, please provide the following details
    - What type of configuration did you choose?
    - Was there a Summary.txt file created where you installed Java ES?
    (need to see contents of that)
    - JDK1.5.04 is required so it is correct behavior that installer is placing that on your disk - further installation will not do this.
    - Installation log can be found at
    %TEMP%/SunJavaES.log
    Reference: Troubleshooting chapter of Install guide.
    http://docs.sun.com/source/819-1652/troubleshooting.html#wp999001
    Hi,
    I have tried several times, 8 or more, to install Sun
    Application Server 8.1 on Win2k3 Server Standard
    Edition sp1. However, the install places the relevant
    files onto the disc only to remove them.
    The archive I am using is
    java_es_05Q1_appserver-windows-x86.zip.
    I have jdk1.4.2_06 installed however, the installer
    installs JDK1.5.0.
    The only message I receive is displayed in a window:
    The wizard was interrupted before Sun Java Enterprise
    System could be completely installed
    Pls Help.
    Regds

  • How to change key on runtime form in application server

    How it is possible reconfigure key on froms in application server ????
    List Values on Client = key "F9"
    List values on Application = key "CTRL + L"
    and so on.....
    can j have the same on client version like apllication ???
    Thank You !!

    Mike,
    the fmrweb.res file in the forms90 directory controls the behavior of Forms function keys. There is a file called fmrpcweb.res in the same directory that you can use to bring back client/server key mapping to Forms on teh Web.
    1. rename fmrweb.res to something different
    2. Make a copy of fmrpcweb.re and name it fmrweb.res
    Frank

  • Application server keeps redeploying

    I have some managed servers.
    For some reason, when the application server is starting, it keeps redeploying the application.
    I tried deleting the applications from the administration console, shutting down the servers, and removing all .ear files from the local system.
    Application server starts up normally.
    However, when deploying, the problem start to occur everytime.
    The thing is that the same .ear file was there for weeks without any problem.
    <Aug 16, 2005 9:37:48 PM GMT> <Notice> <Management> <BEA-141131> <A deployment is in progress to the cluster to which this server belongs. Proceeding with the start up of this server may interfere with that deployment. This could in turn lead to unexpected application behavior. To avoid this situation, this server will wait for 15 seconds to give the deployment a chance to finish. After waiting, this server will retry connecting to the admin server to continue with its start up. If the deployment is not complete by that time, further retry attempts will be made until the deployment times out in 3,435 seconds, after which the server proceeds with the start up.>
    <Aug 16, 2005 9:38:03 PM GMT> <Info> <Configuration Management> <BEA-150015> <Connecting to the administration server http://192.168.166.46:9001 to retrieve the initial configuration.>
    <Aug 16, 2005 9:38:04 PM GMT> <Error> <Configuration Management> <BEA-150001> <An error occurred while connecting to the admin server to bootstrap through URL: http://192.168.166.46:9001/wl_management_internal2/Bootstrap, user: weblogic
    <weblogic.management.internal.DeploymentInProgressException: DeploymentInProgress
    <     at weblogic.management.ManagedServerAdmin.retrieveMBeansFromAdminServer(ManagedServerAdmin.java:532)
    <     at weblogic.management.ManagedServerAdmin.initialize(ManagedServerAdmin.java:152)
    <     at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:771)
    <     at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:670)
    <     at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:344)
    <     at weblogic.Server.main(Server.java:32)

    I'm not sure I completely understand what you're experiencing.
    You're saying that the server starts fine, but if you deploy an application that the managed server is repeatedly redeploying it?
    Do you see that ConfigurationManagement error over and over?
    What version of WLS are you running?
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Application Server Control - Test Service asks to authenticate when Stress

    Hi,
    OAS 10.1.3.4
    When we go to test a Web Service and then select the Stress Test Option we get asked to authenticate to the application server when the Invoke button is selected. If I perform a stress test from BPEL Console for the same BPEL process there is no issue and it runs fine. This seems to happen in ASC for BPEL, ESB and Java Web Services.
    Same problems on different servers, so doesn't look like a particular install issue.
    Has anyone experienced the same behaviour or know of a workaround as we need to stress test more than just BPEL processes?
    Thanks

    I think this is a normal behavior if you are not using SSO, because for every applicaiton you access you will have to enter username and password, but for BPEL console you have been already entered this password so it doesn't ask for it again because is like an internal object, but for EM console, you are accessing and external object that needs authentification.
    Regards.

  • Is there a possibility to run tRFC entries alone in Separate application server

    Please let me know if there is a possibility to run tRFC entries alone in separate application server.
    If yes , kindly let me know how it can be tracked and separated to server as we have immediate idocs also which will run via tRFC.
    Thank you !!

    Hi,
    Thank you for your interesst.
    This internet button key is one of buttons located above the keyboard near the power button. What I have achieved to this moment was to stop it functionality in the system by clearing the entries in the fields Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\17\ShellExecute and entry
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\7\Association that was http
    After these changes in registry the behavior of the button was suppressed, the Firefox stopped to start unexpectedly all the time – so in system it works. But the problem is still when I have opened Firefox. Every time when you want to surf in internet – the homepage is activated also unexpectedly. I wrote this post with intention to ask if there is a possibility to switch off the functionality of this quick launch button in Firefox. Because I assume Firefox overrides the system setup – this I have made in registry. I tried with some option changes in about:config but without success. And I know that for older versions of firefox was some option in about:config do disable_quick launch button. But in 10.0.2 I couldn't locate it.
    Thank you
    Regards
    Lukasz

  • Production server Databse & Application Server hang

    Dear ALlt ,
    Yesterday , After whole Offline + redolog Backup finish successfully,
    my Database and Application Servers becomes hang. ( Nobody User logn to
    the SAP ).
    I able to Login telnet , to see the Lnrctl status , is hang.
    so ,using sqlpls shut down oracle nortmal, restart the server.
    After the Reboot of Database and Application Server System works
    Normal.Now I am unable to find out Why the Server becomes hang ?
    So avoid this Error in future , Please suggest the solution.
    We are running SAP Ecc 6.0 + Oracle 10.2.0.2 + Hp unix 11.23
    Thanks is advance
    Santosh

    Hi,
    I have seen such behavior only on windows systems that
    have been rarely booted and used offline Backup via DB13
    while SAP keeps running. After a while
    lsnrctl services
    may show an excessive number of comslots in use.
    It is new for me that this can happen on Unix as well.
    I have customers runnning one offline backup a week, and
    in general, on W2K3 you'll get along for one and a half year.
    So when you are tight on security fixes, in this amount of
    time you generally have a reboot, so no problem occurs.
    (But one of my customers is very lazy in this area, we had
    two of these hangs at his site. Was with 9.2 and 10.2 of Oracle.)
    Btw: on windows it does not help to simply restart the listener.
    Allthough the amount of sevice connection drops instantly.
    I think it has to be related with the re-connect retries SAP is doing
    in offline backup, because system only doing online backups show
    a lot less of these used slots.
    Did not find anything to fix this since yet. And no, we did not log any
    call for this, because noboy wants to wait for support reaction, when
    a boot fixes it and it is comming only every 18 months.
    Volker

  • How to disable Jar cache on Application Server

    Hello,
    I am now developing a Webdynpro Project in the following enviroment:
    Windows 2003 Server 64Bit SP2
    JDK 5.0 Update 12
    Windows x64 Platform
    info at sun Installation Notes , Supported System Configurations
    C:\Program Files\Java\jdk1.5.0_12
    NetWeaver Composition Environment 7.1 (Application Server Java)
    Since I need always change my code wiin a jar file and upload it as a library.
    The default behavior of Application Server is to support java cache locally in JVM. That brings me many problems  (Like can't find new implemented class by dynamical class loader,  ref. http://www.szegedi.org/articles/remotejars.html )
    It there any way to disable JAVA cache on the Application Server?
    Besides, someone told spawning a new JVM for loading the jar may also work. Does our AS support spawning JVM explicitly?
    Message was edited by:
            Zenghuan Shan

    I also want to know if it is possible to disable the cache on server. In my situation, we are deploying the par file (portlet archive) to development server. Could anybody please help?

  • Application Server 4.0 caching the Java Servlet Program

    Hi all,
    I am working with Oracle8i databse and Oracle Application Server 4.0. Now I need to develop some Java Servlet's Program. I successful configure the server and my Servlet program can connect to the Oracle database.
    However, when I make some modification to the program and recompile it. The browser cannot refresh to the modified program. This mean that the content is't update. I think the reason may be the previous program is cached in server.
    Later, I discover using the 'owsctl' utility to reload the application server can solve this problem. However, it is quite inconvenience and not favour to reloasd the server very frequently. And I guess there may have some configuration parameters in the 'OAS Manager' can help me to solve my problem.
    So, anyone can tell me how to solve this problem? Thank you very much.
    Regards

    OAS 4.0.8.1 supports servlets. You need a patch if you implement extra path info feature of servlets. In addition, you have to bounce OAS everytime you upload new servlets. This behavior does not follow the Servlet spec and I don't know when Oracle will fix it. It is a big problem for sites trying to run 24x7.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by dlnoida:
    Dear All,
    I have an application built in applets, i wants to host them on OAS 4.0.7.
    How can i do it if possible? Do i reqire any third party tool for it ?
    Is OAS 4.0.8 supports servlets?<HR></BLOCKQUOTE>
    null

  • Application server sould not able to send mails once my DR Connetivity down....

     Hi all
    I am using my applications server to send mail through my exchange 2010 server. I also have my DR Site server for Exchange 2010 with DAG concept.
     please find below my server setups
    Main site
    1. Exchange MBX
    2.Exchange HUB/CAS
    3.Exchange Edge Server.
    DR site
    1. Exchange MBX/HUB/CAS
    2. Exchange Edge
    MBX Server are configured with DAG for Database High availlablity. we have p2p link between main site and DR Site.
    We created  the below receive connector in both our HUB server  for accept the mails from my applications server.
    1.  connector name : Application_ connector- selected the Custom option
    2. network --> use the local ip address to receive mail --> All available ipV4  port 25
    Receive mail from remote server that have these ip address --> 10.X.X.X --> my application server.
    3.Authentication --> basic authentication, Exchange server Authentication
    4.Permission group --> anonymous user, Exchange users, Exchange Servers, Legcy exchange servers.
     it was working fine  its send the mail  internally not issue.
    All the DBs are mounted in our main site Only.
    1. last week  my DR Site P2P link got down that time the mails sent from application server was not received by our users. I don't know why?
    2. once the Link got up the mail flow happened. For testing purpose I disabled the application receive connector in  DR HUB server and immediately the application mail flow got down.  since all the mail flow taking care by main site,   How
    my applications server mail itself taking my DR. I also checked my application server mail config and its configured with my main site HUB  server only.
    3.  now I also want  my application to send mail to external users.  How to enable this?  how secure it was?
    I am not able to complete the above issue for the past week. any body will help me to resolve the issue much appreciated....
    thanks in advance
    Jags

    With one mailbox server in the production site and one in the DR site, you do not have high availability.  If the main site goes down, the cluster loses quorum and all databases dismount.  You must then force quorum or move the file share
    witness to restore quorum.
    I can't tell you why what you observed happened.  At the time of the problem I would have been looking at the transport queues to see what's queued and to where.
    I recommend you look at the configuration of your send connectors to ensure that none of them are dependent upon the DR site server.
    To send mail outside, you must allow relay.  To do this, I recommend you create a new receive connector that's configured to allow relay and restrict access to the application server to keep anyone else from using it to relay.  There are plenty
    of articles on the Internet that describe how to configure a relay connector.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Applications stopped to work after application server restarted

    Hi all,
    Does anybody face the following problem? Applications which worked properly before application server (WLS Release 11.1.1) restart change their behavior. Particularly, instead label text of arguments of entity objects pages display arguments original names like control hints had not been configured. Only after redeployment the same ear file applications return back to normal. It never happens on local JDeveloper (11.1.1.3) environment. I guess that something wrong in application server application.
    Thanks,
    SNikiforov

    For jdev 11.1.1.3 you need a wls 10.3.3 server. otherwise you run into problems. For more info check http://wp.me/pcBZk-7S
    Timo

  • Urgent-Application server 9 will not start

    The Sun Java System Application System could not start. I am using Netbeans 5.5. The following was displayed.
    More information about the causes is in the Server log file.
    Possible reasons include;
    - IDE timeoout: refresh the server node to see if its running now.
    - Port conflicts. (use netstat - a to detect possible port numbers already used by the operating system.)
    - Incorrupt server configuration (domain.xml to be corrected manually)
    - Corrupted Deployed Applications preventing the server to start. (This can be seen in the server.log file. In this case, domain.xml needs to be modified).
    I would like to reset the domain.xml file as though no project has ever been deployed to the server how can this be done. Please help.

    domain.xml :
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!--
    Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    -->
    <!-- Generated from default-domain.xml.template -->
    <!-- Avoid manual edits of this file. Run "asadmin verify-domain-xml" otherwise.--><!DOCTYPE domain PUBLIC "-//Sun Microsystems Inc.//DTD Application Server 9.1 Domain//EN" "http://www.sun.com/software/appserver/dtds/sun-domain_1_3.dtd">
    <domain application-root="${com.sun.aas.instanceRoot}/applications" log-root="${com.sun.aas.instanceRoot}/logs">
    <applications>
    <web-module availability-enabled="false" context-root="/web1" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/adminapp/adminapp_war" name="adminapp" object-type="system-admin">
    <!-- System Web Module - DO NOT DELETE! -->
    </web-module>
    <web-module availability-enabled="false" context-root="" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/admingui/adminGUI_war" name="admingui" object-type="system-admin">
    <!-- System Web Module - DO NOT DELETE! -->
    </web-module>
    <web-module availability-enabled="false" context-root="/__wstx-services" directory-deployed="true" enabled="true" location="${com.sun.aas.installRoot}/lib/install/applications/wstx-services" name="WSTXServices" object-type="system-all"/>
    <lifecycle-module class-name="com.sun.jbi.framework.sun.SunASJBIBootstrap" classpath="${com.sun.aas.installRoot}/jbi/lib/jbi_framework.jar" enabled="true" is-failure-fatal="false" name="JBIFramework" object-type="system-all">
    <description>"JBI Framework LifecycleModule"</description>
    <property name="com.sun.jbi.home" value="${com.sun.aas.installRoot}/jbi"/>
    </lifecycle-module>
    <lifecycle-module class-name="com.sun.xml.ws.transport.tcp.server.glassfish.WSTCPLifeCycleModule" classpath="${com.sun.aas.installRoot}/lib/webservices-rt.jar" enabled="true" is-failure-fatal="false" name="WSTCPConnectorLCModule" object-type="system-all"/>
    </applications>
    <resources>
    <jdbc-resource enabled="true" jndi-name="jdbc/sample" object-type="user" pool-name="SamplePool"/>
    <jdbc-resource enabled="true" jndi-name="jdbc/__TimerPool" object-type="system-admin" pool-name="__TimerPool"/>
    <jdbc-resource enabled="true" jndi-name="jdbc/__CallFlowPool" object-type="system-all" pool-name="__CallFlowPool"/>
    <jdbc-resource enabled="true" jndi-name="jdbc/__default" object-type="user" pool-name="DerbyPool"/>
    <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="__CallFlowPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
    <property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/sun-callflow"/>
    <property name="connectionAttributes" value=";create=true"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="__TimerPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
    <property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.ClientDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="DerbyPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.DataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
    <property name="PortNumber" value="1527"/>
    <property name="Password" value="APP"/>
    <property name="User" value="APP"/>
    <property name="serverName" value="localhost"/>
    <property name="DatabaseName" value="sun-appserv-samples"/>
    <property name="connectionAttributes" value=";create=true"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool allow-non-component-callers="false" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="org.apache.derby.jdbc.ClientDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" lazy-connection-association="false" lazy-connection-enlistment="false" match-connections="false" max-connection-usage-count="0" max-pool-size="32" max-wait-time-in-millis="60000" name="SamplePool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.DataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
    <property name="DatabaseName" value="sample"/>
    <property name="User" value="app"/>
    <property name="Password" value="app"/>
    <property name="URL" value="jdbc:derby://localhost:1527/sample"/>
    <property name="PortNumber" value="1527"/>
    <property name="serverName" value="localhost"/>
    </jdbc-connection-pool>
    </resources>
    <configs>
    <config dynamic-reconfiguration-enabled="true" name="server-config">
    <http-service>
    <access-log format="%client.name% %auth-user-name% %datetime% %request% %status% %response.length%" rotation-enabled="true" rotation-interval-in-minutes="15" rotation-policy="time" rotation-suffix="yyyy-MM-dd"/>
    <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-1" port="8080" security-enabled="false" server-name="" xpowered-by="true">
    <property name="proxiedProtocols" value="ws/tcp"/>
    </http-listener>
    <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="server" enabled="true" family="inet" id="http-listener-2" port="8181" security-enabled="true" server-name="" xpowered-by="true">
    <ssl cert-nickname="s1as"/>
    </http-listener>
    <http-listener acceptor-threads="1" address="0.0.0.0" blocking-enabled="false" default-virtual-server="__asadmin" enabled="true" family="inet" id="admin-listener" port="4848" security-enabled="false" server-name="" xpowered-by="true"/>
    <virtual-server hosts="${com.sun.aas.hostName}" http-listeners="http-listener-1,http-listener-2" id="server" log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">
    <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
    <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
    <property name="sso-enabled" value="false"/>
    </virtual-server>
    <virtual-server hosts="${com.sun.aas.hostName}" http-listeners="admin-listener" id="__asadmin" log-file="${com.sun.aas.instanceRoot}/logs/server.log" state="on">
    <property name="docroot" value="${com.sun.aas.instanceRoot}/docroot"/>
    <property name="accesslog" value="${com.sun.aas.instanceRoot}/logs/access"/>
    <property name="sso-enabled" value="false"/>
    </virtual-server>
    <request-processing header-buffer-length-in-bytes="8192" initial-thread-count="2" request-timeout-in-seconds="30" thread-count="5" thread-increment="1"/>
    <keep-alive max-connections="250" thread-count="1" timeout-in-seconds="30"/>
    <connection-pool max-pending-count="4096" queue-size-in-bytes="4096" receive-buffer-size-in-bytes="4096" send-buffer-size-in-bytes="8192"/>
    <http-protocol default-response-type="AttributeDeprecated" default-type="text/html; charset=iso-8859-1" dns-lookup-enabled="false" forced-response-type="AttributeDeprecated" forced-type="text/html; charset=iso-8859-1" ssl-enabled="true" version="HTTP/1.1"/>
    <http-file-cache file-caching-enabled="false" file-transmission-enabled="false" globally-enabled="false" hash-init-size="0" max-age-in-seconds="30" max-files-count="1024" medium-file-size-limit-in-bytes="537600" medium-file-space-in-bytes="10485760" small-file-size-limit-in-bytes="2048" small-file-space-in-bytes="1048576"/>
    <property name="accessLoggingEnabled" value="false"/>
    </http-service>
    <iiop-service client-authentication-required="false">
    <orb max-connections="1024" message-fragment-size="1024" use-thread-pool-ids="thread-pool-1"/>
    <iiop-listener address="0.0.0.0" enabled="true" id="orb-listener-1" port="3700" security-enabled="false"/>
    <iiop-listener address="0.0.0.0" enabled="true" id="SSL" port="3820" security-enabled="true">
    <ssl cert-nickname="s1as" client-auth-enabled="false" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
    </iiop-listener>
    <iiop-listener address="0.0.0.0" enabled="true" id="SSL_MUTUALAUTH" port="3920" security-enabled="true">
    <ssl cert-nickname="s1as" client-auth-enabled="true" ssl2-enabled="false" ssl3-enabled="true" tls-enabled="true" tls-rollback-enabled="true"/>
    </iiop-listener>
    </iiop-service>
    <admin-service system-jmx-connector-name="system" type="das-and-server">
    <!-- The JSR 160 "system-jmx-connector" -->
    <jmx-connector accept-all="false" address="0.0.0.0" auth-realm-name="admin-realm" enabled="true" name="system" port="8686" protocol="rmi_jrmp" security-enabled="false">
    <ssl cert-nickname="s1as"/>
    </jmx-connector>
    <!-- The JSR 160 "system-jmx-connector" -->
    <das-config admin-session-timeout-in-minutes="60" autodeploy-dir="${com.sun.aas.instanceRoot}/autodeploy" autodeploy-enabled="true" autodeploy-jsp-precompilation-enabled="false" autodeploy-polling-interval-in-seconds="2" autodeploy-verifier-enabled="false" deploy-xml-validation="full" dynamic-reload-enabled="true" dynamic-reload-poll-interval-in-seconds="2"/>
    </admin-service>
    <web-container>
    <session-config>
    <session-manager>
    <manager-properties/>
    <store-properties/>
    </session-manager>
    <session-properties/>
    </session-config>
    </web-container>
    <ejb-container cache-idle-timeout-in-seconds="600" cache-resize-quantity="32" commit-option="B" max-cache-size="512" max-pool-size="32" pool-idle-timeout-in-seconds="600" pool-resize-quantity="8" removal-timeout-in-seconds="5400" session-store="${com.sun.aas.instanceRoot}/session-store" steady-pool-size="0" victim-selection-policy="nru">
    <ejb-timer-service max-redeliveries="1" minimum-delivery-interval-in-millis="7000" redelivery-interval-internal-in-millis="5000"/>
    </ejb-container>
    <mdb-container idle-timeout-in-seconds="600" max-pool-size="32" pool-resize-quantity="8" steady-pool-size="0"/>
    <jms-service addresslist-behavior="random" addresslist-iterations="3" default-jms-host="default_JMS_host" init-timeout-in-seconds="60" reconnect-attempts="3" reconnect-enabled="true" reconnect-interval-in-seconds="5" type="EMBEDDED">
    <jms-host admin-password="admin" admin-user-name="admin" host="USER2" name="default_JMS_host" port="7676"/>
    </jms-service>
    <log-service alarms="false" file="${com.sun.aas.instanceRoot}/logs/server.log" log-rotation-limit-in-bytes="2000000" log-rotation-timelimit-in-minutes="0" log-to-console="false" retain-error-statistics-for-hours="5" use-system-logging="false">
    <module-log-levels admin="INFO" classloader="INFO" cmp="INFO" cmp-container="INFO" configuration="INFO" connector="INFO" corba="INFO" deployment="INFO" ejb-container="INFO" group-management-service="INFO" javamail="INFO" jaxr="INFO" jaxrpc="INFO" jdo="INFO" jms="INFO" jta="INFO" jts="INFO" management-event="INFO" mdb-container="INFO" naming="INFO" node-agent="INFO" resource-adapter="INFO" root="INFO" saaj="INFO" security="INFO" self-management="INFO" server="INFO" synchronization="INFO" util="INFO" verifier="INFO" web-container="INFO"/>
    </log-service>
    <security-service activate-default-principal-to-role-mapping="false" anonymous-role="AttributeDeprecated" audit-enabled="false" audit-modules="default" default-realm="file" jacc="default">
    <!-- All administrative users use this realm by default. -->
    <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="admin-realm">
    <property name="file" value="${com.sun.aas.instanceRoot}/config/admin-keyfile"/>
    <property name="jaas-context" value="fileRealm"/>
    </auth-realm>
    <!-- All administrative users use this realm by default. -->
    <auth-realm classname="com.sun.enterprise.security.auth.realm.file.FileRealm" name="file">
    <property name="file" value="${com.sun.aas.instanceRoot}/config/keyfile"/>
    <property name="jaas-context" value="fileRealm"/>
    </auth-realm>
    <auth-realm classname="com.sun.enterprise.security.auth.realm.certificate.CertificateRealm" name="certificate">
    </auth-realm>
    <jacc-provider name="default" policy-configuration-factory-provider="com.sun.enterprise.security.provider.PolicyConfigurationFactoryImpl" policy-provider="com.sun.enterprise.security.provider.PolicyWrapper">
    <property name="repository" value="${com.sun.aas.instanceRoot}/generated/policy"/>
    </jacc-provider>
    <audit-module classname="com.sun.enterprise.security.Audit" name="default">
         <property name="auditOn" value="false"/>
    </audit-module>
    <message-security-config auth-layer="SOAP">
         <!-- turned off by default -->
    <provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="XWS_ClientProvider" provider-type="client">
         <request-policy auth-source="content"/>
         <response-policy auth-source="content"/>
         <property name="encryption.key.alias" value="s1as"/>
         <property name="signature.key.alias" value="s1as"/>
         <property name="dynamic.username.password" value="false"/>
         <property name="debug" value="false"/>
    </provider-config>
    <provider-config class-name="com.sun.xml.wss.provider.ClientSecurityAuthModule" provider-id="ClientProvider" provider-type="client">
         <request-policy auth-source="content"/>
         <response-policy auth-source="content"/>
         <property name="encryption.key.alias" value="s1as"/>
         <property name="signature.key.alias" value="s1as"/>
         <property name="dynamic.username.password" value="false"/>
         <property name="debug" value="false"/>
         <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
    </provider-config>
    <provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="XWS_ServerProvider" provider-type="server">
         <request-policy auth-source="content"/>
         <response-policy auth-source="content"/>
         <property name="encryption.key.alias" value="s1as"/>
         <property name="signature.key.alias" value="s1as"/>
         <property name="debug" value="false"/>
    </provider-config>
    <provider-config class-name="com.sun.xml.wss.provider.ServerSecurityAuthModule" provider-id="ServerProvider" provider-type="server">
         <request-policy auth-source="content"/>
         <response-policy auth-source="content"/>
         <property name="encryption.key.alias" value="s1as"/>
         <property name="signature.key.alias" value="s1as"/>
         <property name="debug" value="false"/>
         <property name="security.config" value="${com.sun.aas.instanceRoot}/config/wss-server-config-1.0.xml"/>
    </provider-config>
    </message-security-config>
    </security-service>
    <transaction-service automatic-recovery="false" heuristic-decision="rollback" keypoint-interval="65536" retry-timeout-in-seconds="600" timeout-in-seconds="0" tx-log-dir="${com.sun.aas.instanceRoot}/logs"/>
    <monitoring-service>
         <module-monitoring-levels connector-connection-pool="OFF" connector-service="OFF" ejb-container="OFF" http-service="OFF" jdbc-connection-pool="OFF" jms-service="OFF" jvm="OFF" orb="OFF" thread-pool="OFF" transaction-service="OFF" web-container="OFF"/>
    </monitoring-service>
    <diagnostic-service capture-app-dd="true" capture-hadb-info="true" capture-install-log="true" capture-system-info="true" compute-checksum="true" max-log-entries="500" min-log-level="INFO" verify-config="true"/>
    <java-config classpath-suffix="" debug-enabled="false" debug-options="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=9009" env-classpath-ignored="true" java-home="${com.sun.aas.javaRoot}" javac-options="-g" rmic-options="-iiop -poa -alwaysgenerate -keepgenerated -g" system-classpath="">
    <!-- various required jvm-options -->
    <jvm-options>-XX:MaxPermSize=192m</jvm-options>
    <jvm-options>-client</jvm-options>
    <jvm-options>-Djava.endorsed.dirs=${com.sun.aas.installRoot}/lib/endorsed</jvm-options>
    <jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy</jvm-options>
    <jvm-options>-Djava.security.auth.login.config=${com.sun.aas.instanceRoot}/config/login.conf</jvm-options>
    <jvm-options>-Dsun.rmi.dgc.server.gcInterval=3600000</jvm-options>
    <jvm-options>-Dsun.rmi.dgc.client.gcInterval=3600000</jvm-options>
    <jvm-options>-Xmx512m</jvm-options>
    <jvm-options>-Djavax.net.ssl.keyStore=${com.sun.aas.instanceRoot}/config/keystore.jks</jvm-options>
    <jvm-options>-Djavax.net.ssl.trustStore=${com.sun.aas.instanceRoot}/config/cacerts.jks</jvm-options>
    <jvm-options>-Djava.ext.dirs=${com.sun.aas.javaRoot}/lib/ext${path.separator}${com.sun.aas.javaRoot}/jre/lib/ext${path.separator}${com.sun.aas.instanceRoot}/lib/ext${path.separator}${com.sun.aas.derbyRoot}/lib</jvm-options>
    <jvm-options>-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver</jvm-options>
    <jvm-options>-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder</jvm-options>
    <jvm-options>-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory</jvm-options>
    <jvm-options>-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar</jvm-options>
    <jvm-options>-Dcom.sun.enterprise.taglisteners=jsf-impl.jar</jvm-options>
    <jvm-options>-XX:NewRatio=2</jvm-options>
    <!--
    Use the following jvm-options element to disable the quick startup:
         com.sun.enterprise.server.ss.ASQuickStartup=false
    --></java-config>
    <thread-pools>
    <thread-pool idle-thread-timeout-in-seconds="120" max-thread-pool-size="200" min-thread-pool-size="0" num-work-queues="1" thread-pool-id="thread-pool-1"/>
    </thread-pools>
    <management-rules enabled="true">
    </management-rules>
    </config> <!-- config model with name "server-config" ends -->
    </configs>
    <servers>
    <server config-ref="server-config" lb-weight="100" name="server">
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="adminapp" virtual-servers="__asadmin"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="admingui" virtual-servers="__asadmin"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="JBIFramework"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="WSTXServices"/>
    <application-ref disable-timeout-in-minutes="30" enabled="true" lb-enabled="false" ref="WSTCPConnectorLCModule"/>
    <resource-ref enabled="true" ref="jdbc/__TimerPool"/>
    <resource-ref enabled="true" ref="jdbc/__CallFlowPool"/>
    <resource-ref enabled="true" ref="jdbc/__default"/>
    <resource-ref enabled="true" ref="jdbc/sample"/>
    </server>
    </servers>
    <property name="administrative.domain.name" value="domain1"/>
    </domain>
    PLEASE HELP
    Edited by: cokskiblue on Feb 9, 2008 8:33 PM

Maybe you are looking for

  • Can no longer burn audio cd's -- urgent -- is iTunes update defective?

    I'm a composer-- we're getting ready to record another cd and I desparately need help here!! I can no longer burn an audio cd from a play list! It burns but not as an audio. I also looked on directions and I'm supposed to be able to do this. These ar

  • Changing the actual filename in iPhoto library?

    I am now finally starting to sift through the largest of my iPhoto libraries - tagging them by company and town, etc. When I was in the initial tagging phase (using a smart album showing me all those that had no tags), I noticed one picture with Gree

  • Oracle 9i Reports documentation

    Can some one give me a link to Oracle 9i Reports Documentation which explains how to create reports rather than about installation and stuff. thanks m

  • Iweb RSS feed problem

    I just posted my first site with iWeb and on my home page I want to use the RSS widget to display spinets from my blog page on the same site. I have published the site to my FTP host and now the site is live. (www.thezumbacrew.com) Now that it is liv

  • Ps 7.2 password

    Hi , I have (another) serious problem with Portlet and Sun Portal 7.2 I'm able to retrieve user info such as name, email , password in my portlet. The question is: the userPassword attribute is crypted password like: {SSHA}49yIzLiU+r1gxXbz5HeyQ7KFZzW