GZIP Compression Issue in Weblogic 8.1

Has anyone experienced issues with gzip compression filtering in 8.1?
After about 2 months of dev. and testing with the filter, a bug has been found
in our portal, and I have traced it back to the filter that I downloaded from
dev2dev code and utilities.
It is strange. The only time I see an issue is when a user clicks the "back button"
in the browser itself to go back to a previous page, AND then clicks a link (for
example) in a portlet that is tied to an action in a jpf for that portlet. The
error only happens for actions in a portlet that are local to that portlet (no
forwarding to other portlets or anything fancy)...just pure "local internal forwards."
If you do this, USING THE BACK BUTTON to get back to this page with the portlet,
when you click the action, you are actually taken to the page where you were when
you clicked the back button.
I have re-created this is simple portals that have no content, so I know it is
not something else I introduced.
Any ideas? Maybe it is the filter-mapping pattern I am using??? I am currently
mapping on *.portal, but this is the only situation that seems to break.

For those interested, I have some updates on this subject and someone out there sent me a mail asking if I ever found anything out.
Basically, when I encountered this issue the first time, I was working on a SP2 Portal. We were having numerous small bugs like this one with SP2 that centered around the back button or refresh button. BEA gave us a "super patch" back in July or so that when applied to our SP2 project, fixed our issue. I have sense moved onto SP3, and I did not see the compression issue (so I think SP3 must have the patches correctly setup...like I would assume it would).

