Connection Factories in a Cluster

Hi Folks,
          I'm trying to get to grips with the precise behavior of connection factories
          (CF) in a cluster. Any corrections/additions appreciated...(I've read the
          perf. guide).
          According to the docs, you should look at two scenarios
          a) JMS app located on same server as cluster.
          Imagine I have a JMS app deployed to the cluster, and docs say I should
          deploy CF to cluster as well.
          I have JMS server only on one server in the cluster.
          Here is what I think happens:
          i. As far as I know, connection factories will only load balance
          connections across servers hosting connection factories.
          ii. When the app looks up a CF using the JNDI of the cluster, will it
          always get the a CF collocated
          with the app (ie. on same server), because of collocation optimization?
          iii. When the app uses this CF to create a Connection, will the CF load
          balance the connection?
          ie. Will I get a different connection (round robin) every time I
          create a connection?
          If this does happen, then presumably my JMS application will route
          all JMS traffic through this connection to this other
          server, which may not even host a JMS server, which in turn has to
          route to the JMS server.
          iv. If the CF was looked up using the local JNDI context, then the
          local CF will be returned and presumably if
          I create a connection then a local connection will be returned. ie.
          no load balancing. The JMS application will
          use the "local" connection which will in turn route to the
          appropriate server hosting the JMS server..
          b) Where the JMS client is external
          When I have an external JMS client, the docs say you should deploy the CF
          only to those servers hosting the JMS servers.
          i) The docs say that the CF (new InitialContext("t3://clusteraddres"))
          will load balance across the servers in the cluster.
          ii) The docs also say that createConnection (on the CF) will load balance
          too.
          iii) This means that there are two servers involved right? The CF host
          (the server hosting the CF), and the C host (the
          server hosting the C). Does this mean I have two connections from
          teh client (one to each server), or does traffic
          flow from client to CF host to C host?
          The docs certainly imply that you get these two load balancing
          operations, which seems to lead to one of these
          scenarios.
          iii) Presumably, if my client creates multiple connections (one after the
          other) using the same connection factory,
          then it may at one time have a connection going to "ServerA", and at
          another time one going to "ServerB" (unless
          of course I have affinity enabled).
          Any guidance appreciated,
          Regards,
          Jon
          

          Jon Mountjoy wrote:
          > Hi Tom,
          >
          > I have inlined some comments on your comments!
          >
          >
          >>>a) JMS app located on same server as cluster.
          >>> Imagine I have a JMS app deployed to the cluster, and docs say I
          >
          > should
          >
          >>>deploy CF to cluster as well.
          >>> I have JMS server only on one server in the cluster.
          >>>
          >>> Here is what I think happens:
          >>> i. As far as I know, connection factories will only load balance
          >>>connections across servers hosting connection factories.
          >>
          >>Yes.
          >>
          >>> ii. When the app looks up a CF using the JNDI of the cluster, will
          >
          > it
          >
          >>>always get the a CF collocated
          >>> with the app (ie. on same server), because of collocation
          >
          > optimization?
          >
          >>Yes.
          >>
          >>> iii. When the app uses this CF to create a Connection, will the CF
          >
          > load
          >
          >>>balance the connection?
          >>
          >>Not if it is collocated.
          >
          >
          > I guess this confuses me a little. My scenario above speaks about the
          > CF+App deployed to a cluster.
          >
          > Are you talking about if the CF+App is collocated with the JMS server whose
          > destination the App is communicating with?
          No.
          > (I'd guess not, cos I wouldn't
          > know the destination until after I create the connection?).
          If the app is co-located with the the CF, the connection
          is always local.
          >
          >
          >>(Note that a producer to a distributed destination,
          >>by default produces to the local physical instance,
          >>and will not round-robin each message to other
          >>physical destination instances, unless the
          >>connection factory is so configured.)
          >>
          >>
          >>> ie. Will I get a different connection (round robin) every time I
          >>>create a connection?
          >>> If this does happen, then presumably my JMS application will
          >
          > route
          >
          >>>all JMS traffic through this connection to this other
          >>> server, which may not even host a JMS server, which in turn has
          >
          > to
          >
          >>>route to the JMS server.
          >>> iv. If the CF was looked up using the local JNDI context, then the
          >>>local CF will be returned and presumably if
          >>> I create a connection then a local connection will be returned.
          >
          > ie.
          >
          >>>no load balancing. The JMS application will
          >>> use the "local" connection which will in turn route to the
          >>>appropriate server hosting the JMS server..
          >>
          >>Yes.
          >>
          >>
          >>>b) Where the JMS client is external
          >
          >
          >
          >>> iii) This means that there are two servers involved right? The CF host
          >>>(the server hosting the CF), and the C host (the
          >>> server hosting the C). Does this mean I have two connections
          >
          > from
          >
          >>>teh client (one to each server),
          Yes. But not for the reason you think.
          The JNDI context that was used to look up
          the CF keeps its connection, and the JMS
          connection generated from the CF.
          >>> or does traffic
          >>> flow from client to CF host to C host?
          Yes.
          >>> The docs certainly imply that you get these two load balancing
          >>>operations, which seems to lead to one of these
          >>> scenarios.
          >
          >
          > Can you perhaps shed some light on the above question?
          >
          >
          >>>Any guidance appreciated,
          >
          >
          >>Just send a portion of your book royalties. ;-)
          >
          >
          > Hehe. Do you think I'd actually make a profit!? What you will earn, is my
          > eternal gratitude of course :)
          >
          > Regards,
          > Jon
          >
          >
          

