Sun ONE 8.1 performance

Hi,
Do we have any published document on sun one 8.1 performance and scalability ? or something related to performance tuning???
Thanks.......
Umesh

There is a performance tuning document on docs.sun.com at:
http://docs.sun.com/app/docs/doc/819-0084
Is there a specific question you're looking for an answer to?
-Scott

Similar Messages

  • Sun ONE 6.1 Performance Issues - Sleeping / Hanging

    We have been running the Sun family of web servers for many years now, and ran Netscape Enterprise Server 3.6 for a long time.
    Several months ago we upgraded to Sun ONE Web Server 6.0 and then 6.1. We have not had any issues until the past few weeks.
    Specifically, the web server appears to 'go to sleep' or 'hang' for many seconds - sometimes up to 45 seconds - before processing any requests.
    The server will accept the connection immediately but will not return a page. If left alone, the problem will go away, only to return again. A stop and start will also cure the problem.
    Some background: 6 web servers run on this same server (Sun E250 2x400 MHz, 1280 MB RAM) - these servers are all relatively lightly loaded. Copper gigabit connection for network.
    Primary data is static, with very few cgi-bin scripts and no applets or server-side Java.
    All 6 servers have DNS lookups enabled with caching. The server also has a local DNS caching server running (BIND 9) which is used to help performance.
    One of the 'public' web servers (external people can access it) is the one showing these performance issues. I've enabled statistics, and it seems during these 'sleepy' periods I see the following in /.perf (which it finally returns): (I am fetching /.perf every minute and timing how long it takes to fetch it, then saving it in a separate file):
    webservd pid: 9507
    Sun ONE Web Server 6.1 B08/22/2003 12:37 (SunOS DOMESTIC)
    Server started Thu Mar 11 00:31:37 2004
    Process 9507 started Thu Mar 11 00:31:37 2004
    ConnectionQueue:
    Current/Peak/Limit Queue Length 98/98/4096
    Total Connections Queued 17873
    Average Queueing Delay 0.11 milliseconds
    ListenSocket group1:
    Address http://146.137.96.68:80
    Acceptor Threads 1
    Default Virtual Server https-www.anl.gov
    KeepAliveInfo:
    KeepAliveCount 0/256
    KeepAliveHits 1414
    KeepAliveFlushes 0
    KeepAliveRefusals 0
    KeepAliveTimeouts 709
    KeepAliveTimeout 30 seconds
    SessionCreationInfo:
    Active Sessions 105
    Total Sessions Created 158/256
    CacheInfo:
    enabled yes
    CacheEntries 1024/1024
    Hit Ratio 58558/76530 ( 76.52%)
    Maximum Age 30
    Native pools:
    NativePool:
    Idle/Peak/Limit 1/1/128
    Work Queue Length/Peak/Limit 0/0/0
    DNSCacheInfo:
    enabled yes
    CacheEntries 406/2048
    HitRatio 16547/18476 ( 89.56%)
    Async DNS disabled
    Performance Counters:
    Average Total Percent
    Total number of requests: 16961
    Request processing time: 0.5940 10074.6680
    default-bucket (Default bucket)
    Number of Requests: 16961 (100.00%)
    Number of Invocations: 268684 (100.00%)
    Latency: 0.0013 21.2806 ( 0.21%)
    Function Processing Time: 0.5927 10053.3877 ( 99.79%)
    Total Response Time: 0.5940 10074.6680 (100.00%)
    Sessions:
    Process Status Function
    9507 response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response send-file
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response send-cgi
    response send-cgi
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response shtml_send
    response shtml_send
    response shtml-hacktype
    response flex-log
    response send-cgi
    response send-cgi
    response send-file
    response send-cgi
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response shtml_send
    response send-file
    response flex-log
    response send-cgi
    response shtml_send
    response flex-log
    response shtml_send
    response send-cgi
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response send-cgi
    response shtml_send
    response send-cgi
    response flex-log
    response shtml_send
    response send-file
    response send-cgi
    response shtml_send
    response shtml_send
    response flex-log
    response service-dump
    Why do I have all of these processes queued on the server?
    Is DNS causing this? I know Sun ONE 6.x does NOT have asynchronous DNS implemented (although it is an option, it has no effect). Did Netscape Enterprise Server 3.6 has ASync DNS implemented?
    We would like to avoid turning off DNS resolution for a number of reasons. However, what really bothers us is that this web server's performance suddenly became a problem while the other 5 servers see FANTASTIC performance and never go to sleep (although some of them are NOT accessible from the general Internet).
    Has anyone else seen this?
    As a side note, all of these web servers are using a NSAPI plugin that I wrote years ago. It's purpose is access control and automatic forwarding to different pages. It also uses DNS hostnames, but thinking it might be a problem with this web server, I've disabled DNS on the plug-in. It has not helped. Again, this plug-in has worked great for years and is quite straightforward and simple.
    Something tells me there is more going on here - thoughts or ideas?
    We're getting immensely frustrated here.
    In desperation we've made some magnus.conf changes but to no real effect (partially listed below):
    DNS on
    RqThrottle 256
    StackSize 131072
    CGIWaitPid on
    AsyncDNS off
    KeepAliveThreads 2
    MaxKeepAliveConnections 256
    UseNativePoll 1
    RcvBufSize 8192
    # default=100
    KeepAliveQueryMeanTime 25
    # default=100
    KeepAliveQueryMaxSleepTime 25
    # CGI
    MinCgiStubs 10
    MaxCgiStubs 50
    CGIStubIdleTimeout 45
    CGIExpirationTimeout 90
    Thanks for any pointers,
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Note that at the moment it seems to be responding normally, but we still have a lot of threads hanging around - very strange...
    9507 response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    processing flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response send-file
    response shtml_send
    response flex-log
    response shtml_send
    response send-file
    response service-dump
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response send-file
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response send-file
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response shtml_send
    response shtml_send
    response shtml_send
    response flex-log
    response flex-log
    response shtml_send
    response flex-log
    response flex-log
    response flex-log

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

  • Authentication getting failed in sun one Ldap

    HI,
    Any one please can assist me for sun one ldap.
    My application developed(ldap related) based on lotus domino ldap server and webspere.
    now we are trying to deploy the same code with Websphere and sun one ldap server at our local environment.
    Iam getting the prblem of authentication fail.
    please follow the logs as.
    My question is what ever the code written for lotus domino is compatible with sun one ldap.Iam new to LDAP .
    pls any one give the suggestions.
    LDAP Interface: Performing LDAP authentication for user [NYilmaz]
    17 Dec 2007 18:43:13,359 [WARN ] NABLDAP: Transmission will be over an unencrypted connection. The username and password are transmitted in clear text form which is very insecure. Consider replacing the LDAP protocol with LDAPS (SSL).
    17 Dec 2007 18:43:13,359 [DEBUG] NABLDAP: Establishing a new authenticating connection to [ldap://gpat.bsdev.com]
    17 Dec 2007 18:43:13,375 [INFO ] NABLDAP: Failed to authenticate with the remote server on [ldap://gpat.bsdev.com] because of error '[LDAP: error code 34 - Invalid DN]'
    17 Dec 2007 18:43:13,375 [WARN ] LDAP Interface: Unsuccessful authentication attempt for user [NYilmaz]
    17 Dec 2007 18:43:13,375 [DEBUG] LDAP Interface: Writing the value {javax.naming.InvalidNameException:[LDAP: error code 34 - Invalid DN]} to General[1].OnionErrorMessage
    17 Dec 2007 18:43:13,390 [WARN ] NABLDAP: Transmission will be over an unencrypted connection. Consider replacing the LDAP protocol with LDAPS (SSL).
    17 Dec 2007 18:43:13,390 [DEBUG] NABLDAP: Establishing a new anonymous connection to [ldap://gpat.bsdev.com]
    17 Dec 2007 18:43:13,390 [DEBUG] NABLDAP: Connection established.
    17 Dec 2007 18:43:13,390 [DEBUG] NABLDAP: Searching remote LDAP directory using the filter of [(&(objectclass=person)(&(cn=NYilmaz)))]

    Hello Vinay,
    when configuring multiple Ldap directories, There are a number of prerequisities that you need to
    consider.
    For example, One prerequisite for Multi domains is that logon IDs must be unique across mutliple LDAP datasources. This will cause issue if duplicate IDs exist.
    Please see the following Documentation and notes for more information on this.
    Examples of Data Source Configuration Files - Identity Management - SAP Library
    Example: Configuration of Multiple LDAP Data Sources - Identity Management - SAP Library
    1618342 - Multiple LDAP Datasources - Active Directories where logon IDs
    are not unique
    762419 - Multi-Domain Logon Using Microsoft Active Directory
    Please have a look at the above notes which documet this and also tells
    you what to do in these situations.
    Regards,
    David

  • Problem instaliing sun one LDAP server on windows server 2008 r2

    Hi all ,
    I am trying to install Ldap server (Sun ONE Directory Server) on windows server 2008
    I am using apache-tomcat-7.0.28 and java jdk1.7.0_05
    I am following this manual for installing :
    https://blogs.oracle.com/marginNotes/entry/installing_directory_server_enterprise_edition1
    I have a problem with the cacao agent and how to install it .
    I've got this error message :
    c:\Program Files\Sun\dsee7\bin>dsccsetup cacao-reg
    Configuring Cacao...
    ## Failed to run "c:/Program Files/Sun/dsee7/ext/cacao_2/bin/cacaoadm.bat" set-
    aram "jdmk-home=c:/Program Files/Sun/dsee7/lib/private"
    #### Cannot create service for instance: [cacao.instance.name].
    #### Cannot perform firstime inialisation and configuration.
    ## Exit code is 1
    Failed to configure Cacao.
    I stuck and with no other solutions . I hope if you could to help with this issue .
    i will glad to know if there is any other ways to install this specific Ldap server ,
    Thanks,
    Alon

    You most likely skipped the step of starting the installed server prior to trying to access admin URL. Please check this document:
    http://docs.sun.com/source/817-1830-10/win.html
    Relevant section is:
    You can start the Administration Server in either of the following ways:
    # Select Start Menu -> Programs -> Sun ONE Web Server, and choose Start Web Server Administration Server.
    # From the Control Panel�s Services item.
    HTH...

  • Slow Response Sun ONE 6.1 SP3 Win 2003

    My Sun ONE web server is processing my JSP pages very quickly when serving one session at a time. However when there are 4 or more active sessions, it slows right down. Response time goes from 2 seconds (1 active session) to 60 seconds (multiple active sessions) for a single JSP page. I've been running the performance monitor to see if I can notice anything, but nothing seems to stand out. I have tried manipulating the Keep Alive settings and the Performance settings within the Magnus Editor but there hasn't been a noticable improvement.
    I've recently upgraded to SP4 to see if this solved my problem, but there was no imporvement.
    This server is an HP DL380 with dual 2.8GHz Xeon processors & 2 Gigs of RAM. There is a lot of available disk space. I'm running Windows 2003 and it's up to date with all the latest patches.
    Anyone have any ideas or experienced this before?
    I've attached the output from my performance monitor:
    webservd pid: 4280
    Sun ONE Web Server 6.1SP4 B01/20/2005 21:34 (WINNT DOMESTIC)
    Server started Thu Mar 03 09:41:06 2005
    Process 4280 started Thu Mar 03 09:41:06 2005
    ConnectionQueue:
    Current/Peak/Limit Queue Length 0/1/4096
    Total Connections Queued 126
    Average Queue Length (1, 5, 15 minutes) 0.00, 0.00, 0.00
    Average Queueing Delay 0.02 milliseconds
    ListenSocket ls1:
    Address http://10.178.132.7:8080
    Acceptor Threads 8
    Default Virtual Server https-guruweb01
    KeepAliveInfo:
    KeepAliveCount 2/64
    KeepAliveHits 1083
    KeepAliveFlushes 0
    KeepAliveRefusals 0
    KeepAliveTimeouts 11
    KeepAliveTimeout 360 seconds
    SessionCreationInfo:
    Active Sessions 2
    Keep-Alive Sessions 1
    Total Sessions Created 48/256
    CacheInfo:
    enabled yes
    CacheEntries 110/1024
    Hit Ratio 1912/2164 ( 88.35%)
    Maximum Age 30
    Native pools:
    NativePool:
    Idle/Peak/Limit 5/6/128
    Work Queue Length/Peak/Limit 0/1/0
    Server DNS cache disabled
    Async DNS disabled
    Performance Counters:
    Average Total Percent
    Total number of requests: 1213
    Request processing time: 1.5520 1882.5520
    default-bucket (Default bucket)
    Number of Requests: 1213 (100.00%)
    Number of Invocations: 15085 (100.00%)
    Latency: 0.0002 0.2013 ( 0.01%)
    Function Processing Time: 1.5518 1882.3507 ( 99.99%)
    Total Response Time: 1.5520 1882.5520 (100.00%)
    Sessions:
    Process Status Function
    4280 keep-alive
    response service-dump
    response service-j2ee
    Thanks...

    The JSP's are simply Hello World JSP's (however I created these type of JSP's for testing and they do respond slowly as well when these are multiple sessions).
    These JSP functioned fine on iPlanet 6.0 SP1 (JDK 1.2.2) without any slow response on Win2K and inferior hardware.

  • Using Linux/Red Hat/Intel for Sun ONE/Java Directory Server

    Anybody have any experience of this? We're looking to get off AIX, and Total Cost of Ownership for using Solaris/Sparc versus Linux/Intel is very similar.
    The decider will be if no-one is using Linux as a platform for Sun ONE/Java Directory Server....
    Any feedback would be appreciated....

    We run Directory 5.1 in production on Solaris/Sparc, but I've tried it with sucess on Red Hat 7.2 on Intel. We have not been able to get it to work on Red Hat Enterprise 2.1 or 3.0. The main problem has been that the administration server fails on startup. Obvious the lack of support for the latest enterprise class Linux is a huge drawback. At this point I've decided to stay on Solaris/Sparc until Red Hat comes out with its own release of Netscape's Directory. When that happens we're going to evaluate whether to move the whole environment to Red Hat. The Sun and Netscape servers are almost identical in terms of features and performance, but having an open source version that can run on less expensive hardware would be a terrific win for us.

  • Why doesn't Sun ONE Web Proxy Server support full replication?

    Sun believes caching on-demand is a much more appropriate model for either the World Wide Web or an intranet. Common indexes should be distributed, but data can (and should) be stored wherever is most appropriate on the network. If Proxy Servers are deployed, there will be a 50 percent to 75 percent chance that the document will be cached locally and no chance of getting stale data.
    Sun ONE Web Proxy Server uses sophisticated statistical analysis to store the documents most likely to be needed. It also manages document expiry and version control, and by default checks the home server every time a document is requested. Full replication like that performed by other softwares presumes that each document needs to be fully replicated on every server. (Imagine doing that on the Web!) This model limits the scalability of the infrastructure, and requires many more servers, more hardware, and more management complexity. More importantly, it increases the likelihood of getting stale data. A document checked in at one location may take a day or more to be fully replicated around the world.

    If you have a support contract, get in touch with a support engineer. We've run into a bug related to following referrals in the "off-the-shelf" version of the proxy server. I believe there is a hotfix that solves the issue.

  • Sun One application server connection problem for Oracle DB

    On our project in live environments we have six Sun One application servers that have been configured to connect to RAC Oracle database using OCI drivers. ( JDBC thick driver)
    Sun one application server : Version 7.0.0
    Oracle Database : Version 9.2.0.4.0
    Following are two scenarios where Sun one server receives an error while attempting to perform any DML operations onto the database e.g. when you will try to send a insert/update msg through sun One.
    Case 1: - If the Oracle package/procedure/function is compiled using �Alter package/function/procedure....� command
    problem
    Any attempt to perform a DML operation using RMI calls though Sun one application server with already established oracle connection will fail.
    Sun One application server needs to be bounced to get an up-to-date state of the package.
    Case 2: If the Oracle package/procedure/function is compiled using �Create or Replace package/function/procedure....� command
    problem
    First attempt to perform any DML operation using RMI calls though Sun one application server with already established oracle connection will always fail. Any subsequent attempts will be successful.
    We are using JDBC OCI think drivers. I tried flushing Shared pool at the Oracle side but it didn't help. For some reason Sun One seems to Cache the session information for already establised connections with Oracle database. As its live system we don't want any outage. i.e we know bouncing oracle app server will solve the problem.
    So just wondering is there way/workaround to make aware the already estlised connection from sun one appserver to Oracle DB about changed packages/proceduress in the DB?
    Any thoughts on this would be much appreciated.
    txns
    Ravi

    Forgot one thing: when I use remote debugging , it works.

  • Problems installing Sun ONE Web Server 7.0 on an x86 with Solaris 10

    I am trying to install the new Sun ONE Java Web Server 7.0 on my Solaris 10 machine. This is the error I am getting:
    |-1%--------------25%-----------------50%-----------webResources:errorCreatingLogFile
    Task Failed: java.lang.NullPointsswhereException
    java.lang.NullPointerException
    at com.sun.web.installer.web.actions.PostInstall_core.install(PostInstall_core.java:273)
    at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1465)
    at com.sun.install.products.InstallNode.startInstall(InstallNode.java:1086)
    at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1457)
    at com.sun.install.products.InstallNode.startInstall(InstallNode.java:1086)
    at com.sun.install.products.InstallComponent.performInstallation(InstallComponent.java:1457)
    at com.sun.install.products.Product.performInstallation(Product.java:651)
    at com.sun.install.tasks.ProductTask.perform(ProductTask.java:153)
    at com.sun.wizards.core.Sequence.perform(Sequence.java:343)
    at com.sun.wizards.core.SequenceManager.run(SequenceManager.java:226)
    at java.lang.Thread.run(Thread.java:595)
    This is not a permissions issue, and there are no errors in the /var/sadm/install/logs. Please keep!
    Kristie N. Howard

    Hope, you are considering Sun Web Server 6.1 (formerly known as iPlanet Enterprise Server ) for this task. Yes, it is possible to host multiple instances of web server on a same machine.
    you can create multiple instances using our GUI. here is the pointer to our docs on how to do this - http://docs.sun.com/app/docs/doc/819-6512/6n8h7gq1n?a=view#bhabr
    If you are willing to give Sun Java System Web Server 7 (our latest release - http://www.sun.com/webserver) , then you can do this by CLI as well.
    sun one portal server 3.0 - is a very old release. Are you sure, is this what you want to run ?
    hope this helps

  • How would a corporation deploy Sun ONE Web Proxy Server?

    A corporation should deploy Sun ONE Web Proxy Server at the following key places:
    * The Internet gateway: Sun ONE Web Proxy Server deployed just behind the firewall facilitates access to the Internet and reduces response times and communications expense.
    * Major sub-network connections: Marketing, Sales, Product Development, Human Resources, and Finance departments might have their own subnetworks. An Sun ONE Web Proxy Server deployed at each subnet can reduce traffic on the corporate backbone.
    * Remote offices that are disconnected from the internal network: Sun ONE Web Proxy Server can provide a quick mechanism for replicating content when necessary, providing better company integration and increasing network performance without large capital and communications expense.
    * Internationally: Outside the United States, communications bandwidth is typically much more expensive, making Sun ONE Web Proxy Servers even more cost effective. Every international office can make use of an Sun ONE Web Proxy Server.
    * Outside the firewall as a Web server substitute in reverse proxy configuration: This protects information on the secure Web server behind the firewall and offers load balancing via caching.

    http://wwws.sun.com/software/download/products/3ef1fcb5.html
    If u wait for a week or so, SP4 will also be there.
    Maneesh

  • 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

  • Are there serious bugs with SUN one studio

    sometimes when I an trying to perform some particular type of operations in SUN one studio community edition on my pentium III 600MHz 256MB RAM system, SUN one studio vapourises from the deskop even faser than it does when u exit normally, i changed platform to Linux installing the linux binaries..the same problem also occurs..I heppens usually when i right click on a package trying to add new bean, or JSP or some other features
    Well i hope it is not my own machine that is bugging SUN studio
    Thanks

    I do but it still retains the same problem. I have jdk1.4.1 and yet it just vaporises from my desktop. Do SUN one studio have serious memory conflict with certain processes or what.

  • Does Sun ONE Web Proxy Server have built-in log analysis tools? What kind o

    Sun ONE Web Proxy Server automatically logs all requests using either the common log-file format or an extended log-file format. The extended log-file format includes the referrer field and user agent. You can also create your own log file format by selecting which HTTP fields you would like to log. A built-in log analysis program includes reports such as total number of requests, total bytes transfered, most commmon URLs requested, most common IP addresses making requests, performance during peak periods, cache hit rates, and estimated response time reduction. The items logged and the analysis program are completely configurable using the server manager's HTML form.

    Sun Java System Web Server is a web server; it serves web pages to web clients. Sun Java System Web Proxy Server, on the other hand, is a web proxy server; it routes requests/responses between web servers and web clients.
    You can configure Web Server to act as a simple reverse proxy by installing the Web Server 6.1 Reverse Proxy Plugin. This doesn't provide any of the forward proxy or caching proxy functionality found in Web Proxy Server.
    Both Web Server 6.1 and Web Proxy Server 4.0 are supported on Solaris 10.

  • Using private key installed on Sun One web server in java code.

    Hi,
    I am digitally signing an XML string. I have been able to successfully do this using the .keystore and the JSSE API.
    I need to run this code in the SUN ONE Web server, hence I have installed a self signed cert in the web server, using the web console.
    I need to load the .keystore that is being maintained by the Sun One Web Server in my Java program as a �KeyStore� object
    Presently I am using the following JSSE calls:
    KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());
    // Load the keystore contents
    FileInputStream in = new FileInputStream(keystoreFile);
    keystore.load(in, keystorePassword);
    in.close();
    Now how do I access the keystore and the certs that I have added in the web server? Is there any SUN API for this?
    Any help will be appreciated!
    Regards,
    Nandan
    Message was edited by:
    NANDAN

    The global zone should offer no services to the network except services required to administer the system. SSH from known IPs. Put everything in zones for the security of the system. Zones have no performance penalty so there is no advantage to running on the host system in the global zone.
    Sun's Java Enterprise server software webserver, directory server, etc required a full zone due to Solaris Package issues or conflicts; writing stuff in /usr; or both. A whole root for this software should not be a big deal. I create zones 9 at a time numbered in sequence. Zone 8 and 9 are whole root zones for requirements such as this.
    I'll leave to others to alert us if the whole root zone requirement changes for Sun's Java Enterprise Server software.
    Message was edited by:
    jgmarce

Maybe you are looking for