Thread number limitation on Sun One Web Server 6.1 on Solaris 9

Hi.
I am testing my servlet on Web Server 6.1 on Solaris 9 (SPARC). I am logging start of HTTPServlet.doPost() method and end of it, by calling GenericServlet.log() method for perfomance check.
When I request more than two request(it takes long time) simultaneously from browser, my servlet logs like:
doPost start
doPost start
doPost end
doPost start
doPost end
doPost start
:that is ,two requests is processed concurrent by threads, and another requests waiting, and after each running thread ends, waiting request is processed one by one.
I think there is some limitation of thread or connections, so I checked magnus.conf. But RqThrottle is set to 128. And I cannot find any thread number settings.
My magnus.conf is as follows.
# The NetsiteRoot, ServerName, and ServerID directives are DEPRECATED.
# They will not be supported in future releases of the Web Server.
NetsiteRoot /export/home0/SUNWwbsvr
ServerName test03
ServerID https-test03
RqThrottle 128
DNS off
Security off
PidLog /export/home0/SUNWwbsvr/https-test03/logs/pid
User webservd
StackSize 131072
TempDir /tmp/https-test03-8ac62f09
UseNativePoll off
PostThreadsEarly on
KernelThreads off
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-modules" shlib="/export/home0/SUNWwbsvr/bin/https/lib/libj2eeplugin.so" shlib_flags="(global|now)"Why web server do not process more than two requests concurrent? Which server configuration should I check?
Thanks in advance.

I don't think I ever ran into that kind of a limit. Does the servlet use database connections (maybe the connection pool is empty) or other critical sections / large synchronized blocks?
Try a minimal servlet that takes a while to execute:
    doGet(...)
        log("sleep starting " + Thread.currentThread().getName());
        try {
            Thread.sleep(30000);
        } catch (Exception e) { }
        log("sleep done " + Thread.currentThread().getName());
        response.getOutputStream().println("good morning");

