PageCheckSeconds not working in WLS 5.1SP11. Strange behavior..

          Hello All,
          We are using Weblogic 5.1 SP11 and I am seeing a strange behavior when I use the
          JSPC pre-compiler.
          Using JSPC compiler, I get class/source files in the workingDir that have two underscores
          prepended to the file name...Eg : index.jsp is translated into __index.java and pre-compiled
          into __index.class. Now when i start the webserver and
          then access this page, it does a re-compile and then
          creates class files and source files that have one underscore prepended to the file
          name Eg : index.jsp is precompiled into index.java and index.class.
          Also, the byte sizes of the two classfiles are different...What is the reason for
          this occurence ??....I looked at index.jsp and it does not contain a <jsp:include>
          that could have potentially explained the issue...
          I have set the pageCheckSeconds in the weblogic.properties file to -1 and also we
          are using the exploded directory format....
          Could someone please explain this phenomenon with WLS ??...How do
          you let WLS know about the pre-compiled classes ???...
          By JSPC Compiler
          Name               Size          Time
          __index.java     129 kB     3.06 PM
          __index.class      34 kB          3.07 PM
          By the Server on Request
          Name               Size          Time
          _index.java          146 kB             3.22 PM
          _index.class             36 kB          3.22 PM
          Please let me know if more information is needed....
          Thanks,
          Venkat
          

Hi.
          Hmmm, hard to say. Please open a case with support on this.
          Regards,
          Michael
          Venkat K wrote:
          > Mike,
          >
          > Thanks for your reply.
          >
          > I did check again to make sure that weblogic510sp11.jar
          > is in the front. Any other suggestions ??
          >
          > Thanks,
          > Venkat
          >
          > Michael Young <[email protected]> wrote:
          > >Hi.
          > >
          > >When you invoke weblogic.jspc from the command line do you have weblogic510sp11.jar
          > >at the front
          > >of your classpath?
          > >
          > >One possibility might be that you have sp11 applied when running WLS but
          > >not when you compile
          > >from the command line, or vice versa.
          > >
          > >Regards,
          > >Michael
          > >
          > >Venkat K wrote:
          > >
          > >> Hello All,
          > >>
          > >> We are using Weblogic 5.1 SP11 and I am seeing a strange behavior when
          > >I use the
          > >> JSPC pre-compiler.
          > >>
          > >> Using JSPC compiler, I get class/source files in the workingDir that have
          > >two underscores
          > >> prepended to the file name...Eg : index.jsp is translated into __index.java
          > >and pre-compiled
          > >> into __index.class. Now when i start the webserver and
          > >> then access this page, it does a re-compile and then
          > >> creates class files and source files that have one underscore prepended
          > >to the file
          > >> name Eg : index.jsp is precompiled into index.java and index.class.
          > >>
          > >> Also, the byte sizes of the two classfiles are different...What is the
          > >reason for
          > >> this occurence ??....I looked at index.jsp and it does not contain a <jsp:include>
          > >> that could have potentially explained the issue...
          > >>
          > >> I have set the pageCheckSeconds in the weblogic.properties file to -1
          > >and also we
          > >> are using the exploded directory format....
          > >>
          > >> Could someone please explain this phenomenon with WLS ??...How do
          > >> you let WLS know about the pre-compiled classes ???...
          > >>
          > >> By JSPC Compiler
          > >> Name Size Time
          > >> __index.java 129 kB 3.06 PM
          > >> __index.class 34 kB 3.07 PM
          > >>
          > >> By the Server on Request
          > >> Name Size Time
          > >> _index.java             146 kB          3.22 PM
          > >> _index.class            36 kB           3.22 PM
          > >>
          > >> Please let me know if more information is needed....
          > >>
          > >> Thanks,
          > >> Venkat
          > >
          > >--
          > >Michael Young
          > >Developer Relations Engineer
          > >BEA Support
          > >
          > >
          Michael Young
          Developer Relations Engineer
          BEA Support
          