Similar Messages

  • Connection factories in clusters - Help asap!!

    Hi All,
    I have a clusterd envrionment with an admin server ,4 managed servers. the admin and managed server being on different machines. The DB Adapter has been deployed on all the servers available. Now , I created a connection factory , gave the datasorce name and updated the DBAdapter. . I have also copied the Plan.xml file to all the managed server domains.
    My problem is : Am able to see all the connection factories in the admin console, and they are avalilable in all the servers in the cluster. When i try to deploy an OSB project to one of the managed servers, am facing the following issue.
    " +[JCATransport:381987]An error occured while validating JCA transport endpoint. JNDI lookup with URL: jca://eis/DB/GetAddressListConnection failed. Missing JNDI configuration such as undeployed or misconfigured JCA Adapter RAR or connection factory.+ "
    Thanks in advance
    Ramya
    Edited by: Ramya on Mar 18, 2011 11:30 PM

    Check the JNDI tree of particular server where connection factory is not visible. Make sure that DB Adapter is targeted properly to all the managed servers. Try to bounce the adapter or server itself.
    Regards,
    Anuj

  • Connecting managed server to cluster's administration server

    Hello,
    I have a problem when trying to connect managed server to cluster's
    administration server.
    When starting the managed server I get a security exception:
    [javax.naming.AuthenticationException [Root exception is
    java.lang.SecurityException: Administrators must log in over admin port with
    admin protocol.]]
    weblogic.management.configuration.ConfigurationException: admin URL:
    t3://192.168.14.15:7001 - with nested exception:
    [javax.naming.AuthenticationException [Root exception is
    java.lang.SecurityException: Administrators must log in over admin port with
    admin protocol.]]
    at
    weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:893)
    at weblogic.management.Admin.start(Admin.java:303)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:331)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    I get the same result when testing the connection setup with
    java weblogic.Admin -url 192.168.14.15:7001 -username system -password xyz
    CONNECT 1
    Background for this problem:
    I'm trying to evaluate WLS6.0 clustering for my RMI services. I have two
    machines setup with my test domain (DEdomain) and one cluster (DECluster)
    within it.
    In administration server (machine A) I defined two servers to be run in
    machine A and machine B:
    DEserver2 in machine B (to be started as managed server) and DEserver3
    in machine A
    I'm going to bind a same service into these above servers of my DECluster.
    In machine B's startManagedWeblogic.sh I have:
    java -ms64m -mx64m -classpath
    $CLASSPATH -Dweblogic.Domain=DEdomain -Dweblogic.Name=$SERVER_NAME -Dweblogi
    c.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/lib/weblogic
    .policy -Dweblogic.management.username=system -Dweblogic.management.password
    =$WLS_PW weblogic.Server
    In machine A I have administration server DEserver1 listening port 7001.
    And for the domain and cluster building I followed all relevant e-docs
    manual pages. It's still somewhat blurry what kind of preparations I have to
    make in managed server side to join the domain; for example do I have to
    have identical domain directory structure within machine B and do I have to
    configure something with admin console or is everything handled by
    connecting to the administation server and reading the domain's config.xml
    from machine A.
    I'm sure I have missed some fundamental idea for building clustered services
    and would greatly appreciate if someone had any good tips or ideas.
    Best regards,
    Harri

    Hi Kumar,
    and thank you. That fixed my problem
    Best regards,
    Harri
    "Kumar Allamraju" <[email protected]> wrote in message
    news:[email protected]...
    It appears you had set the administration port & listen port on the admin
    server.
    Logging onto admin server via admin port is broken currently. I wouldsuggest
    you to set only listen port
    and see how that goes.
    Kumar
    "Harri Töhönen" wrote:
    Hello,
    I have a problem when trying to connect managed server to cluster's
    administration server.
    When starting the managed server I get a security exception:
    [javax.naming.AuthenticationException [Root exception is
    java.lang.SecurityException: Administrators must log in over admin portwith> > admin protocol.]
    weblogic.management.configuration.ConfigurationException: admin URL:
    t3://192.168.14.15:7001 - with nested exception:
    [javax.naming.AuthenticationException [Root exception is
    java.lang.SecurityException: Administrators must log in over admin portwith> > admin protocol.]
    at
    weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:893)
    at weblogic.management.Admin.start(Admin.java:303)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:331)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35)
    I get the same result when testing the connection setup with
    java weblogic.Admin -url 192.168.14.15:7001 -username system -password
    xyz
    CONNECT 1
    Background for this problem:
    I'm trying to evaluate WLS6.0 clustering for my RMI services. I have two
    machines setup with my test domain (DEdomain) and one cluster(DECluster)
    within it.
    In administration server (machine A) I defined two servers to be run in
    machine A and machine B:
    DEserver2 in machine B (to be started as managed server) andDEserver3
    in machine A
    I'm going to bind a same service into these above servers of myDECluster.
    >>
    In machine B's startManagedWeblogic.sh I have:
    java -ms64m -mx64m -classpath
    $CLASSPATH -Dweblogic.Domain=DEdomain -Dweblogic.Name=$SERVER_NAME -Dweblogi
    >>
    c.management.server=$ADMIN_URL -Djava.security.policy==$WL_HOME/lib/weblogic
    >>
    .policy -Dweblogic.management.username=system -Dweblogic.management.password
    =$WLS_PW weblogic.Server
    In machine A I have administration server DEserver1 listening port 7001.
    And for the domain and cluster building I followed all relevant e-docs
    manual pages. It's still somewhat blurry what kind of preparations Ihave to
    make in managed server side to join the domain; for example do I have to
    have identical domain directory structure within machine B and do I haveto
    configure something with admin console or is everything handled by
    connecting to the administation server and reading the domain'sconfig.xml
    from machine A.
    I'm sure I have missed some fundamental idea for building clusteredservices
    and would greatly appreciate if someone had any good tips or ideas.
    Best regards,
    Harri

  • Unable to connect to "SAP Table, Cluster, or Function" in Crystal reports.

    I cannot connect to "SAP Table, Cluster, or Function" in Crystal reports. The system gives such an error: Database Conection Error: Functional module "/CRYSTAL/GET_OSQL_OBJECT_LIST" not found.
    Did anyone get this error? What can't be wrong with my system?

    Hi Sergey,
    you must import some transports in your SAP R/3 system before you can access its tables. Have a look at the documentation of the int.KIT for SAP.
    The transports are normally to be found in the install directory of your server installation of the BOBJ int.KIT for SAP. In the documentation is easy to identify those which must be imported depending on the system's type and version.
    Regards,
    Stratos

  • Setting up LDAP Server to lookup Connection Factories using JNDI

    Can someone let me know how to setup LDAP server within 10G to lookup connection factories using JNDI?
    I read through the Advanced Queuing User Guide and Reference document where this is mentioned and it says use the Database Configuration Assistant to do this but I could not find how.
    When I install 10G is LDAP server automatically setup? How do I get to it?
    Thanks

    That is correct. I was indeed able to use the app server (10g) to give the LDAP user permission to access the objects, then used sql commands to register the objects inside the LDAP.
    However, I am finding NOTHING about actually creating a unique connection factory that can be registered in the LDAP. I find reference to registering Queues/Topics/Factories inside the LDAP, but nothing about actually creating the factories.
    In fact, here
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28420/aq_envir.htm#sthref409
    it's listed that you cannot use sql to create a connectionfactory... not to mention the create java commands for factories look strikingly similar to the queue/topic GET commands, and not the create commands. You can add an alias for that factory using sql, but can't actually create the factory using sql... ???

  • Problems in accessing Connection Factories in JMS

    Hi
    We are porting A J2ee application from weblogic to SAP Web AS.
    Primarily in weblogic we always get a Connection Factory Instance from
    the Connection Factory and then typecast it to either
    QueueConnectionFactory or TopicConnectionFactory.(Pl. see the code
    below)
    ConnectionFactory factory = null;
    QueueConnectionFactory queueFactory = null;
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    this.initialContextFactory);
    env.put(Context.PROVIDER_URL, this.providerUrl);
    context = new InitialContext(env);
    factory = (ConnectionFactory)context.lookup
    (this.JNDINameConnectionFactory);
    queueFactory = (QueueConnectionFactory)factory;
    this.connection = queueFactory.createQueueConnection();
    this.session = this.connection.createQueueSession
    (false, Session.AUTO_ACKNOWLEDGE);
    this.queue = (Queue)context.lookup(this.queueName);
    But in SAP WEB As there is not such facility provided.Is it that always
    we need to lookup to the jmsfactory/default/QueueConnectionFactory for
    a Queue and jmsfactory/default/TopicConnectionFactory or
    jmsfactory/default/QueueConnectionFactory for Topic . Is it poosibel to
    get a Connection factory Instance from where on I Could further
    Typecast it to TopicConnectionFactory or QueueConnectionFactory
    Instance , because this the way we normally do in Weblogic or JMS.
    Also this is how the java JMS API accepts . Could you please let me
    know as to are there any more configuration to be Done apart from the
    JMS provider and JMS Connector in the Visual Admin for Accessing the
    Topmost ConnectionFactory JNDI Instance . If no ,are there any other
    workarounds , as approach for changing the code for accessing the
    individual Connection Factories JNDI is not feasible for us
    regards
    rajesh kr

    Hi Rajesh,
    Here it is a code sample, that I was thinking about
      RajeshConnectionFactory implements QueueConnectionFactory, TopicConnectionFactory, Serializable {
       //SAP queue and topic factories that will be initialized during deserialization
       private QueueConnectionFactory sapQueueFactory;
       private TopicConnectiojnFactory sapTopicFactory;
       // will be invoked after deserialization, when performing lookup of this object
       private void readObject(ObjectInputStream stream) {
           sapQueueFactory = performLookup(PATH_TO_SAP_QUEUE_FACTORY);
           sapTopicFactory = performLookup(PATH_TO_SAP_TOPIC_FACTORY);
       //from the TopicConnectionFactoriesInterface
       TopicConnection createTopicConnection()  {
           return sapTopicFactory.createTopicConnection();
       //from the TopicConnectionFactoriesInterface
       TopicConnection createTopicConnection(String user, String password)  {
           return sapTopicFactory.createTopicConnection(user,password);
       //from the QueueConnectionFactoriesInterface
       QueueConnection createQueueConnectrion() {
           return sapQueueFactory.createQueueConnection();
       QueueConnection createQueueConnectrion(String user, String password) {
           return sapQueueFactory.createQueueConnection(user, password);
    Then you will bind your RajeshConnectionFactory in the naming on the place your application is looking up, and your application after performing lookup can safely typecast it to whatever you want.
    I hope that will solve your problems. If it works, I will not charge you for the code copyright :).
    However I think it will be better if you fix the application to make it trully J2EE compatible instead of such magics.
    Best Regards
    Peter

  • Creating connection factories

              Can I create one connection factory for use by queues AND topics?
              

    In BEA WL, you can configure one CF for both purposes and
              cast it to either javax.jms.QueueConnectionFactory or
              javax.jms.TopicConnectionFactory, or use one of the default
              connection factories in the same manner.
              P.S. For a FAQ, and various helpful links, start with
              the JMS technology page on dev2dev:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              P.P.S. The upcoming JMS 1.1 standard provides a javax.jms CF interface
              that works for both topics and queues. See the JMS Programmer's
              guide introduction for info.
              Eric Kaplan wrote:
              > Can I create one connection factory for use by queues AND topics?
              

  • JMS Default connection factories

              Hi
              I have a evaluation version of Weblogic Server 7. When I start the examples server
              there are no default connection factories under JMS. The default connection factory
              is enabled. How can I view the default connection factory to use with the given
              examples?
              Thanks
              

              Hi
              You can look them up in the server's JNDI tree.
              In console, you can goto server (myserver) and click on the "View JNDI tree"
              link at the bottom, to get the JNDI tree, where you can find the default connection
              factories.
              Kats
              BEA
              "diptiman" <[email protected]> wrote:
              >
              >Hi
              >I have a evaluation version of Weblogic Server 7. When I start the examples
              >server
              >there are no default connection factories under JMS. The default connection
              >factory
              >is enabled. How can I view the default connection factory to use with
              >the given
              >examples?
              >
              >Thanks
              

  • Automation of Email configurations and Connection-Factories

    Hi All,
    I have a requirement to Automate the Email configuration settings and Connection-Factories i.e. "ns_emails.xml" and "oc4j-ra.xml" using ant.
    Can anyone please help me in providing the functions required?
    Thanks,
    Ankit C

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by anuragj:
    Hi all,
    Is there any simple Pl/SQL way of sending emails from ORACLE database.Please note that I am using ORACLE 8i Release 8.1.5(and not 8.1.6 where we have utl_smtp package).Actually I want to automate email generation from ORACLE DB so that emails are fired everyday evening depending on some daily changes in Database due to whole days transactions.
    Please suggest any simple and efficient way to do this..
    Thanx in Advance
    anurag <HR></BLOCKQUOTE>
    Currently I am trying to do this via java. Having a few problems trying to implement the examples but you might try note: 120994.1 in Metalink. Or send an email to [email protected] and I will send you the full article.

  • Creating multiple connection factories from deployed RAR

    Hi
              I'm using WL Server V8.1 sp4 and have successfully deployed my Connector
              Module (RAR) using the Builder tool.
              Within the Builder I can specify default connection properties in the
              deployment descriptor. What I want though is the ability to define
              multiple connection factories with different properties without having
              to deploy/redeploy the RAR for every different connection configuration.
              I can't believe there is a 1-to-1 mapping between the RAR and connection
              factory settings. I've seen that there's a <ra-link-ref> tag available
              in the weblogic-ra.xml but I can't see how to use this?
              Any advice on how to get this working would be greatly appreciated.
              Cheers
              Chris
              

    Hi
              I've had some success but am still confused by the way WLS requires
              second and subsequent connection factories to be created.
              It appears you create a CF within the weblogic-ra.xml deployment
              descriptor using the <map-config-property> tags. All other properties
              are inherited from the settings within ra.xml (we have them set blank).
              If there is no weblogic-ra.xml then a default is created at RAR deploy
              time. We can modify settings and redeploy the resource adapter using the
              supplied Builder tool. There appears to be a limit on what is possible
              with this tool to create CF instances though. It doesn?t seem possible
              to enter config properties here to appear within the weblogic-ra.xml.
              There are fields to allow entry of the CF name and the RA link reference
              though. (This seems strange that it doesn?t provide full flexibility).
              In order to create a CF a certain amount of manual work is required. You
              need to hand modify the weblogic-ra.xml to specify the connection
              properties you want. Then the file has to be added to RAR file for
              deployment using the jar command.
              A second or subsequent CF must also be prepared in a similar way ? the
              properties are defined in weblogic-ra.xml but this time there is no need
              to redeploy a complete RAR file. We can link to the defaults and classes
              provided in the original deployment. This is done using the
              <ra-link-ref> and specifying the connection-factory-name of the original
              RAR. This new RAR only needs ra.xml and weblogic-ra.xml to deploy so we
              can remove any jar files containing code. However, this cannot be done,
              it seems, from the Builder tool.
              I am concerned it seem to be a lot of manual work and, in particular,
              editing of the rar files we provide to our customers. Does anyone know
              of a better way of achieving multiple CF instances without going through
              this process?
              Regards
              Chris
              ChrisWalker wrote:
              > Hi
              >
              > I'm using WL Server V8.1 sp4 and have successfully deployed my Connector
              > Module (RAR) using the Builder tool.
              > Within the Builder I can specify default connection properties in the
              > deployment descriptor. What I want though is the ability to define
              > multiple connection factories with different properties without having
              > to deploy/redeploy the RAR for every different connection configuration.
              >
              > I can't believe there is a 1-to-1 mapping between the RAR and connection
              > factory settings. I've seen that there's a <ra-link-ref> tag available
              > in the weblogic-ra.xml but I can't see how to use this?
              >
              > Any advice on how to get this working would be greatly appreciated.
              >
              > Cheers
              > Chris
              

  • Problem connecting weblogic server to cluster

              Hi,
              I am very new to WL/JMS/JNDI/EJB etc. I downloaded WL6.0, and tried to make a cluster. I started a server on one machine as Administrative server, and created a cluster. Now, I started another server on a different machine, as a managed server by adding the following parameter at startup
              -Dweblogic.admin.host=http://admin-ipaddr:7001....,
              I get the following error
              Starting WebLogic Server ....
              <Thu Oct 19 14:37:37 PDT 2000> <Error> <Configuration Management> <Error connecting to admin server to bootstrap via URL: http://admin-ipaddr:7001/Bootstrap, user: system
              weblogic.management.configuration.ConfigurationException: Connection error: java.lang.SecurityException: Authentication for user system
              denied in realm weblogic
              at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:752)
              at weblogic.management.Admin.initialize(Admin.java:275)
              at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:345)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:160)
              at weblogic.Server.main(Server.java:32)
              >
              <Thu Oct 19 14:37:37 PDT 2000> <Emergency> <Server> <Unable to initialize the server: Fatal initialization exception
              Throwable: weblogic.management.configuration.ConfigurationException: connecting to http://admin-ipaddr:7001/Bootstrap - with nested exception:
              [weblogic.management.configuration.ConfigurationException: Connection error: java.lang.SecurityException: Authentication for user system denied in realm weblogic]
              weblogic.management.configuration.ConfigurationException: connecting to http://admin-ipaddr:7001/Bootstrap - with nested exception:
              [weblogic.management.configuration.ConfigurationException: Connection error: java.lang.SecurityException: Authentication for user syste
              m denied in realm weblogic]
              at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:803)
              at weblogic.management.Admin.initialize(Admin.java:275)
              at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:345)
              at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:160)
              at weblogic.Server.main(Server.java:32)
              >
              I understand that all managed servers are supposed to use the same config file as the Admin server.
              Also, I am not clear about the domain parameter.... what should I pass for -Dweblogic.Domain=mydomain (this is what is there in the batch file that comes). Should I change this parameter for Managed servers, which points to Admin domain? If so, how do I do that?
              I am struck up on this. I'd greatly appreciate it some body could help me out.
              thanks a lot,
              Anil.
              

    -Dweblogic.admin.host=admin-ipaddr:7001, you shouldn't specify protocol. Also please use beta newsgroup for 6.0 related questions.
              anil wrote:
              > Hi,
              > I am very new to WL/JMS/JNDI/EJB etc. I downloaded WL6.0, and tried to make a cluster. I started a server on one machine as Administrative server, and created a cluster. Now, I started another server on a different machine, as a managed server by adding the following parameter at startup
              > -Dweblogic.admin.host=http://admin-ipaddr:7001....,
              >
              > I get the following error
              > Starting WebLogic Server ....
              > <Thu Oct 19 14:37:37 PDT 2000> <Error> <Configuration Management> <Error connecting to admin server to bootstrap via URL: http://admin-ipaddr:7001/Bootstrap, user: system
              > weblogic.management.configuration.ConfigurationException: Connection error: java.lang.SecurityException: Authentication for user system
              > denied in realm weblogic
              > at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:752)
              > at weblogic.management.Admin.initialize(Admin.java:275)
              > at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:345)
              > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:160)
              > at weblogic.Server.main(Server.java:32)
              > >
              > <Thu Oct 19 14:37:37 PDT 2000> <Emergency> <Server> <Unable to initialize the server: Fatal initialization exception
              > Throwable: weblogic.management.configuration.ConfigurationException: connecting to http://admin-ipaddr:7001/Bootstrap - with nested exception:
              > [weblogic.management.configuration.ConfigurationException: Connection error: java.lang.SecurityException: Authentication for user system denied in realm weblogic]
              > weblogic.management.configuration.ConfigurationException: connecting to http://admin-ipaddr:7001/Bootstrap - with nested exception:
              > [weblogic.management.configuration.ConfigurationException: Connection error: java.lang.SecurityException: Authentication for user syste
              > m denied in realm weblogic]
              > at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:803)
              > at weblogic.management.Admin.initialize(Admin.java:275)
              > at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:345)
              > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:160)
              > at weblogic.Server.main(Server.java:32)
              > >
              > ***************************************************************************
              > I understand that all managed servers are supposed to use the same config file as the Admin server.
              >
              > Also, I am not clear about the domain parameter.... what should I pass for -Dweblogic.Domain=mydomain (this is what is there in the batch file that comes). Should I change this parameter for Managed servers, which points to Admin domain? If so, how do I do that?
              >
              > I am struck up on this. I'd greatly appreciate it some body could help me out.
              >
              > thanks a lot,
              > Anil.
              

  • How to connect external inputs into cluster elements?

    Hi all,
      I have a subvi have a cluster embeded
    I want to control the "enable" element from outside but I cannot wire the input terminal on the icron to the enable element. So how can I control the individual element of a cluster from outside?
    Solved!
    Go to Solution.

    udka wrote:
    One way is unbundle cluster, get the outside value from enable control and again bundle it with other two values. Since that is cluster, group of all those three you can connect entire cluster as terminal.
    Thanks for reply. What I want is to update one element in a cluster and keep the others elements unaffected. If I understand you correctly, you suggest to pass the cluster strcutre from outside the vi, unbundle it inside the vi, using the enable value from outside and other two elements from inside to bundle a new cluster and pass it to the vi's original cluster. Yes, this way works. But in my future development, I have a very big cluster with so many elements, I just want to update few of them and keeps the others unchanged. The way you suggested works but not that practical. Is that any simple way to do that? Thanks.

  • Connection Wizard - SAP Tables, Cluster or Functions

    Hi Guys!,
    I have Crystal Report 2008 and SAP Integration KIT installed on my machine.
    If I try to build a new Report and choose the the available connection SAP Tables, Cluster or Function and go to the next step in the Wizard it doesn´t show me the registerted entries of my SAP LogonPad.
    Anyone an idea?
    Thx!
    Serdal
    Edited by: Serdal Oeztuerk on Jul 16, 2008 2:20 PM

    Hi jim ji,
    thanks for your support but it still not work. I have set the system variable
    SAPLOGON_INI_FILE with the value ..\saplogon.ini
    And I also installed crystal 2008 and the integration kit in sequence....
    I have installed the SAPGUI version 7.10 - could be this the reaseon?
    Info: I have no problem with the sap integration kit. the problem is
    in the wizard where i can choose the available connection for sap for
    example the connection "SAP Tables, Cluster or Functions"
    thx!
    Serdal

  • Multiple open db connections in a weblogic cluster

    we have created a cluster in weblogic with oracle database.
    Whenever we are starting the cluster (managed servers), there are a lot of connections are opening in database (around 150 in database). Although we have set max capacity of cgDataSource, cgDataSourcenoXA and wlsjmsreportDS as 20. So ideally there should not be more than 60 connections open at any point of time.
    We are using OSB 10gR3 in Linux 64 bit platform.

    The max capacity for a data source is per node in the cluster (if it's targeted to the cluster).
    So if you have 3 data sources, with max capacity of 20 each and two nodes in your cluster you should have around 3*20*2 = 120 connections.
    Of course at startup WebLogic only creates the number of connections specified in the initial capacity.

  • Trouble connect MySql database on cluster

    Dear Friends
    I am trying to connect the MySql database on our cluster which have ROCKS cluster ebvironment on it. My code is just a test code to connect to the "test" database and i got fallowing exception
    Exception: Data source rejected establishment of connection, message from server: "Host 'chemdynm.chem.ttu.edu' is not allowed to connect to this MySQL server"
    Can anybody help me on this problem.My test code is as fallows
    Thanks
    Nav
    import java.sql.*;
    public class dbtest
         public static void main(String[] args)
         Connection con = null;
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    con = DriverManager.getConnection("jdbc:mysql://chemdynm.chem.ttu.edu/test",
    "root", "secret");
    if(!con.isClosed())
    System.out.println("Successfully connected to " +
    "MySQL server using TCP/IP...");
    } catch(Exception e) {
    System.err.println("Exception: " + e.getMessage());
    } finally {
    try {
    if(con != null)
    con.close();
    } catch(SQLException e) {
              System.out.println("here is the problem " +e);

    Read the MySQL documentation about how to set up permissions. Not only do you have to declare permissions for each user ID, you also have to declare permissions for the hosts they may connect from. This is nothing to do with Java or JDBC.

Maybe you are looking for

  • How can I do a screen dump on my Mac?

    I am trying to print off a list of tracks from iTunes but if I copy and paste into Word it doesn't print in proper order so I'm now trying to do a screen dump but can't remember how to do it.  Can anyone help please?

  • Unbalanced Transaction with Cenvat Tax Code

    Hi All I  have a problem with A/R Down Payment Invoice.When i am trying to add the invoice with Cenvat related Tax code ( BED+VAT)the system is throwing an error which reads as follows: " Unbalanced Transaction Message 131-91"  But when i am changing

  • Little rant: -only- PS is rebooting my pc

    Hi all, I must vent this to get it off my chest, and to see if there will be more constructive comments than I found on this list. I'm running a W7x64 pc, with 8Gb of Ram on a AMD X6/Gigabyte combo. My graphics card is a Geforce 9800GTX, and I use a

  • Which size gauge for gigaworks S750?

    hello everyone, my 2 rear speakers need extending and i was wondering if anyone could help me out with what is the best wire gauge to go for, from what i can find i believe 2-6awg is best. i would go for the 2 but there is a massive price dif between

  • Finder window arrow is gone

    I have a MacBook Pro operating system 10.6.6. A few days ago I noticed that the arrows on the finder windows (located on the upper left-hand side) have disappeared. I've spent hours trying to figure out how to bring it back. I can't easily navigate b