Jndi exception using weblogic.Admin

I was trying out the commands offered by weblogic.Admin to manage the packaged petstore server. I tried the following command and got jndi exception (null):
command:java weblogic.Admin -url petstoreServer.com:7001 GET -pretty -type Server
Error:Exception in thread "main" java.lang.IllegalArgumentException: JNDI naming exception: null
at weblogic.management.commandline.CommandLine.findMBeanHome(CommandLine.java:460)
at weblogic.management.commandline.CommandLine.doCommandline(CommandLine.java:86)
at weblogic.management.commandline.CommandLine.<init>(CommandLine.java:69)
at weblogic.Admin.main(Admin.java:689)
I checked in the console. A jndi name for petstoreServer does exist.

The current WebLogic 6.0 Beta-1 documentation incorrectly specifies the following in its example.
java weblogic.Admin -url xyz.com:7001 GET -pretty -type Server
This example falsely gives the impression that you must append ".com" to your host name. We will correct the document in the next revision to look like:
java weblogic.Admin -url hrserver:7001 GET -pretty -type Server
The -url petstoreServer.com:7001 parameter is incorrect. The command requires you to specify the <HostName>:<PortNumber> for the -url parameter.
Regards,
-Sachin
Helen Semus wrote:
I was trying out the commands offered by weblogic.Admin to manage the packaged petstore server. I tried the following command and got jndi exception (null):
command:java weblogic.Admin -url petstoreServer.com:7001 GET -pretty -type Server
Error:Exception in thread "main" java.lang.IllegalArgumentException: JNDI naming exception: null
at weblogic.management.commandline.CommandLine.findMBeanHome(CommandLine.java:460)
at weblogic.management.commandline.CommandLine.doCommandline(CommandLine.java:86)
at weblogic.management.commandline.CommandLine.<init>(CommandLine.java:69)
at weblogic.Admin.main(Admin.java:689)
I checked in the console. A jndi name for petstoreServer does exist.--
Sachin Thatte, Senior Software Engineer
BEA Systems, Inc
WWW: http://www.bea.com
[att1.html]

