Apache connector

Does anyone know where I can get the gxapache connector DLL for win32?
This is getting kind of urgent as we really need to switch from the
(dangerous) IIS4 as the web server.
I find information on it in release notes, but I can't find the actual file
anyway.
PS I am using NAS4.0 at present, but I think the connector is pretty much
unchanged since then.

There is no Apache connector for NAS4. Apache is a new connector with sp3.
(I'd recommend iWS anyway.)
David
Michael Neale wrote:
Does anyone know where I can get the gxapache connector DLL for win32?
This is getting kind of urgent as we really need to switch from the
(dangerous) IIS4 as the web server.
I find information on it in release notes, but I can't find the actual file
anyway.
PS I am using NAS4.0 at present, but I think the connector is pretty much
unchanged since then.

Similar Messages

  • BEA Apache connector bug

    I'd like to open a bug regarding the Apache connector. We first ran into it back in 7.0 and I just confirmed today it still exists in 8.1 (at least Apache 2.0/win32).
    The bug is that the connector only forwards bodies for a subset of HTTP methods, so Webdav, for instance, is unusable via the connector.
    For instance, the ACL method, RFC 3744, when sent to apache looks similar to
    --- snip --
    ACL /dav/testuser/foo2 HTTP/1.1
    Host: localhost:80
    Depth: Infinity
    Content-Length: 690
    Content-type: text/xml; charset="utf-8"
    Connection: close
    <?xml version="1.0" encoding="utf-8" ?>
    <D:acl xmlns:D="DAV:">
    <D:ace>
    <D:principal>
    <D:href>xxx</D:href>
    </D:principal>
    <D:grant>
    <D:privilege> <D:read/> </D:privilege>
    </D:grant>
    </D:ace>
    </D:acl>
    but the BEA connector forwards this to BEA as:
    -- snip---
    ACL /dav/testuser/foo2 HTTP/1.1
    Host: localhost:80
    Depth: Infinity
    Content-Length: 690
    Content-type: text/xml; charset="utf-8"
    Connection: Keep-Alive
    WL-Proxy-SSL: false
    WL-PATH-TRIM: /
    WL-Proxy-Client-IP: 127.0.0.1
    Proxy-Client-IP: 127.0.0.1
    X-Forwarded-For: 127.0.0.1
    X-WebLogic-Force-JVMID: unset
    ... which of course times out since the body is not sent but CL is (correctly) specified.
    We have to ship our product with a separate apache module which changes all methods to a POST, then stuffs the real method in a header. Then in our special servlet that we ship just for BEA, we extract the real method from the header and use it instead of the POST in the ServletRequest.
    Can someone with karma at BEA file this bug? Other methods with bodies that I suspect will probably fail include OPTIONS, PROPPATCH, & PROPFIND. I also verified that arbitrary (ie non-RFC'd) http methods will fail to transmit a body as well.
    Our last customer who used our application with BEA was supposed to open a bug about this via standard support means but I don't have any record of it ever being done.
    Thanks,
    Keith

    Hi. Please send me an email address and I'll do what I can.
    j
    o
    e
    b
    e
    a
    c
    o
    m
    Keith Wannamaker wrote:
    I'd like to open a bug regarding the Apache connector. We first ran into it back in 7.0 and I just confirmed today it still exists in 8.1 (at least Apache 2.0/win32).
    The bug is that the connector only forwards bodies for a subset of HTTP methods, so Webdav, for instance, is unusable via the connector.
    For instance, the ACL method, RFC 3744, when sent to apache looks similar to
    --- snip --
    ACL /dav/testuser/foo2 HTTP/1.1
    Host: localhost:80
    Depth: Infinity
    Content-Length: 690
    Content-type: text/xml; charset="utf-8"
    Connection: close
    <?xml version="1.0" encoding="utf-8" ?>
    <D:acl xmlns:D="DAV:">
    <D:ace>
    <D:principal>
    <D:href>xxx</D:href>
    </D:principal>
    <D:grant>
    <D:privilege> <D:read/> </D:privilege>
    </D:grant>
    </D:ace>
    </D:acl>
    but the BEA connector forwards this to BEA as:
    -- snip---
    ACL /dav/testuser/foo2 HTTP/1.1
    Host: localhost:80
    Depth: Infinity
    Content-Length: 690
    Content-type: text/xml; charset="utf-8"
    Connection: Keep-Alive
    WL-Proxy-SSL: false
    WL-PATH-TRIM: /
    WL-Proxy-Client-IP: 127.0.0.1
    Proxy-Client-IP: 127.0.0.1
    X-Forwarded-For: 127.0.0.1
    X-WebLogic-Force-JVMID: unset
    ... which of course times out since the body is not sent but CL is (correctly) specified.
    We have to ship our product with a separate apache module which changes all methods to a POST, then stuffs the real method in a header. Then in our special servlet that we ship just for BEA, we extract the real method from the header and use it instead of the POST in the ServletRequest.
    Can someone with karma at BEA file this bug? Other methods with bodies that I suspect will probably fail include OPTIONS, PROPPATCH, & PROPFIND. I also verified that arbitrary (ie non-RFC'd) http methods will fail to transmit a body as well.
    Our last customer who used our application with BEA was supposed to open a bug about this via standard support means but I don't have any record of it ever being done.
    Thanks,
    Keith

  • CF10 64bit  Apache connector (mod_jk.so) does not work for Apache2.4.3 (windows)

    CF10 64bit  Apache connector (mod_jk.so) does not work for Apache2.4.3 (win64), where can I get a module that works?
    I get this error from Apache :
    C:\www\Apache2.4\bin>httpd -t
    httpd: Syntax error on line 741 of C:/www/Apache2.4/conf/httpd.conf: Syntax error on line 2 of C:/www/Apache2.4/conf/mod_jk.conf: Cannot load C:\\ColdFusion10\\config\\wsconfig\\1\\mod_jk.so into server: The specified procedure could not be found.
    I have already tried manually extracting the pre-built mod_jk22.so from the wsconfig.jar with same results.
    If I switch to Apache 2.2.22 64bit, it does work.  what I need is to be able to run on Apache 2.4.

    Please check out this link.
    http://rob.brooks-bilson.com/index.cfm/2012/2/21/Installing-ColdFusion-10-with-Apache-on-W indows
    In this link, they are configuring with Apache 2.2 only.
    When we were working colfusion 9 with Linux and apache, we had the same problem, it will work when it connect to Apache 2.0 but not with Apache 2.2 version.

  • JRUN Apache connector not timing out despite setting recvTimeout

    Hi,
           I have set a recvTimeout for the JRUN apache connector using the
        [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]     ap_escape_uri(TimeoutTest.cfm) = TimeoutTest.cfm
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]  jrun_trans: sub-request so DECLINED
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]     getRealPath(TimeoutTest.cfm) = TimeoutTest.cfm
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]  sent/avail/result 79/79/79
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  PROXY_GET_HEADER <- [11]
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  read/len/total 21/21/21
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]     HTTP_X_REQUESTED_WITH: <null>
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  sent/avail/result 4/4/4
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 jrConnect [9]
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  sent/avail/result 4/4/4
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 is reachable
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  sent/avail/result 4/4/4
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 is reachable
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 returned socket [9] to pool
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  jrRecv [11] timeout but server reachable so recv again
    [Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    [Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480]  PROXY_GET_REALPATH <- [11]
    [Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    What does this error mean: jrRecv [11] timeout but server reachable so recv again
    Is the jrun apache connector retrying or waiting some more for the page response ? I dont want it to retry / wait beyond the recvTimeout that I have set. What can I do in the config or elsewhere so that the recvTimeout returns as a timeout to apache and cleint without recv again attempt that it appears to be doing?
    Thanks in advance for any help on this.
    JRunConfig RecvTimeout 300
            I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
    However, I see that the timeout is not working and long running cfm pages continue to cycle without returning. Upon enabling the verbose option I see the following error logged for the long running page after the timeout occurs, but the page does not return anything and continues to wait on the client side.

    sunilr1 wrote:
    Hi,
           I have set a recvTimeout for the JRUN apache connector using the
    JRunConfig RecvTimeout 300
            I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
    That is not the setting to time out long-running pages and then return a message. Why would you want to control request timeouts from JRun anyway? I don't think it's a good idea.
    RecvTimeout determines how long to wait before timing out a socket receive call on a JRun server. The receive call is generally a synchronous call on a socket on a JRun server. It will throw an exception if the time out period is exceeded. In other words,  a long-running page does not necessarily imply a long wait on a socket receive call.

  • Can't configure Apache connector

    I've tried this on Fedora Core 9 with no success and now I'm
    trying it on FC8 with the same error. After installing CF and
    configuring it to work with Apache, I go to start it and I get
    quote:
    [root@ns1 ~]# /opt/coldfusion8/bin/coldfusion start
    Starting ColdFusion 8...
    The ColdFusion 8 server is starting up and will be available
    shortly.
    ======================================================================
    Running the ColdFusion 8 connector wizard
    ======================================================================
    Configuring the web server connector (Launched on the first
    run of the ColdFusion 8 start script)
    Running apache connector wizard...
    =======================================
    There was an error while running the connector wizard
    Connector installation was not successful
    =======================================
    ======================================================================
    ColdFusion 8 has been started.
    ColdFusion 8 will write logs to
    /opt/coldfusion8/logs/cfserver.log
    ======================================================================
    I changed the paths in the 'apache-connector.sh' file, but I
    still can't get it to work. Any ideas?

    Ok, this is from this morning when trying:
    07/25 09:05:39 info Macromedia JRun 4.0 (Build 108487)
    07/25 09:05:40 debug Found JRun server coldfusion at
    127.0.0.1:2930
    07/25 09:05:40 debug Deleted directory
    /opt/coldfusion8/runtime/lib/wsconfig/1/.libs
    07/25 09:05:40 debug Deleted directory
    /opt/coldfusion8/runtime/lib/wsconfig/1
    07/25 09:05:40 info Fedora release 9 (Sulphur)
    07/25 09:05:40 debug Using Apache binary /usr/sbin/httpd
    07/25 09:05:40 info Server's Module Magic Number:
    20051115:11. Supported major magic numbers on this platform are
    20020628 and 20020903.
    07/25 09:05:40 info Attempting to build connector from
    sources
    07/25 09:05:40 info Server version: Apache/2.2.8 (Unix)
    07/25 09:05:40 debug Using Apache control script
    /usr/sbin/httpd
    07/25 09:05:40 debug Parsing Apache configuration file
    /etc/httpd/conf/httpd.conf
    07/25 09:05:40 debug Exec'ing chmod 777
    /opt/coldfusion8/runtime/lib/wsconfig/1
    07/25 09:05:40 debug Set permission to 777 on
    /opt/coldfusion8/runtime/lib/wsconfig/1
    07/25 09:05:40 debug Exec'ing chmod +x
    /opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22
    07/25 09:05:40 debug Set permission to execute on
    /opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22
    07/25 09:05:40 debug Exec'ing
    /opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22
    07/25 09:05:41 error Error running
    "/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22": exit code
    was 1
    07/25 09:05:41 error Could not build Apache2 web server
    connector from source. Use build script /opt/coldfusion8/
    runtime/lib/wsconfig/1/build_jrun22.
    jrunx.connectorinstaller.ConnectorInstallerException: Could
    not build Apache2 web server connector from source. U
    se build script
    /opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22.
    at
    jrunx.connectorinstaller.ApacheInstaller.buildModuleFromSource(ApacheInstaller.java:1234)
    at
    jrunx.connectorinstaller.ApacheInstaller.copyFiles(ApacheInstaller.java:1126)
    at
    jrunx.connectorinstaller.ApacheInstaller.installConnector(ApacheInstaller.java:223)
    at
    jrunx.connectorinstaller.ConnectorInstaller.installConnector(ConnectorInstaller.java:337)
    at
    jrunx.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstaller.java:271)
    at
    jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:759)

  • Coldfusion 8 /Apache Connector Bug??????

    I have wasted almost 3 weeks now on this problem. It will
    cost us $500 to get a answer if this is a bug on Coldfusion 8.
    Almost ready to jump this ship and go to the Open source camp!
    Install went fine.
    Running Red Hat 4AES
    Apache 2.0
    ColdFusion 8
    I rebuilt the connector about 10 times now....using
    the following document
    http://kb.adobe.com/selfservice/viewContent.do?externalId=121a0b29&sliceId=2
    when I try to start Coldfusion I get the following error....
    The ColdFusion 8 server is starting up and will be available
    shortly.
    ======================================================================
    Running the ColdFusion 8 connector wizard
    ======================================================================
    Configuring the web server connector (Launched on the first
    run of the ColdFusion 8 start script)
    Running apache connector wizard...
    =======================================
    There was an error while running the connector wizard
    Connector installation was not successful
    =======================================
    ======================================================================
    ColdFusion 8 has been started.
    ColdFusion 8 will write logs to
    /usr/coldfusion8/logs/cfserver.log

    Could use similar assistance with our CF8 Standard upgrade.
    I have spent a week trying to upgrade our dedicated server
    from CFMX7 to CF8 with no success. I submitted an Adobe support
    request ticket (Case #0180044098) about five days ago, but am still
    waiting for them to help me resolve the problem. Thought I would
    post this in case someone can offer assistance while I am waiting
    for the Adobe school solution.
    Our server configuration is as follows:
    -- LINUX version: REDHAT Enterprise 4 i686 on standard - WHM
    X v3.1.0
    -- Apache version: 2.0.63
    -- MySQL version: 5.0.45-community
    -- PHP version: 5.2.5
    -- WebHost Manager: version 11.15.0
    -- cPanel Version: 11.18.1-RELEASE, cPanel Build: 20683
    Here is what I have done most recently:
    (1) Uninstalled CF8 (for about the fourth time).
    (2) Deleted /opt/coldfusionmx7 and /opt/coldfusion8
    directories.
    (3) Restarted Apache, ensured the httpd-devel version of
    Apache was installed.
    (4) Reinstalled CF8 (for about the 5th time); it is running
    and appears to have installed successfully (except for Apache
    connectors).
    (5) Modified
    /opt/coldfusion8/bin/connectors/apache_connector.sh as follows:
    ../../runtime/bin/wsconfig \
    -server coldfusion \
    -ws apache \
    -dir /etc/httpd/conf \
    -bin /usr/local/apache/bin/httpd \
    -script /usr/local/apache/bin/apachectl \
    -coldfusion
    (6) Ran ./wsconfig -uninstall to remove old/incorrect
    connectors.
    (7) Ran ./wsconfig per the information below which indicated
    that JRun Apache connector install was successful.
    Here are the results of running the ./wsconfig ...
    [root@_______ bin]# ./wsconfig -uninstall
    [Wed Mar 05 01:15:06 2008] [warn] NameVirtualHost *:80 has no
    VirtualHosts
    Restarted Apache server
    The Apache connector was removed from /etc/httpd/conf
    [root@_______ bin]# ./wsconfig -server coldfusion -ws Apache
    -dir /etc/httpd/conf -bin /usr/local/apache/bin/httpd -script
    /usr/local/apache/bin/apachectl -coldfusion -v
    Found JRun server coldfusion at 127.0.0.1:2930
    Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
    Using Apache binary /usr/local/apache/bin/httpd
    Using resource gcc3/mod_jrun20.so.20020903
    Server version: Apache/2.0.63
    Using Apache control script /usr/local/apache/bin/apachectl
    Parsing Apache configuration file /etc/httpd/conf/httpd.conf
    Exec'ing chmod 777 /opt/coldfusion8/runtime/lib/wsconfig/1
    Set permission to 777 on
    /opt/coldfusion8/runtime/lib/wsconfig/1
    Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
    Using resource gcc3/mod_jrun20.so.20020903
    Server version: Apache/2.0.63
    Exec'ing chmod +x
    /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so
    Set permission to execute on
    /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so
    Created file
    /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so
    Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
    Using resource gcc3/mod_jrun20.so.20020903
    Server version: Apache/2.0.63
    Red Hat Enterprise Linux ES release 4 (Nahant Update 6)
    Using resource gcc3/mod_jrun20.so.20020903
    Server version: Apache/2.0.63
    Wrote file /etc/httpd/conf/httpd.conf
    Added JRun configuration to Apache configuration file
    /etc/httpd/conf/httpd.conf
    Created file
    /opt/coldfusion8/runtime/lib/wsconfig/1/README.txt
    Wrote file
    /opt/coldfusion8/runtime/lib/wsconfig/wsconfig.properties
    Exec'ing /usr/local/apache/bin/apachectl restart
    [Wed Mar 05 01:21:18 2008] [warn] NameVirtualHost *:80 has no
    VirtualHosts
    Restarted Apache server
    The Apache connector was installed to /etc/httpd/conf
    [root@_______ bin]#
    Although everything appears to have installed correctly, our
    server and website will still not recognize or process .cfm files.
    So I am still unable to even access CF8 Administrator and our site
    will not process Coldfusion files, just asks me, "Do you want to
    save this file, or find a program online to open it?"
    Never had any problems with CFMX7 install or operation, so
    this is most disconcerting.
    I am not a happy camper.
    Any suggestions while I am waiting for my Adobe customer
    support ticket to be answered will be most appreciated.
    Thanks.

  • Coldfusion Jrun apache connector recvTimeout and retry.

    Hi,
           I have set a recvTimeout for the JRUN apache connector using the
      JRunConfig RecvTimeout 300
            I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
    However, I see that the timeout is not working and long running cfm pages continue to cycle without returning. Upon enabling the verbose option I see the following error logged for the long running page after the timeout occurs, but the page does not return anything and continues to wait on the client side.
    What does this error mean: jrRecv [11] timeout but server reachable so recv again
    Is the jrun apache connector retrying or waiting some more for the page response ? I dont want it to retry / wait beyond the recvTimeout that I have set. What can I do in the config or elsewhere so that the recvTimeout returns as a timeout to apache and cleint without recv again attempt that it appears to be doing?
    Thanks in advance for any help on this.
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]     ap_escape_uri(TimeoutTest.cfm) = TimeoutTest.cfm
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]  jrun_trans: sub-request so DECLINED
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]     getRealPath(TimeoutTest.cfm) = TimeoutTest.cfm
    [Thu Dec 15 15:29:48 2011] [notice] jrApache[3068: 20480]  sent/avail/result 79/79/79
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  PROXY_GET_HEADER <- [11]
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  read/len/total 21/21/21
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]     HTTP_X_REQUESTED_WITH: <null>
    [Thu Dec 15 15:29:53 2011] [notice] jrApache[3068: 20480]  sent/avail/result 4/4/4
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 jrConnect [9]
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  sent/avail/result 4/4/4
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 is reachable
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  sent/avail/result 4/4/4
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 is reachable
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  67.206.10.197:51050 returned socket [9] to pool
    [Thu Dec 15 15:34:53 2011] [notice] jrApache[3068: 20480]  jrRecv [11] timeout but server reachable so recv again
    [Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4
    [Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480]  PROXY_GET_REALPATH <- [11]
    [Thu Dec 15 15:36:33 2011] [notice] jrApache[3068: 20480]  read/len/total 4/4/4

    sunilr1 wrote:
    Hi,
           I have set a recvTimeout for the JRUN apache connector using the
    JRunConfig RecvTimeout 300
            I want this setting so long running pages will time out and return after 300 s with a timeout error and return the error back to the client.
    That is not the setting to time out long-running pages and then return a message. Why would you want to control request timeouts from JRun anyway? I don't think it's a good idea.
    RecvTimeout determines how long to wait before timing out a socket receive call on a JRun server. The receive call is generally a synchronous call on a socket on a JRun server. It will throw an exception if the time out period is exceeded. In other words,  a long-running page does not necessarily imply a long wait on a socket receive call.

  • Apache connector HELP !

    Does anyone know where I can get the gxapache connector DLL for win32?
    This is getting kind of urgent as we really need to switch from the
    (dangerous) IIS4 as the web server.
    I find information on it in release notes, but I can't find the actual file
    anyway.
    PS I am using NAS4.0 at present, but I think the connector is pretty much
    unchanged since then.

    There is no apache plugin for NAS4
    Michael Neale wrote:
    >
    Does anyone know where I can get the gxapache connector DLL for win32?
    This is getting kind of urgent as we really need to switch from the
    (dangerous) IIS4 as the web server.
    I find information on it in release notes, but I can't find the actual file
    anyway.
    PS I am using NAS4.0 at present, but I think the connector is pretty much
    unchanged since then.--
    Senior Consultant / Instructor
    iPlanet PS - ANZ
    iPlanet e-commerce Solutions
    - A Sun|Netscape Alliance
    Sun Microsystems Australia Pty Ltd

  • WebLogic 9.2 with Apache Connector Config

    Hi I am new to this forum, WebLogic, and all Oracle products for that matter. I am a college intern and I have been asked to learn how to use WebLogic 9.2. I was told that they want it to be connected to apache with the mod_wl_22.so shared module for Apache. I have placed the module in the directory and added the LoadModule line to the httpd.conf file and the module loads fine. From reading through the WebLogic documentation I now know that I need to create a <Location> block in httpd.conf for the connector. I also know that the arguments that you need to use are WebLogicHost and WebLogicPort. So in my httpd.conf I have added the following.
    <Location /weblogic>
    WebLogicHost 10.15.107.90/weblogic
    WebLogicPort 7001
    </Location>
    I also tried.....
    <Location /weblogic>
    WebLogicHost /weblogic
    WebLogicPort 7001
    </Location>
    and.....
    <Location /weblogic>
    WebLogicHost 10.15.107.90
    WebLogicPort 7001
    </Location>
    All with no luck. When I browse to http://10.15.107.90/weblogic I get nothing. Can anybody help me out here?
    Thanks
    Scott

    Hi,
    This is a template for 'httpd.conf'. Please make it sure that you are following this:
    ===
    # Based upon the NCSA server configuration files originally by Rob McCool.
    # This is the main Apache server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs-2.0/> for detailed information about
    # the directives.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # The configuration directives are grouped into three basic sections:
    # 1. Directives that control the operation of the Apache server process as a
    # whole (the 'global environment').
    # 2. Directives that define the parameters of the 'main' or 'default' server,
    # which responds to requests that aren't handled by a virtual host.
    # These directives also provide default values for the settings
    # of all virtual hosts.
    # 3. Settings for virtual hosts, which allow Web requests to be sent to
    # different IP addresses or hostnames and have them handled by the
    # same Apache server process.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do not begin
    # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
    # with ServerRoot set to "C:/Program Files/Apache Group/Apache2" will be interpreted by the
    # server as "C:/Program Files/Apache Group/Apache2/logs/foo.log".
    # NOTE: Where filenames are specified, you must use forward slashes
    # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
    # If a drive letter is omitted, the drive on which Apache.exe is located
    # will be used by default. It is recommended that you always supply
    # an explicit drive letter in absolute paths, however, to avoid
    # confusion.
    ### Section 1: Global Environment
    # The directives in this section affect the overall operation of Apache,
    # such as the number of concurrent requests it can handle or where it
    # can find its configuration files.
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # NOTE! If you intend to place this on an NFS (or otherwise network)
    # mounted filesystem then please read the LockFile documentation (available
    # at <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
    # you will save yourself a lot of trouble.
    # Do NOT add a slash at the end of the directory path.
    ServerRoot "C:/Program Files/Apache Group/Apache2"
    # ScoreBoardFile: File used to store internal server process information.
    # If unspecified (the default), the scoreboard will be stored in an
    # anonymous shared memory segment, and will be unavailable to third-party
    # applications.
    # If specified, ensure that no two invocations of Apache share the same
    # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
    #ScoreBoardFile logs/apache_runtime_status
    # PidFile: The file in which the server should record its process
    # identification number when it starts.
    PidFile logs/httpd.pid
    # Timeout: The number of seconds before receives and sends time out.
    Timeout 300
    # KeepAlive: Whether or not to allow persistent connections (more than
    # one request per connection). Set to "Off" to deactivate.
    KeepAlive On
    # MaxKeepAliveRequests: The maximum number of requests to allow
    # during a persistent connection. Set to 0 to allow an unlimited amount.
    # We recommend you leave this number high, for maximum performance.
    MaxKeepAliveRequests 100
    # KeepAliveTimeout: Number of seconds to wait for the next request from the
    # same client on the same connection.
    KeepAliveTimeout 15
    ## Server-Pool Size Regulation (MPM specific)
    # WinNT MPM
    # ThreadsPerChild: constant number of worker threads in the server process
    # MaxRequestsPerChild: maximum number of requests a server process serves
    <IfModule mpm_winnt.c>
    ThreadsPerChild 250
    MaxRequestsPerChild 0
    </IfModule>
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
    #Listen 12.34.56.78:80
    Listen 80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available before they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule access_module modules/mod_access.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule auth_module modules/mod_auth.so
    #LoadModule auth_anon_module modules/mod_auth_anon.so
    #LoadModule auth_dbm_module modules/mod_auth_dbm.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule autoindex_module modules/mod_autoindex.so
    #LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule cgi_module modules/mod_cgi.so
    #LoadModule dav_module modules/mod_dav.so
    #LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule dir_module modules/mod_dir.so
    LoadModule env_module modules/mod_env.so
    #LoadModule expires_module modules/mod_expires.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #LoadModule headers_module modules/mod_headers.so
    LoadModule imap_module modules/mod_imap.so
    LoadModule include_module modules/mod_include.so
    #LoadModule info_module modules/mod_info.so
    LoadModule isapi_module modules/mod_isapi.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule mime_magic_module modules/mod_mime_magic.so
    #LoadModule proxy_module modules/mod_proxy.so
    #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    #LoadModule proxy_http_module modules/mod_proxy_http.so
    #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule negotiation_module modules/mod_negotiation.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule setenvif_module modules/mod_setenvif.so
    #LoadModule speling_module modules/mod_speling.so
    #LoadModule status_module modules/mod_status.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule userdir_module modules/mod_userdir.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    #LoadModule ssl_module modules/mod_ssl.so
    LoadModule weblogic_module modules/mod_wl_20.so
    # ExtendedStatus controls whether Apache will generate "full" status
    # information (ExtendedStatus On) or just basic information (ExtendedStatus
    # Off) when the "server-status" handler is called. The default is Off.
    #ExtendedStatus On
    ### Section 2: 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If this is not set to valid DNS name for your host, server-generated
    # redirections will not work. See also the UseCanonicalName directive.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    # You will have to access it by its address anyway, and this will make
    # redirections work in a sensible way.
    ServerName beatest.kpit.com:80
    # UseCanonicalName: Determines how Apache constructs self-referencing
    # URLs and the SERVER_NAME and SERVER_PORT variables.
    # When set "Off", Apache will use the Hostname and Port supplied
    # by the client. When set "On", Apache will use the value of the
    # ServerName directive.
    UseCanonicalName Off
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "C:/Program Files/Apache Group/Apache2/htdocs">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named explicitly --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs-2.0/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # UserDir: The name of the directory that is appended onto a user's home
    # directory if a ~user request is received. Be especially careful to use
    # proper, forward slashes here. On Windows NT, "Personal/My Website"
    # is a more appropriate choice.
    UserDir "My Documents/My Website"
    # Control access to UserDir directories. The following is an example
    # for a site where these directories are restricted to read-only.
    # You must correct the path for the root to match your system's configured
    # user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My Website"
    # or whichever, as appropriate.
    #<Directory "C:/Documents and Settings/*/My Documents/My Website">
    # AllowOverride FileInfo AuthConfig Limit
    # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    # <Limit GET POST OPTIONS PROPFIND>
    # Order allow,deny
    # Allow from all
    # </Limit>
    # <LimitExcept GET POST OPTIONS PROPFIND>
    # Order deny,allow
    # Deny from all
    # </LimitExcept>
    #</Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    # The index.html.var file (a type-map) is used to deliver content-
    # negotiated documents. The MultiViews Option can be used for the
    # same purpose, but it is much slower.
    DirectoryIndex index.html index.html.var
    # AccessFileName: The name of the file to look for in each directory
    # for additional configuration directives. See also the AllowOverride
    # directive.
    AccessFileName .htaccess
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    </FilesMatch>
    # TypesConfig describes where the mime.types file (or equivalent) is
    # to be found.
    TypesConfig conf/mime.types
    # DefaultType is the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    <IfModule mod_mime_magic.c>
    MIMEMagicFile conf/magic
    </IfModule>
    <IfModule mod_weblogic.c>
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7004
    WLLogFile C:/proxylog/wl-proxy.log
    WLTempDir C:/temp/wl-proxy.log
    MatchExpression /*
    </IfModule>
    <Location />
    SetHandler weblogic-handler
    WebLogicCluster 127.0.0.1:7003,127.0.0.1:7005
    Debug ALL
    WLLogFile C:/proxylog/wl-proxy.log
    WLTempDir C:/temp/wl-proxy.log
    DebugConfigInfo On
    PathTrim /
    DynamicServerList OFF
    </Location>
    # HostnameLookups: Log the names of clients or just their IP addresses
    # e.g., www.apache.org (on) or 204.62.129.132 (off).
    # The default is off because it'd be overall better for the net if people
    # had to knowingly turn this feature on, since enabling it means that
    # each client request will result in AT LEAST one lookup request to the
    # nameserver.
    HostnameLookups Off
    # EnableMMAP: Control whether memory-mapping is used to deliver
    # files (assuming that the underlying OS supports it).
    # The default is on; turn this off if you serve from NFS-mounted
    # filesystems. On some systems, turning it off (regardless of
    # filesystem) can improve performance; for details, please see
    # http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap
    #EnableMMAP off
    # EnableSendfile: Control whether the sendfile kernel support is
    # used to deliver files (assuming that the OS supports it).
    # The default is on; turn this off if you serve from NFS-mounted
    # filesystems. Please see
    # http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
    #EnableSendfile off
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you do define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog logs/error.log
    # LogLevel: Control the number of messages logged to the error.log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    LogFormat "%{Referer}i -> %U" referer
    LogFormat "%{User-agent}i" agent
    # You need to enable mod_logio.c to use %I and %O
    #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio

  • WebLogic 10.3.5 with Apache Connector Config

    Hi,
    I have multiple apache/OHS running on the same HP-UX machine and am running into following issue in deploying SOA Processes on the second server.
    deploy/sca_AIAErrorTaskAdministrationProcess_rev1.0.jar
    [deployComposite] INFO: Creating HTTPS connection to host:soaa.eprod.com, port:443
    [deployComposite] INFO: Received HTTP response from the server, response code=500
    [deployComposite] SEVERE: Invalid logging line: <HTML>
    [deployComposite] SEVERE: Invalid logging line: <HEAD>
    [deployComposite] SEVERE: Invalid logging line: <TITLE>Weblogic Bridge Message
    [deployComposite] SEVERE: Invalid logging line: </TITLE>
    [deployComposite] SEVERE: Invalid logging line: </HEAD>
    [deployComposite] SEVERE: Invalid logging line: <BODY>
    [deployComposite] SEVERE: Invalid logging line: <H2>Failure of server APACHE bridge:</H2><P>
    [deployComposite] SEVERE: Invalid logging line: <hr>Cannot open TEMP post file '/tmp/_wl_proxy/_post_17020_6' for POST of 72775 bytes
    [deployComposite] SEVERE: Invalid logging line: <hr> </BODY>
    [deployComposite] SEVERE: Invalid logging line: </HTML>
    [deployComposite] SEVERE: Invalid logging line: <HTML>
    [deployComposite] SEVERE: Invalid logging line: <HEAD>
    [deployComposite] SEVERE: Invalid logging line: <TITLE>Weblogic Bridge Message
    [deployComposite] SEVERE: Invalid logging line: </TITLE>
    [deployComposite] SEVERE: Invalid logging line: </HEAD>
    [deployComposite] SEVERE: Invalid logging line: <BODY>
    [deployComposite] SEVERE: Invalid logging line: <H2>Failure of server APACHE bridge:</H2><P>
    [deployComposite] SEVERE: Invalid logging line: <hr><PRE>Internal Server failure, APACHE plugin. Cannot continue.</PRE>
    [deployComposite] SEVERE: Invalid logging line: <hr> </BODY>
    [deployComposite] SEVERE: Invalid logging line: </HTML>
    [deployComposite] ---->response code=500, error:nullI read on this post "http://www.techpaste.com/2012/04/open-temp-post-file-tmp_wl_proxy_post_21626_12548-apache/" to define the WLTempDir directive on each Apache / OHS installation to point to different directories so they do not conflict.
    As it's a clustered environment so wanted to find out where should I put the below properties
    WLLogFile
    WLTempDir
    I have configuration file in which the virtual host and other URLs are configured and then have included this file in httpd.conf. Want to find out where to enter the above 2 values in the below snippet
    <VirtualHost *:8888>
            ServerName ebs.uat.com
            RewriteEngine On
            RewriteOptions inherit
      <IfModule ossl_module>
       AddCertHeader HTTPS
       SimulateHttps On
      </IfModule>
            <Location /weblogic>
                    SetHandler weblogic-handler
                    WebLogicHost ebscon.uat.com
        # Admin Server's port
                    WeblogicPort 7007
            </Location>    
            <Location /console>
                    SetHandler weblogic-handler
                    WebLogicHost ebscon.uat.com
                    WeblogicPort 7007
            </Location>
            <Location /consolehelp>
                    SetHandler weblogic-handler
                    WebLogicHost ebscon.uat.com
                    WeblogicPort 7007
            </Location>
            <Location /em>
                    SetHandler weblogic-handler
                    WebLogicHost ebscon.uat.com
                    WeblogicPort 7007
            </Location>
            <Location /wsm-pm>
                    SetHandler weblogic-handler
                    WebLogicCluster ebscon1.uat.com:7017,ebscon2.uat.com:7017
            </Location>
      # SOA Suite
            <Location /soa-infra>
                    SetHandler weblogic-handler
                    WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
            </Location>
            <Location /integration/>
                    SetHandler weblogic-handler
                    WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
            </Location>
            <Location /b2bconsole>
                    SetHandler weblogic-handler
                    WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
            </Location>
            <Location /soa/composer>
                    SetHandler weblogic-handler
                    WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
            </Location>
      # BAM
      <Location /OracleBAM>
                    SetHandler weblogic-handler
        # WebLogicCluster PREFIXbam-web1.eprod.com:WLS_BAM1 port,host 2 from environment table:WLS_BAM2 port
                    WebLogicCluster ebscon1.uat.com:9007,ebscon2.uat.com:9007
            </Location>
      # BPM
      <Location /bpm/composer>
          SetHandler weblogic-handler
          WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
      </Location>
      <Location /bpm/workspace>
          SetHandler weblogic-handler
          WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
      </Location>
      # OSB
      <Location /sbinspection.wsil*>
       SetHandler weblogic-handler
       WebLogicCluster ebscon1.uat.com:4017,ebscon2.uat.com:4017
      </Location>
      <Location /sbresource*>
       SetHandler weblogic-handler
       WebLogicCluster ebscon1.uat.com:4017,ebscon2.uat.com:4017
      </Location>
      <Location /sbconsole>
       SetHandler weblogic-handler
       WebLogicHost ebscon.uat.com
                     WeblogicPort 7007
      </Location> 
      # AIA
      <Location /AIA>
        SetHandler weblogic-handler
        WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
      </Location>
    </VirtualHost>Do I need to enter WLTempDir and WLLogFile values under each <Location tag i.e.
    <Location /AIA>
        SetHandler weblogic-handler
        WebLogicCluster ebscon1.uat.com:8007,ebscon2.uat.com:8007
        WLLogFile /tmp/server1
        WLTempDir /tmp/server1
      </Location>Any help is appreciated.
    Thanks

    If you want to have only one log file for all the virtual hosts configured in your environment, you can achieve it using global properties. Instead of specifying the same Debug, WLLogFile and WLTempDir properties in each virtual host you can specify them just once in the <IfModule> tag
    Sample httpd.conf file:
    <IfModule mod_weblogic.c>
    WebLogicCluster johndoe02:8005,johndoe:8006
    Debug           ON
    WLLogFile c:/tmp/global_proxy.log
    WLTempDir "c:/myTemp"
    DebugConfigInfo On
    KeepAliveEnabled ON
    KeepAliveSecs 15
    </IfModule>
    Please refer to the below link for more information:-
    http://docs.oracle.com/cd/E15051_01/wls/docs103/plugins/apache.html
    -Sandeep

  • Apache 2.2.2 Jrun 4 WinXP --- Apache connector problem.

    I configured External Web Server using Web Server
    Configuration tool. I have cross-checked all the artifacts like
    httpd.conf, etc. Everything looks fine. I started JRun and Apache
    multiple times. "C:/JRun4/lib/wsconfig/1/mod_jrun20.so" is present.
    I cannot get rid of following error.
    Apache Server Start Console
    Log.-------------------------------------
    C:\Program Files\Apache Software
    Foundation\Apache2.2\bin>httpd.exe -w -n Apache2.2 -k start
    httpd.exe: Syntax error on line 486 of C:/Program
    Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot
    load C:/JRun4/lib/wsconfig/1/mod_jrun20.so into server: The
    specified procedure could not be found.
    httpd.conf lines ---------------------------------
    # JRun Settings
    LoadModule jrun_module
    "C:/JRun4/lib/wsconfig/1/mod_jrun20.so"
    <IfModule mod_jrun20.c>
    JRunConfig Verbose true
    JRunConfig Apialloc false
    JRunConfig Ssl false
    JRunConfig Ignoresuffixmap false
    JRunConfig Serverstore
    "C:/JRun4/lib/wsconfig/1/jrunserver.store"
    JRunConfig Bootstrap 127.0.0.1:51000
    #JRunConfig Errorurl <optionally redirect to this URL on
    errors>
    AddHandler jrun-handler .jsp .jws
    </IfModule>
    BTW , Which procedure it is trying to find?
    Can somebody help me.
    Thanks in advance.
    Suyog

    And what happens on Apache 1.3?
    Thanks in advance,
    Lopato

  • Weblogic - apache connector

              I am configuring Apache 2.0 - Weblogic server 8.1 on Linux. In this setup, Apache
              is the Web Server and Weblogic is the App Server. We are using the library "mod_wl_20.so"
              to connect Apache and Weblogic.
              Weblogic default port : 7001 Apache default port : 80
              After configuring this setup, the request are getting correctly routed through
              the apache server port. i.e. the URL http://localhost:80/gepam/jsp/test.jsp gets
              the proper request from weblogic.
              But at the sane time , we are also able to hit the site using the weblogic server
              port i.e. http://localhost:7001/gepam/jsp/test.jsp . We want to disable this weblogic
              web server port.
              Any clue on how to go about. Your valuable suggestion is highly appreciated.
              

              I am configuring Apache 2.0 - Weblogic server 8.1 on Linux. In this setup, Apache
              is the Web Server and Weblogic is the App Server. We are using the library "mod_wl_20.so"
              to connect Apache and Weblogic.
              Weblogic default port : 7001 Apache default port : 80
              After configuring this setup, the request are getting correctly routed through
              the apache server port. i.e. the URL http://localhost:80/gepam/jsp/test.jsp gets
              the proper request from weblogic.
              But at the sane time , we are also able to hit the site using the weblogic server
              port i.e. http://localhost:7001/gepam/jsp/test.jsp . We want to disable this weblogic
              web server port.
              Any clue on how to go about. Your valuable suggestion is highly appreciated.
              

  • Apache 2 + Sun Java 8.1 load balancer connector dies under load

    Hi,
    We are testing the apache module "mod_loadbalancer.so" for connecting an apache 2 to a Sun Java 8.1 App Servers running on a different box.
    When we perform a basic load testing (60 concurrent users) we are experiencing a very high CPU usage: apache's CPU consumption is around 30-40%per child.
    This generates or very slow responses from the App Server or at some point the apache thread die, and therefore, lose of connection to the app server, generating an internal server error.
    If we perform this same test directly to the App Server httpd listener, it bahaves fine. We have also performmed the same test againt static content of apache, and again the everything is ok, we even have tried using iWS instead of apache, and the CPU does not go over 4%, so it looks like the problem resides on the apache connector.
    Have any of you experienced something similar?
    This is the basic conf:
    Web Server:
    SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,UltraSPARC-IIi-cEngineApache 2.0.54 with MPM worker (threads support) compiled with gcc
    apache:~>/apps/WebServer/apache/2.0/bin/httpd -v
    Server version: Apache/2.0.54
    Server built:   May 23 2006 07:10:19
    apache:~>/apps/WebServer/apache/2.0/bin/httpd -l
    Compiled in modules:
      core.c
      mod_access.c
      mod_auth.c
      mod_log_config.c
      mod_env.c
      worker.c
      http_core.c
      mod_mime.c
      mod_negotiation.c
      mod_dir.c
      mod_actions.c
      mod_alias.c
      mod_so.c
    httpd.conf:
    #                   Sun AppServer Load Balancer Configuration                          #
    LoadFile /usr/lib/libCstd.so.1
    LoadModule apachelbplugin_module /apps/WebServer/apache/2.0/modules/mod_loadbalancer.so
    config-file /apps/WebServer/apache/apache2-sunsecd1/conf/loadbalancer.xml
    locale en
    loadbalancer.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE loadbalancer PUBLIC "-//Sun Microsystems Inc.//DTD Sun ONE Application Server 7.1//EN" "sun-loadbalancer_1_1.dtd">
    <loadbalancer>
      <cluster name="sunsecd1">
        <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://appserver:38082" name="sunsecd1"/>
        <web-module context-root="petstore" disable-timeout-in-minutes="30" enabled="true"/>
        <web-module context-root="opc" disable-timeout-in-minutes="30" enabled="true"/>
        <web-module context-root="admin" disable-timeout-in-minutes="30" enabled="true"/>
        <web-module context-root="supplier" disable-timeout-in-minutes="30" enabled="true"/>
        <health-checker interval-in-seconds="30" timeout-in-seconds="10" url="/"/>
      </cluster>
      <property name="response-timeout-in-seconds" value="60"/>
      <property name="reload-poll-interval-in-seconds" value="60"/>
      <property name="https-routing" value="false"/>
      <property name="require-monitor-data" value="false"/>
      <property name="route-cookie-enabled" value="true"/>
    </loadbalancer>

    Hi Balaji,
    The Apache webserver runs on Solaris 9 on a Netra T1:
    $ /usr/platform/`uname -i`/sbin/prtdiag
    System Configuration:  Sun Microsystems  sun4u Netra t1 (UltraSPARC-IIi 440MHz)
    System clock frequency: 110 MHz
    Memory size: 1024 Megabytes
    ========================= CPUs =========================
                        Run   Ecache   CPU    CPU
    Brd  CPU   Module   MHz     MB    Impl.   Mask
    0     0     0      440     2.0   12       9.1
    ========================= IO Cards =========================
         Bus#  Freq
    Brd  Type  MHz   Slot  Name                              Model
    0   PCI-1  33     1   ebus
    0   PCI-1  33     1   network-SUNW,hme
    0   PCI-1  33     2   scsi-glm                          Symbios,53C875
    0   PCI-1  33     3   network-SUNW,hme
    0   PCI-2  33     1   pci-pci1011,22The Sun App Server is Sun Java System Application Server Enterprise Edition 8.1_02 (build b11-fcs)
    Did I miss anything else?

  • Container org.apache.catalina.core.ContainerBase has not been started

    Hi I'm integrated Tomcat 5 with Apache 2.0 using mod_jk on Fedora core 7 server. My problem is
    i cannot deploy my web application residing on /var/www/webapps/scienceph folder
    which has my index.jsp file.
    here is my code:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" errorPage="" %>
    <html>
    <head>
    <title>science.ph</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body>
    <%java.util.Date today = new java.util.Date();
    out.println("Today's date is: "+today);
    %>
    scienceph ..
    </body>
    </html>when i started tomcat i got the following exceptions in my log file..
    Apr 23, 2008 5:28:03 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error in resourceStart()
    Apr 23, 2008 5:28:03 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error getConfigured
    Apr 23, 2008 5:28:03 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/conf] startup failed due to previous errors
    Apr 23, 2008 5:28:03 PM org.apache.catalina.core.StandardContext stop
    INFO: Container org.apache.catalina.core.ContainerBase.[Integration].[www.science.ph].[/conf] has not been started
    Apr 23, 2008 5:28:03 PM org.apache.commons.modeler.Registry registerComponent
    SEVERE: Error registering Integration:type=Cache,host=www.science.ph,path=/server
    sun.misc.InvalidJarIndexException: Invalid index
            at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:854)
            at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:762)
            at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:732)
            at sun.misc.URLClassPath.findResource(URLClassPath.java:145)
            at java.net.URLClassLoader$2.run(URLClassLoader.java:362)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findResource(URLClassLoader.java:359)
            at java.lang.ClassLoader.getResource(ClassLoader.java:977)
            at org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:867)
            at org.apache.commons.modeler.Registry.findDescriptor(Registry.java:960)
            at org.apache.commons.modeler.Registry.findManagedBean(Registry.java:665)
            at org.apache.commons.modeler.Registry.findManagedBean(Registry.java:1014)
            at org.apache.commons.modeler.Registry.registerComponent(Registry.java:831)
            at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3869)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4024)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
            at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
            at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
            at org.apache.catalina.core.StandardService.start(StandardService.java:448)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)here is my server.xml
    <Server port="8005" shutdown="" debug="0">
      <Listener className="org.apache.jk.config.ApacheConfig" modJk="/etc/httpd/modules/mod_jk.so"/>
       <Service name="Tomcat-Apache">
         <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
            address="www.science.ph" port="8009" minProcessors="5" maxProcessors="75"
            enableLookups="false" protocol="AJP/1.3" acceptCount="10" debug="0" maxPostSize="4097152"/>
         <Engine name="Integration" debug="0" defaultHost="www.science.ph">
    <!--        <Logger className="org.apache.catalina.logger.FileLogger"
                    prefix="catalina_log." suffix=".txt"
                    timestamp="true"/> -->
            <Host name="www.science.ph" debug="0" unpackWARS="true" appBase="" autodeploy="true"
                    xmlValidation="false" xmlNameSpaceAware="false">
         <Listener className="org.apache.jk.config.ApacheConfig" append="true" forwardAll="false" modJk="/etc/httpd/modules/mod_jk.so"/>
                <Context path="" docBase="/var/www/webapps/scienceph"  debug="0" reloadable="true">
    <!--              <Logger className="org.apache.catalina.logger.FileLogger"
                    prefix="localhost_DBTest_log." suffix=".txt"
                    timestamp="true"/> -->
                   </Context>
            </Host>
        </Engine>
      </Service>
    </Server>how can i solve this problem.. I'm not seeing my application in the browser.. please help me.. thanks in advance for your help..

    I already solved this problem.. for others who might also encounter this problem..
    just uninstall tomcat from FC7 and install a fresh copy from tomcat website
    tomcat version 5.0.26 works for me. hope this help..
    God bless..
    <img class="emoticon" src="images/emoticons/wink.gif" border="0" alt="" />

  • Tomcat 4 - apache - mod_webapp problem

    hi,
    I know this is no tomcat forum, but i don't know where to post this message.
    I'm unable to connect apache with my tomcat server.
    I've installed apache(1.3.x) and tomcat(4.0 final) as stand-alone. they work fine.
    I've added the mod_webapp.so and the following to my configuration:
    --- httpd.conf ---------------------------------------
    # WARP Connection to Tomcat 4
    LoadModule webapp_module /usr/lib/apache/mod_webapp.so
    AddModule mod_webapp.c
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples/
    --- server.xml ---------------------------------------
    <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
    port="8008" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="10" debug="0"/>
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
    name="Apache" debug="0" appBase="webapps">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="apache_log." suffix=".txt"
    timestamp="true"/>
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    </Engine>
    </Service>
    If I call http://localhost/examples
    apache should forward this request to tomcat,
    but apache says: "Not Found"
    Can anybody help me, please?
    ciao Markus

    Try
    http://localhost/examples/
    Why?
    Apache doesn't automaticaly add the slash sign at the end if it is not configured to.
    Hint:
    Install webapp-info also. Can be usefull sometimes...

Maybe you are looking for

  • Need help in altering the query.

    Edited Message was edited by: MIND

  • Deliver IBOTS to Dashboard page instead of Alert

    Hi Friends, Can we deliver IBOT reports to Dashboard instead of Alerts. Reason - We are creating report by using Direct Database Connection and that report hasto run everyday morning and display report out as message on the Dashboard home page. Let m

  • IOS4 4.1 firmware update causes camera function to malfunction

    After updating to firmware 4.1, the camera function is not working properly. The images taken are not in a red hue from the normal picture. Is there anyway to fix this or should I revert back to the previous firmware?

  • BPM standalone and J2EE versions

    What is the diffrence between BPM standalone and J2EE versions and What are the advantages of Using J2EE Version over standlone? In configuration document it is mentioned that we need to deploy wlj2eedeployer.ear on weblogic server. Why this deployme

  • RAC 10g rel2: OCFS or ASM ?

    Hi all, I have successfully installed a 10g_r2 RAC on Linux RH3, currently using ASM for all database files (data, control, redo and flash_reco_area). But I don't like very much ASM, I would prefer to have direct control on all files, so I am thinkin