Maximum number of simultaneous CGIs on iPlanet Web Server 6.0

I have installed iPlanet Web Server 6.0 on a Windows 2000 Advanced Server SP2 machine. I have configured a directory as CGI directory. The actual CGI is an exe written using C++.
Now when I try to access this CGI from the browser, only 1 CGI is loaded at a time even if I send requests for multiple CGIs. I have added the following lines to my "magnus.conf" file:
RqThrottle 128
MinCGIStubs 10
CGIExpirationTimeout 36000
MaxCGIStubs 100
CGIStubIdleTimeout 0
But still the CGI launching is being serialized with only 1 CGI being launched at a time. What could be the reason for this? Can anyone help me out on this one?
Thanks in advance.
Varun Goswami

You can try adding the following directive to your config\magnus.conf configuration file:
KernelThreads 1
This directive instructs the web server to use native (kernel) threads to service requests.

Similar Messages

  • Which is the maximum number of simultaneous IP sessions on 7600 with/out SAMI?

    Please I need help from someone who has ever wondered and get to know the maximum number of simultaneous IP sessions on 7600.
    On the documentation, this is the applicable information that we find regarding the number of sessions:
    http://www9.cisco.com/en/US/docs/ios/isg/configuration/guide/isg_acess_sub_sessns_ps6922_TSD_Products_Configuration_Guide_Chapter.html
    Beginning in Cisco IOS Release 12.2(33)SRE, the Cisco 7600 router supports IP subscriber sessions only on the SIP400 and ES+ line cards
    The Cisco 7600 router enforces limits on the number of IP subscriber sessions per line card and router chassis. If the number of active sessions exceeds the following limits, an error message displays:
    - Cisco 7600 chassis—32,000 subscriber sessions (supported in Cisco IOS Release 12.2(33)SRE1 and later releases)
    - ES+ line card—4000 subscriber sessions per port group; 16,000 sessions per line card (supported in Cisco IOS Release 12.2(33)SRE and later releases)
    - SIP400 line card—8000 subscriber sessions (supported in Cisco IOS Release 12.2(33)SRD4 and later releases)
    Let us suppose that we use the SIP400 line card, since ES+ is far from our networking requirements.
    Please confirm/answer the following:
    No special license is required to use ISG with SIP400.
    Is the 8000 session limitation per SIP400 module or per SPA attached to it?
    I read in the documentation, that the SAMI card enhances the maximum number of ISG sessions:
    http://www.cisco.com/en/US/docs/ios/isg/configuration/guide/isg_sup_sami_blade.html
    The ISG Support for SAMI Blade feature combines the subscriber management features and functions of the Cisco Intelligent Services Gateway (ISG) with the processing power of the Cisco Service Application Module for IP (SAMI). The Cisco SAMI blade has six PowerPC (PPC) processors and occupies just one slot in the Cisco 7600 series router. This means that you can support many ISG features for up to 600,000 subscribers on a single router. 
    We then assume that the SAMI blade overcomes the limitations noted above: 32,000 session/chassis and 8,000 sessions/SIP400. Correct?
    No extra license is required to use ISG with SAMI.

    How I can load a license in a home agent (modulo SAMI), which is installed in a 7606-S router?.

  • Maximum Number of Simultaneous Requests

    I want to update the Maximum Number of Simultaneous Requests
    from 4 to 6 or 8. A restart of ColdFusion Application Server is
    required for changes to take effect. Has anyone experienced
    problems with the change not taking effect and/or causing the
    service to not restart.
    This has not happened. Being precautionary. The reason for
    the question is that I made a change previously to the Max Heap
    size from 1023 to 1535 in CF Admin, but when I attempted to restart
    the CF service it would not. Finally had to change the Max Heap in
    jvm.config back to 1023. Unsure why that would not accept it. The
    variable is that the service is running with a non-admin user ID on
    the server. Thoughts?

    The prevailing wisdom from Adobe for simultaneous requests is
    very wrong and inaccurate. First off, editing the simultaneous
    requests in the CFAdmin is safe to do. Editing your JVM settings
    with the CFAdmin is very dangerous on Linux because the CF Admin
    code can mangle the xml file. I'm not sure if this is true on
    Windows.
    Now back to the simultaneous requests issue. If you have high
    traffic and enough server processing power you can greatly increase
    the request number. We currently run our CFMX 7.02 servers set to
    100 simultaneous requests. And yes we've been maxed out at that
    level. We see over 1.5 million page views per day on a single cf
    server with only one instance of CF. As of today we switched to a
    load balanced setup and split the load across two servers. The
    reason we went load balanced is that we're expecting to more than
    double our traffic. Anyways, the number of simultaneous requests
    can be much higher than the 'General Wisdom' at Adobe.
    Oh yeah, I almost forgot. I've seen the new setting for
    simultaneous requests take effect with out having to restart CFMX.
    Cheers,

  • Maximum number of simultaneous Template requests

    I am running a CF-server (standard) on a
    Intel(R) Xeon(R) CPU           E5420  @ 2.50GHz, 8 cores
    I have read somewhere on the net that you can set 8-10 maximum number of simultaneous template requests per core, which in my case
    would be 64-80 simultaneous template requests.
    Is that a correct assumption?
    This does feel quite high considering the default value of the server is 10 simultaneous requests.
    //Toby

    It is the common rule of thumb, but that does not make it the correct or incorrect assumption.
    What it does make is a common and usefull starting point, with the strong assumption that one will then load test ones system to make sure the setting accually works well with ones applications and hardware.  And that one will then adjust accordingly based on the testing.

  • Maximum number of simultaneous Template requests coldfusion 10 standard is not working

    I tried to change the setting to 5 and submit changes, under request tuning setting ->
    Maximum number of simultaneous Template requests is still showing as 0 even after the Coldfusion service restart.
    thanks

    Hi
    In ColdFusion 10 Standard the Simultaneous requests should be equals to 10 or more than 10 however in ColdFusion 10 Enterprise there is no such restriction, the value can be of a single numeric digit as well like 5,4,6 or so on.
    You can consider this as a benefit of running ColdFusion 10 enterprise
    Thanks
    VJ

  • Global data in a servlet using iPlanet Web Server

    Our configuration is an Applet->Servlet->JNI->C/C++ code.
    We have C code that does a number of lengthy mathematical calculations. This C code not only uses its own global variables but, it is also comprised of numerous subroutines that all call each other, reading and writing global C variables as they go. These globals are all isolated to the C code shareable object (.so) library that is included using the LoadLibrary call when the servlet is initialized.
    The problem is that in a multi-user environment (3-5 simultaneous users) we need to have each user have their own "copy" of the servlet (and the C code) so that users will not be accessing each other's global data. We can NOT have only one copy of the C code and define it as synchronized because the calculations that are performed can take a very long time and we can not hold off user requests while the firs user finishes.
    Our hope is that there is a way to configure the iPlanet Web server such that each new user that starts up a copy of the Applet/Servlet combination will get their own "space" so that they can work independently of any other user. We have at most 20 users of this system and only 3-5 simultaneous users so we should not have a problem with memory or CPU speed.
    If anyone has a solution, I would greatly appreciate it!

    The C library is shareable. But you don't want it to be shared. That's your question summarized, isn't it?
    You probably can't prevent it from being shared, so to prevent multiple use of it you would have to queue up the requests to be done one at a time. WynEaston's suggestion of having the servlet implement SingleThreadModel would help, but I believe the servlet spec allows servers to run multiple copies of a servlet that does that (as opposed to running a single copy in multiple threads).
    Your other alternative is to rewrite the math in Java, or at least in some object-oriented language where you don't need global variables (which are the source of your problem). All right, I can already hear you saying "But that wouldn't be as fast!" Maybe not, but that isn't everything. Now you have a problem in queueing theory: do you want a single server that's fast, but jobs have to wait for it, or do you want multiple servers that aren't as fast, but jobs don't have to wait? That's a question you would have to evaluate based on the usage of your site, and it isn't an easy one.

  • Using Struts Example in IPlanet web Server 6.0

    Hai
         i am new to struts and i was trying to run the example application shiped along with the binary distribution
         in iplanet webserver 6.0.
         I have extracted the struts-example.war file in to a folder named strutsexamples under my iplanetdocroot\servers\docs\ Using the
         link DeployWebApplications in the admin side of the iplanet application.
         By doing the above steps all the example files are extracted in to the folder iplanetdocroot\servers\docs\strutsexamples directory .
    Problem 1:      when i restarted the server i found the following error in the log file
              [06/Apr/2003:19:58:03] info ( 394): successful server startup
              [06/Apr/2003:19:58:03] info ( 394): iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 01:49
              [06/Apr/2003:19:58:05] info ( 394): Installing a new configuration
              [06/Apr/2003:19:58:05] info ( 394): [LS ls1] http://gdcblr1596.gdcblr, port 80 ready to accept requests
              [06/Apr/2003:19:58:05] info ( 394): A new configuration was successfully installed
              [06/Apr/2003:19:58:09] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:09] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/diva) at (E:/iPlanet/Servers/docs/diva)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/struts) at (E:/iPlanet/Servers/docs/struts)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:10] info ( 394): Adding web application (/strutsexamples) at (E:/iPlanet/Servers/docs/strutsexamples)
              [06/Apr/2003:19:58:10] info ( 394): Loading IWSSessionManager by default.
              [06/Apr/2003:19:58:10] info ( 394): IWSSessionManager: Maximum number of sessions is 1000
              [06/Apr/2003:19:58:11] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'action' class = 'org.apache.struts.action.ActionServlet' loaded in context =                '/strutsexamples'
              [06/Apr/2003:19:58:11] info ( 394): action: init
              [06/Apr/2003:19:58:13] warning ( 394): vs(https-gdcblr1596.gdcblr)ServletException thrown in servlet.init; context = /strutsexamples, servlet = 'action';           stack tace: javax.servlet.UnavailableException: Parsing error processing resource path
                   at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java, Compiled Code)
                   at org.apache.struts.action.ActionServlet.init(ActionServlet.java, Compiled Code)
                   at javax.servlet.GenericServlet.init(GenericServlet.java:258)
                   at com.iplanet.server.http.servlet.WServletEntity.loadAndInitServlet(WServletEntity.java:98)
                   at com.iplanet.server.http.servlet.WebApplication.init(WebApplication.java, Compiled Code)
                   at com.iplanet.server.http.servlet.VirtualServer.init(VirtualServer.java, Compiled Code)
                   at com.iplanet.server.http.servlet.NSServletRunner.VSInit(NSServletRunner.java:680)
              , root cause:
              [06/Apr/2003:19:58:13] info ( 394): Successfully initialized web application environment (web-apps.xml) for virtual server (https-gdcblr1596.gdcblr)
    Problem 2: when i was trying to invoke the example by typing http://localhost/strutsexamples/ i am getting only the following errors .
                   [06/Apr/2003:20:03:17] info ( 394): vs(https-gdcblr1596.gdcblr)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context =                     '/strutsexamples'
                   [06/Apr/2003:20:03:17] info ( 394): jsp: init
                   [06/Apr/2003:20:03:18] info ( 394): jsp: init
                   [06/Apr/2003:20:03:19] failure ( 394): Internal error: servlet service function had thrown ServletException (uri=/strutsexamples/):                          javax.servlet.ServletException, stack: javax.servlet.ServletException
                        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
                        at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
                        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
                        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
                        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
                        at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
                        at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)
                   , root cause: javax.servlet.jsp.JspException
                        at org.apache.struts.util.RequestUtils.message(RequestUtils.java:975)
                        at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294)
                        at jsps.index_jsp._jspService(_index_jsp.java, Compiled Code)
                        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
                        at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
                        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
                        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
                        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                        at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
                        at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
                        at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)     
         I have read all the FAQ and searched in web also and i am not able to find any answer to my problem .
         Kindly if someone knows how to overcome the above problem do reply me to this id .
         If any one has got the steps to be done to use struts in IplanetWebServer 6.0 do mail me also .
    thanks and regards
    Divakar.Renganathan
    Associate Consultant
    MascotSystems .
    Bangalore.

    Hi,
    Were you successful in getting the steps for incorporating struts with iPlanet Web Server 6.0 ?
    If so, please email them to me as I am having similar problems.
    Thanks
    Harinder
    [email protected]

  • Deplyment in iPlanet Web Server 6.0

    Hi
    Here is the log output that i received after deploying in iPlanet web server 6.0 from a war file. It contains the jsps, servlet classes, beans, and ejb classes. I have my ejbs deployed in weblogic server 8.1 Can anybody help? Thankyou.
    [31/Mar/2004:11:21:33] info ( 1080): Installing a new configuration
    [31/Mar/2004:11:21:50] info ( 1032): successful server startup
    [31/Mar/2004:11:21:50] info ( 1032): iPlanet-WebServer-Enterprise/6.0SP1 B08/20/2001 01:49
    [31/Mar/2004:11:21:51] info ( 1032): Installing a new configuration
    [31/Mar/2004:11:21:51] info ( 1032): [LS ls1] http://IdeasAshok, port 8080 ready to accept requests
    [31/Mar/2004:11:21:51] info ( 1032): A new configuration was successfully installed
    [31/Mar/2004:11:21:52] info ( 1032): Loading IWSSessionManager by default.
    [31/Mar/2004:11:21:52] info ( 1032): IWSSessionManager: Maximum number of sessions is 1000
    [31/Mar/2004:11:21:55] info ( 1032): Adding web application (/ideas) at (D:/ bea/ideas)
    [31/Mar/2004:11:21:56] info ( 1032): Loading IWSSessionManager by default.
    [31/Mar/2004:11:21:56] info ( 1032): IWSSessionManager: Maximum number of sessions is 1000
    [31/Mar/2004:11:21:56] info ( 1032): Successfully initialized web application environment (web-apps.xml) for virtual server (https-Ashok)
    [31/Mar/2004:11:23:59] info ( 1032): vs(https-Ashok)servlet 'jsp' class = 'org.apache.jasper.servlet.JspServlet' loaded in context = '/ideas'
    [31/Mar/2004:11:23:59] info ( 1032): jsp: init
    [31/Mar/2004:11:23:59] info ( 1032): jsp: init
    [31/Mar/2004:11:23:59] failure ( 1032): Internal error: Unexpected error condition thrown (unknown exception,no description), stack: java.lang.NoClassDefFoundError: javax/security/auth/callback/CallbackHandler
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:115)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:131)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241)
         at javax.naming.InitialContext.init(InitialContext.java:217)
         at javax.naming.InitialContext.<init>(InitialContext.java:193)
         at ideas.util.ServerProperties.getContext(ServerProperties.java:48)
         at ideas.beans.AdhocHandBean.<init>(AdhocHandBean.java:39)
         at jsps.jsp._AdhocHandoff_jsp._jspService(_AdhocHandoff_jsp.java:194)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:247)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:237)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:520)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:589)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:891)
         at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1064)
         at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:953)

    Hi,
    Already solved the problem, only needed the charset for JAVA.
    Anyway for future reference for others re internationalization in iPlanet...
    1. Place your resource bundles in <path to your instance>/WEB-INF/classes/
    2. Place your i18n tag library (as for me it is taglibs-i18n.tld) in <path to your instance>/WEB-INF/
    3. Place your i18n API (as for me it is taglibs-i18n.jar) in <path to your instance>/WEB-INF/lib if it is a jar file, else <path to your instance>/WEB-INF/classes.
    4. Add taglib element in your web deployment descriptor file (web.xml):
    <taglib>
         <taglib-uri>/WEB-INF/taglibs-i18n.tld</taglib-uri>
         <taglib-location>/WEB-INF/taglibs-i18n.tld</taglib-location>
    </taglib>
    NOTE:
    Make sure the DTD reference for your web.xml points to http://java.sun.com/dtd/web-app_2_3.dtd. Old version was http://java.sun.com/j2ee/dtds/web-app_2_3.dtd. Please update your application to use the new name.
    5. Add the following to the JVM classpath in SUNONE:
    5.a. <path to your JRE lib>/charsets.jar (for charsets for JAVA)
    5.b. <path to your instance>/WEB-INF/classes/ (directory where your resource bundles are)
    6. Restart the instance.
    This will work either for pre-compiled and uncompiled jsps.
    Hope this will help.
    my 2 cents,
    Eson.

  • JDBC persistence of session data not working on iPlanet Web Server, Enterprise Edition 6.0 SP2

    I am using windows 2000.
    iPlanet Web Server, Enterprise Edition 6.0 SP2
    I tried to do jdbc persistence for sessiondata.
    Somehow it didn't work.
    I edited the JdbcStore code and added some system.outs in it.
    From the logs I could note that
    It is going into
    JdbcStore.init(Properties config)//when the server starts up
    JdbcStore.reap(long currentTime) //when the server is brought down
    But it is not going into
    JdbcStore.save(IWSHttpSession session)
    JdbcStore.remove(IWSHttpSession session)
    JdbcStore.load(IWSHttpSession session)
    I did a "select count(*) from sessions" and it got me
    no of rows=0.
    The logs contained
    [06/Mar/2002:11:25:09] info ( 552): IWSSessionManager: Maximum number of sessions is 1000
    [06/Mar/2002:11:25:10] info ( 552): IWSSessionManager: Maximum number of sessions is 1000
    [06/Mar/2002:11:25:14] info ( 552): JdbcStore: initialized with url=jdbc:odbc:LocalServer, driver=sun.jdbc.odbc.JdbcOdbcDriver
    So I should think it was working.
    The pages that are using HttpSession are working ok but should I not get some rows in my table "sessions" when I query?
    This is the webapps.xml I used.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- iWS 6.0 specific web application configuration. -->
    <!DOCTYPE vs PUBLIC "-//Sun Microsystems, Inc.; iPlanet//DTD Virtual Server Web Applications 6.0//EN" "http://developer.iplanet.com/webserver/dtds/iws-webapps_6_0.dtd">
    <vs>
    <!-- Define global configuration -->
    <!-- Configure a session manager and tracking configuration -->
    <session-manager
    class='com.iplanet.server.http.session.IWSSessionManager' >
    <init-param>
    <param-name>maxSessions</param-name>
    <param-value>1000</param-value>
    </init-param>
    <init-param>
    <param-name>timeOut</param-name>
    <param-value>1800</param-value>
    </init-param>
    <init-param>
    <param-name>session-failover-enabled</param-name>
    <param-value>true</param-value>
    </init-param>
    <init-param>
    <param-name>reapInterval</param-name>
    <param-value>600</param-value>
    </init-param>
    <init-param>
    <param-name>session-data-store</param-name>
    <param-value>com.iplanet.server.http.session.JdbcStore</param-value>
    </init-param>
    <init-param>
    <param-name>url</param-name>
    <param-value>jdbc:odbc:LocalServer</param-value>
    </init-param>
    <init-param>
    <param-name>provider</param-name>
    <param-value>sun.jdbc.odbc.JdbcOdbcDriver</param-value>
    </init-param>
    <init-param>
    <param-name>username</param-name>
    <param-value>sa</param-value>
    </init-param>
    <init-param>
    <param-name>password</param-name>
    <param-value>sa</param-value>
    </init-param>
    <init-param>
    <param-name>lookupPool</param-name>
    <param-value>4</param-value>
    </init-param>
    <init-param>
    <param-name>insertPool</param-name>
    <param-value>4</param-value>
    </init-param>
    <init-param>
    <param-name>updatePool</param-name>
    <param-value>4</param-value>
    </init-param>
    <init-param>
    <param-name>deletePool</param-name>
    <param-value>4</param-value>
    </init-param>
    <!--
    <init-param>
    <param-name>session-failover-enabled</param-name>
    <param-value>false</param-value>
    </init-param>
    -->
    </session-manager>
    <session-tracking use-cookies="true" />
    <!-- Define the web applications for this virtual server-->
    <!-- catalog application -->
    <web-app uri="/Web" dir="E:/iPlanet/Servers/docs" enable="true" >
    <!-- Specify a tempory directory. A path returned in the "javax.servlet.context.tempdir" property; defaults to WEB-INF/tmp. -->
    <!--
    <tempdir dir='/var/catalog/tmp'/>
    -->
    <!-- reload classes at every 5 minutes; also include mycatlog.jar file in the classpath -->
    <!--
    <class-loader reload-interval='300' classpath='/home/work/mycatalog.jar' />
    -->
    </web-app>
    </vs>

    I'm trying to do the same thing with a file store, also somewhat unsuccessfully. However, one thing I can point out is that the manual says that the <session-manager> element should be within the <web-app> element in web-apps.xml. In your example, it is outside of it.

  • Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout).

    Hi, I am using HP11 and iPlanet web server. When trying to upload files over HTTP using FORM ENCTYPE="multipart/form-data" that are bigger than a few Kilobytes i get a 408 error. (client timeout). It is as if the server has decided that the client has timed out during the file upload. The default setting is 30 seconds for AcceptTimeout in the magnus.conf file. This should be ample to get the file across, even increasing this to 2 minutes just produces the same error after 2 minutes. Any help appreciated. Apologies if this is not the correct forum for this, I couldn't see one for iPlanet and Web, many thanks, Kieran.

    Hi,
    You didnt mention which version of IWS. follow these steps.
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    Regards
    T.Raghulan
    [email protected]

  • Is there a restriction on length of Http request posted to a Iplanet Web Server ?

    I am submitting an Http Request by POST method to my server. The request will be received and forwarded by Iplanet Web Server to a clustered Weblogic environment, which will then be handled by Java Servlets. The problem I am facing is that when the length of the request shoots up to around 2000 bytes, NES doesn't receive and forward the request to Weblogic. There is no fixed cut-off for the length, it keeps fluctuating.
    I observed the following after hitting the server hundreds of times with Http Requests that vary in length.
    1) If length of Request is below 1500 bytes, request always goes through successfully.
    2) In a range of 1500 bytes to 2000 bytes, request fails most of the times. (Around 80 %)
    3) Requests with length above 2000K invariably fail, though it just worked for a 2.4K request on one occasion (out of some 100 hits)
    Note that by "length of request", I mean the data I post through Http Request (I just have a single parameter in Http request having the literal "XML" as key and a well formed XML document as value. That is equivalent to submitting a HTML form just having a text area called "XML" containing a XML document. )
    I presume that the length of actual Http Request is slightly greater than that of XML (probably by around 100 bytes).
    My Iplanet documentation says that the upper limit on the length of a POST Http Request is 64 K, which is way above the value (2-3 K) at which I am facing the problem.

    Hi Ganesh
    Did you check the HTTP Persistent timeout of your server? Check the value which has been set up by default. Try increasing the timeout value and try again.
    follow these steps it might solve your problem:
    (1)Goto Web Server Administration Server, select the server you want to manage.
    (2)Select Preference >> Perfomance Tuning.
    (3)set HTTP Persistent Connection Timeout to your choice (eg 180 sec for three minutes)(note : if you are posting large amount of data or file increase the value accordingly)
    (4) Apply changes and restart the server.
    *Setting the timeout to a lower value, however, may    prevent the transfer of large files as timeout does not refer to the time that the connection has been idle. For example, if you are using a 2400 baud modem, and the request timeout is set to 180 seconds, then the maximum file size that can be transferred before   the connection is closed is 432000 bits (2400 multiplied by 180)
    If this doesnot solve your problem notify me
    regards
    T.Raghulan
    [email protected]

  • Help required on iPlanet Web Server.

    I am using iPlanet Web Server 4.1 to run my jsp' ans servlets. I need to know that if i write System.out.println("Hello World") statement in my Servlet, where it will get printed. Please let me know if theres some way for that. As this is very help full in knowing the prog flow.
    In Jakarta-Tomcat a window popsup and System.out.println statments are printed there. Is there any way we can do with iPlanet.

    Hi,
    You need to configure your web server.
    FOllowing should help you to solve your problem.
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F4790&zone_110=4790%2A%20
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F4235&zone_110=4235%2A%20
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F4699&zone_110=4699%2A%20
    -Amol

  • Integrating iPlanet Web Server 6.0 with SunOne App Server 7.0

    I am experiencing problems integrating iPlanet Web Server 6.0 with SunOne App Server 7.0
    My magnus.conf is
    #ServerRoot /usr/iplanet/servers/https-test
    ServerID https-test
    ServerName sulev016.eur.gep.ge.com
    ErrorLog /usr/iplanet/servers/https-test/logs/errors
    PidLog /usr/iplanet/servers/https-test/logs/pid
    User root
    MtaHost localhost
    DNS off
    Security off
    ClientLanguage en
    AdminLanguage en
    DefaultLanguage en
    RqThrottle 128
    StackSize 131072
    CGIWaitPid on
    TempDir /tmp/https-test-ab0d7966
    Init fn=flex-init access="$accesslog" format.access="%Ses->client.ip% - %Req->vars.auth-user% [%SYSDATE%] \"%Req->reqpb.clf-request%\" %Req->srvhdrs.clf-status% %Req->srvhdrs.content-length%"
    Init fn=load-types mime-types=mime.types
    Init fn="load-modules" shlib="/usr/iplanet/servers/bin/https/lib/libNSServletPlugin.so" funcs="NSServletEarlyInit,NSServletLateInit,NSServletNameTrans,NSServletService" shlib_flags="(global|now)"
    Init fn="NSServletEarlyInit" EarlyInit=yes
    Init fn="NSServletLateInit" LateInit=yes
    Init fn="load-modules" shlib="/usr/iplanet/servers/plugins/passthrough/bin/libpassthrough.so" funcs="init-passthrough,auth-passthrough,check-passthrough,service-passthrough" NativeThread="no"
    Init fn="init-passthrough"
    ==========================================
    my obj.conf is
    <Object name=default>
    NameTrans fn="assign-name" from="(/OMS|/OMS/*)" name="passthrough"
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="pfx2dir" from="/servlet" dir="/usr/iplanet/servers/docs/servlet" name="ServletByExt"
    NameTrans fn=pfx2dir from=/mc-icons dir="/usr/iplanet/servers/ns-icons" name="es-internal"
    NameTrans fn="pfx2dir" from="/manual" dir="/usr/iplanet/servers/manual/https" name="es-internal"
    NameTrans fn=document-root root="$docroot"
    PathCheck fn=unix-uri-clean
    PathCheck fn="check-acl" acl="default"
    PathCheck fn=find-pathinfo
    PathCheck fn=find-index index-names="index.html,home.html"
    ObjectType fn=type-by-extension
    ObjectType fn=force-type type=text/plain
    Service type="magnus-internal/jsp" fn="NSServletService"
    Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
    Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
    Service method=(GET|HEAD) type=*~magnus-internal/* fn=send-file
    AddLog fn=flex-log name="access"
    </Object>
    <Object name=cgi>
    ObjectType fn=force-type type=magnus-internal/cgi
    Service fn=send-cgi user="$user" group="$group" chroot="$chroot" dir="$dir" nice="$nice"
    </Object>
    <Object name="servlet">
    ObjectType fn=force-type type=text/html
    Service fn="NSServletService"
    </Object>
    <Object name="jsp092">
    ObjectType fn="type-by-extension"
    ObjectType fn="change-type" type="magnus-internal/jsp092" if-type="magnus-internal/jsp"
    Service fn="NSServletService" type="magnus-internal/jsp092"
    </Object>
    <Object name="ServletByExt">
    ObjectType fn=force-type type=magnus-internal/servlet
    Service type="magnus-internal/servlet" fn="NSServletService"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="passthrough">
    ObjectType fn="force-type" type="magnus-internal/passthrough" Service type="magnus-internal/passthrough" fn="service-passthrough" servers="http://3.224.68.131:81"
    Error reason="Bad Gateway" fn="send-error" uri="$docroot/badgateway.html"
    </Object>
    The requests are not passing through to the app server when i try to access it through port 80.
    Presently I am testing my appln over port 81 on the app server.
    Thanks and Regards
    Vineet Guliani

    Each ObjectType and Service directive should begin on a new line. You appear to have placed two directives on a single line.

  • IPlanet Web Server & Glassfish not takeover session from stoped instance?

    I have 3 Physical Machine
    1> server hostname is 'linuxgf175'(192.168.1.175) main cluster control (DAS) and Install iPlanet Webserver with gflb-configurator
    2> server hostname is 'linuxgf170'(192.168.1.170) server for node1(n1) has Instance1 (i1)
    3> server hostname is 'linuxgf180'(192.168.1.180) server for node2(n2) has Instance2 (i2)
    1. I was install iPlanet Web Server to same DAS machine. (192.168.1.175)
    2. And create Server Certificates request.
    Certificate Details
    Nickname cert-linuxgf175
    Subject CN=linuxgf175
    Issuer Self Signed
    Key Type RSA
    Key Size (bits) 1024
    Valid From April 18, 2011 7:30:09 PM ICT
    Valid Till April 18, 2012 7:30:09 PM ICT
    Fingerprint CE:D8:5E:97:DB:56:89:00:56:A7:0F:EB:0D:D4:4A:06
    Serial Number 00:94:26:11:AB
    Server Name linuxgf175
    (Picture : http://s138.photobucket.com/albums/q262/madoatz/?action=view&current=iPl... )
    3. And create new http-listenser (SSL for communicate with DAS port 8082 )
    (Picture : http://s138.photobucket.com/albums/q262/madoatz/?action=view&current=iPl... )
    4. And import cert file(s1as.rfc) to glassfish-lbconfigurator wizard. (run lb-configure command #java -jar glassfish-lbconfigulator.jar )
    I was exported that file like this command :
    keytool -export -rfc -alias s1as -keystore /usr/glassfish3/glassfish/domains/domain1/config/keystore.jks -file ./s1as.rfc
    5. Create and Apply http-lb to DAS domain success !! :)
    asadmin> create-http-lb devicehost linuxgf175 deviceport 8082 --target c1 cluster_lb
    Enter admin user name> admin
    Enter admin password for user "admin">
    Command create-http-lb executed successfully.
    asadmin>
    asadmin> apply-http-lb-changes cluster_lb
    Enter admin user name> admin
    Enter admin password for user "admin">
    Command apply-http-lb-changes executed successfully.
    6. Deploy "clusterjsp.ear" Application to Cluster c1 with avalibilityenable=true
    deploy success
    (Picture : http://s138.photobucket.com/albums/q262/madoatz/?action=view&current=iPl... )
    7.try to open application , use browser open to iPlanet webserver success
    http://192.168.1.175:80/clusterjsp
    ## But, It can not handle session between instance (i1) and Instance 2 (i2)
    i input some data session into instance (i1)
    HttpSession Information:
    Served From Server: 192.168.1.175
    Server Port Number: 80
    Executed From Server: linuxgf170
    Executed Server IP Address: 127.0.0.1
    Session ID: 3ed17253ef55fb5d37203a738e2b
    Session Created: Thu Apr 21 00:20:08 ICT 2011
    Last Accessed: Thu Apr 21 00:20:08 ICT 2011
    Session will go inactive in 1800 seconds
    INPUT : test1 = test1
    INPUT : test2 = test2
    after that try to stop Instance (i1) linuxgf170
    come back to browser and refesh button. It's change route display to instance i2 (linuxgf180)
    HttpSession Information:
    Served From Server: 192.168.1.175
    Server Port Number: 80
    Executed From Server: linuxgf180
    Executed Server IP Address: 127.0.0.1
    Session ID: 3ee66ddd60498d68660a55fadcc5
    Session Created: Thu Apr 21 00:21:34 ICT 2011
    Last Accessed: Thu Apr 21 00:21:34 ICT 2011
    Session will go inactive in 1800 seconds
    BUT INPUT DATA is not display ?? I loss...session.
    Please sir.... please see image url and help clarify T_T
    Can direct contect to me for more help Thank you very much for best support.
    [email protected]
    skype : mr_lalit

    More iPlanet startup log....
    [root@linuxgf175 webserver7]# cd admin-server/
    [root@linuxgf175 admin-server]# cd bin/
    [root@linuxgf175 bin]# ./startserv
    Oracle iPlanet Web Server 7.0.9 B07/04/2010 01:31
    info: CORE3016: daemon is running as super-user
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.6.0_20] from [Sun Microsystems Inc.]
    info: WEB0100: Loading web module in virtual server [admin-server] at [admingui]
    info: WEB0100: Loading web module in virtual server [admin-server] at [jmxconnector]
    info: HTTP3072: admin-ssl-port: https://linuxgf175:8989 ready to accept requests
    info: CORE3274: successful server startup
    [root@linuxgf175 bin]# cd ../../
    [root@linuxgf175 webserver7]# pwd
    /usr/glassfish3/webserver7
    [root@linuxgf175 webserver7]# cd https-linuxgf175/
    [root@linuxgf175 https-linuxgf175]# cd bin/
    [root@linuxgf175 bin]# ./startserv
    Oracle iPlanet Web Server 7.0.9 B07/04/2010 01:31
    info: reports: Initializing lbplugin BuildId: GlassFish 3.1 load-balancer plugin b05
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.6.0_20] from [Sun Microsystems Inc.]
    config: , name-trans-passthrough reports: init-passthrough has not been called
    config: , name-trans-passthrough reports: init-passthrough has not been called
    config: , name-trans-passthrough reports: init-passthrough has not been called
    warning: reports: lb.configurator: XML_VALIDATOR_WARNING: Cookies will not be rewritten by web server. All cookie updates will be handled by application server. If you are using older version of application server, then failover will not work.
    warning: reports: lb.configurator: Preferred failover instance feature is enabled.
    warning: reports: lb.runtime: RNTM2019: Daemon http://linuxgf170:28080 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon https://linuxgf170:28181 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon http://linuxgf180:28080 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon https://linuxgf180:28181 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon http://linuxgf170:28081 has been intialized.
    warning: reports: lb.runtime: RNTM2019: Daemon https://linuxgf170:28182 has been intialized.
    info: HTTP3072: http-listener-1: http://linuxgf175:80 ready to accept requests
    info: HTTP3072: http-listener-ssl: https://linuxgf175:8090 ready to accept requests
    info: CORE3274: successful server startup
    [root@linuxgf175 bin]#

  • IPlanet web server auto restart when user login or logout the NT server

    Configuration
    - NT Server 4.0 SP6a
    - iPlanet Web Server 6.0 SP4
    - JDK 1.3.1_03
    - NT audit turned on for the file <iPlanet WS 60 instance home>/config/password.conf
    We encounter a problem that when a user login / logout NT machine, the iplanet web server would be restart automatically.
    Could somebody advise why this happen and how it can be solved?
    There is a box called "Allow service to interact with desktop" in the service startup menu. What is it means and did it related to the problem?

    I think you are running into this:
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsunone%2F8322&zone_32=-Xrs%2A%20
    Thanks
    Manish

Maybe you are looking for

  • Imail dates into ical - Not working well for me

    I thought one of the new imail features in Lion was that you can click on a date in an email and it will create an event in ical.  But every time Ive tried it, it doesnt seem to recognize the correct date.  It recognizes the time but tries to put the

  • IPOD won't update from iTunes

    Jeez, I thought that iTunes/iPOD would be pretty simple; move music from here to there. I have been using for over a year with no problem, but within the latest couple of upgrades to iTunes, my iPOD will no longer update correctly. I have spent over

  • Is it possible to stop reservation creation in PM Order?

    Hi All, Is it possible to stop reservation creation in PM Order? Thanks in advance.

  • Getting the top two dates

    I am using oracle 8i. I want to fetch the TOP two DISTINCT dates from the column. select * from t1 order by 1 desc; 16-OCT-07 16-OCT-07 06-OCT-07 06-SEP-07 06-SEP-07 10-AUG-07 07-AUG-07 06-AUG-07 04-AUG-07 16-JUN-07 13-JUN-07 20-JAN-05 19-JAN-05 16-J

  • Bookmarks list view missing

    I have noticed after the Android 4.0.4 update I cannot see may native browser bookmarks in a list view. All I get are the small icon representations of the website. I would like the bookmarks in list view instead. Another problem after the update goo