WLS and Apache Server

Hi all,
I'd like to use Apache Server to serve static HTML pages and WLS to serve JSP pages.
I wonder what solution is better: Dedicate one machine to Apache and one to WLS in
order to scale better or it's better to keep both server on one machine to reduce
network traffic (caused by redirects) ?
Thanks
Francesco

I found this link to a .pdf that I believe explains the difference between OHS and Apache and what the web server plug-ins do. See this link:
http://www.oracle.com/technetwork/middleware/ias/ohs11gr1-131852.pdf

Similar Messages

  • Forms 6i and Apache server

    HI all,
    I have an assignment to replicate production installation to another environment on another server. Currently what is installed on those servers is:
    - Main server (production): Windows server 2000 SP4, Forms 6i service, Reports 6i service , iSuites HTTP listener. In some documents I found that 9i Rel1 Applications Server was actually installed creating Forms60service, Reports60service and HTTP listener. Unfortunately, I don't have access to 9i Rel1 disks (only 9i Rel2 and Forms6i Rel2) and since it is desupported, I can't download them online.
    - Other server: Windows Server 2003 ( with installed Forms 10g and services disabled).
    What I did was install Forms6i server and Apache web server. Apache server works, and I made aliases so it can access files on the server. Aliases were taken from documentation of production installation. However, I don't know how to make Apache listen for forms server requests. I assume in 9i it is handled automatically, like in 10g?
    Questions:
    -Does 9i Rel1 create those services? I'm new to 9i and 6i AS, and don't have disks to test it. Is there a way to download 9i Rel1?
    -How can Apache be configured to handle requests to Forms server? Its now listening on port 81, and when called gives a blank page. JInitiator isn't started.
    Any help would be greatly appreciated.

    If you are using a standalone Apache install and not the one included with iAS 1.0.2, you must run the Forms Server. If you are using the iAS installation, you can use either the Forms Server or the Forms Servlet. The Forms Servlet takes advantage of JServ, which allows requests from Forms to route on the same port by which the HTTP listener is using. On the other hand, if you don't use the Servlet and instead use the Forms Server, requests from the client are routed from the client directly to the Forms Server on a different port. In this case the HTTP Server is only used for the initial request which then pass future requests to the server. The down side to this is that you must run 2 servers and have 2 available ports - one for the http listener and one for Forms. This is why using the Servlet is preferred.
    I believe you must be using Forms 6i Release 2 (6.0.8.11) plus patch 10 or 11 or newer in order to successfully deploy using Servlet. This translates into being iAS 1.0.2.2.2 if I recall correctly.
    Here are some doc references which may be of help:
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/techlisting-084882.html
    http://www.oracle.com/technetwork/documentation/6i-forms-084462.html
    http://www.oracle.com/technetwork/documentation/forms-094534.html
    http://www.oracle.com/technetwork/documentation/dev-arch-093406.html

  • Web sharing and apache server down

    Hi all
    Sorry for this noobie question but it's the first time I have this strange behavior
    Today I tried to use my MBP (under Lion 10.7.4) outside of my home in a location where web connection was not permitted.
    I thought I could continue to work on my web project which is at the moment on a localhost server.
    But it was impossible as the web sharing was down and it was impossible to relaunch it through preferences panes.
    did I missed something in my Apache config or somewhere else as I am pretty sure that this behavior should be the correct one it should be possible to have the apache server running even if not connected to the web.?
    Obviously once returned at home and reconnected to the web all going back at normal.
    Thanks in advance for your help
    BR
    BKantique

    Finally I found by myself, apparently I my apache server pointed on the port 80 which once disconnected of the web cause to Apache to be down.
    Changed the port into 8080 and then no issue anymore the Apache server still on once disconnected of the web

  • Passing data b/w applet and apache server

    Hi all,
    I have an application that runs in the JApplet.I have to pass data b/w server and applet.The
    datas are brought from the server using php to the browser and passed to applet using param
    tags.
    1.Is it possible to set value for the param tag from applet?
    2.How to retrieve data from the param tag to the applet in the form of an array.
    In the getParameter it is required to specify the param name.
    Is it possible to retrieve data from param tag similar to that of getting data from command
    line arguments array.

    Hi all,
    I have an application that runs in the JApplet.I have
    to pass data b/w server and applet.The
    datas are brought from the server using php to the
    browser and passed to applet using param
    tags.
    1.Is it possible to set value for the param tag from
    applet?Why do you ever want to do it? It sounds like setting arguments passed to a program's main method from command line after the main method has been invoked. It is possible though to dynamically set any values for any applet params using php before the applet gets loaded to the browser window as you generate an html file on the server side.
    2.How to retrieve data from the param tag to the
    applet in the form of an array.
    In the getParameter it is required to specify the
    param name.
    Is it possible to retrieve data from param tag similar
    to that of getting data from command
    line arguments array.You can use some naming/numbering convention for your params. For example settings1, settings2 ... Then you can loop in your code retrieving the values like getParameter("settings" + i) checking to see that it is not null or empty.
    However, if you don't want to reload the applet (together with the page) just to get some new data from the server, you can establish a tcp/ip connection as elchaschab recommended.
    Cheers!

  • Actions sent through OAM - how to receive in apache server?

    Hi,
    From OAM we want to send values through custom type called propertytype (instead of headervar and cookie). We configured that in OAM, but apache server and the custom TAI connector which we developed for websphere is not able to recognize it? Custom TAI connector is just for receivinig the data sent, and apache server we are using as a webgate.
    Can you please help me out how to resolve this issue?
    Thank you,
    Regards,
    Prashant

    Hi Prashant,
    The data is sent by the access server and interpreted by its clients as appropriate. The webgate, which is one such client, basically needs to work within the confines of HTTP and thus is not even looking for custom action types. In the custom TAI connector are you making ASDK calls? If so, look at the method "+java.util.Hashtable      getActions(java.lang.String actionType)+" in the class com.oblix.access.ObUserSession. That method, called after isAuthenticated/isAuthorized as the case may be, will retrieve the custom action sent back by the access server.
    -Vinod

  • Upgrade the default Tomcat and Apache

    Hi
    Is there a working and correct way to upgrade and run a Tomcat and Apache server of your pick instead of the pre installed versions in OSX 10.4.8 server.
    Meaning that i want to start and admin them throught Server Admin interface, and making Jboss notice the new Tomcat aswell.
    Mikael

    If you're asking here, the answer is probably no.
    It is possible to build and install later versions of all the Mac OS X Server-bundled apps, including Apache, Tomcat, postfix, bind, etc., etc., but in most cases once you do you lose the ability to drive them via Server Admin.
    Server Admin knows what it knows - more importantly it doesn't know any of the features of later versions of the apps (it may work with point released (e.g. Apache 1.3.20 -> 1.3.30, but it won't work with major versions like 1.3 -> 2.0).
    So if you go that way you're on your own as far as configuring and maintaining the service is concerned.
    Leopard (10.5) will include later versions of these apps if you're prepared to wait.

  • Webtogo with Apache Server

    Hi,
    I've already installed Oracle Webtogo Server on my machine with Apache server.
    My webtogo server runs on 80 port and Apache server on 90 port.
    I would like configuring the webtogo module on the Apache server.
    I've put the following line in apache's httpd.conf's file:
    LoadModule WTG_Module
    OracleHome\webtogo\bin\wtgapach.dll
    <Location /webtogo>
    SetHandler web-to-go
    </Location>
    I've stopped the server and reloaded, but i've gotten this error:
    Loaded DSO <dll's path> use plain Apache 1.3 API, this module might crash under EAPI, please recompile it with -DEAPI.
    I don't understand the meaning of RECOMPILE WITH -DEAPI.
    Best regards,
    Simone
    null

    Hi Guys,
    I didnt check this from past one month, thanks all for your replies
    I found solution for this in metalink
    i.e.
    in context file
    <directory_index oa_var="s_directory_index">index.jsp index.html</directory_index>
    change this to
    <directory_index oa_var="s_directory_index">index.html</directory_index>
    and run autoconfig
    and restart apache server
    Thanks,
    Bhanu Chander

  • WLS 6.1 SP2 and Apache 1.3.26 Windows NT/2000

    Hi,
    Is there an Apache plugin available for WLS 6.1 (SP2) and Apache 1.3.26 running
    on Windows NT/2000?
    thanks

    I've solved my own problem. I learned that there was a sp4 (let alone a
    sp3) for WLS. Installed that and the problem went away. Sorry for the
    noise.
    -Phil
    Philip Bower <[email protected]> wrote in
    news:[email protected]:
    When I try to deploy the struts-example.war or if I add the struts.jar
    to any other web app I've created, I get this error when I start WLS
    and it tries to deploy that war.
    java.lang.StringIndexOutOfBoundsException
    at weblogic.servlet.internal.WebAppHelper.resolveManifestName
    (WebAppHelper.java:469)
    I'm using version 1.1b3 of struts. I'm having no problems with
    version 1.0.2 of struts.
    I'm guessing its complaining about the manifest file in struts.jar,
    but I don't understand why.
    Here's my version info and the stack trace (my web app is called
    findme in this example). Thanks in advance.
    -Phil
    Server BuildWebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
    All Server Product VersionsWebLogic Server 6.1 SP2 12/18/2001
    11:13:46 #154529 WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02
    #154529
    <Feb 11, 2003 7:45:25 AM EST> <Error> <J2EE> <Error deploying
    application findme: Could not load findme>
    <Feb 11, 2003 7:45:25 AM EST> <Error> <Management> <ApplicationManager
    starting Config caught throwable
    java.lang.reflect.UndeclaredThrowableException:
    java.lang.StringIndexOutOfBoundsException: String index out of range:
    -1
    at java.lang.String.substring(String.java:1525)
    at
    weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper
    .jav a:469)
    at
    weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.j
    ava: 234)
    at
    weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebApp
    Serv letContext.java:3407)
    at
    weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServlet
    Cont ext.java:3376)
    at
    weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContex
    t.ja va:862)

  • Apache and weblogic server

    hi all.
    i am using oracle application server 10g R2 over windows server 2003 64bit
    but now i planned to go for apache and weblogic server for this i do not have idea that
    should i do? plz what softwares are required to use apache and weblogic server with current version
    10g R2.?

    The WebLogic Server (WLS) is a Java container similar to OC4J in Application Server 10g release 2. If you want to use WLS, you will have to upgrade your Application Server 10g installation to Fusion Middleware 11g. The upgrade path typically depends on the products which you are using in 10g, e.g. the upgrade path for SOA is different than the upgrade path for Forms/Reports or Oracle Portal. The [url http://docs.oracle.com/cd/E23943_01/upgrade.1111/e10125/before_you_begin.htm]Upgrade Planning Guide is a good start.
    Thanks,
    EJ

  • WLS 6.1 SP3 and apache plugin

    Hello,
    I have WLS 6.1 SP3 and apache 1.3.26 installed on solaris 8.
    I enabled the weblogic Weblogic Plug-In Enabled for my wls server and
    then I configured my apache server like the following:
    1) I used mod_wl.so that comes with wls under
    \bea\wlserver6.1\lib\solaris
    2) Then I loaded that module using APACHE_HOME/bin/apxs -i -a -n
    weblogic mod_wl.so
    When I load the module I get the following:
    [Thu Jan 15 10:05:53 2004] [warn] Loaded DSO libexec/mod_wl.so uses
    plain Apache 1.3 API, this module might crash under EAPI!
    please recompile it with -DEAPI)
    /usr/apache/bin/apachectl start: httpd started
    I don't understand that message
    3) The following lines were added to httpd.conf:
    LoadModule weblogic_module libexec/mod_wl.so
    AddModule mod_weblogic.c
    4) Then I added the following to the httpd.conf:
    <IfModule mod_weblogic.c>
    WebLogicHost 10.1.10.205(my weblogic IP)
    WebLogicPort 7020 (my weblogic port)
    FileCaching On
    MatchExpression *.jsp
    </IfModule>
    The problem is that the apache server is not able to redirect the jsp
    calls to the WLS server and I'm always getting "The page cannot be
    displayed"
    Any information that might guide me to solve this problem is appreciated
    Itani Mohamed
    SoftSolutions
    Tel: +961.1.90.11.70 ext:141
    Fax: +961.1.90.11.75
    www.softsolutions.fr

    Itani,
    Please try the mod-wl-ssl.so module shipped with weblogic, as this module is compiled with -DEAPI flag

  • How to get last modified date and time of a file which is in apache server.

    Hi ,
    I need to get last modified date and time of a file in remote machine.
    This file is in remote machine which has apache server installed.
    I am trying to get this information by connecting to apache server from client by giving absolute URI of the file to file object.
    URI is got from apache server URL by using toURI method.
    when I use lastModified method , its throwing exception , because scheme of URI is not file.
    I can't give scheme as file because ftp server is not installed on that server
    Is there any other way to get this information .

    No, unless you can use an FTP client.

  • Installing Coldfusion 9 and Apache 2.2 on Windows Server 2008 R2 Standard

    I'm having issues getting ColdFusion 9 working with Apache 2.2 on Windows Server 2008 R2 Standard.
    The server is brand new and it's a fresh install of Apache and ColdFusion 9.
    Having installed Apache, I tested the web server and it was working fine, so I proceeded to install ColdFusion 9. I attempted to restart the Apache server through the Apache Service monitor, only to get the error dialog box 'The requested operation has failed'.
    On closer examination of the Windows error log, I saw the following error:
    The Apache service named  reported the following error: >>>
    httpd.exe: Syntax error on line 488 of C:/Program Files (x86)/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/ColdFusion9/runtime/lib/wsconfig/1/mod_jrun22.so into server: The Apache service named is not a valid Win32 application.
    I updated the ColdFusion installation to 9.0.1 in case there was an issue with version 9.0 and Apache. Still no joy.
    After a bit of research, I thought perhaps there was an issue with the mod_jrun22.so file (since when I commented out the reference to that file from the Apache config file, the Apache HTTP server started without any problem). I tried replacing the mod_jrun22.so with the 32 bit version (extracted from the wsconfig.jar file), but that made no difference either.
    I have tried a number of things. I have run wsconfig and uninstalled all web server connectors and then re-created them.
    I have to use Apache and IIS is not an option (I use rewrite rules extensively in an existing live installation and have many sites set up in a vhosts file), so please - no suggestions to use IIS instead.
    The system requirements on http://www.adobe.com/sea/products/coldfusion/systemreqs/ state that Coldfusion 9 will work with Apache 2.2.17 and later on Windows 64 bit, so why am I having issues with a brand-new installation on a 'virgin' server?
    Any help would be much appreciated. I have spent hours trawling the Web for solutions.

    I missed an important detail in my opening post. My Coldfusion 9 version is 64 bit - not 32.
    OK. Simple solution to this. I'll put it here for other peoples' reference.
    To cut a long story short, after phoning Adobe support this morning I was told that you can't run a 64 bit version of ColdFusion with a 32 bit web server. In essence, the web server software and the ColdFusion server software must be the same - either 32 or 64 bit.
    Apache is only officially released as a 32 bit version, but there is a 64 bit unofficial version available from http://www.blackdot.be/?inc=apache/binaries, so I downloaded that and installed it, based on the instructions at http://www.elxis.org/guides/developers-guides/64bit-apache-php-mysql-windows.html.
    Once I'd installed the 64bit version of Apache, the installation of Coldfusion 9 64 bit went smoothly and all appears to be working just fine now (well, I can get to the ColdFusion Administrator page and I have successfully updated the server software to ColdFusion 9.0.1).
    The fact that you can't mix different 'bit' versions of software in this way may be obvious, but it wasn't obvious to me. Having been an early adopter of a 64 bit version of Vista on my own PC, I never experienced these kind of problems before. Software installed itself into the corresponding locations on my PC without any problem and just worked. This is the first time I've run into this problem.
    Unfortunately, there doesn't appear to be any information regarding this very important requirement on the system requirements pages, so I suggested to the support engineer that he may want to make the recommendation that the page is amended to clarify the situation: e.g.
    IMPORTANT: 64 bit versions of ColdFusion require 64 bit versions of web server software to function. You can not mix 32 bit and 64 bit versions of web servers and ColdFusion server.
    Hope this helps someone else out.

  • Oracle 8i, Apache server and Intel P4

    Is somebodey out there that managed to install Oracle 8i DB and
    Apache HTTP server on computer with Intel P4 (Windows 2000 Pro,
    1GB RAM, 20GB HDD)? Do examples (JSPs, Java beans, JDBC
    connections...) on Apcahe work?
    In our case we already spent too much time with workaround's
    (from metalink) and we have no success!
    Thank you for helping us.
    Neja

    Im not sure I understand your question. Can you give me mroe
    details please?
    Thanks,
    Jay Tomlinson

  • Question about the Apache plug-in and WL server

    We have a bunch of Weblogic app-servers, and I want to set up Apache servers to
    front-end them. Here is what I'd like to do:
    (1) Load balancer forwards requests to one of Apache servers
    (2) Apache serves the static content (html,gif,css etc.)
    (3) Apache servers forward the request to one of the alive Weblogic servers, with
    requests for the same Weblogic session should preferably stay with the same Weblogic
    server.
    The catch is that we are not using Weblogic clustering - we have our own application-specific
    light-weight clustering (virtually no replication of dynamic state). All I want
    is that the Apache plug-ins keep forwarding the packets to the same Weblogic server
    for a session (unless the server dies), and that thsi property hold even if multiple
    client requests (for the same session) are rotated across multiple Apache servers.
    The first is really important, the second just nice-to-have (I can setup load-balancer
    with sticky sessions if needed).
    The Apache plug-in documentation seems to suggest that we must use Weblogic clustering
    for us to be able to specify multiple Weblogic servers in the plug-in config file,
    but is that really required?
    Second, does the session cookie uniquely identify the Weblogic server or does
    the Apache plug-in keep the mapping between the cookie and the server? Also, does
    this answer depend on whether we use Weblogic clustering or not?
    The answer depends on the protocol between the Apache plug-in and the Weblogic
    server. Is it documented? Available under NDA?
    Your help will be really appreciated!!
    thanks
    -amit

    is that the Apache plug-ins keep forwarding the packets to the same Weblogic
    server
    for a session (unless the server dies), If the session id is found in the cookie, request or postdata (in that order),
    the plugin will preserve the sticky session.
    and that thsi property hold even
    if multiple
    client requests (for the same session) are rotated across multiple Apache
    servers.The rules apply to all apache instances as the single instance.
    BTW, the preferred server from the session has to be in the serverList(you defined
    in the httpd.conf). You are not using clusters in the backend hence the server
    list will not be updated
    dynamically. The plugin will not know the changes in the backend without modifying
    the httpd.conf and restarted.
    The first is really important, the second just nice-to-have (I can setup
    load-balancer
    with sticky sessions if needed).
    The Apache plug-in documentation seems to suggest that we must use Weblogic
    clustering
    for us to be able to specify multiple Weblogic servers in the plug-in
    config file,
    but is that really required?
    It's a recommended configuration, but not mandatory.
    Second, does the session cookie uniquely identify the Weblogic server
    or does
    the Apache plug-in keep the mapping between the cookie and the server?The server info is in the cookie for the same client although
    the plugin also maintains a list of servers.
    Also, does
    this answer depend on whether we use Weblogic clustering or not?
    No.
    The answer depends on the protocol between the Apache plug-in and the
    Weblogic
    server. Is it documented? Available under NDA?
    Your help will be really appreciated!!
    We only support http and https(60sp1 or later).

  • Apache Server Sizing and Web Dispatcher filtering

    Hi,
    We are planning to expose our intranet portal for internet user. An internet user would access it via browser (https) -> Apache - reverse proxy (outer DMZ) -> Web Dispatcher - Load Balancing (Inner DMZ) -> Portal.
    We are looking for end-to-end SSL implementation.
    My questions:
    1] Do we need to have load balancing at apache server for performing reverse proxy? If yes, how it would be achieved?
    2] What is the hardware sizing required for Apache server on Linux box?
    3] Does the portal performance is affected by end-to-end SSL implementation?
    4] In load balancing using Web Dispatcher, can we forward particular request to a specific application server? Like, filter out the internet requests or forward BI related requests to a specific application server node.
    Regards,
    Sham

    Hi,
    1) Depends on your requirement. When you have 1 Apache RP and 1 SAP Web Dispatcher, you won't need load balancing of at the Apache.
    2) Depends on the number of concurrent requests you are expecting. More information on that can be found at apache.org
    3) Portal performance gets affected when using SSL and the portal is responsible for the SSL (there are product out there that do the SSL handling). How much the SSL will affect your portal depends on the number of users. But generally the impact of SSL isn't really high with recent hardware, the portal will be more occupied with the number of users, navigation, etc than with SSL
    4) You can use logon groups to assign a specific user (group) to a dedicated server
    br,
    Tobias

Maybe you are looking for