Configuration of embedded broker in 4.4

I'm experimenting with the new embedded broker functionality in the 4.4-09 build, using the example instructions at https://mq.dev.java.net/4.4-content/embedded-example.html
What I'm not liking is the requirement to point the broker at the MQ installation directory. To me, this rather defeats the point of an embedded broker - I don't have an installation, and I don't want to create one. I need to be able to configure the broker entirely within my application.
Is it possible to manually configure the broker programmatically, rather than parsing artifically-constructed command line arguments and sifting through artifically-created configuration files?

I'm afraid that at the moment there is no other way of doing it.
Tom

Similar Messages

  • OpenMQ embedded broker in Maven JUnit

    I have standalone application wich interacts with OpenMQ through JMS. Maven build tool is used. I want to write JUnit tests checking application interaction with OpenMQ. For this purpose I want to use OpenMQ embedded broker. I found https://mq.dev.java.net/4.4-content/embedded-example.html guide. With minor changes I implemented embedded broker. But it's not work as described in guide.
    At first it appear to me that it cann't create necessary directories and I've added
    new File("target/openmq/var/instances/imqbroker").mkdirs();
    but later I understood that for some reason it's not creating directories and files which should create itself.
    I browsed the sources code and found, that Broker.start() method return value ignored during embedded broker creation. It seems to be a bug.
    I receive broker event 'READY : Broker has been started' but actually it don't starts and jms port 7676 close.
    Please, look at my code and tell me what's wrong with it?
    Application can be downloaded from this thread: http://forums.java.net/jive/thread.jspa?messageID=482904&#482904 .
    Direct link: http://forums.java.net/jive/servlet/JiveServlet/download/56-153207-482904-13987/openmqtest.zip
    To start build process put libraries defined in lib/dir.txt from OpenMQ distribution to project lib directory. Then use
    mvn clean package
    Here is the output:
    Running bulatnig.openmqtest.EmbeddedBrokerTest
    [16/сен/2010:09:04:03 MSD] WARNING [B2001]: Unable to load default property file /home/bulat/IdeaProjects/glassjmstest/openmqtest/target/openmq/lib/props/broker/default.properties:
    java.io.FileNotFoundException: /home/bulat/IdeaProjects/glassjmstest/openmqtest/target/openmq/lib/props/broker/default.properties (No such file or directory)
    [16/сен/2010:09:04:03 MSD] ERROR [B3001]: Defaulting to use the fallback properties. The Broker will only run in a minimal configuration using these settings. Fallback properties are being used because the defaults.property files could not be loaded. Please check the value of IMQ_HOME
    [16/сен/2010:09:04:03 MSD]
    ================================================================================
    Open Message Queue 4.5
    Oracle
    Version: 4.5 (Build 10-f)
    Compile: Wed Jun 16 23:23:56 PDT 2010
    Copyright (c) 2010 Sun Microsystems, Inc. All rights reserved. Use is
    subject to license terms.
    ================================================================================
    Java Runtime: 1.6.0_20 Sun Microsystems Inc. /usr/lib/jvm/java-6-sun-1.6.0.20/jre
    [16/сен/2010:09:04:03 MSD] IMQ_HOME=/home/bulat/IdeaProjects/glassjmstest/openmqtest/target/openmq
    [16/сен/2010:09:04:03 MSD] IMQ_VARHOME=/home/bulat/IdeaProjects/glassjmstest/openmqtest/target/openmq/var
    [16/сен/2010:09:04:03 MSD] Linux 2.6.32-24-generic amd64 nigmatullin (2 cpu) bulat
    [16/сен/2010:09:04:03 MSD] Java Heap Size: max=449664k, current=30336k
    [16/сен/2010:09:04:03 MSD] Arguments: -imqhome target/openmq
    [16/сен/2010:09:04:03 MSD] Embedded Broker
    [16/сен/2010:09:04:03 MSD] ERROR [B3086]: The broker got an exception when trying to acquire the lock file:
    null/instances/imqbroker/lock
    java.io.IOException: No such file or directory
    The lock file may be corrupted, or there may be a permission problem
    with the lock file or the directory that contains the lock file.
    If you are certain no other copy of the broker is running with the
    instance name "imqbroker" then you may remove the lock file and
    try starting the broker again.:
    java.io.IOException: No such file or directory
         at java.io.UnixFileSystem.createFileExclusively(Native Method)
         at java.io.File.createNewFile(File.java:883)
         at com.sun.messaging.jmq.jmsserver.util.LockFile.getLock(LockFile.java:113)
         at com.sun.messaging.jmq.jmsserver.Broker._start(Broker.java:798)
         at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:412)
         at com.sun.messaging.jmq.jmsserver.BrokerProcess.start(BrokerProcess.java:219)
         at com.sun.messaging.jmq.jmsserver.DirectBrokerProcess.start(DirectBrokerProcess.java:87)
         at com.sun.messaging.jmq.jmsclient.runtime.impl.BrokerInstanceImpl.start(BrokerInstanceImpl.java:144)
         at bulatnig.openmqtest.EmbeddedBrokerTest.startServer(EmbeddedBrokerTest.java:50)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
         at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
         at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
         at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
    Received broker event:READY : Broker has been started
    Edited by: bulatka on Sep 15, 2010 10:37 PM

    I changed arguments to:
    -imqhome target/openmq -libhome /home/bulat/desktop/MessageQueue4_4/mq/lib
    Build Failed:
    <testcase time="0" classname="bulatnig.openmqtest.EmbeddedBrokerTest" name="bulatnig.openmqtest.EmbeddedBrokerTest">
    <error message="com/sun/messaging/jms/management/server/ClusterNotification" type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError: com/sun/messaging/jms/management/server/ClusterNotification
    at com.sun.messaging.jmq.jmsserver.management.agent.Agent.loadAllMBeans(Agent.java:671)
    at com.sun.messaging.jmq.jmsserver.management.agent.Agent.loadMBeans(Agent.java:628)
    at com.sun.messaging.jmq.jmsserver.Broker._start(Broker.java:1385)
    at com.sun.messaging.jmq.jmsserver.Broker.start(Broker.java:412)
    at com.sun.messaging.jmq.jmsserver.BrokerProcess.start(BrokerProcess.java:219)
    at com.sun.messaging.jmq.jmsserver.DirectBrokerProcess.start(DirectBrokerProcess.java:87)
    at com.sun.messaging.jmq.jmsclient.runtime.impl.BrokerInstanceImpl.start(BrokerInstanceImpl.java:144)
    at bulatnig.openmqtest.EmbeddedBrokerTest.startServer(EmbeddedBrokerTest.java:50)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
    at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
    at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
    at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.management.server.ClusterNotification
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    ... 28 more
    </error>
    </testcase>
    I added imqjmx to project dependencies: project builds without errors.
    The next question: is it possible start embedded broker without OpenMQ locally installed? Which libraries should I put in dependencies to run embedded broker in JUnit tests?

  • Configure data guard broker on Oracle 11.2.0.1

    Our primary is a 3 node RAC of 11.2.0.1 on Redhat 5.2. The physical standby is a single instance on redhat 5.2. After configured data guard, I am trying to configure data guard broker following docOracle® Data Guard Broker 11g Release 2 (11.2)
    E10702-01
    It says to add a entry to the listener.ora file
    LISTENER = (DESCRIPTION =
    (ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=host_name)
    (PORT=port_num))))
    SID_LIST_LISTENER=(SID_LIST=(SID_DESC=(SID_NAME=sid_name)
    (GLOBAL_DBNAME=db_unique_name_DGMGRL.db_domain)
    (ORACLE_HOME=oracle_home)))My lstener.ora under grid_home is LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON              # line added by AgentAfter addedLISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = cchORdb1)(PORT = 1521))
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = cchprd_DGMGRL)
          (SID_NAME = cchprd)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
      )I started the listener and got errorLSNRCTL> start
    Starting /u01/app/grid/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/grid/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/cchORdb1/listener/alert/log.xml
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cchORdb1)(PORT=1521)))
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
      TNS-00512: Address already in use
       Linux Error: 98: Address already in use
    Listener failed to start. See the error message(s) above..Without the Listener and SID_LIST_LISTENER entries, the grid infrastucture appear to manage a default listener and works OK. After add these, it appears to conflick with the default setting. I also tried to add a different listener name, then I got messge LISTENER is already startedHow should one handle this problem?
    Thanks.

    Shutdown the listener and check for white spaces in the file. Try to restart it. If if fails review against my example below.
    Here is my working example:
    PRIMARY
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary.myserver.com)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (global_dbname = PRIMARY_DGMGRL.myserver.com)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (SID_NAME = PRIMARY)
    STANDBY
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.mydomain.com)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (global_dbname = STANDBY_DGMGRL.mydomain.com)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (sid_name = STANDBY)
    ADR_BASE_LISTENER = /u01/app/oracle
    INBOUND_CONNECT_TIMEOUT_LISTENER=120
    When I first tried to setup this up several months ago I had this issue:
    ORA-12514 during SWITCHOVER
    Problem: You perform a switchover using DGMGRL. Though the switchover itself completes successful, databases don't get started up again. Instead, DGMGRL output holds an
    ORA-12514: TNS:listener does not currently know of service requested in connect
    Cause: This is a configuration issue: DGMGRL needs a special entry in the listener.ora.
    Solution: Details on this can be found in the Metalink note 308943.1. Make sure both, your primary and standby database have an explicit entry in the listener.ora like this:
    SID_LIST_LISTENER = (
    SID_LIST = (
    SID_DESC = ( GLOBAL_DBNAME = <db_unique_name>DGMGRL.<dbdomain> )
    ( SERVICE_NAME = <db_unique_name>.<db_domain> )
    ( SID_NAME = <ORACLE_SID> )
    ( ORACLE_HOME = <ORACLE_HOME> )
    Take special care, that:
    * <db_unique_name> reflects the databases unique name (SHOW PARAMETER db_unique_name)
    * <db_domain> reflects the databases domain (SHOW PARAMETER db_domain)
    * <ORACLE_SID> and <ORACLE_HOME> reflect the corresponding settings of the database
    Having adjusted your listener.ora files, restart the listener (lsnrctl stop && lsnrctl start). Give your databases a few minutes to register with the listener again, and then - just to be on the safe side - let the listener tell you its configuration: lsnrctl status && lsnrctl services. Check the output if everything matches.
    Edited by: mseberg on Dec 10, 2010 8:01 AM

  • Configure the embedded Tomcat Server

    Hello,
    is there a documentation which tells me how to configure the embedded Tomcat Server in the Oracle Content Server? I can't get it work.
    When I try to start an web application from "JSP Server Web App Admin" I get the following error message:
    Content Server Request Failed
    csJspServerErrorAddWebAppService Failed to add context /idc/groups/jsp/documents/adacct/hello. Unable to execute service method 'addContext'.
    [ Details ]
    intradoc.common.ServiceException: !csJspServerErrorAddContext,/idc/groups/jsp/documents/adacct/hello!csUnableToExecMethod,addContext at intradoc.server.jsp.JspServiceHandler.addContext(JspServiceHandler.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461) at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:142) at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:75) at intradoc.server.Service.doCodeEx(Service.java:488) at intradoc.server.Service.doCode(Service.java:470) at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350) at intradoc.server.Service.doAction(Service.java:450) at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191) at intradoc.server.Service.doActions(Service.java:445) at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111) at intradoc.server.Service.executeActions(Service.java:431) at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632) at intradoc.server.Service.doRequest(Service.java:1709) at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357) at intradoc.server.IdcServerThread.run(IdcServerThread.java:195) Caused by: intradoc.common.ServiceException: !csJspServerErrorAddContext,/idc/groups/jsp/documents/adacct/hello!csUnableToExecMethod,addContext at intradoc.server.jsp.JspProvider.addContext(JspProvider.java:391) at intradoc.server.jsp.JspServiceHandler.addContext(JspServiceHandler.java:116) ... 19 more
    And it is also not possible to use jsp layout pages in Site created in Site Studio. When I try to load pages using a jsp layout page the browser displays a blank page.

    Hi,
    Even i am also facing the same issue after following all those steps.
    Please find the error which i m getting.
    csJspServerErrorAddWebAppService The target file cannot be accessed. Unable to rename the file 'F:\stellent\indxpdod2\weblayout\groups\chanpart\@cccd\documents\manufacturing\enhstellsrchint' to 'F:\stellent\indxpdod2\weblayout\groups\chanpart\@cccd\documents\manufacturing\enhstellsrchint~jsp'.

  • Help for configuring Data Guard Broker

    Hi All,
    Can any body help me in configuring data guard broker for oracle 9i on windows.
    What are all requirements needed. I already configured physical standby database.
    I did this is on my laptop using vm-ware. One node is having Primary database and
    second node is having standby database. Now I am planning to use DG broker on primary node.
    Regards
    Kiran

    Here's the help you need:
    http://tahiti.oracle.com.
    Without version information (what does 9i mean?) no further help is possible.
    Please also be advised that VMware is unsupported so if you run into issues you are on your own.

  • How to run an embedded broker?

    I want to start an embedded OpenMQ broker to use as a destination for messages which are sent as part of a test run by Maven. Essentially I want a broker to be started within the same JVM when the tests are run so I don't have to insure that a broker is available before running the tests. Is this possible, and if so how would I configure it in a Spring application? Now I am starting my broker using a connection factory which uses the port and user/password of a broker which is already running on my local machine. I am not using a broker which runs as part of Glassfish, I want to run OpenMQ broker outside of Glassfish.
    Thanks in advance for any suggestions.
    --James                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thanks Tom. I used to do this before with ActiveMQ and I was assuming that it could also be done with OpenMQ outside of Glassfish. The approach you have described is what I'm doing now. I guess I could set up my tests to use an embedded ActiveMQ broker for testing and then switch to OpenMQ when deploying the application within Glassfish.
    --James                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Service port not remapped after stop and start of embedded broker

    Hi everybody,
    I started testing embedded OpenMQ 4.4 build yesterday and was wondering if it would be suitable for our test cases. I needed to start and stop a broker almost around every test method. So I intuitively used start() and stop() methods for it. Of course test case failed after second test method :) I did some debugging directly in source code and found out that stop() closes server socket in port mapper. When second start() is invoked it determines whether the server socket is bound and in case it isn't, it stops the broker.
    But to the point... is it expected not to rebind the port when start is called after stop or is it classified as a bug that needs to be solved? Because if it would be possible to start and stop the broker repeatedly the instance broker can be reused and no init/shutdown needs to be called...
    Thanks for an answer.

    As I'm sure you know, that's the first promoted build of MQ 4.4 and it will have more testing before the final release.
    I would have expected repeated calls to start() and stop() to work, but as you have found, it doesn't, and I can reproduce your error easily.
    However it does look as if you can make repeated iterations of the complete init()/start()/stop()/shutdown() cycle, so this might be worth trying as a workaround.
    Yes, this is a bug which I have logged internally: we'll investigate before the final 4.4 build.
    Thanks for the report,
    Nigel

  • Mail Session configuration with embedded oc4j in jdeveloper 10g 10.1.3.1

    Hello all:
    I'd tried to use javamail in a j2ee application. I´d defined an resource reference with the EJB Module Editor but when i run the application it throws:
    java.lang.InstantiationException: Error initializing ejb-modules: No Mail Session configured for the resource MailSession
    How can i configure a Mail Session with the embedded oc4j of jdeveloper 10g 10.1.3.1?
    Thanks a lot.

    Hi,
    You need to add following configuration in $ORACLE_HOME/j2ee/home/config/application.xml & restart your OC4J :-
    <mail-session location="EMailSession" smtp-host="mail.cdsc.com">       <property name="mail.transport.protocol" value="smtp"/>       <property name="mail.debug" value="true"/>    </mail-session>Regards,
    Sandeep

  • Data Guard Broker configuration in oracle10g r2

    Hi,
    I am facing difficulties while configuring data guard broker. Our setup is RAC primary and single standby database. Show configuration is raising the following error...
    ORA-16607: one or more databases have failed
    on dcSTANDBY.log file it shows below messages....
    NSV0: Failed to connect to remote database ajmprod. Error is ORA-12545
    NSV0: Failed to send message to site ajmprod. Error code is ORA-12545.
    I have checked listener.ora and tnsnames.ora are fine. It's fine with tnsping and sqlplus conection. I am confused where is the problem.
    Aprreciate your suggestions.

    Here is how I would look into this issue.
    1. check the password file is setup for both and the password is common between them and matches the password of the sys user in the database.
    2. check that listener(s) are up and running and status checks out.
    3. check that you hosts file or DNS sees this hosts, you can check this with a ping command do from each host to the other
    4. check that tnsnames.ora has the proper connect setup for both instances in you data guard configuration.
    5. check tnsping to both instances from both hosts.
    6. check all TNS connectivity to both instances using the SYS as sysdba, Use the TNS sqlplus sys@db as sysdba. Do this connection from both hosts if using more then one host.
    If you have verified all this and it is still not working let me know and we can move on to next steps.

  • Fastest way to create a broker instance in GlassFish V3?

    Hello,
    is there an easy way to launch OpenMQ in GlassFish V3 so that the broker creates the configuration file
    glassfish-v3\glassfish\domains\domain1\config\init.conf\imq\instances\imqbroker\props\config.properties
    Edit: the first thing I noticed in the console log output of GlassFish was a message that said creation of the server.log is not possible:
    java.io.IOException: Couldn't get lock for C:\Program Files\sges-v3\glassfish\do
    mains\domain1\logs\server.log
            at java.util.logging.FileHandler.openFiles(Unknown Source)
            at java.util.logging.FileHandler.<init>(Unknown Source)
            at com.sun.enterprise.admin.launcher.GFLauncherLogger.addLogFileHandler(
    GFLauncherLogger.java:85)
            at com.sun.enterprise.admin.launcher.GFLauncher.setup(GFLauncher.java:14
    8)
            at com.sun.enterprise.admin.cli.StartDomainCommand.createLauncher(StartD
    omainCommand.java:239)
            at com.sun.enterprise.admin.cli.StartDomainCommand.runCommandNotEmbedded
    (StartDomainCommand.java:122)
            at com.sun.enterprise.admin.cli.StartDomainCommand.executeCommand(StartD
    omainCommand.java:117)
            at com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:257)
            at com.sun.enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.j
    ava:229)
            at com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:167)
    12.12.2009 10:33:59 com.sun.enterprise.admin.launcher.GFLauncherLogger info
    INFO: JVM invocation command line:
    C:\Program Files\Java\jdk1.6.0_07\bin\java.exeThis is GlassFish V3 bundled with the NetBeans 6.8 final release, installed in the default location on Windows Vista.
    I will test on Windows XP and Ubuntu to see if this is caused by security settings (UAC). Result: works fine there, so it seems to be a Vista / UAC problem.
    I tried to deploy imqums.war, which gives this error message (Tested on Vista):
    C:\Program Files\sges-v3\glassfish\domains\domain1\applications\imqums\examples\csharp\ReceiveSOAPMsg.exe
    (Edit: this was easy to fix by removing the examples from the WAR file - but invoking UMS operations did not have the desired side effect of creating a configuration file)
    Many thanks in advance
    Edited by: mjustin_de on Dec 12, 2009 1:26 AM
    Edited by: mjustin_de on Dec 12, 2009 1:32 AM
    Edited by: mjustin_de on Dec 12, 2009 1:37 AM
    Edited by: mjustin_de on Dec 12, 2009 9:03 AM

    Hi,
    You've obviously been having problems and have been investigating possible solutions, but as a result I'm finding your mail a bit confusing.
    You ask
    is there an easy way to launch OpenMQ in GlassFish V3 so that the broker creates the configuration file
    glassfish-v3\glassfish\domains\domain1\config\init.conf\imq\instances\imqbroker\props\config.propertiesThis file gets created when the broker starts. Are you getting an error on broker startup?
    Note that in Glassfish V3 the embedded MQ broker isn't started automatically when the Glassfish instance starts. Instead, the embedded MQ broker is started lazily when you first try to connect to it. You'll see a message in the server log when the embedded broker starts.
    the first thing I noticed in the console log output of GlassFish was a message that said creation of the server.log is not possible:
    java.io.IOException: Couldn't get lock for C:\Program Files\sges-v3\glassfish\domains\domain1\logs\server.logThat's the Glassfish server log. Were you able to start the Glassfish instance OK? If you're having trouble starting Glassfish itself, or have general questions about Glassfish on Vista, I would suggest asking in the Glassfish user forum: [http://forums.java.net/jive/forum.jspa?forumID=56&start=0|http://forums.java.net/jive/forum.jspa?forumID=56&start=0]
    This is GlassFish V3 bundled with the NetBeans 6.8 final release, installed in the default location on Windows Vista.
    I will test on Windows XP and Ubuntu to see if this is caused by security settings (UAC).
    Result: works fine there, so it seems to be a Vista / UAC problem.I can well imagine that UAC introduces a few challenges! (For what it's worth, I don't have a Vista machine to hand, but I installed NetBeans 6.8 and the bundled Glassfish V3 on Windows 7 (which also has UAC); this creates runtime artefacts such as the server and broker logs under the user's home directory, presumably to avoid UAC issues.)
    If any other readers of this forum have experience with NetBeans + Glassfish + Vista please join in.
    I tried to deploy imqums.war, which gives this error message (Tested on Vista):
    C:\Program Files\sges-v3\glassfish\domains\domain1\applications\imqums\examples\csharp\ReceiveSOAPMsg.exe
    (Edit: this was easy to fix by removing the examples from the WAR file - but invoking UMS operations did not have the desired side effect of
    creating a configuration file)Was that the complete message? Where was this written? To the console? To the server log?
    Nigel

  • When Broker Restarts None of the Temporary Queues Are Created

    Somehow when the broker restarts none of the temporary queues are getting recreated. The queues were created successfully the 1st time and the applications were happily exchanging messages. Things just fall apart when the broker restarts.
    I'm able to reproduce this problem consistently by doing the following:
    1. Start imqbrokerd (mq start)
    2. Start client application
    3. Shutdown imbrokerd (mq stop)
    4. Start imqbrokerd (mq start)
    After the producers in the client application have reconnected the following messages are displayed in the console. I'm only able to get the client app to work again is if I restart the client apps.
    [02/Mar/2009:23:01:01 CST] attempting to set Message Bytes Limit to 10485760K for destination temporary_destination://queue/192.168.20.14/49823/1 [Queue]
    [02/Mar/2009:23:01:01 CST] attempting to set Message Size Limit to 10240K for destination temporary_destination://queue/192.168.20.14/49823/1 [Queue]
    [02/Mar/2009:23:01:01 CST] [B1065]: Accepting: [email protected]:57123->jms:37646. Count: service=9 broker=9
    [02/Mar/2009:23:01:01 CST] [B2083]: Unable to create destination temporary_destination://queue/192.168.20.14/49823/1 [Queue], autocreation is forbidden
    Do you guys have any idea on what's going on? Does anybody know of an existing workaround?
    Environment:
    - OpenMQ 4.3
    - CentOS 5.2
    - Sun JDK 1.6_05
    - Spring 2.5.5
    - Camel 1.3.0
    I also looked at the code and found only one location where the error message is used. I still need to figure our how I can get the conditional expression to evaluate to false.
    share/java/com/sun/messaging/jmq/jmsserver/core/Destination.java
    1395 if (!DestType.isAdmin(type) && !canAutoCreate(DestType.isQueue(type),type) && !BrokerMonitor.isInternal(destination)) {
    1396 throw new BrokerException(
    1397 Globals.getBrokerResources().getKString(
    1398 BrokerResources.W_DST_NO_AUTOCREATE,
    1399 getName()),
    1400 BrokerResources.W_DST_NO_AUTOCREATE,
    1401 (Throwable) null,
    1402 Status.FORBIDDEN);
    -bash-3.2$ /tmp/openmq-4.3/mq/bin/imqcmd query bkr -t q -n MYQUEUE -u admin
    Password: admin
    Querying the broker specified by:
    Host Primary Port
    localhost 7676
    Version 4.3
    Instance Name imqbroker
    Broker ID
    Primary Port 7676
    Broker is Embedded false
    Instance Configuration/Data Root Directory /tmp/openmq-4.3-data/var/mq
    Current Number of Messages in System 202
    Current Total Message Bytes in System 317483
    Current Number of Messages in Dead Message Queue 201
    Current Total Message Bytes in Dead Message Queue 316444
    Log Dead Messages true
    Truncate Message Body in Dead Message Queue false
    Max Number of Messages in System unlimited (-1)
    Max Total Message Bytes in System unlimited (-1)
    Max Message Size 70m
    Auto Create Queues true
    Auto Create Topics true
    Auto Created Queue Max Number of Active Consumers unlimited (-1)
    Auto Created Queue Max Number of Backup Consumers 0
    Cluster ID
    Cluster is Highly Available false
    Cluster Broker List (active) mq://192.168.1.123:7676/
    Cluster Broker List (configured)
    Cluster Master Broker
    Cluster URL
    Log Level DEBUG
    Log Rollover Interval (seconds) 604800
    Log Rollover Size (bytes) 268435456
    Successfully queried the broker.
    I also tried versions 4.4 and 4.2 and received the same behavior :(

    The application is inside an app server but we're not using a resource adapter as we're using Spring and Camel to hide the JMS details. Spring (JMSComponent) manages the connection directly. (We current don't have any JMS connection pooling as well.)
    <bean id="jmsTransactionManager" class="org.springframework.jms.connection.JmsTransactionManager">
    <property name="connectionFactory" ref="jmsConnectionFactory" />
    </bean>
    <bean id="jmsConnectionFactory" class="com.norvax.framework.jms.OpenMQConnectionFactory">
    <property name="openmqBrokerConfiguration">
    <props>
    <prop key="imqBrokerHostName">$remoting{openmq.hostName}</prop>
    <prop key="imqBrokerHostPort">$remoting{openmq.hostPort}</prop>
    <prop key="imqReconnect">true</prop>
    </props>
    </property>
    </bean>
    <bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
    <property name="connectionFactory" ref="jmsConnectionFactory" />
    </bean>
    I'm going to write a very basic producer using Spring without using Camel and see if I'll get the same behavior. I'd like to see if the way Camel uses JMS is what's making OpenMQ broker to deny creation of temporary queues.
    Thanks,
    Jeff

  • Session broker and custom conversion manager

    I'm having some problem using session broker and a custom conversion manager. I just moved from using single session to using a session broker in the sessions.xml. I'm using a custom conversion manager as shown in this tech. tips URL
    http://www.oracle.com/technology/products/ias/toplink/technical/tips/customconversion/index.html
    Here's my conversion manager set up code -
    public class JpmiConversionManagerSetup extends SessionEventAdapter
    * During the pre-login event the new MyConversionManager must be installed
    * @see oracle.toplink.sessions.SessionEventAdapter#preLogin
    * @param event
    public void preLogin(SessionEvent event) {
    ConversionManager cm= new JpmiConversionManager();
    ConversionManager.setDefaultManager(cm);
    event.getSession().getLogin().getPlatform().setConversionManager(cm);
    My session broker manages 2 sessions. In sessions.xml for one session I have the <event-listener-class> entry where I need some conversion, another session I don't have any such entry as I don't need any conversion.
    Now when I try to run a named query using session broker the conversion part blows up, throws a ConversionException. Any idea? Do I need to configure the session broker instead of session in the preLogin or anything like that?

    I think sessions editor is not available in 10.1.3dp4 yet. So I have to write the sessions.xml by hand. But the parser throwing me an error saying that <session-broker> is not allowed in sessions.xml.
    SessionLoaderExceptions:
    org.xml.sax.SAXParseException: <Line 41, Column 18>: XML-24534: (Error) Element 'session-broker' not expected.
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:415)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:284)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:302)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:199)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:111)
         at oracle.toplink.platform.xml.xdk.XDKParser.parse(XDKParser.java:160)
         at oracle.toplink.platform.xml.xdk.XDKParser.parse(XDKParser.java:190)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:191)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:151)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:88)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:364)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:331)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
    Any idea how to or where to write sessions broker in sessions.xml for 10.1.3dp4???

  • Connect RD Connection Broker to SQL

    Hello I'm not being able to install RD Connection Broker with High Availability.
    The RDS deployment consists on two servers running win2012
    server1 - RDWA and RDG
    server2 - RDSH and RDCB
    The SQL server 2012 that I'm using is installed on server2 itself and had to be installed after the RDS otherwise the SQL installation failed and had to be done using the RD-install. It's working fine , I've applications that run on it.
    As when configuring RDCB HA "both" RDCB hosts access directly to the SQL DB to create a new database, their accounts need to be authenticated as a SQL login with dbcreator role.
    1 step: I checked a straight forward installation_
    Installing and Configuring RD Connection Broker High Availability in Windows Server 2012
    Failed
    2 step: I checked an installation where my problem happened.
    I checked RD Connection Broker HA – SQL Permissions
    Added the host to a domain group and added the group as an SQL login, SQL authentication failed.
    4 step: Google for how to create SQL login for a computer account and  I added it by executing:
    “CREATE LOGIN [MyDomain\MyComputer$]
    FROM WINDOWS”
    Also tried to use Add-ADcomputerServiceAccount without success.
    3 step: I ended here
    Taking a closer look at RD Connection Broker High Availability in Windows
    Server 2012
    Where I verified that none of the following explanations were correct:
    The SQL Server Native client is not installed
    A firewall is blocking SQL Access from the RD Connection Broker (port 1433)
    The incorrect SQL Server Native Client version is specified
    An incorrect SQL Server name is specified
    I tried several variations of the string to use but this is the one I think it's correct:
    DRIVER=SQL Server Native Client 11.0;SERVER=WIN2012-1;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;Database=RDCB
    The error registered on SQL is:
    "Message
    Login failed for user 'RDS\WIN2012-1$'. Reason: Could not find a login matching the name provided. [CLIENT: <local machine>]"
    I tried to connect via ODBC with an existing username an it succeeded.
    The problem seems to be with the computer account not existing as an SQL login...the thing is that it exists.
    I need to set this up in order to be able to change the RDCB FQDN to a public FQDN.
    How were you guys able to overcome this? Did you faced this at all?
    Thanks,
    David

    Guys,
    I suffered with a very similar problem when setting up an RDS 2012 environment using SQL Server 2014 sitting on a server core VM, and two connection brokers sitting on server core OS as well. 
    My SQL logs were filling with with login failed for the connection brokers computer account even though I had configured the SQL permissions correctly. 
    In the end it was Arjan's post above that got me fixed, rebooting the connection broker VMs. Really annoying, as I let AD propagate over night, just in case that was the issue. After simply rebooting the connection brokers, this worked. For anyone who needs
    it, my SQL databases are stored on a separate D: drive and I used the string below:
    DRIVER=SQL Server Native Client 11.0;SERVER=<SQL Server Name>;Trusted_Connection=Yes;APP=Remote Desktop Services Connection Broker;DATABASE=<DB Name>.
    Hope this helps someone else.

  • Windows 2008 R2 connection broker

    I have a problem related to the fact that remote desktop client are not redirected to the disconnected sessionr when they try to reconnect.
    I'm using a netscaler load balancer that uses redirection toker with the connection broker server.
    I have made a small configuration test environment that reflect my origina configuration and the problem will exist event there.
    All the servers are windows 2008 R2 with sp1 and all latest fix available using microsoft update.
    The connection broker server is a domain controller server, and the terminal server are computer member of the domain.All the information are correctl registered by the connection broker database, but is seems that it works only with administative users.
    The error that is reported
    RD Connection Broker failed to process the connection request for user DOMAIN\USER.
    Load Balancing failed OR Specified endpoint could not be found.HRESULT = 0x80070515.  
    I have found no information about the error
    0x80070515.
    Here follow the connection broker information after
    ClusterName = MYCLUSTER
    NumberOfServers = 4
    SingleSessionMode = 1
        SERVER :
        ServerName = TS018.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.18
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        No sessions on server TS018.mydomain.local
        SERVER :
        ServerName = TS020.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.20
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 1
            SESSION :
            UserName= mydomain\administrator    ApplicationType=     SessionState= 0
            CreateTime= 20150303101848.856647+060    DisconnectTime=
            ServerName= TS020.mydomain.local
            SessionID= 1
            ServerIP= 10.10.4.20
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
        SERVER :
        ServerName = TS019.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.19
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 2
            SESSION :
            UserName= mydomain\administrator    ApplicationType=     SessionState= 1
            CreateTime= 20150303101224.366219+060    DisconnectTime= 16010101000000.000000-000
            ServerName= TS019.mydomain.local
            SessionID= 1
            ServerIP= 10.10.4.19
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
            SESSION :
            UserName= mydomain\Flavio    ApplicationType= D:\Programmi\Seac\SeacCruscotto.exe    SessionState= 0
            CreateTime= 20150303121903.740379+060    DisconnectTime=
            ServerName= TS019.mydomain.local
            SessionID= 2
            ServerIP= 10.10.4.19
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
        SERVER :
        ServerName = TS017.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.17
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        No sessions on server TS017.mydomain.local
    Second dump with the disconnected user and the same user that ties to reconnect and was redirected to a new session  instead to the disconnected session. You will find two user Flavio one in disconnected state (1) and one in connected state(0)
    ClusterName = MYCLUSTER
    NumberOfServers = 4
    SingleSessionMode = 1
        SERVER :
        ServerName = TS018.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.18
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        No sessions on server TS018.mydomain.local
        SERVER :
        ServerName = TS020.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.20
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 1
            SESSION :
            UserName= mydomain\administrator    ApplicationType=     SessionState= 0
            CreateTime= 20150303101848.856647+060    DisconnectTime=
            ServerName= TS020.mydomain.local
            SessionID= 1
            ServerIP= 10.10.4.20
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
        SERVER :
        ServerName = TS019.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.19
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 2
           SESSION :
            UserName= mydomain\administrator    ApplicationType=     SessionState= 1
            CreateTime= 20150303101224.366219+060    DisconnectTime= 16010101000000.000000-000
            ServerName= TS019.mydomain.local
            SessionID= 1
            ServerIP= 10.10.4.19
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
            SESSION :
            UserName= mydomain\Flavio    ApplicationType= D:\Programmi\Seac\SeacCruscotto.exe    SessionState= 1
            CreateTime= 20150303121903.740379+060    DisconnectTime= 16010101000000.000000-000
            ServerName= TS019.mydomain.local
            SessionID= 2
            ServerIP= 10.10.4.19
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
        SERVER :
        ServerName = TS017.mydomain.local ServerSingleSessionMode = 1 LoadIndicator = 655350000
        ServerIP = 10.10.4.17
        ServerWeight = 0
        ClusterName = MYCLUSTER
        NumPendRedir = 0
        NumberOfSessions = 1
            SESSION :
            UserName= mydomain\Flavio    ApplicationType= D:\Programmi\Seac\SeacCruscotto.exe    SessionState= 0
            CreateTime= 20150303122059.706850+060    DisconnectTime=
            ServerName= TS017.mydomain.local
            SessionID= 2
            ServerIP= 10.10.4.17
            TSProtocol= 2
            ResolutionWidth= 1920
            ResolutionHeight= 1080
            ColorDepth= 4
    Any idea ?
    Thanks
    Flavio

    Hi Flavio,
    It seems that you are facing issue with the RDCB load balancing between servers. Might possible that there is some wrong configuration happens which cause this issue. Still I like you to recheck all the configuration for your environment. Also as you said it
    works with admin users, have you provide access to user to connect to the server?
    From the error description it appears to be error 802 with specific code. To troubleshoot this issue, you can apply below steps and try.
    1. Please try to limit single RDS session for TS user. 
    2. Install RDS broker to separate server
    3. Run NLB diagnose to check if any issue related to NLB
    4. Use IP address redirection instead of token redirection
    Also try to apply this policy settings.
    Computer Configuration / Administrative Templates / Windows Components / Remote Desktop Services / Remote Desktop Session Host / RD Connection Broker / 
    Use RD Connection Broker load balancing: Enabled
    Configure RD Connection Broker server name: Enabled
    And then apply gpupdate /force on every server and check the result.
    Here is the article for related error only for reference.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Cant configure the node of my Integration Gateway

    So I've been trying to get web services exposed from my test PeopleSoft Installation so that they can be used by another PeopleSoft Installation. After some reading and searching I found that I have to configure the Integration Broker in order to do that. From there I've been trying for a while now (unsuccessfully as you can imagine) to configure the Integration Gateway of my PeopleTools installation. Right now I can ping my Integration Gateway which comes back with...
    PeopleSoft Integration Gateway
    PeopleSoft Listening Connector
    Tools Version : 8.53
    Status:ACTIVE
    and from there I can load the connectors, of which there are 11 different ones. After that I go to "Gateway Setup Properties", log in, and from there I have everything filled out with the following...
    Gateway Default App. Server_
    App Server URL: <the machinename>:<the port#>
    User ID: PS
    Password: <the password>
    Tools Release: 8.53
    Domain Password: <none>
    Virtual Server Node: <none>
    PeopleSoft Nodes_
    Node Name: PSFT_HR
    App Server URL: <the machinename>:<the port#>
    User ID: PS
    Password: <the password>
    Tools Release: 8.53
    Domain Password: <none>
    After that, I try to ping the node but it always errors with the following and I have no idea why...
    PeopleSoftTargetConnector - The appserver may be down.  Check Appserver URL or Domain Password.
    The problem is that I know I have the right URL and that the AppServer is running because I can see it's status in Command Prompt after running PSADMIN.EXE and navigating to the status of the server (not to mention I'm able to log into it). I've also looked at the "Configuration Status" in "Main Menu > PeopleTools > Integration Broker > Integration Network" and got checks on "Gateway Configured" and "Domain Active" but there's an X next to "Node Network Not Configured" which I'm not sure why it's there so if somebody could explain that to me, that'd be really helpful.
    So from "Node Network", I can see all the nodes and can see the node that I'm trying to use for the Integration Gateway, "PSFT_HR", that has checks in the boxes under everything except "Remote Gateway Node". After I click on the PSFT_HR node I can see the "Node Definitions" tab that has the Authentication set to "Password", the password set to what I'm entering with the "Gateway Setup Properties", the "Default User ID" set to "PS" and everything after that (Hub Node, Master Node, etc.) is blank. The check-boxes next to "Default Local Node", "Local Node", "Active Node", and "Segment Aware" are checked.
    In the "Connectors" tab I've tried pinging the node but came up with the same error from before. Also, towards the bottom there's a line that says "This connector does not have properties. Use Gateways Page to setup." where I log in to the "Gateway Setup Properties" again, the same info is used from before, and pinging the node gives the same error. As for the other tabs "Portal", "WS Security", and "Routings" I haven't done anything with them as I never read anything that said I needed too.
    Also, as a side note, every time I try to ping the node the application stops responding even after I click cancel or try to click the "x" on the window. I cant do anything until it times out and gives me the error so if somebody could tell me how to change that or stop it from happening, that'd also be really helpful in saving time with troubleshooting this issue
    I hope this wasn't too long with TOO MUCH information (or quotation marks) but I thought I'd get everything I've got right now out the way since I've tried a lot of different things and may get some suggestions that I've already found/tried up until now. I feel like it's something small that I'm missing (because that's always the case) so hopefully one of you can remedy my situation.
    Thanks a lot for any help/suggestions (even if I've tried them, but I'll try them again in case something changes because computers work that way :/ ).
    Edited by: 1006417 on May 17, 2013 10:59 AM
    Fixed the typos with "machinename:port#" to fit the overall naming convention I used.

    Since you didn't provide the "machinename" I'm wondering if that's your problem... you mention hanging while pinging... that sounds like name lookup or port connectivity problems, as if the gateway is waiting for something to time out in that arena. For communicating to yourself, depending on your config, that setting should match exactly whats in the <PS_HOME/PS_CFG_HOME>/webserv/peoplesoft/applications/peoplesoft/PORTAL.war/WEB-INF/psftdocs/ps/configuration.properties psserver line. Now if you created a domain just for PUBSUB it would need to match the jolt port for that domain (not the WSL). Since your logging in online already, we know the configuration.properties file has a good value, if your trying a different domain, I'd try switching back to using your domain for servicing online requests and try again.
    I recommend looking at Nicolas's write up on this topic, it's very detailed.
    http://gasparotto.blogspot.com/2013/05/integration-network-workcenter-853.html you may need to reference his 8.52 version for some pre-reqs as well but the link is in the 8.53 one. Also look for answers in the log file <PS_HOME/PS_CFG_HOME>/webserv/peoplesoft/applications/peoplesoft/PSIGW.war/errorLog.html (if you took default weblogic domain name). I just went through this process on a fresh demo 8.53 demo install and was able to start pinging the node after only a few steps. they were,
    1. define the gateway
    2. load the connectors
    3. define the default and additional node
    4. verified the PS user was able to logon (originally the password was expired)
    5. set the auth type to Password for the node I was using.
    6. success on ping, interestingly enough I didn't even have PUBSUB processes running yet, node network and active domain both show not configured at this time
    On your node network not getting the green check, look on the Node Network status page just below the title, there is a check box for Secure Keystore Value Defined. Is that checked? If not it needs to be. You probably need to set the secureFileKeystorePassword to your keystore password. The default is still password, you can change this from the Advanced Properties Page link of the Gateway Setup Properties page. Use the encryption tool because the password can't be clear text, it has to be saved encrypted to work. Then go back to the node network page and see if it's cleared up. I mentioned this briefly in a write I did on Unified Navigation http://remotepsadmins.com/2013/03/04/peoplesoft-unified-navigation-with-peoplesoft-applicatations-portal-interaction-hub. Nicolas's 8.52 write up has screenshots and such though he does it prior to showing that it will prevent configuration from passing. I've also seen in properly configured systems you may need to just save this page without changes to populate some data, but that was on upgrading to 8.52, i would expect 8.53 would not need that.
    continuing on, I did exactly what I just mentioned, and I've got a configured node network.
    i just bounced the domain, adding the PUB/SUB servers, and activating them on the Domain Status page. I've now got green lights across the board and I can still ping successfully. I used no domain password, but I also verified that none was set in the psappsrv.cfg file. I just hit the Network Integration Status button on my system and got the Status check successful message.
    Let us know how it goes.
    Edited by: RCC on May 17, 2013 1:13 AM
    Fixed a typo and changed a sentence to make it more clear

Maybe you are looking for

  • OIM 9.1.0.2 Download??

    Hi All, Anyone know if 9.1.0.2 is available for download anywhere? Everywhere I look on Oracle's site I end up here: http://www.oracle.com/technology/software/products/ias/htdocs/101401.html which only has 9.1.0.1. I need the ...0.2 version as it's t

  • Configure Web Server in Solaris 10

    Hi I am using Solaris 10 I want to use it as web server How can I configure it what is the procedure to provide name of Web server and Total configuration through I can access on LAN or WAN Regards Satish

  • Problem in workflow with WF-BATCH

    Hi All, we have a problem in the workflow user WF-BATCH where the validity was expired and the workflow stopped working. we found the problem after a day and extended the validity and the workflow started working again. But all the interfaces related

  • Oracle Vm Manager 3.0.2 PoolFileSystemMissingEvent

    hi, i have 1 pool with 4 oracle vm server 3.0.2. the problem is : i cant watch vm guest running , cant add vm server to pool and in event ovm, PoolFileSystemMissingEvent. here some log from one of vm server : Traceback (most recent call last): File "

  • Firefox mobile 6 is still not support flash playing?

    Waiting for several months, ff6 mobile is still not support flash playing...have a bit disappointed!