Download java WEB Server

i want to download java web server,but SUN have not support free download
anyone can help me

you can down load Tomcat web server at www.apache.com
LP

Similar Messages

  • Sun Java Web Server 7 and JNDI Jell

    Hi all,
    I am building a normal Java EE web app (WAR file), and I was originally developing on GlassFish v2.1 and everything was beautiful. Now, I found out our shared server is Sun Java Web Server 7, but the sys admin said everything should run fine as long as I wasn't using JSB's.
    I downloaded and installed SJWS7 on my local machine so I could test my application against it, and JPA and SJWS7 are not getting along.
    I am trying to bind my persistence.xml to the data source I created on SJWS7.
    SJWS7 JDBC Resource: jdbc/pact
    persistence.xml:
        <persistence-unit name="pact" transaction-type="RESOURCE_LOCAL">
            <description>PA/Circuit Tracking Development</description>
            <provider>org.hibernate.ejb.HibernatePersistence</provider>
            <non-jta-data-source>java:comp/env/jdbc/pact</non-jta-data-source>
            <properties>
            ....There is nothing in sun-web.xml or web.xml that references this resource (although I tried that too, and no go).
    The traceback I get is:
    <code>Caused by: javax.naming.NameNotFoundException: PWC4216: Name pact is not bound in this Context
         at org.apache.naming.NamingContext.lookup(NamingContext.java:778)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:148)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:789)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:148)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:789)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:148)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:789)
         at org.apache.naming.NamingContext.lookup(NamingContext.java:161)
         at org.apache.naming.SelectorContext.lookup(SelectorContext.java:147)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52)
         ... 151 moreI've been trying for almost an entire day now, and googling isn't revealing anything helpful. I don't know what I'm doing wrong. Can anyone point me in the right direction?

    u should be using
    - default installation ( you can also use silent installation for this)
    admin-server/bin/startserv
    wadm delete-instance --user admin
    wadm delete-config --user admin                                                                                                                                                                                                                                                                                                                                                                               

  • 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

  • Oracle Java Web Server 6.1 / 7.0 Reverse Proxy

    Hello everyone,
    I have just installed both Sun Java Web Server versions 6.1 and 7.0 on Windows x86, trying to configure the Reverse Proxy Plugin, but none of the installations came with the libpassthrough.dll file mentioned in several documentations.
    I have searched both Google and Oracle websites but links on Google point to the former sun.com website and Oracle gives nothing :(
    update: I've installed Oracle iPlanet Web Server 7.0.15 and got only digest, fastcgi, htaccess and loadbal in the plugins folder, no libpassthrough :( Help!
    Does anybody know where can i get the Reverse Proxy Plugin for Windows ?
    Thank you very much,
    Daniel.
    Edited by: user2579623 on 07/08/2012 13:19

    In 6.1, the libpassthrough library comes in a separate download, usually with the application server, ie glassfish. In 7.x it is build in so there is no separate library to add, the functionality is just there and can even be configured from the web admin interface. Just use web server 7 and have a look at the admin console.

  • Sun Java Web Server and SLES 10

    I have just downloaded and installed Sun Java Web Server under SuSE Linux Enterprise Server 10, however are unable to get it to work. The installer runs fine however I am unable to start the admin server. The message i receive is
    Sun Java System Web Server 7.0U1 B06/12/2007 21:21
    catastrophe: CORE3260: Server crash detected (signal SIGSEGV)
    failure: server initialization failed
    The error log is not terribly helpful either.
    [27/Oct/2007:16:46:32] info (14424): CORE1116: Sun Java System Web Server 7.0U1 B06/12/2007 21:21
    [27/Oct/2007:16:46:33] catastrophe (14425): CORE3260: Server crash detected (signal SIGSEGV)
    Any help would be gratefully appreciated

    Thanks for the reply Chilideveloper, here is the output of the core dump. I hope it is a) the right thing and b) helpful
    GNU gdb 6.6
    Copyright (C) 2006 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "i586-suse-linux"...
    (no debugging symbols found)
    Using host libthread_db library "/lib/libthread_db.so.1".
    warning: Can't read pathname for load map: Input/output error.
    Reading symbols from /sun/webserver7/lib/liblibdbm.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/liblibdbm.so
    Reading symbols from /sun/webserver7/lib/libns-httpd40.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libns-httpd40.so
    Reading symbols from /sun/webserver7/lib/liblibsi18n.so...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/liblibsi18n.so
    Reading symbols from /sun/webserver7/lib/libgetprop.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libgetprop.so
    Reading symbols from /sun/webserver7/lib/libnsprwrap.so...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libnsprwrap.so
    Reading symbols from /sun/webserver7/lib/libldap60.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libldap60.so
    Reading symbols from /sun/webserver7/lib/libprldap60.so...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libprldap60.so
    Reading symbols from /sun/webserver7/lib/libsasl.so...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libsasl.so
    Reading symbols from /sun/webserver7/lib/libxerces-c.so.26...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libxerces-c.so.26
    Reading symbols from /sun/webserver7/lib/libxalan-c.so.19...(no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libxalan-c.so.19
    Reading symbols from /sun/webserver7/lib/libxalanMsg.so.19...
    (no debugging symbols found)...done.
    Loaded symbols for /sun/webserver7/lib/libxalanMsg.so.19
    Reading symbols from /sun/webserver7/lib/libpcre.so.0...done.
    Loaded symbols for /sun/webserver7/lib/libpcre.so.0
    Reading symbols from /sun/webserver7/lib/libicui18n.so.3...done.
    Loaded symbols for /sun/webserver7/lib/libicui18n.so.3
    Reading symbols from /sun/webserver7/lib/libicuuc.so.3...done.
    Loaded symbols for /sun/webserver7/lib/libicuuc.so.3
    Reading symbols from /sun/webserver7/lib/libicudata.so.3...done.
    Loaded symbols for /sun/webserver7/lib/libicudata.so.3
    Reading symbols from /sun/webserver7/lib/libplc4.so...done.
    Loaded symbols for /sun/webserver7/lib/libplc4.so
    Reading symbols from /sun/webserver7/lib/libplds4.so...done.
    Loaded symbols for /sun/webserver7/lib/libplds4.so
    Reading symbols from /sun/webserver7/lib/libnspr4.so...done.
    Loaded symbols for /sun/webserver7/lib/libnspr4.so
    Reading symbols from /lib/libpthread.so.0...done.
    Loaded symbols for /lib/libpthread.so.0
    Reading symbols from /lib/libdl.so.2...done.
    Loaded symbols for /lib/libdl.so.2
    Reading symbols from /lib/libcrypt.so.1...done.
    Loaded symbols for /lib/libcrypt.so.1
    Reading symbols from /lib/libresolv.so.2...done.
    Loaded symbols for /lib/libresolv.so.2
    Reading symbols from /usr/lib/libstdc++.so.5...done.
    Loaded symbols for /usr/lib/libstdc++.so.5
    Reading symbols from /lib/libm.so.6...done.
    Loaded symbols for /lib/libm.so.6
    Reading symbols from /lib/libgcc_s.so.1...done.
    Loaded symbols for /lib/libgcc_s.so.1
    Reading symbols from /lib/libc.so.6...done.
    Loaded symbols for /lib/libc.so.6
    Reading symbols from /sun/webserver7/lib/libssl3.so...done.
    Loaded symbols for /sun/webserver7/lib/libssl3.so
    Reading symbols from /sun/webserver7/lib/libsmime3.so...done.
    Loaded symbols for /sun/webserver7/lib/libsmime3.so
    Reading symbols from /sun/webserver7/lib/libnss3.so...done.
    Loaded symbols for /sun/webserver7/lib/libnss3.so
    Reading symbols from /sun/webserver7/lib/libnsfc.so...done.
    Loaded symbols for /sun/webserver7/lib/libnsfc.so
    Reading symbols from /sun/webserver7/lib/libnstp.so...done.
    Loaded symbols for /sun/webserver7/lib/libnstp.so
    Reading symbols from /sun/webserver7/lib/libnstime.so...done.
    Loaded symbols for /sun/webserver7/lib/libnstime.so
    Reading symbols from /sun/webserver7/lib/libsupport.so...done.
    Loaded symbols for /sun/webserver7/lib/libsupport.so
    Reading symbols from /sun/webserver7/lib/libares3.so...done.
    Loaded symbols for /sun/webserver7/lib/libares3.so
    Reading symbols from /usr/lib/libz.so.1...done.
    Loaded symbols for /usr/lib/libz.so.1
    Reading symbols from /sun/webserver7/lib/libxsd2cpp.so...done.
    Loaded symbols for /sun/webserver7/lib/libxsd2cpp.so
    Reading symbols from /sun/webserver7/lib/libssldap60.so...done.
    Loaded symbols for /sun/webserver7/lib/libssldap60.so
    Reading symbols from /lib/ld-linux.so.2...done.
    Loaded symbols for /lib/ld-linux.so.2
    Reading symbols from /sun/webserver7/lib/libsoftokn3.so...done.
    Loaded symbols for /sun/webserver7/lib/libsoftokn3.so
    Reading symbols from /lib/libnss_compat.so.2...done.
    Loaded symbols for /lib/libnss_compat.so.2
    Reading symbols from /lib/libnsl.so.1...done.
    Loaded symbols for /lib/libnsl.so.1
    Reading symbols from /lib/libnss_ldap.so.2...done.
    Loaded symbols for /lib/libnss_ldap.so.2
    Reading symbols from /usr/lib/libldap-2.3.so.0...done.
    Loaded symbols for /usr/lib/libldap-2.3.so.0
    Reading symbols from /usr/lib/liblber-2.3.so.0...done.
    Loaded symbols for /usr/lib/liblber-2.3.so.0
    Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
    Loaded symbols for /usr/lib/libgssapi_krb5.so.2
    Reading symbols from /usr/lib/libsasl2.so.2...done.
    Loaded symbols for /usr/lib/libsasl2.so.2
    Reading symbols from /usr/lib/libssl.so.0.9.8...done.
    Loaded symbols for /usr/lib/libssl.so.0.9.8
    Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.
    Loaded symbols for /usr/lib/libcrypto.so.0.9.8
    Reading symbols from /usr/lib/libkrb5.so.3...done.
    Loaded symbols for /usr/lib/libkrb5.so.3
    Reading symbols from /usr/lib/libk5crypto.so.3...done.
    Loaded symbols for /usr/lib/libk5crypto.so.3
    Reading symbols from /lib/libcom_err.so.2...done.
    Loaded symbols for /lib/libcom_err.so.2
    Reading symbols from /usr/lib/libkrb5support.so.0...done.
    Loaded symbols for /usr/lib/libkrb5support.so.0
    Reading symbols from /sun/webserver7/lib/libj2eeplugin.so...done.
    Loaded symbols for /sun/webserver7/lib/libj2eeplugin.so
    Reading symbols from /root/Downloads/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so...done.
    Loaded symbols for /root/Downloads/java/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
    Reading symbols from /sun/webserver7/lib/libdavplugin.so...done.
    Loaded symbols for /sun/webserver7/lib/libdavplugin.so
    Reading symbols from /sun/webserver7/lib/libwebdav.so...done.
    Loaded symbols for /sun/webserver7/lib/libwebdav.so
    Reading symbols from /sun/webserver7/lib/libfreebl3.so...done.
    Loaded symbols for /sun/webserver7/lib/libfreebl3.so
    Reading symbols from /sun/webserver7/lib/libnssckbi.so...done.
    Loaded symbols for /sun/webserver7/lib/libnssckbi.so
    Core was generated by `webservd -d /sun/webserver7/admin-server/config -r /sun/webserver7 -t /tmp/admi'.
    Program terminated with signal 11, Segmentation fault.
    #0 0xb67bbdd5 in strtok () from /lib/libc.so.6

  • Sun Java Web Server 2005Q4

    Where can I download the Sun Java Web Server 2005Q4 version from?
    I am unable to find it in the Sun website.
    Thanks!
    Anand

    I think Service Pack 5 is not yet made publicly downloadable.
    Moreover , You can get Sun Java System Web Server 6.1 Service Pack 4 from here ,
    http://www.sun.com/download/products.xml?id=420aabbd
    http://www.sun.com/download/index.jsp?cat=Web%20%26%20Proxy%20Servers&tab=3&subcat=Web%20Servers

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

  • 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

  • Help me choose a Java Web Server?

    I'm using Ubuntu 9.x and looking for a Java Web Server. I'm really lost as there are far too many out there and there seems none is the de-facto standard used by large corporations.
    My criteria are:
    - FREE for commercial use (requirement)
    - ease of use for installation and configuration (I'm a beginner)
    - good support from the commercial book industry is a huge plus
    - well integrated with eclipse is a huge plus
    - plenty of documentation and free community support
    - one of the major releases such as Apache Geronimo, GlassFish, JBoss, WebSphere and etc.
    I'm not concerned about major performance issues, but less hardware resource demand is better. I'm on a VPS with 256-512MB RAM.
    Any suggestions? What is the most popular one?
    I'm really lost so any suggestions would be much appreciated.

    Frankly, I'm not clear on differences between application and web server although I read this article. It sounds more like I will need an application server for my intended website with will have similar functionality as Facebook.
    Things I am likely to need are DB connection pooling and clustering since I'm hosting in the cloud.
    However, I have limited experience with a Tomcat and Java EE so I frankly don't know what I need although I have built a web site hosted on Tomcat. I figured with an Application Server I have the option of scaling to my needs without having to migrate. Then again, am I planning too far ahead and that migration isn't really that difficult?
    With that said, are there any case studies of large web sites using Tomcat strictly successfully?

  • 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

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

  • Simple Java Web Server

    I am looking for a simple Java Web Server similar to the one Sun used to have. My understanding is that they stopped supporting that server. My background for this need is a classroom setting that teaches servlets and JSP, but does not want to specify a tool for deployment. With the old JavaWebServer it was just a matter of copying a Servlet or JSP to a directory. That is what I am looking for in this case.
    If anyone has any thoughts on this, please let me know.
    Thanks

    Try http://www.apache.org Jakarta-Tomcat will work fine.

  • Starting java web server

    i am new to java servlets. i have installed java wev server2.0 on windows 98. i am unable to start it. please someone give me the process to start it.
    your help would be very much appreciated.
    thank you

    I have installed java web server on windows 2000 server machine. I am using the following command to start the server
    <server_root>\bin>httpd
    but it is display some problem and a message displaying 'shut down the server' in between.please help me.

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

  • Deploy .war or .ear file to sun java web server 7.0 update 4

    Hi
    This could be a very daft question, but still I would like to get a clarification.
    My clients are a financial organisation, and for security and various other reasons they accept only .ear files. But this time the development and deployment would be done on Sun Java Web Server 7.0 update 4 . Now since its a web server I don't think I can deploy an .ear file.
    But sure I would like to get an answer from the experts here, is it possible to deploy and .ear file to Sun Java Web Server 7.0 before I can go back to my clients.
    Please help me here as I'm in a real big confusion here. Your help would be highly valuable to me.
    Thanks
    Jagdish

    Hi
    Thanks for the reply and I appreciate your help. Well I tried deploying an .ear file directly and web server 7 complains that it doesn't have a .war extension, understandably so.
    And then ripping apart the .ear file and deploying the .war file does work, as is expected of a web server.
    Well, about my customer is a bank and they have a very tight security policy, and why they need an .ear file is beyond my understanding. Well as far as this issue is concerned, I need a strong point so that I can get back to them that we need to comply to the third party software.
    But I didn't wan't to get back to them saying we can only provide a .war file and then later find out an .ear file could have done the job. And being seen as the technical experts we can't afford to make any mistake.
    Thanks
    Jagdish

Maybe you are looking for