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

Similar Messages

  • 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 5.1 sp3 with Apache or Stronghold on Solaris 2,7

    Hi All,
    We are planning to use Apache or Stronghold(most probably Stronghold as it
    supports SSL which I was told Apache does not support) and WebLogic 5.1 sp
    3. Has anyone used this combination before if so we would like to know if
    you have faced any integration issues with this ? If you do what kind of
    integration issues were they ? Just connection related or scalability
    related ? Has anyone used WebLogic built-in webservevr in production
    environment ? How does it scale up ?
    Thanks
    Prasad

    Would you please let me know when exactly(date) the sp4 was released
    Thanks,
    Ravi.
    Vinod Mehra <[email protected]> wrote:
    Checkout the 510 service pack 4. It has these binaries:
    1. mod_wl.so for standard Apache (non EAPI) installations
    2. mod_wl_ssl.so for Apache + SSL/EAPI installations(Stronghold, modssl etc)
    3. mod_wl_ssl_raven.so for Apache + Raven installations
    mod_wl_ssl_raven.so was required because Raven applies frontpage patches which
    makes it incompatible with mod_wl_ssl.so
    --Vinod.
    Filip Hanik wrote:
    Apache supports SSL with two implementations
    1. http://www.apache-ssl.org/
    2. Apache with OpenSSL (mod_ssl)
    On Solaris there are no problems integrating weblogic and Apache.
    I would not recommend using the weblogic web server, the performance of image
    streaming and serving static webpages is not the greatest - apache will do a
    much better job for you.
    Weblogic also has a plug in for apache on Solaris that supports fail over. ie.
    if one of your weblogic server goes down then apache can reconnect to another
    one
    Filip Hanik
    [email protected]
    In article <396a70f4$[email protected]>,
    [email protected] says...
    Hi All,
    We are planning to use Apache or Stronghold(most probably Stronghold as it
    supports SSL which I was told Apache does not support) and WebLogic 5.1 sp
    3. Has anyone used this combination before if so we would like to know if
    you have faced any integration issues with this ? If you do what kind of
    integration issues were they ? Just connection related or scalability
    related ? Has anyone used WebLogic built-in webservevr in production
    environment ? How does it scale up ?
    Thanks
    Prasad

  • Clustering weblogic portal 10.3 with apache plugin

    Hi,
    we have configured a weblogic portal 10.3 cluster with two managed servers. We are using the apache 2.2 plugin module for dispatching.
    It seems for us that the plugin is not working correctly. It dispatches all request only to one server (we have tested it from different client machines). When we kill one of the managed servers the plugin dispatches to the other server which is correct.
    In our test case we have produced a lot of load with two jmeter instances from two machines. All requests are dispachted to one managed server. After the first server runs in an out of memory, the plugin dispachted to the second managed server until this runs also in an out of memory. Therefor we have no real load balancing.
    Here is our httpd.conf configuration:
    <VirtualHost 149.191.201.135:80>
    ServerName localhost
    # ServerAlias adportal adportal.eu.xxx.com
    RewriteEngine on
    RewriteRule ^/$ /adp_war/appmanager/ad01/ad01 [R]
    LimitRequestBody 12582912
    CustomLog "|d:/apache/bin/rotatelogs.exe d:/apache/logs/adportal_access.log 864000" common
    <IfModule mod_weblogic.c>
    WeblogicCluster sis26.eu.xxx.com:8031,sis27.eu.xxx.com:8031     
    MatchExpression *.jsp
    MatchExpression *.do
    MatchExpression *.portal
    MatchExpression *.htm
    MatchExpression *.html
    MatchExpression *.jpg
    MatchExpression *.gif
    ConnectTimeoutSecs 300
    ConnectRetrySecs 1
    MaxPostSize 12582912
    SecureProxy Off
    Debug ON
    WLLogFile d:/apache/debug/global_proxy.log
    WLTempDir "d:/apache/debug\temp"
    DebugConfigInfo On
    </IfModule>
    <Location ~ "/adp_war/(appmanager|portals|portlets|resources|showImage|ShowBinary|framework)">
    SetHandler weblogic-handler
    </Location>
    </VirtualHost>
    Has anyone an idea?
    By the way we have also tested it with the apache 2.0 plugin which also isn't working.

    Hi,
    Were do we set the listen address.
    Even we have the same problem. I have one physical that has the admin server and manager server and other server with just the manager server.
    We have the apache proxy server infront of these clustered server. Our server goes down very frequently even without activity.
    Some time we get the following error but some time there is no exception in the logs.
    ####<Nov 6, 2009 10:05:57 PM CST> <Error> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <[ACTIVE] ExecuteThread: '12' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257566757265> <BEA-000337> <[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "634" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@2c88d39[
    POST /spmlws/OIMProvisioning HTTP/1.1
    SOAPAction: http://xmlns.oracle.com/OIM/provisioning/processRequest
    Content-Type: text/xml; charset="UTF-8"
    User-Agent: OIM AD Pwd Sync/1.0
    Content-Length: 1313
    Connection: Keep-Alive
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
    Thread-18 "[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
    java.io.FileOutputStream.writeBytes(FileOutputStream.java:???)
    java.io.FileOutputStream.write(FileOutputStream.java:260)
    java.io.BufferedOutputStream.write(BufferedOutputStream.java:100)
    ^-- Holding lock: java.io.BufferedOutputStream@214ef14[thin lock]
    java.io.PrintStream.write(PrintStream.java:428)
    ^-- Holding lock: java.io.PrintStream@214ed9e[thin lock]
    sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:191)
    sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:271)
    sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
    sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:120)
    ^-- Holding lock: java.io.OutputStreamWriter@19de784[thin lock]
    java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
    org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:49)
    org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:292)
    org.apache.log4j.WriterAppender.append(WriterAppender.java:147)
    org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:201)
    ^-- Holding lock: org.apache.log4j.ConsoleAppender@19de688[thin lock]
    org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:50)
    org.apache.log4j.Category.callAppenders(Category.java:181)
    ^-- Holding lock: org.apache.log4j.spi.RootCategory@19de3c9[fat lock]
    org.apache.log4j.Category.forcedLog(Category.java:372)
    org.apache.log4j.Category.error(Category.java:300)
    com.thortech.util.logging.Logger.error(Unknown Source)
    com.oracle.xl.spmlws.framework.logger.OraLogger.log(Unknown Source)
    com.oracle.xl.spmlws.ws.server.weblogic.OIMProvisioningImpl.processRequest(Unknown Source)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:???)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:27)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:575)
    weblogic.webservice.component.javaclass.JavaClassInvocationHandler.invoke(JavaClassInvocationHandler.java:127)
    weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:75)
    weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:141)
    weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:542)
    weblogic.webservice.server.Dispatcher.process(Dispatcher.java:200)
    weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:140)
    weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:53)
    weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:100)
    weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:299)
    weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:417)
    weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:286)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:700)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
    weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:224)
    weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:108)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:198)
    weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3468)
    weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:308)
    weblogic.security.service.SecurityManager.runAs(Unknown Source)
    weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2116)
    weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2038)
    weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1372)
    weblogic.work.ExecuteThread.execute(ExecuteThread.java:198)
    weblogic.work.ExecuteThread.run(ExecuteThread.java:165)
    >
    <[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has become "unstuck".>
    ####<Nov 6, 2009 10:11:48 PM CST> <Info> <ServletContext-/xlWebApp> <abc.abc.com> <OIM_SERVER1> <[ACTIVE] ExecuteThread: '23' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1257567108507> <BEA-000000> <action: LogonAction: User 'XELSYSADM' logged on in session jJ2bK0zdx4LPTScXWRMG3jznSQgQsJKqC4YSpMlJ3Q4KCRrGYM9l!-1225252524!NONE!1257567101565>
    ####<Nov 6, 2009 10:11:01 PM CST> <Info> <ServletContext-/xlWebApp> <abc.abc.com> <OIM_SERVER1> <[ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1257567061835> <BEA-000000> <action: LogonAction: User 'XELSYSADM' logged on in session T23kK0ncSs60YfLnZRhpdZDvmL8sq1QQlc7vMLQJSpVQFyvSMvD6!-1225252524!NONE!1257565852875>
    ####<Nov 6, 2009 10:11:14 PM CST> <Info> <ServletContext-/xlWebApp> <abc.abc.com> <OIM_SERVER1> <[ACTIVE] ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1257567074087> <BEA-000000> <action: LogonAction: User 'XELSYSADM' logged on in session T23kK0ncSs60YfLnZRhpdZDvmL8sq1QQlc7vMLQJSpVQFyvSMvD6!-1225252524!NONE!1257565852875>
    ####<Nov 6, 2009 10:12:47 PM CST> <Info> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257567167000> <BEA-000339> <[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' has become "unstuck".>
    ####<Nov 6, 2009 10:12:47 PM CST> <Info> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257567167003> <BEA-000339> <[STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' has become "unstuck".>
    ####<Nov 6, 2009 10:12:47 PM CST> <Info> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257567167009> <BEA-000339> <[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' has become "unstuck".>
    ####<Nov 6, 2009 10:12:47 PM CST> <Info> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <[STUCK] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257567167019> <BEA-000339> <[STUCK] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)' has become "unstuck".>
    ####<Nov 6, 2009 10:12:47 PM CST> <Info> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <[STUCK] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257567167022> <BEA-000339> <[STUCK] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)' has become "unstuck".>
    ####<Nov 6, 2009 10:12:47 PM CST> <Info> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <[STUCK] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257567167033> <BEA-000339> <[STUCK] ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)' has become "unstuck".>
    ####<Nov 6, 2009 10:12:47 PM CST> <Notice> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <Thread-1> <<WLS Kernel>> <> <> <1257567167043> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
    ####<Nov 6, 2009 10:12:47 PM CST> <Alert> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <Thread-1> <<WLS Kernel>> <> <> <1257567167048> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>
    ####<Nov 6, 2009 10:12:47 PM CST> <Notice> <WebLogicServer> <abc.abc.com> <OIM_SERVER1> <Thread-1> <<WLS Kernel>> <> <> <1257567167058> <BEA-000365> <Server state changed to FORCE_SUSPENDING>

  • Please Help!! Weblogic 8.1.4 with apache 2.0.55 SSL

    Using Windows for Apache and Weblogic
    I see Client----Apache, Apache to Server, Server to Apache, but Apache to client failing
    Fri Feb 24 15:39:40 2006 *******Exception type [WRITE_ERROR_TO_CLIENT] raised at line 650 of ap_proxy.cpp
    I have seen many posts where people have seen this but no solutions or responses saying whats the problem or what is the solution?
    Can anyone please respond thanks
    uday
    ================New Request: [€b] =================
    Fri Feb 24 15:39:40 2006 INFO: SSL is configured
    Fri Feb 24 15:39:40 2006 SSL Main Context not set. Calling InitSSL
    Fri Feb 24 15:39:40 2006 INFO: Initializing SSL library
    Fri Feb 24 15:39:40 2006 Loaded 1 trusted CA's
    Fri Feb 24 15:39:40 2006 INFO: Successfully initialized SSL
    Fri Feb 24 15:39:40 2006 INFO: SSL configured successfully
    Fri Feb 24 15:39:40 2006 The final request string is '/'
    Fri Feb 24 15:39:40 2006 Host extracted from serverlist is [localhost]
    Fri Feb 24 15:39:40 2006 Initializing lastIndex=0 for a list of length=1
    Fri Feb 24 15:39:40 2006 getListNode: created a new server node: id='localhost:7002' server_name='ukamath.eideawdc1.local', port='80'
    Fri Feb 24 15:39:40 2006 attempt #0 out of a max of 5
    Fri Feb 24 15:39:40 2006 general list: trying connect to '127.0.0.1'/7002/7002 at line 2592 for '/'
    Fri Feb 24 15:39:40 2006 New SSL URL: match = 0 oid = 22
    Fri Feb 24 15:39:40 2006 Connection refused, error = 10022
    Fri Feb 24 15:39:40 2006 Setting peerID for new SSL connection
    Fri Feb 24 15:39:40 2006 7f00 0001 5a1b 0000 ....Z...
    Fri Feb 24 15:39:40 2006 Local Port of the socket is 2206
    Fri Feb 24 15:39:40 2006 Remote Host 127.0.0.1 Remote Port 7002
    Fri Feb 24 15:39:40 2006 general list: created a new connection to '127.0.0.1'/7002 for '/', Local port:2206
    Fri Feb 24 15:39:40 2006 URL::sendHeaders(): meth='€b' file='/' protocol='HTTP/0.9'
    Fri Feb 24 15:39:40 2006 Hdrs to WLS:[Connection]=[Keep-Alive]
    Fri Feb 24 15:39:40 2006 Hdrs to WLS:[WL-Proxy-SSL]=[true]
    Fri Feb 24 15:39:40 2006 Hdrs to WLS:[WL-Proxy-Client-IP]=[206.233.40.81]
    Fri Feb 24 15:39:40 2006 Hdrs to WLS:[Proxy-Client-IP]=[206.233.40.81]
    Fri Feb 24 15:39:40 2006 Hdrs to WLS:[X-Forwarded-For]=[206.233.40.81]
    Fri Feb 24 15:39:40 2006 Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
    Fri Feb 24 15:39:40 2006 Hdrs to WLS:[X-WebLogic-Request-ClusterInfo]=[true]
    Fri Feb 24 15:39:40 2006 INFO: No session match found
    Fri Feb 24 15:39:40 2006 URL->reallySend 52
    Fri Feb 24 15:39:40 2006 INFO: Certificate validation succeeded
    Fri Feb 24 15:39:40 2006 URL->reallySend 140
    Fri Feb 24 15:39:40 2006 INFO: AddSessionCallback
    Fri Feb 24 15:39:40 2006 INFO: Negotiated to cipher: 3
    Fri Feb 24 15:39:40 2006 URL->reallySend 253
    Fri Feb 24 15:39:40 2006 SSLWrite sent 232
    Fri Feb 24 15:39:40 2006 SSLWrite completed, sent 232
    Fri Feb 24 15:39:40 2006 Reader::fill() SSLRead success, read: 250
    Fri Feb 24 15:39:40 2006 URL::parseHeaders: StatusLine set to [200 OK]
    Fri Feb 24 15:39:40 2006 Hdrs from WLS:[Date]=[Fri, 24 Feb 2006 20:39:40 GMT]
    Fri Feb 24 15:39:40 2006 Hdrs from WLS:[Content-Length]=[8247]
    Fri Feb 24 15:39:40 2006 Hdrs from WLS:[Content-Type]=[text/html]
    Fri Feb 24 15:39:40 2006 Hdrs from WLS:[Connection]=[Keep-Alive]
    Fri Feb 24 15:39:40 2006 Hdrs from WLS:[Set-Cookie]=[UDAYSESSION=D1vM1Jpv4gLKpS8kS48ZHLTpQgfFKh4BpwZsn9yHgSbgTYpF2zff!87218319; path=/]
    Fri Feb 24 15:39:40 2006 Hdrs from WLS:[X-WebLogic-JVMID]=[87218319]
    Fri Feb 24 15:39:40 2006 parsed all headers OK
    Fri Feb 24 15:39:40 2006 sendResponse() : r->status = '200'
    Fri Feb 24 15:39:40 2006 Hdrs to client (reset):[Date]=[Fri, 24 Feb 2006 20:39:40 GMT]
    Fri Feb 24 15:39:40 2006 Hdrs to client (add):[Set-Cookie]=[UDAYSESSION=D1vM1Jpv4gLKpS8kS48ZHLTpQgfFKh4BpwZsn9yHgSbgTYpF2zff!87218319; path=/]
    Fri Feb 24 15:39:40 2006 for 127.0.0.1/7002/7002, updated JVMID: 87218319
    Fri Feb 24 15:39:40 2006 Reader::fill() SSLRead success, read: 4072
    Fri Feb 24 15:39:40 2006 Reader::fill() SSLRead success, read: 4072
    Fri Feb 24 15:39:40 2006 Reader::fill() SSLRead success, read: 103
    Fri Feb 24 15:39:40 2006 Write to the browser failed: calling URL::close at line 649 of ap_proxy.cpp
    Fri Feb 24 15:39:40 2006 *******Exception type [WRITE_ERROR_TO_CLIENT] raised at line 650 of ap_proxy.cpp
    Fri Feb 24 15:39:40 2006 INFO: Closing SSL context
    Fri Feb 24 15:39:40 2006 URL->reallySend 23
    Fri Feb 24 15:39:40 2006 INFO: Error after SSLClose, socket may already have been closed by peer
    Fri Feb 24 15:39:40 2006 NOT failing over after sendResponse() exception: idempotent=ON pastFailover=1
    Fri Feb 24 15:39:40 2006 request [] did NOT process sucessfully..................

    I got it to work on both apache and Sun One
    the problem was i was not using 1 way SSL certificate as my truststore on client side. Let me write a detailed note so that it can be helpful for others who see this
    So Client-----https( 1 way)------Apache/SunOne--->https-----Weblogic
    1. On Weblogic i just added custom keystore and custom trusttore as given in weblogic
    2. I changed SunOne (i will give for SunOne and apache is similar) obj.conf to look like this
    # Use only forward slashes in pathnames--backslashes can cause
    # problems. See the documentation for more information.
    <Object name="default">
    AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="ntrans-j2ee" name="j2ee"
    NameTrans fn=pfx2dir from=/mc-icons dir="C:/Sun/WebServer6.1/ns-icons" name="es-internal"
    #NameTrans fn=document-root root="$docroot"
    PathCheck fn=nt-uri-clean
    PathCheck fn="check-acl" acl="default"
    PathCheck fn=find-pathinfo
    #PathCheck fn=find-index index-names="index.html,home.html,index.jsp"
    #ObjectType fn=type-by-extension
    #ObjectType fn=force-type type=text/plain
    #Service method=(GET|HEAD) type=magnus-internal/imagemap fn=imagemap
    #Service method=(GET|HEAD) type=magnus-internal/directory fn=index-common
    #Service method=(GET|HEAD|POST) type=*~magnus-internal/* fn=send-file
    Service method=TRACE fn=service-trace
    Error fn="error-j2ee"
    AddLog fn=flex-log name="access"
    </Object>
    <Object name="j2ee">
    Service fn="service-j2ee" method="*"
    </Object>
    <Object name="cgi">
    ObjectType fn=force-type type=magnus-internal/cgi
    Service fn=send-cgi
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="send-compressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    <Object name="weblogic" ppath="*">
    Service fn="wl_proxy" WebLogicCluster="ukamath:7002,excursion:7002" CookieName=PIIE_USER_SESSION SecureProxy=ON RequireSSLHostMatch=FALSE TrustedCAFile="C:/cvsdir/concordebranch/IntegrationTests/model/integration/ssl/server/trustedcafile.pem" WLProxySSL=ON Debug=ALL DebugConfigInfo=TRUE WLLogFile="C:/Sun/WebServer6.1/https-ukamath.eideawdc1.local/logs/wlproxy.log"\
    </Object>
    NOTE:
    1. i changed entire thing to go to our weblogic but you can change it to your required path by changing ppath
    2. I had to comment NameTrans from adding paths to docs etc as for the same reason as weblogic needed to handle it rather than sun one.
    3. I changed Sunone to use SSL certificate from Verisign (14 days) by going through the Admin Server of SunOne and clicking manage and then going through Security tab and filling the request. Then installed the certificate on the SunOne managed https-machine server. Then went to preferences and added security enabled ports. Make sure you click enabled on security and certificate host optional.
    4. I changed my Java client to use same truststore as SunOne bby doing an import.
    For this i copied the certificate received from Verisign to file as .pem and used weblogic utils.pem2der to convert it to derfile and then imported the der file using java keytool to cacerts of jdk.
    5. My Java code looked like this using Sun's SSL implementation
    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
              //set provider
              java.security.Provider provider = (java.security.Provider)Class.forName("com.sun.net.ssl.internal.ssl.Provider").newInstance();
              java.security.Security.addProvider(provider);
              //set verifier
              com.sun.net.ssl.HostnameVerifier hv = new DHIHostNameVerifier();
              com.sun.net.ssl.HttpsURLConnection.setDefaultHostnameVerifier( hv );
              System.setProperty("javax.net.ssl.trustStore", "C:/cvsdir/concordebranch/cacerts");
              //System.setProperty("javax.net.ssl.trustStore", "C:/Program Files/Java/j2re1.4.2_10/lib/security/cacerts");
              //lets create a url
         URL url = new URL("https://ukamath:443/");     
              URLConnection urlCon = url.openConnection();
    If you have questions forward me an email and i can guide you. I am doing it as i struggled a lot because of it for first time.
    Thanks

  • Weblogic Configuration with Apache 2.2

    Hi ,
    I am getting the below error configured weblogic 10.3.5 with apache 2.2
    <HTML>
    <HEAD>
    <TITLE>Weblogic Bridge Message
    </TITLE>
    </HEAD>
    <BODY>
    <H2>Failure of server APACHE bridge:</H2><P>
    <hr>Your content length exceeded INT_MAX<hr> </BODY>
    </HTML>
    Thanks,

    http://middlewaremagic.com/weblogic/?p=7795 (see the load balancing section)

  • Using Resin and Weblogic with Apache

    Hi,
    Does anybody know if i can use Weblogic to serve JSP and Resin to
    serve some servlets within Apache?
    Let me explain the case:
    We are testing to setup Weblogic with Apache as the webserver.
    Weblogic will be used to serve the JSP pages so i configured the
    httpd.conf as follows:
    <IfModule mod_weblogic.c>
    MatchExpression *.jsp
    WebLogicHost localhost
    WebLogicPort [port]
    </IfModule>
    This works fine and i can serve the jsp-pages without any problems.
    Since we work with thirdparty software we need to use Resin too. This
    is not much trouble to implement in Apache and i can make sure that
    some servlets are handled by caucho instead of Weblogic:
    <Location /servlet/Inventory>
    SetHandler caucho-request
    </Location>
    The above request works fine too!
    However i have to load the resin.conf file for full use of Resin in
    Apache. This setting however implicates that JSP pages aren't served
    by Weblogic anymore but are sent to Resin also. Even with the
    MatchExpression setting in httpd.conf, Apache still thinks JSP needs
    to be sent to Resin instead of Weblogic.
    Is there some way i can make sure that the JSP pages are served by
    Weblogic and not by Resin???
    Thanx in advance

    Hi all,
    Well, i figured it all out and if anyone would like to give it a try
    to, just do the following.
    The mod_caucho.so file was compiled with the option to handle .jsp
    files. I hashed out the following line in
    /src/c/plugin/common/config.c:
    cse_add_locatio ..... jsp etc.
    And then i configure the mod_caucho.so with:
    ./configure --with-apxs=/apps/apache/bin/apxs
    Now i have a perfect mod_caucho.so file which does not handle .jsp.
    All calls with .jsp are processed by weblogic, just as i wanted!
    Have fun with it (i shall :-)
    Remy
    [email protected] (Remy) wrote in message news:<[email protected]>...
    Hi,
    Does anybody know if i can use Weblogic to serve JSP and Resin to
    serve some servlets within Apache?
    Let me explain the case:
    We are testing to setup Weblogic with Apache as the webserver.
    Weblogic will be used to serve the JSP pages so i configured the
    httpd.conf as follows:
    <IfModule mod_weblogic.c>
    MatchExpression *.jsp
    WebLogicHost localhost
    WebLogicPort [port]
    </IfModule>
    This works fine and i can serve the jsp-pages without any problems.
    Since we work with thirdparty software we need to use Resin too. This
    is not much trouble to implement in Apache and i can make sure that
    some servlets are handled by caucho instead of Weblogic:
    <Location /servlet/Inventory>
    SetHandler caucho-request
    </Location>
    The above request works fine too!
    However i have to load the resin.conf file for full use of Resin in
    Apache. This setting however implicates that JSP pages aren't served
    by Weblogic anymore but are sent to Resin also. Even with the
    MatchExpression setting in httpd.conf, Apache still thinks JSP needs
    to be sent to Resin instead of Weblogic.
    Is there some way i can make sure that the JSP pages are served by
    Weblogic and not by Resin???
    Thanx in advance

  • Tomcat vs Apache with Tomcat connectors (mod/jk)

    Is there any advantage (security, performance etc.) of running a Java web application on Apache HTTP Server with Tomcat Connectors (mod/jk) rather than directly running it on Tomcat.

    This question is already answered, see here:
    http://tomcat.apache.org/faq/connectors.html
    Also for Tomcat/ Apache related questions, post them to the relevant mailing lists.

  • Integarte Weblogic with Apache on Windows

    Hi guys,
    Did any one integrate Weblogic server with Apache?
    I tried but portal home page takes a lot of time to load.
    I don't know why?
    If any one tried this can you let me the know the steps or URL from where I can get info?
    Thanks!

    Here are some links that might be helpful
    http://e-docs.bea.com/wls/docs81/plugins/overview.html
    http://e-docs.bea.com/wls/docs70/plugins/apache.html
    Seenu.

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

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

  • Mod_wl_22.so with Apache 2.4

    Hello
    I have just upgraded Apache http server from 2.22 to 2.4. It configured ok ("It works").
    It is used to forward calls to our OBIEE installation and for this we use a module plugin, the mod_wl_22.so
    It doesn't work. Starting Apache presents the following:
    httpd: Syntax error on line 489 of /mnt/Apache/conf/httpd.conf: Cannot load /mnt/Apache/modules/mod_wl_22.so into server: /mnt/Apache/modules/mod_wl_22.so: undefined symbol: ap_log_rerror
    when I try ldd I get this
    ldd -d /mnt/Apache/modules/mod_wl_22.so
         libstdc++.so.5 => /usr/lib64/libstdc++.so.5 (0x00002ac1291c0000)
         libm.so.6 => /lib64/libm.so.6 (0x00002ac12949b000)
         libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002ac12971e000)
         libc.so.6 => /lib64/libc.so.6 (0x00002ac12992d000)
         /lib64/ld-linux-x86-64.so.2 (0x00002ac128fa3000)
    undefined symbol: apr_pool_cleanup_null     (/mnt/Apache/modules/mod_wl_22.so)
    From the documentation of 2.4:
    Many third-party modules designed for version 2.2 will otherwise work unchanged with the Apache HTTP Server version 2.4. Some will require changes; see
    the API update overview.
    AS this release (2.4) has just been released, I am not sure how to verify if this module is ok with 2.4.
    Any wise men with crystal balls out there?
    OBIEE Oracle Business Intelligence 11.1.1.5:
    Linux x86 (64-bit):
    11.2.0.2.0 database
    Edited by: 869150 on 23-Feb-2012 09:30

    I am also trying to load the WebLogic Server module built for Apache httpd 2.2 (mod_wl_22.so) in my Apache 2.4.4 installation but have not had any success yet. Did you ever figure it out?
    My error (when attempting to start Apache httpd):
    httpd: Syntax error [line in httpd.conf with LoadModule]: Cannot load modules/mod_wl_22.so into server: mod_wl_22.so: undefined symbol: ap_log_rerror
    UPDATE: Actually, nevermind. I just found the answer. It is not possible to use any of the actual/binary modules with versions other than the one they were compiled for. That part of Apache's documentation saying that it shouldn't require changes just means that the source usually doesn't require modification, but it still needs to be rebuilt. So until Oracle gets with the program we are stuck either abandoning the module or staying in the 2.2.x series. What a pain.
    See also http://www.apachelounge.com/viewtopic.php?t=4599

  • Mod_jk load error with Apache on OS X

    Hello -
    I have been running CF9 on OS X with a MacPorts install of Apache 2.2.21 with no issues as a "standalone" server installation. To get ready for CF10 I have ben trying to get CF10 configured with Apache. The specefic error I am getting when launching Apache is:
    Cannot load /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so into server: dlopen( /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so, 10): Symbol not found: _apr_stat$INODE64\n Referenced from: /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so\n Expected in flat namespace\n /Applications/ColdFusion10/config/wsconfig/1/mod_jk.so
    I have done the following:
    1. Recompiled Apache and forced a 64-bit compile
    2. Uninstalled CF9
    3. Uninstalld and reinsalled CF10
    4. apxs is installed in /opt/local/apache2/bin (listed asa requirement in one of the documentation PDFs)
    5. This is a Lion 10.7.3 with Xcode 4.2.1 currently installed
    The error listed above is only a warning. Apache starts and still servers html files. I am a bit stumped and have no experience with Tomcat. Any help in finding a solution to this problem will be appreciated.
    Thank you
    Richard

    Made progress -
    Setting the max_packet_size seemed to start the 1st time CF10 admin process, just like it did with CF9 the 1st time we access the administrator. Then, it just went to a blank white screen.
    mod_jk.log reports:
    [error] ajp_process_callback::jk_ajp_common.c (1825): Unknow ajp protocol code: 0F
    [error] ajp_process_callback::jk_ajp_common.c (2426): (cfusion) connecting to tomcat failed
    Now: here is something interesting:
    Look at the end of the URL when it 1st attempts to access administrator: It is index.cfm?configServer=true or index.cfm?serverConfig=true
    By removing this it allows me to simply click on the "continue" option and low and behold the CF admin comes up.
    I also have an issue with topnav.cfm reporting a 400 (Bad Request)
    Quiting the browser and comming back to CF Admin displays the login page but after enter username and password I land on index.cfm and it goes no further.
    Refreshing the page starts to rope in various admin componets.
    Also, it will not process any simple cfm template reporting an internal server error.
    Hopefully this has to do with this being a beta.