Similar Messages

  • 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.

  • Problem with maxprocs 1 on Sun One Web server 6.1

    I am using sun one web server on Unix with maxprocs set to 3.
    This means that there are 3 jvms running my application under 1 instance. However I have certain components like an application cache that I would like to share between these 3 processes.
    Additionally is there a way to configure the server so that requests from 1 session are served by 1 process only.
    I am really stuck here. Have searched in all the documentation, but in vain. Would really help if some one of the Sun Developers could answer this.
    Thanks
    Chetan

    Elving,
    It is great to hear that there is no predefined limit on number of sessions but if that's the case why the webserver always starts with 1000 allowed by default. Are there any potential performance reasons behind it?
    I have your link open in my browser for a few days now as a reference because I am experimenting with different Session Managers. I am trying to find a solution for BheegaChicken to be able to accomodate several thousand simultaneous sessions for his application.
    We use V6.0SP2 and SP6 and for BheegaChicken's app specifically V6.1SP2...
    I have spent some time in the past looking for the answers how to handle higher then 1000 sessions capacity on one instance and that was even before V6.1 was out. I have found the following reco that talks about optimal performance for sites using threads:
    http://docs.sun.com/source/816-5690-10/perf6.htm#17580
    *** start qoute
    Multi-Process Mode
    You can configure the server to handle requests using multiple processes with multiple threads in each process. This flexibility provides optimal performance for sites using threads, and also provides backward compatibility to sites running legacy applications that are not ready to run in a threaded environment. Because applications on Windows NT generally already take advantage of multi-thread considerations, this feature applies to Unix/Linux platforms.
    The advantage of multiple processes is that legacy applications that are not thread-aware or thread safe can be run more effectively in iPlanet Web Server. However, because all the Netscape/iPlanet extensions are built to support a single-process threaded environment, they may not run in the multi-process mode, and the Search plug-ins will fail on startup if the server is in multi-process mode.
    In the multi-process mode, the server spawns multiple server processes at startup. Each process contains one or more threads (depending on the configuration) which receive incoming requests. Since each process is completely independent, each one has its own copies of global variables, caches, and other resources. Using multiple processes requires more resources from your system. Also, if you try to install an application which requires shared state, it has to synchronize that state across multiple processes. NSAPI provides no helper functions for implementing cross-process synchronization.
    If you are not running any NSAPI in your server, you should use the default settings: one process and many threads. If you are running an application which is not scalable in a threaded environment, you should use a few processes and many threads, for example, 4 or 8 processes and 128 or 512 threads per process.
    MaxProcs (Unix/Linux)
    Use this directive to set your Unix/Linux server in multi-process mode, which may allow for higher scalability on multi-processor machines. If you set the value to less than 1, it will be ignored and the default value of 1 will be used.
    Tuning
    You can set the value for MaxProcs by:
    Editing the MaxProcs parameter in magnus.conf
    Setting or changing the MaxProcs value in the Magnus Editor of the Server Manager
    Note      You will receive duplicate startup messages when running your server in MaxProcs mode.
    *** end quote
    If it is not relevant anymore please explane.
    I am still interested to understand which of the SessionManagers is recommended by Sun to have optimal performance for sites with high number of sessions and using threads. It is not really obvious from http://docs.sun.com/source/817-6251/pwasessn.html. On top of this that's documented just for V6.1. What about V6.0?
    Thank you very much for your cooperation!
    Sasha aka ttalex

  • Sun One web server 6.0 Authentication

    Does anyone know if it is possible to use form based authentication under Sun One Web Server 6.0, that checks the user authentication on a proprietary API. I need to use a JAVA library to authenticate users and i would like to use it under the form based authentication method inside the web server. Is it possible to write a plug-in for web server authentication mechanism?
    Thank you

    I have almost identical problem (topic �iPlanet 6.0 stops responding�). Since than I made some serious testing and found out that NSAPI does not produce problem. There are two types of delays: the shortest last from 10 to 20 seconds and usually there is �Error accepting connection (The semaphore timeout period has expired.� message in error log. The longest sometimes last more than 10 minutes.
    This is short cut from my response time log (in miliseconds):
    10:30:18 Response:    15
    10:30:28 Response:    32
    10:30:38 Response:    47
    10:30:48 Response:    31
    10:31:06 Response:  8265
    10:31:17 Response:   188
    10:31:27 Response:    31
    10:31:37 Response:    16
    10:31:47 Response:    16
    10:31:57 Response:    31
    10:32:07 Response:    32
    10:32:17 Response:    31
    10:32:37 Response: 10578
    10:32:47 Response:    31
    10:32:57 Response:    31
    10:33:07 Response:    32
    10:33:17 Response:    47
    10:33:27 Response:    31
    10:33:38 Response:   266
    10:33:48 Response:    62
    10:33:58 Response:    31
    10:34:08 Response:    47
    10:34:18 Response:    47
    10:34:28 Response:    31
    10:34:49 Response: 11047
    10:34:59 Response:    31
    10:35:10 Response:    93
    10:35:20 Response:    32
    10:35:30 Response:    46
    10:35:40 Response:    32
    10:35:50 Response:    47
    10:36:00 Response:    46
    10:36:10 Response:    32
    10:36:20 Response:    62
    10:36:30 Response:    47
    10:36:40 Response:    31
    10:36:50 Response:   391
    10:37:01 Response:   297and Connection statistics from Admin web at delay
    Total Number Of Connections:  31644 
    Maximum Number Of Queued Connections: 4096 
    Peak Number Of Queued Connections: 285 
    Current Number Of Queued Connections: 285 
    Number Of Processes:  1 Configuration is Sun One Web Server 6.0.6, Win2K Advanced Server with SP4, Single Processor Machine (Compaq DL360).

  • Sun one web server 6.0 admin instance

    Hi,
    After installing Sun one web server 6.0 sp6 on HP-UX, the admin server instance seems to work fine (i.e. I can bring up the admin web page). However, I cannot bring up web page from other web server instance. it gives me this error "the page cannot be displayed". Am I supposed to get a default webpage from this web server? How can I tell if this web server is working properly? Please help.
    thanks,
    Paul

    Hi,
    thanks for your prompt reply Joe. No, I don't get anything in the access log but I got some error messages in error log. It looks like the error indicates the web server crashed. Please help. I've been struggling to get this web server running and it's going nowhere.
    "[24/Dec/2003:08:40:19] catastrophe ( 8291): Server crash detected (signal SIGBUS)
    [24/Dec/2003:08:40:19] info ( 8291): Crash occurred in NSAPI SAF NSServletNameTrans
    [24/Dec/2003:08:40:26] failure ( 8290): Child process admin thread is shutting down
    [24/Dec/2003:08:40:26] info ( 8326): Installing a new configuration
    [24/Dec/2003:08:40:26] info ( 8326): [LS ls1] http://hpusam20, port 1040 ready to accept requests
    [24/Dec/2003:08:40:26] info ( 8326): A new configuration was successfully installed
    [24/Dec/2003:08:40:26] warning ( 8326): Port directive ignored
    [24/Dec/2003:08:40:26] warning ( 8326): The server configuration may require more file descriptors than the operating system provides. If you encounter PR_PROC_DESC_TABLE_FULL_ERROR errors, you may wish to increase the operating system hard file descriptor limit from 1024 to 5763 (see your operating system documentation) or decrease one or more of the following settings: MaxFiles in nsfc.conf and ConnQueueSize, RqThrottle, and MaxKeepAliveConnections in magnus.conf."

  • Cant start Sun ONE Web Server 6.1SP10

    Hi,
    Running SP8 have no issues. But when I upgrade to SP10, my webserver wont start. Here are the details.
    Sun ONE Web Server 6.1SP10 B09/04/2008 10:26
    failure: CORE3170: Configuration initialization failed: Error running init function load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed (A file or directory in the path name does not exist.)
    Launching browser....
    The file mention is even there.
    # ls -lt /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so
    -rwxr-xr-x 1 root system 306414 Jun 14 2007 /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so
    Appreciate all your inputs. Thanks.

    I just now installed Web Server 6.1 sp10 on AIX 5.2 machine works fine both with JDK 1.5 and 1.6 :
    First I ran with JDK 1.5 (version shown below)
    #java -version
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20080315 (SR7))
    IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3
    AIX ppc-32 j9vmap3223-20080315 (JIT enabled)
    J9VM - 20080314_17962_bHdSMr
    JIT  - 20080130_0718ifx2_r8
    GC   - 200802_08)
    JCL  - 20080314and then changed in https-<instance>/config/server.xml, "javahome" to point to JDK 1.6 :
    <JAVA javahome="/comps/jdk/16/aix/" serverclasspath=...>The exact version of JDK 6 I used is shown below :
    #/comps/jdk/16/aix/jre/bin/java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap3260sr2-20080818_01(SR2))
    IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4
    AIX ppc-32 jvmap3260-20080816_22093 (JIT enabled, AOT enabled)
    J9VM - 20080816_022093_bHdSMr
    JIT  - r9_20080721_1330ifx2
    GC   - 20080724_AA)
    JCL  - 20080808_02h4. oslevels
    # oslevel -q;
    Known Maintenance Levels
    5.2.0.0
    # oslevel -r
    5200-02
    # oslevel -r -q
    Known Recommended Maintenance Levels
    5200-10
    5200-09
    5200-08
    5200-07
    5200-06
    5200-05
    5200-04
    5200-03
    5200-02
    5200-01
    5200-00h4. How I built JDK
    * Go to [http://www.ibm.com/developerworks/java/jdk/aix/service.html|http://www.ibm.com/developerworks/java/jdk/aix/service.html]
    * Click on "Fix Info" link from Java 5.0 32 bit [http://www.ibm.com/developerworks/java/jdk/aix/j532/fixinfo.html|http://www.ibm.com/developerworks/java/jdk/aix/j532/fixinfo.html]
    * Click on SR7 link [http://www-912.ibm.com/eserver/support/fixes/fixcentral/pseriespkgoptions/apar?fixes=IZ18002|http://www-912.ibm.com/eserver/support/fixes/fixcentral/pseriespkgoptions/apar?fixes=IZ18002] and download the JDK.
    * You may have to create a soft links for sh (most probably only for Web Server 7 onwards)
    # cd java-home
    # ln -s bin sh
    # cd jre
    # ln -s bin sh* You may have to fix soft links in your JDK (especially links which point to /usr/java5/jre/bin) if your JDK is not installed on your local machine and you have copied that directory to another machine : for instance <JAVA-HOME>/bin/java should point to ../jre/bin/java rather than /usr/java5/jre/bin
    * Due to [http://www.ibm.com/developerworks/forums/thread.jspa?threadID=179363&tstart=30|http://www.ibm.com/developerworks/forums/thread.jspa?threadID=179363&tstart=30], you may have to download security policies (jre/lib/security/US_export_policy.jar and jre/lib/security/local_policy.jar)
    o Go to [http://www.ibm.com/developerworks/java/jdk/security/50/#sdkpol|http://www.ibm.com/developerworks/java/jdk/security/50/#sdkpol]
    o Click on "IBM SDK Policy files" link i.e. [https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=jcesdk|https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=jcesdk]
    o Downloaded "Unrestricted JCE Policy files for SDK 1.4" from that location (after login) [http://www6.software.ibm.com/.../unrestrict142.zip|http://www6.software.ibm.com/.../unrestrict142.zip]
    o Unzip unrestrict142.zip file and replace the two jars (US_export_policy.jar and local_policy.jar) in appropriate places in JDK.
    Same steps for JDK 6.

  • 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.1SP4 - Crashing

    I am getting the below while starting the web server instance. I have checked with the OS support team and they confirmed that the system is upto date with all the OS patches. Can someone please help?
    Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
    catastrophe: CORE3260: Server crash detected (signal SIGSEGV)
    info: CORE3262: Crash occurred in function strlen from module /usr/lib/libc.so.1

    Thanks. I got it now. Here is the output of pstack.
    # pstack core.webservd.10594.evapsd005.0.0.1137645487
    core 'core.webservd.10594.evapsd005.0.0.1137645487' of 10594: webservd -r /opt/geps/iPlanet -d /opt/geps/iPlanet/https-admserv/confi
    ----------------- lwp# 1 / thread# 1 --------------------
    fe0331d0 strlen (286f626a, 400, 544, 0, ff0ef758, 0) + 38
    ff0b7390 ldap_charray_dup (ff0ddea0, 0, fda61118, ff3de7a8, 0, 0) + 68
    fd39cd48 ldap_url_dup (b27f8, 0, ffffffff, fffffff8, 0, ae565) + 1ac
    fd39cd7c ldap_url_duplist (b27f8, 0, 0, 4, 1, fd3bf4c8) + 14
    fd388e48 ldap_create (fffffff6, 32, 0, fe0bf789, fd3dc618, fd3dc602) + d8
    fd3890a4 ldap_initialize (fd3ed488, fd3ed808, fd3dc5e8, fd3dc710, fd3dc440, 0) + 8
    fd3d2a80 do_init (fd3ed488, ffbeefd8, fd3ee708, d, 0, 0) + 1bc
    fd3d34a0 do_init2 (0, ff000000, 0, fd3d6c34, ae4a8, 72) + 10
    fd3d6968 nssldap_getgroupsbymember_r (adaa0, ffbef5a4, adaa0, ae49c, fe09890c, ae3e0) + 38
    fe0498bc nss_search (1, fe0bef4c, fe0c35a4, fd3d6930, ae3e8, adaa0) + 1cc
    fe098698 _getgroupsbymember (59cf0, fe0abcbc, 10, 1, ae3e0, fe0bc008) + ac
    fe040f00 initgroups (ae398, ffffffff, 10, 59cf0, ff2f1cac, 59b88) + 84
    ff245764 __1cJWebServerDRun6F_nIPRStatus__ (ff2eedb0, ff2eed74, bbd18, ff2eedb4, 2c24, ff2c1624) + 6e8
    00010ab0 main (7, ffbef74c, ffbef76c, 20c00, 0, 0) + 1c
    00010a70 _start   (0, 0, 0, 0, 0, 0) + 108
    ----------------- lwp# 2 / thread# 2 --------------------
    fe09dbe4 _poll    (fdbbede0, fdbf0200, 1388, 1, fdbbede0, fe097c80) + 8
    fedc9568 pt_poll_now (fdbbee48, a, 3, ffffffff, ffffffff, 20) + 48
    fedca460 pt_Read (ffffffff, fdbbeed8, 1000, 178c, 1e9ec, 0) + e0
    ff23f058 __1cRLogNsprDescriptorDrun6M_v_ (66960, 1, fdbbeed8, 0, 1400, ff2e069c) + 44
    ff106dec ThreadMain (66960, 0, 2, 0, 1, 4b8) + 24
    fedd0028 ptroot (96600, fdbf0200, 0, 0, 10000, fede8d70) + d0
    fe154c3c lwpstart (0, 0, 0, 0, 0, 0)
    ----------------- lwp# 3 / thread# 3 --------------------
    fe09dbe4 _poll    (fdb3ede0, fdbf0400, 1388, 1, fdb3ede0, fe097c80) + 8
    fedc9568 pt_poll_now (fdb3ee48, f, 3, ffffffff, ffffffff, 20) + 48
    fedca460 pt_Read (ffffffff, fdb3eed8, 1000, 178c, 1e9ec, 0) + e0
    ff23f058 __1cRLogNsprDescriptorDrun6M_v_ (b7f80, 2, fdb3eed8, 1, 1400, ff2e069c) + 44
    ff106dec ThreadMain (b7f80, 0, 2, 0, 1, 4b8) + 24
    fedd0028 ptroot (ccd30, fdbf0400, 0, 0, 10000, fede8d70) + d0
    fe154c3c lwpstart (0, 0, 0, 0, 0, 0)
    #

  • Creating JNDI datsource for Sybase 11.2 in Sun One Web Server 6.1

    Hi,
    I would like to get detailed explanation on how to create JNDI datasource in Sun One Web Server 6.1 for Sybase 11.2. Can anybody help?

    Did you read and follow the WebServer manual? Since you did not even provide a version number, I'll point you at the latest:
    http://docs.sun.com/app/docs/coll/WebServer_05q1
    Thanks,
    -- Marco

  • Page size limitation on Sun ONE directory server 5.2

    Hi All,
    How do i know what is the Page size limitation on Sun ONE directory server 5.2?
    How do i cahnage it?
    Best Regards,
    Ayelet Regev
    [email protected]

    I enabled SSL in SUN ONE Directory Server 5.2, I use the following code to download the server certs,
         Hashtable env = new Hashtable(11);
         env.put(Context.INITIAL_CONTEXT_FACTORY,
         "com.sun.jndi.ldap.LdapCtxFactory");
         env.put(Context.PROVIDER_URL, "ldaps://bharatkumar.webm.webmethods.com:636/o=in");
         env.put(Context.SECURITY_AUTHENTICATION, "EXTERNAL");
         env.put(Context.SECURITY_PROTOCOL, "ssl");
         try {
         // Create initial context
         DirContext ctx = new InitialDirContext(env);
    System.out.println(ctx.lookup("ou=web"));
    ctx.close();
         } catch (NamingException e) {
         e.printStackTrace();
    But it throws the following error:
    javax.naming.CommunicationException: SASL bind failed: bharat.com:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.
    validator.ValidatorException: PKIX path building failed: sun.security.provider.c
    ertpath.SunCertPathBuilderException: unable to find valid certification path to
    requested target]
    at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:220)
    at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2637)
    at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:283)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
    at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193
    How to rectify the above error?
    Kindly Help me.
    Thanks,
    Bharat

  • Error while running Application on Sun One Web Server 6.1

    Can some one please explain me how can I run application on sun one web server 6.1 ?
    It is deployed .war file successfully. It only loads default.jsp and then fives following error:
    1) Package netscape.ldap not found in import.
    I imported this package to my java file.
    Thanks,

    We need to deploy the application by next week end. any suggestions please

  • Error while running sample app HelloWorld on sun one web server 6.1

    I tried to deploy and run the HelloWorld - sample application on sun one web server 6.1. It's giving me following errrors.
    (1) , root cause: java.lang.NullPointerException
    (2) info ( 924): JSP11 Log:unable to load jsp class: jsps.index_jsp
    what's the solution for that?
    Thanks
    Naimesh

    Can You please explain me how can I deploy .war file of my application on sun one web server 6.1 ?
    It is deployed successfully. It only loads default.jsp and then fives following error:
    1) Package netscape.ldap not found in import.
    I imported this package to my java file.
    Thanks,

  • Error when starting Sun ONE Web Server 6.1SP4 after successful installation

    I have installed Sun ONE Web Server 6.1SP4 on my Solaris computer and I receive the following error when I try to start the Admin server:
    Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
    failure: CORE3170: Configuration initialization failed: Error running init funct
    ion load-modules: dlopen of /opt/SUNWwbsvr/bin/https/lib/libj2eeplugin.so failed
    (ld.so.1: webservd: fatal: relocation error: file /opt/SUNWwbsvr/bin/https/lib/
    libares3.so: symbol __res_state: referenced symbol not found)
    I am running Solaris 8 and I have installed Patch 108993-22 as stated in chapter 2 of the installation and migration guide. I have also installed patches 116602-01, 115827-01, 113648-03, 112396-02, 111317-05, 111310-01, 111111-04, 111023-03, 110386-03, 108987-15, and 108528-24 since they are necessary for patch 108993-22.
    I have been stumped by this error. I have tried several different ways to install this software but I always get the same error. I believe that I have the latest version of the Sun One Web Server and I received no error notifications when I installed it! Any help would be apeciated!
    Thanks!!!!!

    I think this might occur if you don't have the patch for SunAlert 46042 installed. There's more information on this critical Solaris security vulnerability, which was reported back in 2002, at http://sunsolve.central.sun.com/search/document.do?assetkey=1-26-46042-1
    Can you run the following command to check if you have patch 109326-09 installed and let us know the result?showrev -p | grep 109326If you don't have 109326-09 or higher installed, you should install it as soon as possible. You can follow the link from the SunAlert. Better yet, install the latest Solaris 8 recommended patch cluster from http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access to make sure your system is fully patched and up to date.

  • How do you get Sun One Web Server to read white spacing in a url

    Hi guys,
    I am currently using Sun One Web Server and this is the problem that i am currently facing.
    The url which is i am trying to read from the Sun One Web Server is http://test:8000/test/Testing%20A%20B
    The error which i am getting is java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path
    The reason why this is happening is because the original url is http://test:8000/test/Testing A B It has spacing in between the url. I cannot get rid of the spacing thru the code where its bound to a Content Management System. So the only way is to get the Sun One Web Server to be able to read this kind of url. There are about 300 to 400 of this types of url as they are dynamically generated.
    I was looking at the obj.conf and magnum.conf file to see whether i can manipulate this url to work for this situation. But with no luck.
    Can anyone please let me know if they have came across this problem.
    Thanks.

    Hi,
    This is the stack Trace:
    Error 500--Internal Server Error
    java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
         at au.com.holden.cs.assembler.FriendlyURLAssembler.getInputURI(FriendlyURLAssembler.java:329)
         at au.com.holden.web.mvc.ViewUtil.getInputModelAndView(ViewUtil.java:29)
         at au.com.holden.web.mvc.navigation.ModelNavigationController.handleNoSuchRequestHandlingMethod(ModelNavigationController.java:17)
         at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:375)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:45)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:820)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:755)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:396)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:350)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.net.URISyntaxException: Illegal character in path at index 29: /models/Sportwagon/Sportwagon SS V-Series
         at java.net.URI$Parser.fail(URI.java:2809)
         at java.net.URI$Parser.checkChars(URI.java:2982)
         at java.net.URI$Parser.parseHierarchical(URI.java:3066)
         at java.net.URI$Parser.parse(URI.java:3024)
         at java.net.URI.(URI.java:578)
         at au.com.holden.cs.assembler.FriendlyURLAssembler.getInputURI(FriendlyURLAssembler.java:326)
         ... 26 more
    This is the path which was access by me using Sun One Web Server: http://poll:8006/models/Sportwagon/Sportwagon%20SS%20V-Series
    As you can see that Sun One Web Server dont like spacing between url.
    Does anyone know how to fix this problem thru configuration in Sun One Web Server?

  • Sslext NOt working Sun ONE Web Server 6.0?

    Hi,
    I have implemented the sslext tag for dynamic switching of http to https.
    I am using ATG Dynamo Server ONLY in the Development Env. (using the default Web Server of ATG) for testing this and sslext tag works fine using the Plug-In of struts which is in sslext.jar.
    but in producation the ATG Dynamo Server 6.0 is configured with Sun ONE Web Server 6.0, as forwarding request throught the Web Server to the App Server.
    But here sslext stop working?? any guss why?
    Sun ONE Server 6.0 is configured with ATG Dynamo Server 6.0 as Connection Module.
    There are three ways a Connection Module can handle requests for files whose MIME type is text/html.
    1)You can choose to have the files served by the Sun ONE Web Server,
    2)by the Dynamo server,
    3)or by the Sun ONE Web Server (but also send requests to Dynamo for logging).
    we select the 3rd option.
    any Guess why this is happening???
    regards
    DJ

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

Maybe you are looking for