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.

Similar Messages

  • Airport Admin Utility with 2Wire Router?

    I hope this isn't a dumb question, but is it possible to use Airport Admin Utility with a 2Wire wireless router? If it is, does anyone know what data needs to go in the address and password fields when launching Airport Admin? I've tried the IP address of the router and the WEP password as well as the pass we use to administrate 2Wire on the web, none of which find our router.
    TY!

    OK. Here's how I understand it.
    Your 2Wire has an admin panel built into it. You've accessed it, you can manage the tools. (I worked inside three of 'em this week) You are not going to get any additional functionality with AAU.
    The AAU is designed to manage Airport BaseStations and/or Expresses (someone stop me if I'm too far off-base,here).
    You cannot manage a non-Apple Base Station with AAU, just because it's on your mac.
    Get an Airport baseStation if you want to use the AAU.
    What I don't know is what you're trying to connect to...that's asking for passwords...passwords that you don't have.
    Could you be AAU'ing into a neighbor's wireless device?

  • 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,

  • 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/

  • Returncode of weblogic.Admin Utility

    i try to check my WLS server with the following command:
    "java -cp $CLASSPATH weblogic.Admin t3://myserver:7001 PING 3 100 system
    weblogic"
    i doesn't matter if the command fails or was successfull i allways get
    returncode 0 when typing "echo $?" as the screenshot shows:
    # java -cp $CLASSPATH weblogic.Admin t3://myserver:7895 PING 3 100 system
    weblogic
    Failed to connect to t3://myserver:7895 due to: [java.net.ConnectException:
    No server found at T3://myserver:7895]
    # echo $?
    0
    Anybody any idea how to manage this?
    alexander

    Alexander,
    Currently, there is not a plan in place to backport the requested
    functionallity to WLS 5.1.
    Thanks,
    Simon Nunn
    Developer Relations Engineer
    BEA Technical Support
    Alexander von Alkier wrote:
    "Glenn Dougherty" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]..
    Alexander,
    This is a known issue with the weblogic.Admin utility. BEA is planning tofix
    this and provide proper return codes in the next major release (probablywithin
    6 months).
    Regards,
    Glenn Dougherty
    Developer Relations Engineer
    BEA Technical Support
    Alexander von Alkier wrote:
    i try to check my WLS server with the following command:
    "java -cp $CLASSPATH weblogic.Admin t3://myserver:7001 PING 3 100 system
    weblogic"
    i doesn't matter if the command fails or was successfull i allways get
    returncode 0 when typing "echo $?" as the screenshot shows:
    # java -cp $CLASSPATH weblogic.Admin t3://myserver:7895 PING 3 100
    system
    weblogic
    Failed to connect to t3://myserver:7895 due to:[java.net.ConnectException:
    No server found at T3://myserver:7895]
    # echo $?
    0
    Anybody any idea how to manage this?
    alexanderso i have no chance to do this with WLS 5.1?
    alexander

  • Java weblogic.Admin Utility

    Hi All,
    Im using java weblogic.Admin utility to monitor the Weblogic Resources,in local it is working fine .....but when i move the code to production environment im getting the error message "NO Mbeans Found".....please help me to resolve this issue
    Note: im using weblogic 10.3
    commands im using
    java weblogic.Admin -url t3://IP:PORT -username USRNAME -password PWD GET -pretty -type JVMRuntime -property HeapSizeCurrent
    java weblogic.Admin -url t3://IP:PORT -username USRNAME -password PWD GET -pretty -type JVMRuntime -property HeapFreeCurrent
    java weblogic.Admin -url t3://IP:PORT -username USRNAME -password PWD GET -pretty -type JDBCConnectionPoolRuntime -property Name -property State -property ActiveConnectionsHighCount -property CurrCapacity -property MaxCapacity
    java weblogic.Admin -url t3://IP:PORT -username USRNAME -password PWD GET -pretty -type JMSServerRuntime -property Name -property MessagesCurrentCount -property MessagesPendingCount -property MessagesReceivedCount
    java weblogic.Admin -url t3://IP:PORT -username USRNAME -password PWD GET -pretty -type JMSDestinationRuntime -property Name -property MessagesCurrentCount -property MessagesPendingCount -property MessagesReceivedCount

    Hi Ashwin,
    If you do "GET -pretty -type JVMRuntime" then definately u shouldnot get the "No MBeans Found" because every WLS Server binds the JVMRuntime Object.
    But for others "JMSDestinationRuntime" and "JMSServerRuntime" and "JDBCConnectionPoolRuntime" MBeans it is possible that u may get "No MBeans Found" if you try to run the weblogic.Admin utility by passing the URL of a Server which is not a target of any JDBC/JMS systems.
    It means if we haven't targeted any DataSource or JMSServer/Resources to any WebLogic Server then in that case there will be no MBean registry inside that Server. In that case u will find *"No MBeans Found"*
    Example
    <h3><font color=maroon>Secnario-A</font></h3> Suppose I have created a DataSource (DS1) and targeted it to ManagedServer (MS1) but while executing "weblogic.Admin" utility if i will pass the URL of ManagedServer (MS2) or AdminServer then I will get "No MBeans Found" Because that JDBCConnectionPoolRuntime is not available on MS2 or in AdminServer.
    <h3><font color=maroon>Secnario-B</font></h3>
    <font color=red>
    Even if u are passing the Correct Target Server URL to the weblogic.Admin utility .... though there is also another Possible Reason in which u will get *"No MBeans Found"*.....When the JDBCPool is in Disabled State. It Means as soon as a Module JMS/JDBC/...etc gets Disabled...It's MBean Object gets destroyed (Unregistered). SO Please make sure that all your JDBC or JMS resources are Active and Running properly....
    </font>
    Please refer to : http://weblogic-wonders.com/weblogic/2009/12/31/debugging-runtime-informations-at-a-glance/#comment-356 as well.
    Thanks
    Jay SenSharma

  • Using -pack + -standalone switches with Weblogic ?

    Hi,
    Does anyone know as to whats the issue with using -pack + -standalone switches with Weblogic ? Its been mentioned in the documentation that its not advisable to use those in combination when we build and EAR. We have been doing this in our project for atleast a month now and have not come across any issue due to this.
    Please share your thoughts.
    Thanks,
    -Naga

    Hi,
    Does anyone know as to whats the issue with using -pack + -standalone switches with Weblogic ? Its been mentioned in the documentation that its not advisable to use those in combination when we build and EAR. We have been doing this in our project for atleast a month now and have not come across any issue due to this.
    Please share your thoughts.
    Thanks,
    -Naga

  • Using saaj 1.2 with weblogic 8.1

    according to .This link, weblogic 8.1 implements SAAJ 1.1 version. How can i use SAAJ 1.2 with weblogic 8.1?
    I removed webservices.jar from startweblogic.bat script. then i put saaj-api.jar and saaj-impl.jar (from JWSDP 1.4) in app server's classpath. Thirdly, i deployed an EJB that uses SAAJ 1.2 . However, I am getting following exception which shows that the bean is still using weblogic's implementation of SAAJ i.e. version 1.1.
    java.lang.IllegalArgumentException: endpoint should be String or URL
    at weblogic.webservice.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:43)[b]
    how can i get rid of this and use SOAPConnection from saaj-impl.jar library????

    Hi,
    just run the SetEnv.cmd and check in classpath,it might still have the webservice.jar.
    Probably remove it from setEnv.cmd.
    Regards,
    Manish

  • How to use Outline Load Utility with local encoding names of dimensions?

    Hi,
    I'd like to load metadata (dimensions members) to Planning classic application via Outline Load Utility.
    Target dimension name has been set in local encoding (cyrillic).
    After execution my batch file I get error that unable to find specified load dimension "????" in target application.
    Batch file has been created to start OutlineLoad in ANSI encoding:
    cd C:\Hyperion\products\Planning\bin
    OutlineLoad /A:testapp /U:admin /M /N /I:C:\Hyperion\TempOtlLoad\otl_tmc_alterna.csv /D:{dimNameInCiryllicEncoding} /L:C:/Hyperion/TempOtlLoad/outlineLoad.log /X:C:/Hyperion/TempOtlLoad/outlineLoad.exc
    TIMEOUT 10
    How to use Outline Load Utility with local encoding names of dimensions?

    Has somebody any idea about my question below ?
    Regards,
    Ed

  • How is ATG-Data utilized with weblogic compared to Jboss?

    Greetings,
    I have expertise with ATG on Jboss and am new to WebLogic. So far so good but I have a few questions that I have not been able to answer on my own.
    How does WebLogic handle ATG-Data? I have set the server start options within config.xml for each instance - the java options for module list, server name, atg data directory location and memory requirements as I normally do with the run.conf for jboss. However, nothing gets populated in the ATG-Data directory when starting up the servers. On set runassembler with standalone and liveconfig on as well. (understanding that i can use pack and standalone together with weblogic).
    Any ideas what I could be missing?
    Thanks!
    -Kip

    OK I got ATG-Data directory working as I was expecting. Seems CIM was my hindrance. I scrapped the managed servers that CIM created for me and recreated them from admin console and then redeployed the -standalone ears using nostage deployment plan.
    With this I now get ATG-Data directory where I wanted it: /opt/Oracle/ATG-Data/servers/store-a/localconfig (last entry for config layer in the store-a.out log)
    This ATG-Data directory is configured in the domains config.xml for server-start arguments under the managed server group.
    -Xms1280m -Xmx1280m -Xmn256m -XX:PermSize=512m -Datg.dynamo.data-dir=/opt/Oracle/ATG-Data -Datg.dynamo.server.name=store-a
    This is progress!
    However, the module list shows all modules that were applied during runassembler for that atg server in the log - I am unable to override the module startup list with -Datg.dynamo.modules= within server start arguments.
    The reason I want to override the list is because I prefer to use the same ATGProduction ear for lock manager and procedit servers without requirement them to load all the modules that were assembled in the ear.
    I appreciate any tips or suggestions for best practices!
    Thanks!
    -Kip

  • A Tip for using EJB 3.0 with WebLogic Ant Tasks

    I started out writing this up as a problem, but then I found the answer so I'm, posting a tip instead.
    When I tried to write an EJB [stateless] using EJB 3.0 in my legacy Weblogic ear project I started getting this error:
    <pre>
    No EJBs found in the ejb-jar file 'test'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    </pre>
    This is why: wlcompile will put the class files in the App-Inf/classes directory unless it finds an ejb-jar.xml file in the META-INF directory for the module it is working on. With EJB 3.0, I wasn't using an ejb-jar.xml file because it was unnecessary. Later, Appc runs and it complains <b>because there are no classes module directory, they went into the shared ear folder instead.</b>
    Here's I how it working again: Use javac [not wlcompile] to compile the EJB 3.0 module and make sure that the class files go into the correct module directory. Then you can use wlappc to generate all the associated files for the EJB. I have sucessfully deployed an ear file that uses both EJB 2.x and EJB 3.0 with this approach.
    I wish Weblogic's own ejb3.0 sample application used their split directory deployment.
    Good Luck.
    John Aronson

    Hi John,
    I am working on development an enterprise application using EJB 3.0 on Weblogic 10.
    While developing, I am keeping all my classes (from ejb's as well as web) into APP-INF/classes directory. It is working fine for Web and ejb 2.0 packages, but ejb 3.0 packages, I get the following error when I keep my ejb 3.0 beans classes in APP-INF/classes directory.
    No EJBs found in the ejb-jar file 'customer'. Please ensure the ejb-jar contains EJB declarations via an ejb-jar.xml deployment descriptor or at least one class annotated with the @Stateless, @Stateful or @MessageDriven EJB annotation.
    One solution is to keep the classes under customer ejb directory, but I wan tto keep all the classes in APP-INF/classes directory so that when using Eclipse IDE I can output all compiled sources into APP-INF/classes directory.
    Has anyone faced this situation? Any suggestions to fix this issue?

  • Using Oracle8 JDBC Drivers with WebLogic 5.1

    We are currently using the BEA WebLogic 5.1 application server and Oracle 8.0.4. We are using the JDBC OCI driver that came out-of-the-box with the WebLogic software. However, we would like to use the driver developed by Oracle, instead.
    Does the Oracle8 JDBC driver (both type 2 and type 4) interoperate with WebLogic 5.1? If not, what are the problems that prohibit them being used together?
    Thanks... Steve Bursch

    Summarizing from previous threads on this forum (I have not run this configuration myself):
    The main issue is that you will not be able to use Oracle-specific functionality from the Oracle driver.
    This includes all types in oracle.sql, or any APIs on oracle.jdbc.driver.OracleXxxx classes, or JPublisher-generated wrappers for SQL Object Types, collections, or REFs.
    Also, since Oracle does not support side-channel result sets, but requires explicit REF CURSOR out parameters from stored procedures/functions, you will not be able to return REF CURSORs to the client, from stored proedures or functions - the getCursor() API that is required is Oracle-specific and not part of JDBC.
    As long as you limit yourself strictly to standard JDBC types, and do not require the return of result sets from the server, you should probably be fine.

  • Using Cisco  LocalDirector 400 with WebLogic

              Does anyone have any feedback on using Cisco LocalDirector with WebLogic 8.1 cluster
              - especially wityh SSL persistence
              Thanks
              Henry
              

    Is there any specific issue you are trying to resolve?
              "Henry Nghiem" <[email protected]> wrote in message
              news:40f548d5$1@mktnews1...
              >
              > Does anyone have any feedback on using Cisco LocalDirector with WebLogic
              8.1 cluster
              > - especially wityh SSL persistence
              >
              > Thanks
              > Henry
              

  • Unable  to start weblogic.admin utility

    Hi,
    I am getting "Can't find class weblogic.Admin" error When I were running the command
    "java weblogic.Admin t3://<ip>:7005 version".
    The version of weblogic server I am runnng is 5.1 SP6.
    Please help.
    Thanks
    Yxu

    you have to set your environment before running the following command.
    There's a setEnv.cmd in your weblogic-home
    Kumar
    "Yxu" <[email protected]> wrote in message
    news:3c977e17$[email protected]..
    >
    Hi,
    I am getting "Can't find class weblogic.Admin" error When I were runningthe command
    "java weblogic.Admin t3://<ip>:7005 version".
    The version of weblogic server I am runnng is 5.1 SP6.
    Please help.
    Thanks
    Yxu

  • Airport admin utility with Hawking base station?

    Hello;
    I just bought an iMac with OS 10.4.2. Previously I was using a Hawking router with wireless, but I connected it to my old laptop by ethernet. Now I would like to use wireless. It works fine, except I would like to set-up the Hawking base station with security. Admin utility does not see the Hawking. Can this be done without buying an airport express or extreme? (I have checked the discussions but it seems no one has tried this. I have also looked at the Hawking websites but there are no patches that I can find)
    John

    Thanks guys for the quick response. However, (perhaps I'm an idiot) but the only thing that happened when I punched in the IP address you gave me into the browser was "could not find the server". No utility opened. I tried it in both Safari and Firefox to the same affect. Am I doing that right?
    Johnvand
    iMac G4 1.33 ghz OSX.4.2

Maybe you are looking for

  • Error while Activating ODS 0FIGL_O02

    Dear All. i load the data from R/3 into my ODS 0FIGL_O02 it loads succesfull in PSA and then into ODS with green light, but when i try to activate the request it gives me following error. Value 'As Per Nabeel' (hex. '41007300200050006500720020004E006

  • Syncing iphone to itunes with windows 8

    When I connect my iphone to sync with itunes in Windows 8 my phone does not connect in iTunes.  Can you help?

  • Recovery of data from corrupted memory card(mini S...

    Hello friends, i just wanna know if there is any way to recover data from my mini SD memory card.Much of my valuable data is in it and i don't wanna lose it for anything. I just want to make sure if there's any any way!

  • Without Warning, OSX 10.6.8 emailer has epic fail

    Even my MacGuru of some 17years could not figure what the *wild weasel* malfunction was coming from. He's the one who steered me to use the designated iCloud account page. Suddenly, for no apparent reason, my 10.6.8 emailer *epically failed* to recei

  • ?how to i fix my ipod that is disabled

    i cant get itunes to update and it wont  let me restore my ipod! i dont know what to do!