Web server type of standalone oc4j needed for SSL Certificate

Hi,
We have a standalone oc4j 10.1.3 that hosts an application whose many of its pages use https and so we need to buy SSL certificate from any of CAs like Verisign, GeoTrust, etc.. All of these CAs are asking us about the web server type that the standalone OC4J uses. I read the following statement from this url:
http://download.oracle.com/docs/cd/B32110_01/web.1013/b28950/intro.htm#JICON100
"communications in a standalone environment is provided through the built-in *_OC4J Web server_*, which supports HTTP and HTTPS communications natively without the use of the Oracle HTTP Server"
On all of the SSL certificate systems of above CAs websites, they ask us to choose the web server type from a list of server types but I don't see OC4J web server listed and I am told that it is very important to make sure the web server type is correct otherwise the SSL Certificate that we buy may not be compatible with our web server type.
So, I like to know the exact built in web server type name that goes with Standalone OC4J or one that is closest and for which SSL Certificate is compatible.
Shown below is a list of web server types that I am asked to choose from on Verisign website.The closest to standalone oc4j according to below list is Oracle Wallet Manager but isn't this meant for Oracle Application Server (OAS) and not the standalone OC4J? we are using the java keytool to generate the CSR that we look to sign it via the verisign but again we are not sure about the web server type in the case of standalone OC4J that is not listed below. Please advice and thanks in advance to any of your responses in helping out.
Webstar 4.x
ApacheSSL mod_ssl
WebLogic 6.0
WebLogic 8.1
Cisco
ACS 3.2
Covalent
Apache ERS 2.4
Apache ERS 3.0
F5
BIG-IP
IBM
Websphere MQ
HTTP Server
Lotus
Domino 5.0
Domino 6.0
Domino 7.0
Domino 8.0
Windows NT - IIS 4.0
Windows 2000 - IIS 5.0
Windows 2003 - IIS 6.0
Windows 2008 - IIS 7.0
Exchange 2007
iPlanet 4.x
iPlanet 6.x
ScreenOS
SSL Accelerator
Oracle Wallet Manager_
Secure Web Server
SSL Offloaders
Stronghold
Java Web Server 6.x
Sun ONE
AS Server w/IIS 4
AS Server w/IIS 5
EA Server
Tomcat
Zeus

Hi Zeus,
Type of certificate depends the method you will use to deploy the certificate on your application server.
Please refer the links,
http://download.oracle.com/docs/cd/B31017_01/web.1013/b28957/configssl.htm
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13995/wallets.htm#ASADM400
http://download.oracle.com/docs/cd/B14099_19/web.1012/b14013/configssl.htm
Regards,
mYth

