Running logminor from OEM java based console

Hi,
I don't see a few applications when i launch java based OEM from my Administration Client (Oracle 10g). For example i don't see logminor viewer in it but from the web, i have searched that i can use "oemapp.bat lmviewer" command to do this. How can i launch tablespace map viewer which was available with oracle 9i OEM. I don't see this with 10g. What are the other applications i can invoke by passing some parameter to "oemapp.bat" file.
Thanks
Salman

Those who live by the GUI, die by the GUI!
Learn to operate from command line & you'll be self sufficient.

Similar Messages

  • Running ssh from within java program

    Hi!
    I am trying to start ssh from within java e.g.:
    Runtime run = Runtime.getRuntime();
    Process pro = run.exec("ssh -l xx 12.12.12.12");
    But it complains:
    socket: Operation not permitted
    ssh: connect to host 12.12.12.12 port 22: Operation not permitted
    Running ssh from the command prompt works just fine. It's run on win xp.
    What is the problem, and how can I avoid it?
    Endre

    Afraid not. I think maybe it's related to security permissions, but I am really not sure. If you can help, I would appreciate it.
    - Endre

  • How to run tools from a java archive

    I used to run Multivalent from http://multivalent.sourceforge.net/ but am now getting error messages like this:
    Exception in thread "main" java.lang.NoClassDefFoundError: tools/pdf/Impose
    This happens even when I'm in the directory containing the jar file.
    I've never installed it by myself though so am not sure that I've done it right. I put the jar file into ~/library/java but that was a guess after reading lots of web pages that don't quite say what to do. They assume that I've read some intro material that I haven't been able to find.
    Any pointers on where I can find out how to do this right?
    In case it's relevant, java -version returns:
    java version "1.5.0_16"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
    Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
    and echo $CLASSPATH returns a blank line.

    wyvern-eater wrote:
    I used to run Multivalent from http://multivalent.sourceforge.net/ but am now getting error messages like this:
    Exception in thread "main" java.lang.NoClassDefFoundError: tools/pdf/Impose
    This happens even when I'm in the directory containing the jar file.
    I've never installed it by myself though so am not sure that I've done it right. I put the jar file into ~/library/java but that was a guess after reading lots of web pages that don't quite say what to do. They assume that I've read some intro material that I haven't been able to find.
    Any pointers on where I can find out how to do this right?
    In case it's relevant, java -version returns:
    java version "1.5.0_16"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
    Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
    and echo $CLASSPATH returns a blank line.
    You would do better reposting in our Unix forum here:
    http://discussions.apple.com/forum.jspa?forumID=735

  • How to run tools from a java archive (jar file)

    I used to run Multivalent from http://multivalent.sourceforge.net/ but am now getting error messages like this:
    Exception in thread "main" java.lang.NoClassDefFoundError: tools/pdf/Impose
    This happens even when I'm in the directory containing the jar file.
    I've never installed it by myself though so am not sure that I've done it right. I put the jar file into ~/library/java but that was a guess after reading lots of web pages that don't quite say what to do. They assume that I've read some intro material that I haven't been able to find.
    Any pointers on where I can find out how to do this right?
    In case it's relevant, java -version returns:
    java version "1.5.0_16"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
    Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
    and echo $CLASSPATH returns a blank line.

    Not necessarily. The -cp parameter can include a complete file spec. You can create a Unix alias for the whole command line. For example:
    alias compress='java -cp ~/JarFolder/Multivalent20060102.jar tool.pdf.Compress'
    I use Multivalent tools a lot for maybe a week at a time, then don't touch them for a couple of months. During the downtime I'd just forget aliases like this.
    On Macs, the default classpath includes the folder /Library/Java/Extensions. If you drop the jar file into this folder then you won't need to specify an explicit CLASSPATH variable nor the -cp option.
    I thought so too, but it doesn't appear to be the case on my computer. Both /Library/java/extensions and ~/library/java are on DefaultClasspath but CLASSPATH is empty. And even when the directories are specified, the jar file in it is ignored unless I specify that explicitly as well. I do not remember needing to do that in the past. It used to just work when it was in a classpath directory.
    I get the impression that something has changed in how Mac Java handles the classpath. In searching for answers I noticed that many people were attributing their difficulties to a classpath change in a recent update. It is not something that I see myself dealing with in the near future. But it would be helpful to know of a primer for newcomers to Java and the OS X directory conventions so they know where to put things and what paths to set for basics like this.

  • Running Tomcat from a java program

    I'm writing a program that shall run Tomcat from the program itself. The eacy way would be to just call org.apache.catalina.startup.Bootstrap.main(String[]) in a new thread, but that gives only a little information to the program about the state of the server. Actually I would only know when the server is told to start (just before the main method is called), and when the server had stopped (just after the main method).
    I have browsed the Catalina API documentation and source code for hours, but the only solution I have gotten, writes the standard startup text:
    Starting service Tomcat-Standalone
    Apache Tomcat/4.0.4
    Starting service Tomcat-Apache
    Apache Tomcat/4.0.4If I could get that to work, I would could add a LifecycleListener, and get all the info. I need.
    The essence of the code I use is this:
    CatalinaService cs = new org.apache.catalina.startup.CatalinaService();
    Server s = new StandardServer();
    StandardService stdService = new org.apache.catalina.core.StandardService();
    s.addService(stdService);
    cs.setServer(s);
    cs.process(new String[]{"start"});but the following also produce a simmilar result:
    BootstrapService b = new org.apache.catalina.startup.BootstrapService();
    b.load(new TomcatLoader(),null);
    b.start();A dirty solution would be to copy the code form Bootstrap.main(String[]) and add a few lines, but I really dosn't like that. It would be a nightmare to maintain, primiarry because I would loose the functionallity of Catalinas class loader (where a lof of classes is loaded).
    Does anybody know how I can get Tomcat to run, so I still get my info. and don't use any dirty solutions?

    Check out the main method in the source code of class org.apache.catalina.startup.Embedded
    It should help you.
    Also check out this article
    http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html

  • Facing problem with running exe from my java code

    Hello,
    I have to run the exe from java code for which I m using Runtime and Process classes. The exe runs in the following way on command line
    C:/ myexe -j [now press enter]
    input sentence followed by ! [now press enter]
    And after this exe gives the output.
    So is there any way to achieve this programmatically in Java?
    Thanks in advance.
    Regards,

    I m confused .. how can i pass input to the Process through InputStream? I think it will need OutputStream for that.
    Here is my code...
    import java.io.*;
    class CallToExe
    static BufferedReader br;
    public static void main(String[] args)
    File F = new File("C:/Chasen.exe");
    try
    if( F.exists())
         System.out.println("Exe exists");
         Runtime rt = Runtime.getRuntime();
         Process proc = rt.exec("C:/chasen.exe");
         br = new BufferedReader(new InputStreamReader(in));
         int a = in.read();
         System.out.println(a);
         String res = br.readLine();
         System.out.println(res);     
         while(!res.equals(null))
         System.out.println(res);     
         res = br.readLine();
    proc.waitFor();
         proc.destroy();
    catch(NullPointerException npe)
         npe.printStackTrace();
    catch (Exception IOEx)
    IOEx.printStackTrace();
    But it doesnt work as my chasen.exe needs arguments from stdin.
    The way exe works is as follows.
    on command prompt>>
    C:/chasen.exe -j [ Need to press ENTER here]
    input statement . [ Need to press ENTER here too]
    Then output is displayed on command prompt which can be taken from InputStream of the process. But I m not able to properly run this exe itself with all the arguments frm Stdin

  • I am not able to install or run most of the java based programs on Solaris8

    I am getting java.lang.UnsatisfiedLinkError in most of the java dependent programs running on Solaris 8 box. I suspect something wrong with the Java library or files. Can anyone assist please. Thanks in advance.
    ./startconsole
    Exception in thread "main" java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.loadLibraries(Toolkit.java:1070)
    at java.awt.Toolkit.<clinit>(Toolkit.java:1091)
    at java.awt.Color.<clinit>(Color.java:188)
    at javax.swing.plaf.metal.MetalTheme.<clinit>(MetalTheme.java:27)
    at javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:1031)
    at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1036)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:361)
    at com.netscape.management.client.console.Console.common_init(Unknown Source)
    at com.netscape.management.client.console.Console.<init>(Unknown Source)
    at com.netscape.management.client.console.Console.main(Unknown Source)

    google gave me this
    http://www.velocityreviews.com/forums/t126255-answer-to-unsatisfiedlinkerror-jni.html

  • Sales order information to be captured from a java based website

    Sales order information entered in java nabled website needs to be retrieved into SAP system and a sales order needs to be created in this system.
    And as soon as a sales order is created an bdoc needs to be triggered and sent to the CRM system...
    Middleware available for Java SAP interface.
    Do i need to call BAPI to retrieve the sales  info from middleware ??
    How does an idoc trigger as soon as a sales order created i SAP  system???
    Can any one help me out .Its urgent!!!
    Regards ,
    Lavanya

    Hi,
    You have to create a BAPI to read the data from java, the structure has to be the same as in the java system. once the data is read into the SAP system then you need the idoc to carry the data.
    regards
    Gokul
    <b>Reward Points if Useful</b>

  • Problem in running job from OEM

    I have registered JOB with OEM using TCL script from warehouse builder. I login to OEM and it shows me one job in JOB library. Now i submit this job. It keeps on showing status submitting on the Active jobs tab. It does not do anything
    Thanks in advance.

    Hi Garcia,
    Thanks a lot for this help. Acutally "select count(1) from dual" was returning 3 initally so i have used delete statement twice and now its returning only one value. Though problem is solved but still i couldn't understand the cause of this.
    Thanks a lot again.
    Regards,
    Ashish.

  • Run sqlldr from Java

    Hi,
    Trying to run sqlldr from a java Runtime.exec() object. Command line looks good and works if you run it by hand on a console/terminal.
    [cmd-line]
    /oracle/product/10.2/bin/sqlldr userid=usr/pwd@SID control=./app/ctl/office-dept.ctl
    [cmd-line]
    So I kick off the java process and it reaches the command and starts to run it...Then the process just hangs. It never returns...There's no progress either as I monitor the database table for records to be loaded.
    JDK 1.6.0
    Oracle 10.2
    Unix AIX 5.3
    [log-file]
    2011-08-25 12:38:30,777 [main] DEBUG the.weekly - hasTaskStatus()...Complete...Return Status [true] for [null]
    2011-08-25 12:38:30,777 [main] DEBUG the.weekly - Running command [ /oracle/product/10.2/bin/sqlldr userid=usr/pwd@SID control=./app/ctl/office-dept.ctl ]
    [log-file]
    Same Java class that is running this command line works with other command line tools, so I'm pretty sure the Java code is OK. The sqlldr logfile gets emptied, but then never gets any output. I get nothing.
    tia,
    adym

    This is solved...turns out my Java class wasn't quite as correct as I wished...
    Had to move my getErrorStream() and getInputStream() readers above the .waitFor() call...
                            // runConsoleCommand( true ); /* wait for the command to finish  */
                            // OUTPUT : Process the command output...
                            while ((lrowLine = getCommandOutput().readLine()) != null) {
                                getLog().debug( lrowLine );
                                // SCAN : test the output for a success state...
                                if ( lrowLine != null ) {
                                    if ( lrowLine.contains(getCommandSuccess()) ) {
                                        lblnDone = true;
                                        lstrResults = "1";
                            // OUTPUT : Process the error output...certain
                            // commands and command tools may route error
                            // and output into the same stream...
                            while ((lrowLine = getErrorOutput().readLine()) != null) {
                                getLog().debug( lrowLine );
                                // SCAN : test the output for a success state...
                                if ( lrowLine != null ) {
                                    if ( lrowLine.contains(getCommandSuccess()) ) {
                                        lblnDone = true;
                                        lstrResults = "1";
                            exitValue = lrunCommand.waitFor();hth,
    adym

  • Need to find out how much % of query completed from OEM

    Need to find out how long will a query take to run or when I am running the query where can I check to see that X% of my query is complete.
    Is that % shown on OEM --> Performance --> Top Activitity?

    Under OEM/GC of release 10g you won't be able to see how long the query will take neither how much % of a query are already finished.
    I know that this functionality was given in the old release of the OEM (javas based GUI with ll the databases on the left side). I'm missing
    that old functionality, too...

  • Problem with  JFrame (I'm thinking) from enother java program

    Hi,
    I'm using jasperReport and running viewReport from my java application.
    JasperPrint jasperPrint = JasperFillManager.fillReport(
                             jasperReport, parameters, conn);
                   JasperViewer.viewReport(jasperPrint, true);
    My problem is when I'm closing the view report, my java aplication closing twe!
    I think it's because the view frame sel exit(0)?
    and one more question, if I run this viewReport from JButton in a JDIalog, the view location is under my dialog, how can I set this view to be allways on top??
    Thanks alot :)

    The following code is running without problems (SQLSERVER),and you can compared with yours.
    public static Connection con;
         public  Statement sta;
         public ResultSet rst;
         public CallableStatement  cas = null;
         public int OutPut;
    public void doProcedures(String str,Vector vec){
                   try {
         String s=null;
                        con=null;
                        rst=null;
                        Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
                                            con = DriverManager.getConnection(getConnectionString(), "sa","");               
                                         s=str;
                        s="{call"+" "+s+"(?,?,?)}";
                    cas=con.prepareCall(s);
                       cas.registerOutParameter(1, java.sql.Types.INTEGER ); 
                       for(int i =0;i<vec.size();i++){                   
                      cas.setInt(i+2,Integer.parseInt ((String)vec.elementAt(i)));  
                       cas.execute() ;
                       OutPut =cas.getInt(1);
                       rst = cas.executeQuery();
                      // while(rst.next()){
                           // String output=rst.getString(1);
                       //rst.close() ;
                   } catch (Exception e) {
                        e.printStackTrace();
    Good Luck,baby!!!

  • Calling a webservice(JAX-RPC) from non java client ?

    Hi,
    I read JAX-RPC is used for accessing webservices by calling the webservice methods from a java-based client.
    Is it possible to call the Webservice methods(writeen using jax-rpc) from a non-java client,who sends his request in the form of SOAP based calls?
    If JAX-RPC is not the correct one to call a RPC from a non-java client,In what way i can do this?
    Can anyone please clarify my doubt..,
    Thanks in Advance
    Rao.,

    Hi Arun,
    Can i write a my client program using cgi scripts?
    In the JAX-RPC docs it was said that i can invoke my Webservices through my Service endpoints or using WSDL location?
    If iam using a Non-java Client,it will be easier(I think) to use the WSDL file to call the Web-Service(deployed using JAX-RPC).But,the Client should be aware of that WSDL file.
    I have to develop a small Application using webServices(must use XML,SOAP technologies).The user will pass some Parameters as request and the Response should be an XML(SOAP message) message.User should be able to request via browser.(http://localhost:8080/)
    Can you please suggest me which technology is correct to use,so that i can use the XML,SOAP in it.
    Please let me know...,
    thank you once again..,
    Regards
    Rao.,

  • I am running Mac OS 10.6.7 I cannot run a java based program from the net when parental controls are set the error is The error is Load: class installer.CheckVersion 13. class not found  Help!

    I am running Mac OS 10.6.7 I cannot run a java based program from the net when parental controls are set the error is The error is Load: class installer.CheckVersion 13. class not found 

    Then, talk to the person running the lab.

  • Sol. Mgt. Console/printmgr - java based utils fail

    I am running Solaris 8 on a laptop. Everything works fine except for the Solaris Management Console and printmgr. These are java based apps and both fail. The error messages from printmgr are:
    Exception in thread "main" java.lang.NullPointerException: NullPointerException
    at sun.awt.motif.MFramePeer.pSetIconImage(Native Method)
    at sun.awt.motif.MFramePeer.setIconImage(MFramePeer.java:217)
    at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:175)
    at sun.awt.motif.MToolkit.createFrame(MToolkit.java:144)
    at java.awt.Frame.addNotify(Frame.java:274)
    at java.awt.Window.pack(Window.java:262)
    at com.sun.admin.pm.client.pmTop.main(pmTop.java:1178)
    The Management Console has similar errors.
    I wrote a simple java program and it runs fine. It appears that the "native method" it's looking for is missing.
    Has anyone seen this before or have any suggestions?
    Neil.

Maybe you are looking for

  • Importing FrameMaker Projects in RoboHelp

    Hi, I currently have FrameMaker 6.0 and a trial version of RoboHelp HTML 8.  I want to import FrameMaker files (.fm and .book) but get the error message "This operation cannot be completed without FrameMaker. Please instrall FrameMaker and try again"

  • Continuation of Field Shift Question

    This is a continuation of my previous question which was answered.  Using the rect property, I am able to move a field horizontally or vertically based on the value of a radio button (yes/no).  If Yes, I want to shift a specific field down.  If No, I

  • Will Lightroom 4 work with Mac OS 10.7.5?

    I have bought Lightroom 4 from Adobe online and downloaded it to my Mac but can't open or activate it. Will it work with Mac OS 10.7.5?

  • I have an ipad and ipad mini, do i get 2 accounts

    Should i set up a different account for my new ipad mini? If i use the same apple id acount would each device get 5GB on th eicloud or have to share the same 5GB icloud?

  • Flash CS4 Video Poorer Quality Than Flash 8

    I've upgraded to Flash CS4 from Flash 8 Pro and find the quality of the FLV video is noticeably poorer now for the same Adobe Media Encoder settings. In addition, the video encoded using CS4 won't play on my web server. If I export from Premier Pro t