Similar Messages

  • Internet does not work after kernel upgrade (quite strange)

    Hi guys
    My internet (only at home) does not work anymore with kernel 2.6.27. at university it works just fine. isn't that funny
    it has something to do with packet sizes interestingly enough... because i can ping "the internet" (i.e. kernel.org) just fine at home but wget kernel.org fails. ping -s 1000 fails as well, so it's probably really related to packet size.
    I use DSL which has a strange value for MTU i heard, but it works just fine with lower kernel versions. I am a bit lost by now...
    Btw: it's actually not arch-patch-related, so sorry for posting this here (i already mailed it to the lkml) but i thought maybe there are people here who are interested in strange problems
    cheers Barde
    PS: what i meant to say actually is that if you're not interested in my problem, just ignore this thread

    Ok, I downgraded again, very carefully & rebooted to an internet working as it should be.
    Sorry for throwing some confusion on the matter, I had, had a very long day with an Arch install that went wrong(!)  the day before & must have been brain addled when downgrading yesterday.
    I will now have another look at the machine that's install is stuck & see if I can understand why, with my new found knowledge.
    Thanks to all for your much needed help.
    [Edit:]
    My 2nd machine was suffering the same problem which it caught during a fresh install of Arch!
    I have edited some of my previous posts to try to remove confussion created by my failed first downgrade attempt. {embarrassment}
    Last edited by handy (2008-10-18 00:14:44)

  • Servlet reloading not working with WLS 5.1 sp8

              I downloaded and installed WLS 5.1's sp8 to fix the "java.net.SocketException: Connection aborted by peer: socket write error"
              problem. Although that problem is fixed, I have found that, however, the servlet (automatic) reloading does not
              work anymore. If I remove the sp8 from my Java system classpath and WL classpath (i.e. not using sp8), then
              the servler reloading works fine.
              Does anybody experience similar problem or have I forgot to do something?
              WLS properties/env vars setting:
              - weblogic.httpd.servlet.reloadCheckSecs=0
              - WEBLOGIC_CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic510sp8.jar;...
              - JAVA_CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic510sp8boot.jar;...
              Thanks in advance for any help.
              

              I've experienced the same problem with both sp6 and sp8. In both cases I performed several test, including
              - varied the value of weblogic.httpd.servlet.reloadCheckSecs
              - changes to the package depth the servlet belonged to
              - changes to the string length of the package names the servlet belonged to
              At best, the servlet would reload sometimes. I've moved back to sp5 and the problem has subsided.
              Note: I did not try registering the servlet to see how that would effect the dynamic reloading.
              Hope this helps
              - Dave
              "Michel Dinh" <[email protected]> wrote:
              >
              >I downloaded and installed WLS 5.1's sp8 to fix the "java.net.SocketException: Connection aborted by peer: socket write error"
              >problem. Although that problem is fixed, I have found that, however, the servlet (automatic) reloading does not
              >work anymore. If I remove the sp8 from my Java system classpath and WL classpath (i.e. not using sp8), then
              >the servler reloading works fine.
              >
              >
              >Does anybody experience similar problem or have I forgot to do something?
              >
              >WLS properties/env vars setting:
              >
              >- weblogic.httpd.servlet.reloadCheckSecs=0
              >- WEBLOGIC_CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic510sp8.jar;...
              >- JAVA_CLASSPATH=%WEBLOGIC_HOME%\lib\weblogic510sp8boot.jar;...
              >
              >Thanks in advance for any help.
              

  • Upper speaker in my new iPhone 4 does not work properly. I hear strange sounds instead of speech. What to o?

    Upper speaker in my new iPhone 4 does not work. When somebody calls me I hear only strange sounds. Please, help!

    A couple of other things you can try -
    With my 2010 Ford Fusion (and SYNC) I received the same not optimized message a few times. There were several things I had to do but eventually, I got it cleared up. Not sure exactly how this will translate to your Toyota but maybe it will.
    - Try resetting the iPhone via a power off/on or a hard reset where you hold the home and power buttons. Then power back on and plug into your USB port.
    - In my case I had an issue with SYNC in my car where I needed to reset the USB port in my car. Not sure if Toyota has something similar. The fact that you said it won't charge makes me wonder if the USB port got disabled in your car. This happened in my car and an easy reset for me was to remove a fuse for a few minutes and replace.
    - Update your iPhone in iTunes and resync it there. Then try connecting again in yor car.
    - Delete and re pair your iPhone from your Toyota system
    Hope something here helps. Thanks

  • ALV Filter : Not working for a text field - Strange problem

    Dear All,
    I have a Z-program where the ALV filter is not working on a particular text field.
    The output on that text field is as below :
    ABCD
    JKLM
    YYZZ
    ABCD
    JKLM
    ABCD
    JKLM
    YYZZ
    YYZZ
    When we try to filter on YYZZ, it gives blank list. But for other options given abobe it works fine.
    I know it is because of the negative sign , but how can we over come this problem ?
    Thanks in advance,
    Sandip.

    Hi Sandip,
    Use 'LOWERCASE' in the fieldcatalog.
    For the particular text field when you are appending the Fieldcatalog structure to the Fieldcatalog Table
    ( Suppose LS_FIELDCAT)
    Then check the LOWERCASE field.
    (LS_FIELDCAT-LOWERCASE = 'X' )
    This will serve the purpose.
    Regards,
    Sourav

  • Applets not working in WLS 6.1

              I am migrating an application from WLS 5.1 SP 9 to WLS 6.1 SP 1. This
              application contains several applets and ran without error or problems
              under WLS 5.1. However I'm seeing strange behaviour/errors under WLS
              6.1.
              Environment:
              Unix box:
              Sun Solaris - SunOS dargo 5.6 Generic_105181-28 sun4u sparc
              SUNW,Ultra-Enterprise
              Oracle 8.1.7.2
              JDK 1.3.1 that was delivered with WLS 6.1
              Client -- Netscape 4.75 from Window 2000
              In my WLS 5.1 environment I delivered the applets to
              /opt/weblogic/myserver/applets and my JSPS/HTML to
              /opt/weblogic/myserver/public_html.
              In WLS 6.1 I'm currently working on deploying the application in
              exploded format for debugging. I delivered the jar'd up applets to
              /opt/fedex/crs/currentGUI/applets. The remainder of the application is
              in exploded format under /users/crs/{ApplicationName}.
              /users/crs/{ApplicationName} has the following structure:
              deploy
              META-INF -- Contains an application.xml
              astracons-web -- contains the JSPS/HTML
              WEB-INF
              classes -- contains the compiled servlet classes
              lib -- empty
              astracons-ejb
              META-INF -- deployment descriptors for EJB
              com/.... top level of our package that contains our
              EJB.
              Application appears to work correctly with the exception of the
              applets.
              The applet jar files appear OK (jar tvf and jar xvf function correctly).
              Applet tag in JSP is:
              <applet width="180" height="335"
              codebase="/classes/"
              archive="treetable.jar"
              code="com.scand.treetable.JTreeGridApplet.class"
              CLASSPATH includes /opt/fedex/crs/currentGUI/applets/treetable.jar. Applet tag
              and classpath are
              consistent for the other applet (SelectedLocations).
              When I run the application and access the LocationLookupJSP, the
              SelectedLocations applet appears on the screen and appears to function
              correctly (despite the errors in the java console). The treetable
              applet shows the following error on the status line "Applet
              com.scand.treetable.JTreeGridApplet can't init: NEW". I also get the bad zip file
              format error in the
              console. Java console errors are:
              Netscape Communications Corporation -- Java 1.1.5
              Type '?' for options.
              Symantec Java! ByteCode Compiler Version 210.065
              Copyright (C) 1996-97 Symantec Corporation
              java.io.IOException: bad zip file format
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              Code)
              at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              Code)
              at java.awt.EventDispatchThread.run(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              Code)
              # Unable to load archive
              http://dargo.rmtc.fedex.com:7009/classes/SelectedLocations.jar:
              java.io.IOException: bad zip file format
              java.io.IOException: bad zip file format
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              Code)
              at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              Code)
              at java.awt.EventDispatchThread.run(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              Code)
              java.lang.ArrayIndexOutOfBoundsException
              at java.lang.Throwable.printStackTrace(Compiled Code)
              If I run the AstraconsSummaryReport.jsp everything appears to work correctly
              however the java
              console shows the following errors:
              Netscape Communications Corporation -- Java 1.1.5
              java.io.IOException: bad zip file format
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              Code)
              at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              Code)
              at java.awt.EventDispatchThread.run(Compiled Code)
              at
              netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              Code)
              # Unable to load archive
              http://dargo.rmtc.fedex.com:7009/classes/treetable.jar:
              java.io.IOException: bad zip file format
              I've searched through the newsgroups and the WLS 6.1 documentation but
              have reached a dead-end. Any help you can provide would be greatly
              appreciated.
              Terry Jahelka
              

    Terry:
              I recommend opening a case with BEA Support. I don't see a simple answer without someone taking
              the time to personally sort this out with you.
              Regards,
              Jim Brown
              Terry Jahelka wrote:
              > I am migrating an application from WLS 5.1 SP 9 to WLS 6.1 SP 1. This
              > application contains several applets and ran without error or problems
              > under WLS 5.1. However I'm seeing strange behaviour/errors under WLS
              > 6.1.
              >
              > Environment:
              >
              > Unix box:
              >
              > Sun Solaris - SunOS dargo 5.6 Generic_105181-28 sun4u sparc
              > SUNW,Ultra-Enterprise
              > Oracle 8.1.7.2
              > JDK 1.3.1 that was delivered with WLS 6.1
              >
              > Client -- Netscape 4.75 from Window 2000
              >
              > In my WLS 5.1 environment I delivered the applets to
              > /opt/weblogic/myserver/applets and my JSPS/HTML to
              > /opt/weblogic/myserver/public_html.
              >
              > In WLS 6.1 I'm currently working on deploying the application in
              > exploded format for debugging. I delivered the jar'd up applets to
              > /opt/fedex/crs/currentGUI/applets. The remainder of the application is
              > in exploded format under /users/crs/{ApplicationName}.
              >
              > /users/crs/{ApplicationName} has the following structure:
              > deploy
              > META-INF -- Contains an application.xml
              > astracons-web -- contains the JSPS/HTML
              > WEB-INF
              > classes -- contains the compiled servlet classes
              > lib -- empty
              > astracons-ejb
              > META-INF -- deployment descriptors for EJB
              > com/.... top level of our package that contains our
              > EJB.
              >
              > Application appears to work correctly with the exception of the
              > applets.
              >
              > The applet jar files appear OK (jar tvf and jar xvf function correctly).
              >
              > Applet tag in JSP is:
              >
              > <applet width="180" height="335"
              > codebase="/classes/"
              > archive="treetable.jar"
              > code="com.scand.treetable.JTreeGridApplet.class"
              >
              > CLASSPATH includes /opt/fedex/crs/currentGUI/applets/treetable.jar. Applet tag
              > and classpath are
              > consistent for the other applet (SelectedLocations).
              >
              > ____________________________________________________________________________________________
              >
              > When I run the application and access the LocationLookupJSP, the
              > SelectedLocations applet appears on the screen and appears to function
              > correctly (despite the errors in the java console). The treetable
              > applet shows the following error on the status line "Applet
              > com.scand.treetable.JTreeGridApplet can't init: NEW". I also get the bad zip file
              > format error in the
              > console. Java console errors are:
              >
              > Netscape Communications Corporation -- Java 1.1.5
              >
              > Type '?' for options.
              >
              > Symantec Java! ByteCode Compiler Version 210.065
              > Copyright (C) 1996-97 Symantec Corporation
              > java.io.IOException: bad zip file format
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              > at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              > Code)
              > at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              > Code)
              > at java.awt.EventDispatchThread.run(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              > Code)
              > # Unable to load archive
              > http://dargo.rmtc.fedex.com:7009/classes/SelectedLocations.jar:
              > java.io.IOException: bad zip file format
              > java.io.IOException: bad zip file format
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              > Code)
              > at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              > Code)
              > at java.awt.EventDispatchThread.run(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              > Code)
              > java.lang.ArrayIndexOutOfBoundsException
              > at java.lang.Throwable.printStackTrace(Compiled Code)
              >
              > _____________________________________________________________________________________________
              >
              > If I run the AstraconsSummaryReport.jsp everything appears to work correctly
              > however the java
              > console shows the following errors:
              >
              > Netscape Communications Corporation -- Java 1.1.5
              >
              > java.io.IOException: bad zip file format
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.openArchive(Compiled Code)
              > at netscape.applet.AppletClassLoader.<init>(Compiled Code)
              > at netscape.applet.AppletClassLoader.getClassLoader(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
              > Code)
              > at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled
              > Code)
              > at java.awt.EventDispatchThread.run(Compiled Code)
              > at
              > netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
              > Code)
              > # Unable to load archive
              > http://dargo.rmtc.fedex.com:7009/classes/treetable.jar:
              > java.io.IOException: bad zip file format
              >
              > I've searched through the newsgroups and the WLS 6.1 documentation but
              > have reached a dead-end. Any help you can provide would be greatly
              > appreciated.
              >
              > Terry Jahelka
              Jim Brown
              Developer Relations Engineer
              BEA Support
              

  • Literalxml encoding style not working in WLS 7.0 SP1

    I am posting the following handcrafted message via an HTTPS client POST on to the
    Web Service URL :
    <env:Envelope
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header></env:Header>
    <env:Body>
    <sendMessage env:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
    <string><TAG1><TAG>val</TAG>abcfdf</TAG1></string>
    </sendMessage>
    </env:Body>
    </env:Envelope>
    I obviously do not want to escape the XML contents of string param in the method
    sendMessage. I thought literalxml ecnodingstyle would do the trick.
    Is there any jar etc that needs to be loaded into WLS 7 to make this work?
    Note that its an HTTPS post of the raw message, and I do not want to use client
    apis that will do things under the hood.
    Thanks a lot.

    Hi Suteertha,
    There are SwA examples at the following link:
    http://dev2dev.bea.com/direct/webservice/index.html
    Regards,
    Mike Wooten
    "Suteertha Guha" <[email protected]> wrote:
    >
    I got the document type running.
    Input is :
    <env:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header>
    </env:Header>
    <env:Body>
    <ns100:sendMessage xmlns:ns100="http://striker.mk.telcordia.com:9001/"><test><ABC>abcval</ABC><
    def>defff</def></test></ns100:sendMessage>
    </env:Body>
    </env:Envelope>
    Corr Output is :
    <env:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/200
    1/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xml
    soap.org/soap/encoding/"><env:Header></env:Header><env:Body env:encodingStyle="http://schemas.xmlsoa
    p.org/soap/encoding/"><ns100:sendMessageResponse xmlns:ns100="http://striker.mk.telcordia.com:9001/"
    xsi:type="xsd:string">abcval</ns100:sendMessageResponse></env:Body></env:Envelope>
    My CDATA enclosed input is :
    <env:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <env:Header>
    </env:Header>
    <env:Body>
    <ns100:sendMessage xmlns:ns100="http://striker.mk.telcordia.com:9001/"><![CDATA[<test><ABC>abcval</ABC><def>defff</def></test>]]></ns100:sendMessage>
    </env:Body>
    </env:Envelope>
    Corr output is :
    <env:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/200
    1/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xml
    soap.org/soap/encoding/"><env:Header></env:Header><env:Body env:encodingStyle="http://schemas.xmlsoa
    p.org/soap/encoding/"><ns100:sendMessageResponse xmlns:ns100="http://striker.mk.telcordia.com:9001/"
    xsi:type="xsd:string"><test><ABC>abcval</ABC><def>defff</def></tes
    t></ns100:sendMessageResponse></env:Body></env:Envelope>
    Looks like CDATA enclosure is a must to pick up XML, document style or
    rpc style.
    Also, on the way out, chars are getting escaped.
    I failed while trying attachments, can you provide me an example that
    takes in
    and returns an attachment in WLS 7.0?

  • Oracle wallet(oraclepki.jar) is not working with WLS 10.3.1

    An external application is storing a password in oracle wallet i.e cwallet.sso and ewallet.p12 files using OracleWallet technology (oraclepki.jar).
    I have an web application which uses this password stored in the wallet for internal use, this application works fine if we deploy it in OC4J, but if Install the same application in WLS 10.3.1 application is not able to get the password for wallet.
    Oracle wallet require only oraclepki.jar file and this jar file is bundled in the ear file.
    Can someone guide me so that we can use Oracle wallet with WLS.

    Hi
    For me no error is showing. But the whitespace is not getting removed. But this is working fine in Tomcat6.1.
    Any help is appreciated.
    regards
    jossy.

  • JMS Throttling not working on WLS 10?

    Hi,
    I've been trying to get throttling working for some time, and it just doesn't appear to work as I'd expect (or indeed at all)
    Has anyone seen it working?
    I'd like to restrict the flow of messages into my queue to 5 messages / sec, but messages are just flying through the system as quickly as I can send them.
    Each message is generating the following log entries though:
    <04-Aug-2009 17:11:09 o'clock BST> <Alert> <JMS> <BEA-040024> <JMSServer "wlsbJMSServer" byte threshold for destination jmsResources!test-throttlingResponse has been exceeded.>
    <04-Aug-2009 17:11:09 o'clock BST> <Alert> <JMS> <BEA-040025> <JMSServer "wlsbJMSServer" byte threshold condition for destination jmsResources!test-throttlingResponse has cleared.>
    I've followed the following steps:
    (Single Server environment)
    JMS Server
    * Messages threshold high: 2
    * Messages threshold low: 1
    Connection Factory
    * set flow maximum to be 5 messages / sec
    * set flow minimum to be 1 messge / sec
    * Flow interval: 3600
    * Flow steps: 5
    * Flow Control Enabled: On
    Queue
    * Bytes threshold high: 1
    * Bytes threshold low: 0
    * Messages threshold high: 1
    * Messages threshold low: 0
    Quota:
    Messages Maximum: 1
    Policy: FIFO
    Shared: false
    Any ideas?
    Cheers
    Peet

    Thanks for your input on this.
    It's definitely moved me on a bit further.
    When I remove the messageListener, the queue accepts a single message, and then the Quota kicks in and doesn't allow any further messages to be published. The producer blocks for the ConnectionFactory "Send Timeout" (30 seconds) and then throws an exception:
    weblogic.jms.common.ResourceAllocationException: weblogic.messaging.kernel.QuotaException: Quota blocking time exceeded and no quota available
    It seems that this is due to the Quota that I had applied to the queue. This rejects the addition of any messages in excess of the quota, but doesn't trigger the ConnectionFactory throtting.
    Disabling the Quota allows the messages to flow again as quickly as I can produce them.
    So can we say then: Quotas are not required to acheive ConnectionFactory Throttling?
    Once the quota is removed, all of the messages flow freely through the queue, and we get a single instance of these messages:
    <05-Aug-2009 14:59:50 o'clock BST> <Alert> <JMS> <BEA-040024> <JMSServer "wlsbJM
    SServer" byte threshold for destination jmsResources!test-throttlingResponse has been exceeded.>
    <05-Aug-2009 14:59:50 o'clock BST> <Alert> <JMS> <BEA-040026> <JMSServer "wlsbJM
    SServer" message threshold for destination jmsResources!test-throttlingResponsehas been exceeded.>
    <05-Aug-2009 14:59:50 o'clock BST> <Alert> <JMS> <BEA-040030> <JMSServer "wlsbJMSServer" message threshold for the server has been exceeded.>
    Nothing else happens until we turn on the receivers again and then we get these messages alternating again:
    <05-Aug-2009 14:58:52 o'clock BST> <Alert> <JMS> <BEA-040024> <JMSServer "wlsbJM
    SServer" byte threshold for destination jmsResources!test-throttlingResponse has been exceeded.>
    <05-Aug-2009 14:58:52 o'clock BST> <Alert> <JMS> <BEA-040025> <JMSServer "wlsbJM
    SServer" byte threshold condition for destination jmsResources!test-throttlingResponse has cleared.>
    So, it appears that although we're exceeding the message and byte thresholds, the ConnectionFactory throttling is not kicking in
    Could this be a bug?

  • MDB container managed transaction demarcation not working in wls 6.1 beta

    I have an MDB which sends the messages it receives onto another JMS
              destination within the onMessage method. These messages are not sent to
              the JMS destination unless I explicitly use a transacted session for the
              destination and subsequently commit the session. If I set the transacted
              parameter to Session as false the messages are sent. If I set the
              transacted parameter to true the messages will only be output if the
              session is committed. This is the standard behaviour for a JMS session
              but this is not the correct behaviour for an MDB running with
              container-managed transaction demarcation.
              For a start the transacted parameter to session should be ignored when
              run in the context of a container transaction and the commit method
              should thrown an exception as it is not allowed within the context of a
              container transaction.
              This is the MDB code and the deployment descriptor: -
              public class MessageBean implements MessageDrivenBean, MessageListener
              private String topicName = null;
              private TopicConnectionFactory topicConnectionFactory = null;
              private TopicConnection topicConnection = null;
              private TopicSession topicSession = null;
              private Topic topic = null;
              private TopicPublisher topicPublisher = null;
              private TextMessage textMessage=null;
              private transient MessageDrivenContext messageDrivenContext = null;
              private Context jndiContext;
              public final static String
              JMS_FACTORY="weblogic.examples.jms.TopicConnectionFactory";
              public final static String
              TOPIC="weblogic.examples.jms.exampleTopic";
              public MessageBean()
              public void setMessageDrivenContext(MessageDrivenContext
              messageDrivenContext)
              this.messageDrivenContext = messageDrivenContext;
              public void ejbCreate()
              public void onMessage(Message inMessage)
              try
              jndiContext = new InitialContext();
              topicConnectionFactory =
              (TopicConnectionFactory)jndiContext.lookup(JMS_FACTORY);
              topic = (Topic) jndiContext.lookup(TOPIC);
              topicConnection =
              topicConnectionFactory.createTopicConnection();
              topicConnection.start();
              // The transacted parameter should be ignored in the context of a
              container tx
              topicSession = topicConnection.createTopicSession(true,
              Session.AUTO_ACKNOWLEDGE);
              topicPublisher = topicSession.createPublisher(topic);
              textMessage = (TextMessage)inMessage;
              topicPublisher.publish(inMessage);
              // this is illegal in a container transaction
              topicSession.commit();
              topicConnection.close();
              catch (JMSException je)
              throw new EJBException(je);
              catch (NamingException ne)
              throw new EJBException(ne);
              public void ejbRemove()
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
              JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
              <ejb-jar>
              <enterprise-beans>
              <message-driven>
              <display-name>MessageBean</display-name>
              <ejb-name>MessageBean</ejb-name>
              <ejb-class>MessageBean</ejb-class>
              <transaction-type>Container</transaction-type>
              <message-driven-destination>
              <destination-type>javax.jms.Queue</destination-type>
              </message-driven-destination>
              <security-identity>
              <description></description>
              <run-as>
              <description></description>
              <role-name></role-name>
              </run-as>
              </security-identity>
              </message-driven>
              </enterprise-beans>
              <assembly-descriptor>
              <container-transaction>
              <method>
              <ejb-name>MessageBean</ejb-name>
              <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
              </container-transaction>
              </assembly-descriptor>
              </ejb-jar>
              

    Please see the response in the EJB newsgroup.
              Also, could you kindly only post to a single newsgroup?
              Thanks.
              "Jimmy Johns" <[email protected]> wrote in message
              news:[email protected]...
              > I have an MDB which sends the messages it receives onto another JMS
              > destination within the onMessage method. These messages are not sent to
              > the JMS destination unless I explicitly use a transacted session for the
              >
              > destination and subsequently commit the session. If I set the transacted
              >
              > parameter to Session as false the messages are sent. If I set the
              > transacted parameter to true the messages will only be output if the
              > session is committed. This is the standard behaviour for a JMS session
              > but this is not the correct behaviour for an MDB running with
              > container-managed transaction demarcation.
              >
              > For a start the transacted parameter to session should be ignored when
              > run in the context of a container transaction and the commit method
              > should thrown an exception as it is not allowed within the context of a
              > container transaction.
              >
              > This is the MDB code and the deployment descriptor: -
              >
              > public class MessageBean implements MessageDrivenBean, MessageListener
              > {
              > private String topicName = null;
              > private TopicConnectionFactory topicConnectionFactory = null;
              > private TopicConnection topicConnection = null;
              > private TopicSession topicSession = null;
              > private Topic topic = null;
              > private TopicPublisher topicPublisher = null;
              > private TextMessage textMessage=null;
              > private transient MessageDrivenContext messageDrivenContext = null;
              >
              > private Context jndiContext;
              >
              > public final static String
              > JMS_FACTORY="weblogic.examples.jms.TopicConnectionFactory";
              > public final static String
              > TOPIC="weblogic.examples.jms.exampleTopic";
              >
              > public MessageBean()
              > {
              > }
              >
              > public void setMessageDrivenContext(MessageDrivenContext
              > messageDrivenContext)
              > {
              > this.messageDrivenContext = messageDrivenContext;
              > }
              >
              > public void ejbCreate()
              > {
              > }
              >
              > public void onMessage(Message inMessage)
              > {
              > try
              > {
              > jndiContext = new InitialContext();
              > topicConnectionFactory =
              > (TopicConnectionFactory)jndiContext.lookup(JMS_FACTORY);
              > topic = (Topic) jndiContext.lookup(TOPIC);
              > topicConnection =
              > topicConnectionFactory.createTopicConnection();
              > topicConnection.start();
              > // The transacted parameter should be ignored in the context of a
              > container tx
              > topicSession = topicConnection.createTopicSession(true,
              > Session.AUTO_ACKNOWLEDGE);
              > topicPublisher = topicSession.createPublisher(topic);
              > textMessage = (TextMessage)inMessage;
              > topicPublisher.publish(inMessage);
              > // this is illegal in a container transaction
              > topicSession.commit();
              > topicConnection.close();
              > }
              > catch (JMSException je)
              > {
              > throw new EJBException(je);
              > }
              > catch (NamingException ne)
              > {
              > throw new EJBException(ne);
              > }
              > }
              >
              > public void ejbRemove()
              > {
              > }
              > }
              >
              >
              >
              >
              > <?xml version="1.0" encoding="UTF-8"?>
              >
              > <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
              > JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
              >
              > <ejb-jar>
              > <enterprise-beans>
              > <message-driven>
              > <display-name>MessageBean</display-name>
              > <ejb-name>MessageBean</ejb-name>
              > <ejb-class>MessageBean</ejb-class>
              > <transaction-type>Container</transaction-type>
              > <message-driven-destination>
              > <destination-type>javax.jms.Queue</destination-type>
              > </message-driven-destination>
              > <security-identity>
              > <description></description>
              > <run-as>
              > <description></description>
              > <role-name></role-name>
              > </run-as>
              > </security-identity>
              > </message-driven>
              > </enterprise-beans>
              > <assembly-descriptor>
              > <container-transaction>
              > <method>
              > <ejb-name>MessageBean</ejb-name>
              > <method-name>*</method-name>
              > </method>
              > <trans-attribute>Required</trans-attribute>
              > </container-transaction>
              > </assembly-descriptor>
              > </ejb-jar>
              >
              >
              >
              >
              >
              >
              >
              >
              

  • TRIM not working despite AHCI mode and fsutil behavior query disabledeletenotify returning 0

    Hi,
    I recently changed my mobo, from a Gigabyte to an ASRock X79 Extreme9.
    After doing so, being sure the new one is set up to be in AHCI mode, and updating the drivers of an existing Win 7 x64 installation using the provided DVD by ASRock, I used trimcheck-0.7.exe to check if trim was working, and it's not. Trim was working with
    the Gigabyte mobo.
    I made sure also that HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Msahci and HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\IastorV start value was 0, to no avail.
    The Device Manager shows that my 2 SSDs use an SCSI driver, which might be the source of the problem. I tried to update the driver automatically there, but Windows kept the ones existing, saying it could not find better.
    Then, I tried to remove the Intel RST component, and reboot, but it did not help.
    Any help would be greatly appreciated.

    Hi,
    Regarding to the TRIM capability and AHCI mode, I would like to share the following link with you, please see the reply posted by koitsu,
    https://communities.intel.com/message/76399
    This is hardware configuration question, not a Windows question, you will be well answered by your manufacture of the motherboard and ssd.
    NOTE
    This
    response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these
    sites and has not tested any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

  • Wls 11g jaas module not working

    Hi,
    I am successfully using a standard JAAS module to authorize and authenticate users on an HPUX – WebLogic 9.2 environment. However when we port this exact JAAS module to a LINUX – WebLogic 11g environment, the JAAS module times-out after 25 minutes at WebLogic managed server startup and eventually fails.
    We want to know if anything has changed from a JAAS perspective when comparing WebLogic 9.2 versus 11g? We have been unable to get JAAS authentication working. We tried re-creating the jar file but have now run out of options. They have over 16 different Linux servers that all have the same problem. All time out once the JAAS module has been implemented.
    We are primarily interested in knowing if there have been any significant changes to the JAAS functionality between WLS 9.2 and 11g versions. They have tried recompiling/recreating the JAAS file on our Linux servers but the same result occurs. It simply stalls and then doesn't work after appearing to be hung for 25 minutes at start-up time.
    It is a custom JAAS module that we have implemented. However the very same JAAS module that works for WLS 9.2 does not work for WLS 11g.
    Any suggestions on how we can get this working would be very helpful.
    Thanks in advance.
    Edited by: user10600611 on Jul 8, 2010 5:53 PM

    Yes, the packaging has changed somwhat, when you compiled for 11g didn't u get compilcation exceptions?
    If you didnt, then you might not be using those packages.
    Can u paste the stak trace/ thread dump at the time it was hung?

  • Portege R500 - Ctrl Key not working

    Hi Guys
    I have two toshiba portege r500 which have never really be used since purchase about 2 years ago.
    Today I get one out to start using it and find the ctrl key is not working which I thought was strange.
    After a little browsing I could not find a solution so I simply got the other identical laptop out and starting using that only to find the exact some problem.
    The laptops are both running XP.
    One of which I have reformatted and uninstalled the keyboard driver to see if that would solve the problem but it did not.
    Any others. Many have suggested that it may be due to a damaged keyboard cable but I think it would be highly unlikely that they would both break in the same way.
    Thanks in advance

    Connect an external USB keyboard and check if the button would work.
    If the button can be used with external keyboard then the internal keyboard is faulty and needs to be replaced.

  • Hyphenation not working

    Hi guys,
    I have hyphernation ON, but is not working. I see an strange sign from the original text, maybe is a non breaking word character imported from the original text in Word Office.
    Here is the picture
    http://www.pixentral.com/show.php?picture=1JKMDJnFsZmC56Jl93feGKN6qIJEhW1
    By the way, here is a close up of this new symbol (i haven't seen it before)
    http://www.pixentral.com/show.php?picture=1mnOd3tpi7T2zZndqXXJzOLzzfNJG
    Is there any GREP command that will remove all forced non breaking text signs at once?
    Thanks for any help.
    Cheers,

    Hi Peter, thanks for the fast reply.
    I think the problem is a different one that i imagine. It seems when i put a rectange of quotation marks with Wrap Text action for some reason it with recognize or break the text properly. 
    Here is the sample.
    http://www.pixentral.com/show.php?picture=11WPxSO7kp5IB7jiWK3Q35ybkOGVV1
    If i remove the wrap text hyphernation is working again
    http://www.pixentral.com/show.php?picture=17iDSVCcngJIcWDtngt5tociP50S
    How can i have this quotation rectangle with white space around and hyphernation workign right at the same time?
    Best,

  • Keyboard shortcuts not working while mouse over title-bar

    most of the time, while mouse is over the top title bar, keyboard shortcuts (like Ctrl+W, Ctrl+T, Alt+D) are not working.
    This is a strange behaviour that happens only after i migrated to linux (ubuntu 10.10)
    Sometimes, after i try the shortcuts a few times, on middle of the screen also, then suddenly it works also when the mouse is on the title bar. It's pretty strange...

    Well, that's not the case here.
    I tried to focus on text field, and the keyboard shortcuts does work, so that's obviously not the case here.
    Sometimes the address bar is selected and i can write there, but when the mouse go over the top title, it suddenly stops reacting.
    And the Alt+D and Ctrl+T are not working doesn't matter if a text field is selected.
    BTW, sometimes it does work, it almost seems like an intermittent problem.

Maybe you are looking for