Similar Messages

  • Configuring MIME types in standalone OC4J?

    How do you configure outgoing mime types in standalone OC4J? I noticed that when I run my application with Mozilla, while the JavaScript console is up, when I display a page that has a "<style>" element, which refers to a "text/css"-type file, I see a warning in the javascript console saying this CSS file was sent as "application/octet-stream", instead of the expected "text/css".
    I see that there is a file "$OC4J_HOME/j2ee/home/config/mime.types". To this, I added the following line:
    text/css                         css
    I figured this was all I would need to resolve this. Unfortunately, this appeared to make no difference.

    Hi there,
    I am having same issue which you had. Would you, please provide more information on "...point path of web-module-id in application.xml to my abc application...".
    I had tried change path of <web-module id="defaultWebApp" ...>with my application at "../../home/applications/myApp/myApp/". I have restarted server and I tried "http://localhost:8888/" and it returned blank page instead of my login.jsp as home-file defined in myApp's web.xml.
    Did I change the right place or value of path in application.xml?
    It will be greatly appreciated that you can point me to right "path" of this.
    Thanks,
    Henry

  • Netscape cert type does not permit use for SSL server on Weblogic

    We have WLS 11g (11.1.1.5 SOA) on UNIX and we are trying to connect secured service (Using client certificate along with UserName and Password for Authentication ). I was able to test it using SOAP UI.
    But when I am testing the webservice I am facing listed error
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): https://abcd:1111/JWSs/V1/TermsWS at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381) at
    and domain log shows that
    Caused By: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: sun.security.validator.ValidatorException: Netscape cert type does not permit use for SSL server
    Please help me to resolve listed issue.
    Can I use Netscape client certificate on WLS?
    Do I need to take any extra care while working with client cert?
    I appreciate your help.

    Netscape cert type does not permit use for SSL clientTry using another certificate. Your certificate can't be used as a web browser client certificate.

  • What type of storage is needed for iTunes U

    We are getting up and running iTunes U on our University and we are running into the issue of what type of storage we need to provide for iTunes U, i.e. (web share, afp share, smb share. If you could let me know or point me in the direction i need to go it would be greatly appreciated.
    Thanks,
    Scott

    Hi Scott,
    The [administraton guide|http://deimos.apple.com/rsrc/doc//iTunesUAdministrationGuide/Introduction /chapter1_section1.html] doesn't explicitly state what type of server is necessary, but given that iTunes U is based on RSS feeds, a Web server would be a good choice for hosting your content (much like hosting any podcast).
    Hope this helps,
    Shawn

  • Problems deploying PL/SQL Web Service example to standalone OC4J

    I have built the PL/SQL Web Service example EMP_FETCHER in the tutorials that come with JDeveloper. When run with the embedded OC4J container, the web service works ok using the autogenerated client. However, while I can then successfully deploy the web service to a standalone OC4j instance running on a separate database server, when I point the client at it, a NoSuchMethodError exception is thrown by oc4j with the following stacktrace;
    at tutorial_jdbc_connection.Emp_fetcher.get_emp(Emp_fetcher.sqlj:43)
    at tutorial_jdbc_connection.__Emp_fetcherSPWrapper.invokeMethod(__Emp_fetcherSPWrapper.java:73)
    at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:98)
    at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:359)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:652)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Looks like I'm missing some support libraries but I'm unsure which ones they are, and why they wouldn't be part of a standard OC4J installation.
    I've tried including the SQLJ runtime and Oracle JDBC library support in the deployment and redeploying but the same error persists.
    Any assistance would be appreciated
    Regards
    Michael

    You have an old version of java installed. That is what "java.lang.UnsupportedClassVersionError" tells.

  • Generating CSRs for SSL Certificates

    Hi all,
    I am trying to generate CSRs for SSL Certificates, in order to set up a secure (https) dynamic dns connection to my router.
    I am supposed to access to the following directory through the Terminal:
    cd /usr/local/ssl/private
    But all I can access is /usr, I cannot go any further. I always get the message "/local: No such file or directory." Even if I am logged as root.
    I might be making some mistakes, but I do not understand what is going on.
    Thanks
    Enrique

    The error message you posted says there is no "/local" which is true.
    There is a "/usr/local"
    If you are cd'ing one directory at a time, don't lead them with a /
    For example:
    cd /usr
    cd /local
    Will give you the error you describe
    cd /usr
    cd local
    Will put you into /usr/local
    If this doesn't solve your issue, please post the exact steps you are taking.
    Jeff

  • Need OLAP Server Type 'Microsoft OLE DB Provider for Analysis Services 9.0'

    We have two Crystal Developer machines (CR2008 - SP1 installed on both).  We need to connect to an OLAP datasource
    One machine has these three Server Types available to select from:
       Hyperion Essbase (7.0,7.1)/IBM DB2 OLAP(8.2) Enhanced
       Microsoft OLE DB Provider for Analysis Services 9.0
       Microsoft OLE DB Provider for OLAP Services 8.0
    The other machine has the following as the only available Server Type:
       Hyperion Essbase (7.0,7.1)/IBM DB2 OLAP(8.2) Enhanced
    We need access to the Microsoft Server Types for this machine as well.
    The Data Access components installed (from CR2008 - SP1) on both
    machines appear to be the same.
    How do we get these installed so we can access them from Crystal? 
    Thank you

    Do I need the SQL Client tools on my machine? I though I had read this on a website somewhere, but now am unable to locate it.  Can someone please confirm if this is the issue why I am not seeing this server type?  Thank you.

  • Netscape cert type does not permit use for SSL server

    Hello,
    I am trying to access an internal SSL secured web server that uses a certificate that has been issued with Netscape Cert Type "client" instead of "server".
    I know that the clean solution is to issue a certificate with type "server". For circumstances and the mere number of affected servers, I cannot do this.
    I would like Java to ignore this. How do I do this?
    Fritz

    hello there
    i need to accomplish the same task as you did.
    eg: have an applet that uses a truststore.
    were you able to fix the problem?
    how did you do it?
    thanks in advance
    warder

  • Error on live web server - Retrieving the COM class factory for component

    I've had a good read of this forum and can't find the answer to this particular issue. Everything works fine until I upload my vb.net/crystal reports solution to my live production web server. The error I get when I try to open a Crystal Report from the web is:
    Retrieving the COM class factory for component with CLSID {059AC10F-0010-4C43-8876-1FC7BEAF218B} failed due to the following error: 80070005.
    It is the following line of my VB.net source code that causes the error.
    Dim oRpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument
    I've installed CRRuntime_12_0_mlb.msi to my Windows 2008 / IIS7 web server (This is a 64bit server).
    The website works fine on a 32 bit system but on this new server I keep getting the above errors.
    I've tried resinstalling the crystal reports numerous times and restarting. I've also tried installing the SP2 version of the CRRuntime and still get the same errors.
    I've added read/write permissions to Windows/Temp directory for Network Service.
    I've tried to manually register sacommlayer.dll which registers correctly.
    The website is not compiled into a binary, the aspx.vb files are simply uploaded to the webserver and compiled on the fly by the server.
    I've tried to add <identity impersonate="true" userName="MACHINENAME\administrator" password="PASSWORD" /> into the web.config file to see if this gets any further.
    It does however then errors on the following VB Line.
    oRpt.SetDataSource(dsSWMP)
    with the error
    Failed to load database information.Error in File crSitewasteManagementPlan {BEC6811A-D612-4ED6-9AF7-B0C9BED7A966}.rpt:
    Failed to load database information
    I've also tried opening up the C: / D: drives to the NETWORK SERVICE account with full control (temporarily) to see if I can get past the errors, however this has not worked for me.
    Any other ideas to why this might not be working? Ideally I would not like to be using the identity impersonation at all.
    Kind Regards
    James

    Dear Ludek,
    I have tried manually registering the sacommlayer.dll already however this didn't make a difference.
    I have checked versions of this DLL between the 2 servers and they are the same. (v12.0.0.683)
    Find below the logs from process monitor for the 64 bit server.
    It definitely shows where it is failing.. any suggestions to fix it?
    I can email more detailed logs if you supply me with your email address.
    Kind Regards
    James
    processes from erroring 64 bit server
    00:28:46.6463180     w3wp.exe     3948     RegOpenKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}     SUCCESS     Desired Access: Read
    00:28:46.6463685     w3wp.exe     3948     RegOpenKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\TreatAs     NAME NOT FOUND     Desired Access: Query Value
    00:28:46.6463935     w3wp.exe     3948     RegQueryKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}     BUFFER TOO SMALL     Query: Name, Length: 0
    00:28:46.6464137     w3wp.exe     3948     RegQueryKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}     SUCCESS     Query: Name
    00:28:46.6464472     w3wp.exe     3948     RegOpenKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\Progid     NAME NOT FOUND     Desired Access: Query Value
    00:28:46.6464701     w3wp.exe     3948     RegQueryValue     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\(Default)     SUCCESS     Type: REG_SZ, Length: 54, Data: InProcAdapterMonitor Class
    00:28:46.6464924     w3wp.exe     3948     RegQueryValue     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\(Default)     SUCCESS     Type: REG_SZ, Length: 54, Data: InProcAdapterMonitor Class
    00:28:46.6465262     w3wp.exe     3948     RegOpenKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32     SUCCESS     Desired Access: Read
    00:28:46.6465561     w3wp.exe     3948     RegQueryValue     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\InprocServer32     NAME NOT FOUND     Length: 144
    00:28:46.6465759     w3wp.exe     3948     RegQueryValue     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\(Default)     BUFFER OVERFLOW     Length: 144
    00:28:46.6465958     w3wp.exe     3948     RegQueryValue     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\(Default)     BUFFER OVERFLOW     Length: 144
    00:28:46.6466137     w3wp.exe     3948     RegQueryValue     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\(Default)     SUCCESS     Type: REG_SZ, Length: 196, Data: C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll
    00:28:46.6466339     w3wp.exe     3948     RegQueryValue     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32\ThreadingModel     SUCCESS     Type: REG_SZ, Length: 10, Data: Both
    00:28:46.6466578     w3wp.exe     3948     RegCloseKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocServer32     SUCCESS     
    00:28:46.6466904     w3wp.exe     3948     RegOpenKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocHandler32     NAME NOT FOUND     Desired Access: Query Value
    00:28:46.6467217     w3wp.exe     3948     RegOpenKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\InprocHandler     NAME NOT FOUND     Desired Access: Query Value
    00:28:46.6467441     w3wp.exe     3948     RegCloseKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}     SUCCESS     
    00:28:46.6468194     w3wp.exe     3948     RegOpenKey     HKU\S-1-5-21-3073440563-3662229771-834689312-1170_Classes\Wow6432Node     NAME NOT FOUND     Desired Access: Maximum Allowed
    00:28:46.6468529     w3wp.exe     3948     RegOpenKey     HKCR\Wow6432Node     SUCCESS     Desired Access: Maximum Allowed, Granted Access: Read
    00:28:46.6468904     w3wp.exe     3948     RegOpenKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}     SUCCESS     Desired Access: Read
    00:28:46.6469158     w3wp.exe     3948     RegCloseKey     HKCR\Wow6432Node     SUCCESS     
    00:28:46.6469458     w3wp.exe     3948     RegOpenKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}\TreatAs     NAME NOT FOUND     Desired Access: Read
    00:28:46.6469678     w3wp.exe     3948     RegCloseKey     HKCR\Wow6432Node\CLSID\{059AC10F-0010-4C43-8876-1FC7BEAF218B}     SUCCESS     
    00:28:46.6471878     w3wp.exe     3948     QueryOpen     C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll     FAST IO DISALLOWED     
    00:28:46.6473271     w3wp.exe     3948     CreateFile     C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll     ACCESS DENIED     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    00:28:46.6476098     w3wp.exe     3948     CreateFile     C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll     ACCESS DENIED     Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a
    00:28:46.6478526     w3wp.exe     3948     QueryOpen     C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll     FAST IO DISALLOWED     
    00:28:46.6479856     w3wp.exe     3948     CreateFile     C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll     ACCESS DENIED     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    00:28:46.6482284     w3wp.exe     3948     CreateFile     C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll     ACCESS DENIED     Desired Access: Read Data/List Directory, Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a
    00:28:46.6484770     w3wp.exe     3948     CreateFile     C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\sacommlayer.dll     ACCESS DENIED     Desired Access: Execute/Traverse, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a
    00:28:46.6489837     w3wp.exe     3948     QueryOpen     C:\Windows\SysWOW64\inetsrv\w3wp.exe.config     FAST IO DISALLOWED     
    00:28:46.6490819     w3wp.exe     3948     CreateFile     C:\Windows\SysWOW64\inetsrv\w3wp.exe.config     NAME NOT FOUND     Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a
    sacommlayer.dll 12.0.0.683
    Edited by: sw1sher2 on Feb 18, 2010 1:55 AM

  • I need a web server, what software do i need to dowload?

    I need to install arcIMS 4.0.1 (GIS) in win2000.
    This software requires a web server.
    I am confuse, there are lot OAS products.
    Could you please tell me what do I need to install?
    I requieres:
    web server (could be oracle Application server using apache web server)
    servlet engine
    java 2 platform standard edition java runtime environment.
    I think I need Oracle9iAS Enterprise Edition (9.0.3 and 9.0.2.x), because this has the oracle http server and the servlet. Am I correct?
    Thanks for your help,

    Yemi,
    I'm pleased that someone benefitted from my experience.
    You askes about forms server and forms 6i. This is what I found. You will need forms_server on the middle tier machine, and Oracle recomend that you install Forms 6i as well - they say that you should really complie your forms on the middle tier machine, rather than just copy the .fmx files over. I personally have both Forms 6i and forms_server installed, and this is working fine. However, when I tried to install reports_server this caused the forms_server to stop working. This is because they both use certain files that get overwritten by the second product that you install (eg. if you install forms_server first and then reports_server, then reports will work, but form won't; and vice versa). I raised this issue with Oracle Support, but they couldn't come up with an answer, and I've seen other people write about this problem on this board. Luckily we decided not to use Report 6i at all, so it wasn't an issue for me, but if you want to have forms_server and reports_server on the same machine you may have problems. Sorry I don't know what the solution is. But to repeat, please do NOT install OAS at all. It's totally un-necessary.
    Harry
    null

  • Is standalone OC4J scalable for production environment

    Hi,
    Can our team use an OC4J standalone (a cluster perhaps) to deliver Web applications on a production environment?
    The Web app comprises JSPs and Servlets only at the moment, in future we are considering EJBs and other J2EE components.
    Will standalone OC4J scale well and is performance good enough for real world applications?
    Thank you
    Llies Meridja

    OC4J standalone is the exact same code that is packaged inside of Oracle9iAS so will have the same characteristics of Oracle9iAS. The benchmarks that Oracle markets with the ECPerf and SpecJAppServer is same thing ... so you should have no issues with performance etc.
    You might have seen that we recently released a Java Edition of Oracle9iAS, which focuses primarily on the Java features rather than the extended features like Portal, Wireless etc. If you look at this URL, you will see the feature set comparison of this minimal Java version compared to the other versions:
    http://www.oracle.com/ip/deploy/ias/index.html?pkgsum.html
    Further, as I understand it, as long as you license one of the Java Edition, Standard Edition or Enterprise Edition, you will be supported running the corresponding instance stand-alone instance of OC4J if you want to work outside of the out-of-the-box framework which Oracle9iAS provides for OC4J instances to run in.
    Mike.

  • A simple web server !!! Help needed ...

    Well, I was trying to create a simple web server. It just accept a request from a browser and send a response.
    But I just cannot send the response to the browser. I am able to receive the request from the browser. Can anyone give me a clue what is wrong or what i have to do in order to send response to the browser? I am really puzzled !!!
    Here is the code
    =============
    package service;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.ServerSocket;
    import java.net.Socket;
    import java.net.SocketException;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    public class Listener implements Runnable {
    private InputStream is;
    private OutputStream os = null;
    boolean connected = false;
    ServerSocket server=null;
    Socket client=null;
    public Listener() throws SocketException, IOException {
    server = new ServerSocket(2772);
    client = server.accept();
    System.out.println("Connected to :" + client.getInetAddress().getHostAddress() + " @" + client.getPort());
    is = client.getInputStream();
    os = client.getOutputStream();
    Thread t = new Thread(this);
    t.start();
    public void run() {
    String b = "";
    while(true) {
    try {
    int c = is.read();
    if (c!=-1) {
    b +=(char)c;
    System.out.print((char)c);
    } else {
    System.out.println(b);
    break;
    //System.out.println(b);
    if (b.contains("keep-alive") && !connected) {
    connected = true;
    System.out.println("request recieved sending response");
    String lineSep = System.clearProperty("line.separator");
    String data = "<html><head><title>URA DHURA</title></head><body>HHH</body></html>";
    String res = "HTTP/1.1 200 OK" + lineSep + "Connection: close" + lineSep + "Date: Thu, 06 Aug 1998 12:00:15 GMT" + lineSep;
    res = res + "Server: WebApplication" + lineSep + "Last-Modified: Mon, 22 Jun 1998 09:23:24 GMT" + lineSep + "Content-Length: " + (data.length()-1) + lineSep;
    res = res + "Content-Type: text/html;" + lineSep + data;
    System.out.println("<" + res + ">");
    os.write(res.getBytes());
    os.close();
    // Thread.sleep();
    } catch (IOException ex) {
    Logger.getLogger(Listener.class.getName()).log(Level.SEVERE, null, ex);
    =======
    When ever i entered the url from the browser i get this output :
    OUTPUT
    ======
    Connected to :127.0.0.1 @2143
    GET / HTTP/1.1
    Host: localhost:2772
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; bn-BD; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: UTF-8,*
    Keep-Alive: 300
    Connection: keep-aliverequest recieved sending response
    <HTTP/1.1 200 OK
    Connection: close
    Date: Thu, 06 Aug 1998 12:00:15 GMT
    Server: WebApplication
    Last-Modified: Mon, 22 Jun 1998 09:23:24 GMT
    Content-Length: 65
    Content-Type: text/html;
    <html><head><title>URA DHURA</title></head><body>HHH</body></html>>
    ===========
    Can any one give a clue???
    Thanks.

    Well, I was trying to create a simple web server. It just accept a request from a browser and send a response.
    But I just cannot send the response to the browser. I am able to receive the request from the browser. Can anyone give me a clue what is wrong or what i have to do in order to send response to the browser? I am really puzzled !!!
    Here is the code
    =============
    package service;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.ServerSocket;
    import java.net.Socket;
    import java.net.SocketException;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    public class Listener implements Runnable {
    private InputStream is;
    private OutputStream os = null;
    boolean connected = false;
    ServerSocket server=null;
    Socket client=null;
    public Listener() throws SocketException, IOException {
    server = new ServerSocket(2772);
    client = server.accept();
    System.out.println("Connected to :" client.getInetAddress().getHostAddress() " @" client.getPort());
    is = client.getInputStream();
    os = client.getOutputStream();
    Thread t = new Thread(this);
    t.start();
    public void run() {
    String b = "";
    while(true) {
    try {
    int c = is.read();
    if (c!=-1) {
    b =(char)c;
    System.out.print((char)c);
    } else {
    System.out.println(b);
    break;
    //System.out.println(b);
    if (b.contains("keep-alive") && !connected) {
    connected = true;
    System.out.println("request recieved sending response");
    String lineSep = System.clearProperty("line.separator");
    String data = "<html><head><title>URA DHURA</title></head><body>HHH</body></html>";
    String res = "HTTP/1.1 200 OK" lineSep "Connection: close" lineSep "Date: Thu, 06 Aug 1998 12:00:15 GMT" lineSep;
    res = res "Server: WebApplication" lineSep "Last-Modified: Mon, 22 Jun 1998 09:23:24 GMT" lineSep "Content-Length: " (data.length()-1) lineSep;
    res = res "Content-Type: text/html;" lineSep + data;
    System.out.println("<">");
    os.write(res.getBytes());
    os.close();
    // Thread.sleep();
    } catch (IOException ex) {
    Logger.getLogger(Listener.class.getName()).log(Level.SEVERE, null, ex);
    {code}
    =======
    When ever i entered the url from the browser i get this output :
    OUTPUT
    ======
    Connected to :127.0.0.1 @2143
    GET / HTTP/1.1
    Host: localhost:2772
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; bn-BD; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
    Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
    Accept-Language: en-us,en;q=0.5
    Accept-Encoding: gzip,deflate
    Accept-Charset: UTF-8,*
    Keep-Alive: 300
    Connection: keep-aliverequest recieved sending response
    <HTTP/1.1 200 OK
    Connection: close
    Date: Thu, 06 Aug 1998 12:00:15 GMT
    Server: WebApplication
    Last-Modified: Mon, 22 Jun 1998 09:23:24 GMT
    Content-Length: 65
    Content-Type: text/html;
    <html><head><title>URA DHURA</title></head><body>HHH</body></html>>
    ===========
    Hello endasil,
    Actually I got a sudden idea of developing a web application which allows the content to be accessed from a web browser. Its user interface will be accessible through browser. Of course you can say I could use PHP, JSP as the frontend and at the back end USE the application.
    But I just want to explore and learn.
    Any way,
    Thank you for your reply.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • DA server within a DMZ - ports needed for internal network

    Hi,
     I'm planning on adding a domain joined DA server in my DMZ. The DA server will have 2 NICs, one for the internal network and the other for the external. I'll be using two consecutive public IPv4 addresses.
    On my external firewall I'll be opening the following ports for my DA server:
    - Port 443 inbound and outbound
    - UDP 3544 inbound and outbound.
    On my Juniper firewall between the internal network and DMZ I'll be opening the following bi directional ports between my DC and DA server:
    - IP Protocol 41 inbound and outbound.
     TCP/UDP 53, 88, 3389, 389, 443, 445, 636, 3268, 3269
    Am I right in thinking that in order for my DA clients to reach file shares (for example) I need to ensure that the required protocol and ports are open between my DA server and my file share (i.e. 443)? Doesn't this open a whole load of security holes?
    Thanks
    IT Support/Everything

    Hi there - in a similar scenario on many customer sites i have done the following configurations on the Internal Firewalls
    Internal IP of the DA Server ---> allow all traffic to selected VLAN's
    The above rule is restricting traffic from the DA Server to the required VLAN's / Networks you specify, The reasoning being is that Direct Access requires full connectivity to your apps / infrastructure. 
    john davies

  • Web server log not show byte transfer for php

    I added php module to iWS 6.0 it work fine but access log not show byte transfer information for php. How can I do?

    The iPlanet Web Server 6.0 access log does not report the number of bytes sent by plugins unless the plugin explicitly sets the Content-length: header. Sun ONE Web Server 6.1 is the first version of Web Server that always reports the number of bytes sent, even if the plugin neglects to set a Content-length: header.

  • Configure/installing apache web server (1.3.26) plug in for weblogic server  6.1

    hi,
    can any body know the exact steps to configure the apache web server which can proxy requests to weblogic server 6.1?
    thanks in advance.

    hi,
    can any body know the exact steps to configure the apache web server which can proxy requests to weblogic server 6.1?
    thanks in advance.

Maybe you are looking for

  • Help with triggers

    Hi All, i have a few triggers that I need your help with. The first trigger (below) is fired when an update is made to a column in an invoices table. The question I have is to do with the exception section. I want to change the status of the invoice

  • Photoshop incredibly slow all of a sudden! useless :(

    i am running CS3 on a mac pro dual quad core. 8GB ram. i have 150 GB free disk space, and a whole second 250 gig hard drive as well. all of a sudden yesterday, photoshop takes an eternity to load up (a few minutes) and to open even a small 300k image

  • [SOLVED]problems about sdcv looking up words

    hi. I get sdcv (sdcv 0.4.2-5)installed and also a dictionary with it. But when i look up word,it doesn't work complaining that "nothing similar to '$word'",sorry ". $ sdcv sex Nothing simillar to sex,sorry :( $sdcv -l bookname wordcount somedic 43524

  • Logon screen in SAP Easy Access

    Hi, I want to add up a new logon screen after the user logs in to the system with his sap user id and password.I want this to happend in SAP Easy Access screen. This should happen when user tries to enter any transaction in the list box or when he tr

  • [E51] Where's my hidden SSID ?

    Hi, From the home page of the phone, it's possible to activate WLAN networks lookup.Several SSD are displayed, but not mine because it's hidden. So, I've correctly setup my hidden SSID in the configuration menu, but now my SSID is never displayed on