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?

Similar Messages

  • Jms is not working properly in clustered environment

    Hi all,
    i am using the application server oc4j 10.1.3.1.0 enterprise edition . my application is standalone application(thick client)
    we are using the jndi.properties as follows ...
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security,opmn:ormi://172.16.1.38:6006:deceval_group/Security
    java.naming.security.principal=oc4juser
    java.naming.security.credentials=oc4juser
    oracle.j2ee.rmi.loadBalance=lookup
    we have two application servers in cluster topology as u can see above we have used one instance from one application server and one from another.
    i have seen that for every instance there one jms server. at runtime it is taking one application servers services
    say opmn port 6005 but when the application is connecting to the another application server say opmn 6006
    here jms is not working properly when i send message
    As we have clustered environment message must be propagated all the applications who use above jndi.properties.
    if i keep use only one application server opmn say
    java.naming.provider.url=opmn:ormi://172.16.1.38:6005:group/Security
    then its is working excellently
    please can u provide any solution ASAP
    thanks in advance
    Manu

    Dear Aravindth
      (.*?) means -> Select all contents from where you start and end,
    For Ex. <month>(.*?)</month> then Select for start <month> and end last </month> tag.
    (?) Match zero or one occurrences. Equivalent to {0,1}.
    (*) Match zero or more occurrences. Equivalent to {0,}.
    (+) Match one or more occurrences. Equivalent to {1,}.
    (.) (Dot). Match any character except newline or another Unicode line terminator.
    (.*?) means -> Zero or more times Match any character except newline or another Unicode line terminator + Match zero or more occurrences. Equivalent to {0,}.+Match zero or one occurrences. Equivalent to {0,1}.
    Could you please refere the below cite :
    http://www.javascriptkit.com/jsref/regexp.shtml
    Thanks & Regards
    T.R.Harihara SudhaN

  • JMS Bridge not Working

    Hi,
    I have a weblogic 9.2 running one application.
    I what that application to post messages on a internal JMS queue. That message gets fw to a Weblogic 8 JMS queue.
    To achieve this I created a JMS Bridge with the Weblogic 8 destination, and the Weblogic 9 source.
    When i activate the bridge, i did not see anything on the logs, so i restarted the server.
    Once the server was Up I went to check how many consumers where register on my internal queue, and to my surprise there where none.
    I posted a message to that queue and still nothing. not even on the logs.
    On the source and destination, i put the following:
    Adapter JNDI Name: the XA one
    Classpath: weblogic.jar
    Connection URL: t3://172.16.76.28:8001 on the internal and t3://172.16.76.29:7001 on the external
    weblogic.jndi.WLInitialContextFactory: weblogic.jndi.WLInitialContextFactory
    and the JNDI stuff, user and password.
    I do not see anything in the logs. Any idea?

    I would like to make sure that I understand where you are now.
    1. The bridge is always running on 9.2.
    2. When the bridge is configured to forward messages from local (9.2) to remote (8.1), everything works.
    3. When the bridge is configured to forward messages from remote to local, you run into the SecurityException.
    Is my understanding correct? Where did you see the Exception (on the 9.2 side or the 8.1 side)?
    Are you always using the adapter from the same release as the server that is running the bridge?
    Assuming that you have configured everything correctly, I don't see why remote-to-local case does not work for you. There was an issue similar to what you are seeing in 8.1 GA, which has been fixed in 8.1SP1 and 9.2. You should not see this issue as long as your bridge is running on 9.2 (or 8.1SP1) or later.
    At this point you could try the following:
    1. Change the bridge to run in sync mode (by setting AsyncEnabled to false, the default is true) and see if the problem persists.
    2. Enable domain trust on both the 9.2 and 8.2 domains (see http://edocs.bea.com/wls/docs92/bridge/wls_interop.html#wp1126213 for details).
    3. Run the bridge on 8.1 (using the 8.1 adapter) to forward messages to 9.2. (I know the doc recommends that one should run the bridge on the later version of WebLogic when forwarding between two different releases, but it does not hurt to try as long as your source destination is on the same release are the bridge).
    Thanks,
    Dongbo

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

  • JMS Demo Not working!!!Very poor samples from Oracle.

    Hi i have installed the CHat JMS Sample into Oc4j.
    Everything was OK until i wanted to log into the chat application.
    Then on my oc4j consol the following occured:
    03/10/04 14:49:08 javax.jms.JMSException: TopicConnection[Oc4jJMS.Connection.bak
    desktop.e06940:f807230602:-8000.9]: cannot invoke method "setClientID" within th
    e J2EE container.
    03/10/04 14:49:08 at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1
    920)
    03/10/04 14:49:08 at com.evermind.server.jms.JMSUtils.toJMSException(JMSUt
    ils.java:2003)
    03/10/04 14:49:08 at com.evermind.server.jms.JMSUtils.toJMSException(JMSUt
    ils.java:1969)
    03/10/04 14:49:08 at com.evermind.server.jms.JMSUtils.assertNotContainer(J
    MSUtils.java:2427)
    03/10/04 14:49:08 at com.evermind.server.jms.EvermindConnection.setClientI
    Can anyone help? It is very sad because i experienced that most samples will not work if you only follow the install manual.
    regads,
    attila

    Hello Attila,
    It seems that you are using OC4J 10G to run the sample. The sample has been tested on OC4J 904 Developers preview. Please use this to run the sample application.
    This demo uses JMS 1.0 and OC4J 10G supports JMS 1.1. In JMS 1.1, you cannot call setClientID() directly within the J2EE container. Due to this inherent change in the spec, the Chat Demo does not work properly in OC4J 10G.
    This is a known problem and we are working on rectifying this.
    Thanks,
    Rajat

  • JMS messaging not working with LCDS and Fiorano

    Hi there,
    Been struggling at this all day with no luck. I have a finished Flex application which uses JMS messaging, and it has worked just fine on my Tomcat server while using ActiveMQ. As soon as I switched to using the JMS provider Fiorano however, my application can no longer use JMS resources. It fails whenever the application tries to subscribe or publish to a JMS topic. I made all the appropriate JMS related changes to messaging-config.xml.
    In the tomcat log, I turned on LCDS debugging and saw this error whenever a publisher or subscriber was trying to start:
    "JMS invocation caught exception: SECURITY_EXCEPTION :: Security exception occurred while trying to perform operation :: CreateSubscriber failed,creation of Non-durable Subscriber NOT allowed."
    I am passing my JMS security credentials via messaging-config.xml AND even tried doing it via the Flex application (setRemoteCredentials(..)). I know they are correct because I have a working Java application with the exact same credentials and other JMS settings working just fine. It seems only the Flex application fails using the same JMS credentials/settings.
    Is there some other file that needs modification other than messaging-config.xml to get a new JMS provider to work? Any idea what may be going on?
    Thanks!

    A large number of messages, or messages large in size, basically total size of all messages can hang things up.  Back up your messages with a GPStore app.  Erase them.  Lower your message character size.  IF it still continues, its the recipients phone.  Both of you should power down, remove SIM, reinsert, power up.

  • JMS UDD not working properly

    Hello
    First of all I new to weblogic world and started using it recently, the issue which we are facing is that we had a doc given by our client to create a weblogic JMS uniform distributed destination with queue. We followed it and everything came up properly. In our test env we have 2 Physical Machines on which each machine has a one node in a cluster and then we created JMS servers, connection factory with UDD. We started the nodes everything comes up properly.
    But the issue starts when we tested it for the load balancing which I believe is a feature of UDD is not working properly. All the messages are going to the same node. The same documentation has been used by our client several times and it works fine for them.
    What is the issue with our configuration? I have gone through the doc many times but cant find the issue.
    Please help us.

    Hi,
    I think there might be some issue with the communication between the 2 machines, check that out also check if you have disabled the Server Affinity Enabled
    Below links might help you in your issue.
    Topic: JMS Demo using WebLogic Uniform Distributed Queue (UDQ)
    http://middlewaremagic.com/weblogic/?p=3759
    Topic: Steps to Configure Uniform Distributed Queue (UDQ) on Weblogic Server
    http://middlewaremagic.com/weblogic/?p=3747
    Hope this would help you.
    Regards,
    Ravish Mody
    http://middlewaremagic.com/weblogic/
    Come, Join Us and Experience The Magic…

  • W510 - nVidia 880M - GPU throttle not working any more

    Hi everybody,
    my W510 (2 month old) used to throttle down the GPU from maximum performance (550/790 MHz GPU and Memory) to lower values (135 Mhz or something) when the GPU was nearly in idle mode. I don't know when it sopped working, but today I realized the GPU staying in high performance mode all the time.
    I tried the things below but none worked so far:
    - changing through the different power schemes
    - updating the video driver with Lenovo update tool
    - installing the video driver from nVidia (using clear install option)
    It has to be a software issue since I can manually change the clock using a tool called Powermizer Manager. But the "Auto" mode is not working any more. I watched the GPU clock with GPU-z.
    Any ideas where I might have a look? I'm currently running the most recent Lenovo video driver.
    Thanks,
    Andy.

    This is the response from AirDisplay ==>>>
    Hello,
    My apologies for this issue. It's a bug we are aware of. It stems from an issue with OS X. Certain Macs that have a third party video driver installed will exhibit this issue. So, it's not just Air Display that causes this problem but other apps like Display Link, AirParrot, etc. will also have this issue. Apple has contacted us regarding the problem and they're looking into it. It's not actually something we or those other third party developers can fix. Apple has to address the issue with OS X. Hopefully they'll fix it soon.
    Elliot
    Customer Support
    Avatron Software, Inc.
    [email protected]

  • WLS JMS bridge not working

    Hi All,
    I have been looking for a solution for the last two days and this is my third post regarding JMS bridge. I configured ome JMS bridge which initially ,on the monitoring tab, was giving information "Failed to look uo the source adapter" then I deployed the resource adapter. Now on the monitoring tab its showing the message "Connected to the source" instead of shoing "Forwarding Messages" . can anyone tell me what could be thw cause. Please help its really urgetnt!!!

    Can anybody please help me?

  • JMS Dequeue not working after upgrade from 11gR1 to 11gR2

    Our database was migrated to a new database with new hardware running 11gR2
    enqueue appears to be working as the queue table just grows and grows
    However, my JMS async subscriber is never getting messaged.
    Is there any logical reason for this?
    in select * from all_queues my queue does show ENQUEUE and DEQUEUE enabled
    also
    the user that makes the subscription has DEQUEUE grant priviledge
    Is there anything else that is needed for this to work?
    I have already recreated the queue and queue table and ended up in the same place with no JMS consumer being able to consume.
    when enabling trace on JMS I see
    Caused by: oracle.jms.AQjmsException: JMS-122: Internal error Corrupted message
         at oracle.jms.AQjmsError.throwEx(AQjmsError.java:334)
         at oracle.jms.AQjmsUtil.getTextData(AQjmsUtil.java:718)
         at oracle.jms.AQjmsTextMessage.readGenMessageContainer(AQjmsTextMessage.java:322)
         at oracle.jms.AQjmsTextMessage.<init>(AQjmsTextMessage.java:172)
         at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:2481)
    What incompatibilities exist b/w 11gR1 and 11gR2 ... my client is using aqapi 11.1
    Edited by: steffi on Jan 14, 2013 3:14 PM

    It's looking like it was a missing jar in this case the orai18n.jar
    Is there any kind of release notes for how to move working AQ from 11gR1 to 11gR2?

  • JMS QueueRequestor not working ??

    Hi all.
    I am trying to get a Request and Reply mechanism working, but I am getting a weird exception: Exception occurred: javax.jms.InvalidDestinationException: Invalid queue. Does anyone have a suggestion ?
    QueueConnection queueConnection = null;
    try {
    Context ctx = new InitialContext();
    QueueConnectionFactory queueConnectionFactory = ( QueueConnectionFactory )
    ctx.lookup("jms/QueueConnectionFactory");
    queueConnection = queueConnectionFactory.createQueueConnection();
    queueSession = queueConnection.createQueueSession( false,Session.AUTO_ACKNOWLEDGE );
    Queue queue = queueSession.createQueue( "jms/myQueue" );
    queueConnection.start();
    QueueRequestor requestor = new QueueRequestor( queueSession, queue );
    TextMessage message = queueSession.createTextMessage();
    message.setText( "helloooo" );
    Message response = requestor.request( message );
    System.out.println( ( ( TextMessage ) response ).getText() );
    catch (NamingException e) {
    System.out.println("Could not create JNDI context: " + e.toString() );
    System.exit( 1 );
    catch( JMSException ex ) {
    System.out.println("Exception occurred: " + ex.toString());
    finally {
    if (queueConnection != null) {
    try {
    queueConnection.close();
    catch (JMSException e) {}
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Ashok Banerjee ([email protected]):
    Try looking up the QueueConnection factory as
    java:comp/env/jms/theQueueConnectionFactory.
    If you are not finding the QueueCOnnectionFactory itself this will fix it. If problems still persist please provide full stacktrace and the line in source code at which it occurs.
    Cheers,
    Ashok<HR></BLOCKQUOTE>
    I am running this client as stand-alone that's why I am using "jms/QueueConnectionFactory".
    The stack trace: javax.jms.InvalidDestinationException: Invalid queue
    javax.jms.QueueReceiver com.evermind.server.jms.EvermindQueueSession.createReceiver(javax.jms.Queue, java.lang.String)
    javax.jms.QueueReceiver com.evermind.server.jms.EvermindQueueSession.createReceiver(javax.jms.Queue)
    void javax.jms.QueueRequestor.<init>(javax.jms.QueueSession, javax.jms.Queue)
    void jmsMiddleware.TestServer.<init>()
    void jmsMiddleware.TestServer.main(java.lang.String[])
    Exception occurred: javax.jms.InvalidDestinationException: Invalid queue
    null

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

  • WL8.1 jms client not working with WLS9.1

    Hi,
              I have a JMS client(MDB) with weblogic.jar(8.1 version) and its not able to pick messages from a queue which is created in WLS9.1.
              I have actually upgraded my weblogic domain using the wizard and i can see my queues getting created properly.
              At the client side when i use weblogic.jar(9.1 version) it works but not with weblogic81.jar..
              Any help is greatly appreciated.
              Thanks.

    This should work as far as I know, you might want to try contacting customer support. For now, it might help to try using 8.1 with the latest service-pack.
              Tom

  • 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
              

Maybe you are looking for