JavaScript to Java with the Java Plugin, anyone?

The java.sun.com web site seems to be teeming with docs on how to access JavaScript from Java, and the Netscape site seems to have plenty of docs on how to access Java methods from JavaScript using the browser's own JRE.
But can one use JavaScript to access methods of a Java applet running under the Java Plugin? And if so, how?

all the public methods and fields of an applet are exposed to javascript. In the <applet> tag, set...
<applet ...otherinfo... mayscript></applet>, or
<applet ...otherinfo... mayscript="true"></applet>
I think the latter version is safer to use, as I think IE has issues if you just use the mayscript tag without the "true" value.
So if that is set, in javascript all you have to do is address the applet, and call any of its public fields/methods. (Actually, I know you can call all public methods and I think you can call all the public fields as well...)
var applet = self.document.applets[0];So now you can call all the public members, such as...
applet.start();
applet.stop();
applet.myPublicFn1();
applet.myPublicFn2(arg1, arg2);
var val = applet.pubField1;etc.
Note that if you're using Java2 (swing) thru the object/embed tags rather than just using the applet tag, things don't work that smoothly. I tried once and the applet wasn't actually found in the applets collection of the document. I tried finding the 'applet' object but had no such luck...
Hope that helps.
Good luck.

Similar Messages

  • Has anyone else had problems with the latest system updates to Mac OS X v10.6.8 with the java virus patch?

    After installing the latest updates to Snow Leopard the system hangs up and will not open properly.  This is the update to Java, etc after the virus was discovered.  I have done the updates on four different systems with the same result. 

    No problems with the Java update here, although I have Java disabled. Might try reapplying the Java standalone while in Safe Boot (Shift at startup chime), if you did it from Software Update.
    http://support.apple.com/kb/DL1516

  • Can I create a cert with the Java API only?

    I'm building a client/server app that will use SSL and client certs for authenticating the client to the server. I'd like for each user to be able to create a keypair and an associated self-signed cert that they can provide to the server through some other means, to be included in the server's trust store.
    I know how to generate a key pair with an associated self-signed cert via keytool, but I'd prefer to do it directly with the Java APIs. From looking at the Javadocs, I can see how to generate a keypair and how to generate a cert object using an encoded representation of the cert ( e.g. java.security.cert.CertificateFactory.generateCertififcate() ).
    But how can I create this encoded representation of the certificate that I need to provide to generateCertificate()? I could do it with keytool and export the cert to a file, but is there no Java API that can accomplish the same thing?
    I want to avoid having the user use keytool. Perhaps I can execute the appropriate keytool command from the java code, using Runtime.exec(), but again a pure java API approach would be better. Is there a way to do this all with Java? If not, is executing keytool via Runtime.exec() the best approach?

    There is no solution available with the JDK. It's rather deficient wrt certificate management, as java.security.cert.CertificateFactory is a factory that only deals in re-treads. That is, it doesn't really create certs. Rather it converts a DER encoded byte stream into a Java Certificate object.
    I found two ways to create a certificate from scratch. The first one is an all Java implementation of what keytool does. The second is to use Runtime.exec(), which you don't want to do.
    1. Use BouncyCastle, a free open source cryptography library that you can find here: http://www.bouncycastle.org/ There are examples in the documentation that show you how to do just about anything you want to do. I chose not to use it, because my need was satisfied with a lighter approach, and I didn't want to add a dependency unnecessarily. Also Bouncy Castle requires you to use a distinct version with each version of the JDK. So if I wanted my app to work with JDK 1.4 or later, I would have to actually create three different versions, each bundled with the version of BouncyCastle that matches the version of the target JDK.
    2. I created my cert by using Runtime.exec() to invoke the keytool program, which you say you don't want to do. This seemed like a hack to me, so I tried to avoid it; but actually I think it was the better choice for me, and I've been happy with how it works. It may have some backward compatibility issues. I tested it on Windows XP and Mac 10.4.9 with JDK 1.6. Some keytool arguments changed with JDK versions, but I think they maintained backward compatibility. I haven't checked it, and I don't know if I'm using the later or earlier version of the keytool arguments.
    Here's my code.
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.security.KeyStore;
    import java.security.KeyStoreException;
    import java.security.NoSuchAlgorithmException;
    import java.security.cert.CertificateException;
    import javax.security.auth.x500.X500Principal;
    import javax.swing.JOptionPane;
    public class CreateCertDemo {
         private static void createKey() throws IOException,
          KeyStoreException, NoSuchAlgorithmException, CertificateException{
         X500Principal principal;
         String storeName = ".keystore";
         String alias = "keyAlias";
         principal = PrincipalInfo.getInstance().getPrincipal();
         String validity = "10000";
         String[] cmd = new String[]{ "keytool", "-genKey", "-alias", alias, "-keyalg", "RSA",
            "-sigalg", "SHA256WithRSA", "-dname", principal.getName(), "-validity",
            validity, "-keypass", "keyPassword", "-keystore",
            storeName, "-storepass", "storePassword"};
         int result = doExecCommand(cmd);
         if (result != 0){
              String msg = "An error occured while trying to generate\n" +
                                  "the private key. The error code returned by\n" +
                                  "the keytool command was " + result + ".";
              JOptionPane.showMessageDialog(null, msg, "Key Generation Error", JOptionPane.WARNING_MESSAGE);
         KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
         ks.load(new FileInputStream(storeName), "storePassword".toCharArray());
            //return ks from the method if needed
    public static int doExecCommand(String[] cmd) throws IOException{
              Runtime r = Runtime.getRuntime();
              Process p = null;
              p = r.exec(cmd);
              FileOutputStream outFos = null;
              FileOutputStream errFos = null;
              File out = new File("keytool_exe.out");
              out.createNewFile();
              File err = new File("keytool_exe.err");
              err.createNewFile();
              outFos = new FileOutputStream(out);
              errFos = new FileOutputStream(err);
              StreamSink outSink = new StreamSink(p.getInputStream(),"Output", outFos );
              StreamSink errSink = new StreamSink(p.getErrorStream(),"Error", errFos );
              outSink.start();
              errSink.start();
              int exitVal = 0;;
              try {
                   exitVal = p.waitFor();
              } catch (InterruptedException e) {
                   return -100;
              System.out.println (exitVal==0 ?  "certificate created" :
                   "A problem occured during certificate creation");
              outFos.flush();
              outFos.close();
              errFos.flush();
              errFos.close();
              out.delete();
              err.delete();
              return exitVal;
         public static void main (String[] args) throws
              KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException{
              createKey();
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    //Adapted from Mike Daconta's StreamGobbler at
    //http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html?page=4
    public class StreamSink extends Thread
        InputStream is;
        String type;
        OutputStream os;
        public StreamSink(InputStream is, String type)
            this(is, type, null);
        public StreamSink(InputStream is, String type, OutputStream redirect)
            this.is = is;
            this.type = type;
            this.os = redirect;
        public void run()
            try
                PrintWriter pw = null;
                if (os != null)
                    pw = new PrintWriter(os);
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line=null;
                while ( (line = br.readLine()) != null)
                    if (pw != null)
                        pw.println(line);
                    System.out.println(type + ">" + line);   
                if (pw != null)
                    pw.flush();
            } catch (IOException ioe)
                ioe.printStackTrace(); 
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.security.auth.x500.X500Principal;
    public class PrincipalInfo {
         private static String defInfoString = "CN=Name, O=Organization";
         //make it a singleton.
         private static class PrincipalInfoHolder{
              private static PrincipalInfo instance = new PrincipalInfo();
         public static PrincipalInfo getInstance(){
              return PrincipalInfoHolder.instance;
         private PrincipalInfo(){
         public X500Principal getPrincipal(){
              String fileName = "principal.der";
              File file = new File(fileName);
              if (file.exists()){
                   try {
                        return new X500Principal(new FileInputStream(file));
                   } catch (FileNotFoundException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                        return null;
              }else{
                   return new X500Principal(defInfoString);
         public void savePrincipal(X500Principal p) throws IOException{
              FileOutputStream fos = new FileOutputStream("principal.der");
              fos.write(p.getEncoded());
              fos.close();
    }Message was edited by:
    MidnightJava
    Message was edited by:
    MidnightJava

  • Solution Manager systems RAM requirements - problems with the Java Engine

    Hello,
    I am about to install SAP Solution Manager 7 on a WIndows 2003 Server x64 but I need to know what the RAM requirements are? I have been having problems with the Java Engine starting and it seems to time out, I have heard that this is a very RAM hungry process and it might be why?
    Many thanks for your help in advance,
    Omar

    Hello Omar,
    To size SAP Solution Manager 7.0 EHP1 we recommend to use the SAP Solution Manager Quicksizer Tool at:
    http://service.sap.com/sizing-solman
    Here you find information on how to use the tool, how to collect input data for E2E Scenario Sizing, on SAP E2E RCA Sizing, Introscope Tuning, Wily Enterprise Manager Cluster Setup for E2E RCA Scenario and BI Aggregation Strategy in E2E Scenario.
    Please find more information about installing Solution Manager in:
    http://service.sap.com/instguides -> SAP Solution Manager
    I hope this information helps.
    Thanks,
    Mark

  • WCF WSDL shoud match with the JAVA WSDL

    Hi All,
    I have a requirement where I have the JAVA WSDL which was successfully ported to .net 4.5 as server interface. While I try to run the services by implementing the interface the WSDL output from .net doesnt match with the java wsdl.
    Can somebody say whether its possible? or is there any work around for this.
    For example 
    Java WSDL 
    <message name="submit">
    But .NET WSDL 
    <wsdl:message name="ISubmitServiceSoap_submit_OutputMessage">
    thanks,

    It is not possible.
    WCF WSDL and JAVA WSDL has his own rule for the services, so they shoule be hard for match. But we can use the svcutil.exe(https://msdn.microsoft.com/en-us/library/aa347733(v=vs.110).aspx)
    to generate proxy code and config file.

  • Remembering the proxy id/password with the Java Console

    I am running IE 6 and the Java 2 Runtime environment (v1.4.1_01). I am behind a company firewall and require a login/pasword to authenticate to the proxy (in order to surf the internet). When I connect to a site that is java enabled, the java console pops up asking for the same credentials. Is there anyway to remember these credentials so that I can bypass this popup?

    The proxy configuration page has a check box for "Use Browser Settings". Alternatively, you can manually enter proxy information in the plug in.
    Here's the problem.. Either way, there is no option to save the username and password for the proxy. This is very annoying for those of us behind corporate proxy servers.
    In Firefox, I can save my proxy username and password so that I don't have to enter it every time. But, whenever a site comes up that uses the java plug-in, I have to MANUALLY enter my proxy username and password for java. Very annoying.

  • Tthe flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all m

    the flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all mixed up as to this gets forward.

    Unfortunately, you are not addressing Adobe here in the user forums.
    However, there are many highly experienced volunteer users here willing to help.
    Can you please clarify:  are you saying that your Flood filter (whatever that is) is in your Bridge folder but not in Photoshop?
    UPDATE:  I Googled your Flood Filter and discovered it's not an Adobe filter at all.  Have you contacted its manufacturer, Flaming Pear?  What do they say?

  • I have updated my apple tv 2nd generation to the latest software but it shows the itunes symbol with the usb. Anyone know why this might be? Thanks

    I have updated my apple tv 2nd generation to the latest software but it shows the itunes symbol with the usb. Anyone know why this might be? Thanks

    If your problem persists get yourself a micro USB cable (sold separately), you can restore your Apple TV from iTunes:
    Remove ALL cables from Apple TV. (if you don't you will not see Apple TV in the iTunes Source list)
    Connect the micro USB cable to the Apple TV and to your computer.
    Reconnect the power cable (only for Apple TV 3)
    Open iTunes.
    Select your Apple TV in the Source list, and then click Restore.

  • Problems with the SMIL-plugin

    I've played around a little bit with the SMIL-plugin and ran in to some problems that might be possible bugs. Hope somebody could shed some light on this.
    1. Adding the attribute clipBegin and/or clipEnd seems to be ignored in the creation of all elements in a dynamic streaming switch. This might even be ignored on a single video element, I haven't tried that out though. I have also tried to add the "s" (seconds) suffix in the time value, but according to the TimeUtil.parseTime comments a suffix such as "s" or "min" is not needed in the time value since seconds is the default value.
    Example code:
    <smil>
        <head>
            <meta base="rtmp://domain/application" />
        </head>
        <body>
        <switch>
            <video src="mp4:ncode/video_7018_430" system-bitrate="430000" clipBegin="50" />
            <video src="mp4:ncode/video_7018_800" system-bitrate="800000" clipBegin="50" />
            <video src="mp4:ncode/video_7018_1200" system-bitrate="1200000" clipBegin="50" />
            <video src="mp4:ncode/video_7018_1800" system-bitrate="1800000" clipBegin="50" />
            <video src="mp4:ncode/video_7018_2400" system-bitrate="2400000" clipBegin="50" />
          </switch>
        </body>
    </smil>
    2. Just adding a video element without a swith throws an error:
    ERROR : error ID=1009 detail=Error #1009: Cannot access a property or method of a null object reference.
    Thanks in advance!
    Daniel

    1. Looking at the code, I believe that clipBegin and clipEnd are not currently supported for dynamic streaming resources.  This seems like a bug, given that we support these attributes for non-MBR streams.  Can you file a bug?
    2. This is probably a bug too.  Can you post your SMIL file and/or file a bug?  Thanks!
    https://bugs.adobe.com/jira/browse/FM

  • Hi, ive been having trouble passing my logic sessions to another computer, we're both using a macbook pro 10.6.8 and logic pro 9 with the same plugins, the session opens in the other computer but all the synths reset to presets

    Hi, ive been having trouble passing my logic sessions to another computer, we're both using a macbook pro 10.6.8 and logic pro 9 with the same plugins (native instruments komplete 7), the session opens in the other computer but all the synths reset to presets, this didnt happen the first time I shared a session, but its been happening lately quite often

    kwmlr439 wrote:
    CSOUND Read the title please:
    Re: Macbook Pro 10.6.8 RAM Upgarde to 8 GB
    The amount of RAM is not dependant on the operating system. It is all about the model of you Mac.
    10.6.8 is the version of OS X that is installed on your system. It has no real baring on the amount of RAM that CAN be installed.
    Personally I have never had good luck with Corsair RAM. I have always had good luck with Crucial and Kingston.
    Message was edited by: Shootist007
    Message was edited by: Shootist007

  • I am facing with the problem "plugin-container.exe has encountered a problem and needs to close. Please suggest how to fix the problem.

    I am using desktop computer with windows XP. Sometimes, I am facing with the problem "plugin-container.exe has encountered a problem and needs to close". After showing this event, the browser disappears automatically.

    See if there are any Crash Reports ID's saved.
    Type '''about:crashes''' in the Location Bar and hit Enter.
    Then open each Crash Report and once the report is loaded completely, copy and paste the URL of each report into the the '''''Post as Reply''''' box in this thread.
    IMO, seeing that you are using WinXP, you might be better off with the older Flash 10.3.183.90 version. Flash 11.0 and later have "improvements" that don't work on WinXP - only Vista and later. Adobe did continue to support and provide security updates for Flash 10.3 until a few months before WinXP went EOL back in April of this year.

  • Anyone familiar with the Java Service Wrapper?

    I'm getting errors when trying to use the Java Service Wrapper. My wrapper.conf file looks like this:
    # Wrapper License Properties (Ignored by Community Edition)
    # Include file problems can be debugged by removing the first '#'
    #  from the following line:
    ##include.debug
    #include ../conf/wrapper-license.conf
    #include ../conf/wrapper-license-%WRAPPER_HOST_NAME%.conf
    # Wrapper Java Properties
    # Java Application
    wrapper.java.command=%JAVA_HOME%\bin\java.exe
    # Tell the Wrapper to log the full generated Java command line.
    wrapper.java.command.loglevel=INFO
    # Java Main class.  This class must implement the WrapperListener interface
    #  or guarantee that the WrapperManager class is initialized.  Helper
    #  classes are provided to do this for you.  See the Integration section
    #  of the documentation for details.
    wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
    # Java Classpath (include wrapper.jar)  Add class path elements as
    #  needed starting from 1
    wrapper.java.classpath.1=C:\dbbackup\lib\wrapper.jar
    wrapper.java.classpath.2=%JAVA_HOME%\lib\tools.jar
    wrapper.java.classpath.3=C:\dbbackup\apps\JavaApplication110.jar
    # Java Library Path (location of Wrapper.DLL or libwrapper.so)
    wrapper.java.library.path.1=C:\dbbackup\lib
    # Java Bits.  On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
    wrapper.java.additional.auto_bits=TRUE
    # Java Additional Parameters
    #wrapper.java.additional.1=
    # Initial Java Heap Size (in MB)
    #wrapper.java.initmemory=3
    # Maximum Java Heap Size (in MB)
    #wrapper.java.maxmemory=64
    # Application parameters.  Add parameters as needed starting from 1
    wrapper.app.parameter.1=JavaApplication110.Main
    # Wrapper Logging Properties
    # Enables Debug output from the Wrapper.
    # wrapper.debug=TRUE
    # Format of output for the console.  (See docs for formats)
    wrapper.console.format=PM
    # Log Level for console output.  (See docs for log levels)
    wrapper.console.loglevel=INFO
    # Log file to use for wrapper output logging.
    wrapper.logfile=../logs/wrapper.log
    # Format of output for the log file.  (See docs for formats)
    wrapper.logfile.format=LPTM
    # Log Level for log file output.  (See docs for log levels)
    wrapper.logfile.loglevel=INFO
    # Maximum size that the log file will be allowed to grow to before
    #  the log is rolled. Size is specified in bytes.  The default value
    #  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
    #  'm' (mb) suffix.  For example: 10m = 10 megabytes.
    wrapper.logfile.maxsize=0
    # Maximum number of rolled log files which will be allowed before old
    #  files are deleted.  The default value of 0 implies no limit.
    wrapper.logfile.maxfiles=0
    # Log Level for sys/event log output.  (See docs for log levels)
    wrapper.syslog.loglevel=NONE
    # Wrapper General Properties
    # Allow for the use of non-contiguous numbered properties
    wrapper.ignore_sequence_gaps=TRUE
    # Title to use when running as a console
    wrapper.console.title=Test Wrapper Sample Application
    # Wrapper Windows NT/2000/XP Service Properties
    # WARNING - Do not modify any of these properties when an application
    #  using this configuration file has been installed as a service.
    #  Please uninstall the service before modifying this section.  The
    #  service can then be reinstalled.
    # Name of the service
    wrapper.name=dbbackup
    # Display name of the service
    wrapper.displayname=dbbackup
    # Description of the service
    wrapper.description=Test Wrapper Sample Application Description
    # Service dependencies.  Add dependencies as needed starting from 1
    wrapper.ntservice.dependency.1=
    # Mode in which the service is installed.  AUTO_START, DELAY_START or DEMAND_START
    wrapper.ntservice.starttype=AUTO_START
    # Allow the service to interact with the desktop.
    wrapper.ntservice.interactive=false
    STATUS | wrapper  | 2010/04/05 19:56:22 |
    STATUS | wrapper  | 2010/04/05 19:56:22 | Launching a JVM...
    INFO   | wrapper  | 2010/04/05 19:56:22 | command: "C:\Program Files\Java\jdk1.5.0_11\bin\java.exe" -Djava.library.path="C:\dbbackup\lib" -classpath "C:\dbbackup\lib\wrapper.jar;C:\Program Files\Java\jdk1.5.0_11\lib\tools.jar;C:\dbbackup\apps\JavaApplication110.jar" -Dwrapper.key="uDobXEdkbmmNM22u" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.pid=584 -Dwrapper.version="3.4.0" -Dwrapper.native_library="wrapper" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 org.tanukisoftware.wrapper.WrapperSimpleApp
    INFO   | jvm 1    | 2010/04/05 19:56:23 | WrapperManager: Initializing...
    INFO   | jvm 1    | 2010/04/05 19:56:23 |
    INFO   | jvm 1    | 2010/04/05 19:56:23 | WrapperSimpleApp Usage:
    INFO   | jvm 1    | 2010/04/05 19:56:23 |   java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
    INFO   | jvm 1    | 2010/04/05 19:56:23 |
    INFO   | jvm 1    | 2010/04/05 19:56:23 | Where:
    INFO   | jvm 1    | 2010/04/05 19:56:23 |   app_class:      The fully qualified class name of the application to run.
    INFO   | jvm 1    | 2010/04/05 19:56:23 |   app_arguments:  The arguments that would normally be passed to the
    INFO   | jvm 1    | 2010/04/05 19:56:23 |                   application.
    ERROR  | wrapper  | 2010/04/05 19:56:24 | JVM exited while loading the application.
    STATUS | wrapper  | 2010/04/05 19:56:28 | CTRL-C trapped.  Shutting down.
    STATUS | wrapper  | 2010/04/05 19:56:28 | <-- Wrapper Stopped

    I got it to work. Still not sure what I was doing wrong. I just copied a wrapper config I had for launching JBoss and implemented it into my application.
    wrapper.java.command=%JAVA_HOME%/bin/java
    wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
    wrapper.java.classpath.1=C:/dbbackup/lib/wrapper.jar
    wrapper.java.classpath.2=%JAVA_HOME%/lib/tools.jar
    wrapper.java.classpath.3=C:/dbbackup/bin/JavaApplication110.jar
    wrapper.java.library.path.1=C:/dbbackup/lib
    # these are the JAVA_OPTS
    wrapper.java.additional.1=-Dprogram.name=%PROGNAME%
    wrapper.java.additional.2=-server
    wrapper.java.additional.3=-Xms128m
    wrapper.java.additional.4=-Xmx512m
    wrapper.java.additional.5=-Dsun.rmi.dgc.client.gcInterval=3600000
    wrapper.java.additional.6=-Dsun.rmi.dgc.server.gcInterval=3600000
    wrapper.app.parameter.1=javaapplication110.Main
    wrapper.logfile=C:/dbbackup/logs/wrapper.log
    wrapper.ntservice.name=DBbackup
    wrapper.ntservice.displayname=DBbackup
    wrapper.ntservice.description=Starts and stops
    wrapper.ntservice.starttype=AUTO_START

  • Can anyone help with the java applet issue

    Hello everyone,
    This is my first thread in this forum,
    I need a little help with the form developer...
    I have oracle 9i db , 9i form developer
    I don't want to run the form i created as a java applet
    HOW IS THAT DONE i.e NOT IN THE INTERNET EXPLORER?????????
    ***IF ITS POSSIBLE

    Hello,
    I don't want to run the form i created as a java applet
    No chance, because the Web Forms client is an applet and cannot be anything else.
    Francois

  • How can I create a new User with the Java API like OIDDAS do?

    Hello,
    I'm currently working on an BPEL based process. And i need to create an OCS user. So far I can create an user in the OID. But I cant find any documentation about given this user an email account,calendar and content function etc.
    Did anybody know if there are some OIDDAS Webservices? Or did anybody know how to do this using the Java APIs?

    You are asking about a Database User I hope.
    You can look into the Oracle 8i Documentation and find various privillages listed.
    In particular, you may find:
    Chapter 27 Privileges, Roles, and Security Policies
    an intresting chapter.
    You may want to do this with the various tools included with 8i - including the
    Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
    Or use SQL*Plus. To create a
    user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
    Create user John identified by Smith;
    Grant CONNECT to John;
    Grant SELECT ANY TABLE to John;
    commit;
    There is much more you can do
    depending on your needs.
    Please read the documentation.
    -John
    null

  • Java system copy problems with the Java Migration Toolkit

    During the JAVA system copy, we have have got the error in second last
    step i.e;Java Migration Toolkit. We tried to do the system copy twice
    but every time we have got the below error.
    Is this a know bug? I have got the OSS note 966752 but the value
    of 'src.ci.host' is already correct. has anybody come across the similar issue. please help.
    " CJSlibModule::writeInfo_impl()
    Output of /usr/java14_64/bin/java -
    classpath /usr/sap/CMT/SYS/global/sltools/sharedlib/launcher.jar:. -Xj9
    com.sap.engine.offline.OfflineToolStart
    com.sap.sdt.jmt.migrationtool.MigrationToolImport /usr/sap/CMT/SYS/global/sltools/jmt:/usr/sap/CMT/SYS/global/sltools/sharedlib import.switch
    resume downtime mti.properties is written to the
    logfile /home/cmtadm/CI_Import_08312009/runJmt.log.
    WARNING 2009-09-01 20:49:43.473
    CJSlibModule::writeWarning_impl()
    Execution of the command "/usr/java14_64/bin/java -
    classpath /usr/sap/CMT/SYS/global/sltools/sharedlib/launcher.jar:. -Xj9
    com.sap.engine.offline.OfflineToolStart
    com.sap.sdt.jmt.migrationtool.MigrationToolImport /usr/sap/CMT/SYS/global/sltools/jmt:/usr/sap/CMT/SYS/global/sltools/sharedlib import.switch
    resume downtime mti.properties" finished with return code 27. Output:
    ERROR 2009-09-01 20:49:43.477
    CJSlibModule::writeError_impl()
    CJS-20068 Error when running the J2EE Migration Toolkit.<br>SOLUTION:
    See output of logfile /home/cmtadm/CI_Import_08312009/runJmt.log: ''.
    ERROR 2009-09-01 20:49:43.479
    CJSlibModule::writeError_impl()
    CJS-20068 Error when running the J2EE Migration Toolkit.<br>SOLUTION:
    See output of logfile /home/cmtadm/CI_Import_08312009/runJmt.log: ''.
    ERROR 2009-09-01 20:49:43.480 [iaxxgenimp.cpp:731]
    showDialog()
    FCO-00011 The step RunMigrationController with step key
    |NW_Doublestack_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Configure_Java|ind|ind|ind|ind|4|0|NW_RUN_MIGRATION_CONTROLLER|ind|ind|ind|ind|2|0|RunMigrationController was executed with status ERROR ."
    There is no log file by the name runJmt.log.
    Regards,
    Sagar

    This issue was resolved by OSS note 966752 itself. Below is the important line in the OSS note.
    Note: The default value is crucial! If a custom value other than the default value was applied, we highly recommend that you restore the default value.
    Thanks,
    Sagar

Maybe you are looking for

  • Error while sending data to supplier

    Hi All, We are facing the errors while sending transaction to our supplier.Actually we send 60 transactions to our supplier in which 15 are errored out in B2B with the below error. Please help me in resolving this. 2010.06.09 at 16:40:04:876: Thread-

  • Cursed by ITunes 9. Install has left me with jumbled text and miserable...

    ....Podcast directory! I installed ITunes 9 yesterday and now have some major complaints. They are as follows: 1. Why is the the banner that usually displays the song title and time left of the song just an unreadable smudge? 2. Why is my podcast pag

  • Funtion calling a procedure (getting errors)

    HI, I am calling a procedure inside a function(see code below). Please see my second post for the code: Message was edited by: SeshuGiri

  • Iplanet 6.0 sp2 installation aborts

    I'm installing iplanet 6.0 sp2 on solaris 2.8. After choosing my installation options I'm getting a message when it attempts to install the server core components... "Interrupt [11]. Installation aborts". I did have iplanet 6.0 previously installed b

  • Regular expression vs oracle text performance

    Does anyone have experience with comparig performance of regular expression vs oracle text? We need to implement a text search on a large volume table, 100K-500K rows. The select stmt will select from a VL, a view joining 2 tables, B and _TL. We need