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

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

Similar Messages

  • RMI Through Apache-Weblogic Bridge

    Hi,
    How to use RMI in apache-weblogic bridge
    Thanks,
    Siva E.

    [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)

  • 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?!

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

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

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

  • Overriding default errror page for Apache-Weblogic bridge

    I am writing this problem again as nobody has replied me with any solution.
    I want to overide the default error page that comes up when weblogic is down
    for some reason in apache-weblogic bridge. I looked into the weblogic
    documentation and specfied the following in the apache configuration file
    ErrorPage http://www.domain.com/systemerror.html
    But for some reason it is not able to locate the domain as well as the page.
    But if try the same url in the browser, it works. Please help.
    Rakesh

    I am using the plugin and using the error page successfully. Apache and WL
    use the same document root, and the error page is located within the
    document root:
    Within the httpd.conf, I have:
    <IfModule mod_weblogic.c>
    # Config file for WebLogic which defines parameters for plugin
    Include conf/weblogic.conf
    </IfModule>
    Within the weblogic.conf, I have:
    ErrorPage unavailable.html
    Provide your configuration settings.
    "Rakesh Gupta" <[email protected]> wrote in message
    news:39d3bcd3$[email protected]..
    Well, we are using weblogic supplied apache plugin and I am following all
    the steps that is specified in setting up apache plugins in weblogic
    documentation. I do not think it is apache network problem as apache is
    working fine.
    The think the problem is somewhere in the weblogic-apache plugin module.
    "Jesse E Tilly" <[email protected]> wrote in message
    news:[email protected]..
    [email protected] (Rakesh Gupta) wrote in <[email protected]>:
    I am writing this problem again as nobody has replied me with any
    solution.
    I want to overide the default error page that comes up when weblogic is
    down for some reason in apache-weblogic bridge. I looked into the
    weblogic documentation and specfied the following in the apache
    configuration file
    ErrorPage http://www.domain.com/systemerror.html
    But for some reason it is not able to locate the domain as well as the
    page. But if try the same url in the browser, it works. Please help.
    Rakesh
    as worded, that sounds like a network setup problem on the apache server
    side.
    however, it seems that you want a server-connection-timeout error toreturn
    an specific error page via the plug-in. This all depends on how theplugin
    works. If it is how I think it works, there needs to be an INI
    setting
    to sepcify a page. Why? Because the plug-in effectively has control of
    the response. It either needs a way hand control back to the web serveror
    needs to have error pages of its own.
    BEA?
    Jesse

  • Apache - Weblogic bridge - tricky question...

    We have WLS 5.1 sp4 on Redhat 6.1 and Apache 1.3.12 on the same box.
    I also have Mass virtual hosting setup under Apache. Before, the Apache-WLS
    bridge was available, I used RewriteRule to proxy the requests:
    Apache:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test123.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1.1/%1.2/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    RewriteEngine On
    RewriteRule ^/(.*)$ http://www.test.com:7001/$1 [P]
    </Files>
    </VirtualHost>
    WLS:
    weblogic.properties: weblogic.httpd.documentRoot=public_html/
    I also had a link in the public_html directory called www->/www
    So, when a person connect to http://test1.test.com/shoppingcart.jsp, they
    are forwarded to WLS with the path
    /public_html/www/vhosts/test1/shoppingcart.jsp.
    However, if I want to use the Apache-WLS bridge:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    WeblogicHost localhost
    WebLogicPort 7001
    </Files>
    </VirtualHost>
    If a person connects to http://test1.test.com/shoppingcart.jsp, the path
    forwarded to WLS is /shoppingcart.jsp and it looks for the file in the
    public_html directory and it fails.
    I cannot use the "PathPrepend" directive as the path varies with the URL.
    Any ideas????
    Thanks...
    Hemanth

    You need mod_rewrite which is enabled for Apache on redhat by default.
    hemanth
    "Klaus Oberecker" <[email protected]> wrote in message
    news:[email protected]..
    hi!
    .. I have juste a short question concerning the Apache-Rewriting: do you
    need a special module for that?!? - if so: which one???
    thanks,
    klaus
    Hemanth wrote:
    We have WLS 5.1 sp4 on Redhat 6.1 and Apache 1.3.12 on the same box.
    I also have Mass virtual hosting setup under Apache. Before, the
    Apache-WLS
    bridge was available, I used RewriteRule to proxy the requests:
    Apache:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test123.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1.1/%1.2/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    RewriteEngine On
    RewriteRule ^/(.*)$ http://www.test.com:7001/$1 [P]
    </Files>
    </VirtualHost>
    WLS:
    weblogic.properties: weblogic.httpd.documentRoot=public_html/
    I also had a link in the public_html directory called www->/www
    So, when a person connect to http://test1.test.com/shoppingcart.jsp,
    they
    are forwarded to WLS with the path
    /public_html/www/vhosts/test1/shoppingcart.jsp.
    However, if I want to use the Apache-WLS bridge:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    WeblogicHost localhost
    WebLogicPort 7001
    </Files>
    </VirtualHost>
    If a person connects to http://test1.test.com/shoppingcart.jsp, the path
    forwarded to WLS is /shoppingcart.jsp and it looks for the file in the
    public_html directory and it fails.
    I cannot use the "PathPrepend" directive as the path varies with theURL.
    >>
    Any ideas????
    Thanks...
    Hemanth

  • Apache-WebLogic bridge for Solaris 8

    Is there an Apache bridge for Solaris 8 running on an x86 platofrm yet? Obviously, the one for SPARC systems doesn't work...

    After looking everywhere for the reason why it wasn't working, I found this forum.
    I built my own and it worked like a charm!!
    Thanks!
    Shawn.
    "Eric Gross" <[email protected]> wrote:
    Yes.. I've seen this.
    Unfortunately, we do not ship separate modules. It is unfortunate that
    Redhat has chosen 2.0.40 as their base version and to backport fixes
    into
    that base version. The reason this is unfortunate is that the rest of
    the
    world is using at least 2.0.42.
    Is there any chance you can build your own version ?
    Thanks,
    Eric
    "Victoria A Smith" <[email protected]> wrote in message
    news:3f296a76$[email protected]..
    The problem with that is that the vendor supported,
    secure version of Apache (for RedHat) is 2.0.40.
    To understand why this is important, read this
    short article:
    http://www.redhat.com/advice/speaks_backport.html
    Victoria
    "Eric Gross" <[email protected]> wrote:
    Yes, you need to be using at least Apache 2.0.42.
    Eric
    "Rahul Phadnis" <[email protected]> wrote in message
    news:3f1c895d$[email protected]..
    I am trying to configure the plugin to work for apache 2.0.40. Theapache
    server
    has been installed on RedHat linux 7.3..
    i copied the mod_wl_20.so from linux/i686/ directory of weblogicinstallation.[...]

  • About Apache-Weblogic Bridge configuration

    hi,
    Can Apache support two weblogic server, and how can to config if possible.
    I look forward to your reply
    Regards

    really?
    I've read that document. it says only support one.
    And at last I start two Apache to solve this problem. it runs well.
    Thank you
    Regards
    Michael Girdley <[email protected]> wrote in message
    news:8i98ml$ian$[email protected]..
    >
    >
    Yes, it can. I suggest taking a look at our documentation -- configuring
    the Apache plug-in.
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    fxy <[email protected]> wrote in message
    news:8hn23b$rvg$[email protected]..
    hi,
    Can Apache support two weblogic server, and how can to config if
    possible.
    >>
    I look forward to your reply
    Regards

  • Re: Overriding default errror page for Apache-Weblogic

    I am writing this problem again as nobody has replied me with any solution.
    I want to overide the default error page that comes up when weblogic is down
    for some reason in apache-weblogic bridge. I looked into the weblogic
    documentation and specfied the following in the apache configuration file
    ErrorPage http://www.domain.com/systemerror.html
    But for some reason it is not able to locate the domain as well as the page.
    But if try the same url in the browser, it works. Please help.
    Rakesh

    I am using the plugin and using the error page successfully. Apache and WL
    use the same document root, and the error page is located within the
    document root:
    Within the httpd.conf, I have:
    <IfModule mod_weblogic.c>
    # Config file for WebLogic which defines parameters for plugin
    Include conf/weblogic.conf
    </IfModule>
    Within the weblogic.conf, I have:
    ErrorPage unavailable.html
    Provide your configuration settings.
    "Rakesh Gupta" <[email protected]> wrote in message
    news:39d3bcd3$[email protected]..
    Well, we are using weblogic supplied apache plugin and I am following all
    the steps that is specified in setting up apache plugins in weblogic
    documentation. I do not think it is apache network problem as apache is
    working fine.
    The think the problem is somewhere in the weblogic-apache plugin module.
    "Jesse E Tilly" <[email protected]> wrote in message
    news:[email protected]..
    [email protected] (Rakesh Gupta) wrote in <[email protected]>:
    I am writing this problem again as nobody has replied me with any
    solution.
    I want to overide the default error page that comes up when weblogic is
    down for some reason in apache-weblogic bridge. I looked into the
    weblogic documentation and specfied the following in the apache
    configuration file
    ErrorPage http://www.domain.com/systemerror.html
    But for some reason it is not able to locate the domain as well as the
    page. But if try the same url in the browser, it works. Please help.
    Rakesh
    as worded, that sounds like a network setup problem on the apache server
    side.
    however, it seems that you want a server-connection-timeout error toreturn
    an specific error page via the plug-in. This all depends on how theplugin
    works. If it is how I think it works, there needs to be an INI
    setting
    to sepcify a page. Why? Because the plug-in effectively has control of
    the response. It either needs a way hand control back to the web serveror
    needs to have error pages of its own.
    BEA?
    Jesse

  • Uploaded through Bridge CC photos from my camera; went through the motions, not paying attention, bu

    Uploaded through Bridge CC photos from my camera; went through the motions, not paying attention, but it did NOT save 'em where I usually save 'em; how can I ask Brindge or just the Mac Finder the last files I downloaded & where I saved 'em too? Oh, yeah, it ERASED the photos from my camera. I basically just need to ask my Mac (OS 10.8) where I downloaded 'em to. Thanks!

    Uploaded through Bridge CC photos from my camera; went through the motions, not paying attention,
    I'm not sure I do follow this, what do you mean with motions? can you specify this?. I assume you used Photodownloader? BTW, Not paying attention is usually not the best way when importing images...
    but it did NOT save 'em where I usually save 'em; how can I ask Brindge or just the Mac Finder the last files I downloaded & where I saved 'em too?
    When you import files they are written to your disk and therefor no need for save them, the files are already at your disk or written to the location you choose as destination. You could select your computername in the navigation column and then use the list view and choose the column last modified but this is not always showing the correct result. You could also do a spotlight search (or use the free Easy Find you can download from Devon) and choose to search for the extension you have shot your files in (Raw, jpeg??) and then choose modification date to sort.
    There is not a log (at least not to my knowledge) that keeps track of all of your movements unless you have installed such application (don't know if there is one but I think there will be a thrid party or script written by someone). You could try Console (in the utilities folder) that holds your logs and reports but this is usually for crash or forced quit situations.
    Oh, yeah, it ERASED the photos from my camera. I basically just need to ask my Mac (OS 10.8) where I downloaded 'em to. Thanks!
    Well, this would mean you would have first select the option to do so in Photodownloader. While I use PDL on a daily base I always thought this option should not even be present to choose and you certainly should not use it to delete originals.
    Like Curt already stated you have to use the camera software for this with the card in the camera. Either delete but preferable format the card. Mind you, this should not be done before you are sure where your files are written to and after you have checked randomly to see if the previews have build correctly for the newly imported files. Then you should make a back up of those files and only then start thinking about erasing or formatting the card for new use.
    If you have not done very strange things (like choosing the card as destination but if so they might still be there- check finder in column mode- or wrote them to an external disk - where they also still should be) the files should be somewhere at your system. Just do an extensive search and if the files are really important check for recovering software for your card.
    And follow the steps described above for importing, sometimes we need to learn our lessons the hard way (and I have been there too...)

  • 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

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

    Can 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

  • WL timing out when I try and connect to a URL through Apache

    Hi,
    I"m using WL 9.2.2 with Apache 2 on local WinXP machine. I have the WL server running and I can visit a URL
    http://localhost:7005/re/hhFlow.do?flow=HH&accountid=1234
    just fine. But when I try and visit the path through Apache ...
    http://localhost/re/hhFlow.do?flow=HH&accountid=1234
    I get the error
    Failure of server APACHE bridge:
    No backend server available for connection: timed out after 30 seconds or idempotent set to OFF.
    Here is how I have Apache configured to support WL. Do you know what I might need to change/add? Thanks, - Dave
    ============snippet from httpd.conf=====================
    LoadModule weblogic_module modules/mod_wl_20.so
    <Location /re/>
    SetHandler weblogic-handler
    WebLogicHost localhost
    WebLogicPort 7005
    SecureProxy ON
    RequireSSLHostMatch false
    TrustedCAFile /etc/httpd/conf/certs/ca/ca_nso.pem
    Debug ALL
    DebugConfigInfo ON
    ConnectTimeoutSecs 30
    WLLogFile "/tmp/wlproxy_portal-6906.log"
    </Location>
    ==============end snippet ==========================

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

  • Unable to access Workspace through Apache web server

    Hi,
    I have configured Hyperion 9.3.1. products in windows.
    I am getting the following error message when trying to access Workspace through Apache web server(port 19000). But, able to access through Weblogic Application server(port 45000).
    please assist me in resolving this issue.
    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Apache/2.0.63 (Win32) mod_jk/1.2.8 Server at nasbydapp04 Port 19000
    Thanks,
    Siva

    I re-configured the BIPlus components and even now, i am unable to access workspace through Apache web server.
    But now, i am getting a different error
    Error:
    HTTP 404 - File not found
    Internet Explorer
    Can anyone help me in resolving this issue.
    I have updated httpd.conf and HYSL-Weblogic.conf file in Apache server.

Maybe you are looking for

  • File- XI- IDoc: Idoc header data not saved correctly

    Hi guys! I have a very strange problem: I have a file to xi to IDoc scenario. Everything seems to be fine, IDoc is created in target system, but with strange error: <MESCOD>XX</MESCOD> segment is not written in IDoc header segment. This segment is av

  • InDesign/CS6  PDF files

    Hi folks...back again. Hope you can help this newbie. Using iMac/Mountain Lion. Just completed design file and pulled PDF file. File shows a screened box behind type. Checked design file to make sure there is no color printing behind text. InDesign p

  • 7950GT + Dual Monitor Setup

    I have the Nvidia7950GT, a couple of months back I ordered a second screen for it, both screens worked together without any problems but the new screen had dead pixels so I returned it< only last week did I order the replacement and I go to plug it i

  • IPhone 5 / iOS8 install process frozen, what to do

    I backed up the iPhone 5. I downloaded iOS8. Then initiated the update from iOS 7 to iOS 8 and now my iPhone is stuck with the Apple logo and the progress bar one third of the way!!!!! What should I do?  I got an error in iTunes that said "unknown er

  • Way to find transaction code - if not listed in system-- status

    Hi friends way to find transaction code - if not listed in system--> status ex: spro- sd - sales -sales documents- sales document item -define item categories I didn't find T-code for this path from <b>system -->status</b> Please let me know the ways