Maybe you are looking for

  • "500   Internal Server Error" recieved.

    hello. I've installed solution manager 4.0 and dedicated this server as our central SLD.  It was configured and working fine until our consultant patched it from SP 9 to 11.  In the beginning, dispatcher and server would come up but none of applicati

  • SQ01 create query - can I do a function call to branch to an object

    Hi All, I am fairly familiar with Queries and created one containing Work order number (but it could be any kind of object). Is there a way in SQ01 (not SE38) to program that via double-clicking on the object you can branch to it , i.e. can I call t-

  • Query, Performance Problem in apex

    Hi All, I am using select address1,address2,address3,city,place,pincode,siteid,bpcnum_0, contactname,fax,mobile,phone,website,rn from (select address1,address2,address3,city,place,pincode,siteid,bpcnum_0, contactname,fax,mobile,phone,website,dense_ra

  • Cross Company Sercice Order.

    Hello, We have 3 Company Codes and Each has 1 Plant. Lets say - Company Code - 001, 002, 003 Plant - 001, 002, 003 Profit center & Business area is also same Each company code have only 1 Profit center and Business area Now issue is We have created w

  • IMessage & Facetime! dosen't work.. -____-

    hi. so my i message & face time dosen't work it's ticking me off. like i said i put my apple id & password it goes to the next page. and then 5 seconds later it goes to the same page where you put you apple id and password. i can't find the DNS thing