When should i consider to add multiple j2ee server node?

are there best practice about configuration for this?
such as : any recommendation provided are helpful for me!
thanks a lot!

Hi,
Please see this link
adding additional j2ee node
Best Regards
Imran

Similar Messages

  • When should I consider myself out of "rebuilding mode"

    Last year had no open credit accounts. Had 4 accounts in collections. At this time have a installment loan and 11 revolving credit accounts. As of today only have 2 accounts in collections, but will fall off report in 9 months. Had a score of mid 500's when started and according to a few models, my score is now between 660-679. My question is when should I consider myself out of rebuilding mode? When both my collection accounts fall off and by then my score shall be higher? Or when my AAoA is better? When all of these happen and most of my HP's fall off?

    When oldest account more than two years, and all reports are clean. Except for cap one and CU card, all the others were obtained after having clean reports.

  • The problem is occurred with J2ee server node which is disabled it from MMC

    Dear SAP Consultants,
    The problem is occurred with J2ee server node which is disabled J2ee server node from MMS Console and the abap work process is working fine but the dispatcher is yellow status and I can login to the abap system but Iu2019m not able to start the j2ee from Tcode u201CSmicmu201D as well
    The system parameters are:
    BI 7.0 System as ABAP & JAVA add on, windows 2003 on Oracle database, 24 GB Ram
    Paging files: Driveu201D Os system: minimum: 1525, maximum: 3048
    Driveu201DEu201D application: minimum: 70855, maximum: 70855
    I can see the log files as follow:
    From dev_disp:
    Sun Jun 21 13:10:28 2009
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 2892
      argv[0] = E:\usr\sap\BWD\DVEBMGS00\exe\jcontrol.EXE
      argv[1] = E:\usr\sap\BWD\DVEBMGS00\exe\jcontrol.EXE
      argv[2] = pf=E:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS00_cai-bwdev
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=64990
      argv[5] = -DSAPSYSTEM=00
      argv[6] = -DSAPSYSTEMNAME=BWD
      argv[7] = -DSAPMYNAME=cai-bwdev_BWD_00
      argv[8] = -DSAPPROFILE=E:\usr\sap\BWD\SYS\profile\BWD_DVEBMGS00_cai-bwdev
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    DpJ2eeLogin: j2ee state = CONNECTED
    Sun Jun 21 13:10:29 2009
    ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4424]
    ERROR => NiIRead: SiRecv failed for hdl 6 / sock 1032
        (SI_ECONN_BROKEN/10054; I4; ST; 127.0.0.1:1362) [nixxi.cpp    4424]
    DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2892)
    ERROR => DpProcKill: kill failed [dpntdisp.c   371]
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    Sun Jun 21 13:10:48 2009
    DpEnvCheckJ2ee: switch off j2ee start flag
    From dev_jcontrol :
    [Thr 2124] Sun Jun 21 13:10:29 2009
    [Thr 2124] *** ERROR => invalid return code of process [bootstrap] (exitcode = 66) [jstartxx.c   1642]
    [Thr 2124] JControlExecuteBootstrap: error executing bootstrap node [bootstrap] (rc = 66)
    [Thr 2124] JControlCloseProgram: started (exitcode = 66)
    [Thr 2124] JControlCloseProgram: good bye... (exitcode = 66)
    From dev_bootstrap :
    JHVM_BuildArgumentList: main method arguments of node [bootstrap]
    -> arg[  0]: com.sap.engine.bootstrap.Bootstrap
    -> arg[  1]: ./bootstrap
    -> arg[  2]: ID0072573
    -> arg[  3]: -XX:NewSize=57M
    -> arg[  4]: -XX:MaxNewSize=57M
    -> arg[  5]: -Xms256M
    -> arg[  6]: -Xmx256M
    -> arg[  7]: -XX:+DisableExplicitGC
    -> arg[  8]: -verbose:gc
    -> arg[  9]: -Djava.security.policy=.java.policy
    -> arg[ 10]: -Djava.security.egd=file:/dev/urandom
    -> arg[ 11]: -Djco.jarm=1
    [Thr 5216] JLaunchIExitJava: exit hook is called (rc = 66)
    [Thr 5216] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 5216] JLaunchCloseProgram: good bye (exitcode = 66)
    From server.0.log :
    #1.5 #001E4F208703008A0001C7470000092000046A4414D60A1F#1242740546634#/System/Server##com.sap.caf.eu.gp.schedule.impl.ScheduleWorker#J2EE_GUEST#0##n/a##27772ea0447811deb9bf001e4f208703#SAPEngine_Application_Thread[impl:3]_25##0#0#Error#1#com.sap.caf.eu.gp.schedule.impl.ScheduleWorker#Plain###ERROR_ACQUIRE_CONNECTION
    com.sap.caf.eu.gp.base.exception.EngineException: ERROR_ACQUIRE_CONNECTION
         at com.sap.caf.eu.gp.base.db.ConnectionPoolJ2EE.getConnection(ConnectionPoolJ2EE.java:92)
         at com.sap.caf.eu.gp.schedule.impl.ScheduleDbImpl.getScheduleToProcess(ScheduleDbImpl.java:1936)
         at com.sap.caf.eu.gp.schedule.impl.ScheduleService.getScheduleToProcess(ScheduleService.java:432)
         at com.sap.caf.eu.gp.schedule.impl.ScheduleWorker.work(ScheduleWorker.java:77)
         at com.sap.caf.eu.gp.schedule.impl.ScheduleWorker.run(ScheduleWorker.java:63)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
    cai-bwdev
    sapmnt
    BWD
    SYS
    global
    security
    data
    SecStore.properties" does not exist although it should..
         at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:59)
         at com.sap.caf.eu.gp.base.db.ConnectionPoolJ2EE.getConnection(ConnectionPoolJ2EE.java:89)
         ... 8 more
    Caused by: com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
    cai-bwdev
    sapmnt
    BWD
    SYS
    global
    security
    data
    SecStore.properties" does not exist although it should..
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:193)
         at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:338)
         at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:267)
         at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:51)
         ... 9 more
    Caused by: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
    cai-bwdev
    sapmnt
    BWD
    SYS
    global
    security
    data
    SecStore.properties" does not exist although it should..
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
         at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
         at com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:117)
         ... 12 more
    Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "
    cai-bwdev
    sapmnt
    BWD
    SYS
    global
    security
    data
    SecStore.properties" does not exist although it should.
         at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
         at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
         at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
         at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
         ... 14 more
    Please advice with the right solution,
    Regards,
    Ahmed

    thanks

  • Creating j2ee server node

    hi everyone,
    can any one tell me how to create j2ee server node.
    What happens basically by creating one.
    -Naveen.

    Dear Naveen,
    A  node represents a logical view of an external communication system in the SAP System,
    This will help you
    http://help.sap.com/saphelp_webas620/helpdata/en/2b/d9263f4b8a11d1894c0000e8323c4f/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73a16f1d-0e01-0010-95a6-a4f66ca1a65e
    Regards
    Agasthuri Doss

  • J2EE server node crashes / .hotspot_compiler

    Hi,
    I'm trying to install a NW AS Java + usage type DI 7.0 SR3 on W2K3 R2 x64 SP2 with MS SQL Server 2005 and Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_18-b06, mixed mode). During sapinst the server node was shut down by the program but doesn't come up anymore. It crashes constantly and is directly beeing restarted.
    A look in std_server0.out gave me the following insight (example, added lf):
    Login :33.902: [ParNew 218352K->59053K(966656K), 0.0923355 secs]
    39.132: [ParNew 222893K->62535K(966656K), 0.1131081 secs]
    44.103: [ParNew 226375K->65891K(966656K), 0.0794097 secs]
    ### Excluding compile:  com.sap.engine.services.
    webservices.jaxrpc.encoding.TypeMappingImpl::initializeRelations
    48.296: [ParNew 229731K->66972K(966656K), 0.0845196 secs]
    ### Excluding compile:  com.sap.engine.services.
    webservices.jaxrpc.encoding.InstanceBuilder::readElement
    52.107: [ParNew 230812K->71757K(966656K), 0.0862884 secs]
    ### Excluding compile:  com.sap.engine.services.
    webservices.jaxrpc.encoding.GeneratedComplexType::_loadInto
    56.691: [ParNew 235597K->75601K(966656K), 0.0875517 secs]
    An unrecoverable stack overflow has occurred.
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  EXCEPTION_STACK_OVERFLOW (0xc00000fd) at pc=0x00000000080e3dd6, pid=4460, tid=5532
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.4.2_18-b06 mixed mode)
    # Problematic frame:
    # V  [jvm.dll+0xe3dd6]
    # An error report file with more information is saved as hs_err_pid4460.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    stdout/stderr redirect
    node name   : server0
    pid         : 3924
    system name : DID
    system nr.  : 00
    started at  : Wed Sep 24 12:27:17 2008
    As you can see the VM crashes. A look in the corresponding log-file (hs_err_pid4460.log) gave me the following insight (added lf):
    Current CompileTask:
    opto:1295  !   com.sap.engine.core.cluster.impl6.ms.MSRawConnection.sendMessage(
    Lcom/sap/engine/core/cluster/impl6/ms/MSMessageObjectImpl;
    Lcom/sap/engine/core/cluster/impl6/ms/MSRegistrable;
    [BIIZ)Lcom/sap/engine/frame/cluster/message/MessageAnswer; (1477 bytes)
    It seems that the CompileTask for the Hotspot VM always crashes when trying to compile the MSRawConnection class natively (reproducable). Sun describes a workaround for this type of problem, http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/gbyzo.html#gbyzd . The workaround is to place a .hotspot_compiler file in the working directory of the application with an exclusion of the method. This will advice the VM whenever it decides to natively compile a certain bit of code first to check this file for exclusions. If the method identified by the VM to be compiled is exluded in this file, the compilation will be skipped. Therefore it would have been worth a try to exclude the above mentioned method sendMessage of class MSRawConnection for hotspot compilation. But when I do a quick search for .hotspot_compiler in my sap folder I find four of them, it seems SAP is already making heavy use of this "workaround" instead of reporting a bug. These files are located under:
    D:\usr\sap\DID\JC00\j2ee\cluster
    D:\usr\sap\DID\JC00\SDM\program
    D:\usr\sap\DID\JC00\j2ee\cluster\dispatcher
    D:\usr\sap\DID\JC00\j2ee\cluster\server0
    They all contain the same exclusions, listed here (added lf):
    ## This file contains a list of methods which are going to be excluded from JIT compilation on server start
    ## The format of the file is as follows
    ## exclude package/subpackage1/subpackage2/../subpackageN/<Class_name> <method_to_exclude>
    ## Each line of the file describes only one method
    ## <method_to_exclude> is method name that will not be compiled with JIT
    ## package/subpackage1/subpackage2/../subpackageN/<Class_name>
    is the name of the class with the packages containing <method_to_exclude>
    ## Example:
    ## exclude com/sap/engine/boot/Start main
    ## will not compile with JIT the main method of com.sap.engine.boot.Start class
    ## To enter a list of methods to exclude from JIT compilation write them after this line
    exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources
    exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain
    exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub
    exclude com/sapportals/portal/prt/util/StringUtils escapeToJS
    exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices
    exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile
    exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup
    exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue
    exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode
    exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode
    exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects
    exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement
    exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence
    exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations
    exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto
    I thought the D:\usr\sap\DID\JC00\j2ee\cluster\server0\.hotspot_compiler file must be the right file, but however to be sure (test) I added the following line to all four files after having shutdown the instance:
    exclude com/sap/engine/core/cluster/impl6/ms/MSRawConnection sendMessage
    When I start the engine again, the content of every file gets overwritten by the original content, therefore lacking my new line. So it seems to me that the content is somehow hardcoded or contained in the db. If it is in the db, is it possible to change the content via config tool? It also seems that this jdk is a beta version since it reports itself with the version string 1.4.2_18-b06. This is the one officially delivered by Sun on the [SAP download page|http://java.sun.com/j2se/1.4.2/SAPsite/download.html], as mentioned in [SAP Note 941595|https://websmp130.sap-ag.de/sap(bD1kZSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=941595]. Can you please provide me a solution to add an exclusion to the .hotspot_compiler file or workaround for the above mentioned problem. As a last option I will deinstall the system and reinstall it with another jdk (e.g. J2SE v 1.4.2_17 x64 SDK), but first I want to try to exclude the method/class from compilation. Thanks for your help!
    Best regards,
    Fabian

    Hi,
    You can tell the VM which file to load as compiler exclusion list. Therefore I copied .hotspot_compiler to .ext_hotspot_compiler and added my line
    exclude com/sap/engine/core/cluster/impl6/ms/MSRawConnection sendMessage
    then I went to config tool and added under cluster data -> myinstance -> myservernode under tab General the Java parameter
    -XX:CompileCommandFile=D:/usr/sap/DID/JC00/j2ee/cluster/server0/.ext_hotspot_compiler
    The J2EE node is now starting up without problems.
    Best regards,
    Fabian

  • Batch restart of j2ee server nodes

    Hello all,
    Is it possible (maybe with jcmon) to schedule a single server node restart within a j2ee cluster ?
    I would like to restart just one out of 4 server nodes on which ther are sometimes memory issues and where there are dedicated jobs running
    thanks and regards,
    MIchele

    Hi Donna
    If you are on unix/linux then you can pass options to jcmon over a pipe. This will restart the server1 node:
    echo "20\n5\n2\ny\n0\n0\n" | jcmon pf=SID_DVEBMGS00_host
    20\n5\n2\ny\n0\n0\n decodes like this:
    20 -> goto local administration menu
    5 -> restart process
    2 -> restart server node 1 (change this to your server node number)
    y -> yes i want to restart it
    0 -> exit local admin menu
    0 -> exit jcmon
    This command can be included into a script and scheduled in cron.
    Best regards, Michael

  • Restarting J2EE server nodes from Developer Studio Vs SAP Management Consol

    Hi,
    What makes the difference between restarting server nodes from Dev Studio and SAP Management console.
    Please let me know if any documents related to this.
    Thanks

    Thanks for your quick reply.
    I observed that options for restarting services from Dev Studio are disabled.
    Could you please let me know where we need to configure to enable these options when right click on server instances.
    Thanks

  • When should I logout my server session?

    Hello Everyone,I am a newbie using TopLink.
    I create my server session when my application is loaded, and acquire a client session from this server session for every client operation.However,I don't know when should I call logout method of the server session,as mentioned in Developer's Guide, "When you are finished using a database or server session, you must log out of the session using Session method logout. Although TopLink provides a finalizer to release sessions, this is a last resort. Oracle recommends that you always log out of your sessions."
    Many thanks in advance.

    You should only logout the ServerSession once your application will no longer needs it. For most applications this is not until the application is shutdown.
    --Gordon                                                                                                                                                                                                                                                                                                                                               

  • Options to change jdbc adapter for multiple server nodes without flag in db

    Due to load, we are about to add a new server node for additional J2EE memory within XI.  Reading the notes and discussions about this, it is apparent that the server nodes don't distinguish between themselves in terms of polling.  i.e. If we have a jdbc channel that polls every 24 hours, and you have 2 server nodes, it polls twice at the approximate same time every 24 hours.
    Question I have is how have people got around this issue where you cannot update the information to say that the data has been read.  i.e. Our scenario is reading the complete table contents every day and sending all information to another system.
    Hence, if we have 2 server nodes, we will execute this message twice.  When we add a 3rd server node, we will have 3 messages sent at the same time per day.
    One complicated option (I think) is to use an application client on XI to schedule a job which calls an ABAP Proxy on the integration client which starts off a ccBPM which in turn reads the database hence single threading this process.
    Anyone got any sensible ideas?
    Regards,
    Matt
    ps. Ignore the obvious design flaws with this approach as there is no other option in this scenario due to restrictions in the end system.

    Hi Matt,
    Extending Bhavesh's point, and assuming the receiver system is SAP, then why not schedule your calls on the receiver system, as the consumer of the data.
    The report name and optionally a date range can be written from the RFC via XI to a separate table in the database. The select statement can join the table to the existing view. The update statement can update the new table as your source table or view is obviously out of bounds.
    The advantage of this approach is that it results in a classic request response where XI is transparent.
    We are planning to do something very similar in our own project.
    Best Regards,
    Bill

  • Problem in opening J2EE server..

    Dear all,
    When i write the address of my J2EE server in the internet browser and try to open it. The system gives an error saying that..<b>The following error occurred:
    [code=GATEWAY_TIMEOUT] A gateway timeout occurred. The server is unreachable. Retry the request.</b>
    Can anybody suggest me the error cause and fix..
    Thanks,
    Anup

    Hi Anup,
    Are you specifying correct port?
    Port should be 5<instance num>00.
    Also check whether your server is running properly or not.
    Regards,
    Bhavik

  • Problem starting j2ee server (new one)!

    Please, someone help me - I have an assignment using j2ee!
    I'm running XP and use jdk1.3.1.
    When I try to start up the
    j2ee server using j2sdkee1.3.1 I get this message:
    Starting web service at port: 8000
    Starting secure web service at port: 7000
    J2EE SDK/1.3.1
    Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider
    org.apache.crimson.jaxp.SAXParserFactoryImpl could not be instantiated: java.la
    ng.SecurityException: sealing violation
    at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
    141)
    at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:270)
    at org.apache.catalina.startup.ContextConfig.defaultConfig(ContextConfig
    .java:731)
    at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:82
    3)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
    g.java:224)
    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:155)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
    345)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:614)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307
    I would be terribly thankful if someone knew :)

    I had the problem with starting server too.
    error message :
    java.lang.RuntimeException: Unable to create ORB. Possible causes include TCP/IP
    ports in use by another process
    at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:346)
    at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:972)
    J2EE server reported the following error: Unable to create ORB. Possible causes
    include TCP/IP ports in use by another process
    Error executing J2EE server ...
    I didn't think my machine was running another process while I attempted to run j2ee server.
    But I had installed WebObjects of Apple company.
    That's the reason or something else was wrong.
    I am very anticipate for your help.

  • Reconnecting to J2EE server

    I am developing a Adapter in TIBCO which connects to a J2EE server which acts a
    host for JMS queue. This adapter picks up the the messages from the JMS queue
    and publishes on the TIBCO bus.
    Now JMS subscribers receive messages through a registration - callback
    mechanism. If the J2EE server hosting the JMS queue goes down the subscriber is
    not notified and simply receives no messages. In the jms adapter this means
    that when the weblogic (J2EE) server comes back up no messages are received as
    subscriber configurations have been lost on the server side.
    To work around this we need to implement a disconnect-connect operation after
    the adapter has been idle for a certain length of time using a separate timer
    thread. But when i try to reconnect to the J2EE server after it starts again an
    exception is raised.
    This is code snippet i am using for reconnection. It is pretty straight forward.
    try {
    context = new InitialContext ();
              catch (NamingException nm)
                   System.out.println ("NamingException " + nm);
              try {
                   queueconnectionfactory = (QueueConnectionFactory)
    context.lookup(queueConnectionFactoryName);
    queueconnection =
    queueconnectionfactory.createQueueConnection();
                   queuesession = queueconnection.createQueueSession(false,
    Session.AUTO_ACKNOWLEDGE);
                   queue = (Queue) context.lookup(subJMSQueue);
    queuereceiver = queuesession.createReceiver(queue);
    queuereceiver.setMessageListener (listener);
    queueconnection.start();
                                       outQueue = (Queue) context.lookup(pubJMSQueue);
                        catch (NamingException ne) {
                        System.out.println ("ERROR: Error while JNDI Namespace look up. Reason: " +
    ne.toString());
                   try {
                   queueSender = queuesession.createSender(outQueue);
                   catch (JMSException je) {
                        System.out.println ("ERROR: Error while creating Queue Objects. Reason: " +
    je.toString());
              catch (NamingException ne)
                   System.out.println ("Fatal! Initialization of JMS adapter failed - Could not
    obtain connection objects for the JMS queue." + ne);
              catch (Exception e)
                   System.out.println ("Fatal! Initialization of adapter failed - Could not
    obtain components from registry." + e);
    This is the exception i am getting.
    javax.naming.CommunicationException: java.rmi.MarshalExcepti
    on: CORBA COMM_FAILURE 1398079689 No; nested exception is:
    org.omg.CORBA.COMM_FAILURE: minor code: 1398079689 completed: No
    org.omg.CORBA.COMM_FAILURE: minor code: 1398079689 completed: No
    at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(Connecti
    onTable.java:176)
    at com.sun.corba.ee.internal.iiop.ConnectionTable.getConnection(Connecti
    onTable.java:68)
    at com.sun.corba.ee.internal.iiop.GIOPImpl.getConnection(GIOPImpl.java:7
    0)
    at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDe
    legate.java:641)
    at com.sun.corba.ee.internal.corba.ClientDelegate.createRequest(ClientDe
    legate.java:583)
    at com.sun.corba.ee.internal.corba.ClientDelegate.request(ClientDelegate
    .java:875)
    at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:433)
    at org.omg.stub.com.sun.enterprise.naming._SerialContextProvider_Stub.lo
    okup(Unknown Source)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:120
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at com.hutchison3g.core.ea.adapter.jmsadapter.JMSReconnectionTimer.reest
    ablishJMSConnection(JMSReconnectionTimer.java:117)
    at com.hutchison3g.core.ea.adapter.jmsadapter.JMSReconnectionTimer.onEve
    nt(JMSReconnectionTimer.java:42)
    at com.tibco.sdk.events.EventHandoff.run(MEventSource.java:141)
    at java.lang.Thread.run(Thread.java:484)
    Any suggestion whether i am doing it correct or how else can i do this.
    Thanks all in advance.

    The classic way to sort this kind of connectivity issue out is to use JINI.
    JINI provides you with facilities that allow for the publication of services over a network. It also provides with facilities for discovering which services are currently available and which are not. It also does a tonne of other things for you too, including having invented this particular wheel for you.
    In your case you would be introducing a rapdily emerging but mature system into your application that you will probably find a 1000 other uses for.
    I find JINI fascinating to work with, I hope you do too (its a cannot live without it experience for me now)

  • How to add multiple table when creating add on using b1de

    Hi all,
    Plz help me
    How to add multiple table when creating add on using b1de.
    Thanks

    Hi dns_sap,
    Can you explain a little better what you are trying to accomplish? Is it to create UserTables and UserFields in the database, when the addon runs the first time?
    If so, you can use the following code
    Add User Table
            Try
                Dim lRetCode As Long
                Dim oUDT As SAPbobsCOM.UserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
                oUDT.TableName = TableName
                oUDT.TableDescription = TableDescription
                oUDT.TableType = TableType
                lRetCode = oUDT.Add
                '// Check for error when adding the Table: if lRetCode = 0 the table was created; if lRetCode = -2035 the table already exisits
                If lRetCode <> 0 Then
                    oApplication.MessageBox("Error: " & lRetCode.ToString & ", " & oCompany.GetLastErrorDescription)
                End If
            Catch ex As Exception
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Finally
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDT)
                oUDT = Nothing
                lRetCode = Nothing
                GC.Collect()
            End Try
    Add User Field
    Try
                Dim lRetCode As Long
                Dim oUDF As SAPbobsCOM.UserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                oUDF.TableName = TableName
                oUDF.Name = FieldName
                oUDF.Description = FieldDescription
                oUDF.Type = FieldType
                lRetCode = oUDF.Add
                '// Check for error when adding the field: if lRetCode = 0 the field was created; if lRetCode = -2035, the field already exists
                If lRetCode <> 0 Then
                    oApplication.MessageBox("Error: " & oCompany.GetLastErrorCode & ", " & oCompany.GetLastErrorDescription)
                End If
            Catch ex As Exception
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Finally
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDF)
                oUDF = Nothing
                lRetCode = Nothing
                GC.Collect()
            End Try
    Regards,
    Vítor Vieira

  • When should add "/" or not before a mapping path

    In a book I get the following :
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    There should be no trailing or leading ��/�� characters in the welcome-file element.
    <error-page>
    <error-code>404</error-code>
    <location>/common/404.jsp</location>
    </error-page>
    The value of the location element must begin with a ��/�� character.
    My question is when should I add "/",and the what does "/" means?

    If you don't have the "/" then this means that you are specifying a relative url. If you specify "/" this means that you are specifying an absolute url.

  • Normally if anyone buys an apple product (mac) , it comes with a built-in-apps that should be considered ( built in ) , Then why when the mac faces a mistake or an error that forces it to format , these apps don't show up ? etc : iMovie , garageband

    normally if anyone buys an apple product with a specific model (mac) , it comes with a built-in-apps that should be considered ( built in ) , Then why when the mac faces a mistake or an error that forces it to format , these apps don't show up ? etc : iMovie , garageband ...
    considered it should be '' BUILT IN APPS '' ??
    So does it really make sense that i should buy these apps again after i already payed an extra amount of money in the first place to get a model that includes them ??
    after formatting my mac these apps should be there like its a whole new device that i opened !!!
    I hope anyone with any useful information can share his thoughts or help with further steps .

    Downloading past purchases from the App Store, iBookstore, and iTunes Store   

Maybe you are looking for

  • 10.4.6 won't sleep or run screen saver

    After upgrading my mini to 10.4.6, it will not sleep the screen or spin down the disks, and the screen saver will not run. Other than this, everything is fine. Any advice, anyone?

  • Photoshop CS2 on more than one computer?

    Hi all, I am wondering if I can install Photoshop CS2 on my new laptop with has 320 GB hard drive, in addition to having it on my desktop?  I currently have it installed on my desktop with only 120 GB hard drive.  I also just bought a Western Digital

  • [Solved]Accidently rm'ed my home folder. Any chance of recovery?

    Hey, I just removed my home folder with rm. This was on purpose, as I was planning to mound another partition as my home folder. However, I forgot that that partition was mounted inside of home when I ran the command. I have most of my data backed up

  • Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error

    Hi, I have a sccm 2007 infrastructure with multiple site. from some period of time one site start to have problems after some switches changes. I try to locate the problem but until now no succes. Any ideea? Thks

  • Add tree node problem

    Hi guys, I'm trying to add nodes programatically but I have the same wrong behavior: 1. I displayed a tree which will be updated from a data block and Selected say NODE1. 2. After I displayed it I EXECUTE QUERY on the DATA BLOCK next to it, so I can