IBM HTTP Web Server

Can one put IBM HTTP Web Server in front of WLS so that all HTTP requets go to IBM HTTP Web Server and redirects to WLS.

Yes, but I've never tested the plug-in (Apache) for Weblogic with IBM's
build. (The IBM HTTP server is Apache.)
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com/coherence.jsp
Tangosol Coherence: Clustered Replicated Cache for Weblogic
"SY" <[email protected]> wrote in message
news:3d2c57b9$[email protected]..
Can one put IBM HTTP Web Server in front of WLS so that all HTTP requetsgo to IBM HTTP Web Server and redirects to WLS.

Similar Messages

  • HTTP Web Server

    Hi!
    I have to make an http web server: in a browser, I write http://ServerName:port/file and the browser must display the file. The only problem now seems to be that I changed
    This line gets the OutputStream of the client socket
    out = new PrintWriter(new OutputStreamWriter(scliente.getOutputStream(),"8859_1"),true) ;And this thing sends the response to the browser:
    out.println("HTTP/0.9 200 ok");
                    out.println("Server: Nombre del Servidor/1.0");
                    out.println("Date: " + new Date());
                    out.println("Content-Type: text/html");
                    out.println("Content-Length: " + file.length());
                    out.println(System.getProperty("line.separator"));
                    BufferedReader localFile= new BufferedReader(new FileReader(archivo));
                    String line= "";
                    do         
                        line = localFile.readLine();
                        if (line != null )
                            // sleep(500);
                            out.println(line);
                    while (linea!= null);The thing is... That didn't work for displaying images and other file types, which is why I changed the previous code to:
    out = scliente.getOutputStream();And the other part to:
    byte[] contenido;
                    int tamano;
                    escribirEnCliente("HTTP/1.1 200 ok");
                    escribirEnCliente("Server: Nombre del Servidor/1.0");
                    escribirEnCliente("Date: " + new Date());
                    escribirEnCliente("Content-Type: " + new MimetypesFileTypeMap().getContentType(archivo));
                    escribirEnCliente("Content-Length: " + archivo.length());
                    FileInputStream archivoLocal = new FileInputStream(archivo);
                    tamano = archivoLocal.available();
                    contenido = new byte[tamano];
                    do         
                      tamano = archivoLocal.read(contenido);
                      out.write(contenido);
                    while (tamano != -1);escribir en cliente is a procedure like this:
    public void escribirEnCliente(String str)
                out.write(str.getBytes("8859_1"));
    }This way, I thought, I could send all types of files, not only text files. But it doesn't work, it doesn't even load the page. Any suggestions?

    ...and in your do/while loop think what happens when read() does return -1. You still write the entire buffer. You should do something like this instead:
        while (true) {
            int count = in.read(buf);
            if (count == -1)
                break;
           out.write(buf, 0, count);
        }

  • Resources for implementing HTTP web server using java

    hi ,
    Thanks for giving your precious time in reading the message.I want to build a HTTP web server using java,which will run on my machine and I can communicate with it through web browser(IE) using HTTP requests and response.
    I know java language, but quite new to network programming.I want to gain enough knowledge on network programming in java.Can you please suggest me good books or any other resources available on the internet for the required subject.Any help will be greatly appreciated.
    my email-id is : [email protected]

    hi there my friend,
    I am writing my own web server too. in w3c there is a sample web server called jigsaw-open source :) and simple-
    I do think it worth trying.
    you can contact me if you want to share some source and info. cause I will.
    [email protected]
    but within 2 weeks I will be back for studying for my web server. you have to wait for a while.

  • Strange HTTP/Web Server Problem - HELP ~~~~~~~

    HI all,
    I would like to seek help from you - the apple expert!
    I received my mac mini server and immediate want to setup a web/http server. I encountered one very strange problem that only the mac mini server itself can access the http server page but not all other machines in the same internal network. I tried to troubleshoot and so simplify the setting as follow
    Here is my setting
    - The Web Server service is ON
    - I closed all the built in web services (wiki, cal, blogs, webmail) for troubleshoot
    - I created a "Custom Sites" with 192.168.11.9:8080 <- this is my mac mini ip
    - Ensured the /Library/WebServer/Sites/192.168.11.9 got right permission
    When i open IE in my window vista laptop, type in address "http://192.168.11.9:8080", it doesn't work. Is there anything i need to config so that other machine (Win OS) in the internal network can also access the http server in my mac mini?
    Thank you very much.
    A newbies in mini

    ...and in your do/while loop think what happens when read() does return -1. You still write the entire buffer. You should do something like this instead:
        while (true) {
            int count = in.read(buf);
            if (count == -1)
                break;
           out.write(buf, 0, count);
        }

  • HTTP web server disappeared ?

    Hi there,
    please help me as I cannot connect to the HP HTTP Server in my own LAN any more.
    My HP 8500 a910g is connected to LAN with a static IP 10.0.0.1 assigned.  Up until now, I always used http://10.0.0.1/# to access the web server and a dyndns with portforward to access it from outside.
    Printing and scanning works alright, but when I try to open 10.0.0.1 I only see the following output :
      It works!
    This is the default web page for this server.
    The web server software is running but no content has been added, yet.
    What is going on here and what can I do to restore the Web Server  ?
    Thank you for your help.

    I found the solution - I reenabled Web Server by following this & it works now.
    http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile/Enable-Disable-Web-Services-on-your-printer/td...

  • JSF on IBM WebSphere Web Server 5.1.0.3

    Hello...
    I did not get any response from IBM yet... so i am trying my luck with you...
    Can IBM WebSphere Web Application Server 5.1.0.3 with J2EE v1.4 support JavaServer Faces 1.0?
    Regards,
    B.

    Hello,
    Thanks for your reply.
    However i need to know whether WebSphere v5.1.0.3 on which there is J2EE v1.4 is specifically compatible with JSF 1.0
    And i am developing in Oracle JDeveloper J2EE Edition. I will probably deploy my app in WAR format
    Regards,
    B.

  • Oracle 10g HTTP Web Server on Windows 2008 R2 (64-bit) server.

    I downloaded the Oracle 10g HTTP server for Windows 2008 R2 (64-bit) from the link below
    http://www.oracle.com/technetwork/database/10204-winx64-vista-win2k8-082253.html
    10204_vista_w2k8_x64_production_companion.zip (344,455,851 bytes)
    Did anyone have luck installing the 10g HTTP server on a Windows 2008 R2 (64-bit) server ?
    I could see the installation went fine, but I don't see any "Oracle_HTTP" windows service getting created.

    I have not installed on this OS but I'm betting the service is a different name.
    Check "log on as" under services to narrow your search

  • Disabling logging of HEAD request in HTTP web server logs

    Hi,
    I would like to stop the logging of HEAD requests in my HTTP server logs. I was thinking of using the Rewrite rule, however, there may be a more direct way of doing this. Is there a configuration setting within HTTP Server to do this?
    I'm using WebTier component of Weblogic 10.3.2.
    Thanks,

    I found the solution to disable HEAD requests.
    Edited by: WallyP on Mar 11, 2010 12:24 PM

  • DBD/DBI perl modules for HTTP Web Server

    Hi,
    I installed the http webserver from the 9i database CDs. But it seems to come without the DBi and DBD:Oracle modules. Where do I get them for the windows plattform ? binaries preferred.
    Regards
    Knut

    First, check if the version of perl installed is ActiveState's. I doubt it is...at least it's not on my 9.2 version.
    DBI does not seem to be installed, you're right.
    You have two options:
    1) The best way is to ensure you have the same compiler they do (probably MSVC 6.0 SP3), but it's hard to tell and build DBI and DBD::XXXX yourself.
    2) Install ActivePerl and their modules, then force Apache to use that...
    Regards,
    Jeff

  • WebLogic App server - IHS web server

    Will the same "Apache HTTP Server Plug-In" allow IBM/IHS web server to work with WebLogic App server? If so which versions are supported?

    Hello I'm trying to install the plugin in IHS 2.0X as per the instructions:
    copy mod_wl_20.so file to modules directory,
    made a following entry in httpd.conf:
    LoadModule weblogic_module modules/mod_wl_20.so
    verified that httpd.conf is ok..but IHS coredumps upon startup. Any ideas please? Appreciate your help! Thanks!
    This is on Solaris 8

  • JSP on IBM WebSphere Application Server 3.5.4

    Hi, Could pls. someone suggest what is required to be done to get a JSP working on IBM WebSphere Application Server.
    This is what I have tried so far:
    One of the directories on the app server is
    C:\WebServer\AppServer\hosts\default_host\examples\web
    When I place a JSP in the above path, it works fine (http://localhost/webapp/examples/xyz.jsp in the browser).
    Question:
    Where is webapp (as it appears in the URL) defined?
    Then, I go on to create new directories as follows
    C:\WebServer\AppServer\hosts\default_host\MyApps
    C:\WebServer\AppServer\hosts\default_host\MyApps\web
    Place a working JSP in C:\WebServer\AppServer\hosts\default_host\MyApps\web. And when I enter http://localhost/webapp/MyApps/xyz.jsp or http://localhost/MyApps/xyz.jsp in the browser, the JSP can't be located.
    What is required to be done (from mapping point of view) and where? Does anything pertaining to JSP need to be defined on the HTTP Web Server (not for JSP's I think). Where should I put the JSP file so that everything for the application could be grouped together and it will work as well.
    I have gone through other postings on this issue on this forum but they have been of little help.
    Any thoughts on how to get this working.
    Thanks

    I use IBM Visual Age 3.5 & 4 which contains a scaled down vesion of Websphere for running servlet and JSPs. I am very familiar with the intricacies of running web apps in in this scaled down environment. What I'm about to tell you may or may not apply to WAS but it should help you.
    You can't simply add a directory under default_hosts and expect a new web app to appear. Websphere only recognizes web apps that are set up properly in the servlet_engine file. Each server has it on servlet_engine file located in the properties directory. For the default server, the file is named default.servlet_engine. In that file you must add a new <webspher-webgroup> element as a child element to <websphere-servelet-host name="default_host">. I added a web app to my server and it looks like this.
    <websphere-webgroup name="second_app">
           <description>The second app</description>
           <document-root>$approot$/web</document-root>
           <classpath>$approot$/servlets$psep$$server_root$/servlets</classpath>
           <root-uri>/</root-uri>
           <auto-reload enabled="true" polling-interval="3000"/>
           <shared-context>false</shared-context>
      </websphere-webgroup>I can't remember if it automatically creates the directory structure for you now or not, but at any rate, this web app will be stored in c:\WebServer\AppServer\hosts\default_host\second_app with the enclosed web direrectory as your location for JSPs.
    One more thing to mention. For every web-app you create, there is a descriptor file similiar to the web.xml deployment descriptor you see in /WEB-INF for the servlet 2.2+ spec. In my case the file is name second_app/servlets/second_app.web_app. In the descriptor you would probably want to configure some settings specific to your web app such as servet registration, init parameters and which version of the jsp compiler to use.
    Since IBM came out with WAS 3.5 before the Servlet 2.2 spec went mainstream for Servlet Containers, WAS's configuration is quite unconventional. But, I found that the documentation that comes with WAS explained all these configuration quirks quite well.
    Hope this helps
    Steve

  • Web Server code !!

    hi friends !!
    can any1 provide a simple http web server code which also acts as a servlet container. it should also access the form data.
    pls help me...i am in urgent need !!!
    with regards,
    n@v

    Stupid dolt! Ever heard of Tomcat???

  • G web server

    Hello,
    I have an application made in Labview7.1, that should be remotely controled. Also it must be protected with user name and passwords. For that I used G web server from Internet toolkit ver.6.0. I followed the instructions for password protecting the web pages, so the G web server is sharing the same port as the Labview web server, and when I run the VI from Labview enviroment it works fine. But when I build the application, the G web server is returning the error 60, the port is already used by anaother application, that application beeing the Labview web server from the app. How can I get around this?

    Can't you use the G Web Server to both give you remote control and security? I've linked a thorough discussion of using the HTTP Web Server with an executable, which also has links to some additional information on this topic. The discussion even specifically mentions not being able to use both servers on the same port, so you should really switch entirely to the HTTP web server to get both remote control and security. If you can't get things working, feel free post a small example that illustrates your dilemma.
    Kind Regards,
    Message Edited by AESulzer on 11-14-2005 02:54 PM
    E. Sulzer
    Applications Engineer
    National Instruments

  • Internal Server Error while using IBM HTTP SERVER

    I used Webstudio tool to develop a JSP page and publish it on the IBM HTTP Server. When i was previewing the file, I got a internal server error 500 with the message of misconfiguration. I will be
    extremely happy if you can provide an answer for this. All the path and classpath settings are good.
    Thanks
    Srini_gs

    Are you talking AS400? Websphere Application Server? Are you sure the file is in the right place? By default jsp's go in a folder or directory called 'web' which resides in the same directory as the 'servlets' directory. So in one directory you would have two directories, one called servlets for .class files and one called web for jsps. I don't know if this helps or not, but check it out. But I don't know if this were your problem if you wouldn't get a 'NOT FOUND' error instead of the misconfiguration error.

  • Can IBM WebSphere be used as a web server?

    I have heard that IBM WebSphere be used as a web server.
    Is this true?
    If so , can an SAP EP7 be used as a web server since Websphere is a portal as well.
    Thanks!

    Hi,
    Apache in general doesn't have a good application focus, so most configuration in httpd.conf is for all applications (which to apache are only folders).
    It does however use virtual host that are commonly used to separate configuration between applications.
    For SAP NetWeaver Java (all java stackbased systems can be web servers) the configuration is either done at the virtual host level or at the Java EE application level.
    The HTTP Provider ( http://help.sap.com/saphelp_nw04s/helpdata/en/8c/541eed26ef934cb161ed0b65a050ee/frameset.htm) provides you with the possibility of setting up virtual hosts.
    These virtual hosts can have a root directory which is similar to the DocumentRoot command in httpd.conf: basically it tells you were the .html files are.
    Note that the HTTP provide cannot process dynamic files(like .jsp, .php etc), only static HTML files
    The Java EE application use the various deployment descriptors for WAR and EAR for defining security settings, servlet settings (can replace need for rewrite rules) and everything else needed for the application to run.
    Java EE application can have dynamic files in the form of .jsp and it should be trivial to create a wrapper Java EE application where you just put your html files in a folder in order to mimic a web server.
    However, you should redeploy the application when you make changes to the html files in order to make sure the application is stored correctly in the database and synchronized to all cluster nodes.
    Regards
    Dagfinn

Maybe you are looking for

  • Director 12 - progress bar

    I need to add a progress bar to the splash screen of a Director 12 .dcr which is hosted on a website. The progress bar doesn't have to show the exact time remaining before the main.dcr starts, it just gives the user a rough indication that "loading"

  • Sent messages are being marked as "unread"

    Ever since installing OS X 10.8.3, both my iMac and MBP have been leaving sent messages marked as "unread".  Not all outgoing messages are being left in this unread state, but most are.  Any ideas on why this might be happening and how to fix it?  Is

  • Preferences "OK" grayed out

    Using CS6 in Windows 7. I am trying to make it so that guides are in front. What I have always done was: Prefernces > Guides and Pasteboard > uncheck "Guides in back" > OK. However, recently the "OK" button is grayed out and cannot be clicked, making

  • User defined delivery filters?

    I'm wondering if it is possible with OS X's mail server (IMAP) to set delivery filters (ie: a message from bob to sue goes into Sue's self-creating folder called 'Messages from Bob' rather than into her inbox). I know that you can setup filters on ma

  • Exception  from OIM 11g login method

    Hello All, I installed OIM 11g on RHEL5 on WebLogic 10.3.3. I have written a sample client application which connects to OIM server to evaluate its various functionality. <snippet>           System.setProperty("java.security.auth.login.config", "ABSO