Similar Messages

  • Using weblogic.Admin utility with Weblogic 10.0

    I am trying to write a script which perform PING server to ensure weblogic servers are up before moving on to start another server (the script starts all managed and admin servers), i used to be able to PING server on weblogic 8.1 using weblogic.Admin utility but on weblogic 10.3 i am getting the following exception:
    java.lang.NoClassDefFoundError: weblogic/transaction/internal/TransactionHelperImpl
    at weblogic.jndi.spi.EnvironmentManager$DefaultFactoryMaker.<clinit>(EnvironmentManager.java:26)
    at weblogic.jndi.spi.EnvironmentManager.getInstance(EnvironmentManager.java:48)
    at weblogic.jndi.Environment.getContext(Environment.java:307)
    at weblogic.jndi.Environment.getContext(Environment.java:277)
    at weblogic.jndi.Environment.createInitialContext(Environment.java:200)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:184)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:162)
    at weblogic.management.commandline.tools.AdminToolHelper.getMBeanHome(AdminToolHelper.java:559)
    at weblogic.management.commandline.tools.ServerInfoCommandLineInvoker.doCommandline(ServerInfoCommandLineInvoker.java:920)
    at weblogic.management.commandline.tools.ServerInfoCommandLineInvoker.<init>(ServerInfoCommandLineInvoker.java:116)
    at weblogic.management.commandline.AdminMain.main(AdminMain.java:132)
    at weblogic.Admin.useAdminMain(Admin.java:43)
    at weblogic.Admin.main(Admin.java:22)
    java.lang.NoClassDefFoundError: weblogic/transaction/internal/TransactionHelperImpl
    at weblogic.jndi.spi.EnvironmentManager$DefaultFactoryMaker.<clinit>(EnvironmentManager.java:26)
    at weblogic.jndi.spi.EnvironmentManager.getInstance(EnvironmentManager.java:48)
    at weblogic.jndi.Environment.getContext(Environment.java:307)
    at weblogic.jndi.Environment.getContext(Environment.java:277)
    at weblogic.jndi.Environment.createInitialContext(Environment.java:200)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:184)
    at weblogic.jndi.Environment.getInitialContext(Environment.java:162)
    at weblogic.management.commandline.tools.AdminToolHelper.getMBeanHome(AdminToolHelper.java:559)
    at weblogic.management.commandline.tools.ServerInfoCommandLineInvoker.doCommandline(ServerInfoCommandLineInvoker.java:920)
    at weblogic.management.commandline.tools.ServerInfoCommandLineInvoker.<init>(ServerInfoCommandLineInvoker.java:116)
    at weblogic.management.commandline.AdminMain.main(AdminMain.java:132)
    at weblogic.Admin.useAdminMain(Admin.java:43)
    at weblogic.Admin.main(Admin.java:22)
    The Classpath i am using:
    /ascddata3/olcppads-dev01/weblogic10/server/lib/weblogic.jar:/ascddata3/olcppads-dev01/weblogic10/user_projects/autosc_pss/lib:/ascddata3/olcppads-dev01/weblogic10/server/lib/xmlx.jar:/ascddata3/olcppads-dev01/weblogic10/server/lib/wls-api.jar:/ascddata3/olcppads-dev01/weblogic10/server/lib/wlclient.jar:/ascddata3/olcppads-dev01/weblogic10/server/lib/wljmsclient.jar
    The command i am using is:
    java weblogic.Admin -url ins2d.med.ge.com:9010 -username USERNAME -password PASSWORD PING -verbose
    In weblogic 8.1 the class weblogic/transaction/internal/TransactionHelperImpl used to be present in wljtaclient.jar but i can't locate the class anywhere in weblogic 10.3/server/lib. Kindly let me know how to use weblogic.Admin utility on weblogic 10.3

    Hi,
    First I ran the setDomainEnv.cmd script to set the environment and then executed the weblogic.Admin command and it worked for me.
    D:\wls103\user_projects\domains\816532Local>java weblogic.Admin -adminurl t3://localhost:7010 -username weblogic -password weblogic PING
    Sending 1 ping of 100 bytes.
    RTT = ~16 milliseconds, or ~16 milliseconds/packet
    D:\wls103\user_projects\domains\816532Local>
    Regards.

  • Unable to start Admin server by using weblogic.admin utility

    Hi,
    I stoped the admin server by using weblogic.admin utility command as bellow.
    java weblogic.Admin -url http://server1:8008 -username adminuser -password weblogic SHUTDOWN myserver
    It stopped successfully. But while starting as below i am getting error. Kindly help me out.
    java weblogic.Admin -url http://172.27.72.70:8008 -username adminuser -password weblogic START myserver
    <Warning> <Net> <BEA-000905> <Could not open connection with host: server1 and port: 8008.>
    Failed to connect to http://172.27.72.70:8008: Destination unreachable; nested exception is:
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: 'star', port: '8008'; No available router to destination
    Any suggestion is appreciated.
    Thanks,

    Hi,
    Thanks for your reply.
    Yes, Node Manager has configured on Managed Server's host machine.
    So can't we start admin server by using weblogic.admin utility if admin server is stopped?
    Thanks,

  • How to use weblogic.Admin to set JMS ErrorDestination property on WLS 7?

    This thread is talking about using weblogic.Admin to set the ErrorDestination property.
              http://forums.bea.com/bea/thread.jspa?threadID=200036378&messageID=202187327&start=0
              We run the script against the WLS 7.0 server, script get 'OK' result but it didn't work (property wasn't set). Some error is reported in the admin.log on the server.
              We also run the scipt against the WLS 8 server. It worked perfectly.
              Does anyone know whether this works at all on WLS 7?

    The reason we are using weblogic.Admin is that we are using conf2admin to generate the scripts. weblogic.Admin seems to be the only option for WLS7. Thanks for your suggestion and will definitely check out WLST.
              The full error message is:
              ####<Aug 27, 2004 8:55:20 AM NZST> <Emergency> <Management> <rbd1> <admin> <ExecuteThread: '9' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <> <141067> <The value n204162:JMSServer=LAS2JMSServer,Name=FailedQueue,Type=JMSQueue specified for the ErrorDestination attribute is not valid. MBean: n204162:JMSServer=LAS2JMSServer,Name=FundingQueue,Type=JMSQueue. Method: setAttributes. Exception: javax.management.InvalidAttributeValueException: BeanShell Interpreter threw exception while evaluating (((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value)))) on value n204162:JMSServer=LAS2JMSServer,Name=FailedQueue,Type=JMSQueue, getLegalCheck() for attribute ErrorDestination of MBean "n204162:JMSServer=LAS2JMSServer,Name=FundingQueue,Type=JMSQueue", Sourced file: <Inline eval of: ((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value))); > : Method Invocation weblogic.management.configuration.JMSLegalHelper.legalErrorDestination : at Line: 1 : in file: <Inline eval of: ((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value))); > : weblogic .management .configuration .JMSLegalHelper .legalErrorDestination ( self , value )
              Target exception: java.lang.NullPointerException
              .>
              javax.management.InvalidAttributeValueException: BeanShell Interpreter threw exception while evaluating (((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value)))) on value n204162:JMSServer=LAS2JMSServer,Name=FailedQueue,Type=JMSQueue, getLegalCheck() for attribute ErrorDestination of MBean "n204162:JMSServer=LAS2JMSServer,Name=FundingQueue,Type=JMSQueue", Sourced file: <Inline eval of: ((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value))); > : Method Invocation weblogic.management.configuration.JMSLegalHelper.legalErrorDestination : at Line: 1 : in file: <Inline eval of: ((value == void)?(true):(weblogic.management.configuration.JMSLegalHelper.legalErrorDestination(self, value))); > : weblogic .management .configuration .JMSLegalHelper .legalErrorDestination ( self , value )
              Target exception: java.lang.NullPointerException
                   at weblogic.management.internal.DynamicMBeanImpl.checkAttributeValueIsLegal(DynamicMBeanImpl.java:1517)
                   at weblogic.management.internal.DynamicMBeanImpl.prepareForModification(DynamicMBeanImpl.java:1440)
                   at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1004)
                   at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:353)
                   at weblogic.management.internal.DynamicMBeanImpl.setAttributes(DynamicMBeanImpl.java:827)
                   at com.sun.management.jmx.MBeanServerImpl.setAttributes(MBeanServerImpl.java:1475)
                   at weblogic.management.internal.RemoteMBeanServerImpl.setAttributes(RemoteMBeanServerImpl.java:905)
                   at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
                   at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
                   at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
                   at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
                   at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
                   at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

  • Can't add JMS topics using weblogic.Admin

    I have seen a similar problem being mentioned before on this board, except it occurred more directly through management APIs. I'm working with Weblogic 6.1, and trying to create a JMSTopic from command-line using weblogic.Admin
    First I create a JMSServer (using CREATE operation) and set its Targets attribute (using SET). Then I create a JMSTopic (again, using CREATE) and set its JNDIName attribute (again, using SET). All of this works fine, and I see the new JMSServer in the console correctly targeting the right server, and I see both the JMSServer and JMSTarget entries in the config.xml of my domain.
    Now, I try to add the topic under the server using addDestination method (through weblogic.Admin operation INVOKE). addDestination returns "false" with no further explanation or exceptions. If I try to go through the SET operation and target the Destinations property of JMSServer, again I get a silent failure with no further info.
    Is this a bug? Has someone ever succeeded in doing this before? Any Ideas?
    Thanks!
    -Boris

    I'm replying to my own message because a kind soul gave me the solution. Apparently
    it's not documented (or at least not well enough that I could find it), so I'm reiterating
    it for the benefit of others.
    In order to register a JMSTopic (or a JMSQueue) under a JMSServer, you do not use
    the addDestination or setDestinations methods on the JMSServer. Instead, you set
    the (un-exposed) Parent property on the topic or queue MBean. For example, if I
    had created a JMSServer MyJmsServer and a JMSTopic MyJmsTopic, I would need to issue
    the following command:
    weblogic.admin <usual url/username/password stuff> SET -mbean "mydomain:Name=MyJmsTopic,Type=JMSTopic"
    -property Parent "mydomain:Name=MyJmsServer,Type=JMSServer"
    My heartfelt thanks to you, Ajay!

  • Creating a Global Role using weblogic.Admin command

    Hi,
    Does anyone have an example of creating a global role using the weblogic.Admin commands? I think I have to use the INVOKE command with the DefaultRoleMapper and createRole method, but I'm not quite sure what the rest of the syntax is.
    Thanks,
    Gabriel

    Gabriel,
    The following works for me:
    weblogic.Admin -url t3://localhost:80 -username weblogic -password weblogic INVOKE -mbean "Security:Name=myrealmDefaultRoleMapper" -method createRole "" "MyGlobalRole" "Grp(Administrators)" ""
    The null first parameter identifies this role as a global role.
    The second param is the name of the role.
    The third parameter is the policy expression. Here, I've mapped the role to the Administrators group. You can also map it to users or a combo of the two. For example, to map it to the "weblogic" user, use "Usr(weblogic)" as the policy expression. If you leave this parameter empty, the role will be created but will not be mapped to anything.
    I'm not sure what the fourth parameter is for. It's not defined in the RoleEditorMBean docs but not including it causes an error. I suspect it's a description field because WLS does not seem to care what you put there.
    HTH,
    Mike

  • Use WebLogic Admin defined role in EJB permission

    Hi all!
    Can someone please tell me how it's possible to:
    - Define a role in WebLogic Admin console and use it in the EJB permissions.
    OR
    - Define custom attributes (like hours of access) to the roles in the xml descriptors.
    thanks in advance,
    Richard

    Hi Slavik
    >Will it always work ?
    What do you mean?
    >Have I made everything to make it work ?
    Yes, it shall work.
    >Is there a way to make the role-group mapping programmatically ?
    In fact the operation belongs to administrative or configuration phase of your App's life cycle. Naturally It's not a developer's responsibility. From other point of view at development time you cannot predict UME roles/groups that will be on J2EE server during application deployment. Developer cannot predict even target J2EE server. Different servers can have own UME roles/groups.
    Still at development time it's possible to design very restricted mapping. There are three constants 'all', 'administrators', 'guests' which you can use in XML descriptors. These constants will be mapped to the corresponding UME roles during deployment.
    BR, Siarhei

  • How to prepend or append classpath using weblogic.Admin or WLST

    When I call weblogic.Admin or WLST, is there any way to append or prepend to the existing classpath?
    Currently I am calling weblogic.Admin with the following argument:
    set -mbean base_domain:Name=base-server,Server=base-server,Type=ServerStart -property ClassPath "C:\test\test.jar"
    But this overwrite the Server classpath with the new entry.
    I want to keep the existing entries as it is and add the new one. Is it possible with Weblogic 8.1 or Weblogic 9.1

    fyi
    A tricky SQL statement issue was fixed in the example application
    at http://www.consideringred.com/files/oracle/2011/SQLAuthenticatorApp-v0.03.zip
    So, it allows for the setup of a SQLAuthenticator (see README.txt for details), but in short : run Ant target "wlst.create-domain" (possibly preceded by Ant target "delete.domain-dir"), Ant target "create.wls-start-stop-bat-files", run wls-start.bat, setup tables TS_USER, TS_GROUP and TS_GROUPMEMBER, Ant target "wlst.create-datasource", Ant target "wlst.create-authentication-provider", run wls-stop.bat, run wls-start.bat, Ant target "wlst.create-user", Ant target "wlst.create-group.sqla-groupname", Ant target "wlst.add-user-member-to-group", deploy SQLAuthenticatorApp (using JDeveloper or otherwise), try http://localhost:7001/sqlauthenticatorweb , try to authenticate using tsusertwo/welcome1
    Several Ant targets calling OPSS MBeans API were added (e.g. "wlst.opss.printmembersforallapplicationroles"), to review adding a SQLAuthenticator group as member to an application role, resulting in the forum thread "OPSS : addMembersToApplicationRole : The search for role failed"
    at OPSS : addMembersToApplicationRole : The search for role failed
    So, suggestions to resolve that grant application role issue are welcome in that forum thread.
    regards
    Jan

  • Registering global cross-WAR JNDI resources using Weblogic

    Hi,
    We are porting an existing application which includes 2 WAR components that share a JNDI resource (described as a Model 2 deployment at http://jackrabbit.apache.org/doc/deploy.html). This resource is an example of a javax.jcr.Repository.
    Is it possible in Weblogic (9.1) to configure an arbritrary JNDI resource (other than JDBC, JMS etc) that is accessible from multiple applications?
    If not, can an application 'publish' a JNDI entry into the global name space accessible by other applications?
    The equivalent to what we need to achieve in Tomcat is shown below.
    All help appreciated.
    Shaun.
    <GlobalNamingResources>
    <Resource name="jcr/globalRepository"
    auth="Container"
    type="javax.jcr.Repository"
    description="JCR repository"/>
    <ResourceParams name="jcr/globalRepository">
    <parameter>
    <name>factory</name>
    <value>org.apache.jackrabbit.core.jndi.BindableRepositoryFactory</value>
    </parameter>
    <parameter>
    <name>configFilePath</name>
    <value>C:/repository/repository.xml</value>
    </parameter>
    <parameter>
    etc...

    Tomcat 5.5 uses a different format for data source configuration. You're using the Tomcat 4.x and 5.0 series configuration format. Downgrade Tomcat, or use the appropriate config:
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
    You'll want something like this:
    <Resource
       name="jdbc/HDCD"
       auth="Container"
       type="javax.sql.DataSource"
       username="miladmin"
       password="authorize"
       etc...
    />

  • Using MBeans and weblogic.admin tools..

    The main use I see for using weblogic.admin tools and programmatic access to mbeans
    is to script or automate tasks that you can otherwise accomplish in the Admin
    Console

    The main use I see for using weblogic.admin tools and programmatic access to mbeans
    is to script or automate tasks that you can otherwise accomplish in the Admin
    Console

  • Weblogic.Admin command

    After I ran setEnv.sh, I used Java weblogic.Admin command for THREAD_DUMP, it produced error "Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Admin
    ". What would be the best way to run a THREAD_DUMP, kill -3 PID or a java command?

    hi sir,
    I think in weblogic 9.2 weblogic.Admin utility is deprecated but it works in 9.2. We have better option than weblogic.Admin utility nothing but WLST. If u want to start using weblogic.Admin we have command
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx START managedservername
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx SHUTDOWN managedservername
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx START clustername
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx SHUTDOWN clustername
    If u want to use WLST for starting managed servers and clusters
    check the follwing steps.
    1. java weblogic.WLST
    2. startNodeManager()
    3. TAKE ANOTHER COMMAND PROMPT START ADMIN SERVER
    4. TAKE ANOTHER COMMAND PROMPT
    java weblogic.WLST
    5. start('man1','Server') or start('man1','Server','localhost:7003')
    6. start('mycluster','Cluster')
    7.shutdown('man1','Server') or start('man1','Server','localhost:7003')
    8.shutdown('mycluster','Cluster')
    regards
    abhi
    Edited by: sumanth_abhi on Feb 5, 2009 8:54 PM

  • Setting timeout in weblogic.admin command

    Hello:
    I run a script that checks the state of several thing in my platform. One of the commands I use in this script
    is
    java -cp .. weblogic.Admin localhost:7001 ..... GETSTATE
    IS there anyway to set a timeout in this command for the case weblogic server is hang and doesn´t answer anything. I have tried using sun properties for connect timeout and readTimeout but they haven´t worked(I suppose that it is because weblogic.admin uses t3 instead http). I have thought to make the following
    sleep 10|ps -efx| grep -i GETSTATE|grep -v grep|awk '{ print $2 }'|xargs kill -9 &
    java -cp .. weblogic.Admin localhost:7001 ..... GETSTATE
    but I don´t like at all this solution
    Regards,
    Mario.

    hi sir,
    I think in weblogic 9.2 weblogic.Admin utility is deprecated but it works in 9.2. We have better option than weblogic.Admin utility nothing but WLST. If u want to start using weblogic.Admin we have command
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx START managedservername
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx SHUTDOWN managedservername
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx START clustername
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx SHUTDOWN clustername
    If u want to use WLST for starting managed servers and clusters
    check the follwing steps.
    1. java weblogic.WLST
    2. startNodeManager()
    3. TAKE ANOTHER COMMAND PROMPT START ADMIN SERVER
    4. TAKE ANOTHER COMMAND PROMPT
    java weblogic.WLST
    5. start('man1','Server') or start('man1','Server','localhost:7003')
    6. start('mycluster','Cluster')
    7.shutdown('man1','Server') or start('man1','Server','localhost:7003')
    8.shutdown('mycluster','Cluster')
    regards
    abhi
    Edited by: sumanth_abhi on Feb 5, 2009 8:54 PM

  • Weblogic.Admin utility !!!

    Hi All,
    Will weblogic.Admin utility cause any load on the servers (performance issue), if used extensively to get the below runtime data of a domain
    --> server state using GETSTATE
    --> ExecuteQueueRuntime
    --> JMSDestinationRuntime
    --> MessagingBridgeRuntime
    weblogic version : 8.1 sp5
    Cheers,
    Thalla.

    Hi Thalla,
    One of our Production Env is setup to fetch Thread Dumps and Many kind of Runtime Details of <b>WLS 9.2 MP2</b> using "weblogic.Admin" utility Over SSL ...<b>At regular Interval of 6-Minutes</b> From past 2-3 Years we never saw any Performance related issue because of this utility...
    I hope the same behaviour we will find in WLS8.1 SP5 as well.. as we have already tested it in WLS9.2 MP2 ..so i can assure you that In WLS9.2 MP2...It works with Charm without any performance impact...And I expect that It will Just work Extremely great in WLS8.1 SP5 as well..
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com/2009/12/31/debugging-runtime-informations-at-a-glance/

  • Weblogic.Admin -TEST_POOL

    Hi All
    I'm trying to test connection pools using weblogic.Admin tool. Even though the connection pool exists in domain, weblogic.Admin returns "Pool does not exist". Could some one help me please? My command is
    <b>${JAVA_HOME}/bin/java weblogic.Admin -url $ADMIN_HOST:$ADMIN_PORT -userconfigfile $DOMAIN_HOME/userconf -userkeyfile $DOMAIN_HOME/userkey TEST_POOL -poolName coustomerOrderConnectionPool
    </b>
    I'm trying this from Unix box and I have ADMIN_HOST, ADMIN_PORT and DOMAIN_HOME set up as environment variables

    Ram Silva wrote:
    Hi All
    I'm trying to test connection pools using weblogic.Admin tool. Even though the
    connection pool exists in domain, weblogic.Admin returns "Pool does not exist".
    Could some one help me please? My command is
    <b>${JAVA_HOME}/bin/java weblogic.Admin -url $ADMIN_HOST:$ADMIN_PORT
    -userconfigfile $DOMAIN_HOME/userconf -userkeyfile $DOMAIN_HOME/userkey TEST_POOL -poolName coustomerOrderConnectionPool
    </b>
    I'm trying this from Unix box and I have ADMIN_HOST, ADMIN_PORT and DOMAIN_HOME set up as environment variablesWhat happens when you hand-type everything in the command?
    Could it just be that you mis-spelled customerOrderConnectionPool
    as you did above? ('coustomerOrderConnectionPool')
    Joe

  • Weblogic.Admin command for stopping all Managed Servers in cluster

    Hello All,
    I am using Weblogic 9.2 MP3 on Linux env. I have a domain which has 16 Managed servers which are part of a cluster, I have eight Managed Servers running on one physical machine and other eight running on another physical Machine.
    I know we can do all stop and all start of Managed servers from console if we have node manager setup. We do not want to have node manager setup in our env.
    I am looking for a way to do that using java weblogic.Admin utility
    Please let me know on how we can achieve this using weblogic.Admin utility by passing clustername argument.
    Thanks
    Weblogic Consultant

    hi sir,
    I think in weblogic 9.2 weblogic.Admin utility is deprecated but it works in 9.2. We have better option than weblogic.Admin utility nothing but WLST. If u want to start using weblogic.Admin we have command
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx START managedservername
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx SHUTDOWN managedservername
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx START clustername
    java weblogic.Admin -url adminhost:listenport -username xxxx -password xxxx SHUTDOWN clustername
    If u want to use WLST for starting managed servers and clusters
    check the follwing steps.
    1. java weblogic.WLST
    2. startNodeManager()
    3. TAKE ANOTHER COMMAND PROMPT START ADMIN SERVER
    4. TAKE ANOTHER COMMAND PROMPT
    java weblogic.WLST
    5. start('man1','Server') or start('man1','Server','localhost:7003')
    6. start('mycluster','Cluster')
    7.shutdown('man1','Server') or start('man1','Server','localhost:7003')
    8.shutdown('mycluster','Cluster')
    regards
    abhi
    Edited by: sumanth_abhi on Feb 5, 2009 8:54 PM

Maybe you are looking for

  • DBI Budget data not showing in Dashboard

    Hello all, I have an issue in DBI Budget dashboard. I have two different Business Group with different COA and Calendar. I did DBI setups for both. My issue is I can not able to select only one business group's related ledger while selecting Budget i

  • Internal table values to select-options

    Hi, I have to modify an existing program. here 1. I am populating one field in the selection-screen with a file path which contain  some data. 2. then this file i am converting into an internal table.(At selection-screen event) <b>Now, i have to pass

  • Getting SQLSTATE:22001(Message : [Microsoft][SQL Server Native Client 11.0]String data, right truncation) in SQL Server 2012 but in SQL server 2008 R2.

    I have an application which connects to SQL through ODBC 11. ODBC statement is : SELECT PID FROM PENTITY PENTITY01 WHERE ((NUM1 NOT BETWEEN ? + 10.7895 AND ? + 200.6734 AND NUM2 NOT IN (5996/ 8, ? - 89.3892, ? + 80.7543)) and the SQLBindparameter sta

  • DW013 error while trying to install

    Hi, I am trying to install Dreamweaver CS 6 but I am getting this error as soon as the installation begins. Exit Code: 7 Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW013 ... -------------------------------

  • Delimiting positions assigned to a Org Unit

    Hi Everyone, HAPPY NEW YEAR! I have delimited a organisational unit through PPOME. Now I want to delimit all the positions ( vacant as well as filled positions) associated with that particular org unit. Is there any T-Code or program where I can deli