Application Pool and JClient

I don't understand if application pooling could be usefull in a JClient application (either Client/Server and EJB deployed).
If Yes what kind of benefits should I expect ?
How can I implement them ?
TIA
Tullio

As said,
not at present. If you read teh online help, then you will note that the session reference to the am pool is held with session cookies, something that JClient doesn't deal with.
Frank

Similar Messages

  • CR XI R2 "Database Login Failed" Recycled application pool and now it works

    Hello,
    I have a web application using CR XI R2 that has several reports which are pushed a dataset.  These reports have been runing fine until today when I received an error stating "Database login failed."  "Object reference not set to an instance of an object" in the report viewer control. 
    I recycled the application pool and the reports started working again. 
    My questions are:
    What could be the cause of this and how can it be avoided?
    Why does recycling the application pool correct the problem?
    Regards.

    Hi Tom,
    Recycling keeps problematic applications running smoothly, especially when it is not feasible to modify the application code. Recycling helps ensure that problematic applications do not cause other applications to fail, and that system resources can be recovered from unhealthy applications.
    Recycling an application pool causes the WWW service to shut down all running worker processes that are serving the application pool, and then start new worker processes. Whether the WWW service starts the new worker processes before it stops the existing one depends on the DisallowOverlappingRotation property in the metabase. Recycling an application pool does not alter any state in HTTP.sys or change any configuration in the metabase.
    Note:
    When an application pool is serviced by more than one worker process, the recycle operation is staggered in some scenarios. Only when a worker process is recycled on demand or when all of the worker processes hit their memory limits at the same time would they be restarted simultaneously.
    For more info regarding this have a look to this [article|http://blogs.msdn.com/david.wang/archive/2006/01/26/Thoughts-on-Application-Pool-Recycling-and-Application-Availability.aspx]
    Regards,
    Shweta

  • Monitoring of Disabled Application Pools and Websites

    So we have a SCOM 2012 SP1 environment monitoring an IIS server that's Server 2012.  The IIS server has all of the App Pools that are not in use disabled as well the Default website is also disabled.  SCOM unfortunately still picks up that these
    are unavailable and complains ad nauseum.  
    So the real quest is, is the disabled state going to be picked up eventually? (Now two days later the server objects themselves are Healthy, so I assume I can just close the alerts but ...)

    Yes, you can disable alerts of this specific object{Disabled application pools and websites}
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • ADF Application (Web and JClient mix)

    We are thinking of making a ADF application with a mix of Web and JClient interfaces similar to Oracle E-Business mix of Forms and Self Service Applications.
    Is this possible in J2EE/ADF? can we launch a JClient Form by clicking on a Web link on one of a ADF-UIX page for example? What about sessions, are session data passed on from JClient->server and back?
    We use an ADF-UIX page for basic view/entry screens and use JCLient for more complicated entries.
    regards,
    Anton

    Anton,
    I think that you should decide for one or the other and not mix them. If you need to have users to decide whether to run a browser based client or a desktop client then I propose to build two individual applications that re-use the model layer. If you can separate functionality by access paths then you can build parts web based and other parts desktop oriented.
    Is this possible in J2EE/ADF? can we launch a JClient Form by clicking on a Web link on one of a ADF-UIX page for example?
    You could if you deploy JClient as an Applet, which comes with a reasonable download size
    What about sessions, are session data passed on from JClient->server and back?
    No. JClient applications don't use web sessions.
    We use an ADF-UIX page for basic view/entry screens and use JCLient for more complicated entries.
    I shouldn't do this because its not a clean application design. You can request ADF JClient applications from Java Webstart to support central software deployment. Maybe using JClient is the best solution for your usecase
    Frank

  • Setting Users for my managed services and application pools

    I setup my SharePoint 2013 test environment and I developed an intranet site. Now inside my test environment I set all the application pool & managed services to use Farm user account for simplicity. Now I want to setup my UAT environment and I want
    to follow the best practice for managing users and service accounts.
    I have read the “Core Solutions Of MS SharePoint 2013” book, and it have listed the following table:-
    First question. What is the difference when saying that the user “Must be a member of the Farm Administrators group” Or must be “Domain user account”?
    Second question , when I first install SharePoint 2013 a lot of applications pools and managed services such as excel services , access services, Performance Point Service Application, business
    data connectivity and Machine Translation Service  will be automatically created , so which account they will be using and should I define separate accounts for each managed service ?
    Third question. What is the recommendation for SharePoint 2013 regarding service accounts?, to use separate account for each manage service, for example one user for excel services , second user
    for access services ,etc?
    Fourth question. For example the documentation mentioned that the Required roles for the excel services is “Domain user account.”, but what permissions this domain user need to have ?
    thanks for any help, and sorry so adding multiple questions inside the same post.

    Q #1: This means the user must be part of the Farm Admins group. Every user is a Domain User.
    Q #2: Generally those should be using a single Domain User account in a single Application Pool to minimize memory usage and reduce unnecessary complexity.
    Q #3: The less Application Pools the better. E.g. One account/App Pool for all Web Applications, one account/App Pool for all Service Applications, and then Central Administration is obviously separate.
    Q #4: You don't need to specifically give this type of user any sort of rights
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • NLB Web Front End (WFEs)servers & Clustering IIS Application Pool between the two WFEs

    Hi All,
    I have just encountered a very bad experience in my Production environment.My topology is as follows: NLB WFEs, MOSS APP server, Cluster DBs, DCs.
    NLB on the WFEs is working fine. However, for some unknown reason, one of my site under the Application Pool in IIS Manager was stopped on one of the WFE and the site was down. NLB did not redirect request to the second WFE server.
    My question is: How can I make sites under the Application Pool highly available? If any site is in a stopped state, there should be a mechanism in place to redirect request to the Application Pool on the second NLB WFE.
    Kindly help and advise.
    Thanks all.

    Hi Noah,
    The best way of knowing whether the Application pool is down is to monitor it.
    Using appcmd, i can check the state of an application under the application pool.
    I want to create a schedule task which will check the status of the application pool and in case the application pool is stopped, to send me an email as alerts.
    Using Powershell and appcmd, can you guide me on how to do the above i.e I want to use Powershell with appcmd to check for availability of an application pool. If the status is stopped, send me an email as alert.
    Thanks.

  • Desktop Heap usage with 1 Application Pool running as Web Garden

    We just upgraded our webserver from 2003 to 2012 R2. Originally we set it up as using 8 worker processes, which was good enough on our 2003 with 8GB memory. Since now in our new server we have 16GB, I increased the worker process to 16. It works fine until
    we suddenly we got mysterious errors (NOTE: we don't change any web files during this migration.. all were working fine for 1 day, and suddenly the problem just appearing throughout the day). As a quick fix, we restarted the application pool, and we notice
    strange errors in Event Viewer about Complus (Event ID 4689), which lead us to suspect it's Desktop Heap issue.
    Could anybody please direct us on how to troubleshoot? We want to increase performance and use the memory more efficiently, but it will be hard if we do trial-and-error to find the good number of worker process to use.
    FYI the application pool is set to use Application Pool Identity. We also keep all the registry settings as default (HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems\Windows\ SharedSection=1024,20480,768
    and HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WAS\Parameters\UseSharedWPDesktop=0)
    Thanks.

    This one might help.
    http://www.airesoft.co.uk/desktopheapmonitor#install
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Data source for application using both pooled and non pooled connections

    Hi guys.
    I am integrating Oracle's connection pooling into an existing application that had formerly used dbConnectionBroker. It looks like this task should be quite straightforward. However, for consistency, I would also like to replace other Connection logic within the application to use Oracle classes. This will involve using OracleDataSource to obtain a Connection object. ( without pooling ).
    So in this case, the application will use both pooled and non pooled Oracle connections. They will be connecting to the same database. The question I have is in regard to the use of data-sources.xml.
    Are there any special considerations for the required attribute values within data-sources.xml under this scenario ?
    Help will be greatly appreciated.
    Regards.
    Steve.

    Hi Steve -
    It should be feasible for you to define a single datasource using multiple location entries to indicate what sort of pooling behaviour you wish to use.
    If you lookup and use the "location" attribute, you will receive a javax.sql.DataSource object which will not provide connection pooling.
    If you lookup and use the "ejb-location" attribute you will receive a DataSource object that will support connection pooling operations.
    Note that this is using the emulated datasource approach, and transaction support is limited to a single resource (one database) for these datasources - you won't get 2PC support for transactions.
    If you need a transaction to span two separate resources (ie two databases in same tx) then you will need to use the non-emulated datasource approach.
    There is a chapter in the J2EE Services Guide which describes the datasource model we have with OC4J. This might provide you with some more useful information. See Chapter 11 - http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/a97690/ds3.htm#1004903
    cheers
    -steve-

  • IIS Issue:when trying to download code from AWS S3 and deploy in IIS server using Power Shell script while Windows startup Default Application pool is not started.

    Hi,
    I am trying to launch Amazon EC2 windows server 2008 R2 instance using AWS Auto Scaling feature. I have used cusmized AMI in Autoscaling Launch configuration to launch an instance.I have placed Power Shell script in AMI. 
    The responsibility of script is to download code from AWS S3 and deploy in IIS server while windows startup first time.
    When i check status, IIS is started succesfully. But default Application pool is not started.
    To resolve this issue i have written one scheduled script. It helps to start the application pool if any application pool is in stopped state.
    After this Application pool is started but i am not able to communicate with IIS server through browser.  
    Please help any one to resolve this issue.
    Thanks in advance

    Hi Vchreddy,
    For the IIS issue, we recommend you can post in IIS forum for more effective support:
    http://forums.iis.net/
    Thanks for your understanding.

  • Demo applications with BC4J and JClient

    Are there any demo applications with BC4J and JClient, which go beyond the one frame samples, tutorials and how to's?
    This would deliver a better insight to develop a complete application.
    Bye
    Holger

    Thanks,
    the Virtual Shopping Mall sample is quite not I have searched for, because it is primarily an Web application and I am searching for an JClient application without Application Server, but it is a beginning.
    Bye
    Holger

  • Central admin application pool is auto stopping and throwing 503 error

    Hi All,
    Central admin application pool is auto stopping and throwing 503 error
    EventLog error: The Module DLL C:\Windows\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll failed to load.  The data is the error.
    All the application pool are auto stopping and when we trying to open central admin getting 503 error.
    If I start the app pool again it will auto stop.
    and the event log erorr is The Module DLL C:\Windows\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll failed to load.  The data is the error.
    Its urgent.Can anyone please help on this.
    Thanks in advance
    Sunitha

    Hi 
    couple of checks
    1.check if the needed module is present in the system32\inetsrv folder. If it is absent then delete/comment the appropriate line in the
    system32\inetsrv\config\applicationHost.config in the globalModules section. Perhaps you will have to delete some modules (that also won't be found and pointed by event viewer) from your IIS application pool.
    2.
    1) Open IIS.
    2) Right click on your Application-Pool for the web application and select "Advanced Settings".
    3) Set "Rapid-Fail Protection" -> "Enabled" to False.
    If this is true, the Application pool is shut down if there are a specified number of worker process crashes within a specified time period. By default, an application pool is shutdown if there are 5 crashes within a 5 minutes interval.
    3.http://blogs.flexnetconsult.co.uk/colinbyrne/post/2012/11/11/RunningA32bitApplicationAlongsideSharePoint2013Problems.aspx
    4.https://social.technet.microsoft.com/Forums/en-US/bfe0b2b0-7b50-4391-b076-bec14040504d/fixed-kb3037580-security-patching-4182015-application-pools-stopped?forum=sharepointgeneral
    Regards,
    Rajendra Singh
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    http://sharepointundefind.wordpress.com/

  • Configure Service Principle Name for Application Pool account and web application?

    Hello Community
        On WS2012 Server running Sharepoint 2013 Server when you
    configure SPN you configure it for the SQL server object "MSSQLSvc" (domain account)
    and the user object "HTTP" (domain account).
        The question is if you also should configure SPN for the Application Pool account and
    configure SPN for the web application, how do you configure SPN for the Application Pool
    account and the web application?
        Thank you
        Shabeaut

    The Web Application is only an IIS Site. You're configuring the SPN for the Domain User running the IIS Application Pool (that the Web Application (IIS Site) leverages).
    So you would just need to use the format of:
    setspn -A HTTP/webAppUrl domain\iisapppoolacctusername
    setspn -A HTTP/webAppUrl.fqdn.com domain\iisapppoolacctusername
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • IIS Virtual Directory and Application Pool for Large Images folder

    I have a large images folder used for Upload and Download with approx. 1.5 TB for a web site.
    My Website use AppPool_A.
    For performance reasons, do I need to create different Virtual Directory and different Application Pool (AppPool_B) for Images folder. Assuming, if the number of users increase in upload/download images the memory & cpu utilization will be
    more and App Pool recycle happens more often. And other impact is if Website and Images are in same App Pool, the application performance slow.
    Pls. suggest
    AnilKumar Bedide

    Hi,
    Please post on IIS fourm instead of here.
    http://forums.iis.net/
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Oracle Application server connection pool and database links

    I am using Oracle application server 10g with connection pools, the db used by the application connects to another oracle db using a database link. My question is when the application starts it creates 10 connections, does it also create x amount of database links as well?

    Hi,
    Is there any way to use the connection pool or Datasource while connecting to database?If I am using a stateless sesssion bean and using a Data Access layer which just creates a database session to write the persistence toplink objects how I can make use of application server connection pool?Hi Vinod,
    Yes, TopLink allows you to use the app server's connection pooling and transaction services. Chapter 2 of the Oracle9iAS TopLink Foundation Library Guide provides details as do the TopLink examples. The easiest way to set this up is by using the sessions.xml file. The sample XML below is from the file <toplink903>\examples\ias\examples\ejb\sessionbean\sessions.xml. Here we are adding the datasource defined in OC4J and specifying that we are using the OC4J transaction controller also.
    <login>
    <user-name>sa</user-name>
    <password></password>
    <datasource>java:comp/env/jdbc/ejbJTSDataSource</datasource>
    <uses-external-transaction-controller>true</uses-external-transaction-controller>
    <uses-external-connection-pool>true</uses-external-connection-pool>
    </login>
    <external-transaction-controller-class>oracle.toplink.jts.oracle9i.Oracle9iJTSExternalTransactionController</external-transaction-controller-class>
    When using this approach you need to change your TopLink code slightly in the EJB methods:
    a. Acquire the ACTIVE unit of work from the server
    session (again, see the EmployeeSessionEJB code
    example) with something like:
    UnitOfWork uow = clientSession.getActiveUnitOfWork();
    b. Calls to uow.commit() can be ommitted or commented out
    because the EJB will handle this. Note that of course
    the methods you create in the EJB that are using this
    approach must have TX Required (default).
    Hope this helps.
    Pete

  • How to check process is running for an application pool on remote server

    Hi,
    I am creating console application which will check whether WCF is up and running. I am thinking of the approach whether w3wp prcoess is running for a particular application pool using some .net API. We have different website with different application pool.
    I know we can use metatdata or any operation inside WCF service to test svcutil or proxy methods but i don't want that. Please help.
    Thanks,
    Dhanaji

    I assume your goal is to simply provide a heartbeat to periodically make sure that a service is running?  There is no real guarantee that a service will be available until you actually try to call it.
    Also please realize that you're going to impact the server's performance by doing this.  IIS is set up to idle out apps that aren't being used. If you periodically poll the service then you will prevent IIS from doing this.  The result will be
    that you'll see a WCF service running even if nobody every uses it.  Is this really what you want?  Hence if you have a lot of WCF services being checked then the server is wasting resources on services that might not be needed. 
    IIS doesn't work like a normal application.  It hosts your WCF service.  You should let IIS handle the lifetime of your service rather than using a heartbeat.  It would take a catastrophic failure for IIS to be unable to start a service when
    a request comes in.  The app pool itself may be running even without the WCF app running. An app pool is a collection of apps so if any app is running then the pool is running.  Checking the pool tells you nothing about the apps in it.
    You mentioned that you don't want to use IIS metadata or a proxy but that is the only 2 options you have.  Personally I would just hit the endpoint with a HttpWebRequest and verify you get a response but the IIS metadata would be a close second.
    Michael Taylor
    http://blogs.msmvps.com/p3net

Maybe you are looking for

  • Exporting to motion from final cut pro

    I have a anamorfic DV sequence in final cut pro. When ever I slow down a clip in the sequence or add a video filter and then export to MOtion it sends it without iits effects or speed changes.

  • While mat .doc archiving error

    Hi While mat .doc archiving i am getting error can not be archived due to Document not completed. How to find what are all the documents and how to correct the same ? Thanks Regards, Dhinesh

  • Pipeline URL in SLD not shown in SAP PI

    Hello PI-gurus, I've got a problem with the SLD PipeLine URL data of a Business System and the SAP PI Integration Engine Configuration Data. I've changed in SLD the name of the Pipeline URL in the Integration tab of the Business System of SAP PI. Sav

  • How to run Java from Firefox Extension using liveconnect?!

    Hi, I'm trying to run a very simple java program from a Firefox extension I'm making but I've run into a brickwall and just can't get it to work. I'm a complete beginner in java and don't know much javascript so I've copied and pasted code from aroun

  • Black screen after waking from sleep mode - Compaq Presario CQ5110F

    My mother's computer has been having the problem listed in the subject -- after waking from sleep mode, the monitor just stays black, and won't come back. After trying everything I could find online, I eventually found the bios update which claims to