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
Similar Messages
-
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.
ThanksIf 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 -
WebLogic 9.2 and Apache 2.2.X
Does anyone know whether BEA supports WebLogic 9.2 with Apache 2.2.X web server? If so, is there any documentation? Which wlproxy do you use? If not, does anyone know when BEA will support this? By the way, we are running on Solaris 10. Thanks!
As far as I am aware there are on only plugins for Apache 1.3.x and 2.0.x.
I believe the documentation for WLS9 recommends Apache 2.0.x using a multi-threading mpm such as worker. This is what I use on our setups both Solaris (9 & 10) and Linux (RHEL 4)
Anyone from BEA know if an Apache plugin for 2.2.x is planned? -
I have a problem with using Apache 2.2.3 as a WebLogic SSL proxy. I have Apache 2.2 running and successfully configured an SSL cert, config in ssl.conf is...
<VirtualHost secure.daftdonkey.com>
# Setup SSL for secure.daftdonkey.com
ServerName secure.daftdonkey.com
SSLEngine On
SSLCertificateFile /oracle/secure/secure.daftdonkey.com.crt
SSLCertificateKeyFile /oracle/secure/secure.daftdonkey.com.key
SSLCertificateChainFile /oracle/secure/gd_bundle.crt
</VirtualHost>
This works fine
Now I want Apache to proxy requests to my WebLogic Server and secure them over SSL as well
e.g. a request to https://secure.daftdonkey.com/service goes to https://weblogic.internal.site/service
I have downloaded and configured the weblogic module and tested it handling traffic for HTTP and that worked, then I switched the WebLogic module to use SSL.
LoadModule weblogic_module modules/mod_wl.so
<IfModule mod_weblogic.c>
WebLogicHost weblogic.internal.site
WebLogicPort 16101
Debug ALL
SecureProxy ON
WLSSLWallet /oracle/secure/my-wallet
WLLogFile /tmp/wl-proxy.log
</IfModule>
<Location /service>
SetHandler weblogic-handler
</Location>
Starting Apache throws the error. I think this is my main problem, i've searched support.oracle.com and not found anything.
[Mon Jun 07 23:00:48 2010] [crit] (20014)Internal error: WL SSL Init failed for server: (null) on 0
but Apache starts... I get this error when I make a request to https://secure.daftdonkey.com/service
Failure of server APACHE bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF.
Looking into the log /tmp/wl-proxy.log I see....
Mon Jun 7 22:30:10 2010 <393212759749971> URLfactory Created
Mon Jun 7 22:30:10 2010 <393312759750102> ================New Request: [GET /service HTTP/1.1] =================
Mon Jun 7 22:30:10 2010 <393312759750102> INFO: SSL is configured
Mon Jun 7 22:30:10 2010 <393312759750102> Using Uri /service
Mon Jun 7 22:30:10 2010 <393312759750102> After trimming path: '/service'
Mon Jun 7 22:30:10 2010 <393312759750102> The final request string is '/service'
Mon Jun 7 22:30:10 2010 <393312759750102> parseServerList: Socket Address hostnames 'weblogic.internal.site:16101'
Mon Jun 7 22:30:10 2010 <393312759750102> Host extracted from serverlist is [weblogic.internal.site]
Mon Jun 7 22:30:10 2010 <393312759750102> parseServerList: IP from socket Address [192.168.100.15]
Mon Jun 7 22:30:10 2010 <393312759750102> Initializing lastIndex=0 for a list of length=1
Mon Jun 7 22:30:10 2010 <393312759750102> getListNode: created a new server node: id='weblogic.internal.site:16101' server_name='secure.daftdonkey.com', port='443'
Mon Jun 7 22:30:10 2010 <393312759750102> attempt #0 out of a max of 5
Mon Jun 7 22:30:10 2010 <393312759750102> Trying a pooled connection for '192.168.100.15/16101/16101'
Mon Jun 7 22:30:10 2010 <393312759750102> getPooledConn: found a host and port/securePort match
Mon Jun 7 22:30:10 2010 <393312759750102> getPooledConn: No more connections in the pool for Host[192.168.100.15] Port[16101] SecurePort[16101]
Mon Jun 7 22:30:10 2010 <393312759750102> general list: trying connect to '192.168.100.15'/16101/16101 at line 3188 for '/service'
Mon Jun 7 22:30:10 2010 <393312759750102> SSL is not configured for this connection
Mon Jun 7 22:30:10 2010 <393312759750102> Local Port of the socket is 45580
Mon Jun 7 22:30:10 2010 <393312759750102> Remote Host 192.168.100.15 Remote Port 16101
Mon Jun 7 22:30:10 2010 <393312759750102> URL::connect SSLConn for reader is not set as it is NULL
Mon Jun 7 22:30:10 2010 <393312759750102> general list: created a new connection to '192.168.100.15'/16101 for '/service', Local port:0
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Host]=[secure.daftdonkey.com]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept-Language]=[en-us,en;q=0.5]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept-Encoding]=[gzip,deflate]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Keep-Alive]=[300]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Connection]=[keep-alive]
Mon Jun 7 22:30:10 2010 <393312759750102> parse_header is done
Mon Jun 7 22:30:10 2010 <393312759750102> Method is GET
Mon Jun 7 22:30:10 2010 <393312759750102> About to call parseHeaders
Mon Jun 7 22:30:10 2010 <393312759750102> URL::parseHeaders: Value of parsedHeaders = [0]
Mon Jun 7 22:30:10 2010 <393312759750102> URL::sendHeaders(): meth='GET' file='/service' protocol='HTTP/1.1'
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Host]=[secure.daftdonkey.com]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept-Language]=[en-us,en;q=0.5]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept-Encoding]=[gzip,deflate]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Keep-Alive]=[300]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Connection]=[Keep-Alive]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [WL-Proxy-SSL]=[true]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [WL-Proxy-Client-IP]=[192.168.100.245]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Proxy-Client-IP]=[192.168.100.245]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [X-Forwarded-For]=[192.168.100.245]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [X-WebLogic-Force-JVMID]=[unset]
Mon Jun 7 22:30:10 2010 <393312759750102> Reader::fill(): first=0 last=0 toRead=4096
Mon Jun 7 22:30:10 2010 <393312759750102> Reader::fill(): sysRecv returned -1
Mon Jun 7 22:30:10 2010 <393312759750102> *******Exception type [READ_ERROR_FROM_SERVER] (socket read failure) raised at line 251 of ../nsapi/Reader.cpp
Mon Jun 7 22:30:10 2010 <393312759750102> caught exception in readStatus: READ_ERROR_FROM_SERVER [os error=104, line 251 of ../nsapi/Reader.cpp]: socket read failure at line 963
Mon Jun 7 22:30:10 2010 <393312759750102> PROTOCOL_ERROR: Backend Server not responding - isRecycled:0
Mon Jun 7 22:30:10 2010 <393312759750102> Marking 192.168.100.15:16101 as bad
Mon Jun 7 22:30:10 2010 <393312759750102> got exception in sendRequest phase: Backend Server not responding at line 3702
Mon Jun 7 22:30:10 2010 <393312759750102> Failing over after sendRequest() exception: PROTOCOL_ERROR as Idempotent is set to ON
Mon Jun 7 22:30:10 2010 <393312759750102> attempt #1 out of a max of 5
However connecting directly to https://192.168.100.15:16101/irm_rights is successful.
Ouput from orapki seems to show a valid wallet.
[root@content my-wallet]# /oracle/install/bin/orapki wallet display -wallet /oracle/secure/my-wallet/
Oracle PKI Tool : Version 11.1.1.2.0
Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved.
Requested Certificates:
User Certificates:
Trusted Certificates:
Subject: OU=Class 2 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
Subject: OU=Secure Server Certification Authority,O=RSA Data Security\, Inc.,C=US
Subject: OU=Class 3 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
Subject: OU=Class 1 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
Subject: CN=weblogic.internal.site,OU=FOR TESTING ONLY,O=MyOrganization,L=MyTown,ST=MyState,C=US
Subject: CN=GTE CyberTrust Global Root,OU=GTE CyberTrust Solutions\, Inc.,O=GTE Corporation,C=US
Also the apache log at /var/log/httpd/ssl_error_log shows.
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
Editing the httpd.conf and sending traffic from Apache to WebLogic over regular HTTP works, config is...
LoadModule weblogic_module modules/mod_wl.so
<IfModule mod_weblogic.c>
WebLogicHost weblogic.internal.site
WebLogicPort 16100
Debug ALL
# SecureProxy ON
# WLSSLWallet /oracle/secure/my-wallet
WLLogFile /tmp/wl-proxy.log
</IfModule>
Resulting detail from /tmp/wl-proxy.log
Mon Jun 7 23:20:50 2010 <415912759780351> URLfactory Created
Mon Jun 7 23:20:50 2010 <416012759780502> ================New Request: [GET /service/ HTTP/1.1] =================
Mon Jun 7 23:20:50 2010 <416012759780502> Using Uri /service/
Mon Jun 7 23:20:50 2010 <416012759780502> After trimming path: '/service/'
Mon Jun 7 23:20:50 2010 <416012759780502> The final request string is '/service/'
Mon Jun 7 23:20:50 2010 <416012759780502> parseServerList: Socket Address hostnames 'weblogic.internal.site:16100'
Mon Jun 7 23:20:50 2010 <416012759780502> Host extracted from serverlist is [weblogic.internal.site]
Mon Jun 7 23:20:50 2010 <416012759780502> parseServerList: IP from socket Address [192.168.100.15]
Mon Jun 7 23:20:50 2010 <416012759780502> Initializing lastIndex=0 for a list of length=1
Mon Jun 7 23:20:50 2010 <416012759780502> getListNode: created a new server node: id='weblogic.internal.site:16100' server_name='secure.daftdonkey.com', port='443'
Mon Jun 7 23:20:50 2010 <416012759780502> attempt #0 out of a max of 5
Mon Jun 7 23:20:50 2010 <416012759780502> Trying a pooled connection for '192.168.100.15/16100/16100'
Mon Jun 7 23:20:50 2010 <416012759780502> getPooledConn: found a host and port/securePort match
Mon Jun 7 23:20:50 2010 <416012759780502> getPooledConn: No more connections in the pool for Host[192.168.100.15] Port[16100] SecurePort[16100]
Mon Jun 7 23:20:50 2010 <416012759780502> general list: trying connect to '192.168.100.15'/16100/16100 at line 3188 for '/service/'
Mon Jun 7 23:20:50 2010 <416012759780502> SSL is not configured for this connection
Mon Jun 7 23:20:50 2010 <416012759780502> Local Port of the socket is 56647
Mon Jun 7 23:20:50 2010 <416012759780502> Remote Host 192.168.100.15 Remote Port 16100
Mon Jun 7 23:20:50 2010 <416012759780502> URL::connect SSLConn for reader is not set as it is NULL
Mon Jun 7 23:20:50 2010 <416012759780502> general list: created a new connection to '192.168.100.15'/16100 for '/service/', Local port:0
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Host]=[secure.daftdonkey.com]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept-Language]=[en-us,en;q=0.5]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept-Encoding]=[gzip,deflate]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Keep-Alive]=[300]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Connection]=[keep-alive]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Cookie]=[JSESSIONID=YF4nMNfZ3lJ5ZrVV9HGpKwj3hf12yRvlf4zksQf6pkKx2LhJ2ywY!34167467]
Mon Jun 7 23:20:50 2010 <416012759780502> parse_header is done
Mon Jun 7 23:20:50 2010 <416012759780502> Method is GET
Mon Jun 7 23:20:50 2010 <416012759780502> About to call parseHeaders
Mon Jun 7 23:20:50 2010 <416012759780502> URL::parseHeaders: Value of parsedHeaders = [0]
Mon Jun 7 23:20:50 2010 <416012759780502> URL::sendHeaders(): meth='GET' file='/service/' protocol='HTTP/1.1'
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Host]=[secure.daftdonkey.com]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept-Language]=[en-us,en;q=0.5]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept-Encoding]=[gzip,deflate]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Keep-Alive]=[300]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Cookie]=[JSESSIONID=YF4nMNfZ3lJ5ZrVV9HGpKwj3hf12yRvlf4zksQf6pkKx2LhJ2ywY!34167467]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Connection]=[Keep-Alive]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [WL-Proxy-SSL]=[true]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [WL-Proxy-Client-IP]=[192.168.100.245]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Proxy-Client-IP]=[192.168.100.245]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [X-Forwarded-For]=[192.168.100.245]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [X-WebLogic-Force-JVMID]=[unset]
Mon Jun 7 23:20:50 2010 <416012759780502> Reader::fill(): first=0 last=0 toRead=4096
Mon Jun 7 23:20:50 2010 <416012759780502> Reader::fill(): sysRecv returned 568
Mon Jun 7 23:20:50 2010 <416012759780502> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 302 Moved Temporarily]
Mon Jun 7 23:20:50 2010 <416012759780502> URL::parseHeaders: StatusLine set to [302 Moved Temporarily]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[Date]=[Tue, 08 Jun 2010 06:20:50 GMT]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[Transfer-Encoding]=[chunked]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[Location]=[https://secure.daftdonkey.com/service/faces/LoginPage.jspx]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[X-WebLogic-JVMID]=[34167467]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[X-Powered-By]=[Servlet/2.5 JSP/2.1]
Mon Jun 7 23:20:50 2010 <416012759780502> parsed all headers OK
Mon Jun 7 23:20:50 2010 <416012759780502> done with sendRequest
Mon Jun 7 23:20:50 2010 <416012759780502> sendResponse() : r->status = '302'
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to client (add):[Date]=[Tue, 08 Jun 2010 06:20:50 GMT]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to client (add):[Location]=[https://secure.daftdonkey.com/service/faces/LoginPage.jspx]
Mon Jun 7 23:20:50 2010 <416012759780502> for 192.168.100.15/16100/16100, updated JVMID: 34167467
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to client (add):[X-Powered-By]=[Servlet/2.5 JSP/2.1]
Mon Jun 7 23:20:50 2010 <416012759780502> calling closeConn() with non-null URL* at 3826
Mon Jun 7 23:20:50 2010 <416012759780502> canRecycle: conn=1 status=302 isKA=1 clen=-1 isCTE=1
Mon Jun 7 23:20:50 2010 <416012759780502> closeConn: pooling for '192.168.100.15/16100'
Mon Jun 7 23:20:50 2010 <416012759780502> closeConn: pooling '0'
Mon Jun 7 23:20:50 2010 <416012759780502> request [irm_rights/] processed successfully..................
Mon Jun 7 23:20:50 2010 <415912759780351> Cleaning up the list node 'weblogic.internal.site:16100'list Length '1'I found the answer to this. The documentation is not clear enough, LD_LIBRARY_PATH MUST be set and MUST have a pointer to the directory where the SSL .so modules are. I wrote up a blog article explaining the configuration and detailed this issue.
http://blogs.oracle.com/irm/2010/06/quick_guide_to_oracle_irm_11g_1.html -
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 advanceHi 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 -
Problem with SSL weblogic plug in and Apache
We're using mod_wl_22.so with Apache, and after some problems with the mod failing on startup it is now working. We can access the weblogic SSL page fine directly on port 16101 with no warning, when we try via the proxy we get a failure of server Apache bride --------------------------------------------------------------------------------
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF. And in the wl_proxy.log there is a message that I think relates to the trustedcertfile in our http.conf file. We have a root certificate in pem format as the trustedcertfile.
================New Request: [GET /irm_desktop HTTP/1.1] =================
Thu Jan 27 21:52:15 2011 <258812961651354> INFO: SSL is configured
Thu Jan 27 21:52:15 2011 <258812961651354> INFO: SSL configured successfully
Thu Jan 27 21:52:15 2011 <258812961651354> Using Uri /irm_desktop
Thu Jan 27 21:52:15 2011 <258812961651354> After trimming path: '/irm_desktop'
Thu Jan 27 21:52:15 2011 <258812961651354> The final request string is '/irm_desktop'
Thu Jan 27 21:52:15 2011 <258812961651354> SEARCHING id=[sealedinfo-prod:16101] from current ID=[sealedinfo-prod:16101]
Thu Jan 27 21:52:15 2011 <258812961651354> The two ids matched
Thu Jan 27 21:52:15 2011 <258812961651354> @@@FOUND...id=[sealedinfo-prod:16101], server_name=[uat.sealedinfo.com], server_port=[443]
Thu Jan 27 21:52:15 2011 <258812961651354> attempt #0 out of a max of 5
Thu Jan 27 21:52:15 2011 <258812961651354> Trying a pooled connection for '10.10.10.10/16101/16101'
Thu Jan 27 21:52:15 2011 <258812961651354> getPooledConn: No more connections in the pool for Host[10.10.10.10] Port[16101] SecurePort[16101]
Thu Jan 27 21:52:15 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
Thu Jan 27 21:52:15 2011 <258812961651354> New SSL URL: match = 0 oid = 22
Thu Jan 27 21:52:15 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Thu Jan 27 21:52:15 2011 <258812961651354> EINPROGRESS in connect() - selecting
Thu Jan 27 21:52:15 2011 <258812961651354> Setting peerID for new SSL connection
Thu Jan 27 21:52:15 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
Thu Jan 27 21:52:15 2011 <258812961651354> Local Port of the socket is 63867
Thu Jan 27 21:52:15 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
Thu Jan 27 21:52:15 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63867
Thu Jan 27 21:52:15 2011 <258812961648171> WARN: GetSessionCallback: No session match found
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3094
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
Thu Jan 27 21:52:16 2011 <258812961651354> attempt #1 out of a max of 5
Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63868
Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63868
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3094
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
Thu Jan 27 21:52:16 2011 <258812961651354> attempt #2 out of a max of 5
Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63869
Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63869
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3094
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
Thu Jan 27 21:52:16 2011 <258812961651354> attempt #3 out of a max of 5
Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63870
Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63870
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3094
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
Thu Jan 27 21:52:16 2011 <258812961651354> attempt #4 out of a max of 5
Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63871
Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63871
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3094
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
Thu Jan 27 21:52:16 2011 <258812961651354> attempt #5 out of a max of 5
Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63872
Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63872
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0, line 794 of ../nsapi/URL.cpp]: at line 3094
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
Thu Jan 27 21:52:16 2011 <258812961651354> request [irm_desktop] did NOT process successfully..................I see that it is six months ago that I first posted this. Nothing has changed. When I use affixa to create a message with an attachment from my gmail account in firefox, the message is created in drafts, but the gmail window is closed and I have to re-open it. Not critical, but annoying.
Now there is a plug-in on the affixa site that is supposed to be designed for Firefox, and which affixa support claims should take care of this. And I've downloaded it twice. When you download it and open it, it says that it will be installed when Firefox restarts, and gives you a button to restart Firefox. But after you click that button and firefox disappears and re-appears, the affixa plug-in is NOT in the plugin list.
Please, somebody, HELP. -
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. -
JMX with apache plugin and weblogic
Hy every body
I use weblogic 9.1, throw apache plugin
I try to get mbean with JMX,
i have this error on the log of the server when I try to acces to a server by passing apache url into jmxConnector:
java.lang.AssertionError: Assertion violated
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.iiop.MuxableSocketIIOP.getMessageLength(MuxableSocketIIOP.java:315)
at weblogic.socket.AbstractMuxableSocket.isMessageComplete(AbstractMuxableSocket.java:336)
at weblogic.socket.MuxableSocketDiscriminator.dispatch(MuxableSocketDiscriminator.java:166)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
the log:
================New Request: [GIOP] =================
Tue May 31 14:25:36 2011 <35921306844736112> INFO: SSL is not configured
Tue May 31 14:25:36 2011 <35921306844736112> Using Uri /
Tue May 31 14:25:36 2011 <35921306844736112> After trimming path: '/'
Tue May 31 14:25:36 2011 <35921306844736112> The final request string is '/'
Tue May 31 14:25:36 2011 <35921306844736112> SEARCHING id=[192.168.2.83:7001] from current ID=[192.168.2.83:7001]
Tue May 31 14:25:36 2011 <35921306844736112> The two ids matched
Tue May 31 14:25:36 2011 <35921306844736112> @@@FOUND...id=[192.168.2.83:7001], server_name=[AdminServer], server_port=[80]
Tue May 31 14:25:36 2011 <35921306844736112> attempt #0 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> Trying a pooled connection for '192.168.2.83/7001/7001'
Tue May 31 14:25:36 2011 <35921306844736112> getPooledConn: No more connections in the pool for Host[192.168.2.83] Port[7001] SecurePort[7001]
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2039
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2039
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2039, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #1 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2040
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2040
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2040, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #2 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2041
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2041
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2041, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #3 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2042
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2042
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2042, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #4 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2043
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2043
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2043, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> attempt #5 out of a max of 5
Tue May 31 14:25:36 2011 <35921306844736112> general list: trying connect to '192.168.2.83'/7001/7001 at line 2724 for '/'
Tue May 31 14:25:36 2011 <35921306844736112> INFO: New NON-SSL URL
Tue May 31 14:25:36 2011 <35921306844736112> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Tue May 31 14:25:36 2011 <35921306844736112> EINPROGRESS in connect() - selecting
Tue May 31 14:25:36 2011 <35921306844736112> Local Port of the socket is 2044
Tue May 31 14:25:36 2011 <35921306844736112> Remote Host 192.168.2.83 Remote Port 7001
Tue May 31 14:25:36 2011 <35921306844736112> general list: created a new connection to '192.168.2.83'/7001 for '/', Local port:2044
Tue May 31 14:25:36 2011 <35921306844736112> URL::sendHeaders(): meth='GIOP' file='/' protocol='HTTP/0.9'
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Connection]=[Keep-Alive]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[WL-Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[Proxy-Client-IP]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-Forwarded-For]=[192.168.0.143]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[24]
Tue May 31 14:25:36 2011 <35921306844736112> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[unset]
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Local port of the socket 2044, connected to Remote Host/Port 192.168.2.83/7001
Tue May 31 14:25:36 2011 <35921306844736112> readStatus: Response contains no data - isRecycled: 0
Tue May 31 14:25:36 2011 <35921306844736112> *******Exception type [READ_ERROR_FROM_SERVER] (Unexpected EOF reading HTTP status - failover request based on Idempotent flag) raised at line 841 of ../nsapi/URL.cpp
Tue May 31 14:25:36 2011 <35921306844736112> Marking 192.168.2.83:7001 as bad
Tue May 31 14:25:36 2011 <35921306844736112> got exception in sendRequest phase: READ_ERROR_FROM_SERVER [os error=0, line 841 of ../nsapi/URL.cpp]: Unexpected EOF reading HTTP status - failover request based on Idempotent flag at line 3160
Tue May 31 14:25:36 2011 <35921306844736112> Failing over after sendRequest() exception: READ_ERROR_FROM_SERVER as Idempotent is set to ON
Tue May 31 14:25:36 2011 <35921306844736112> request [] did NOT process successfully..................
the httpd.conf:
<IfModule mod_weblogic.c>
WebLogicHost 192.168.2.83
WebLogicPort 7001
#WebLogicCluster t3://192.168.2.83:7003, t3://192.168.2.83: 7005, t3://192.168.2.83:7013
Idempotent on
Debug HFC,HTW,HFW
WLLogFile c:/wlproxy.log
WLTempDir c:/TEMP
DebugConfigInfo On
KeepAliveEnabled ON
KeepAliveSecs 14
MatchExpression *
</IfModule>
<Location /HTTPClnt>
SetHandler weblogic-handler
</Location>
I don't use ssl.
I can access to the jsp of the server with the url of apach , but i cannot use jmx throught apache. I can use jmx with the server if I don't use apache, but i need apache for the next step of the project.
please, help me !I think the plug-in is intended for serves static pages, and another part of the document like MIME types.
I assume you are using the http protocol in your client to establish a jmx connection. Try enabling HTTP tunneling in weblogic server.
Can you post the code used to establish connetion? -
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)
-
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. -
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.
-
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 -
Can't create connection pool using weblogic 6.1 with Oracle thin driver
Hi !
I have tried to create a connection pool from adminconsole. My CLASSPATH setting
is as follows :
F:\SOAP\soap-2_2\lib;F:\SOAP\soap-2_2;
D:\Oracle\Ora81\jdbc\lib\classes12.zip;
D:\Oracle\Ora81\jdbc\lib\nls_charset12.zip;
D:\Oracle\Ora81\jdbc\lib\classes111.zip;
F:\SOAP\soap-2_2\lib\jaf-1.0.1\activation.jar;
D:\Oracle\Ora8\Apache\Jsdk\src\javax\servlet\http;
D:\Oracle\Ora81\Apache\Jsdk\src\javax\servlet;
D:\Oracle\Ora81\lib;
F:\ant\jakarta-ant1.\bin;
E:\weblogic\oci\classes;
E:\weblogic\oci\classes\weblogic\xml\license;
E:\weblogic\oci\license;
E:\bea\wlserver6.1\lib;
E:\PetStoreHome\petstore1.3;
Following is the configuration.
#Oracle thin driver Method #2
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@test:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=1,\
props=user=xxx;password=xxx;server=test
#Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.thin=thin
# Add an ACL for the connection pool:
weblogic.allow.reserve.weblogic.jdbc.connectionPool.thin=everyone
I did append the file weblogic.properties with the above config. Now when I start
the Weblogic server I get the following error :
Starting WebLogic Server ....
<Nov 29, 2001 2:24:16 PM EST> <Notice> <Management> <Loading configuration file
.\config\petstore\config.xml ...>
<Nov 29, 2001 2:24:22 PM EST> <Notice> <WebLogicServer> <Starting WebLogic Admin
Server "petstoreServer" for domain "petstore">
<Nov 29, 2001 2:24:26 PM EST> <Notice> <Management> <Starting discovery of Manag
ed Server... This feature is on by default, you may turn this off by passing -Dw
eblogic.management.discover=false>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(jdbcthin.SignOnDB) can't be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(jdbcthin.EstoreDB) can't be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(jdbcthin.InventoryDB) can't be
cr
eated with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data Source creation:
weblogic.common.ResourceException: DataSource(weblogic.jdbc.jts.thin) can't be
created with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <Management> <Application Poller not star
ted for production server.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, your browser should
automatically launch and point to the WebLogic Server
Tour running on this server. If your browser fails to
launch, point your browser to the URL
"http://burtsun:7001"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <ListenThread listening
on port 7001>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <SSLListenThread listeni
ng on port 7002>
<Nov 29, 2001 2:24:42 PM EST> <Notice> <WebLogicServer> <Started WebLogic Admin
Server "petstoreServer" for domain "petstore" running in Production Mode>
Could anyone please help me ?
Thanks
..MadhuriMadhuri wrote:
>
Hi Joe !
I didn't get what you would like to point out. Actully, I am using same config.,
but not to disclose the info. I gave you @test and username/password xxx/xxx.Ok. Now, assuming your pool looks like what I showed, the issue is probably
that there are multiple Oracle driver zips around, and your standlaone program
is using a different, newer, better one than the server. Our weblogic jar files
include a classes12.zip Oracle thin driver, but there are multiple versions of
classes12.zip, and the latest from oracle is better than the one we sealed into
our packaging. Please use jave -verbose to identify exactly which Oracle sip file
you are using in the successful case, then make sure this zip file comes before
any weblogic stuff in your weblogic server's classpath, so we'll use the same
driver. This should work. Edit the script you sue to start weblogic to verify
the classpath does end up with the oracle driver ahead of all weblogic stuff.
Joe
>
Please let me know.
Thanks
.Madhuri
Joseph Weinstein <[email protected]> wrote:
Madhuri wrote:
Hi Joe !
Here is the sample java code. Please let me know how I can test thisin weblogic
6.1.
Thanks
.MadhuriWell fine! That was easy. Your pool definition didn't have the same URL
or
user or password as this code. Try this for your pool definition:
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@adl-gbsdevel:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=10,\
maxCapacity=10,\
capacityIncrement=1,\
testConnsOnReserve=true,\
testTable=dual,\
props=user=mkelkar;password=mkelkar
Let me know,,,
Joe
Joseph Weinstein <[email protected]> wrote:
The key is in the log:
Could not create pool connection.
The DBMS driver exception was:
java.sql.SQLException: invalid arguments in call
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
Now we need to simplify the problem. Please make a simple 15-line
standalone
Java program like you'd find with the Oracle driver's examples, with
no
weblogic code in the picture. Just make a JDBC connection using Oracle's
driver, and show me that code. Then I can translate that into a pool
definition.
Joe
Madhuri wrote:
Hi Joe !
Thanks for your prompt reply. I tried the way you suggested but
it
still it gives
me the same error. I am attching here the weblogic.log file.
Thanks again
..Madhuri
Joseph Weinstein <[email protected]> wrote:
We'd want to see the log during booting, where the pool
is being created to see why that failed. Try a pool
definition with no blank lines, no whitespace at the
end of lines, and no server property. The thin driver
doesn't like that:
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@test:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=1,\
props=user=xxx;password=xxx
Joe
Madhuri wrote:
Hi !
I have tried to create a connection pool from adminconsole. My
CLASSPATH
setting
is as follows :
F:\SOAP\soap-2_2\lib;F:\SOAP\soap-2_2;
D:\Oracle\Ora81\jdbc\lib\classes12.zip;
D:\Oracle\Ora81\jdbc\lib\nls_charset12.zip;
D:\Oracle\Ora81\jdbc\lib\classes111.zip;
F:\SOAP\soap-2_2\lib\jaf-1.0.1\activation.jar;
D:\Oracle\Ora8\Apache\Jsdk\src\javax\servlet\http;
D:\Oracle\Ora81\Apache\Jsdk\src\javax\servlet;
D:\Oracle\Ora81\lib;
F:\ant\jakarta-ant1.\bin;
E:\weblogic\oci\classes;
E:\weblogic\oci\classes\weblogic\xml\license;
E:\weblogic\oci\license;
E:\bea\wlserver6.1\lib;
E:\PetStoreHome\petstore1.3;
Following is the configuration.
#Oracle thin driver Method #2
weblogic.jdbc.connectionPool.thin=\
url=jdbc:oracle:thin:@test:1521:PROJECT,\
driver=oracle.jdbc.driver.OracleDriver,\
initialCapacity=4,\
maxCapacity=10,\
capacityIncrement=1,\
props=user=xxx;password=xxx;server=test
#Add a TXDataSource for the connection pool:
weblogic.jdbc.TXDataSource.weblogic.jdbc.jts.thin=thin
# Add an ACL for the connection pool:
weblogic.allow.reserve.weblogic.jdbc.connectionPool.thin=everyone
I did append the file weblogic.properties with the above config.
Now
when I start
the Weblogic server I get the following error :
Starting WebLogic Server ....
<Nov 29, 2001 2:24:16 PM EST> <Notice> <Management> <Loading
configuration
file
\config\petstore\config.xml ...>
<Nov 29, 2001 2:24:22 PM EST> <Notice> <WebLogicServer> <Starting
WebLogic
Admin
Server "petstoreServer" for domain "petstore">
<Nov 29, 2001 2:24:26 PM EST> <Notice> <Management> <Starting
discovery
of Manag
ed Server... This feature is on by default, you may turn this
off
by
passing -Dw
eblogic.management.discover=false>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(jdbcthin.SignOnDB)
can't
be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(jdbcthin.EstoreDB)
can't
be creat
ed with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(jdbcthin.InventoryDB)can't be
cr
eated with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:35 PM EST> <Error> <JDBC> <Error during Data
Source
creation:
weblogic.common.ResourceException: DataSource(weblogic.jdbc.jts.thin)can't be
created with non-existent Pool (connection or multi) (thin)>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <Management> <Application
Poller
not star
ted for production server.>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
After the server has booted, your browser should
automatically launch and point to the WebLogic Server
Tour running on this server. If your browser fails to
launch, point your browser to the URL
"http://burtsun:7001"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <ListenThreadlistening
on port 7001>
<Nov 29, 2001 2:24:41 PM EST> <Notice> <WebLogicServer> <SSLListenThreadlisteni
ng on port 7002>
<Nov 29, 2001 2:24:42 PM EST> <Notice> <WebLogicServer> <Started
WebLogic
Admin
Server "petstoreServer" for domain "petstore" running in ProductionMode>
Could anyone please help me ?
Thanks
..Madhuri
Name: weblogic.log
weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
Encoding: base64
Name: PrintColumns.java
PrintColumns.java Type: Visual Cafe File (application/x-unknown-content-type-VisualCafeFile.Document)
Encoding: base64 -
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,
KeithHi. 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 -
CF8 on Weblogic 10.0 and Apache
I am trying to configure CF8 as an EAR file on Weblogic 10.0
and configuring it with Apache webserver. The settings for Weblogic
are made as mentioned in the configuration document and CF8 is
working fine on Weblogic.
Now for Apache connectivity, a connector is configured for
Weblogic which handles *.cfm files requests as well.
- The CFM files are kept in webserver and when I try to open
a cfm file, the proxy is getting invoked but since Weblogic doesn't
find the file URI it returns 404.
- Please let me know how can the CFM files kept on Webserver
be rendered using CF8 deployed on Weblogic
Or there is a need for these files to be kept on the Weblogic
Appserver onlysam_cf09 wrote:
> Can the CFM files be a part of any WAR file deployed on
Weblgic and Cold
> fusion will take care of rendering them
Sure. If you want to put a file example.cfm in a WAR file,
put it in the
root of the WAR. Your folder structure will look something
like:
WAR/
WAR/example.cfm
WAR/WEB-INF
WAR/WEB-INF/web.xml
WAR/WEB-INF/*
WAR/WEB-INF/cfusion
WAR/WEB-INF/cfusion/lib/
etc.
Then if you have a context root "/test" in your
Application.xml you can
reach your template through the URL
http://server/test/example.cfm
The best way to get a WAR (or EAR) file for deployment is to
run the
installer. It has the option to generate a WAR or EAR for
you. Use that,
then later unjar it to see how it looks internally.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion
Maybe you are looking for
-
How does one sync or use an external hard drive with Aplle TV?
I have a 1 terabyte hard drive loaded with mp4 movies. I'd like to have my itunes library read from it and display these movies on my TV. can i do this without moving my entire itunes library to the external drive and if so how can it be done?
-
Lenovo Model T420 Drivers needed - help!!!
Hi there, can someone help, these are the drivers I need: Standard VGA Graphics Adapter Base System Device Ethernet Controller Network Controller PCI Serial Port PCI Simple Communication Controller SM Bus Controller Could someone please point me in t
-
Access to Database Access from JDBC
Hello, I have a RFC to JDBC scenario. The database is on a different machine to the XI, but from XI is going to map a drive to see the database. In the communication channel I specified the drive with the rest of the path: jdbc:odbc:Driver={Microsoft
-
Key edit mapping has no information...
Hi Guru's, I am trying to syndicate back articles from MDM to SAP..I have to manually enter Key mapping for each record( without which they dont send information).. How can we automate this in MDM ,so that as soon as new record is created in MDM we h
-
WRT54GS cannot be configured, need help!!!!
Ok.. I am getting so lost. I will try to explain the best I can what is going on. I just bought the Wireless G router with speedbooster and put the CD in to set it up, did everything it told me to do on the screen as far as pluggin cables in yada y