Disable PUT and DELETE HTTP methods in Sun ONE Web Server 6.1

Hello ,
i want disable PUT and DELETE methods in SunOne 6.1 , i don't find the solution ...
Thnaks to help me .
telnet www.mywebsite.com 80
Trying 145.248.193.13...
Connected to www.mywebsite.com.
Escape character is '^]'.
OPTIONS * HTTP/1.0
HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Wed, 18 Jan 2006 08:07:41 GMT
Content-length: 0
Allow: HEAD, GET, PUT, POST, DELETE, TRACE, OPTIONS, MOVE, INDEX, MKDIR, RMDIR
Connection: close

are you sure that it isn't a vulnerability ? if i understand you , OPTIONS * HTTP/1.0 list all the possible methods but they are not actived ?
i have test with OPTIONS / HTTP/1.0 , is that the those possible methods : HEAD , GET ??
thanks
telnet www.mywebsite.com 80
Trying 145.248.193.13...
Connected to www.mywebsite.com.
Escape character is '^]'.
OPTIONS / HTTP/1.0
HTTP/1.1 200 OK
Server: Sun-ONE-Web-Server/6.1
Date: Wed, 18 Jan 2006 11:11:07 GMT
Content-length: 0
Allow: HEAD, GET
Connection: close

Similar Messages

  • Disable HTTP Methods on Sun One Web Server 6.1

    I've been instructed by our auditors to disable the HTTP TRACE and TRACK methods in our web server. I can't find anything in the documentation on how to do this, although the following statments in the default object in obj.conf look like they might be involved:
    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|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Can anyone point me in the right direction here?
    Thanks,

    Remove Comment out the line in obj.conf that contains the method "TRACE".
    http://blogs.sun.com/meena/entry/disabling_trace_in_sun_java

  • Sun ONE Web Server 6.1SP5

    Hi,
    I had a absolutely working copy of sam (inherited) and for some reason today it was not authenticating (prompting for incorrect password although I was using correct uid/pwd on browser console), so I restarted the server and now I cant even go to the browser console page...
    looking at the start logs following error spits off during start time:
    =======================================
    ++ ./webservd-wdog -r /opt/SUNWwbsvr -d /opt/SUNWwbsvr/https-dev.companyname/config -n https-dev.companyname
    Sun ONE Web Server 6.1SP5 B06/23/2005 17:36
    info: CORE3016: daemon is running as super-user
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_04] from [Sun Microsystems Inc.]
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [amserver]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [ampassword]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [amcommon]
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [amconsole]
    warning: WEB6100: locale-charset-info is deprecated, please use parameter-encoding
    info: WEB0100: Loading web module in virtual server [https-dev.companyname] at [search]
    failure: WebModule[amserver]: WEB2783: Servlet /amserver threw load() exception
    javax.servlet.ServletException: WEB2778: Servlet.init() for servlet LoginLogoutMapping threw exception
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    ----- Root Cause -----
    java.lang.NullPointerException
    at com.sun.identity.authentication.UI.LoginLogoutMapping.init(LoginLogoutMapping.java:71)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3478)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3760)
    at com.iplanet.ias.web.WebModule.start(WebModule.java:251)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:652)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:355)
    at org.apache.catalina.startup.Embedded.start(Embedded.java:995)
    at com.iplanet.ias.web.WebContainer.start(WebContainer.java:431)
    at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:500)
    at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:161)
    info: HTTP3072: [LS ls1] http://dev.companyname:80 ready to accept requests
    startup: server started successfully
    ++ test 0 -ne 0
    ++ exit 0
    =======================================
    Thanks
    Sat

    Ooops! it's an initialization error. There are many possible causes given the log you posted. It could be convenient if you enable message debugging so you can have a better idea of what's happening.
    Some common reasons for such error:
    - The dsameuser/puser password changed
    - A configuration file is damaged
    - Operative System permissions changed for configuration files/directories
    - a File system corruption
    - Something weird happened to your DS instance
    I'm supposing you are ABSOLUTELY sure nobody configured wrongly the product.
    Regards

  • Sun ONE Web Server 6.1SP5 and Communications Express Error

    I post this to the wrong forum i think i am getting this error after running the config-uwc.
    Sun ONE Web Server 6.1SP5 B06/23/2005 22:22
    info: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.5.0_04] from [Sun Microsystems Inc.]
    config: for host 0.0.0.0 trying to GET /, name-trans-passthrough reports: init-passthrough has not been called
    info: WEB0100: Loading web module in virtual server [https-proxy1.mrc.ac.za] at [da]
    info: WEB0100: Loading web module in virtual server [https-proxy1.mrc.ac.za] at [uwc]
    info: WEB0110: Ignoring invalid property [allowLinking] = [true]
    info: WEB0100: Loading web module in virtual server [https-proxy1.mrc.ac.za] at [search]
    warning: CORE3283: stderr: Exception in thread "Thread-1" java.lang.NoClassDefFoundError: org/mozilla/jss/crypto/KeyGenAlgorithm
    warning: CORE3283: stderr: at java.lang.Class.forName0(Native Method)
    warning: CORE3283: stderr: at java.lang.Class.forName(Class.java:164)
    warning: CORE3283: stderr: at com.iplanet.services.util.Crypt.createInstance(Crypt.java:133)
    warning: CORE3283: stderr: at com.iplanet.services.util.Crypt.<clinit>(Crypt.java:103)
    warning: CORE3283: stderr: at com.iplanet.services.ldap.LDAPUser.getPasswd(LDAPUser.java:117)
    warning: CORE3283: stderr: at com.iplanet.services.ldap.ServerInstance.getPasswd(ServerInstance.java:128)
    warning: CORE3283: stderr: at com.sun.identity.security.ServerInstanceAction.run(ServerInstanceAction.java:92)
    warning: CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
    warning: CORE3283: stderr: at com.iplanet.am.util.AdminUtils.<clinit>(AdminUtils.java:82)
    warning: CORE3283: stderr: at com.sun.identity.security.AdminDNAction.run(AdminDNAction.java:86)
    warning: CORE3283: stderr: at java.security.AccessController.doPrivileged(Native Method)
    warning: CORE3283: stderr: at com.sun.identity.authentication.internal.server.SMSAuthModule.initialize(SMSAuthModule.java:129)
    warning: CORE3283: stderr: at com.sun.identity.authentication.internal.LoginContext.login(LoginContext.java:122)
    warning: CORE3283: stderr: at com.sun.identity.authentication.internal.AuthLoginThread.run(AuthLoginThread.java:82)

    I reran the access manager configuration and deployed it to the web server and now the webserver starts up successfully. I think my problem was that the file I was using initially wasn't properly setup for my enviroment.
    Carinus

  • Sun ONE Web Server 6.1 and Beans

    Hello,
    I am learning JSP and I have a new install of Sun ONE Web Server Enterprise Edition 6.1. I have a some java code (a class) I would like to use in my JSP page via <jsp:useBean...>.
    Where do I put my .java (or compiled .class) file?
    For example: UserData.class
    Thanks,
    Michael

    Thanks for the reply.
    Under my <appdir> I created a WEB-INF and classes directries. I copied my .class file to it but still get the message in the Sun One 6.1 error log:
    C:\Sun\WebServer6.1\https-titan\ClassCache\https-titan\default-webapp\_jsps\_apps\_bean1\_SaveName_jsp.java:66: package user does not exist
         user = (user.UserData) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "user.UserData");
         ^
    I am so new - what else can you recommend?
    Thanks again,
    Michael

  • Help for Installing PHP and Sun One Web Server

    Hi
    I tried to install PHP 5.1.4 and Sun One Web Server 6.1. I am not able to complete this and got stuck. All the available materials in net seems to flow above my head.
    It will be very helpful if someone could let me know the step by step configuration a bit brief for the same.
    Thanks in advance
    Kathirvel Balakrishnan

    Hi Craig
    I am following these steps,
    1st step : Installing PHP on the WindowsNT server (NT users only)
    Copy the php files on your server
    Get the php zip file
    Copy the php files under a directory (for example : d:php4)
    (be careful don't use c:Program Filesphp because of the space between Program and Files
    copy php4ts.dll to c:winnt and msvcrt.dll if you don't already have it on your system
    Edit php.ini-dist
    rename php.ini-dist to php.ini
    Edit php.ini : Indicate in which directory you have copied youre php files. (extension_dir = d:php4extensions ; directory in which the loadable extensions (modules) reside.)
    copy php.ini in winnt directory (php.ini is parsed in my config)
    Matthias Kramer told me that he had to move php.ini to <path-to-netscape-server>/https-servername/config for it to be parsed
    Make a file association under Windows NT
    In a DOS Window, type assoc .php=PHPScript
    ftype PHPScript=d:php4php.exe %1 %*
    Test the 1st step
    Create a C:test.php file with a single line like <? echo("Nothing to write"); ?>
    Create a C:test.bat file with 2 lines test.php
    pause
    double-clic on test.bat
    If you see something like X-Powered-By: PHP/4.0.3
    Content-type: text/html
    Nothing to write
    then the NT association works!!
    2nd step : Configuring Netscape Enterprise Server or iPlanet for PHP4 with nsapi (NT & UNIX)
    Unix users only
    Compile PHP as follows: ./configure --with-nsapi=/usr/local/netscape/server4 --enable-libgcc
    make
    make install
    Add LD_LIBRARY_PATH=<libdir> to your Netscape server startup script
    where <libdir> is the full path to the directory where libstdc++.so.2.10.0 is located (usually /usr/local/lib)
    Add a mime-type to the Netscape Server
    In the Netscape Administration console chose Preferences|Mime Types
    Add a new type called magnus-internal/x-httpd-php for exts=php
    Click here for screenshot
    Stop your Web Server
    Make a copy of obj.conf located in: <path-to-netscape-server>/https-servername/config
    Modify obj.conf
    There are several section in obj.conf
    At the end of the Init section of obj.conf (necessarely after mime type init),
    place this two lines For NT users
    Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="d:/php4/sapi/php4nsapi.dll"
    Init fn="php4_init" errorString="Failed to initialise PHP!"
    For Unix users
    Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/usr/local/netscape/server4/bin/libphp4.so"
    Init fn="php4_init" errorString="Failed to initialise PHP!"
    In The < Object name="default" > section,
    place this line (necessarely after all 'ObjectType' and before all 'AddLog' lines) Service fn="php4_execute" type="magnus-internal/x-httpd-php"
    Add a new object called x-httpd-php <Object name="x-httpd-php">
    ObjectType fn="force-type" type="magnus-internal/x-httpd-php"
    Service fn=php4_execute
    </Object>
    Restart your Web Server
    Test the 2nd step
    Put the test.php file in the document root of your server
    Then type http://server/test.php
    If you can see "nothing to write" in your browser then it works!
    AS mentioned in step 1,
    I am not getting the PHP message.
    I am installing it in my laptop, it has no IP, is that has to do something with this.
    Please guide me from here.
    Thanks in advance
    Kathirvel

  • NetBeans and Sun ONE Web Server 6.1

    I have a JSP / Beans / Servlet Web application working in Tomcat on my local machine, a Macintosh laptop. I used NetBeans to create it all, and everything works fine there. I have tried to upload everything to another computer (Solaris based) which is running Sun ONE Web Server 6.1, but am having problems.
    I uploaded the WAR file that NetBeans created, and uploaded the 'web' directory that NetBeans created. I can access HTML files from that web folder, but when I ask it to go to the first page, index.jsp, it has a problem with the beans. In my JSP file I do:
    <jsp:useBean id="db" class="drc.database" scope="session" />
    It seems to be having problems loading that class. What do I need to do? Here is the error code:
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, ntrans-j2ee reports: mapped uri "/index.jsp" in context "" to resource "jsp"
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: context = StandardEngine[null].StandardHost[drc].StandardContext[]
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: contextPath =
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: wrapper = StandardEngine[null].StandardHost[drc].StandardContext[].StandardWrapper[jsp]
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: servletPath = /index.jsp
    [04/Aug/2005:17:15:36] fine (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: pathInfo = null
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): JspEngine --> /index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): ServletPath: /index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): PathInfo: null
    [04/Aug/2005:17:15:36] fine (15708):      for host 0.0.0.0 trying to GET /index.jsp, ntrans-j2ee reports: mapped uri "/index.jsp" in context "" to resource "jsp"
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): RealPath: /www/html/drc/index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): RequestURI: /index.jsp
    [04/Aug/2005:17:15:36] info (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: WEB2798: [] ServletContext.log(): QueryString: null
    [04/Aug/2005:17:15:36] failure (15708):      for host 129.147.40.215 trying to GET /index.jsp, service-j2ee reports: StandardWrapperValve[jsp]: WEB2792: Servlet.service() for servlet jsp threw exception
         org.apache.jasper.JasperException: WEB4000: Unable to compile class for JSPWEB4124:
         An error occurred at line: 3 in the JSP file: /index.jsp
         WEB4126: Generated servlet error:
         /opt/SUNWwbsvr/https-kesin.Central.Sun.COM/ClassCache/drc/default-webapp/_jsps/_index_jsp.java:66: package drc does not exist
         drc.database db = null;
         ^
         WEB4124:
         An error occurred at line: 3 in the JSP file: /index.jsp
         WEB4126: Generated servlet error:
         /opt/SUNWwbsvr/https-kesin.Central.Sun.COM/ClassCache/drc/default-webapp/_jsps/_index_jsp.java:69: package drc does not exist
         db= (drc.database)
         ^
         WEB4124:
         An error occurred at line: 3 in the JSP file: /index.jsp
         WEB4126: Generated servlet error:
         /opt/SUNWwbsvr/https-kesin.Central.Sun.COM/ClassCache/drc/default-webapp/_jsps/_index_jsp.java:74: package drc does not exist
         db = (drc.database) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "drc.database");
         ^
         3 errors
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:764)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:412)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:578)

    it is certifying / authenticating that the secured
    web site is owned by the genune party and the
    transactions with the party is doing through a
    encrypted format.
    Am i correct up to this???Correct, that is what SSL/certificates are for.
    >
    Then my dowt is that
    Is it possible to make my server SSL enabled with
    h out using any certificate ????( the documents you
    are given is telling about certificates)No it is not possible - the whole idea behind SSL communication is that it is based on TRUSTED secure communication. If a client can not check validity of server's certificate it is not trusted any more.
    It might not seem to be the case when you create a self-signed certificate, but it really is so. In case of a self signed certificate you(i.e your browser) trust yourself with whatever you do with your application on your webserver.
    After all can I install some certificates lateron ??
    If you really need SSL with your webserver you have to either create a self signed certificate, see this: http://sial.org/howto/openssl/self-signed/
    or request a test certificate from www.verisign.com or www.thawtee.com

  • Sun one web server and apache

    Hi, all
    I would like to ask what are the differences between Sun ONE Web Server 6.1 and apache 2 on the features/functions matter.
    Compare with apache, what things do the SUN ONE Web can done.?
    What things do the SUN ONE Web Server cannot done?
    I just want to compare their functions/features.
    Thank you for your help.

    I don't know of a comprehensive comparison between the two, and I don't know enough about Apache Httpd to give a fair comparison. However, here are some highlights.
    - Functionality: Besides from a few things that can be done with Apache Httpd and mod_rewrite but cannot be done in WS6.1, almost everything else worth doing can be done with WS6.1.
    - Performance and stability: WS6.1 has the advantage here. Look at the latest SPECWeb2005 results submitted by sun (http://www.spec.org/web2005/results/web2005.html).
    If you have specific features/functions that you want to list, we can offer better comparisons.

  • Sun ONE Web Server 6.1 and p6spy integration

    Has anyone successfully integrated p6spy with Sun ONE Web Server on a Windows platform? If so, any help would be greatly appreciated.

    Y follow your steps (they seem correct for me too) and I get:
    warning: CORE3283: stderr: Warning: Could not set property setStringmatcher due
    to InvoicationTargetException
    warning: CORE3283: stderr: Warning: Error registering factory [com.p6spy.engine
    .logging.P6LogFactory]
    warning: CORE3283: stderr: Caused By: java.lang.ClassCastException
    warning: CORE3283: stderr: com.p6spy.engine.spy.P6DriverNotFoundError: Error reg
    istering factory [com.p6spy.engine.logging.P6LogFactory]
    warning: CORE3283: stderr: Caused By: java.lang.ClassCastException
    warning: CORE3283: stderr: at com.p6spy.engine.spy.P6SpyDriverCore.initMeth
    od(P6SpyDriverCore.java:289)
    warning: CORE3283: stderr: at com.p6spy.engine.spy.P6SpyDriver.initMethod(P
    6SpyDriver.java:78)
    warning: CORE3283: stderr: at com.p6spy.engine.spy.P6SpyDriver.<clinit>(P6S
    pyDriver.java:74)
    warning: CORE3283: stderr: at java.lang.Class.forName0(Native Method)

  • Sun ONE Web Server 6.0 AND jre 1.6

    I am using Sun ONE Web Server 6.0 Service Pack 11. Can I upgrade my JRE version to 1.6? Currently I am using 1.5. Your response will be much appreciated?

    I am using external JRE. I have already installed it.
    When I type java -version on /usr/iplanet/servers/bin/https/jre/bin, I am getting Java(TM) SE Runtime Environment (build 1.6.0_16-b01). My question is, will it cause any issues when I run my application? Has sun specified like JRE 1.6 should be used on Sun ONE Web Server 6.1 onwards only?

  • Poor Performance of Sun One Web Server 6.0 SP6

    We are running on an E450 with 2GB of memory, Solaris 8 2/02 with Recommended and Security Patch Cluster from 31 Jul 03, Sun One Web Server 6.0 SP6, Macromedia ColdFusion 5, JDK 1.4.1_02. We are seeing intermittent (three or four times a day) performance problems, extremely poor response time.
    A vanilla, �test� iPlanet web server was put up on port 2443 with https turned on and off. Repeated control tests on file operations (�copy link as�) showed similar results as those described in High Impact above. Changes to add KeepAlive parameters (in magnus.conf) showed no noticeable improvement.
    Tests were conducted -- on the test server -- accessing the same file from two clients, one a thin client (TC), the other a Unix workstation (UW).
    Results:
    1) Sometimes process TC was started first and continued normally while process UW hung up; when this happened, only one httpd process was building cpu time;
    2) Sometimes process UW was started first and continued normally while process TC hung up; when this happened, only one httpd process was building cpu time;
    3) Sometimes both process TC and process UW continued normally regardless of which was started first; when this happened, two different httpd processes were building cpu time together;
    Speculation on Process Management - speculation is that, in the case of the 3rd bullet above, iPlanet assigned different httpd processes to the two requests. In the case of the first two bullets, however, the belief is that iPlanet actually assigned the second request to the same process it had previously assigned the first request. In this case, the second request was left to wait. It appears that most of the work done by httpd children is performed by only two or three children, even when there are 10 available.
    Questions;
    Why are the other httpd children are not more fully utilized?
    What about changing the number of Acceptor Threads?
    Could turning on Native Polling help (UseNativePoll in magnus.conf)?
    Any other thoughts about what is going on or how to fix the issue?
    Thanks for any assistance
    Excerpt from /etc/system
    * Web Server and ColdFusion Setting
    set shmsys: shminfo_shmmax = 2147483647
    set shmsys: shminfo_shmmin = 1
    set shmsys: shminfo_shmmni = 100
    set shmsys: shminfo_shmseg = 50
    set semsys: seminfo_semmns = 1750
    set semsys: seminfo_semmni = 70
    set msgsys:msginfo_msgmax = 65535
    set msgsys:msginfo_msgmnb = 65535
    set msgsys:msginfo_msgseg = 8192
    set msgsys:msginfo_msgssz = 16
    * Default is 512, which handles several thousand connections
    *set tcp:tcp_conn_hash_size=262144
    * Do not set to 0 in solaris 8 on Production Systems
    *set sq_max_size=0
    set rlim_fd_max=8192
    set rlim_fd_cur=8192
    * END of Web / ColdFusion Settings
    Excerpt from /etc/rc2.d/S69inet
    ## Web Server and ColdFusion Settings
    # Comment out tcp_slow_start_initial, because default is 4
    #ndd -set /dev/tcp tcp_slow_start_initial 2
    ndd -set /dev/tcp tcp_xmit_hiwat 32768
    ndd -set /dev/tcp tcp_recv_hiwat 32768
    ndd -set /dev/tcp tcp_conn_req_max_q 1024
    ndd -set /dev/tcp tcp_conn_req_max_q0 4096
    ndd -set /dev/tcp tcp_time_wait_interval 60000
    ndd -set /dev/tcp tcp_keepalive_interval 900000
    # Comment out next 4 to accept default
    # - change only if tcp longer than 10 seconds expected
    #ndd -set /dev/tcp tcp_ip_abort_interval 60000
    #ndd -set /dev/tcp tcp_rexmit_interval_max 10000
    #ndd -set /dev/tcp tcp_rexmit_interval_initial 3000
    #ndd -set /dev/tcp tcp_rexmit_interval_min 3000
    # Left out changing ephemeral (short lived) port
    #ndd -set /dev/tcp tcp_smallest_anon_port 1024
    # Keep default of 1480576
    #ndd -set /dev/tcp tcp_cwnd_max 65535
    ## End of Web / ColdFusion Settings
    Excerpt from magnus.conf
    RqThrottle 1
    MaxProcs 10
    StackSize 131072
    ## Added for lightly loaded systems
    KeepAliveQueryMeanTime 1
    KeepAliveQueryMaxSleepTime 0

    Because the security context is set as a process context, the NSAPI thread locks the process prior to setting the security context. The older NASPI plugin that we are using is not reentrant, it will not work with the mulitthreading model. Under multithreading each thread would have access to the security context of each thread.

  • How to deploy .war on Sun ONE Web Server 6.0?

    Hi Everyone
    I have been trying unsuccessfully to deploy a .war application using Sun One Web Server 6.0.
    I only installed Sun ONE for the first time this morning and don't know much about web servers - yet.
    I deployed the web application from the web-based admin console. I'm not sure exactly what to put in the URI field. I just deployed it on the only existing "virtual server". I don't really know anything about virtual servers.
    Also: I installed with the defaults, what port should I try to access my app from?
    The documentation doesn't help much - so please don't give me a URL to some docs i won't understand.
    I miss the autodeploy offered by other tools. I have deployed this app before on other servers.
    thanks in advance

    The URI is the "virtual path" at which the web application is accessible. For example, if you deploy a web application at the URI /foo, you would access the web application by requesting http://server.example.com:port/foo/.
    Unfortunately, I can't tell you what port your Web Server instance is listening on as that's configured at install time. If you don't remember the port you selected, check the server.xml configuration file. The port is recorded in that file.

  • How do I configure a Sun One Web Server 6.1 to run JSP pages

    I have a Sun One Web server version 6.1 running on Solaris 10.
    The web server is not configured to run JSP pages. When I try and run a JSP page, I get an HTTP 405 error.
    Can somebody please point me to the configuration directions, including changes to the obj.conf, magnus,.conf, etc.
    Thanks

    Web Container is enabled by default.
    Here are my config files
    $tail -1 magnus.conf
    Init fn="load-modules" shlib="/export2/ws6.1sp11/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"$cat obj.conf
    # You can edit this file, but comments and formatting changes
    # might be lost when the admin server makes changes.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/export2/ws6.1sp11/ns-icons" 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,index.jsp"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    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|POST)" type="*~magnus-internal/*" fn="send-file"
    Service method="TRACE" fn="service-trace"
    Error fn="error-j2ee"
    AddLog fn="flex-log" name="access"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </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="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>JAVA settings in server.xml:
    <JAVA classpathsuffix="" debug="false" debugoptions="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n" dynamicreloadinterval="-1" envclasspathignored="true" javahome="/export2/ws6.1sp11/bin/https/jdk" nativelibrarypathprefix="" serverclasspath="/export2/ws6.1sp11/bin/https/jar/webserv-rt.jar:${java.home}/lib/tools.jar:/export2/ws6.1sp11/bin/https/jar/webserv-ext.jar:/export2/ws6.1sp11/bin/https/jar/webserv-jstl.jar:/export2/ws6.1sp11/bin/https/jar/ktsearch.jar">
            <JVMOPTIONS>-Djava.security.manager</JVMOPTIONS>
            <JVMOPTIONS>-Djava.security.policy=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/server.policy</JVMOPTIONS>
        <JVMOPTIONS>-Djava.security.auth.login.config=/export2/ws6.1sp11/https-alamanac.india.sun.com/config/login.conf</JVMOPTIONS>
        <JVMOPTIONS>-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager</JVMOPTIONS>
        <JVMOPTIONS>-Xmx256m</JVMOPTIONS>
        <SECURITY anonymousrole="ANYONE" audit="false" defaultrealm="native">
          <AUTHREALM classname="com.iplanet.ias.security.auth.realm.file.FileRealm" name="file">
            <PROPERTY name="file" value="/export2/ws6.1sp11/https-alamanac.india.sun.com/config/keyfile"/>
            <PROPERTY name="jaas-context" value="fileRealm"/>
          </AUTHREALM>
          <AUTHREALM classname="com.iplanet.ias.security.auth.realm.webcore.NativeRealm" name="native">
            <PROPERTY name="jaas-context" value="nativeRealm"/>
          </AUTHREALM>
          <AUTHREALM classname="com.iplanet.ias.security.auth.realm.ldap.LDAPRealm" name="ldap">
            <PROPERTY name="directory" value="ldap://localhost:389"/>
            <PROPERTY name="base-dn" value="o=isp"/>
            <PROPERTY name="jaas-context" value="ldapRealm"/>
          </AUTHREALM>
                <AUTHREALM name="solaris" classname="com.iplanet.ias.security.auth.realm.solaris.SolarisRealm">
                  <PROPERTY name="jaas-context" value="solarisRealm"/>
                </AUTHREALM>
        </SECURITY>
        <RESOURCES>
            </RESOURCES>
      </JAVA>

  • Sun ONE Web Server & Remote User field

    Hi,
    I look for a tip to my Sun ONE Web Server 6.1 SP2 configuration.
    I have:
    - OS: Sun Solaris 8
    - Apache 1.3 (listen port :80)
    - Sun ONE Web Server 6.1 SP2 (listen port :81)
    - Weblogic 8.1 SP4 (listen port :8001)
    The 3 applications are in the same server.
    My first configuration works:
    - Apache works with basic authentification by password file (generate with htpasswd) and communicates with Weblogic
    - Weblogic listens http requests and work with the remote user id (use method HttpServletRequest.getRemoteUser())
    My second configuration doesn't work:
    - Apache works with basic authentification by password file (generate with htpasswd) + reverse proxy mode (use VirtuaHost) and communicates with Sun ONE Web Server
    - Sun ONE Web Server works with no authentification mode and communicates with Weblogic
    - Weblogic listens http requests and works with the remote user id (use method HttpServletRequest.getRemoteUser())
    The HttpServletRequest.getRemoteUser() returns null in my second configuration.
    How I can configure my Sun ONE Web Server to foward the remote user id ?
    Thank you.
    Christophe.

    Can you send your obj.conf?
    I do not have a 6.1 Web Server installed, by guess work try
    NameTrans fn="redirect" from="/index.html" url="/"
    Also remove find-index or any such SAFs if you have in your obj.conf
    PathCheck fn="find-index" index-names="index.html,home.html,index.jsp"Why do you need this?

  • Where is Sun One Web Server's equivalent to Tomcat's common/lib

    i'm new to sun one web server and i'm trying to set up a connection pool. i set up a resource using the server manager but when i try to run my app, it produces a
    java.lang.ClassNotFoundException: oracle.jdbc.pool.OracleDataSourcei have the oracle driver jar i just dn't know where to put it.
    can anyone help?

    No, the jars would not be picked up unless they are explicitely added to the server.xml classpathsuffix, or put in the web server instance lib directory.
    Ex 1: putting them in the instance lib dir (no need to add them to classpathsuffix):
    /opt/SUNWwbsvr/https-hostname.domainname/lib/
    Ex. 2: If you have a jar file in your home directory, for example:
    /home/username/lib/classes12.jar
    You could have to add it to the classpath prefix in server.xml:
    <JAVA ... classpathsuffix="/home/username/lib/classes12.jar" ... >
    In this case, you could have all three server pointing to the same jar.
    The nativelibrarypathprefix is for native lib files (platform specific files, not jars)

Maybe you are looking for

  • Piece of cake to crash Essbase

    Has anyone run a simple excel addin query, with text in 1 cell (merged or not) that exceeds 500 characters and have it run successfully? We have a problem in our 9.3.1 environment whereby retrievals on such queries cause the database to generate an X

  • Long running transactions.

    Hi all, In real world systems, how efficient are long running flat transactions in ejb 2.0 since the transactions tends to lock several tables that are part of the transaction. Could any one explain in detail or direct to any websites that share the

  • Help with LiveCycle Designer ES 8.2

    I created a form in LiveCycle Designer ES 8.2 with a digital signature field so that any one can open it and fill it in and add a signature in adobe reader x ver 10.1.3. However, any one that opens it gets an error that says, "the security settings o

  • Device name gone after upgrading to 2.2.1

    My iPod touch doesn't have its device name listed in in iTunes when it is connected. This has happened since upgrading to software version 2.2.1 and upgrading the sdk to 2.2.1. It still syncs with iTunes properly though. Any ideas of where to set the

  • Project Plan for Migrating to 11g

    Hi, We are planning to Migrate to 11g from 10g.I need a project Plan template. Regards Narasimha