Error loading weblogic apache plug-in
HPUX11i
Apache 2.0.55
WebLogic 8.13
I am following the instructions on how to configure the Weblogic Apache plug-in:
http://e-docs.bea.com/wls/docs81/plugins/apache.html#119517
When I attempt to verify the syntax of the http.conf or attempt to start apache, I get the following error:
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage:
/usr/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 247 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_wl_20.so into server: Exec format error
Any ideas on how to fix this?
Thanks.
We will be making a port of the plug-in in the future. You should contact
your account manager who can supply the full details.
Thanks,
Michael Girdley
WLS Product Manager
Ken <kenw{noSpam]@lostwax.com> wrote in message
news:8cej50$dsu$[email protected]..
> I've just read about the WebLogic Apache plug-in that's new in 5.1 :-)
>
> Am I right to assume that this plug-in only works for Apache running on
> Solaris? :-(
>
> I'm running Apache (Stronghold actually) on Linux and I need to use this
to
> proxy JSP request to my Weblogic Servers running on Solaris - any
thoughts?
>
> Ken
>
>
Similar Messages
-
I've just read about the WebLogic Apache plug-in that's new in 5.1 :-)
Am I right to assume that this plug-in only works for Apache running on
Solaris? :-(
I'm running Apache (Stronghold actually) on Linux and I need to use this to
proxy JSP request to my Weblogic Servers running on Solaris - any thoughts?
Ken
We will be making a port of the plug-in in the future. You should contact
your account manager who can supply the full details.
Thanks,
Michael Girdley
WLS Product Manager
Ken <kenw{noSpam]@lostwax.com> wrote in message
news:8cej50$dsu$[email protected]..
> I've just read about the WebLogic Apache plug-in that's new in 5.1 :-)
>
> Am I right to assume that this plug-in only works for Apache running on
> Solaris? :-(
>
> I'm running Apache (Stronghold actually) on Linux and I need to use this
to
> proxy JSP request to my Weblogic Servers running on Solaris - any
thoughts?
>
> Ken
>
>
-
Error in configuring apache plug in with weblogic 8.1.5
I tried to configure Apache 2.2 plugin with weblogic 8.1 SP 5 in Linux ES 4.0 . I am getting the following error while loading weblogic_module in httpd.conf file in Apache server (restarting apache server after putting entries in httpd.conf).. The error is httpd: Syntax error on line 414 of /usr/local/apache2/conf/httpd.conf: API module structure `weblogic_module' in file /usr/local/apache2/modules/mod_wl_20.so is garbled - perhaps this is not an Apache module DSO?
Did anyone got this error before?The solution is for BEA to provide the plug-in. Probably a few minutes of a work for BEA developer. Weblogic 9.0 has it.
Edited by muralive at 09/17/2007 10:08 PM -
Error loading weblogic.servlet.WlwJSPServlet
Hello
Has anyone encountered the following exception in workshop when adding a process
or web project while the server is running.
Exception:weblogic.management.ApplicationException: prepare failed for Untitled
Module: Untitled Error: Could not load Untitled: weblogic.managem
ent.DeploymentException: [HTTP:101283]ServletContext(id=15265733,name=Untitled,c
ontext-path=/Untitled): jspServlet "weblogic.servlet.WlwJSPServlet" defined in
w
eblogic.xml could not be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
I did not use any of the predefined domains, so is it possible that I am missing
something while configuring my own.
ThanksProbably. You need a Workshop-enabled domain to run webapps from
Workshop. I know that weblogic.servlet.WlwJSPServlet is in
server/lib/knex.jar, but I'm not sure what other jars are required in
the system classpath.
You'll either want to use a Workshop domain from the Config Wizard, or
generate a Workshop domain from the Config Wizard and see what the
system classpath is for the server and use that in your startup script.
For processes to work, you need an Integration domain and its system
classpath.
Greg
Mike G wrote:
Hello
Has anyone encountered the following exception in workshop when adding a process
or web project while the server is running.
Exception:weblogic.management.ApplicationException: prepare failed for Untitled
Module: Untitled Error: Could not load Untitled: weblogic.managem
ent.DeploymentException: [HTTP:101283]ServletContext(id=15265733,name=Untitled,c
ontext-path=/Untitled): jspServlet "weblogic.servlet.WlwJSPServlet" defined in
w
eblogic.xml could not be loaded.
java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
I did not use any of the predefined domains, so is it possible that I am missing
something while configuring my own.
Thanks -
Configuring WebLogic Apache plug-in
I think the answer to this question is no but I'm going to ask anyway...
Is it possible to configure Apache to proxy requests to managed weblogic servers
on one physical machine only? we have a cluster containing 4 managed weblogics
spanning 2 physical machines and would prefer to have one machine be like our
primary server and the other machine as our secondary server.
Replication groups do not do the trick as it is a feature of WLS that tells it
how to handle the backup of session state information to another server in the
cluster (aside from the default algorithm WLS uses)The solution is for BEA to provide the plug-in. Probably a few minutes of a work for BEA developer. Weblogic 9.0 has it.
Edited by muralive at 09/17/2007 10:08 PM -
I have now seen 3 messages about other users encountering the following error message on Weblogic startup:
<Emergency> <WebLogicServer> <Unable to create a server socket for port: 7002. java.net.BindException: Address in use: JVM_Bind perhaps another process is using port 7001.>
I have experienced this problem running under Windows 2000. I have shut down all other programs on the PC and still receive this fatal error message.Hi,
Do a 'netstat -an' from the command prompt and make sure that nothing is already listening on the subject port. Stopping all programs does not necessarily do it. There can be
many services running, one of which may have the ip/port bound.
Bill
jon kaplan wrote:
I have now seen 3 messages about other users encountering the following error message on Weblogic startup:
<Emergency> <WebLogicServer> <Unable to create a server socket for port: 7002. java.net.BindException: Address in use: JVM_Bind perhaps another process is using port 7001.>
I have experienced this problem running under Windows 2000. I have shut down all other programs on the PC and still receive this fatal error message. -
On : Apache 2.0 , Weblogic 7.0, Win 2000
I installed the Apache plug-in for as described in WL docs, but when I try to
access a URL /weblogic/ ( supposed to be configured automatically ) on apache,
I get '404 : file not found' error.
As per the docs, I did following config in Apache:
1. Copied the 'mod_wl_20.so' file found in WLHOME\server\bin directory to the
APACHE_HOME\modules directory
2. Added to httpd.conf :
LoadModule weblogic_module modules/mod_wl_20.so
3. Apache httpd.conf syntax correct : checked by running ' APACHE_HOME\bin\Apache
-t '
4. Restarted WL & Apache.
Now, the weblogic documentation says,
"Test the Apache plug-in by opening a browser and setting the URL to the Apache
Server + "/weblogic/", which should bring up the default WebLogic Server HTML
page, welcome file, or default servlet, as defined for the default Web Application
on WebLogic Server. For example:
http://myApacheserver.com/weblogic/".
For my server, 'http://localhost/weblogic/' - I get a "404 : file not found" error.
What other configuration is needed ? Do I have to specify '/weblogic/' name anywhere
else in Apache configuration file ?
Any pointers will be appreciated.
Thanks,
SForgot to mention , I've also added following configuration in httpd.conf :
LoadModule weblogic_module modules\mod_wl_20.so
<IfModule mod_weblogic.c>
WebLogicHost localhost
WebLogicPort 7501
</IfModule>
<Location /weblogic>
SetHandler weblogic-handler
PathTrim /weblogic
</Location>
"S" <[email protected]> wrote:
>
On : Apache 2.0 , Weblogic 7.0, Win 2000
I installed the Apache plug-in for as described in WL docs, but when
I try to
access a URL /weblogic/ ( supposed to be configured automatically ) on
apache,
I get '404 : file not found' error.
As per the docs, I did following config in Apache:
1. Copied the 'mod_wl_20.so' file found in WLHOME\server\bin directory
to the
APACHE_HOME\modules directory
2. Added to httpd.conf :
LoadModule weblogic_module modules/mod_wl_20.so
3. Apache httpd.conf syntax correct : checked by running ' APACHE_HOME\bin\Apache
-t '
4. Restarted WL & Apache.
Now, the weblogic documentation says,
"Test the Apache plug-in by opening a browser and setting the URL to
the Apache
Server + "/weblogic/", which should bring up the default WebLogic Server
HTML
page, welcome file, or default servlet, as defined for the default Web
Application
on WebLogic Server. For example:
http://myApacheserver.com/weblogic/".
For my server, 'http://localhost/weblogic/' - I get a "404 : file not
found" error.
What other configuration is needed ? Do I have to specify '/weblogic/'
name anywhere
else in Apache configuration file ?
Any pointers will be appreciated.
Thanks,
S -
Error NO_RESOURCES when using Apache Plug-in for Weblogic
Hi all,
LoadModule weblogic_module modules/mod_wl.so
OS.....: OEL 6.3 64 bits
Weblogic Server: 12.1.0.2 (192.168.0.123)
Apache: Apache/2.2.15 (Unix) (192.168.0.149)
I am trying to configure the Apache Plug-in to forward the requests to the Weblogic Server. I already did all the configuration, but when i try to access a page, i get the following error in Apache's error.log:
[Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: *******Exception type [NO_RESOURCES] (apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 ) raised at line 1682 of URL.cpp
[Wed Dec 03 18:25:42 2014] [error] [client 192.168.0.149] weblogic: Trying GET /benefits/ at backend host '192.168.0.123/7006; got exception 'NO_RESOURCES: [os error=13, line 1682 of URL.cpp]: apr_socket_connect call failed with error=13, host=192.168.0.123, port=7006 '
[Wed Dec 03 18:25:44 2014] [error] [client 192.168.0.149] <649114176419322> weblogic: request [/benefits/] did NOT process successfully..................
My httpd.conf if configured as follows:
Listen 8080
LoadModule weblogic_module modules/mod_wl.so
<IfModule mod_weblogic.c>
WeblogicHost 192.168.0.123
WeblogicPort 7006
</IfModule>
<Location /benefits>
SetHandler weblogic-handler
</Location>
When i try to access the app deployed in Weblogic with the following address: "http://192.168.0.149:8080/benefits/" , i get the error mentioned above and the following error is displayed in my browser:
Failure of Web Server bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.
What am i doing wrong?
Thanks in advance.Hi all,
I had some progress... i disabled the firewall (SELinux) on the Apache server. Before, i had just disabled the firewall from the Weblogic Server. Now, when i access the apache server, it redirects (sometimes, actually) the request to my Weblogic Cluster. Let's say that 50% of the time it works and the other 50% i get the error informed previously.
I am using the apache user and the ulimit of this user is:
[apache@vm-apache conf]$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 15915
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 1024
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
From the Apache server (192.168.0.149), when i execute the "culr" command, i get the following message:
[apache@vm-apache conf]$ curl http://192.168.0.123:7006/benefits
<html><head><title>302 Moved Temporarily</title></head>
<body bgcolor="#FFFFFF">
<p>This document you requested has moved temporarily.</p>
<p>It's now at <a href="http://192.168.0.123:7006/benefits/">http://192.168.0.123:7006/benefits/</a>.</p>
</body></html>
The message above represents a OK situation or a problematic one?
Below you can see the last few lines of my Error Log and Access Log:
### error log ###
[Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340514189468553> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
[Thu Dec 18 20:54:16 2014] [error] [client 192.168.0.123] <340314189468563> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
[Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico
[Thu Dec 18 20:54:17 2014] [error] [client 192.168.0.123] File does not exist: /var/www/html/favicon.ico
[Thu Dec 18 20:54:21 2014] [error] [client 192.168.0.123] <340114189468603> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/
[Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID
[Thu Dec 18 20:54:44 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: initJVMID: parseClusterServerList failure
[Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: parseJVMID: could not resolve hostname '-1062731653'. Returning NULL from parseJVMID, referer: http://192.168.0.149:8080/benefits/servlet
[Thu Dec 18 20:54:45 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: initJVMID: parseClusterServerList failure, referer: http://192.168.0.149:8080/benefits/servlet
[Thu Dec 18 20:54:56 2014] [error] [client 192.168.0.149] <339814189468792> weblogic: request [/benefits/welcome.html] did NOT process successfully..................
[Thu Dec 18 20:54:57 2014] [error] [client 192.168.0.123] <339914189468844> weblogic: request [/benefits/welcome.html] did NOT process successfully.................., referer:http://192.168.0.149:8080/benefits/servlet
### access log ###
192.168.0.123 - - [18/Dec/2014:20:54:15 -0300] "GET /benefits HTTP/1.1" 302 267 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:16 -0300] "GET /benefits/ HTTP/1.1" 200 5832 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:17 -0300] "GET /favicon.ico HTTP/1.1" 404 290 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:20 -0300] "POST /benefits/servlet HTTP/1.1" 200 492 "http://192.168.0.149:8080/benefits/" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.149 - - [18/Dec/2014:20:54:39 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
192.168.0.123 - - [18/Dec/2014:20:54:44 -0300] "GET /benefits/welcome.html HTTP/1.1" 503 250 "http://192.168.0.149:8080/benefits/servlet" "Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120605 Firefox/10.0.5"
Is there any additional or recommended configuration for this solution to work properly?
Thanks again for the attention and pacience. -
Apache plug-in won't load balance requests evenly on cluster
I can't seem to get the Apache plug-in to actually do round-robin load balancing
of HTTP
requests. It does random-robin, as I like to call it, since the plug-in will usually
hit all the
servers in the cluster but in a random fashion.
I've got three managed servers:
192.168.1.5:8001 (WL6 on Linux) 192.168.1.2:8001 (WL6 on Linux) 192.168.1.7:8001
(WL6 on Linux)
Admin server on 192.168.1.7:7000 (WL6 on W2k)
My Apache server is 1.3.9 (RedHat SSL) on 192.168.1.52.
The log file for each servers has something like this:
####<Apr 19, 2001 1:18:54 AM MDT> <Info> <Cluster> <neptune> <cluster1server1>
<main> <system> <> <000102> <Joined cluster cluster1 at address 225.0.0.5 on port
8001>
####<Apr 19, 2001 1:19:31 AM MDT> <Info> <Cluster> <neptune> <cluster1server1>
<ExecuteThread: '9' for queue: 'default'> <> <> <000127> <Adding
3773576126129840579S:192.168.1.2:[8001,8001,7002,7002,8001,7002,-1]:192.168.1.52
to the cluster> ####<Apr 19, 2001 1:19:31 AM MDT> <Info> <Cluster> <neptune>
<cluster1server1> <ExecuteThread: '11' for queue: 'default'> <> <> <000127> <Adding
-6393447100509727955S:192.168.1.5:[8001,8001,7002,7002,8001,7002,-1]:192.168.1.52
to the cluster>
So I believe I have correctly created a cluster, although I did not bother to
assign
replication groups for HTTP session replication (yet).
The Apache debug output indicates it knows about all three servers and I can see
it
doing the "random-robin" load balancing. Here is the output:
Thu Apr 19 00:20:53 2001 Initializing lastIndex=2 for a list of length=3 Thu Apr
19
00:20:53 2001 Init Srvr# [1] = [192.168.1.2:8001] load=1077584792 isGood=1077590272
numSk ip=134940256 Thu Apr 19 00:20:53 2001 Init Srvr# [2] = [192.168.1.5:8001]
load=1077584792 isGood=1077590272 numSk ip=134940256 Thu Apr 19 00:20:53 2001
Init Srvr# [3] = [192.168.1.7:8001] load=1077584792 isGood=1077590272 numSk
ip=134940256 Thu Apr 19 00:20:53 2001 INFO: SSL is not configured Thu Apr 19
00:20:53 2001 Now trying whatever is on the list; ci->canUseSrvrList = 1 Thu Apr
19
00:20:53 2001 INFO: New NON-SSL URL Thu Apr 19 00:20:53 2001 general list: trying
connect to '192.168.1.7'/8001 Thu Apr 19 00:20:53 2001 Connected to 192.168.1.7:8001
Thu Apr 19 00:20:53 2001 INFO: sysSend 320 Thu Apr 19 00:20:53 2001 INFO:
Reader::fill(): first=0 last=0 toRead=4096 Thu Apr 19 00:21:06 2001 parsed all
headers
OK Thu Apr 19 00:21:06 2001 Initializing lastIndex=1 for a list of length=3 Thu
Apr 19
00:21:06 2001 ###Response### : Srvr# [1] = [192.168.1.5:8001] load=1077584792
isGood=1077 546628 numSkip=1077546628 Thu Apr 19 00:21:06 2001 ###Response###
: Srvr# [2] = [192.168.1.2:8001] load=1077584792 isGood=1077 546628
numSkip=1077546628 Thu Apr 19 00:21:06 2001 ###Response### : Srvr# [3] =
[192.168.1.7:8001] load=1077584792 isGood=1077 546628 numSkip=1077546628 Thu Apr
19 00:21:06 2001 INFO: Reader::fill(): first=0 last=0 toRead=4096
Basically, the lastIndex=XXX appears to be random. It may do round-robin for 4
or 5
connections but then always it resorts to randomly directing new connections.
This is what the configuration looks like using the plug-in's
/weblogic?__WebLogicBridgeConfig URL:
Weblogic Apache Bridge Configuration parameters:
WebLogic Cluster List:
1.Host: '192.168.1.2' Port: 8001 Primary
General Server List:
1.Host: '192.168.1.2' Port: 8001
2.Host: '192.168.1.5' Port: 8001
3.Host: '192.168.1.7' Port: 8001
DefaultFileName: ''
PathTrim: '/weblogic'
PathPrepend: '' ConnectTimeoutSecs:
'10' ConnectRetrySecs: '2'
HungServerRecoverSecs: '300'
MaxPostSize: '0'
StatPath: false
CookieName: JSESSIONID
Idempotent:
ON FileCaching:
ON ErrorPage: ''
DisableCookie2Server: OFF
Can someone please help to shed some light on this? I would be really grateful,
thanks!
JeffRight - it means that the only configuration which can do perfect round-robin is a
single plugin (non-Apache, or single-process Apache) - all others essentially do random
(sort of, but it can skew test results during first N requests).
Robert Patrick <[email protected]> wrote:
Dimitri,
The way Apache works is that is spawns a bunch of child processes and the parent process
that listens on the port delegates the processing of each request to one of the child
processes. This means that the load-balancing dome by the plugin before the session ID is
assigned does not do perfect round-robining because there are multiple copies of the plugin
loaded in the multiple child processes. This situation is similar to the one you would get
by running multiple proxy servers on different machines with the NES/iPlanet and IIS
plugins.
As I pointed out in my response to Jeff, attempting to address this problem with IPC
machanisms would only solve the single machine problem and most people deploy multiple
proxy servers to avoid a single point of failure...
Hope this helps,
Robert
Dimitri Rakitine wrote:
Hrm. This is strange - I thought that all the information nesessary for a
'sticky' load-balancing (primary/secondary) is contained in the cookie/session info,
so, the particular plug-in implementation should not make any difference. For
load-balancing - statistically, given large enough sampling base, Apache plug-in
should perform just a well as NS one (unless apache is somehow misconfigured and
calls fork() for each new request).
Jeff Calog <[email protected]> wrote:
Robert,
Thanks for the sanity reply, you are definitely right. I used Netscape 3.0 on
Win2k and it did perfect round-robin load balancing to my servers.
<raving>
BEA - ARE YOU LISTENING? STOP TELLING PEOPLE YOUR APACHE PLUG-IN IS A VIABLE
LOAD BALANCING SOLUTION! It's worthless for load balancing!
</raving>
In some tests, as many as 90% of my connections/requests would be sent to a single
server. There should be something in the release notes like "By the way, the
Apache plug-in is only advertised as doing round-robin load balancing, in reality
it doesn't work worth a darn".
I'm surprised they don't used shared memory or some other technique (pipes, sockets,
signals, writing to /tmp, anything) for interprocess communication to fix that.
Jeff
Robert Patrick <[email protected]> wrote:
Yes, the problem lies in the fact that Apache uses multiple processes
instead of
multiple threads to process requests. Therefore, you end up with multiple
processes all
with the WebLogic plugin loaded into them (and they cannot see one another)...
Hopefully, Apache 2.0 when it comes out will allow the plugin to do a
better job...
Jeff Calog wrote:
I can't seem to get the Apache plug-in to actually do round-robin loadbalancing
of HTTP
requests. It does random-robin, as I like to call it, since the plug-inwill usually
hit all the
servers in the cluster but in a random fashion.
I've got three managed servers:
192.168.1.5:8001 (WL6 on Linux) 192.168.1.2:8001 (WL6 on Linux) 192.168.1.7:8001
(WL6 on Linux)
Admin server on 192.168.1.7:7000 (WL6 on W2k)
My Apache server is 1.3.9 (RedHat SSL) on 192.168.1.52.
The log file for each servers has something like this:
####<Apr 19, 2001 1:18:54 AM MDT> <Info> <Cluster> <neptune> <cluster1server1>
<main> <system> <> <000102> <Joined cluster cluster1 at address 225.0.0.5on port
8001>
####<Apr 19, 2001 1:19:31 AM MDT> <Info> <Cluster> <neptune> <cluster1server1>
<ExecuteThread: '9' for queue: 'default'> <> <> <000127> <Adding
3773576126129840579S:192.168.1.2:[8001,8001,7002,7002,8001,7002,-1]:192.168.1.52
to the cluster> ####<Apr 19, 2001 1:19:31 AM MDT> <Info> <Cluster><neptune>
<cluster1server1> <ExecuteThread: '11' for queue: 'default'> <> <><000127> <Adding
-6393447100509727955S:192.168.1.5:[8001,8001,7002,7002,8001,7002,-1]:192.168.1.52
to the cluster>
So I believe I have correctly created a cluster, although I did notbother to
assign
replication groups for HTTP session replication (yet).
The Apache debug output indicates it knows about all three serversand I can see
it
doing the "random-robin" load balancing. Here is the output:
Thu Apr 19 00:20:53 2001 Initializing lastIndex=2 for a list of length=3Thu Apr
19
00:20:53 2001 Init Srvr# [1] = [192.168.1.2:8001] load=1077584792 isGood=1077590272
numSk ip=134940256 Thu Apr 19 00:20:53 2001 Init Srvr# [2] = [192.168.1.5:8001]
load=1077584792 isGood=1077590272 numSk ip=134940256 Thu Apr 19 00:20:532001
Init Srvr# [3] = [192.168.1.7:8001] load=1077584792 isGood=1077590272numSk
ip=134940256 Thu Apr 19 00:20:53 2001 INFO: SSL is not configured ThuApr 19
00:20:53 2001 Now trying whatever is on the list; ci->canUseSrvrList= 1 Thu Apr
19
00:20:53 2001 INFO: New NON-SSL URL Thu Apr 19 00:20:53 2001 generallist: trying
connect to '192.168.1.7'/8001 Thu Apr 19 00:20:53 2001 Connected to192.168.1.7:8001
Thu Apr 19 00:20:53 2001 INFO: sysSend 320 Thu Apr 19 00:20:53 2001INFO:
Reader::fill(): first=0 last=0 toRead=4096 Thu Apr 19 00:21:06 2001parsed all
headers
OK Thu Apr 19 00:21:06 2001 Initializing lastIndex=1 for a list oflength=3 Thu
Apr 19
00:21:06 2001 ###Response### : Srvr# [1] = [192.168.1.5:8001] load=1077584792
isGood=1077 546628 numSkip=1077546628 Thu Apr 19 00:21:06 2001 ###Response###
: Srvr# [2] = [192.168.1.2:8001] load=1077584792 isGood=1077 546628
numSkip=1077546628 Thu Apr 19 00:21:06 2001 ###Response### : Srvr#[3] =
[192.168.1.7:8001] load=1077584792 isGood=1077 546628 numSkip=1077546628Thu Apr
19 00:21:06 2001 INFO: Reader::fill(): first=0 last=0 toRead=4096
Basically, the lastIndex=XXX appears to be random. It may do round-robinfor 4
or 5
connections but then always it resorts to randomly directing new connections.
This is what the configuration looks like using the plug-in's
/weblogic?__WebLogicBridgeConfig URL:
Weblogic Apache Bridge Configuration parameters:
WebLogic Cluster List:
1.Host: '192.168.1.2' Port: 8001 Primary
General Server List:
1.Host: '192.168.1.2' Port: 8001
2.Host: '192.168.1.5' Port: 8001
3.Host: '192.168.1.7' Port: 8001
DefaultFileName: ''
PathTrim: '/weblogic'
PathPrepend: '' ConnectTimeoutSecs:
'10' ConnectRetrySecs: '2'
HungServerRecoverSecs: '300'
MaxPostSize: '0'
StatPath: false
CookieName: JSESSIONID
Idempotent:
ON FileCaching:
ON ErrorPage: ''
DisableCookie2Server: OFF
Can someone please help to shed some light on this? I would be reallygrateful,
thanks!
Jeff
Dimitri--
Dimitri -
Weblogic 8.1 Apache Plug-In
Where can I find the plug-in for WLS 8.1/Apache 2.0/Windows 2003?
Hi Vishwas,
Thank you for the reply. I forgot to mention that Apache and WebLogic are on Solaris 9 platform.
Accesing a webapp hosted on WebLogic through Apache->plug-in->WebLogic return 500 internal server error, but other webapps hosted on the same WebLogic domain works properly. Looking at the Response Hdrs from WebLogic shows that WLS returns transfer-encoding=chunked. The other webapps which work properly has content-length set and transfer-encoding is not chunked.
So, the question is does Apache Plug-in for weblogic 8.1 SP5 read the chunked data properly?
Thanks,
Janani -
Apache plug-in cannot connect to Unix-based WebLogic
I have a WebLogic cluster set up that includes one Unix and 2 NT instances. Using
the HttpServletCluster proxy I can connect to all 3 instances (although I haven't
got the round-robin load balancing to work properly). Now I switched to Apache
1.3.22 on Solaris 8 as the proxy. My httpd.conf contains:
<VirtualHost *>
ServerName unixbox1.domain
<Location /abcd >
SetHandler weblogic-handler
WebLogicCluster unixbox1:2001,ntbox1:2001,ntbox2:2001
Debug ON
DebugConfigInfo ON
</Location>
</VirtualHost>
The strange things is, Apache can connect to the 2 NT boxes, but not the Unix
box. If I shut down the NT instances and leave the Unix box running, Apache will
return an error. The Apache log file contains this error:
[Wed Aug 28 13:49:51 2002] [error] CONNECTION_REFUSED [os error=146, line 1532
of ap_proxy.cpp]:
Is there something wrong with my configuration?
Eric Ma
It does not matter, but it is better always to use the latest binary.
Eric Ma wrote:
> It just occurred to me that we are running WebLogic 6.1 SP3, but the mod_wl.so
> we installed under the Apache home is the one that came with WebLogic 6.1 SP2.
> Does it matter?
>
> Eric Ma
>
> "Eric Ma" <[email protected]> wrote:
> >
> >I have a WebLogic cluster set up that includes one Unix and 2 NT instances.
> > Using
> >the HttpServletCluster proxy I can connect to all 3 instances (although
> >I haven't
> >got the round-robin load balancing to work properly). Now I switched
> >to Apache
> >1.3.22 on Solaris 8 as the proxy. My httpd.conf contains:
> >
> ><VirtualHost *>
> >ServerName unixbox1.domain
> > <Location /abcd >
> > SetHandler weblogic-handler
> > WebLogicCluster unixbox1:2001,ntbox1:2001,ntbox2:2001
> > Debug ON
> > DebugConfigInfo ON
> > </Location>
> ></VirtualHost>
> >
> >The strange things is, Apache can connect to the 2 NT boxes, but not
> >the Unix
> >box. If I shut down the NT instances and leave the Unix box running,
> >Apache will
> >return an error. The Apache log file contains this error:
> >
> >[Wed Aug 28 13:49:51 2002] [error] CONNECTION_REFUSED [os error=146,
> >line 1532
> >of ap_proxy.cpp]:
> >
> >Is there something wrong with my configuration?
> >
> >Eric Ma
Rajesh Mirchandani
Developer Relations Engineer
BEA Support
-
Weblogic 6.1/apache plug-in problem
I did test plugin with Apache/Solaris platform and it works well.
Unfortunatelly it fails with Apache/HP-UX 11.
Apache 1.3.26 doesn't even recognize it as valid module:
# ../bin/apachectl start
/usr/lib/pa20_64/dld.sl: '/opt/apache/libexec/mod_wl_ssl_raven.so' is
not a valid load module: Bad magic number
Syntax error on line 212 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/mod_wl_ssl_raven.so into server:
Invalid argument
../bin/apachectl start: httpd could not be started
I'm wondering did someone make it working on HP-UX 11 yet?
Thanks,
--jacek[email protected] (jacek) wrote in message news:<[email protected]>...
I did test plugin with Apache/Solaris platform and it works well.
Unfortunatelly it fails with Apache/HP-UX 11.
Apache 1.3.26 doesn't even recognize it as valid module:
# ../bin/apachectl start
/usr/lib/pa20_64/dld.sl: '/opt/apache/libexec/mod_wl_ssl_raven.so' is
not a valid load module: Bad magic numberWhen I looked at it twice it's kind of selfsexplantory. It just says
"I am 64 bit loader and I can't deal with this 32bit plugin".
My conclusion is that if you build 64 bit Apache don't expect it to
work with WebLogic plugins since all of them are 32 bit. Am I wrong?
Syntax error on line 212 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/mod_wl_ssl_raven.so into server:
Invalid argument
../bin/apachectl start: httpd could not be started
I'm wondering did someone make it working on HP-UX 11 yet?
Thanks,
--jacek -
Hardware Load Balancers and Cluster WebLogic Proxy Plug-in setting
Documentation states that we need to enable the Cluster WebLogic Proxy Plug-in setting when there is a proxy plugin or HttpClusterServlet configured.
We used to have Weblogic Proxy plugin and the setting is still there, also the proxy was replaced by the hardware loadbalancer. Everything works normally and no one complained, but I would assume that WebLogic Proxy Plug-in setting should not be applicable any longer.
Is it possibly harmful to have that setting there? Does it mean that the loadbalancer emulates WebLogic Proxy Plug-in and also need this set?
Thank youThe Weblogic Proxy Plug-in Enabled flag only affects the behavior of a WL proxy module (such as if you were using Apache to proxy to WL via the mod_wl.so module). The value controls what IP address is returned when you call request.getRemoteAddr() from your application. If not enabled, you will get the IP address of the web server that proxied the request. If enabled, you will get the remote client IP address (instead of the proxy IP address) facilitated by the WL-Proxy-Client-IP header. If you are no longer using a plug-in module, the setting will have no affect. Hope this helps...
-
Problem occured today -out of the blue.
(Windows XP)
Stated up as usual on Mondays.
Illustrator Error Loading Plug Ins
Advanced Select .aip
Char Para Styles .aip
Color Harmonies .aip
DxfDwg .aip
FHImport .aip
PNG File Format.aip
PhotoshopExport.aip
SVG File Format.aip
SWF Export.aip
Save For Web.aip
Segment Tools.aip
Tracing Suite.aip
Tracing UI.aip
Transparancy Panel .aip
Variables Panel.aip
Flare.aip
I did not recently make any updates or load any 3rd party plug-ins, and can find all the plug-ins in folders, but they will not load (have done restarts, etc)
Any Clues?
I Have the Instal DVDs, but unfortunately my Work PC does not have a DVD player (I downloaded from Adobe).I finally got my call from Level 2 support. The installation was failing because an Illustrator installation related "cab" file had apparantely been renamed to a "vir" file extension. I was installing from downloadeded and expanded files. This file extension change was probably done by my anti virus software (Panda).
I renamed the file and the installation of Illustrator was successful. The cause of the original problem, (unable to load plug-ins) is unknown. Maybe a random corruption or perhaps caused by a Windows Update. But now everything is re-installed and seems to be working.
The level 2 person's level of support was great. I think they are very understaffed hence the long wait for a call back. -
I just installed a trial version of CS5.5 and I am getting an error message when loading Illustrator. It tells me Error loading plug-ins DxfDwg.aip PNGFileFormat.aip. I have two user accounts and this only happens under the user account that I use all the time. Under the other user account, I don't get this error and everything appears to work fine. The other strange thing is that I get this error every other time I start up the program. When I don't get this Error message, after the program is done loading I get a message that says Some plug-ins have been updated. You will need to relaunch Illustrator for the changes to take effect. Of course when I relaunch I get the Error loading plug-ins. I have run the program as adminsitrator, I have uninstalled and reinstalled, I have checked the security preferences, etc. Anyone have any ideas on this? Thanks!
There is solution to this problem on th Adobe site do a search either by google or for the adobe site not a search of the forum and you should find it.
Maybe you are looking for
-
I have an iMac G4 PowerPC with OS 10.5.? After deleting 17G of music files to make room on the 74G drive, The iPhoto and iWeb updates seemed to load okay, but the OS 10.5.8 update failed - message opened said the computer encountered an error and mus
-
External hard drive not recognized with Snow Leopard?
This isn't a new problem, but I finally can't avoid solving it any longer!! When I updated to Snow Leopard, my iMac stopped seeing my LaCie external hard drive (firewire). I've gone through the steps at the LaCie site and checked for updates from App
-
Authorization at Company Code Level for table FEBKO
Hello Experts, I need to add authorization check on my report program that accesses and displays data from table FEBKO. However the user should only be able to access the data of table FEBKO particular only for their company code. How can I apply thi
-
J2ee engine does not start up after system copy
Dear All, I have done a system copy of BW3.5 (NW04). I installed the BW.3.5 and then replaced the data and control files. This has ABAP + java. Now after system copy when i am starting the server, the J2ee instance doesnt start up. ABAP is running an
-
JSF Caching old values on webpage.
Hey Guys, I have a jsp page that updates a profile values. This seems to work since the values change on the Oracle Database are updated. The problem is when I view the profile the jsp shows the previous values. I hit shift refresh and the page shows