Apache - weblogic connector query
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.
We don't have apache plugin for Win NT.
check our platform support page.
Kumar
ASIF wrote:
where can i get apache-weblogic PLUGIN for
WINNT
Similar Messages
-
Hi all
Hope someone can help me out on this one.
I can start the server ok but when I try and look at
http://localhost:8000/index.html I get this exception in the command window:
java.lang.NoSuchMethodError
at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:209)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:245)
at java.io.PrintWriter.flush(PrintWriter.java:120)
at org.apache.catalina.connector.ResponseWriter.flush(ResponseWriter.java:125)
at org.apache.catalina.connector.ResponseBase.finishResponse(ResponseBase.java:426)
at org.apache.catalina.connector.HttpResponseBase.finishResponse(HttpResponseBase.java:228)
at org.apache.catalina.connector.http.HttpResponseImpl.finishResponse(HttpResponseImpl.java:288)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1021)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1088)
at java.lang.Thread.run(Thread.java:484)
I have configured the JAVA_HOME, J2EE_HOME and J2EE_CLASSPATH correctly, as far as the documentation tells me. Would I be correct in assuming that I have a missing JAR file, if so any idea which one ?
TIA MattSolved my problem.
After checking the CPATH, J2EE_HOME, and JAVA_HOME and finding no problem I found a post on a website that talked about a conflict with servlet.jar in the JAVA_HOME\jre\ext folder and with other versions of Java.
So I reordered my PATH env variable and put the JDK1.3.1_01 paths at the beginning, as I have Oracle installed and Jbuilder and they have JDK's with them as well. I aslo removed several JAR's from JAVA_HOME\jre\ext (including servlet.jar)....
and eureka I can now get the congratulations page.
Not sure if Oracle or JBuilder are going to like it !!!
regards
Matt -
Apache-WebLogic Bridhge Failures
Hi all, We are also having a similar setup, except that we are using WebLogic Server 5.1. We had this problem when the traffic in our production site is high. We thought we had solved the problem when we applied Service Pack 5. But after behaving for sometime if the data upload goes beyond say 5 MB the Bridge fails, but surprisingly the actual data gets uploaded. This happens when the traffic is slightly high on the site. We have set the parameter ConnectionTimeoutSecs in weblogic.conf which is called by the httpd.conf to 900. Still we are having this bridge failure problem once in a while. We are not sure what to do, is there anybody who has faced this problem and managed to solve it ? if so please SOS.Cheers,Aejaz
We don't have apache plugin for Win NT.
check our platform support page.
Kumar
ASIF wrote:
where can i get apache-weblogic PLUGIN for
WINNT -
Hello,
I have setup Solaris 10 OS on AMD64 and I am trying to build the JK connector for Apache2 with Tomcat5, but I am not having any success at all with neither the Solaris nor the GNU gcc compiler.
Did anyone compiled the JK connector on a i86 64-bit architecture? does anyone knows where I could find a compiled version of the jk_mod.so for AMD64 solaris or where I could get more information ?
Much appreciated,
JeffI'm also having trouble connecting the web server to a Tomcat server. I too downloaded the connector from Apache and built it using
./configure --with-apxs=/usr/sbin/apxs
because that's the only apxs on my disk, which I determined by running
sudo find / -name apxs\*
After installing mod_jk.so in /usr/libexec/apache2, I added the following in /etc/apache2/httpd.conf:
\\# Copied from http://tomcat.apache.org/connectors-doc/generic_howto/quick.html
\# Load mod_jk module
LoadModule jk_module libexec/apache2/mod_jk.so
\# Where to find workers.properties
JkWorkersFile /etc/apache2/workers.properties
\# Where to put jk shared memory
JkShmFile /private/var/log/apache2/mod_jk.shm
\# Where to put jk logs
JkLogFile /private/var/log/apache2/mod_jk.log
\# Set the jk log level [debug/error/info]
JkLogLevel debug
\# Select the timestamp log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
\# Send everything for context /orgcharts to worker named worker1 (ajp13)
JkMount /orgcharts/* worker1
And my workers.properties file contains:
\# Define 1 real worker using ajp13
worker.list=worker1
\# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
Now, when I attempt to start the web server, it doesn't come up, and it doesn't log anything, so I have no clue what's going on.
Message was edited by: Thom Brando -
Apache - Weblogic plug-in - Segmentation fault. Please Help me!
Hi all,
Im trying to set up Apache weblogic plug-in, and im having problems with
that.
Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic 7 with sp2.
Here is what i did:
I copied mod_wl_ssl.so from
/bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to /usr/apache/libexec
Added entries in httpd.conf as
LoadModule weblogic_module /usr/apache/libexec/mod_wl_ssl.so
AddModule mod_weblogic.c
<LocationMatch "\.jsp$">
SetHandler weblogic-handler
StatPath false
</LocationMatch>
<LocationMatch "/(service1|service2|service3)/">
SetHandler weblogic-handler
StatPath false
</LocationMatch>
<IfModule mod_weblogic.c>
WebLogicHost 127.0.0.1
WebLogicPort 7001
HungServerRecoverSecs 300
ConnectTimeoutSecs 5
</IfModule>
When i access the url with out specifying port 7001 it's not working.
I checked the /var/apache/logs/error_log file. Im getting the error as
child pid 805 exit signal Segmentation Fault (11)
Am i missing anything here?
Thank you
RajaYou may want to check the certifications for Solaris 9 and the Apache plug-in at
http://e-docs.bea.com/wls/certifications/certifications/sun_solaris9.html#40366.
It looks like you will have to upgrade to at least Apache 2.0.39. We had to do
this on Solaris 8 as well.
"Raja Balasubramanian" <[email protected]> wrote:
Thank you Eric,
I will do that
Raja
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
I believe this is going to require more debugging such as attachinga
debugger(gdb) to Apache and getting a backtrace.
I suggest opening up a support case.
Regards,
Eric
"Raja Balasubramanian" <[email protected]> wrote in message
news:[email protected]...
Hi Eric,
Thank you for the replies.
I tried with the same test as you specified. Still im getting the
same
problem.
[Mon Mar 10 13:57:21 2003] [notice] child pid 1184 exit signal
Segmentation Fault (11)
Im running Solaris 9 in SPARC platform. It's a Sun E450 server.
Im using the default apache package which comes with Solaris 9. Ididn't
do
anything with apache.
Bea website says that Weblogic 7 sp2 is certified for Soalris 9.
That's
y
i
installed Solaris 9.
I tested the same on a Linux Machine (Redhat Linux 7.1 on IA). It
works
fine
without any problem.
How can i make things work?
Thank you for your kind replies
Raja
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
Looks like it should work.
Let's simplify your test:
<Location /test>
WebLogicHost 127.0.0.1
WebLogicPort 7001
Debug ALL
DebugConfigInfo ON
SetHandler weblogic-handler
</Location>
Try with just that.
Another thing is that I am unsure as to whether we have tested
with
Solaris
9. This is SPARC right? Also, can you outline the steps you took
when
building apache? Did you use GCC?
Thanks,
Eric
"Raja Balasubramanian" <[email protected]> wrote
in
message
news:[email protected]...
Hi,
Now i changed to mod_wl_ssl.so.
And i changed the httpd.conf as
LoadModule weblogic_module libexec/mod_wl_ssl.so
<IfModule mod_weblogic.c>
WebLogicHost 127.0.0.1
WebLogicPort 7001
Debug ALL
DebugConfigInfo ON
StatPath true
HungServerRecoverSecs 300
ConnectTimeoutSecs 5
</IfModule>
But im getting the same error. NO wlproxy.log file is created
in my
server.
I tried Debug ON also. Still the same.
Am i doing anything wrong?
Please help me...
Thank you
Raja
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
That means that your apache instance is compiled with -DEAPI
and
should
use
the mod_wl_ssl.so.
Can you please try to set Debug ALL and get the log in
/tmp/wlproxy.log
and
share that?
Thanks,
Eric
"Raja Balasubramanian" <[email protected]> wrote
in
message
news:[email protected]...
Hi Eric,
When im using mod_wl.so im getting warning from Apache as
[Mon Mar 10 12:41:15 2003] [warn] Loaded DSO
libexec/mod_wl.so
uses
plain Apache 1.3 API, this module might crash under
EAPI!
(please
recompile it with -DEAPI)
Thank you
Raja
"Eric Gross" <[email protected]> wrote in message
news:[email protected]...
Are you using modssl or any apache with EAPI compiled in?
Otherwise, you should be using the mod_wl.so.
As well, please set Debug ALL to see if we can get more
debug.
Thanks,
Eric
"Raja Balasubramanian" <[email protected]>
wrote
in
message
news:[email protected]...
Hi all,
Im trying to set up Apache weblogic plug-in, and im having
problems
with
that.
Im running Solaris 9 with Apache/1.3.26 (Unix) and Weblogic
7
with
sp2.
Here is what i did:
I copied mod_wl_ssl.so from
/bea/weblogic700/server/lib/solaris/mod_wl_ssl.so to/usr/apache/libexec
Added entries in httpd.conf as
LoadModule weblogic_module/usr/apache/libexec/mod_wl_ssl.so
AddModule mod_weblogic.c
<LocationMatch "\.jsp$">
SetHandler weblogic-handler
StatPath false
</LocationMatch>
<LocationMatch "/(service1|service2|service3)/">
SetHandler weblogic-handler
StatPath false
</LocationMatch>
<IfModule mod_weblogic.c>
WebLogicHost 127.0.0.1
WebLogicPort 7001
HungServerRecoverSecs 300
ConnectTimeoutSecs 5
</IfModule>
When i access the url with out specifying port 7001 it's
not
working.
I checked the /var/apache/logs/error_log file. Im getting
the
error
as
child pid 805 exit signal Segmentation Fault
(11)
Am i missing anything here?
Thank you
Raja -
Installing Apache-Weblogic Plug-in on RedHat 7.0
I am trying to install the apache-weblogic plug-in on redhat 7.0
I modifed my httpd.conf with the following lines:
LoadModule weblogic_module /usr/lib/apache/mod_wl.so
AddModule mod_weblogic.c
<Location /weblogic>
SetHandler weblogic-handler
PathTrim /weblogic
ErrorPage http://www.yahoo.com
</Location>
<Files *.jsp>
SetHandler weblogic-handler
</Files>
<Ifmodule mod_weblogic.c>
WebLogicHost 10.0.0.3
WebLogicPort 7001
</IfModule>
When I try 10.0.0.3/weblogic/ I get nothing!
Looking in my httpd logs it prints a 302 error!
Help
Kevin<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by david walker ([email protected]):
Has anyone encountered problems installing Oracle 8.0.5 on Redhat 7.0. RedHat 6.2 installation works.<HR></BLOCKQUOTE>
Should be OK. I was running that combination for a while and can't recall any serious issues during install.
I am currently running 8.0.5.1 on a Mandrake 7.2 PC. The install was pretty straightforward :
- Install compatability RPMs (I used slightly higher versioned RPMs than listed in the Oracle documentation);
- Install 8.0.5.1 s/w;
- Apply Oracle patch;
- Create dbs;
- Configure listener;
- Create the startup/shutdown rc script and links.
That's about it for the installation.
I haven't put the database to much use yet, so there may be other issues ahead :)
Oh, one thing to note on that last point is that you should have a look at how the /etc/rc.d/rc file operates.
Under Mandrake 7.2 it will look for a file in /var/lock/subsystem that has the same name as the /etc/init.d script before running the stop script correctly.
This differs slightly from what I see in the *8.1.7* documentation, so might be due to a difference between mandrake and the other distributions.
FWIW here is my /etc/init.d/oracle file.
#!/bin/sh
# chkconfig: 345 99 10
# description: Oracle databases
# Source function library.
. /etc/init.d/functions
CWD=`pwd`
# See how we were called.
case "$1" in
start)
su - oracle -c '. $HOME/.oraclerc && dbstart && lsnrctl start'
touch /var/lock/subsys/oracle
stop)
su - oracle -c '. $HOME/.oraclerc && dbshut && lsnrctl stop'
rm -f /var/lock/subsys/oracle
restart)
cd $CWD
$0 stop
$0 start
echo "Usage: oracle {start|stop|restart}"
exit 1
esac
exit 0
null -
How to install Apache-Weblogic brige for Windows NT 4.0
I had installed weblogic 5.1 and Apache 1.3.6 at Windows NT 4.0 SP4.Use
apache as web server ,weblogic as web application server. But I can not find
the way to install Apache-Weblogic brige, can anybody help me?That is correct. However, we plan to add ports to these other platforms in
the future.
Thanks,
Michael
Michael Girdley
WLS Product Manager
cedar z <[email protected]> wrote in message
news:8ec3s4$5pv$[email protected]..
It's seem that wl5.1 has no weblogic-to-apache brige for window NT.
zhao wrote in message <8ebo1h$2gs$[email protected]>...
I had installed weblogic 5.1 and Apache 1.3.6 at Windows NT 4.0 SP4.Use
apache as web server ,weblogic as web application server. But I can notfind
the way to install Apache-Weblogic brige, can anybody help me? -
Apache-Weblogic Bridge does not work?
I've gone thru' the documentation regarding setting up of apache-weblogic bridge, but still it does not work. Does anyboday have any more details regarding this...EnvironmentOS - Solars 5.7Weblogic - 5.1 SP 8Apache 1.3.12
I've given up and had to go back to running "Double NAT" which also reports as a "problem" within the AEBS, but I just "ignore" it so the light will always be green.
It still ***** though, as "Double NAT" is also a reason for "Back to my Mac" not working properly, but how the ** am I supposed to avoid Double NAT when the wireless will not work in bridged mode?! -
Aborting uploads through Apache/Weblogic bridge
Hi,
I have an application to which people should be able to upload files,
however only of a certain size. So if I detect that the file is too
large (based on Content-Length), I return an errorpage and don't read
the data from the browser. This is allowed according to rfc 1867 (which,
though it is obsoleted, is the one the HTTP1.1 rfc refers to on the
matter - also the obsoleting rfc doesn't say anything on the matter) and
all browsers seems to handle this.
However, once I go through the Apache/Weblogic bridge the behaviour
changes. When the browser sends the POST request to the bridge, the
bridge relays it on to the Weblogic server and my code. I immediately
determine that the file is too large, and returns the previously
mentioned errorpage. But, the bridge doesn't stop recieving the file
from the browser until it has got the entire file and then it returns a
standard bridge POST timeout error (and the timeout has definately not
been reached).
Any ideas?
CAPUT A/S Morten Jensen Phone +45 70 12 24 42
Nygade 6 Senior Developer Fax +45 70 11 24 42
DK-1164 Kbh K [email protected] http://www.caput.comAdd the following attributes:
<Location /re >
WLProxySSL ON
EnforceBasicConstraints false
</Location>
Original example in [http://m-button.blogspot.com/2008/11/how-to-configure-weblogic-to-use-ssl.html]
I hope this helps. -
Org.apache.catalina.connector.ClientAbortException
HI
How to catch ClientAbortException, when I am adding the following line it is showing error. Its not identifying the org.apache.catalina, do I need to add any jar files to my path to identify this exception Please respond..
org.apache.catalina.connector.ClientAbortExceptionI am facing the same problem.
Can you tell how did you resolve it? -
Apache-weblogic bridge problems with virtual hosting
Hi,
Can we set apache-weblogic bridge where apache webserver is configured
as virtual hosts and each Virtual Host is mapped to a WebLogic server
instance running on separate port ?
Please provide doc or reference or your comments if you have solved this
problem
Thanks
ShriniwasThe above comments notwithstanding, there's one outstanding line in your post that seems crucial:
Also if I type on my browser the name of another secondary (or virtual) domain name in the form http://domain2.com it brings the website hosted under the primary domain which is domain1.com. In case I type http://www.domain2.com than it works as it should and displays the website hosted under this domain name.
As far as Apache is concerned, 'domain2.com' and 'www.domain2.com' are completely separate entities. They have to be otherwise if all domain2.com traffic went to this site you'd never be able to host different sites within the domain (e.g. blogs.domain2.com, wiki.domain2.com, blah.domain2.com, etc.). In other words, there is no automatic relationship between a hostname and sub-records of that hostname.
So what's happening here is Apache is seeing a request for 'domain2.com' which does not match any of its configured virtual hosts, so it handles the request via the default site. If you request www.domain2.com this matches your virtual host configuration so Apache serves the alternate content.
The fix is simple - trivial, even - you just need to tell Apache all the hostnames that match this site - in this case if you've configured the site's primary address as 'www.domain2.com' and you want it to also respond to requests to 'domain2.com' then add 'domain2.com' to the list of Server Aliases in Server Admin. -
Apache 1.3.12 And Apach-weblogic plug-in
Hi,
I am trying to use the Apache-weblogic server plug-in
with Apache1.3.12.
I don't seem to be getting anywhere.
Has someone tried it?
I followed the apache-bridge.html instruction but
still couldn't get it to work.
If someone has already tried it and it works
can they share relevant parts of their httpd.conf.
ThanksCan you send us the lines you have added in the httpd.conf file. Also
please
go through the instructions once again and see what have you missed. It
is just a configuration problem.
--Vinod.
samir wrote:
Hi,
I am trying to use the Apache-weblogic server plug-in
with Apache1.3.12.
I don't seem to be getting anywhere.
Has someone tried it?
I followed the apache-bridge.html instruction but
still couldn't get it to work.
If someone has already tried it and it works
can they share relevant parts of their httpd.conf.
Thanks -
Hello :
How to configure the Apache - Weblogic Plugin in BEA 8.1. I am doing all
as per the doc but I am not able to get the result.
My configuration RH 7.3, BEA 8.1 , Apache 2.3.9
If somebody have configured could u guys give little insight..
regards
Boney JoseYou need to make sure you are using the latest plugin. Please download the
latest Service Pack and grab the mod_wl.so from there.
Regards,
Eric
"Mandar" <[email protected]> wrote in message
news:[email protected]..
>
Hi,
I am trying to plug-in Apache on one Solaris machine with Weblogic serverrunning
on separate Solaris machine.
I am using the Weblogic documentation '
http://www.weblogic.com/docs51/admindocs/apache_bridge.html
However it looks like the plug-in does not recognize some of theparameters like
DefaultFileName, MatchExpression etc.
Any hints?
How can we forward (tunnel) all jsp requests to weblogic server?
Where and how do we use MatchExpression *.jsp tag?
Thanks
Mandar -
Overrding default Apache-Weblogic bridge error message
We are running WLS 5.1 sp5 with Apache as Webserver. I want to know how
could I display more user freindly error messages when
weblogic is down and apache is working. Currently we get the default
Weblogic-Apache down page.
I tried putting
ErrorPage http://www.mydomain.com/error.html
in apache conf file. Now I do not get the default message, but now it can
not find the above url.
I am able to this url directly in the browser. Please help ?[email protected] (srinivasa reddy) wrote in
<39bb039e$[email protected]>:
>
hi,
I have a basic question, does webloigc support apache-weblogic
bridge with mod_ssl/any ssl installed on apache.
thanks & regards
[email protected]
There is a mod_wl_ssl.so in sp4 (i believe). mod_ssl extends Apaches API
and thereby breaks the WebLogic bridge. For raven installations you need
mod_wl_ssl_rave.so because raven extends the API even further.
Joel
E-Mail: (jbf (at) proceedo dot com) -
Installing Apache-WebLogic plugin
I have followed the steps (1-6) mentioned at
http://www.weblogic.com/docs51/admindocs/apache_bridge.html
for installing the Apache-WebLogic plugin.
However, after doing it I could not start Apache. I get the following error.
Syntax error on line 235 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/mod_wl.so into server: ld.so.1:
/usr/apache/bin/httpd: fatal: /usr/apache/libexec/mod_wl.so: open failed: No
such file or directory
Line 235 consists of the following entry
LoadModule weblogic_module /usr/apache/libexec/mod_wl.so
I do have the file /usr/apache/libexec/mod_wl.so in my directory with the
same permissions
as other files in the same directory.
Any help is appreciated.
JRI found the problem. mod_wl.so is the SPARC version and I was trying to
run on Intel Solaris. Is there an Intel version of this file?
John Ruskin wrote in message <8i2uaj$21v$[email protected]>...
I have followed the steps (1-6) mentioned at
http://www.weblogic.com/docs51/admindocs/apache_bridge.html
for installing the Apache-WebLogic plugin.
However, after doing it I could not start Apache. I get the followingerror.
>
Syntax error on line 235 of /etc/apache/httpd.conf:
Cannot load /usr/apache/libexec/mod_wl.so into server: ld.so.1:
/usr/apache/bin/httpd: fatal: /usr/apache/libexec/mod_wl.so: open failed:No
such file or directory
Line 235 consists of the following entry
LoadModule weblogic_module /usr/apache/libexec/mod_wl.so
I do have the file /usr/apache/libexec/mod_wl.so in my directory with the
same permissions
as other files in the same directory.
Any help is appreciated.
JR
Maybe you are looking for
-
I get this message, how do I synch?
-
Skype Credit Balance Question: Can Not Contact Cus...
I bought 200 kr skype credit today. Spendt about 20. And my balance shows 68. I have tried to find out why, but there is virtually impossible to get customer service. I suggest you make a chat or mail service at least! This post was transferred from
-
Why am I Observing Poor Geospatial Query Performance?
Our HANA Rev. 72 Amazon instance is performing very poorly when selecting geospatial polygons from tables. I'm hoping someone out there knows why. Here's one example. The table below has just 51 records; one for each state (includingPuerto Rico). T
-
How can I turn off all sharing on my Macbook
I am a new Mac user and although I love it I am unfamiliar with the sharing options and how they work. I haven't gotten a clear answer yet but my question is how can I ensure that I am not sharing any of my files. I can see other users who are sharin
-
Spotlight Search is not working with Lion
I was on 10.6.5 and installed Lion. Spotlight searching is not working at all now. I have tried everything in the Spotlight preferences Confidentiality, selecting my hard disk and exclusding it quitting putting it back. I waited 3 days to be sure it