Problem running servletsin java web server

After i compile my servlets and copy the class file in the servlets folder of the web server, i run the server by the
URL http://localhost:8080.
The server page of congratulations message is displayed.after that i give the URL
http://localhost/servlets/servletname
the following error is displayed.
not found error(404)
The file that you requested could not be found on this server.If you provided the URL,please notify the administrator of that server of this error.

You forgot to put the port number in your URL. Try http://localhost:8080/servlets/servletname.

Similar Messages

  • Problem installing Sun Java Web Server

    Hi
    I'm trying to install Sun Identity Server which need Sun Java Web Server...
    I try to install identity server and web server using Sun Java Enterprise System Install Wizard...
    When I came to page Identity Server:Sun Java System Web Server (3 of 6 ) and I entered Hostname, dir1.usmnet, I get an error pop-up window stating Host Name is not valid......but if I typed dir1.domain.com the error message didn' t appear.....
    I'm using Solaris 9 on Intel platform. I have setup my network and able to ping to other valid hostname in my LAN....
    FYI my network information are as follows
    /etc/hosts
    127.0.0.1 localhost
    <my ip > dir dir.usmnet loghost
    /etc/hostname.elxl0
    dir1
    /etc/resolv.conf
    domain usmnet
    nameserver <dns server ip>
    search usmnet
    I have also setup /etc/netmasks and /etc/defaultrouter
    When I type the domainname command, nothing appeared
    What when wrong, I could ping to my dns server and to other computer in this LAN, could anybody give a suggestion ?

    OK, found the solution by myself.
    The Administrator's Guide mentiones the possibility to install a certificate with the wadm CLI, so I tried that:
    wadm> install-cert -v --config=www -y server -n Server-Cert /www.crt    
    Please enter token-pin>
    ADMIN4086: The Certificate could not be installedThe CLI Reference Manual says for the command install-cert, option --replace*:
    "Note – --replace option of install-cert CLI is deprecated
    and currently using this option may not work as expected.
    For replacing a CA-signed certificate, users should delete the
    cert using delete-cert CLI and then install the new one
    using install-cert CLI."
    wadm> install-cert -v --config=www -y server -n Server-Cert --replace /www.crt 
    Please enter token-pin>
    ADMIN4112: No Private key foundOK, so maybe if I had installed the first certificate (before generating the new CSR) that would have worked, I don't know.
    Deleting the old cert doesn't work at once:
    wadm> delete-cert -v --config=www Server-Cert
    Please enter token-pin>
    ADMIN4139: Certificate Server-Cert is being referred to by listeners: http-listener-2So before deleting you have to remove the certificate from the listener. Then:
    wadm> delete-cert -v --config=www Server-Cert                                           
    Please enter token-pin>
    CLI201 Command 'delete-cert' ran successfully
    wadm> install-cert -v --config=www -y server -n Server-Cert /www.crt  
    Please enter token-pin>
    CLI201 Command 'install-cert' ran successfullyAfter re-adding the certificate to the ssl listener and deploying all the changes to the servers
    everything is fine.
    F.D.

  • Problem in starting java web server 2.0

    I have java webserver2.0. When i tried to start it manually by typing httpd command on command line.It gives me some error of memory(some hexa codes and the message "could not 'write' & some hexa codes again"). Then i tried to start it by givig jservsvc.exe which gave same problem. This problem persists on both o.s Win 2000 and win 98.
    Please help me on that.
    Thank You

    i dont know that this will work but try it
    search "httpd.exe" or bat file in ur javweserver2.0 folder
    and direclty double click it
    or check wether its already running as a service

  • Problem running XSQLSERVLET on JAVA WEB SERVER

    THE BELOW LISTED SIMPLE XSQL QUERY WHEN RUN ON JAVA WEB SERVER 2 (WITH CLASSPATH/MAPPING SETTING AS IN INSTALLATION MANUAL) GIVES FOLLOWING ERROR:
    1. XML document must have a top level element.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsql:query xmlns:xsql="urn:oracle-xsql" connection="demo">
    SELECT 'Hello World' AS "GREETING" FROM DUAL
    </xsql:query>
    2. WHILE RUNNING INDEX.HTML FILE FROM JAVA WEB SERVER 2 IT GIVES FOLLOWING ERROR
    Oracle XSQL Servlet Page Processor 1.0.4.3 (Production)
    XSQL-017: Unexpected Error Occurred
    java.lang.IllegalArgumentException: sun.io.ByteToCharUTF-8
    at sun.io.ByteToCharConverter.getConverterClass(ByteToCharConverter.java:79)
    at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:109)
    at java.lang.String.(String.java:294)
    at java.lang.String.(String.java:313)
    at oracle.xml.xsql.XSQLUtil.XL(XSQLUtil.java:207)
    at oracle.xml.xsql.XSQLServletPageRequest.getParameter(XSQLServletPageRequest.java:139)
    at oracle.xml.xsql.XSQLActionHandlerImpl.variableValue(Compiled Code)
    at oracle.xml.xsql.XSQLActionHandlerImpl.getAttributeAllowingParam(Compiled Code)
    at oracle.xml.xsql.actions.XSQLIncludeXSQLHandler.init(XSQLIncludeXSQLHandler.java:46)
    at oracle.xml.xsql.XSQLDocHandler.handlerForAction(XSQLDocHandler.java:283)
    at oracle.xml.xsql.XSQLDocHandler.getDocument(Compiled Code)
    at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code)
    at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
    at javax.servlet.http.HttpServlet.service(Compiled Code)
    at com.sun.server.ServletState.callService(Compiled Code)
    at com.sun.server.ServletManager.callServletService(Compiled Code)
    at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423)
    at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79)
    at com.sun.server.http.stages.Runner.process(Runner.java:79)
    at com.sun.server.ProcessingSupport.process(Compiled Code)
    at com.sun.server.Service.process(Service.java:204)
    at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374)
    at com.sun.server.http.HttpServiceHandler.handleRequest(Compiled Code)
    at com.sun.server.HandlerThread.run(Compiled Code)
    null

    What jdk are you using ?
    I had this problem with 1.1.7

  • Sun Java Web Server Exception

    I am running Sun Java Web Server 6.1 SP5 on a locked down Solaris 8 system. I am seeing a PrivilegedActionException, which encloses a FileIOException, when the code tries to initialize SSL (more specifically, reading the keystore file) to make a web service call. However, when I log in as the user that the web server is running as (iplanet), and I cut-n-paste the offending path from the error log to the ls command, I can see the file, verify that everyone has read permissions, and can even open the file via keytool sucessfully. Can someone point me towards what I am overlooking? I'm out of ideas; I can't see why I should be able to read the keystore file as the user, but the web application, running as the same user, can't.
    I apoligize for not pasting the exact error here. The system in question is not connected to the Internet.
    Thanks,
    Dave

    I take it you have enabled the Java SecurityManager? That is rarely recommended, what's the end goal that led to that?
    Hopefully you can find a way to copy at least the most relevant parts (at least the last few most specific stack traces for each enclosing exception) of the error message, otherwise it is difficult to try to guess without data.
    Is the code trying to read or write to the file? Have you modified the default permissions?
    truss the process to see if the error is at that level or at the security manager level.

  • Problem of DNS in Java Web Server

    Hi!
    I have problem, I have written servlets but when I run them using Java Web Server Exception arrises that DNS could not resolved however when I run the same code as application it gives correct results without exception. I am using the Java Web Server 2.0

    why r u using JWS? Sun has declared End of Life of JWS.
    why don't you use any other app server (like Tomcat ...etc)

  • Do i need a network card to install and run a local java web server

    Friends,
    Do i need a network card in my computer to install and run a local Java Web Server or any Web Server.

    network cards are only for connecting equipment together... you can set up a webserver without any more equipment than you have already! Indeed Tomcat... BUT you would be better off with apache for production stuff. It depends what you need to serve... if its mainly static pages (i guess it probably isn't) then apache will be enough by itself; but if you need to serve dynamic pages (JSP, Servlet blah blah) then you will need tomcat. Tomcat has it's own webserver and its perfectly ok for testing or low-load stuff, but you can integrate with Apache (a moderately compex task, but do-able, see tomcat-user forum off of apache site) for greater stability, and you don't have to show the port in the URL... Don't set up a webserver on any pc that contains stuff you don't want hacked into... it becomes very succeptible when the service is up...

  • JAVA WEB SERVER Problem

    Hai,
    I am using Java Web Server 1.2 . In JSP , when I use
    ResultSet.previous(), it is saying that :
    java.sql.ResultSet.previous() command not found. I do not know what to do ?
    But, In java file, it is working fine without any problem .But, I need to implement in JSP only.
    When I use the bean, which consists Rs.previous() also it says Resultset.previous() Command Not found It is very very urgent to me.
    Pl help me.
    Thanks & Regards

    S,
    1. Yes, you're rigth. Something is missing here.
    2. If it works for Java App and not in JSP,
    that would mean JAVA see your jdbc driver and not JSP
    but then how come JSP can use Connection ???
    3. I think we need some expert to clarify about setup on your machine. Some thing is not set up well so that JAVA app and JSP see at the same time. It look like only JAVA app see the whole.
    4. Can you post your article in JDBC forum also in waiting?
    -- Paul.

  • Is SUN's Java Web Server 2.0 running on Solaris 8?

    Hi,
    I had installed Java Web Server 2.0 on Solaris 8 under /opt/SUNWjws/JavaWebServer2.0 directory.
    When I tried to start up the java web server by calling "./httpd &" from /opt/SUNWjws/JavaWebServer2.0/bin directory I got the error message "jre was not found in /opt/SUNWjws/JavaWebServer2.0/jre/bin/../bin/i386/native_threads/jre"
    The directory /opt/SUNWjws/JavaWebServer2.0/jre/bin/ directory does exist.
    Thanks
    Tom

    Thanks.
    After I add JAVA_HOME=/usr/java and PATH=/usr/java/bin:$PATH setting,the httpd still doesn't work.
    But I try the httpd.nojre then it work.
    Httpd.nojre runs jserv -nojre.

  • Oracle.xml.xsql.XSQLServlet in Java Web Server 2.0

    Does anyone know how to add the oracle.xml.xsql.XSQLServlet in the Java Web Srever 2.0? When running the helloworld.xsql I am now getting the following error message.
    "500 Internal Server Error
    The servlet named oracle.xml.xsql.XSQLServlet at the requested URL
    http://nw601250:8080/xsql/demo/helloworld.xsql
    reported this exception: java.security.AccessControlException: access denied (java.io.FilePermission C:\JavaWebServer2.0\public_html\xsql\demo\helloworld.xsql read). Please report this to the administrator of the web server.
    java.lang.RuntimeException: java.security.AccessControlException: access denied (java.io.FilePermission C:\JavaWebServer2.0\public_html\xsql\demo\helloworld.xsql read) at oracle.xml.xsql.XSQLPageManager.getPage(XSQLPageManager.java:122) at oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java, Compiled Code) at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:124) at javax.servlet.http.HttpServlet.service(HttpServlet.java:715) at javax.servlet.http.HttpServlet.service(HttpServlet.java:840) at com.sun.server.ServletState.callService(ServletState.java:226) at com.sun.server.ServletManager.callServletService(ServletManager.java:936) at com.sun.server.ProcessingState.invokeTargetServlet(ProcessingState.java:423) at com.sun.server.http.HttpProcessingState.execute(HttpProcessingState.java:79) at com.sun.server.http.stages.Runner.process(Runner.java:79) at com.sun.server.ProcessingSupport.process(ProcessingSupport.java, Compiled Code) at com.sun.server.Service.process(Service.java:204) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:374) at com.sun.server.http.HttpServiceHandler.handleRequest(HttpServiceHandler.java:166) at com.sun.server.HandlerThread.run(HandlerThread.java:162)"
    I have the alias *.xsql set to map to the servlet named oracle.xml.xsql.XSQLServlet under the Servlet Aliases section, but I'm not sure how to add the servlet under the Servlet section, as I'm guessing that this is the problem I'm now experiencing. I tried adding oracle.xml.xsql.XSQLServlet as both the servlet name and class, but this is not working.
    Any help would be greatly appreciated. Thanks!

    Rani,
    The following is part of a message that was posted back on Nov. 7 of '99 from Steve Muench. I just followed this exactly with the Java Web Server 1.0.1 and it worked fine (including adding the classpath settings and xsql servlet mappings as it says below). Thanks,Dan
    Here's the steps I just followed to run all the XSQL Demos under JSWDK 1.0.1
    (1) Downloaded jswdk1_0_1-win.zip from Sun
    (2) Installed in D:\jswdk-1.0.1
    (3) Edited "startserver.bat" to add the
    classpath entries needed by XSQL Servlet:
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib\classes111.zip
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib\oraclexsql.jar
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib\oraclexmlsql.jar
    set CLASSPATH=%CLASSPATH%;d:\xsql\lib\xmlparserv2.jar
    (4)Edited d:/jswdk-1.0.1/webpages/WEB-INF/servlets.properties and added the line:
    xsql.code=oracle.xml.xsql.XSQLServlet
    (5) Edited d:/jswdk-1.0.1/webpages/WEB-INF/mappings.properties
    and added the line:
    .xsql=xsql
    (6) Copied D:\xsql\demo to D:/jswdk-1.0.1/webpages/xsql/demo
    (7) Started the Webserver with "startserver.bat"
    (8) Browsed http://localhost:8080/xsql/demo/index.html
    (9) Exercised all the demos.
    Hope this helps.
    Steve Muench
    Oracle XML Team

  • Java Web Server

    Hi There,
    Is there anyone who can help me with a java issue?
    I'm working on an assignment that deals with a simple java web server. The aim of the assignment is to create features that will allow the generation of dynamic web pages, the minimum requriement is that the current date be displayed on the web page. This is the method that sends the files is :
    public void sendFile( String m ) throws IOException
    if ( m == null ) return;
    String file = baseDir + m.substring( 0, m.indexOf( ' ' ) );
    String ext = file.substring( file.indexOf( '.' )+1 );
    ext = ext.toLowerCase();
    IO.Trace( "FILE", "File [" + file + "]" +
    " Ext [" + ext + "]" );
    File aFile = new File( file );
    if ( aFile.canRead() )
    theOut.putLine( "HTTP/1.1 200 OK ");
    theOut.putLine( "Connection: close");
    theOut.putLine( "Content-length " + aFile.length() );
    if ( ext.equals( "jpg" ) || ext.equals( "jpeg" ))
    theOut.putLine( "Content-type: image/jpg");
    if ( ext.equals( "gif" ) )
    theOut.putLine( "Content-type: image/gif");
    if ( ext.equals( "htm" ) || ext.equals( "html" ))
    theOut.putLine( "Content-type: text/html ");
    theOut.putLine( "" );
    theOut.copyFile( file );
    } else {                                   
    theOut.putLine( "HTTP/1.1 403 Problem ");
    I've done the following,
    Date curDate = new Date();
    TimeZone gmTz = TimeZone.getTimeZone ("GMT");
    SimpleDateFormat sdf = new SimpleDateFormat ("dd MMM yyyy hh:mm:ss zzz");
    sdf.setTimeZone (gmTz);
    String source = "<br>Date: " + sdf.format ( curDate );
    File aFile = new File ( file )
    byte buf[] = source.getBytes();
    OutputStream f0 = new FileOutputStream ( file, true );
    for ( int i=0; i <buf.length; i++ )
    f0.write ( buf);
    f0.close();
    Am i on the right track?
    I would appreciate the help...
    Thanks

    Am i on the right track? Does it compile? Does it run without errors? Does it do what you want it to? If yes, then you're on the right track. If no, then illuminate your problems. It boggles my mind how often people ask if their code is good rather than running it and seeing for themselves...

  • Secure service in Java Web server 2.0

    Hi all, I have installed a Java Web Server 2.0 without the secure service running, and everything works just fine.
    Then I make a self-signed certificate with authstore, using key size 1024, MD5withRSA, hostname: <my computer> (testing on local net (maybe this is what fails?)), and all the other stuff. All looks good and certificate info looks like this:
    Subject Information: CN=yodopc1, OU=SW dept, O=Yodoba, L=Z?rich, ST=Z?ric, C=CH
    Issuer Information: CN=yodopc1, OU=SW dept, O=Yodoba, L=Z?rich, ST=Z?ric, C=CH
    Dates Valid: Thu Jun 28 10:19:35 CEST 2001 --> Wed Sep 26 10:19:35 CEST 2001
    Algorithm: MD5withRSA
    Serial Number: 993716375
    Then I exit, and restart (even tried rebooting machine).
    Start webserver, type inn key password, and login to the Server admin applet. There it says:
    Service -------------- Status ------ Port -- Network Address
    Java web server ------ Terminated - -------
    - Web service -------- Unknown --- 80 ----
    - Secure Web service - Unknown --- 7070 --
    If I try to start the server, it runs for about ten seconds before it is back to the same state again. Of course trying to access server through http(s)://localhost(:7070) results in a "Cannot find server..." If I delete the keys file in <JWS-root>, everything is back to where it was before I started creating the certificate.
    I have seen that there are a lot of old (1-2 years old) Posts with similar and perhaps related issues, but none of witch have any replies that finds a solution. Hopefully someone can help my now...
    All help and suggestion are Greatly appriciated.
    Sjur

    Hi Sjurba,
    Please follow this URL:
    http://www.sun.com/software/jwebserver/faq/faq.html#f6
    http://docs.iplanet.com/docs/manuals/messaging/sims35/install/postwa.doc6.html
    Also read the below.
    Client side workaround: Use Netscape Communicator 4.x instead of Netscape Navigator 3.x.
    Java Web Server workaround: Use the VeriSign root certificate that is shipped in Java Web Server 1.1. Follow these instructions:
    1.Copy or save the file named keys, located in the top level directory of your Java Web Server installation, to a secure place (for example, a floppy disk).
    2.Locate the secure server certificate that VeriSign sent you.
    3.Install Java Web Server 1.1 in a temporary directory. You don't need to run this server--you only need to run AuthStore to regenerate the keys file. (The install of
    Java Web Server 1.1 does need not be on the same machine as the install of the Java Web Server 1.1.x that has the problem).
    For the remainder of these instructions, 1.1.x server root is the installation directory of the Java Web Server 1.1.x that shows the problem. 1.1 server root is the
    installation directory of Java Web Server 1.1
    4.Copy the keys file from 1.1.x server root/ to 1.1 server root/.
    5.Run AuthStore under 1.1 server root. AuthStore is in the bin directory. You will need to type in the server passphrase to launch AuthStore.
    6.From the scrolling list, select the key that corresponds to the secure server certificate from VeriSign.
    7.Click Import and type the full path of the certificate that you received from VeriSign.
    8.Click Save to write a new keys file under 1.1 server root.
    9.Click Exit.
    10.Copy the new keys file from 1.1 server root/ to 1.1.x server root/.
    11.Restart the Java Web Server 1.1.x under 1.1.x server root.
    I hope this will help you.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

  • Sun Java Web Server 6.1SP4 deadlock, stops responding

    Hi, i have a java web app on a Java Web SErver 6.1SP4 and when there are a lot of users the web server hangs, it stops responing. After a while (from 2 to 15 minutes) it start responding again. This serves neither dinamic nor static content. CPU usage is 100%. Just stoping and restarting the web server instance it works properly (even with the same or greater number of clients).
    Reading many posts some one wrote to use pstack to see whats happening. I did it, but i can't interpret results (i think there is a deadlock but don't know if thats true and how to resolve it).
    Any hint will be appreciated
    There are a lot of blocks like this:
    ----------------- lwp# 3468 / thread# 3468 --------------------
    fe11f950 lwp_mutex_lock (918c18)
    fd692384 __1cNObjectMonitorGenter26MpnGThread__v_ (5000, 525c, 5000, 50dc, 4800, 4af0) + 2d8
    fd6324d4 __1cSObjectSynchronizerKfast_enter6FnGHandle_pnJBasicLock_pnGThread__v_ (e104f604, e104f77c, 831ff50, 0, 35d654, fd6328ec) + 68
    fd632954 __1cQinstanceRefKlassZacquire_pending_list_lock6FpnJBasicLock__v_ (e104f77c, fd970000, e7330000, 4491d4, fd61bc2c, 0) + 78
    fd63167c __1cPVM_GC_OperationNdoit_prologue6M_i_ (e104f764, 4400, fd970000, 2cdc0, 4a6268, 1) + 38
    fd62e0b0 __1cIVMThreadHexecute6FpnMVM_Operation__v_ (e104f764, 80e9b0, 0, 0, 1, 0) + 90
    fd52c2a4 __1cbCTwoGenerationCollectorPolicyRmem_allocate_work6MIii_pnIHeapWord__ (2e368, fd9c29ec, fd9c297c, fd931a26, 4800, 4998) + 160
    fd522940 __1cNinstanceKlassRallocate_instance6MpnGThread__pnPinstanceOopDesc__ (f3c09020, 831ff50, 81e33e0, 4000, 4178, 0) + 180
    fd7b7744 __1cQjava_lang_StringQbasic_create_oop6FpnQtypeArrayOopDesc_ipnGThread__pnHoopDesc__ (f0a5e910, 0, 831ff50, 0, 1, 1) + a8
    fd63228c jni_NewStringUTF (831ffe4, 605b9c8, fd587824, 80e9f8, 4800, 4998) + b8
    fdafdefc __1cKNSJavaUtilQsetStringElement6FpnHJNIEnv__pnN_jobjectArray_Ipkc_v_ (831ffe4, ace7e4, 2, 605b9c8, 4, 605b828) + 34
    fdb068dc __1cONSAPIConnectorOgetRequestInfo6MpnHJNIEnv__pnN_jobjectArray_4pnK_jintArray__v_ (e104fabc, 831ffe4, ace7e4, ace7e0, ace7dc, 4) + 9c
    fdb042e4 __1cONSAPIConnectorHservice6MpnRJ2EEVirtualServer__i_ (e104fabc, ea9560, 8, 84b9464, 6d137e0, ace7dc) + 260
    fdb02734 service_j2ee (3c1c0, 84b97f0, 84b9868, 0, fdb11d57, 132414) + 40
    ff1cf994 __1cNfunc_exec_str6FpnKFuncStruct_pnGpblock_pnHSession_pnHRequest__i_ (668, 3c1c0, 84b97f0, 84b9868, 0, 0) + 248
    ff1d0db4 INTobject_execute (77308, 84b97f0, 84b9868, 0, 37ff8, 80d290) + 5e8
    ff1d5de4 INTservact_service (84b97f0, 84b9868, ff2e7b58, 0, 0, ff2e7b30) + 4d8
    ff1d64f4 INTservact_handle_processed (84b97f0, 84b9868, 20, 2, 605bee0, 76858) + 158
    ff218a9c __1cLHttpRequestUUnacceleratedRespond6Mpc_v_ (84b9750, ff2e7b7c, 2f48, 1bb, 84b9868, 84b97f0) + 3c8
    ff21818c __1cLHttpRequestNHandleRequest6MpnGnetbuf__i_ (84b9750, 6059290, 605b3f0, 605b3d8, 2000, 60592f0) + 62c
    ff216588 __1cNDaemonSessionDrun6M_v_ (84b9348, 2000, ff2ed7bc, 0, 0, ff2ed774) + 17c
    ff106dec ThreadMain (84b9348, 84fcef0, 3, 0, 1, 4b8) + 24
    fedd0028 ptroot (84fcef0, 0, 0, 0, 20000, fede8d70) + d0
    fe165c94 lwpstart (0, 0, 0, 0, 0, 0)

    hi
    sorry for the delayed response.
    well, the problem that you are trying to run into is very common when your server is getting good amount of load and uses large amount of servlet/jsp web applications running.
    here is a url that you might find it a useful read
    http://java.sun.com/docs/hotspot/gc1.4.2/index.html#4.%20Types%20of%20Collectors|outline
    if you do not want to take this trouble reading this document and want a quick solution, you do can do couple of things:
    - first understand how to size the heap
    http://java.sun.com/docs/hotspot/gc1.4.2/index.html#3.%20Sizing%20the%20Generations|outline
    - understand that the system is paused because jvm is busy doing garbage collection before allowing the web server to continue.
    - this can be avoided by properly tuning the jvm to how you think the server should behave. unfortunately, there is no miracle one one line to fix this issue
    - by careful and decent analysis of your system, you can tune your jvm properly that it can scale very well without any glitches.
    though, you will need to take the pain to learn the garbage collection acronyms and see what's best suited for you.
    - first, you want to know what is happening inside the jvm before you proceed to optimize . you can do this by adding this option
    -verbose:gc -XX:+PrintGCDetails
    How to add this option in the server.xml , is by doing something like
    start admin server -> manager your server -> click Java tab
    -> click on JVM Option in the left side
    -> Add this JVM option -verbose:gc -XX:+PrintGCDetails
    -> restart the server
    -> note, you do NOT want to leave the above option in the production environment as this will tremendously slow your application and this is meant to be only for development purposes.
    - if your server is a multi processor server (has more than 1 CPU) and you want less pause time, you can typically try adding this jvm option to your server and restarting it.
    -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled
    here are few other short cut , jvm options that you also try in your devleopment environment before going to production.
    Server application(Like Web Server 6.1) running alone on a large multi-processor server with 4gb of physical memory.
    #java -server -XX:+AggressiveHeap
    Two applications running on a large multi-processor server with 4gb of physical memory. Each java application instance is allocated a part of total system memory by an explicit specification of the maximum and minimum heap sizes.
    #java -server -XX:+AggressiveHeap -Xms1024m -Xmx1024m
    (again, do your research before you use this option in the production environment)

  • Sun Java Web Server and IPlanet

    Are there any issues with running IPlanet and Sun Java Web Server at the same time. The old Web-site are in Servlet format and the new Web site will be deployed with a .war file, so I would like to run both at the same time until I have customized the new Sun Java Web Server instance. Is this possible and if so are there any issues with running them at the same time?

    You can install iPlanet Web Server and Sun Java System Web Server on the same Solaris system, provided that each server is installed to a separate directoy. If each server is configured to listen on a different port and/or IP address, the two servers can run concurrently without problem.

  • Unable to open external list : Error : Unable to render the data. If the problem persists, contact your web server administrator.

    Hi,
    Please note we are using SQL Server 2008 for sharepoint. Does it matter for this issue?
    Please help.
    Thanks.

    Hi,
    According to your post, my understanding is that you failed to open external list.
    Please change the External Content’s connection properties’ Authentication Mode to BDC identity.
    Then launch the SharePoint 2013 Management Shell and run the PowerShell commands to remove the error.
    Here is a similar thread for your reference:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/69d937e6-f4a3-40e0-b57f-67cddb4ed12e/sharepoint-2013-unable-to-render-the-data-if-the-problem-persists-contact-your-web-server?forum=sharepointcustomization
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • Work around for shared calendars

    Has anyone found a work around for shared calendars yet? This has to be one of the biggest downfalls of the iPhone, along with the fact it can't search in the mail app. If anyone ahs found a work around I'd be very keen to here it.

  • FCP6 any problem using "Render in 8-bit YUV" instead of "Render 10-bt material in high-precision YUV" video processing

    I have a long and complex 1080p FCP6 project using ProRes442.  It is made up of mostly high resolution stills and some 1280i video clips.  Rendering has  laways been anightmare.  It takes extremely long and makes frequent mistakes whch have to be re-

  • Optical Corded Mouse stopped working

    I have a Pavilion P6215UK PC. Optical Corded mouse was working perfectly until yesterday, now it is ceased to work. i have replaced it with 3 other known good ones,problem still exists. i have tried the following; 1: System restore, i took the PC bac

  • Report release - Product Safety

    Hi all, I read on the SAP help portal, and I read this portion on the report release process. One of the example shown is like the following process flow: 1st - GS u2013 Report generated successful 2nd u2013 R1: Report accept by the Toxicologist 3rd

  • Safari 4.0.1 crash ~

    Have check most of the thread on Safari crash, tried most solution but does not help. here's my log Process: Safari [6274] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 4.0.1 (5530.18) Build Info: WebBrows