Some problems to reconnect to server after shutdown server

Hi all,
I have some problems to reconnect to JMS server. (OpenJMS). I have two queues, one to send messages, one to read messages. I implemented ExceptionListener but it's no clear if I must close session and connection or not.
In the onException, can I create a new connection, new session, new QueueReceiver and QueueSender? I'm confused :(.
Thanks in advance,
Federica

I'd recommend you just switch to Apache ActiveMQ (which fully implements JMS 1.1) and which also supports auto-reconnect...
http://incubator.apache.org/activemq/how-can-i-support-auto-reconnection.html
James
http://logicblaze.com/
Open Source SOA

Similar Messages

  • Having some problems with reconnecting footage after copy'ing to a new computer.

    I'm working on a stop-motion project with a lot of footage, the AE project files that I use have been copied multiple times back and forth between several computers.
    Several months ago I had this weird problem when opening a project on a different computer, all the footage was disconnected, so I had to reconnect.
    Now this happens a lot, but haven't been a problem since when I choose the footage file or sequence to be reconnected, AE would reconnect all te other files too.
    But this time, it didn't do that, I have to go in and reconnect every picture or sequence one by one, while the folders containing the footage have always remained the same.
    Somehow it stopped doing this and I could reconnect everything the normal way again.
    Today I copied all this footage to my brand new mac book to edit, but when I open the AE projects, I again have to reconnect EVERY SINGLE FILE manually.
    Which is very frustrating, because like I said before, I have a lot of footage!
    The previous computers where I used to work on had Mac OS 10.6, the new mac book is running Mac OS 10.8

    Smart-assy guess o' the day: Your file naming sucks (no offense). I tend to think that there's some issue here, but without actually seeing your project structure and knowing more about how you store your files, this is not going anywhere. For all intents and purposes this could be something completely outside Adobe's control, anyway due to changes in file handling and Unicode in OSX. Your file names might simply have characters that are assigned to different Unicode ranges between OSX versions or different default languages or the file names get truncated. Could even vbe something with one volume being formatted case-sensitive, something which Adobe apps can't handle properly yet...
    Mylenium

  • Recovering andrestoring of database in new server after current server fail

    Hi,
    If we have a disaster ,where the Database server has gone and we can not use it again.
    1) We do not have dataguard.
    2) We have rman backup file of 2 days before (Full database backup). Rman backup with nocatalogue
    3) Flashback log files of 2 days back
    3) Archive log till yesterday
    4) Export file of morning.
    Can we be able to restore and recover our database in new server
    if yes then how.
    Because RMAN Backup has its DBID and the new Oracle software which i install on new server will be installed with new ID.
    Please help me understanding this thing (About target database)
    Regards

    First of all, you should install the software on the server only, you should NOT create a database.
    As you can restore a database to a new host (and this is documented), you won't have any problems. That is, if you don't create a database during installation, and read up on recovery.
    I wonder: why do all those anonymous users always can't be bothered to read the documentation, and ask others to paraphrase it for free?
    Sybrand Bakker
    Senior Oracle DBA

  • Sun Server : after restart server getting connection issue

    Hi All,
    server : sun-appserver-pe8.1_01
    DB : oracle
    Datasource name : oracle.jdbc.pool.OracleDataSource
    When we deploy the ear file through admin site, we are able to run the application. when we shutdown and restart the application server we are getting below exception. please help out
    java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at $Proxy18.(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.sun.ejb.containers.BaseContainer.instantiateEJBObjectImpl(BaseContainer.java:1821)
    at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:608)
    at com.sun.ejb.containers.StatefulSessionContainer.initializeHome(StatefulSessionContainer.java:141)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:287)
    at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
    at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
    at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
    at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:180)
    at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: com.sun.enterprise.InvocationException
    at com.sun.enterprise.resource.ResourceManagerImpl.getTransaction(ResourceManagerImpl.java:41)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:141)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:258)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:147)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:70)

    Hi All,
    server : sun-appserver-pe8.1_01
    DB : oracle
    Datasource name : oracle.jdbc.pool.OracleDataSource
    When we deploy the ear file through admin site, we are able to run the application. when we shutdown and restart the application server we are getting below exception. please help out
    java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:169)
    at $Proxy18.(Unknown Source)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at com.sun.ejb.containers.BaseContainer.instantiateEJBObjectImpl(BaseContainer.java:1821)
    at com.sun.ejb.containers.BaseContainer.initializeHome(BaseContainer.java:608)
    at com.sun.ejb.containers.StatefulSessionContainer.initializeHome(StatefulSessionContainer.java:141)
    at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:287)
    at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
    at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
    at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
    at com.sun.enterprise.server.AbstractManager.load(AbstractManager.java:180)
    at com.sun.enterprise.server.ApplicationLifecycle.onStartup(ApplicationLifecycle.java:200)
    at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
    at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
    at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: com.sun.enterprise.InvocationException
    at com.sun.enterprise.resource.ResourceManagerImpl.getTransaction(ResourceManagerImpl.java:41)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:141)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:258)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:147)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:70)

  • Problem in deleting the message after reading

    Hi
    I m having some problem to delete the message after reading.
    i read the FAQ, and there is only one question regarding to delete that i have tried but its not working
    As my application required that message should be deleted after the processing.
    Please help me out asap
    Thank in advance.

    now here is the protocol trace from starting to the end point
    with the settings of
    session.setDebug(true);
    and
    folder.close(true);
    POP3: connecting to host "172.xx.xx.xx", port 110
    S: +OK Microsoft Exchange Server 2003 POP3 server version 6.5.6944.0 (xxxxx.xyz.com) ready.
    C: USER test1
    S: +OK
    C: PASS Password
    S: +OK User successfully logged on.
    C: STAT
    S: +OK 1 548
    Total messages = 1
    New messages = 0
    ================================
    C: TOP 1 0
    S: +OK
    Received: from yyyyyy ([172.xx.xx.xx]) by xxxxx.xyz.com with Microsoft SMTPSVC(6.0.3790.3959);
         Thu, 11 Sep 2008 12:21:14 +0530
    Message-ID: <3373112.1221115884647.JavaMail.284528@yyyyyy>
    From: [email protected]
    To: [email protected]
    Subject: testing
    Mime-Version: 1.0
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit
    Return-Path: [email protected]
    X-OriginalArrivalTime: 11 Sep 2008 06:51:14.0500 (UTC) FILETIME=[C8892840:01C913DA]
    Date: 11 Sep 2008 12:21:14 +0530
    C: LIST 1
    S: +OK 1 548
    ------------STARTING LINE------------
    MESSAGE #1:
    From: [email protected]
    To: [email protected]
    Subject: testing
    SendDate: Thu Sep 11 12:21:14 IST 2008
    CONTENT-TYPE: text/plain
    This is plain text
    ------------TEXT------------
    C: RETR 1
    S: +OK
    Received: from yyyyyy ([172.xx.xx.xx]) by xxxxx.xyz.com with Microsoft SMTPSVC(6.0.3790.3959);
         Thu, 11 Sep 2008 12:21:14 +0530
    Message-ID: <3373112.1221115884647.JavaMail.284528@yyyyyy>
    From: [email protected]
    To: [email protected]
    Subject: testing
    Mime-Version: 1.0
    Content-Type: text/plain
    Content-Transfer-Encoding: 7bit
    Return-Path: [email protected]
    X-OriginalArrivalTime: 11 Sep 2008 06:51:14.0500 (UTC) FILETIME=[C8892840:01C913DA]
    Date: 11 Sep 2008 12:21:14 +0530
    ------------TEXT------------
    ******************MESSAGE ENDING LINE*****************
    C: QUIT
    S: +OK Microsoft Exchange Server 2003 POP3 server version 6.5.6944.0 signing off.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • HT1529 I have brought my MAC laptop yesterday (6th of Aug'12) . Now i am facing some problem on this Macbook Pro.

    I have brought my MAC laptop yesterday (6th of Aug'12) . Now i am facing some problem on this Macbook Pro. after starting my laptop it makes sound for 4/5 mintues then again it off this sound .  this is recuring each 4/5 hours .
    Could you give any suggession regarding this problem , i have talked with Apple care support team . but didnt get proper response too . 
    My Serial no C17HD8UKDV13
    Regards Hamid , [email protected]

    Hamid,
    All new machines are under a 12 month warranty.   You may have extended that through Apple care but it is not relevant here.   Return it to the place of purchase (hopefully it was an Apple store or premium re-seller) and insist on their attention.
    I'm sure you will be polite about it.

  • Integrating Messaging Server and Identity Server

    I've got JES 2004Q2, and I'm trying to install the various components on different workstations to prove that a) the software works, and b) it's a viable alternative to Exchange (so please please help me get it working!)
    The problem I have is getting Messenger Server and Directory Server talking properly so that I can create users and then log in as those users. After days of frustrating searching for solutions to this problem (and also find people who have successfully done this), I decided to install the components onto one server.
    And it worked. Installing Messaging Server, Identity Server, Web Server (contained for Identity Server), Directory Server, and Admin Server all on the same box, configuring them all to use the same directory server for UG and preferences, running the various configuration tools that come with the software, and it all works together fine. Using "./commadmin domain modify .... -S mail", I get "OK". I can add users with the "-S mail" option, log in as those users, and send emails between those users. So this tells me that the software does work, albeit on one box.
    When I try to separate the services out to separate boxes, they don't seem to integrate properly. I thought that maybe the order in which you configured applications made a difference (ie. configuring Identity Server after Messenger Server means IS will pick up on the changes made to the directory by MS, and enable it). I also tried to see if using the same options directory server from different boxes helped, but nothing. I've even tried patching them using 116568-52 and 116585-10 but no luck.
    Therefore, I've found that installing all servers on one box works, but installing them on separate boxes doesn't (despite using the same directory servers). My conclusion in this is that one of two things must be the case:
    a) there's something in the install that has to be changed to reflect the fact that the services are running on different boxes
    b) the install of the services adds files to the system somewhere which other packages in JES pick up on (hence the reason why installing everything on one box works), and this isn't documented anywhere
    Unfortunately, the output of commadmin when it fails isn't that helpful (nothing against the developers, however it doesn't really help in the fault finding process). I do believe however that the problem is with Identity Server and its configuration, rather than Messaging Server.
    Here's some (possibly) useful info:
    kipling# ./imsimta version
    Sun Java(tm) System Messaging Server 6.1 HotFix 0.01 (built Jun 24 2004)
    libimta.so 6.1 HotFix 0.01 (built 12:52:04, Jun 24 2004)
    SunOS kipling 5.8 Generic_117350-02 sun4u sparc SUNW,Sun-Blade-1500
    kipling#
    (on UG server)
    # ./commadmin domain modify -D admin -w <password> -d uwe.ac.uk -n uwe.ac.uk -S mail -H kipling.uwe.ac.uk
    FAIL
    Unable to set attribute(s)
    (some verbose mode output)
    [Debug]: Contacting : http://bronte.uwe.ac.uk:10080/commcli/TaskManager
    [Debug]: To servlet: task=ModifyDomain&objecttype=Domain&domain=uwe.ac.uk&add_services=mail&add_preferredmailhost=kipling.uwe.ac.uk
    [Debug]: RECV: FAIL
    [Debug]: RECV: Unable to set attribute(s)
    [Debug]: CLITask: status returned =FAIL
    FAIL
    Unable to set attribute(s)
    [Debug]: DBG: doOne returned code=6
    [Debug]: Contacting : http://bronte.uwe.ac.uk:10080/commcli/logout
    [Debug]: Logout ...
    [Debug]: RECV: SSOToken id AQIC5wM2LY4SfcyW5hbVBGXqCdsYYDjVarSFRMd6HIxsGho=@AAJTSQACMDE=#
    [Debug]: RECV: destroyed
    Root suffix: dc=uwe,dc=ac,dc=uk (all "o=" references have been dropped)
    All services have their own local options directory server.
    Can anyone give me any suggestions? If I log a support call with Sun, what is the likely resolution time? My ultimate goal is to get the whole suite running together, then install Portal server. Once that's working, download the connectors for Outlook and get it all working with Outlook. As I said at the start, we're hoping to show this is a viable alternative to Exchange (certainly for the backend) so any help will be greatly appreciated!
    Iain

    slo_chewie wrote:
    Does the email recipient address change when the email is sent to gmail i.e. does an email sent to [email protected] become [email protected]?
    We've got google for domains setup, so users would retain a @domain.com address regardless if there mailbox was hosted on the internal server or hosted at google.You can make use of the mailRoutingAddress: user attribute and source routing to get the desired behaviour e.g.
    => Set the following value to the LDAP entry of the user who is hosted on the gmail server. The "[email protected]" address should match the users mail: address:
    mailRoutingAddress: @gmail.com:[email protected]=> Ensure the following option has been tcp_local channel in your imta.cnf file. This option strips off the "@gmail.com" value of the recipient address before sending the email to the gmail.com servers.
    dequeue_removerouteMake sure you run "./imsimta cnbuild;./imsimta restart" after modifying the imta.cnf file.
    Regards,
    Shane.

  • Problem with services of SAP after installation of ABAP on MS SQL server

    Hi,
    I am trying top install 2004 Netweaver ABAP+ JAVA on my machine
    Following is my machine configuration -
    Machine type - Windows 2003 Standard Edition SP1
    Machine name - pun-idmqa-vm1
    SAP Instance name - QSA
    DB type - MS SQL 2000 SP4 + hotfixes and instcoll.exe is executed. After nstalling SQL shows server proper as SQL_Latin1_General_CP850_BIN2 collation
    Message port - 3600
    I could sucessfully install Database from CD and thereby could sucessfully install ABAP. During postinstall I tried to start the server. all the following services got up -
    msg_server.exe
    disp+work.exe
    igswd.exe
    But after some time 2nd service goes down. Following is the error message flashed in
    trc file: "dev_disp", trc level: 1, release: "640"
    Mon Jul 02 16:33:16 2007
    kernel runs with dp version 128000(ext=102000) (@(#) DPLIB-INT-VERSION-128000-UC)
    length of sys_adm_ext is 524 bytes
    systemid   560 (PC with Windows NT)
    relno      6400
    patchlevel 0
    patchno    31
    intno      20020600
    make:      multithreaded, Unicode
    pid        2492
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2492) [dpxxdisp.c   1100]
    Mon Jul 02 16:33:17 2007
         shared lib "dw_xml.dll" version 31 successfully loaded
         shared lib "dw_xtc.dll" version 31 successfully loaded
         shared lib "dw_stl.dll" version 31 successfully loaded
         shared lib "dw_gui.dll" version 31 successfully loaded
    Mon Jul 02 16:33:21 2007
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 4 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3886]
    MtxInit: -2 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: JAVA is not active
    DpShMCreate: sizeof(wp_adm)          10528     (1316)
    DpShMCreate: sizeof(tm_adm)          2780232     (13832)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpShMCreate: sizeof(comm_adm)          290000     (580)
    DpShMCreate: sizeof(vmc_adm)          0     (372)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 054B0040, size: 3192688)
    DpShMCreate: allocated sys_adm at 054B0040
    DpShMCreate: allocated wp_adm at 054B1B58
    DpShMCreate: allocated tm_adm_list at 054B4478
    DpShMCreate: allocated tm_adm at 054B44A0
    DpShMCreate: allocated wp_ca_adm at 0575B0E8
    DpShMCreate: allocated appc_ca_adm at 05760EA8
    DpShMCreate: allocated comm_adm_list at 05762DE8
    DpShMCreate: allocated comm_adm at 05762E00
    DpShMCreate: allocated vmc_adm_list at 057A9AD0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 057A9AF8
    DpShMCreate: allocated wall_adm at 057A9B00
    MBUF state OFF
    EmInit: MmSetImplementation( 2 ).
    Mon Jul 02 16:33:22 2007
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 1132 MB
    <ES> 1131 blocks reserved for free list.
    ES initialized.
    Mon Jul 02 16:33:36 2007
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 2.6.1 2.6 4.0) [dpxxdisp.c   1462]
    Mon Jul 02 16:33:38 2007
    ***LOG Q0K=> DpMsAttach, mscon ( pun-idmqa-vm1) [dpxxdisp.c   9719]
    Mon Jul 02 16:33:46 2007
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6400, patchlevel 0
    Mon Jul 02 16:33:47 2007
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1025]
    DpMsgAdmin: Set patchno for this platform to 31
    Release check o.K.
    Mon Jul 02 16:34:20 2007
    ERROR => W0 (pid 2740) died [dpxxdisp.c   12170]
    ERROR => W1 (pid 3736) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W2 (pid 3876) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W3 (pid 3896) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W4 (pid 3852) died [dpxxdisp.c   12170]
    ERROR => W5 (pid 2008) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W6 (pid 3776) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W7 (pid 4052) died [dpxxdisp.c   12170]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    killing W0-2740 (SIGUSR2)
    ERROR => DpWpKill(2740, SIGUSR2) failed [dpxxtool.c   2468]
    killing W1-3736 (SIGUSR2)
    ERROR => DpWpKill(3736, SIGUSR2) failed [dpxxtool.c   2468]
    killing W2-3876 (SIGUSR2)
    ERROR => DpWpKill(3876, SIGUSR2) failed [dpxxtool.c   2468]
    killing W3-3896 (SIGUSR2)
    ERROR => DpWpKill(3896, SIGUSR2) failed [dpxxtool.c   2468]
    killing W4-3852 (SIGUSR2)
    ERROR => DpWpKill(3852, SIGUSR2) failed [dpxxtool.c   2468]
    killing W5-2008 (SIGUSR2)
    ERROR => DpWpKill(2008, SIGUSR2) failed [dpxxtool.c   2468]
    killing W6-3776 (SIGUSR2)
    ERROR => DpWpKill(3776, SIGUSR2) failed [dpxxtool.c   2468]
    killing W7-4052 (SIGUSR2)
    ERROR => DpWpKill(4052, SIGUSR2) failed [dpxxtool.c   2468]
    NiWait: sleep (10000 msecs) ...
    NiISelect: timeout 10000 ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Jul 02 16:34:30 2007
    NiISelect: TIMEOUT occured (10000 ms)
    dump system status
    Workprocess Table (long)               Mon Jul 02 11:04:30 2007
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     2740 Ended         no      1   0             0                                                             
    1 DIA     3736 Ended         no      1   0             0                                                             
    2 UPD     3876 Ended         no      1   0             0                                                             
    3 ENQ     3896 Ended         no      1   0             0                                                             
    4 BTC     3852 Ended         no      1   0             0                                                             
    5 BTC     2008 Ended         no      1   0             0                                                             
    6 SPO     3776 Ended         no      1   0             0                                                             
    7 UP2     4052 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Mon Jul 02 11:04:30 2007
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    3
    2000
    10
    10
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          13
    wake_evt_udp_now     0
    wake events           total     9,  udp     7 ( 77%),  shm     2 ( 22%)
    since last update     total     9,  udp     7 ( 77%),  shm     2 ( 22%)
    Dump of tm_adm structure:               Mon Jul 02 11:04:30 2007
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Mon Jul 02 11:04:30 2007
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000 msecs) ...
    NiISelect: timeout 5000 ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Jul 02 16:34:35 2007
    NiISelect: TIMEOUT occured (5000 ms)
    Shutdown server ...
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes...
    Stop gateway
    killing process (3832) (SOFT_KILL)
    Stop icman
    killing process (3960) (SOFT_KILL)
    Terminate gui connections
    [DpProcDied] Process lives  (PID:3832  HANDLE:1600)
    waiting for termination of gateway
    NiWait: sleep (1000 msecs) ...
    NiISelect: timeout 1000 ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Mon Jul 02 16:34:36 2007
    NiISelect: TIMEOUT occured (1000 ms)
    Mon Jul 02 16:34:37 2007
    [DpProcDied] Process died  (PID:3832  HANDLE:1600)
    [DpProcDied] Process died  (PID:3960  HANDLE:1588)
    DpHalt: cancel all lcom connections
    MPI CancelAll 2 -> 0
    MPI DeleteAll 2 -> 0
    NiIMyHostName: hostname = 'pun-idmqa-vm1'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 163 bytes
    NiBufSend starting
    NiIWrite: write 562, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name          -, type 4, key -
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9945]
    NiBufSend starting
    NiIWrite: write 110, 1 packs, MESG_IO, hdl 3, data complete
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiSelClear: removed hdl 3 from selectset
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/8
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 19)
    MBUF component DOWN
    NiBufClose: clear extensions for hdl 3
    NiBufSetStat: bufstat of hdl 3 changed from OK to OFF
    NiICloseHandle: shutdown and close hdl 3 / socket 1608
    MsIDetach: detach MS-system
    Mon Jul 02 16:34:38 2007
    EsCleanup ....
    ***LOG Q05=> DpHalt, DPStop ( 2492) [dpxxdisp.c   8478]
    Good Bye .....
    I am new to SAP EP installation. Please help me regarding this issue.
    Thanks and Regards,
    Smitha

    forgot to tell you, after that probably you will need to make the installation again.
    good luck.

  • RMI How can a Client reconnect to a server after connection(any)-error

    I have the following problem:
    My RMI-Server runs for ever. In a batch-queue I have a procedure which looks periodly wether rmiregistry
    and RMI-Server exists. On error both processes are killed and restarted.
    My client as a simple example is displaying the server time. If any communication-problem with the
    server exists, I need an automatic reconnect to the server. I accept that into the time distanz of the
    error the display is frozen. Its unacceptable to restart the client !!.
    The following example demonstates my test-example:
    Server:
    1. Start
    2. waits for connecting (factory)
    3. answer time-requests
    Client:
    1. Start
    2. create a time class initially 1.jan.1970 00:00:00
    3. Start a timer displaying the time class every second
    4. start a timer connecting/reconnecting to the server and ask the servers actual time every second
    PS. Is the server to stubil programmed, so that a hang can exists?
    It would be nice, if anybody could answer me !!
    The following sources work correctly without solving the problem of the reconnect:
    ////////////// Echo.java
    package emi.server;
    import java.rmi.*;
    import java.util.*;
    public interface Echo
    extends Remote
    public Date getTime() throws RemoteException;
    ////////////// EchoClient.java
    package emi.server;
    //import emi.utility.basics.*;
    public class EchoClient
    public static void main(String args[]) throws Exception
    EchoClient echoclient1 = new EchoClient();
    //Check the argument count
    if (args.length != 1)
    System.err.println("Usage: EchoClient <server> --> EXIT");
    System.exit(0);
    // all of time relevant things
    Etim acttim = new Etim();
    // displaying continous the time
    EchoClientDisplay disp = new EchoClientDisplay(acttim);
    disp.StartTimer();
    // transfering continous the time from the server
    EchoClientTransfer trans = new EchoClientTransfer(acttim, args[0]);
    trans.StartTimer();
    ////////////// EchoClientDisplay.java
    package emi.server;
    import java.awt.event.*;
    import javax.swing.*;
    // displaying every 750 Milliseconds the value of the time
    public class EchoClientDisplay implements ActionListener
    private Timer tim;
    private Etim tact;
    public EchoClientDisplay(Etim tact)
    tim = new Timer(750, this);
    this.tact = tact;
    public void StartTimer()
    tim.setRepeats(true);
    tim.setInitialDelay(5);
    tim.start();
    public void actionPerformed(ActionEvent e )
    System.out.println(tact.toString());
    ////////////// EchoClientTransfer.java
    package emi.server;
    import java.rmi.Naming;
    import java.rmi.RMISecurityManager;
    import java.awt.event.*;
    import javax.swing.Timer;
    import java.util.Date;
    // transferring the actual time from the server
    public class EchoClientTransfer implements ActionListener
    private Etim tact;
    private String hostname;
    private Timer tim;
    private boolean init = false;
    private Echo echoRef1 = null;
    public EchoClientTransfer(Etim tact, String hostname)
    this.tact = tact;
    this.hostname = hostname;
    this.tim = new Timer(500, this);
    public void StartTimer()
    tim.setRepeats(true);
    tim.setInitialDelay(5);
    tim.start();
    public void actionPerformed(ActionEvent e )
    //>>>>>>>>>>> this construction doesnt work correctly, its only good until the first
    // network error
    try
    if( init == false )
    // Create and install the security manager
    System.setSecurityManager(new RMISecurityManager());
    //get the remote factory object from the registry
    String url = new String("rmi://"+ hostname +"/EchoFactory");
    EchoFactory remoteFactory = (EchoFactory)Naming.lookup(url);
    //get references to new EchoImpl instances
    echoRef1 = remoteFactory.getEcho("User Meyer");
    init = true;
    if( init = true )
    //make the remote calls
    Date d = echoRef1.getTime();
    tact.setDate(d);
    catch(Exception ee)
    System.out.println(ee.toString());
    init = false;
    //<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    ////////////// EchoFactory.java
    package emi.server;
    import java.rmi.RemoteException;
    import java.rmi.Remote;
    public interface EchoFactory extends Remote
    Echo getEcho(String userName) throws RemoteException;
    ////////////// EchoFactoryImpl.java
    package emi.server;
    import java.rmi.RemoteException;
    import java.rmi.server.UnicastRemoteObject;
    public class EchoFactoryImpl extends UnicastRemoteObject implements EchoFactory
    EchoFactoryImpl() throws RemoteException {};
    public Echo getEcho(String userName) throws RemoteException
    EchoImpl echoRef = new EchoImpl(userName);
    return (Echo)echoRef;
    ////////////// EchoImpl.java
    package emi.server;
    import java.rmi.RemoteException;
    import java.rmi.server.UnicastRemoteObject;
    import java.util.*;
    public class EchoImpl extends UnicastRemoteObject implements Echo
    private String userName;
    public EchoImpl() throws RemoteException
    public EchoImpl(String userName) throws RemoteException
    this.userName = userName;
    public Date getTime()
    Etim e = new Etim();
    e.setTimeAct();
    return e.get();
    ////////////// EchoServer.java
    package emi.server;
    import java.rmi.Naming;
    import java.rmi.RMISecurityManager;
    public class EchoServer
    public static void main(String args[]) throws Exception
    // Create and install the security manager
    System.setSecurityManager(new RMISecurityManager());
    // Create the servant instance for registration
    EchoFactory factoryRef = new EchoFactoryImpl();
    // Bind the object to the rmiregistry
    Naming.rebind("EchoFactory", factoryRef);
    System.out.println("Echo object ready and bound to the name 'EchoFactory'!");
    ////////////// Etim.java
    package emi.server;
    import java.util.*;
    import java.text.*;
    // this is my central class working up all time problems .. many hundred lines of code
    // I think, you must not look at this code ist setting and reading time
    // this is only a subset of methods for this example
    public class Etim
    private Date dat;
    private Calendar cal;
    public Etim()
    cal = Calendar.getInstance(); // Gregorianischer Kalender
    dat = new Date(0L); // January 1, 1970, 00:00:00
    cal.clear();
    * Zeit lesen.
    public Date get()
    return dat;
    // setting the time
    public void setDate( Date d )
    dat.setTime( d.getTime() );
    cal.setTime(dat);
    // gets my time-class to the current system-clock
    public void setTimeAct()
    long millis;
    millis = System.currentTimeMillis();
    setMilli(millis);
    * Zeit setzen.
    public void setMilli(long millis)
    dat.setTime(millis);
    cal.setTime(dat);
    // time in german format: day.month.year hour:minute:second:millisecond
    public String toString()
    return toStringTagMoJahr() + " " + toStringStdMiSek() +
    ":" + cal.get(Calendar.MILLISECOND);
    * Ausgabeformat Tag.Monat.Jahr (z.B. 01.01.2001).
    public String toStringTagMoJahr()
    SimpleDateFormat s = new SimpleDateFormat("dd.MM.yyyy");
    return s.format(dat);
    * Ausgabeformat Stunde:Minute:Sekunde (00:00:00 - 23:59:59).
    public String toStringStdMiSek()
    SimpleDateFormat s = new SimpleDateFormat("HH:mm:ss");
    return s.format(dat);

    Hello willy51,
    Thank you for answering.
    I think, your comment of the design is true - its a problem when starting up in a new enviroment and
    you have nobody who shows you the right direction at the beginning. Talking personally together only
    10 minutes is better than writing a noval.
    I thing the following model of a client works better:
    concept:
    - visualize a personal time class continously evgery second
    - if there is a connection to a server set the time-class with the server time
    - if you loss connection, try to reconnect
    question:
    in which situation hangs connectToServer() ?
    (whithout the simple errors : no rmiregistry, no rmi-server)
    public class EchoClient
    private String hostname;
    public static void main(String args[]) throws Exception
    // my internal TIME-Class
    Etim acttim = new Etim();
    // Create and install the security manager
    System.setSecurityManager(new RMISecurityManager());
    // remote call
    Echo echoRef1 = null;
    String url = new String("rmi://"+ servername:port +"/EchoFactory");
    // displaying continous the time, technic = swing.timer
    EchoClientDisplay disp = new EchoClientDisplay(acttim);
    disp.StartTimer();
    // transfering continous the time from the server, technic = swing.timer
    // The state of transfer from server = offline
    EchoClientTransfer trans = new EchoClientTransfer(acttim);
    trans.StartTimer();
    // Connect to server
    connectToServer(url, echoRef1, trans);
    // wait for ever, if connection failed, try every 5 seconds a reconnect to server
    while(true)
    // test, if connection failed. The connections fails if the Object EchoClientTransfer
    // get a error, when it asks the server for the time ( remote call )
    if(trans.getStatus() == false ) // test, if connection failed
    connectToServer(url, echoRef1, trans);
    // try it again after 5 seconds
    Thread.sleep(5000);
    private static void connectToServer(String url, Echo echoRef1, EchoClientTransfer trans)
    System.out.println("Retry connection");
    // Connect to server
    while( true )
    try
    //get the remote factory object from the registry
    EchoFactory remoteFactory = (EchoFactory)Naming.lookup(url);
    //get references to new EchoImpl instances
    echoRef1 = remoteFactory.getEcho("User Meyer");
    // reactivate Datatransfer because I have now a new connection to the server
    trans.reactivateAfterConnectionError(echoRef1);
    // end of initialisation
    break;
    catch( Exception e )
    //>>>>>>> Error initialising connection to server. try again after 5 seconds"
    Thread.sleep(5000); // retry after 5 seconds

  • Problems to open a application after reboot the server

    Hhi there
    after some problems and rebooring the server, i cant open the appliaction anymore. i got the message "unable to connect to server"
    I restarted the services allready and tried to figure out where is the problem in the log files etc. but without success.
    the DB is working without problems. is it possible that the problem is in the firewall or ports? but then I'm wondering why it worked a few minutes before!
    thanks for help!

    I don't recommend increasing this setting unless you know for sure that you are experiencing performance or significant latency issues between the HFM application server and the database server. This setting simply allows for a 2 minute timeout rather than a 60 second timeout when HFM is reading or writing to the database. You would be better off correcting the underlying database or connectivty issue. If this were your issue, you would see some messages in the HsvEventLog.log file regarding HFM's repeated but failed attempts to connect to the database server during a SQL statement.
    Also, this setting can be controlled through the EPM Configurator or Web and Server Cofiguration utility as well as altered directly in the registry as you've shown.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Tomcat server remains started after shutdown

    i was using tomcat sucessfully few daysn back.but now it is not shutting down even after giving command.
    some new things i noticed are
    * tomcat window that appears at the begning closes now while startup
    * after shutdown command, it shows some exceptions(errors)
    i am able to launch what i want but it is not closing.so plz tell me how to overcome this.tahnks in advance

    * after shutdown command, it shows some
    exceptions(errors)You never mentioned (or bothered to mention) the
    exception. Post that with the complete stack trace.i thought it to be a usual problem ok here is exception
    Catalina.stop: java.net.ConnectException: Connection refused: connect
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
    at java.net.Socket.connect(Socket.java:425)
    at java.net.Socket.connect(Socket.java:375)
    at java.net.Socket.<init>(Socket.java:290)
    at java.net.Socket.<init>(Socket.java:118)
    at org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
    at org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
    at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    my opinion:i think it is finding tomcat already stop.that's why it is showing this .but in this case file should not launch in browser but it is launching that means tomcat is running .so ! where is the problem

  • Hi every body. I have some problem with my i pad mini's keyboard . After i opened the message icon , suddenly the shape of my keybord has been chenged . I don't know how to fix it? I was wondering if you'd mind helping me.thanks .

    Hi every body. I have some problem with my i pad mini's keyboard . After i opened the message icon , suddenly the shape of my keybord has been chenged . I don't know how to fix it? I was wondering if you'd mind helping me.thanks

    That's so you can text with your thumbs. If it does' tog back together  automatically  put your finger on the tiny typewriter  and you should get a pop up to reconnect keyboard. Or more easily put a finger on each one and pop them together.

  • How im suppose to fix the auto shutdown problem in my iphone 3gs after updating to ios 5.1.1 this problem has made me a mobile ****** in my house and an loser in thing care so if any solution to this problem let me know

    how im suppose to fix the auto shutdown problem in my iphone 3gs after updating to ios 5.1.1 this problem has made me a mobile ****** in my house and an loser in thing care so if any solution to this problem let me know

    What "auto shutdown problem" are you talking about?

  • I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple I'd as there was some problem with the first one. Now at some places still my old apple I'd is appearing.  Pls adv how I change this to my new apple Id.

    I created one apple I'd when I started using the iPad.  After some days, I had to create a new apple id
    as there was some problem with the first one. Now at some places still my old apple Id is appearing.  Pls adv how I change this to my new apple Id.

    Anything you downloaded with the first Apple Id will forever be tied to it, and will always require it to update.
    The question here is, why did you think you needed to create a new Apple ID? What was the problem with the first one?
    To get rid of th old one, you'll need to delete everything you downloaded with it, and then sign out of the ID in several places around the iPad. 
    Go to Settings->iTunes & App Stores->Apple ID->Sign out.
    Repeat the process, for Facetime, Messages, Mail and any other App you need to sign out of.

  • I am not able to download ITunes. I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don

    I had some problems with ITunes and had to uninstall but now when I reinstall iTunes after I click on download iTunes and save the File, I get this message"Thank you for downloading iTunes" and nothing else happens. I don't see any thing else. Now not sure what else I have to do.
    Thanks,
    Ranjit

    See the further information area of Troubleshooting issues with iTunes for Windows updates.
    tt2

Maybe you are looking for

  • The LOV modal window could not return value to the base page

    when practicing the "create1" task in tutorial, met an issue. when create an employee, manageName is a messageLovInput and managerID is a messageTextInput. The issue is the LOV modal window could not return value to the mangerName, but can return to

  • Validity Table in Non cumulative cube

    Hi Friends, What is the use of validity table in Non cumulative cube? I have already studied the document 'How to Inventory Please can any one explain me with example. Thanks & Regards, Ramnaresh.P.

  • What would happen if I used Recovery Disk?

    I've recently bought a new iMac (Core i5) that came with Lion pre-installed, but I needed Snow Leopard for all my older software e.g. Photoshop CS, so I got the sellers to install SL for me. Everything is fine. Out of curiosity I tried to see if I co

  • A good simple preloader.

    I've asked some questions regarding this before on a project I had to put on the backburner.  But I'm back to that project now and am looking at it with new fresh eyes so I thought I'd bring it up again in a new discussion.  I'm working on a Flash we

  • Transfer block of plant to another plant

    Dear all i want to transfer one material from block of storage location of plant to block of storage location of another plant, please guide me which one movement type should i use in transaction MIGO? best regards