Histing Persistant Queues on a SAN

We are currently developing a HA solution for a client who are using JCAPS 6, that involves hosting the JMS queues on a shared SAN but we're having trouble setting this model up.
From what I've read around the traps, you can set the physical location of the queues using a config variable "IMQ_VARHOME" in the imqenv.conf file but, while we can get the queue directory structure to be created in a nominated location, when we deploy a project, the application server it creates the queue in the default location.
We've also tried setting the IMQ_DEFAULT_VARHOME to the same location but the result is the same.
Is there a document that describes how to place the JMS queues in a location remote from the app. server?
Had anyone had any experience in doing this?
Many thanks in advance.
John R.

The creation of persistent queues is not managed by JMS but by JMS providers.
You would simply connect to the JMS broker, and reconnect to the queue... But you would have to know the queue name, so you would need to store it locally.
Depening on the configuration of the client, the message consumption can be auto_acknowledged, or you would need to do an explicit commit to get a message off the queue. Where the message is queued when there is a processing error is jms implementation dependent.
Ordering of the messages is not a JMS feature, so make sure your JMS provider (and the way you have it configured) supports it.
HTH
TE

Similar Messages

  • How to define a persistant queue in glassfish v2.x

    Hi Everyone,
    I just wanted to ask how to define a persistent queue in glassfish v2.x.
    Basically I want that, if there are un-consumed messages in the queue and the goes goes down, the messages will still be there once the queue comes up.
    I haven't seen where I can configure these features, or whether it's a default setting.
    If you can provide some screen shots for the configuring that'd be great.
    If glassfish can't do it what other similar program can I use?
    Thanks

    Hi Peter,
    You can find all information you need on Oracle Application Server JMS in the documentation:
    http://download-west.oracle.com/docs/cd/B25221_04/web.1013/b14427/jms.htm
    Including the ports if I'm correct. There's some nice links to HOW-TO documents as well.
    I'm not that well familiar with JMS myself, but if I'm not mistaken it should not matter where you define your queues or topics, since they should be looked up through JNDI anyway. But please someone correct me if I'm wrong.
    HTH,
    Bas

  • Non-persistent Queues and JMS API

    Hi,
    Is it possible to use non-persistent queues via JMS API. My application will always get an NullPointerException when trying to create a queue receiver i.e.
    QueueReceiver rec = qsession.createReceiver(queue);
    Any ideas and thx in advance,
    Wolfgang

    Mark,
              If you want this persistent behavior for non-persistent messages, presumably
              for performance reasons, use a persistent QOS backed by a JMS server with
              a file store that has synchronous-writes-disabled. As long as the O/S and/or
              hardware
              doesn't crash, no data will be lost, even if the WebLogic server is killed.
              See the JMS performance whitepaper on dev2dev.bea.com for details.
              Tom
              Mark wrote:
              > If you define a queue to be non-persistent, then all data is lost in the event
              > of a hardware or software failure.
              > What about in the case of a clean shutdown of the weblogic server hosting the
              > queue?
              > Are the messages held in the queue, paged to disk and restored when the server
              > is restarted?
              

  • JMS-Adapter with persistent Queues (DB): ORABPEL-12166

    Hi,
    does anybody know what the error:
    file:/C:/oracle/product/10.1.3.1/OracleAS_1/bpel/domains/Provisioning/tmp/.bpel_SenderProvisioning_1.0_bb735430814144c8f5f279c73842c3d4.tmp/JMS_Provisiong_A.wsdl [ Produce_Message_ptt::Produce_Message(Request) ] - WSIF JCA Execute of operation 'Produce_Message' failed due to: ERRJMS_ENQUEUE_ERR.
    Die Nachricht konnte aufgrund von folgender Fehlerbedingung nicht in die Queue gestellt werden:.
    ; nested exception is:
         ORABPEL-12166
    ERRJMS_ENQUEUE_ERR.
    Die Nachricht konnte aufgrund von folgender Fehlerbedingung nicht in die Queue gestellt werden:.
    Weitere Informationen hierzu finden Sie in der Log-Datei.
    means?
    Where can i find the logs?

    This is most likely caused by a nonexistent or misconfigured queue.
    For a JMS adapter, make sure your AQ queue/topic is set up as JMSType. Make sure you've spelled everything correctly.
    To find the logs for ESB go to:
    $ORACLE_HOME/j2ee/oc4j_soa/log/oc4j see log.xml
    For BPEL go to
    $ORACLE_HOME/bpel/domains/default/logs see domain.log
    You may also find errors in the OPMN logs:
    $ORACLE_HOME/opmn/logs
    see default_group~oc4j_soa~default_group~1.log
    You will have to turn up log levels to "FINE" or "FINER" for ESB or DEBUG for BPEL to get anything close to a meaningful message. For my most recent error on ESB the "FINER" setting yielded the following message for this error:
    </MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[ORABPEL-12166
    ERRJMS_ENQUEUE_ERR.
    Could not enqueue message due to the following error condition:.
    Please examine the log file to determine the problem.
    at oracle.tip.adapter.jms.JMS.JMSMessageProducer.produce(JMSMessageProducer.java:237)
    at oracle.tip.adapter.jms.outbound.JmsProducer.execute(JmsProducer.java:143)
    at oracle.tip.adapter.jms.JmsInteraction.executeProduce(JmsInteraction.java:197)
    at oracle.tip.adapter.jms.JmsInteraction.execute(JmsInteraction.java:156)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:485)
    at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:736)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:497)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterService.java:184)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAdapterService.java:112)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:212)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:197)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:82)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:69)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.processMessage(ESBListenerImpl.java:369)
    at oracle.tip.esb.server.service.impl.inadapter.ESBListenerImpl.onMessage(ESBListenerImpl.java:295)
    at oracle.tip.adapter.fw.jca.messageinflow.MessageEndpointImpl.onMessage(MessageEndpointImpl.java:293)
    at oracle.tip.adapter.jms.inbound.JmsConsumer.doSend(JmsConsumer.java:571)
    at oracle.tip.adapter.jms.inbound.JmsConsumer.sendInboundMessage(JmsConsumer.java:507)
    at oracle.tip.adapter.jms.inbound.JmsConsumer.send(JmsConsumer.java:353)
    at oracle.tip.adapter.jms.inbound.JmsConsumer.run(JmsConsumer.java:274)
    at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
    at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
    at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.UnsupportedOperationException: publish is called without a valid Topic
    at oracle.jms.AQjmsProducer.publish(AQjmsProducer.java:1252)
    at oracle.tip.adapter.jms.JMS.JMSMessageProducer.produce(JMSMessageProducer.java:215)
    ... 34 more
    Hope that helps. See the SOA admin guide for help with setting log levels:
    Here's where you can find all App Server books for SOA Suite:
    http://download-west.oracle.com/docs/cd/B31017_01/nav/docindex.htm
    Peace,
    G.

  • Persisting Messages in Buffered Queues

    Hello Everyone,
    As per the oracle documentation http://docs.oracle.com/cd/B28359_01/server.111/b28321/strms_prop.htm#i1006905
    LCRs that were captured by a capture process are always stored in a buffered queue, but LCRs that were captured by a synchronous capture are always stored in a persistent queue.
    This means that if we use Capture process and server goes down( or is restarted), we will loose those messages in buffered queues as messages are stored in memory.
    1) Is there a way to force capture process to persist the message into persistent queue?
    2) Is there a way to recover the messages from buffered queue when we restart the server?
    Please let me know if you have some ideas / some insights for above two cases.
    Thanks
    Nithin
    Edited by: 906226 on Jan 5, 2012 11:20 AM

    Hello,
    This is really a Streams question.
    When the database goes down the buffered messages are lost. However when the instance restarts the Capture re-mines the redo logs from the required_checkpoint_scn and then re-enqueues the LCRs. The apply also keeps track of where it was at via the apply progress So nothing is lost in the Streams scenario when an instance goes down. This is discussed in the documentation.
    In the AQ world if you are using a buffered queue then the messages would be lost and the application would have to handle that situation.
    Thanks
    Peter

  • JMS Queue Communnication in ODI 10.1.3.5

    Hi Everyone .
    I Need to pass data from ODI to a OJMS Queue present in Oracle Application Server . So i followed the following Steps in the following Document .
    http://blogimg.chinaunix.net/blog/upfile/071025000239.pdf
    the Oc4J Container and ODI Both are installed in the same Machine .
    The version of Oracle AS is 10.1.3.1
    ODI 10.1.3.5
    Just for the confirmation i am using InMemory Queue but my Actual Requirement is to use Data Persistant Queue of Oracle DB.
    If I use jms/demoQueue with the configuration present in the Document .I dont get any error in the Operator but when i go and check in the em Console .there is no Message waiting to be read .
    If i use some other Queue then it throws the following Error . Can someone Help me
    7000 : null : java.sql.SQLException: javax.jms.JMSException: Cannot find the target in JNDI (jms/CMI_TESODI_Q)
    java.sql.SQLException: javax.jms.JMSException: Cannot find the target in JNDI (jms/CMI_TESODI_Q)
         at com.sunopsis.jdbc.driver.bh.executeUpdate(bh.java)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Thread.java:595)

    This seems some configuration issue similar to support Note [ID 470155.1]. Please see if the solution provided in the support note resolves your problem.

  • How to mark ALBPM messages as non-persistent?

    Hi,
    When using the WLS JMS Server, persistence for the messages sent through the queue is not required since ALBPM uses the JMS Queue as a dispatching mechanism only. However, since the messages sent to the Queue are marked as “Persistent”, you must mark the Queue as “Store Enable”. This will allow the WLS JMS Server to accept messages that are marked as “Persistent”. Is there any setting by which we can make these messages as non-persistent so that queues don't have to be store enabled?
    Regards,
    Xavier

    The idea behind this is to increase the speed by using non-persistent queue.
    Please help.
    Regards,
    Xavier

  • Queue manager diagnostic -13

    Hi All ,
    I am trying to enque a message of length 4000 to a queue , am getting the below error
    Q_CAT:1459: ERROR: Enqueue - out of queue space
    based on the description of QCAT:1459 , i created a QUEUE with more pages .
    here is the output of
    qsplQueue space name: TMQUEUE
    IPC key: 3457
    Error queue: ERRQUE
    Initialization: y
    Blocking factor: 32
    Extents: 1
    Extent 0: 100 blocks
    Shared memory usage:
    Additional actions: 0 0 bytes
    Additional owners: 0 0 bytes
    Maximum cursors: 0 0 bytes
    Maximum handles: 0 0 bytes
    Maximum messages: 100 13600 bytes
    Maximum processes: 25 1800 bytes
    Maximum queues: 3 1392 bytes
    Maximum temporary queues: 0 0 bytes
    Maximum transactions: 25 4200 bytes
    Filter memory: 0 bytes
    Non-persistent message memory: 0 bytes
    Overflow memory: 0 bytes
    System reserved memory: 282069 bytes
    Total shared memory usage: 303061 bytes
    still am getting the same error .
    Q_CAT:1459: ERROR: Enqueue - out of queue space
    Failure to enqueue service: TPEDIAGNOSTIC - function failed - check diagnostic value Queue manager diagnostic -13
    One more thing , if I remove the below code from my server , the tpenque is working fine
    /* set flag in control structure indicating a reply queue */
    qctl.flags = TPQREPLYQ;
    /* provide name of reply queue in control structure */
    (void) strcpy(qctl.replyqueue, "REPLYQ");
    #ifdef TPQDELIVERYQOS
    /* Tuxedo 7.1 or later */
    qctl.flags |= TPQDELIVERYQOS;/* specify delivery quality of service */
    /* non-persistent */
    qctl.delivery_qos = TPQQOSNONPERSISTENT;
    #endif
    can anyone pls help me .
    Nadeer.

    when you created your queue space at that time did you specify -n option to create non persistent queue .
    if you did not then that might be the reason.
    The program does not prompt you to specify the size of the area to reserve in shared memory for storing non-persistent messages for all queues in the queue space. When you require non-persistent (memory-based) messages, you must specify the size of the memory area on the qspacecreate command line with the -n option.

  • Corrupt message in queue

    Hi!
    Environment:
    Gentoo Linux 1.4 rc2
    Sun Java 2 SDK 1.4.1_01 (Sun binaries)
    Sun ONE MQ 3.0.1 (Build 64-a) with persistent queues (file)
    First, I have to thank you guys for an excellent product!
    Ok, the other day I got a weird error in one of the queues. I sent a message from one client, but it didn't arrive at the other end (another client). I use queues with administered objects and JNDI lookups. I shutdown the imq server and both clients.
    When I started up again the receiving client tried to read from the queue, but he aborted with an exception:
    com.zineup.hirgon.exception.HirgonException: [C4036]: A server error occurred.
    at
    com.zineup.hirgon.broker.jms.JMSMessageBrokerConnector.handleOldApplicationMessages(JMSMessageBrokerConnector.java:545)
    at
    com.zineup.hirgon.broker.jms.JMSMessageBrokerConnector.init(JMSMessageBrokerConnector.java:179)
    at
    com.zineup.hirgon.broker.MessageBroker.<init>(MessageBroker.java:168)
    at
    com.zineup.hirgon.broker.MessageBroker.main(MessageBroker.java:680)
    Caused by: javax.jms.JMSException: [C4036]: A server error occurred.
    at
    com.sun.messaging.jmq.jmsclient.ProtocolHandler.writePacketWithAck(ProtocolHandler.java:307)
    at
    com.sun.messaging.jmq.jmsclient.ProtocolHandler.acknowledge(ProtocolHandler.java:1593)
    at
    com.sun.messaging.jmq.jmsclient.SessionImpl.doAcknowledge(SessionImpl.java:724)
    at
    com.sun.messaging.jmq.jmsclient.SessionImpl.transactedAcknowledge(SessionImpl.java:668)
    at
    com.sun.messaging.jmq.jmsclient.SessionImpl.acknowledge(SessionImpl.java:621)
    at
    com.sun.messaging.jmq.jmsclient.MessageConsumerImpl.receive(MessageConsumerImpl.java:367)
    at
    com.zineup.hirgon.broker.jms.JMSMessageBrokerConnector.handleOldApplicationMessages(JMSMessageBrokerConnector.java:524)
    ... 3 more
    The JMS server reported at the same time:
    [12/Feb/2003:16:27:59 CET] ERROR [B3100]: Unexpected Broker Internal Error :
    [-------------------------------------------Internal Error: Invalid
    Acknowledge Packet processing
    [118-127.0.0.1(af:bc:7a:70:7a:fc)-33004-1045055909040:0:2108233636887484672[conuid:2108233636887484672]]
    Reference is null
    ******** Packet:
    ACKNOWLEDGE(24):126-127.0.0.1(ff:68:1d:b7:ef:83)-32801-1045063679308
    Magic/Version: 469754818/301 Size: 128 Type: ACKNOWLEDGE(24)
    Expiration: 0 Timestamp: 1045063679308
    Source IP: 127.0.0.1(ff:68:1d:b7:ef:83) Port: 32801 Sequence:
    126
    Property Offset: 88 Property Size: 0
    Encryption: 0 Priority: 5
    Flags: A consumerID: 121
    TransactionID: 2108233636887829248
    MessageID: 126-127.0.0.1(ff:68:1d:b7:ef:83)-32801-1045063679308
    Properties: null
    Message Body: 40 bytes
    [2108233636887815424:118-127.0.0.1(af:bc:7a:70:7a:fc)-33004-1045055909040]
    Internal Buffers (useDirect=false):
    Fixed Header Buffer:java.nio.HeapByteBuffer[pos=0 lim=72 cap=72]
    java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:298)
    at java.nio.ByteBuffer.put(ByteBuffer.java:771)
    at com.sun.messaging.jmq.util.PHashMap.put(PHashMap.java:132)
    at
    com.sun.messaging.jmq.jmsserver.persist.file.TxnAckList.storeAck(TxnAckList.java:107)
    at
    com.sun.messaging.jmq.jmsserver.persist.file.TidList.storeTransactionAck(TidList.java:380)
    at
    com.sun.messaging.jmq.jmsserver.persist.file.FileStore.storeTransactionAck(FileStore.java:977)
    at
    com.sun.messaging.jmq.jmsserver.data.TransactionList.addAcknowledgement(TransactionList.java:179)
    at
    com.sun.messaging.jmq.jmsserver.data.TransactionList.addAcknowledgement(TransactionList.java:164)
    at
    com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handle(AckHandler.java:121)
    at
    com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:146)
    at
    com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.readData(IMQConnection.java:1457)
    at
    com.sun.messaging.jmq.jmsserver.service.imq.IMQ

    Sorry, the message got chopped off somehow...
    Here's the trace again:
    java.nio.BufferOverflowException
    at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:298)
    at java.nio.ByteBuffer.put(ByteBuffer.java:771)
    at com.sun.messaging.jmq.util.PHashMap.put(PHashMap.java:132)
    at
    com.sun.messaging.jmq.jmsserver.persist.file.TxnAckList.storeAck(TxnAckList.java:107)
    at
    com.sun.messaging.jmq.jmsserver.persist.file.TidList.storeTransactionAck(TidList.java:380)
    at
    com.sun.messaging.jmq.jmsserver.persist.file.FileStore.storeTransactionAck(FileStore.java:977)
    at
    com.sun.messaging.jmq.jmsserver.data.TransactionList.addAcknowledgement(TransactionList.java:179)
    at
    com.sun.messaging.jmq.jmsserver.data.TransactionList.addAcknowledgement(TransactionList.java:164)
    at
    com.sun.messaging.jmq.jmsserver.data.handlers.AckHandler.handle(AckHandler.java:121)
    at
    com.sun.messaging.jmq.jmsserver.data.PacketRouter.handleMessage(PacketRouter.java:146)
    at
    com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.readData(IMQConnection.java:1457)
    at
    com.sun.messaging.jmq.jmsserver.service.imq.IMQConnection.process(IMQConnection.java:546)
    at
    com.sun.messaging.jmq.jmsserver.service.imq.OperationRunnable.process(OperationRunnable.java:109)
    at
    com.sun.messaging.jmq.jmsserver.util.pool.BasicRunnable.run(BasicRunnable.java:421)
    at java.lang.Thread.run(Thread.java:536)
    What could have caused this? I haven't fiddled around with any configuration files. I purged the queue, and after that it runs fine again.
    Regards

  • URGENT PLEASE HELP: Broker only serving one queue consumer at a time

    Hello all,
    I have multiple consumers listening on a queue. The broker sends a message to the first listening consumer. This consumer receives that message and acknowledges it. and does some processing with it.
    All other consumers do not get any message from the broker. They are all listening on the queue for a long time. After i kill the first consumer one of the listening consumer gets a message.
    How can I configure the queue so that it sends multiple (different) messages to all the listening consumers with minimum delay?
    I am using a persistent queue and using 3.5 sp2 on windows.
    Thanks a lot in advance

    Sounds like your number of active consumers is set to 1 which is the default. Use imqcmd to set the maxNumActiveConsumers on your queue. The Platform Edition supports up to two active and one backup consumer. The Enterprise Edition does not have any limits.

  • Saving a JMS Message in a Persistent Store

    Hello Friends,
    I am going to store a JMS message in a persistent store like a database and then recreate it when needed. What I will be doing is storing the JMS headers individually. Then storing all the properties and then the message body. I just wanted to confirm that with this data I would be able to recreate the entire message.

    Not sure of the answer to this (I suspect re-creating the message with exactly the same values as it started with will be a bit more tricky than you would imaging). Why don't you try creating a blank message and setting every single header / property? You'll probably get some exceptions / values being over written when you send.
    The real question is are you 100% sure you need to do this? The whole idea smells fishy. Why do you need the JMS Headers? Things would be far easier if the body of the message contained everything you needed. Why do you have to store the message in a database rather than leave it on a persistent queue?

  • HP Laserjet not working with CUPS

    There are some related threads in this forum, but I still can't figure out what is my problem (printer works in some situations - printing a pdf in evince or a webpage in chromium - but in others not, e.g. printing from emacs), and there are error messages from hp-check.
    Here are two command-line checks:
    [tj@arch ~]$ lpstat
    [tj@arch ~]$ hp-probe
    HP Linux Imaging and Printing System (ver. 3.12.2)
    Printer Discovery Utility ver. 4.1
    Using connection type: usb
    | DEVICE DISCOVERY |
    Device URI Model
    hp:/usb/HP_LaserJet_P2055d?serial=S1663Y7 HP LaserJet P2055d
    Found 1 printer(s) on the 'usb' bus.
    Here is what the CUPS webinterface at localhost:631 says:
    HP_LaserJet_P2055d (Idle, Accepting Jobs, Not Shared)
    Description: HP_LaserJet_P2055d
    Location:
    Driver: HP LaserJet P2055 Postscript (recommended) (grayscale, 2-sided printing)
    Connection: hp:/usb/HP_LaserJet_P2055d?serial=S1663Y7
    Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided
    And here is the output from hp-checks, with 4 errors, the 2 most prominent of them extracted first:
    warning: No queues found.
    Checking for permissions of USB attached printers...
    HP Device 0x5c17 at 001:004:
    Device URI: hp:/usb/HP_LaserJet_P2055d?serial=S1663Y7
    error: Unable to connect to dbus session bus.
    Device node: /dev/bus/usb/001/004
    Mode: 0664
    getfacl: Entferne f?hrende '/' von absoluten Pfadnamen
    # file: dev/bus/usb/001/004
    # owner: root
    # group: lp
    user::rw-
    group::rw-
    other::r--
    [tj@arch ~]$ hp-check
    HP Linux Imaging and Printing System (ver. 3.12.2)
    Dependency/Version Check Utility ver. 14.3
    Copyright (c) 2011-14 Hewlett-Packard Development Company, LP
    This software comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to distribute it
    under certain conditions. See COPYING file for more details.
    Note: hp-check can be run in three modes:
    1. Compile-time check mode (-c or --compile): Use this mode before compiling the
    HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
    are installed to successfully compile HPLIP.
    2. Run-time check mode (-r or --run): Use this mode to determine if a distro
    supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
    has the proper dependencies installed to successfully run.
    3. Both compile- and run-time check mode (-b or --both) (Default): This mode
    will check both of the above cases (both compile- and run-time dependencies).
    Saving output in log file: hp-check.log
    Initializing. Please wait...
    | SYSTEM INFO |
    Basic system information:
    Linux arch 3.2.13-1-ARCH #1 SMP PREEMPT Sat Mar 24 09:10:39 CET 2012 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
    Distribution:
    unknown 0.0
    Checking Python version...
    OK, version 2.7.2 installed
    Checking PyQt 4.x version...
    OK, version 4.9.1 installed.
    Checking for CUPS...
    Status:
    Version: 1.5.2
    error_log is set to level: warn
    Checking for dbus/python-dbus...
    dbus daemon is running.
    python-dbus version: 0.84.0
    | COMPILE AND RUNTIME DEPENDENCIES |
    note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
    note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
    Checking for dependency: CUPS - Common Unix Printing System...
    OK, found.
    Checking for dependency: CUPS devel- Common Unix Printing System development files...
    OK, found.
    Checking for dependency: CUPS image - CUPS image development files...
    OK, found.
    Checking for dependency: DBus - Message bus system...
    OK, found.
    Checking for dependency: gcc - GNU Project C and C++ Compiler...
    OK, found.
    Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
    OK, found.
    Checking for dependency: libcrypto - OpenSSL cryptographic library...
    OK, found.
    Checking for dependency: libjpeg - JPEG library...
    OK, found.
    Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
    OK, found.
    Checking for dependency: libpthread - POSIX threads library...
    OK, found.
    Checking for dependency: libtool - Library building support services...
    OK, found.
    Checking for dependency: libusb - USB library...
    OK, found.
    Checking for dependency: make - GNU make utility to maintain groups of programs...
    OK, found.
    Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    Checking for dependency: PolicyKit - Administrative policy framework...
    OK, found.
    Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
    OK, found.
    Checking for dependency: Python DBus - Python bindings for DBus...
    OK, found.
    Checking for dependency: Python devel - Python development files...
    OK, found.
    Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    Checking for dependency: Python XML libraries...
    OK, found.
    Checking for dependency: Python 2.3 or greater - Required for fax functionality...
    OK, found.
    Checking for dependency: Python 2.2 or greater - Python programming language...
    OK, found.
    Checking for dependency: Reportlab - PDF library for Python...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    Checking for dependency: SANE - Scanning library...
    OK, found.
    Checking for dependency: SANE - Scanning library development files...
    OK, found.
    Checking for dependency: scanimage - Shell scanning program...
    OK, found.
    Checking for dependency: xsane - Graphical scanner frontend for SANE...
    warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
    | HPLIP INSTALLATION |
    Currently installed HPLIP version...
    HPLIP 3.12.2 currently installed in '/usr/share/hplip'.
    Current contents of '/etc/hp/hplip.conf' file:
    # hplip.conf. Generated from hplip.conf.in by configure.
    [hplip]
    version=3.12.2
    [dirs]
    home=/usr/share/hplip
    run=/var/run
    ppd=/usr/share/ppd/HP
    ppdbase=/usr/share/ppd
    doc=/usr/share/doc/hplip-3.12.2
    icon=/usr/share/applications
    cupsbackend=/usr/lib/cups/backend
    cupsfilter=/usr/lib/cups/filter
    drv=/usr/share/cups/drv/hp
    # Following values are determined at configure time and cannot be changed.
    [configure]
    network-build=yes
    pp-build=yes
    gui-build=yes
    scanner-build=yes
    fax-build=yes
    dbus-build=yes
    cups11-build=no
    doc-build=yes
    shadow-build=no
    hpijs-install=yes
    foomatic-drv-install=yes
    foomatic-ppd-install=yes
    foomatic-rip-hplip-install=yes
    hpcups-install=yes
    cups-drv-install=yes
    cups-ppd-install=yes
    internal-tag=3.12.2
    restricted-build=no
    ui-toolkit=qt4
    qt3=no
    qt4=yes
    policy-kit=no
    hpijs-only-build=no
    lite-build=no
    udev-acl-rules=yes
    hpcups-only-build=no
    hpijs-only-build=no
    Current contents of '/var/lib/hp/hplip.state' file:
    # hplip.state - HPLIP runtime persistent variables.
    [plugin]
    installed=0
    eula=0
    Current contents of '~/.hplip/hplip.conf' file:
    [settings]
    systray_visible = 0
    systray_messages = 0
    [last_used]
    device_uri =
    printer_name = HP_LaserJet_P2055d
    working_dir = .
    [commands]
    scan =
    [refresh]
    rate = 30
    enable = false
    type = 1
    [polling]
    enable = false
    interval = 5
    device_list =
    [fax]
    voice_phone =
    email_address =
    [installation]
    date_time = 04/03/12 12:29:03
    version = 3.12.2
    | DISCOVERED USB DEVICES |
    Device URI Model
    hp:/usb/HP_LaserJet_P2055d?seria HP LaserJet P2055d
    l=S1663Y7
    | INSTALLED CUPS PRINTER QUEUES |
    warning: No queues found.
    | SANE CONFIGURATION |
    'hpaio' in '/etc/sane.d/dll.conf'...
    OK, found. SANE backend 'hpaio' is properly set up.
    Checking output of 'scanimage -L'...
    device `v4l:/dev/video0' is a Noname USB Camera (046d:08da) virtual device
    | PYTHON EXTENSIONS |
    Checking 'cupsext' CUPS extension...
    OK, found.
    Checking 'pcardext' Photocard extension...
    OK, found.
    Checking 'hpmudext' I/O extension...
    OK, found.
    Checking 'scanext' SANE scanning extension...
    OK, found.
    | USB I/O SETUP |
    Checking for permissions of USB attached printers...
    HP Device 0x5c17 at 001:004:
    Device URI: hp:/usb/HP_LaserJet_P2055d?serial=S1663Y7
    error: Unable to connect to dbus session bus.
    Device node: /dev/bus/usb/001/004
    Mode: 0664
    getfacl: Entferne f?hrende '/' von absoluten Pfadnamen
    # file: dev/bus/usb/001/004
    # owner: root
    # group: lp
    user::rw-
    group::rw-
    other::r--
    | USER GROUPS |
    lp wheel games video audio optical storage scanner power users www
    | SUMMARY |
    error: 4 errors and/or warnings.
    Please refer to the installation instructions at:
    http://hplip.sourceforge.net/install/index.html
    Done.
    Maybe there is something wrong with my dbus anyway? I get a lot of org.freedesktop.xyz not found messages in many situations.
    Thanks for any hints.
    Last edited by 4on6 (2012-04-03 14:16:14)

    4on6 wrote:There are some related threads in this forum, but I still can't figure out what is my problem (printer works in some situations - printing a pdf in evince or a webpage in chromium - but in others not, e.g. printing from emacs).
    The distinction that comes to mind here is that emacs (and some others) will print via lp.  I suspect that the default printer for lp is not set, and therefore the print job is lost.
    To test this, create ~/.cups/lpoptions (if you don't already have it) with the content:
    Default <The_Name_Of_My_Printer_In_CUPS>
    And see if that helps.

  • Communication Problem between Listener and OEM

    Dear all,
    I had my OEM running and communicating with the database without any problem until I had a problem with other client and kill some OEM and Listener process, now it's not communicating with the listener.
    I restarted my PC and tried to start afresh hoping that it ran as it had been, but the result is on the contrary. Somehow, the communication is corrupted. Currently, I can start the OEM using
    emtcl start dbconsolebut when I try to start the listener from the browser from Net Services Administration: Host Login, it keeps starting without success.
    the following is the Manager trace file, which got warnings and errors that I don't understand
    emagent.trc:
    SQL = "                                                                   OCISessionGet"...
    LOGIN = dbsnmp/<PW>@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=firefly.snowdrop.com)(PORT=1521))(CONNECT_DATA=(SID=inara)))
    2011-06-14 17:22:42,398 Thread-421710160 ERROR vpxoci: ORA-12541: TNS:no listener
    2011-06-14 17:22:42,398 Thread-421710160 WARN  vpxoci: Login 0x68d100 failed, error=ORA-12541: TNS:no listener
    2011-06-14 17:22:42,398 Thread-421710160 WARN  TargetManager: Exception in computing dynamic properties of {inara.snowdrop.com, oracle_database },GetDbBlockSize::ORA-12541: TNS:no listener
    2011-06-14 17:22:42,400 Thread-424859984 ERROR TargetManager: nmeetm.c : Target inara.snowdrop.com has a failed critical dynamic property
    2011-06-14 17:22:42,403 Thread-424859984 WARN  upload: Upload manager has no Failure script: disabled
    2011-06-14 17:22:42,403 Thread-424859984 WARN  upload: Amount of upload data will be recalculated due to reload.enabling collections and regenerating metadata.
    2011-06-14 17:22:42,403 Thread-424859984 WARN  TargetManager: Regenerating all Metadata
    2011-06-14 17:22:42,470 Thread-424859984 WARN  upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La"
    2011-06-14 17:22:42,471 Thread-424859984 WARN  upload: Truncating value of "SHORT_NAME" from "Average Synchronous Single-Block Read Latency (ms)" to "Average Synchronous Single-Block Read La"
    2011-06-14 17:22:42,568 Thread-424859984 WARN  upload: Truncating value of "COLUMN_LABEL" from "Total messages processed per queue per subscriber per minute in the last interval" to "Total messages processed per queue per subscriber per minute in "
    2011-06-14 17:22:42,568 Thread-424859984 WARN  upload: Truncating value of "COLUMN_LABEL" from "Total messages received per queue per subscriber per minute in the last interval" to "Total messages received per queue per subscriber per minute in t"
    2011-06-14 17:22:42,568 Thread-424859984 WARN  upload: Truncating value of "COLUMN_LABEL" from "Messages processed per queue (%) per subscriber per minute in the last interval" to "Messages processed per queue (%) per subscriber per minute in th"
    2011-06-14 17:22:42,568 Thread-424859984 WARN  upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in persistent queue per subscriber (seconds)" to "Age of the first message in persistent queue per subscriber (sec"
    2011-06-14 17:22:42,568 Thread-424859984 WARN  upload: Truncating value of "COLUMN_LABEL" from "Age of the first message in the buffered queue per queue (seconds)" to "Age of the first message in the buffered queue per queue (second"
    2011-06-14 17:22:42,584 Thread-424859984 WARN  collector: enable collector
    2011-06-14 17:22:42,588 Thread-424859984 WARN  collector: Regenerating all DefaultColls
    2011-06-14 17:22:43,715 Thread-421710160 ERROR upload: Exceeded max. amount of upload data: 212 files, 200.680481 MB Data. 88.62% of disk used. Disabling collections.
    2011-06-14 17:22:43,715 Thread-421710160 WARN  collector: Disable collector
    2011-06-14 17:22:46,814 Thread-421710160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-14 17:22:46,929 Thread-421710160 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-14 17:23:16,099 Thread-435099984 ERROR command: nmejcn: received no status header from repository at https://firefly.snowdrop.com:5500/em/upload/
    2011-06-14 17:23:17,071 Thread-415410512 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-14 17:23:17,201 Thread-415410512 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
    2011-06-14 17:24:17,230 Thread-424859984 WARN  ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
    2011-06-14 17:24:17,230 Thread-424859984 WARN  ssl.io: fd=14: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
    2011-06-14 17:24:17,230 Thread-424859984 WARN  http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
    2011-06-14 17:24:17,230 Thread-424859984 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
    2011-06-14 17:24:47,355 Thread-424859984 WARN  ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
    2011-06-14 17:24:47,355 Thread-424859984 WARN  ssl.io: fd=7: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
    2011-06-14 17:24:47,355 Thread-424859984 WARN  http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
    2011-06-14 17:24:47,355 Thread-424859984 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text =
    2011-06-14 17:25:47,446 Thread-315353424 WARN  ssl: <nmehlssl.c:nmehlssl_readcb>: nmehl_read_sock timed out, rsf = -5, setting read timeout flag
    2011-06-14 17:25:47,446 Thread-315353424 WARN  ssl.io: fd=7: nmehlssl_read, nzos_Read error = 28862 readTimed Out = 1
    2011-06-14 17:25:47,446 Thread-315353424 WARN  http: <nmehl.c>:<nmehl_readline>: nmehlssl_read() timed out
    2011-06-14 17:25:47,446 Thread-315353424 ERROR pingManager: nmepm_pingReposURL: Error in request response. code = 400. text = and the following is the listener log file content
    14-JUN-2011 17:28:39 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54171)) * establish * <unknown sid> * 12525
    TNS-12525: TNS:listener has not received client's request in time allowed
    TNS-12535: TNS:operation timed out
      TNS-12606: TNS: Application timeout occurred
    14-JUN-2011 17:28:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54168)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 17:28:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54166)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 17:28:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54165)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 17:28:39 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54158)) * establish * inara.snowdrop.com * 0
    Tue Jun 14 17:28:59 2011
    14-JUN-2011 17:28:59 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54161)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 17:28:59 * service_update * inara * 0
    14-JUN-2011 17:28:59 * service_update * inara * 0Could anybody give me a pointer to troubleshoot this?
    regards,
    Val

    What I did before I did tnsping and status on lsnrctl:
    1. emtcl start dbconsole
    2. start database from sqlplus using startup command
    3. Open up browser, it me brought to OEM database control page.
    4. Start listener ORACLE_LISTENER that associates with OEM from OEM database control page.
    5. Brought me to NET login page, enter the login page, enable the listener.
    6. At this point everything was just dandy:
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       Linux Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     ORACLE_LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                14-JUN-2011 21:38:24
    Uptime                    0 days 0 hr. 1 min. 4 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /usr/local/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /usr/local/oracle/diag/tnslsnr/firefly/oracle_listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=firefly.snowdrop.com)(PORT=1521)))
    Services Summary...
    Service "inara.snowdrop.com" has 1 instance(s).
      Instance "inara", status READY, has 1 handler(s) for this service...
    Service "inaraXDB.snowdrop.com" has 1 instance(s).
      Instance "inara", status READY, has 1 handler(s) for this service...
    The command completed successfully7. Until I hit the Database tab on OEM database control making the listener stalled in a weird state:
    LSNRCTL> status ORACLE_LISTENER
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=firefly.snowdrop.com)(PORT=1521)))
    ^C
    [oracle@firefly]$ tnsping firefly
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 14-JUN-2011 21:44:39
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /usr/local/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.oraBoth status ORACLE_LISTENER and tnsping host had to be aborted by ^C.
    8. Meanwhile OEM gave up waiting for listener and instance saying:
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.displaying an empty database instance status, unavailable listener, and unavailable agent connection to instance.
    the following is the image of OEM database control:
    and oracle_listener.log showing at this point:
    14-JUN-2011 22:34:33 * <unknown connect data> * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54942)) * establish * <unknown sid> * 12525
    TNS-12525: TNS:listener has not received client's request in time allowed
    TNS-12535: TNS:operation timed out
      TNS-12606: TNS: Application timeout occurred
    14-JUN-2011 22:34:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54935)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 22:34:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54932)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 22:34:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54931)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 22:34:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54926)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 22:34:33 * service_update * inara * 0
    Tue Jun 14 22:34:53 2011
    14-JUN-2011 22:34:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54939)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 22:34:53 * service_update * inara * 0
    Tue Jun 14 22:35:13 2011
    14-JUN-2011 22:35:13 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54943)) * establish * inara.snowdrop.com * 0
    Tue Jun 14 22:35:33 2011
    14-JUN-2011 22:35:33 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54945)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 22:35:33 * service_update * inara * 0
    Tue Jun 14 22:35:53 2011
    14-JUN-2011 22:35:53 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54949)) * establish * inara.snowdrop.com * 0
    Tue Jun 14 22:36:13 2011
    14-JUN-2011 22:36:13 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=oracle))(SERVICE_NAME=inara.snowdrop.com)) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.5)(PORT=54953)) * establish * inara.snowdrop.com * 0
    14-JUN-2011 22:36:13 * service_update * inara * 0Any ideas?
    Edited by: Valerie Debonair on Jun 14, 2011 8:38 AM add log

  • AWR Report - no data!!

    Oracle Version: 11.1.0.7 64x
    OS Version: Windows 2008 Server 64x
    Hi There,
    We're just trying to generate a awr report for one of our databases and the report is coming out with no data.
    statistics_level parameter is set to "TYPICAL"; any idea to what's going on please?
    Thanks
    SQL>
    SQL> @?/rdbms/admin/awrrpt.sql
    Current Instance
    ~~~~~~~~~~~~~~~~
       DB Id    DB Name      Inst Num Instance
    1391811405 WEBTST              1 webtst
    Specify the Report Type
    ~~~~~~~~~~~~~~~~~~~~~~~
    Would you like an HTML report, or a plain text report?
    Enter 'html' for an HTML report, or 'text' for plain text
    Defaults to 'html'
    Enter value for report_type: text
    Type Specified:  text
    Instances in this Workload Repository schema
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       DB Id     Inst Num DB Name      Instance     Host
    * 1391811405        1 WEBTST       webtst       WEBDBTST
    Using 1391811405 for database Id
    Using          1 for instance number
    Specify the number of days of snapshots to choose from
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Entering the number of days (n) will result in the most recent
    (n) days of snapshots being listed.  Pressing <return> without
    specifying a number lists all completed snapshots.
    Enter value for num_days: 1
    Listing the last day's Completed Snapshots
                                                            Snap
    Instance     DB Name        Snap Id    Snap Started    Level
    webtst       WEBTST           43973 12 May 2011 00:00      1
                                  43974 12 May 2011 01:00      1
                                  43975 12 May 2011 02:00      1
                                  43976 12 May 2011 03:00      1
                                  43977 12 May 2011 04:00      1
                                  43978 12 May 2011 05:00      1
                                  43979 12 May 2011 06:00      1
                                  43980 12 May 2011 07:00      1
                                  43981 12 May 2011 08:00      1
                                  43982 12 May 2011 09:00      1
                                  43983 12 May 2011 10:00      1
                                  43984 12 May 2011 11:00      1
                                  43985 12 May 2011 11:02      1
    Specify the Begin and End Snapshot Ids
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Enter value for begin_snap: 43984
    Begin Snapshot Id specified: 43984
    Enter value for end_snap: 43985
    End   Snapshot Id specified: 43985
    Specify the Report Name
    ~~~~~~~~~~~~~~~~~~~~~~~
    The default report file name is awrrpt_1_43984_43985.txt.  To use this name,
    press <return> to continue, otherwise enter an alternative.
    Enter value for report_name:
    Using the report name awrrpt_1_43984_43985.txt
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: parse time elapsed
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: DB CPU
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: free memory
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: free memory
    WARNING (-20009)
    ORA-20009: Missing System Statistic logons current
    WARNING (-20009)
    ORA-20009: Missing System Statistic logons current
    WARNING (-20009)
    ORA-20009: Missing System Statistic opened cursors current
    WARNING (-20009)
    ORA-20009: Missing System Statistic opened cursors current
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: sql execute elapsed
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter undo_management
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter db_block_size
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: log_buffer
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: DB time
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter timed_statistics
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter timed_statistics
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter statistics_level
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter statistics_level
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter sga_target
    WARNING (-20008)
    ORA-20008: Missing Init.ora parameter pga_aggregate_target
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: background cpu time
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: background elapsed
    WARNING (-20023)
    ORA-20023: Missing start and end values for time model stat: connection manageme
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: buffer_cache
    WARNING (-20016)
    ORA-20016: Missing value for SGASTAT: buffer_cache
    WARNING: Since the DB Time is less than one second, there was
             minimal foreground activity in the snapshot period.
             Some of the percentage values will be invalid.
    WORKLOAD REPOSITORY report for
    DB Name         DB Id    Instance     Inst Num Startup Time    Release     RAC
    WEBTST        1391811405 webtst              1 29-Apr-11 04:50 11.1.0.7.0  NO
    Host Name        Platform                         CPUs Cores Sockets Memory(GB)
    WEBDBTST         Microsoft Windows x86 64-bit                           .00
                  Snap Id      Snap Time      Sessions Curs/Sess
    Begin Snap:     43984 12-May-11 11:00:01
      End Snap:     43985 12-May-11 11:02:00
       Elapsed:                1.98 (mins)
       DB Time:                0.00 (mins)
    Cache Sizes                       Begin        End
    ~~~~~~~~~~~                  ---------- ----------
                   Buffer Cache:MM  Std Block Size:K
               Shared Pool Size:         0M         0M      Log Buffer:K
    ORA-01403: no data found
    Error encountered in Report Summary
    Continuing to Report Sections
    Time Model Statistics              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Operating System Statistics         DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Operating System Statistics - DetailDB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Foreground Wait Class               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
    -> s  - second, ms - millisecond -    1000th of a second
    -> ordered by wait time desc, waits desc
    -> %Timeouts: value of 0 indicates value was < .5%.  Value of null is truly 0
    -> Captured Time accounts for %  of Total DB time            .00 (s)
    -> Total FG Wait Time:    (s)  DB CPU time:            .00 (s)
                                                                      Avg
                                          %Time       Total Wait     wait
    Wait Class                      Waits -outs         Time (s)     (ms)  %DB time
    DB CPU                                                     0              100.0
    Foreground Wait Events             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Background Wait Events             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Wait Event Histogram               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Service Statistics                 DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Service Wait Class Stats            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Elapsed Time        DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by CPU Time            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Gets                DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Reads               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Executions          DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Parse Calls         DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Sharable Memory     DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    SQL ordered by Version Count       DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Instance Activity Stats            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Instance Activity Stats - Absolute ValuesDB/Inst: WEBTST/webtst  Snaps: 43984
                      No data exists for this section of the report.
    Instance Activity Stats - Thread ActivityDB/Inst: WEBTST/webtst  Snaps: 43984-
                      No data exists for this section of the report.
    Tablespace IO Stats                DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    File IO Stats                      DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Buffer Pool Statistics             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Instance Recovery Stats             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Buffer Pool Advisory                       DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    PGA Aggr Summary                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    PGA Aggr Target Stats               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    PGA Aggr Target Histogram           DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    PGA Memory Advisory                        DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    Shared Pool Advisory                      DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    SGA Target Advisory                        DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    Streams Pool Advisory                      DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    Java Pool Advisory                         DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    Buffer Wait Statistics              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Enqueue Activity                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Undo Segment Summary               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Undo Segment Stats                  DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Latch Activity                     DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Latch Sleep Breakdown              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Latch Miss Sources                 DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Mutex Sleep Summary                 DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Parent Latch Statistics            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Child Latch Statistics              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Segments by Row Lock Waits         DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Segments by ITL Waits               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Segments by Buffer Busy Waits       DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Dictionary Cache Stats             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Library Cache Activity              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Memory Dynamic Components          DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Memory Resize Operations Summary    DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Memory Resize Ops                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Process Memory Summary             DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    sum
    SGA breakdown difference            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Streams CPU/IO Usage               DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Streams Capture                     DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Streams Apply                       DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Buffered Queues                     DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Buffered Subscribers                DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Rule Set                            DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Persistent Queues                   DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Persistent Subscribers              DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    Resource Limit Stats                      DB/Inst: WEBTST/webtst  Snap: 43985
                      No data exists for this section of the report.
    init.ora Parameters                DB/Inst: WEBTST/webtst  Snaps: 43984-43985
                      No data exists for this section of the report.
    End of Report

    SQL> show parameter statistics
    NAME                                 TYPE        VALUE
    optimizer_use_pending_statistics     boolean     FALSE
    statistics_level                     string      TYPICAL
    timed_os_statistics                  integer     0
    timed_statistics                     boolean     TRUE
    SQL>
    SQL> SELECT statistics_name,
      2             session_status,
      3             system_status,
      4             activation_level,
      5             session_settable
      6      FROM   v$statistics_level
      7      ORDER BY statistics_name;
    STATISTICS_NAME                                                  SESSION_ SYSTEM_S ACTIVAT SES
    Active Session History                                           ENABLED  ENABLED  TYPICAL NO
    Adaptive Thresholds Enabled                                      ENABLED  ENABLED  TYPICAL NO
    Automated Maintenance Tasks                                      ENABLED  ENABLED  TYPICAL NO
    Bind Data Capture                                                ENABLED  ENABLED  TYPICAL NO
    Buffer Cache Advice                                              ENABLED  ENABLED  TYPICAL NO
    Global Cache Statistics                                          ENABLED  ENABLED  TYPICAL NO
    Longops Statistics                                               ENABLED  ENABLED  TYPICAL NO
    MTTR Advice                                                      DISABLED DISABLED TYPICAL NO
    Modification Monitoring                                          ENABLED  ENABLED  TYPICAL NO
    PGA Advice                                                       ENABLED  ENABLED  TYPICAL NO
    Plan Execution Sampling                                          ENABLED  ENABLED  TYPICAL YES
    Plan Execution Statistics                                        DISABLED DISABLED ALL     YES
    SQL Monitoring                                                   ENABLED  ENABLED  TYPICAL YES
    Segment Level Statistics                                         ENABLED  ENABLED  TYPICAL NO
    Shared Pool Advice                                               ENABLED  ENABLED  TYPICAL NO
    Streams Pool Advice                                              ENABLED  ENABLED  TYPICAL NO
    Threshold-based Alerts                                           ENABLED  ENABLED  TYPICAL NO
    Time Model Events                                                ENABLED  ENABLED  TYPICAL YES
    Timed OS Statistics                                              DISABLED DISABLED ALL     YES
    Timed Statistics                                                 ENABLED  ENABLED  TYPICAL YES
    Ultrafast Latch Statistics                                       ENABLED  ENABLED  TYPICAL NO
    Undo Advisor, Alerts and Fast Ramp up                            ENABLED  ENABLED  TYPICAL NO
    V$IOSTAT_* statistics                                            ENABLED  ENABLED  TYPICAL NO
    23 rows selected.
    SQL>Thanks
    Edited by: rsar001 on May 12, 2011 11:33 AM

  • MDB and "stuck" messages

    Hi,
    We're developing a MDB listening to a AQ/JMS database persistant queue, on a Oracle JMS provider.That MDB as to be bullet proof (no lost messages), and that's why we're using database persistance.So far everything is working fine, but we have one issue that cause some headackes.
    For what I know, the onMessage() method doesn't acknowledge to the provider until the method completes, without trowing an exception. In that case, the provider rollback so he can try to redeliver the message again. Since we have some important processing done within the onMessage() method, we were worried about what would happen if the MDB crash (java code crash, server crash, sledgehammer hit). I tryed to read that message via a java class I wrote, but I couldn't. (i guess the message is still waiting for the acknowledge)
    So to make it short, I placed a "thread.Sleep" in the middle of the onMessage() method, I deployed it on my application server, put a message in the queue, and I pressed the reset button of my machine. The result was that the message was still in the queue (that's nice since we didn't lost it), but never redelivered, and after some time (like 12h), the message was gone of the database and not delivered. (the message expiration was set to 0)
    So the big question would be: what happen to a JMS message if the MDB crash for any reason and what's the behavior of the JMS provider, and if there's anything we can do to redeliver that "stuck" message?
    I guess the provider keep the status of each message somewhere in the database (something that says to him that the message is in develery, waiting for acknowledge).
    Thanks

    Most likely this is some server configuration issue and not an actual programming problem (because as you say yourself, on another system it works). I can advise only two things.
    - dig through the weblogic documentation
    - take your question to the weblogic forum
    https://forums.oracle.com/forums/category.jspa?categoryID=193

Maybe you are looking for

  • Calculate Square Root?

    Can I use Simplified field notation to calculate the square root of another field? Not having any success.

  • Open Item Management and parallel accounting

    We are using parallel accounting, there are two ledgers setup. With this setup, posing to leading ledger will automatically post an entries to non-leading ledger. Our user have this requirement, that for adjustment purpose, they just want to post to

  • How to display a pop up window using a button redirect to a page ?

    Hi I have a button who redirect to a page of the application and this button passes a few items using the URL parameters (Optional URL Redirect). I would like to display the new URL page in a pop up window, with the items set properly Where do I put

  • How to make .pdf's open in Reader and NOT Photoshop

    I am using Adobe Reader X, v 10.1.1 with Vista.  I also have Adobe Photoshop installed.  When I try to open a .pdf file, it automatically opens in Photoshop instead of Reader.  Is there a setting I can change somewhere to ensure that pdf's automatica

  • Looking for an algorithm

    I'm trying to make an algorithm that writes the following: 1   0 2   1 3   2 4   3 5   3 6   4 7   5 8   6 9   6 10   7 11   8 12   9 13   9 14  10 15  11 16  12 17  12 18  13 19  14 20  15The numer to the left is just a counter. The number to the ri