14 Replies Latest reply: Aug 2, 2007 8:22 AM by 666705 RSS

    Failure of server APACHE bridge

    3004
      hi,

      I'm using weblogic : 5.1 with SP5
      apache(1.3.17) weblogic-proxy on solaris2.6
      with JDK 1.2.2_05a

      when I'm uploading file (large size file), below error occured..
      what's the problem?


      thanks..


      Failure of server APACHE bridge:


      ----------------------------------------------------------------------------
      ----
      Cannot open TEMP file '/tmp/_wl_proxy/_post_0_984449757_694' for POST of
      260969 bytes
      ----------------------------------------------------------------------------
      ----

      Build date/time: Dec 4 2000 10:43:31 HTTP/1.1 500 Internal Server Error
      Date: Tue, 13 Mar 2001 02:15:57 GMT Server: Apache/1.3.17 (Unix)
      Content-Type: text/html Connection: close Transfer-Encoding: chunked

      Failure of server APACHE bridge:


      ----------------------------------------------------------------------------
      ----


      Internal Server failure, APACHE plugin. Cannot continue.


      ----------------------------------------------------------------------------
      ----

      Build date/time: Dec 4 2000 10:43:31


        • 1. Re: Failure of server APACHE bridge
          3004
          Please make sure you are using the apache plugin from the latest Service
          Pack. Please download SP9 and use the mod_wl.so from there.

          Regards,

          Eric

          "jykim" <jykim@itplus.co.kr> wrote in message
          news:3adba0df$1@newsgroups.bea.com...
          hi,

          I'm using weblogic : 5.1 with SP5
          apache(1.3.17) weblogic-proxy on solaris2.6
          with JDK 1.2.2_05a

          when I'm uploading file (large size file), below error occured..
          what's the problem?


          thanks..


          Failure of server APACHE bridge:


          --------------------------------------------------------------------------
          --
          ----
          Cannot open TEMP file '/tmp/_wl_proxy/_post_0_984449757_694' for POST of
          260969 bytes
          --------------------------------------------------------------------------
          --
          ----

          Build date/time: Dec 4 2000 10:43:31 HTTP/1.1 500 Internal Server Error
          Date: Tue, 13 Mar 2001 02:15:57 GMT Server: Apache/1.3.17 (Unix)
          Content-Type: text/html Connection: close Transfer-Encoding: chunked

          Failure of server APACHE bridge:


          --------------------------------------------------------------------------
          --
          ----


          Internal Server failure, APACHE plugin. Cannot continue.


          --------------------------------------------------------------------------
          --
          ----

          Build date/time: Dec 4 2000 10:43:31

          • 2. Re: Failure of server APACHE bridge
            3004

            We are still getting the same error..... on Solaris , Weblogic 5.1 sp11.

            Vineet

            Failure of server APACHE bridge:


            --------------------------------------------------------------------------------
            Cannot open TEMP file '/tmp/_wl_proxy/_post_4846_0_1012513591_657' for POST of
            568417 bytes
            --------------------------------------------------------------------------------

            Build date/time: Oct 31 2001 11:03:20 HTTP/1.0 500 Internal Server Error Date:
            Thu, 31 Jan 2002 21:46:31 GMT Server: Apache/1.3.22 (Unix) mod_ssl/2.8.5 OpenSSL/0.9.6b
            Content-Type: text/html Connection: close
            Failure of server APACHE bridge:


            --------------------------------------------------------------------------------

            Internal Server failure, APACHE plugin. Cannot continue.

            --------------------------------------------------------------------------------

            Build date/time: Oct 31 2001 11:03:20
            • 3. Re: Failure of server APACHE bridge
              3004

              Sorry for bothering... Seems there was a permissions issue on the web server.
              Does anyone know what is the max size of the file that can be transferred?

              Regards,
              Vineet.
              • 4. Re: Failure of server APACHE bridge
                3004
                I do not believe there is a max. The max is probably dependent on how much
                free space you have in the /tmp directory.

                Regards,

                Eric

                "Vineet" <vinit_kulkarni@yahoo.com> wrote in message
                news:3c5ab225$1@newsgroups.bea.com...
                >
                Sorry for bothering... Seems there was a permissions issue on the web
                server.
                Does anyone know what is the max size of the file that can be transferred?

                Regards,
                Vineet.
                • 5. Re: Failure of server APACHE bridge
                  3004

                  I thought so too. Thankyou very much. Vineet.

                  "Eric Gross" <support@bea.com> wrote:
                  I do not believe there is a max. The max is probably dependent on how
                  much
                  free space you have in the /tmp directory.

                  Regards,

                  Eric

                  "Vineet" <vinit_kulkarni@yahoo.com> wrote in message
                  news:3c5ab225$1@newsgroups.bea.com...
                  Sorry for bothering... Seems there was a permissions issue on the web
                  server.
                  Does anyone know what is the max size of the file that can be transferred?

                  Regards,
                  Vineet.
                  • 6. Re: Failure of server APACHE bridge
                    666705
                    Dear All,

                    I (Chinmay) am also getting the same problem but with latest version of all the softwares.

                    1. apache 2.0.50
                    2. weblogic 8.1.4

                    Is there any specific plugin from bea that I can install at apache to fix this error?

                    HERE IS THE EXACT ERROR MESSAGE that I get when I send the request from apache to weblogic through http POST method.
                    ===============>

                    Failure of server APACHE bridge:
                    --------------------------------------------------------
                    Cannot open TEMP post file '/tmp/_wl_proxy/_post_29777_4_1161075102_438' for POST of 4567 bytes
                    --------------------------------------------------------
                    Build date/time: Oct 25 2004 14:52:23
                    --------------------------------------------------------
                    Change Number: 453498

                    Failure of server APACHE bridge:
                    --------------------------------------------------------
                    Internal Server failure, APACHE plugin. Cannot continue.
                    --------------------------------------------------------
                    Build date/time: Oct 25 2004 14:52:23
                    --------------------------------------------------------
                    Change Number: 453498
                    • 7. Re: Failure of server APACHE bridge
                      666705
                      Chinmay,

                      Check for the permissions / ownership of the /tmp folder.. Somehow after a bounce of all apache & weblogic apps, the owner of /tmp became 104 and the permissions had changed to drwxr-xr-t
                      All I did was to change the owner back to root or any other user and ran "chmod -R 777 /tmp" as root. That fixed the problem entirely.

                      That having said: I think there is a known bug with the apache-weblogic plugin (this is for weblogic version 8.1.4) that if data greater than a certain size is made to pass through the apache plugin, then it bombs. The current workaround I have figured for this (I faced this earlier) was to not go through apache and hit weblogic directly (through 7001 / whatever port weblogic has configured)

                      Hope that helps,
                      Anoop
                      • 8. Re: Failure of server APACHE bridge
                        666705
                        Anoop,

                        The permission to /tmp folder at Apache machine is drwxrwxrwt. So there is no permission issue.
                        Moreover the issue appears for one particular operation sequence that too usually five to six days after the Apache restart (I generally do a restart of the Apache server once this error occurs). I am already using WLS 8.1 SP4.

                        This request to weblogic is being generated through a generic method of our proprietary server code. So we can't modify it (only this particular case) to bypass Apache in order to directly reach weblogic. Refer the footnotes.

                        ShawnHuang in the following thread says "all of your parameter types must implement Serializable".
                        http://forums.bea.com/bea/message.jspa?messageID=600015507&tstart=0
                        ShawnHuang, please check the footnote N.B.1.

                        Apache bug reports (refer the following link) asks us to get support from BEA Systems.
                        http://issues.apache.org/bugzilla/show_bug.cgi?id=40052

                        BEA provided the following suggestions but for WLS 6.1 (S-18179)
                        http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_clfydoc&answerpage=solution&page=wls/S-18179.htm

                        N.B.1. All our parameters used in the call are serializable.

                        N.B.2. This issue gets resolved after a restart, and re-occurs after 5 to 6 days of usage.

                        Regards,
                        Chinmay
                        • 9. Re: Failure of server APACHE bridge
                          666705
                          Guys,

                          We had the similar issue which is trowing Apache bridge error and page download popup intermittently. The root cuase for this issue is the size of the bea plug-in log file which you configured in apache config file (httpd.conf). In our case the size of the log was 2gig and reduced it to 10mb then everything works fine.
                          Hope this helps.
                          -Ram.
                          • 10. Re: Failure of server APACHE bridge
                            666705
                            Set FileCaching to OFF in the apache/weblogic proxy config - this prevents writing to /tmp/_wl_proxy and send the requests direct to Weblogic cluster.

                            Hope this helps
                            • 11. Re: Failure of server APACHE bridge
                              666705
                              We have tried many of these options. Still we are receiving this error. I would like to know where is this apache proxy option is configured.
                              • 12. Re: Failure of server APACHE bridge
                                666705
                                The configurations are all In the httpd.conf. Please search <IfModule mod_weblogic.c> to locate. It should be like below,

                                <IfModule mod_weblogic.c>
                                WebLogicCluster  haili01:8110,haili01:8120
                                  ConnectRetrySecs  5
                                  ConnectTimeoutSecs  25
                                  Debug  ALL
                                  DebugConfigInfo  ON
                                  DefaultFileName  Welcome.jsp
                                  KeepAliveEnabled  ON
                                  KeepAliveSecs  18
                                  MaxPostSize  8388608
                                  MaxSkipTime  10
                                  WLDNSRefreshInterval  10
                                  WLIOTimeoutSecs  20
                                  <Files *.jsp>
                                    SetHandler weblogic-handler
                                  </Files>
                                </IfModule>
                                • 13. Re: Failure of server APACHE bridge
                                  666705
                                  Never have this in Production....
                                  DebugConfigInfo ON
                                  • 14. Re: Failure of server APACHE bridge
                                    666705
                                    Hi


                                    I encountered this problem too. I have been testing WLS cluster with Apache proxy for the last 2 months and we were getting warm and fuzzy about it being ready for deployment soon .. And here I got this error this morning.

                                    I went through the posts and wanted to know which one would fix the issue.

                                    Please help !!!