Similar Messages

  • Gzip compression issues from using a proxy?

    Hello I am unable to load some websites now from suspected gzip compression issues? I have been using a proxy and now my firefox browser is messed up Plz Help [email protected]
    Thanks

    It is possible to autenticate to a proxy server, but the question is what tye of authentication your proxy is carrying out . "Basic" or "digest".If it is Basic then you can use Base64 authentication scheme. You have to first set the System property variable to find proxy server (like port and IP Address)

  • GZip Compression filter for Weblogic 11g.

    Hi,
    I are using WLS 11g for our application development. I have identified and used PlanetJ gzip compression filter and its working fine in our dev environment. I am looking for alternate commercial supported gzip filter for wls.
    Can anybody suggest a commercial gzip filter? Or PlanetJ gzip filter is a good one?. We excepect the application to scale up to 150 users and the filter selected should not be an issue for this. Also is there any official oracle/wls supported gzip filters available?
    Any help on this is highly appreciated.
    regards
    jossy.

    Thank you for the answer. But currently we are looking to including filter at WLS as the suggestion by you will involve lot of architectural changes. Could you please answer if any weblogic/oracle supported filter is avaialble for enabling compression at WLS.
    thanks and regards
    jossy.

  • Connection Reset issue in Weblogic 8.1

    Hi,
    We have an application running on weblogic 8.1. Please let men explain the steps that we carried out:
    1. A new user was being enrolled through the applciation.
    2. To make the connection object the value of the properties DriverClass, ConnectionURL, UserId and Password was obtained from the config.xml.
    3. preparedStatement.executeUpdate() inserted data in the database.
    This works fine initially but when i leave the system idle for an hour or so and then try to access the application we get an error:
    java.sql.SQLException: Io exception: Connection reset
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
    at oracle.jdbc.ttc7.TTC7Protocol.handleIOException(TTC7Protocol.java:3675)
    at oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:618)
    at oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:575)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2803)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:608)
    at workout.security.weblogic.realm.rdbms.RDBMSDelegate.addGroupMember(RDBMSDelegate.java:757)
    at workout.security.weblogic.realm.rdbms.RDBMSRealm.addGroupMember(RDBMSRealm.java:446)
    at workout.security.weblogic.RDBMSSecurityRealm.add(RDBMSSecurityRealm.java:84)
    at workout.util.LDAPClientHelper.add(LDAPClientHelper.java:39)
    at workout.ejb.Enrollment.EnrollmentBean.enroll(Unknown Source)
    at workout.ejb.Enrollment.Enrollment_q1qync_EOImpl.enroll(Enrollment_q1qync_EOImpl.java:206)
    at workout.ejb.Enrollment.Enrollment_q1qync_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:166)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:284)
    at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
    at workout.ejb.Enrollment.Enrollment_q1qync_EOImpl_812_WLStub.enroll(Unknown Source)
    at workout.beans.UserProfile.enroll(Unknown Source)
    at jsp_servlet._customer_service._consumer_enrollment.___processall._jspService(___processall.java:1524)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    After some more attempts the system appears to work fine.
    If anyone can advise then it will be of great help.
    Thanks & Regards
    Neeraj Kanodia

    For those interested, I have some updates on this subject and someone out there sent me a mail asking if I ever found anything out.
    Basically, when I encountered this issue the first time, I was working on a SP2 Portal. We were having numerous small bugs like this one with SP2 that centered around the back button or refresh button. BEA gave us a "super patch" back in July or so that when applied to our SP2 project, fixed our issue. I have sense moved onto SP3, and I did not see the compression issue (so I think SP3 must have the patches correctly setup...like I would assume it would).

  • Using native IIS 6.0 Gzip Compression in front of WLS 8.1 SP5

    (IIS 6.0 => ISAPI proxy(/*) => WLS 8.1 SP5 )
    Instead of usign a servlet filter and Gzip compression inside the, I would like to test the IIS 6.0 Gzip compression. I want to do this because the IIS server farm is severley underutilized in CPU and seems like the best use of that resource.
    It is easy to config this in IIS 6.0. However, I can get IIS served static pages back compressed, but requests proxied to WLS return uncompressed, even though I have configured DLL calls to be zipped inide IIS.
    The question is: has anyone done this and if so, what is the config.

    I am trying to solve the same issue. This is what I've discovered so far. I have been able to get page compression to work with IIS 4.0 and 5.0 using the iisproxy plugin. The trick was to add both "jsp" and "wlforward" extensions to the script file list to compress dynamic files.
    IIS 6.0 changed the compression module from an ISAPI plugin to internal code. The configurations look the same, but I am not able to get JSPs to be compressed. I can compress static files, I can compress ASP files so I know I have compression working and I know that I have dynamic file compression working.
    This is a great article on configuring compression in IIS, it should get you started in the right direction. I know it's from a .Net site, but the fundamentals are the same and it's very well written.
    http://dotnetjunkies.com/Article/16267D49-4C6E-4063-AB12-853761D31E66.dcik
    I am now trying to figure out how to get IIS 6.0 dynamic page compression to work with the iisproxy plugin. Any ideas?

  • GZIP compress

    Hi all:
    I want to compress the webservice communication using GZIP. One solution is to
    compress the HTTP communication when the client request have the "Accept-Encoding:
    gzip, deflate" header. Is it possible another solution in Bea?
    Can I compress the HTTP communication with the Bea Weblogic directly or I must
    use Apache+plug-in+mod_gzip?
    I test my server (version 7.0.2) and the response wasn´t compressed, I don't
    know if I have a bad configuration or that the Bea webserver doesn't support gzip
    compression.
    Thank you in advance

    Hi, we have the same need.
    I tried to use two servlet filters, one for decompression of the request and on
    for compression of the response. However, when I wrap the request I get ClassCastException
    from WebServiceService
    weblogic.webservice.server.servlet.WebServiceServlet.getWebService(WebServiceServlet.java:195)
    I think it casts it to a weblogic.servlet.internal.
    ServletRequestImpl, which wont work since the filter has wrapped it into another
    class.
    Any ideas of how to implement compression?
    I use WebLogic Server 8.1 SP1.
    "Miguel Angel" <[email protected]> wrote:
    >
    Hi all:
    I want to compress the webservice communication using GZIP. One solution
    is to
    compress the HTTP communication when the client request have the "Accept-Encoding:
    gzip, deflate" header. Is it possible another solution in Bea?
    Can I compress the HTTP communication with the Bea Weblogic directly
    or I must
    use Apache+plug-in+mod_gzip?
    I test my server (version 7.0.2) and the response wasn´t compressed,
    I don't
    know if I have a bad configuration or that the Bea webserver doesn't
    support gzip
    compression.
    Thank you in advance

  • Gzip compression for http responses?

    Is there an easy way to have the WebLogic server compress HTTP responses, something like Tomcat's "compression" parameter (see http://tomcat.apache.org/tomcat-6.0-doc/config/http.html)? Or is the only way to write a servlet filter?
    Thanks,
    --Dan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    I'm not aware of any GZip compression on WLS, but if you're using WLS 10.3, you may add the following block to your weblogic.xml :
    <weblogic-web-app>
    <jsp-descriptor>
    <compress-html-template>
    true
    </compress-html-template>
    </jsp-descriptor>
    </weblogic-web-app>
    It's HTML Compression and it should remove any extra spaces.
    Example :
    <html>
    <body>
    <text>
    </text>
    </body>
    </html>
    Can be compressed as:
    <html><body><text></text></body></html>
    That's the only thingl that comes to my mind.
    Hope this helps.

  • GZip Compression (Yes this old chestnut Again)

    I have a client who requires this to work in .NET 4 Client Profile so no 4.5 compression improvements for me. All I need is 2 functions one to compress and one to decompress
    both of which take in and return unicode strings. I have spent weeks nay months searching tweaking writing etc. to no avail, I have looked at all the existing snippets I could find but they
    all either take in or return a Byte() or Stream or something else and when I tweak them to take/return a string they don't work. What I have so far (a snippet found online tweaked) is:
    Public Shared Function Decompress(bytesToDecompress As String) As String
    Using stream = New IO.Compression.GZipStream(New IO.MemoryStream(System.Text.Encoding.Unicode.GetBytes(bytesToDecompress)), IO.Compression.CompressionMode.Decompress)
    Const size As Integer = 4096
    Dim buffer = New Byte(size - 1) {}
    Using memoryStream = New IO.MemoryStream()
    Dim count As Integer
    Do
    count = stream.Read(buffer, 0, size)
    If count > 0 Then
    memoryStream.Write(buffer, 0, count)
    End If
    Loop While count > 0
    Return System.Text.Encoding.Unicode.GetString(memoryStream.ToArray())
    End Using
    End Using
    End Function
    Public Shared Function Compress(Input As String) As String
    Dim bytes() As Byte = System.Text.Encoding.Unicode.GetBytes(Input)
    Using stream = New IO.MemoryStream()
    Using zipStream = New IO.Compression.GZipStream(stream, IO.Compression.CompressionMode.Compress)
    zipStream.Write(bytes, 0, bytes.Length)
    Return System.Text.Encoding.Unicode.GetString(stream.ToArray())
    End Using
    End Using
    End Function
    However the problem is if you run the following you get nothing out.
    Decompress(Compress("Test String"))
    Please help me; I know this has been covered to death elsewhere but I am missing something when tweaking I am sure it's something very simple but it is causing me great stress! Many Many Thanks Indeed!

    I have now found a workaround which may be useful to others so I am posting it here, it doesn't do exactly what was described above which would be ideal but here is the code:
    Private Sub WriteCompressed(ByVal Path As String, Data As String)
    Using WriteFileStream As IO.FileStream = IO.File.Create(Path)
    Using DataStream As New IO.MemoryStream(System.Text.Encoding.Unicode.GetBytes(Data))
    Using Compressor As IO.Compression.DeflateStream = New IO.Compression.DeflateStream(WriteFileStream, IO.Compression.CompressionMode.Compress)
    DataStream.CopyTo(Compressor)
    End Using
    End Using
    End Using
    End Sub
    Private Function ReadCompressed(ByVal Path As String) As String
    Using ReadFileStream As IO.FileStream = System.IO.File.OpenRead(Path)
    Using DataStream As New IO.MemoryStream
    Using Decompressor As IO.Compression.DeflateStream = New IO.Compression.DeflateStream(ReadFileStream, IO.Compression.CompressionMode.Decompress)
    Decompressor.CopyTo(DataStream)
    Return System.Text.Encoding.Unicode.GetString(DataStream.ToArray)
    End Using
    End Using
    End Using
    End Function
    Many thanks indeed to everyone who helped and any more input is still welcome. Thanks again!
    That's great. You should propose your post as the answer to end the thread.
    I just finished with a different method. However I will guess the real issue is that strings can not contain various binary values such as Nulls, Delete, Bell, Backspace, etc (as you can see zeros in RTB2 in the image below which are null
    values).
    I forgot to add that during testing I was receiving errors because compressed data written to a string then read from a string into bytes and decompressed would return errors during the decompressing that the data did not contain a valid GZip header. Therefore
    when GZip compresses it uses some format for the compressed data that is known to Gzip. Otherwise it would not have a header in the compressed data.
    You can see what binary values (Decimal) would be in a string at this link
    Ascii Table.
    Therefore I used the code below to get a string from a RichTextBox1 to a byte array. That is compressed and output to a byte array.
    The information in the "compressed" byte array is then converted byte by byte to the bytes value in RichTextBox2 with each value separated by a comma.
    To decompress the string in RichTextBox2 that text is split into a string array on a comma. Then each item is converted to a byte into a List(Of Byte). The List(Of Byte).ToArray is then decompressed back into a byte array and that byte array is converted
    to a string in RichTextBox3.
    I suspect the actual compressed byte array could be written to a binary file using the
    BinaryWriter Class if the original strings were supposed to be compressed and attached as files for transfer somewhere.
    Option Strict On
    Imports System.IO
    Imports System.IO.Compression
    Imports System.Text
    Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Me.Location = New Point(CInt((Screen.PrimaryScreen.WorkingArea.Width / 2) - (Me.Width / 2)), CInt((Screen.PrimaryScreen.WorkingArea.Height / 2) - (Me.Height / 2)))
    RichTextBox1.Text = My.Computer.FileSystem.ReadAllText("C:\Users\John\Desktop\Northwind Database.Txt")
    Label1.Text = "Waiting"
    Label2.Text = "Waiting"
    Label3.Text = "Waiting"
    Label4.Text = "Waiting"
    Button2.Enabled = False
    End Sub
    Dim BytesCompressed() As Byte
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
    RichTextBox2.Clear()
    RichTextBox3.Clear()
    Label1.Text = "Waiting"
    Label2.Text = "Waiting"
    Label3.Text = "Waiting"
    Label4.Text = "Waiting"
    If RichTextBox1.Text <> "" Then
    Dim uniEncoding As New UnicodeEncoding()
    BytesCompressed = Compress(uniEncoding.GetBytes(RichTextBox1.Text))
    Label1.Text = RichTextBox1.Text.Count.ToString
    Label2.Text = BytesCompressed.Count.ToString
    For Each Item In BytesCompressed
    RichTextBox2.AppendText(CStr(CInt(Item)) & ",")
    Next
    RichTextBox2.Text = RichTextBox2.Text.Remove(RichTextBox2.Text.Count - 1, 1)
    End If
    Button2.Enabled = True
    End Sub
    Private Shared Function Compress(data As Byte()) As Byte()
    Using compressedStream = New MemoryStream()
    Using zipStream = New GZipStream(compressedStream, CompressionMode.Compress)
    zipStream.Write(data, 0, data.Length)
    zipStream.Close()
    Return compressedStream.ToArray()
    End Using
    End Using
    End Function
    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
    Button2.Enabled = False
    Dim RTB2Split() As String = RichTextBox2.Text.Split(","c)
    Dim BytesToUse As New List(Of Byte)
    For Each Item In RTB2Split
    BytesToUse.Add(CByte(Item))
    Next
    Label3.Text = BytesToUse.Count.ToString
    Dim uniEncoding As New UnicodeEncoding()
    RichTextBox3.Text = uniEncoding.GetString(Decompress(BytesToUse.ToArray))
    Label4.Text = RichTextBox3.Text.Count.ToString
    End Sub
    Private Shared Function Decompress(data As Byte()) As Byte()
    Using compressedStream = New MemoryStream(data)
    Using zipStream = New GZipStream(compressedStream, CompressionMode.Decompress)
    Using resultStream = New MemoryStream()
    zipStream.CopyTo(resultStream)
    Return resultStream.ToArray()
    End Using
    End Using
    End Using
    End Function
    End Class
    La vida loca

  • Issue in Weblogic Server - Server Stops abruptly

    Hi All,
    I am facing an issue with Weblogic server(8.1). One of the managed servers stops abruptly. Server run for some days. After 5 or 6 days it stops without giving any log message. Admin(mgt server) and this managed server are running in the same box(AIX Environment). Below is the only log I got. Any idea why it is happening?
    According to the BEA Message it may be due to network problem. Since both the servers are running in same box, i don't think it is network issue.
    Can anyone please help me on this? - thanks in advance
    Log Trace Message:
    ==================
    <AF[196]: Allocation Failure. need 528 bytes, 67173345 ms since last AF>
    <AF[196]: managing allocation failure, action=1 (0/1040390840) (32611304/33283912)>
    <GC(197): freeing class jsp_servlet._ofr._invoice._shipper._jsp.__exceptioninvoicelist(302453c8)>
    <GC(197): freeing class jsp_servlet._lcom._common._jsp.__page_navigation(3024ecc8)>
    <Dec 21, 2005 10:47:18 PM KST> <Warning> <Management> <BEA-141138> <Managed Server ofrserver is disconnected from the ad
    min server. This may be either due to a managed server getting temporarily partitioned or the managed server process exi
    ting.>
    <GC(197): freeing class jsp_servlet._ofr._filter._jsp.__filterdetails(30252718)>
    <GC(197): freeing class jsp_servlet._lcom._admin._jsp.__devtools(3040f898)>
    <GC(197): freeing class jsp_servlet._lcom._admin._util._jsp.__devtoolslogin(3040f260)>
    <GC(197): freeing class jsp_servlet._lcom._admin._util._jsp.__processdevtoolslogin(30411870)>
    <GC(197): freeing class jsp_servlet._ofr._admin._util._jsp.__xmlcommmanagerimport(30413e58)>
    <GC(197): freeing class jsp_servlet._ofr._admin._util._jsp.__processxmlcommmanagerimport(30414a88)>
    <GC(197): unloaded and freed 8 classes>
    <GC(197): GC cycle started Wed Dec 21 22:47:23 2005
    <GC(197): freed 721499624 bytes, 70% free (754110928/1073674752), in 263157 ms>
    <GC(197): mark: 248258 ms, sweep: 1857 ms, compact: 13042 ms>
    <GC(197): refs: soft 0 (age >= 32), weak 0, final 27363, phantom 0>
    <GC(197): moved 0 objects, 0 bytes, IC reason=14>
    <GC(197): stop threads time: 1356, start threads time: 19>
    <AF[196]: completed in 282883 ms>
    Thanks,
    Shanmuga perumal
    [email protected]

    I think you should be able to follow the same steps but whenever you come across Domain B in the instructions, just substitute the values for Domain A. Because it is the same domain you may not even have to go through some of the certificate steps. If you have questions I suggest you post them in the WLS Security forum.
    WebLogic Server - Security

  • Issue with Weblogic services in Linux OBIEE 11G

    Hello All,
    I have a OBI 11G set up on a linux OS.I am facing a issue with weblogic service.
    Whenever I am trying to start the Admin server from command line using its .sh , it is starting successfully.
    But whenever I am closing that Linux session or coming out of the Admin server log , this service is getting stopped on its own.
    OBI is working perfectly when that Linux session and Admin server log is intact, but as soon as i close either of them Admin server shut itself down.
    Please any help on this will be appreciated.
    Thanks,
    Bhavnesh

    Hi Bhavnesh.
    Try this way and let me know  the outcome.
    nohup ./startWeblogic.sh -Dweblogic.management.username=Username -Dweblogic.management.password=password & tail -f nohup.out
    Mark if helps,
    Thanks,

  • [URGENT] UTF-8 issue in weblogic SOAP implementation

    Guyz,
    I am finding an issue with **weblogic.xml.saaj.MessageFactoryImpl** SOAP message factory mplementation class of weblogic. When it creates SOAP from inputstream which includes portuguese characters it does not recognise those characters.
    Any idea how to solve this issue?
    Chinmoy

    Will this really be a problem? UTF-8 is a superset of US-ASCII, I believe,
              so there should be no incompatability. This is assuming that you will only
              be sending latin characters in the form, since the recieving end can only
              accept latin characters. If this is NOT true, then they need to use UTF-8.
              Otherwise, I would test it and see what happens.
              "Volker Mader" <[email protected]> wrote in message
              news:3d3326c4$[email protected]..
              >
              > Hi there,
              >
              > can anybody help me.
              > I have a webapp in wls 6.1 sp2. All of the web is utf-8 based, so i set
              the charset
              > in the page-directive and the html content type to utf-8. Also I set the
              <input-charset>
              > Tag in weblogic.xml to utf-8 for context "/".
              > Problem: I want to send a from out of this webapp to another server which
              serves
              > a iso-8859-1 based application.
              > How can I do that?
              >
              > Thanks for help
              > Volker
              

  • IBM JDK 6 32bit & 64bit Reflection Invoke issue on Weblogic 10.3

    We just found a issue on Weblogic 10.3 with IBM JDK 6 32bit, which calls different method during reflection invoke with that been processed under 64bit JDK, here is my source code:
    public class ButtonTag extends InputTag {
    private boolean checkNotNull = false;
    public void setCheckNotNull(Object checkNotNull) {
    public void setCheckNotNull(boolean checkNotNull) {
    this.checkNotNull = checkNotNull;
    this.setUserSetCheckNotNull(true);
    Under 64bit, reflection invoke will call setCheckNotNull(boolean checkNotNull), however under 32bit, it will call setCheckNotNull(Object checkNotNull), actually 32bit version is doing something wrong, we are not sure it is a issue of weblogic or IBM JDK, pls refer the information below for details, Thanks
    OS: AIX 5.3
    AIX@ /usr/java6/bin./java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap3260sr2-20080818_01(SR2))
    IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc-32 jvmap3260-20080816_22093 (JIT enabled, AOT enabled)
    J9VM - 20080816_022093_bHdSMr
    JIT - r9_20080721_1330ifx2
    GC - 20080724_AA)
    JCL - 20080808_02
    AIX@ /usr/java6_64/bin./java -version
    java version "1.6.0"
    Java(TM) SE Runtime Environment (build pap6460sr6-20090925_01(SR6))
    IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr6-20090923_42924 (JIT enabled, AOT enabled)
    J9VM - 20090923_042924
    JIT - r9_20090902_1330ifx1
    GC - 20090817_AA)
    JCL - 20090924_01
    AIX server107 3 5 00CE9E7B4C00

    The problem was the name of the Seam EJB module. Changing the jar to jboss-seam.jar, everything worked. This issue does not appear on JBoss 4.2.3.GA, where I also tested.
    Edited by: deadlock_gr on Jun 10, 2010 9:55 AM
    Edited by: deadlock_gr on Jun 10, 2010 9:56 AM

  • Enabling GZIP compression on the HTTPBC or a suggested alternative approach

    Hi,
    I posted this on the openusb-users group, but I haven't come up with a good solution yet.
    Any takers?
    Thanks,
    Rob
    http://openesb-users.794670.n2.nabble.com/gzip-compression-support-in-HTTP-BC-tp5366301.html
    Does anybody know whether the HTTP BC shares all of the same features that the Glassfish HTTP listener supports such as gzip compression? If so, where are those parameters specified for the HTTP BC? (Compression of the XML can of course make a tremendous bandwidth savings for the typical XML passed around via SOAP.)
    Please see:
    http://docs.sun.com/app/docs/doc/820-4338/abhco?a=view
    compression - on
    Specifies use of HTTP/1.1 GZIP compression to save server bandwidth. Allowed values are:
    off – Disables compression.
    on – Compresses data.
    force – Forces data compression in all cases.
    positive integer – Specifies the minimum amount of data required before the output is compressed.
    If the content-length is not known, the output is compressed only if compression is set to on or force.
    compressableMimeType text/html,text/xml,text/plain
    Specifies a comma-separated list of MIME types for which HTTP compression is used.
    If there isn't a way to configure the HTTPBC, What would be the best way to enable a gzip compression of the XML for the HTTPBC or JBI framework in general?
    My first approach might be to just have a Glassfish HTTP-Listener based WebService delegate to the HTTPBC or more directly to the JBI SE components if possible. Maybe a filter on the HTTPBC to gzip the payload? Are there any plans to refactor HTTPBC to use the Glassfish HTTP Listener code, it appears to have more capability and options?
    Rob

    I tried it did not work.
    Below are the steps which I did:
    Test2: Table level compression test
    ===================================
    CREATE TABLE SCOTT.TEST_PMT_TAB_COMP
    PMT_ID INTEGER NOT NULL,
    PMT_AGCY_NBR CHAR(7 BYTE),
    PMT_SBAGCY_NBR CHAR(7 BYTE),
    PMT_PAY_DT DATE,
    PMT_POL_NBR CHAR(14 BYTE),
    PMT_POL_SEQ_NBR CHAR(2 BYTE),
    PMT_PRM_INSD_NM VARCHAR2(30 BYTE),
    PMT_PAY_TYP_DESC VARCHAR2(20 BYTE),
    PMT_PAY_AMT NUMBER(11,2),
    PMT_POST_DT DATE
    COMPRESS FOR ALL OPERATIONS;
    inserting record from the test table:
    SQL> insert into SCOTT.TEST_PMT_TAB_COMP select * from SCOTT.TEST_PMT;
    5051013 rows created.
    SQL> commit;
    Commit complete.
    SQL> select count(*) from scott.TEST_PMT_TAB_COMP;
    COUNT(*)
    5051013
    Checking size:
    SQL> select bytes/1024/1024, segment_name, owner, segment_type, tablespace_name from dba_segments where segment_name='TEST_PMT_TAB_COMP';
    BYTES/1024/1024 SEGMENT_NAME OWNER SEGMENT_TYPE TABLESPACE_NAME
    776 TEST_PMT_TAB_COMP SCOTT TABLE USERS_DATA01
    SQL> select owner, table_name, COMPRESSION, COMPRESS_FOR from dba_tables where table_name='TEST_PMT_TAB_COMP';
    OWNER TABLE_NAME COMPRESS COMPRESS_FOR
    SCOTT TEST_PMT_TAB_COMP ENABLED OLTP
    Now it is occupying more size.

  • Adobe Air needs HTTP gzip compression

    Hello
    We are developing an Adibe Air application. We use SOAP for
    service calls and we depend entirely upon gzip HTTP compression to
    make the network performance even vaguely acceptable. SOAP is such
    a fat format that it really needs gzip compression to get the
    responses down to a reasonable size to pass over the Internet.
    Adobe Air does not currently support HTTP gzip compression
    and I would like to request that this feature be added ASAP. We
    can't release our application until it can get reasonable network
    performance through HTTP gzip compression.
    Thanks
    Andrew

    Hi blahxxxx,
    Sorry for the slow reply -- I wanted to take some time to try
    this out rather than give an incomplete response.
    It's not built into AIR, but if you're using
    Flex/ActionScript for your application you can use a gzip library
    to decompress a gzipped SOAP response (or any other gzipped
    response from a server -- it doesn't have to be SOAP). Danny
    Patterson gives an example of how to do that here:
    http://blog.dannypatterson.com/?p=133
    I've been prototyping a way to make a subclass of the Flex
    WebService class that has this built in, so if I can get that
    working it would be as easy as using the Flex WebService component.
    I did some tests of this technique, just to see for myself if
    the bandwidth savings is worth the additional processing overhead
    of decompressing the gzip data. (The good news is that the
    decompression part is built into AIR -- just not the specific gzip
    format -- so the most processor-intensive part of the gzip
    decompression happens in native code.)
    Here is what I found:
    I tested this using the
    http://validator.nu/ HTML validator
    web service to validate the HTML source of
    http://www.google.com/. This
    isn't a SOAP web service, but it does deliver an XML response
    that's fairly large, so it's similar to SOAP.
    The size of the payload (the actual HTTP response body) was
    5321 bytes compressed, 45487 bytes uncompressed. I ran ten trials
    of each variant. All of this was done in my home, where I have a
    max 6Mbit DSL connection. In the uncompressed case I measured the
    time starting immediately after sending the HTTP request and ending
    as soon as the response was received. In the compressed case I
    started the time immediately after sending the HTTP request and
    ended it after receiving the response, decompressing it and
    assigning the compressed content to a ByteArray (so the compressed
    case times include decompression, not just download). The average
    times for ten trials were:
    Uncompressed (text) response: 1878.6 ms
    Compressed (gzip) response: 983.1
    Obviously these will vary a lot depending on the payload
    size, the structure of the compressed data, the speed of the
    network, the speed of the computer, etc. But in this particular
    case there's obviously a benefit to using gzipped data.
    I'll probably write up the test I ran, including the source,
    and post it on my blog. I'll post another reply here once I've done
    that.

  • How Do I enable gzip compression on Sun One Web Server 6.0

    How Do I enable gzip compression on Sun One Web Server 6.0

    Hi,
    Sun ONE webserver 6.0 is over 5 years old and is reaching end of support life. Please consider upgrading to webserver 6.1sp5 which is free:
    http://www.sun.com/download/products.xml?id=434aec1d
    or else the preview version of WebServer 7.0 (also free)):
    http://www.sun.com/download/products.xml?id=446518d5
    For webserver 6.1, the docs for setting up compression are at:
    http://docs.sun.com/source/819-0130/agcontnt.html#wp1019634
    and
    http://docs.sun.com/source/817-6252/npgnsapi.html
    Hope this helps

Maybe you are looking for

  • How to capture error message in a FM call during exception

    Hi, The FM i'm trying to call is giving an exception and don't have the built in mechanism to pass on the error message that occured during processing. However, if i see the job log in SM37, I'm able to see the corresponding error message. Please let

  • Manual Sync does not appear on IPHONE summary

    Hello, I just purchased a new iphone today and have not been able to manually sync my music from my library into my phone. Th manual sync option does not even appear when the phone is connected to itunes. (Quite odd.) Only two options appear in the s

  • Problem with image rendering program

    I am trying to use a 3D image segmentation program called "ITK-SNAP" on Mac Mini (2013). However, when I loaded the image, half of the image is not showing. I have tried the program on OSX 10.8.5 and OSX 10.9.1 (same computer, just upgraded yesteday)

  • Query Builder in 3.0 Can it be called and used as part of an application

    The query builder component is nice from an end user perspective. Can it be called in version 3.0 as part of an application? i.e. the user gets the tables listed in the app and can create the sql query as done when building the app? If so, does anyon

  • System crashes while exporting

    hi all, I'm all new to captivate and I'm working at my first project with it. I'm doing a navigation site demo, which will be distibuted on cd. I'm working on just one .cp file because I need the project to run as standalone, not inside internet expl