Oracle 11g application won't start sometimes(jar files issue)

Hello,
The issue we experience is that now and then, our forms 11g application
won't start.
So it can be the case that, for example, the application can be started
succesfully 5 times in a row, but the 6th and 7th time, it won't start
anymore. But when we relaunch it for the 8th time, it launches perfectly.
When the application isn't starting, a new window is opened having a yellow triangle
with an exclamation mark on the top right corner.
After a long period, we suddely discovered that it had something to do with ".jar" files.
Because when we clear the "java jar cache" on the client machine
(start -> control panel -> java -> "general" tab -> "view..." button -> select all the files and click on the
cross(remove selected sources) ), the application succesfully starts for about 10 times in a row.
But the first time we start the application(after clearing the cache), it takes much longer, because the application
is downloading the .jar files again. (java logo appears with a progress bar)
But clearing the cache every time before starting the application can't be a decent solution we think.
When we enable all java debugging info in the console, we received the error below 2 times when launching a application session that refused to start:
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt)
     at java.security.AccessControlContext.checkPermission(Unknown Source)
     at java.security.AccessController.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPermission(Unknown Source)
     at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
     at sun.plugin2.applet.Applet2SecurityManager.checkPackageAccess(Unknown Source)
     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
     at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at oracle.forms.engine.Main.initDesktop(Unknown Source)
     at oracle.forms.engine.Main.start(Unknown Source)
     at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Anyone having a clue ?
thanks in advance !

Sorry, I meant WEB-INF\lib in the WAR file inside my EAR.
I put all the jar files in the WEB-INF\lib of the WAR file but it still does not work. I have to specify them in the classpaths and put the jar files in the domains\domain\lib directory
I thought if you put it in the WEB-INF\lib then you don't have to put them in the classpath.
Am I right?

Similar Messages

  • Server won't start and JAR files

    My application uses external classes (quartz, jersey, jackson) and I included all the jar files containing the external classes in the WEB-INF\lib directory of the EAR file already. I deployed it to WLS 10.3.5 on windows but when I tried to start it up, it failed to start up.
    I copied all those jar files and put them in the <domain>\lib directory and add in the classpath section on the ServerStart tab of the server then it started up.
    I thought if you include those jar files in the WEB-INF\lib of the EAR file then you don't need to put them in the <domain>\lib and specify in the classpath section?
    Do you have any ideas?

    Sorry, I meant WEB-INF\lib in the WAR file inside my EAR.
    I put all the jar files in the WEB-INF\lib of the WAR file but it still does not work. I have to specify them in the classpaths and put the jar files in the domains\domain\lib directory
    I thought if you put it in the WEB-INF\lib then you don't have to put them in the classpath.
    Am I right?

  • Application won't work as JAR file

    Hello all,
    I am new to java and just wrote my first java program today. I finally got it compiled and working. I have no problems running the application from the command line when the application is not JARred up. When I JAR is up, the application will launch, but the one function it is supposed to excute doesn't work anymore. I created the JAR file with a main class definition in the manifest file.
    The error the console is spitting out when the action executes is this:
    Exception occurred during event dispatching:
    java.lang.NoClassDefFoundError: lotus/domino/NotesException
    Now, this appears to be not finding one of my imported classes, but I have my classpath set to include the package. It works fine when the app is not a JAR, but when it is I get the above error.
    Can anyone point me in the right direction?
    Thanks in advance!
    _george                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Executable jar files do not use the classpath, at least they don't use the CLASSPATH environment variable. (I assume that's what you are referring to when you say "I have my classpath set...".) Instead, they use the classpath defined in their manifest files. You have main-class defined there, you have to define classpath there too. Here's a link to an explanation:
    http://java.sun.com/docs/books/tutorial/jar/basics/manifest.html

  • JavaFX Application won't start

    When i start an example application e.g. LocalSearch i will get an error and the application won't start. Whatever i try, LocalSearch.jnlp or LocalSearch.html or another application from the javafx site, i see only the pretty java-gif-circle.
    It looks like that there is an update in progress on the sun site and the new files are not available.
    Even the 'javaws -import http://dl.javafx.com/javafx-cache.jnlp' update command failed with this exception.
    What happening here?
    Here is the exception:
    com.sun.deploy.net.FailedDownloadException: Ressource konnte nicht geladen werden: http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.io.FileNotFoundException: http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar
         at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         ... 20 more
    Greetz
    Mike

    I tried to clear the cache, but the problem still exists.
    here a snippet from the java console when i launch the LocalSearch application:
    network: Created version ID: 1.6.0.16
    network: Created version ID: 1.6
    network: Cache-Eintrag gefunden [url: file:/D:/project/netbeans/Local%20Search/dist/LocalSearch_browser.jnlp, Version: null]
    temp: new XMLParser with source:
    temp: <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="file:/D:/project/netbeans/Local%20Search/dist/" href="LocalSearch_browser.jnlp">
    network: Cache-Eintrag nicht gefunden [url: http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar, Version: null]
    network: Cache-Eintrag nicht gefunden [url: http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar, Version: null]
    network: Verbindung von http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar mit Proxy=DIRECT wird hergestellt
    network: Verbindung von http://dl.javafx.com:80/ mit Proxy=DIRECT wird hergestellt
    network: Verbindung http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar mit Cookie "s_sq=sunglobal%2Csunjavafx%3D%2526pid%253Djavafx%25253A/learn/community.jsp%2526pidt%253D1%2526oid%253Dhttp%25253A//forums.sun.com/forum.jspa%25253FforumID%25253D932%2526ot%253DA; s_cc=true"
    java.io.FileNotFoundException: http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.downloadResources(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    network: Verbindung von http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar mit Proxy=DIRECT wird hergestellt
    network: Verbindung http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar mit Cookie "s_sq=sunglobal%2Csunjavafx%3D%2526pid%253Djavafx%25253A/learn/community.jsp%2526pidt%253D1%2526oid%253Dhttp%25253A//forums.sun.com/forum.jspa%25253FforumID%25253D932%2526ot%253DA; s_cc=true"
    com.sun.deploy.net.FailedDownloadException: Ressource konnte nicht geladen werden: http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.downloadResources(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by:
    java.io.FileNotFoundException: http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.downloadResources(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    The jar file http://dl.javafx.com/javafx-rt-windows-i586__V1.2.1_b23.jar does not exist on the sun server.
    HTTP Status 404 -
    description The requested resource () is not available.
    Sun Java System Application Server 9.1_02
    I hope this will be fixed soon.
    Thats weird... it works on my notebook at home. There is the http://dl.javafx.com/javafx-rt-windows-i586__V1.2.0_b233.jar stored in the cache and when i try to update the cache with javaws -import http://dl.javafx.com/javafx-cache.jnlp it is all ok. No request to download the v1.2.1.jar.
    Mike
    Edited by: dr.motte on 02.09.2009 21:38
    I've found one solution.
    The jnlp file http://dl.javafx.com/1.2/javafx-rt.jnlp in my cache had the version V1.2.1_b23. So this was the actual version and was not updated with the cache update. In this file there was the refenrence to the rt-windows.jar V1.2.1_b23, but this isn't jet downloadable. So i've deleted the http://dl.javafx.com/1.2/javafx-rt.jnlp from the cache and run an update again. Now the right version was downladed and i'm happy now.
    But i don't know where i've got the javafx-rt.jnlp V1.2.1_b23 file. It doesn't matter anymore.
    Have a nice day.
    Mike
    Edited by: dr.motte on 03.09.2009 09:42

  • JWS application won't start

    Hello,
    I'm having trouble getting by Java Web Start to work. I'm trying to follow along with this tutorial: http://java.sun.com/docs/books/tutorial/deployment/webstart/deploying.html and I'm getting stuck at the point when the application is supposed to start. Instead, it gives me the error message:
    "Unable to launch the application"
    and under details --> Exception it says:
    "java.lang.ClassNotFoundException: HelloWorldJFrame
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)"
    For some reason, it can't find the HelloWorldJFrame class.
    I've got the following files all in the same folder: HelloWorldGUI.jar, helloworldgui.jnlp, and helloworldgui.html.
    Here's helloworldgui.jnlp:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp>
         <information>
              <title>Hello World GUI</title>
              <vendor>Gibran Shah</vendor>
         </information>
         <resources>
              <jar href="HelloWorldGUI.jar"/>
         </resources>
         <application-desc main-class="HelloWorldJFrame"></application-desc>
    </jnlp>Here's HelloWorldJFrame.java, the file containing the class containing public static void main (String[]) (produced by NetBeans):
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * HelloWorldJFrame.java
    * Created on Jun 21, 2010, 11:47:12 AM
    * @author gibran
    public class HelloWorldJFrame extends javax.swing.JFrame {
        /** Creates new form HelloWorldJFrame */
        public HelloWorldJFrame() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        @SuppressWarnings("unchecked")
        // //GEN-BEGIN:initComponents
        private void initComponents() {
            jLabel1 = new javax.swing.JLabel();
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            setTitle("Hello World GUI");
            jLabel1.setText("Hello World");
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel1)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel1)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            pack();
        }// //GEN-END:initComponents
        * @param args the command line arguments
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new HelloWorldJFrame().setVisible(true);
        // Variables declaration - do not modify//GEN-BEGIN:variables
        private javax.swing.JLabel jLabel1;
        // End of variables declaration//GEN-END:variables
    }I know it works because I compiled it and ran it from a command prompt. It's just a simple GUI (JFrame) with a label that says "Hello World".
    Finally, here's my HTML file:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>Hello World GUI</title>
    </head>
    <body>
    <script src="http://www.java.com/js/deployJava.js"></script>
    <script>
        // using JavaScript to get location of JNLP file relative to HTML page
            var dir = location.href.substring(0, location.href.lastIndexOf('/')+1);
            var url = dir + "helloworldgui.jnlp";
            deployJava.createWebStartLaunchButton(url, '1.6.0');
    </script>
    <!-- if javascript is not enabled, use this: -->
    <!--
    <a href="/absolute path to JNLP file/dynamictree-webstart.jnlp">Launch Notepad Application</a>
    -->
    </body>
    </html>The jar file was made (as instructed in the above tutorial) from the compiled file HelloWorldJFrame.class and possibly HelloWorldJFrame$1.class (though I have no idea what this last one is).
    I've searched online for a solution to this problem to no avail. Does anyone see where I went wrong?
    Edited by: gib65 on Jun 21, 2010 2:32 PM
    Edited by: gib65 on Jun 21, 2010 2:34 PM

    Actually, the problem was that I had to make the class files part of a package and to specify that package in the application-desc tag. The question that leaves me with is whether and how it's possible to do it without packaging.
    I went back to unpackaging and tried your suggestion. There's some difficulty however as it is not running under a domain name, it's just sitting on my desktop. So I tried:
    <jnlp spec="1.0+" codebase="C:\Documents and Settings\gibran.GIBCOMPUTER\Desktop\java\JavaWS\" href="helloworldgui.jnlp">
    and variants thereof... none of which worked. It tells me:
    The field <jnlp>codebase has an invalid value: C:\Documents...
    Anything special I have to do if its running on my desktop?

  • I recently downloaded the new version of photoshop, but the application won't start.

    I recently downloaded Photoshop CC but the application won't start.

    What platform are you on. What is the URL you used to downloade.  Did you install what you downloaded.  Was what you downloaded Photoshop CC 2014 or the Creatice Cloud Desktop application that is used to download and install cloud applications like Photoshop CC 2014?

  • Starting a JAR File in Linux

    Hi,
    , to start a jar file in Linux from a file.. how can i do that?... like a .*bat file in windows, or a script file in unix...
    Thanks verry much, and sorry my english, (i'm form .UY :) )

    java -jar yourJar.jar should work for you. You could create an executable shell script to perform this or setup a file association to execute the file using java -jar whenever you bonk on it.

  • Java application won't start anymore

    Hi,
    I am using a Java Application (Protege) that was running just fine last week but today it just won’t start!
    When click-on it jumps about 3 time in the dock and stop. I was able to run the connected .jar file but most of the features are not available this way.
    I have not done anything special since last week beside Safari update (1.3.2.).
    Any help is greatly appreciated.
    Regards,
    Adrien
    iBook G4 (1Ghz)   Mac OS X (10.3.9)  

    Did you update Quicktime to 7.0.4? See if the following discussion seems relevant. There's a solution in the fourth message (reverting to Quicktime 7.0.1).
    http://discussions.apple.com/thread.jspa?messageID=1500443
    If that's the fix, the problem may be due to Protege using an outdated JavaApplicationLauncher. See
    http://www.opensubscriber.com/message/[email protected]/3072264.html
    --Davipo
    iMac G5   Mac OS X (10.3.9)  

  • Oracle 10g DBCONSOLE won't start up

    Hello...
    I'm running Oracle 10g (10.2.0.1) on RHEL4. My listener, database and Oracle HTTP Server are up and running. The sole purpose of this database is to run Oracle Application Express applications. The oracle apex applications are all running fine.
    However, I cannot for the life of me get Oracle EM (dbconsole) running. I've tried everything but obviously not the right thing. I can't console to my running database? It keeps failing everytime I start it. I've looked at some logs but I don't know what I'm looking for. Oracle EM was running just fine on Friday, but wouldn't come up Monday morning.
    My url for EM is http://172.23.183.169:1158/em
    At the terminal session prompt I type >emctl start dbconsole
    It comes back after a 5 minute timeout saying it failed. It appears that the agent (3938) does not want to start.
    Here is some log info further below...
    Please let me know what direction I should go on to resolve this. Thx!
    Regards,
    Ken
    ENV VARIABLES:
    [oracle@clthcmmb03 ~]$ env|sort
    COLORTERM=gnome-terminal
    DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-uEKexk6EGd
    DESKTOP_SESSION=default
    DESKTOP_STARTUP_ID=
    DISPLAY=:0.0
    G_BROKEN_FILENAMES=1
    GDMSESSION=default
    GNOME_DESKTOP_SESSION_ID=Default
    GNOME_KEYRING_SOCKET=/tmp/keyring-uFau6k/socket
    GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
    HISTSIZE=1000
    HOME=/home/oracle
    HOSTNAME=clthcmmb03
    INPUTRC=/etc/inputrc
    KDEDIR=/usr
    LANG=en_US.UTF-8
    LD_LIBRARY_PATH=/home/oracle/oracle/product/10.2.0/db_1/lib:/home/oracle/oracle/product/10.2.0/db_2/opmn/lib:
    LESSOPEN=|/usr/bin/lesspipe.sh %s
    LOGNAME=oracle
    LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
    MAIL=/var/spool/mail/oracle
    ORACLE_HOME=/home/oracle/oracle/product/10.2.0/db_1
    ORACLE_SID=apex
    PATH=/home/oracle/oracle/product/10.2.0/db_1/bin:/home/oracle/oracle/product/10.2.0/db_2/opmn/bin:/home/oracle/oracle/product/10.2.0/db_1/bin:/home/oracle/oracle/product/10.2.0/db_2/opmn/bin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
    PWD=/home/oracle
    SESSION_MANAGER=local/clthcmmb03:/tmp/.ICE-unix/6580
    SHELL=/bin/bash
    SHLVL=2
    SSH_AGENT_PID=6632
    SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    SSH_AUTH_SOCK=/tmp/ssh-dybiGw6580/agent.6580
    TERM=xterm
    USER=oracle
    _=/usr/bin/env
    WINDOWID=39845962
    XAUTHORITY=/home/oracle/.Xauthority
    TERMINAL SESSION:
    [oracle@clthcmmb03 ~]$ emctl start dbconsole
    TZ set to US/Eastern
    Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
    Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
    http://clthcmmb03:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
    Logs are generated in directory /home/oracle/oracle/product/10.2.0/db_1/clthcmmb03_apex/sysman/log
    EMDCTL.TRC:
    2007-08-13 15:08:39 Thread-3086911712 WARN http: snmehl_connect: connect failed to (clthcmmb03:3938): Connection refused (error = 111)
    2007-08-13 15:08:45 Thread-3086911712 WARN http: snmehl_connect: connect failed to (clthcmmb03:1158): Connection refused (error = 111)
    EMAGENT.TRC:
    2007-08-13 14:40:34 Thread-3086911712 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=98)
    2007-08-13 14:40:34 Thread-3086911712 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://clthcmmb03:3938/emd/main
    2007-08-13 14:40:34 Thread-3086911712 ERROR main: nmehl_startHttpListener failed starting http listener
    2007-08-13 15:10:12 Thread-3086911712 ERROR http: snmehl_allocateListenerPort: failed to bind socket: Address already in use (errno=98)
    2007-08-13 15:10:12 Thread-3086911712 ERROR http: nmehl_startHttpListener: failed to listen to HTTP port for http://clthcmmb03:3938/emd/main
    2007-08-13 15:10:12 Thread-3086911712 ERROR main: nmehl_startHttpListener failed starting http listener
    EMOMS.TRC:
    2007-08-12 02:00:36,607 [NotificationMgrThread] ERROR jdbc.ConnectionWrapper _applySessionParams.2980 - SQLException message: ORA-01089: immediate shutdown in progress - no operations are permitted
    java.sql.SQLException: ORA-01089: immediate shutdown in progress - no operations are permitted
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:742)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:214)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:953)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1260)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3290)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3334)
    at oracle.sysman.util.jdbc.ConnectionWrapper._applySessionParams(ConnectionWrapper.java:2971)
    at oracle.sysman.util.jdbc.ConnectionWrapper.<init>(ConnectionWrapper.java:181)
    at oracle.sysman.emSDK.svc.conn.FGAConnection.<init>(FGAConnection.java:115)
    at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:192)
    at oracle.sysman.emSDK.svc.conn.ConnectionService.getSystemConnection(ConnectionService.java:683)
    at oracle.sysman.emdrep.notification.NotificationMgr.getConnection(NotificationMgr.java:252)
    at oracle.sysman.emdrep.notification.NotificationMgr.resetConnection(NotificationMgr.java:298)
    at oracle.sysman.emdrep.notification.NotificationMgr.run(NotificationMgr.java:1190)

    Hi Hans,
    The Linux Database Server has a static IP address assigned to the NIC...172.23.183.169. It is not using DHCP. Hope that helps...
    Thx for helping me!
    Kind Regards,
    Ken

  • Oracle Lite service won't start

    Hi,
    I need help starting the oracle BPEL process manager.
    I have installed the oracle BPEL process manager but it seems that it won't start because the Oracle Lite service cannot start.
    When running C:\OraBPELPM\bin>olsv2040.exe /debug in a command prompt, I get the following error:
    Debugging Oracle Lite Multiuser Service.
    Service start failed, please check your environment
    For more information enable service trace
    Do you have any ideas how I can make the Oracle Lite service to work?
    Presumably that will also make the Process Manager to start.
    Thanks!

    Hi again,
    the port 1521 is free.
    I have installed Oracle BPEL Process Manager 10.1.2 on Win2K (BEA WLS).
    I also installed Oracle Lite as a Windows service.
    When I try to start it as a service through a command prompt, I get the below error:
    The Oracle Lite Multiuser Service service could not be started.
    A service specific error occurred: 4294966385.
    When I try to start it from the Windows Services system tool, I get the error:
    Service specific error -911
    I have also checked all ini files in the Windows directory and they look correct.
    Any idea what could be the problem???
    Cheers,
    Akis

  • Desktop manager won't start, sometimes

    Edit: I have migrated from kdm to sddm and the problem is just the same.
    I have a really weird problem with my laptop (Lenovo E335):
    Sometimes, when I boot/reboot my laptop, kdm is started correctly, but other times (maybe more often) kdm won't start, and I need to login as root in a terminal, and run:
    $ systemctl restart kdm
    After doing this, kdm is always restarted correctly.
    Whenever I boot/reboot the system, before kdm is started or fails, I see always these text lines in the console:
    [FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video
    See "systemctl status systemd-backlight@backlight:acpi_video2.service" for details.
    Starting Load/Save Screen Backlight Brightness of backlight:radeon_bl0...
    [OK] Started Load/Save Screen Backlight Brightness of backlight:radeon_bl0.
    When kdm fails, the boot process ends with this screen, and then I have to press Ctrl+Alt+F1 to open the terminal.
    When this happens, these lines can be read in /var/log/Xorg.0.log:
    (EE) Screen0 deleted because no matching config section.
    (II) UnloadModule: "radeon".
    (EE) Device(s) detected, but none match those in the config file.
    (EE) no screens found(EE)
    What puzzles me is that this only happens sometimes, apparently randomly.
    --mod note: changed img tags to url tags. -- WorMzy
    Last edited by fahrgast (2015-05-13 20:40:02)

    Hi fahrgast, welcome to Arch.
    Please take a moment to read through the forum etiquette, paying particular attention to the section titled "Pasting pictures and code".
    https://wiki.archlinux.org/index.php/Forum_etiquette
    Thanks.

  • Form 11g and Jar file issue

    I have migrated all the forms from 10g to 11g. When i run the form 11g using my config i get the below error
    USING Java Plug-in 1.6.0_23 i get the below error
    java.lang.SecurityException: class "oracle.forms.demos.enhancedItems.InfoButton"'s signer information does not match signer information of other classes in the same package
         at java.lang.ClassLoader.checkCerts(Unknown Source)
         at java.lang.ClassLoader.preDefineClass(Unknown Source)
         at java.lang.ClassLoader.defineClassCond(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$000(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    I tried using the Java Plug-in 1.6.0_12
    Loaded image: jar:http://130.1.3.171:9001/forms/java/frmall.jar!/oracle/forms/icons/bgnd.gif
    Forms Session ID is formsapp.9
    The proxy host is null, and the proxy port is 0.
    Native HTTP implementation is being used for the connection.
    The connection mode is HTTP.
    Forms Applet version is 11.1.1.4
    Loaded image: jar:http://130.1.3.171:9001/forms/java/frmall.jar!/oracle/forms/icons/frame.gif
    Exception "java.lang.IllegalArgumentException: failed to parse:"while constructing DataFlavor for:
    Exception "java.lang.IllegalArgumentException: failed to parse:"while constructing DataFlavor for:
    java.lang.ClassNotFoundException: oracle.forms.demos.enhancedItems.InfoButton
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at oracle.forms.handler.UICommon.instantiate(Unknown Source)
         at oracle.forms.handler.UICommon.onCreate(Unknown Source)
         at oracle.forms.handler.ButtonItem.onCreate(Unknown Source)
         at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://130.1.3.171:9001/forms/java/oracle/forms/demos/enhancedItems/InfoButton.class
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 35 more
    My config section is
    [form11g]
    jpi_download_page=http://java.sun.com/products/archive/j2se/6u12/index.html
    jpi_classid=clsid:CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA
    jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,12
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_12
    archive=frmall.jar,modcursor.jar,Images.jar,keyfilter.jar,ticker.jar,rolloverbutton.jar,activation.jar,javamailintegration.jar,mail.jar,uploadserver.jar,uploadclient.jar,infobutton.jar,hyperlink.jar,colorpicker.jar
    form=login.fmx
    pageTitle=Oracle Application
    splashScreen=No
    Previously i used to use jinitiator for 10g. Is there any configuration need to be done or should i sign the jar files.

    You might want to use google:
    http://www.google.com/#q=signer+information+does+not+match+signer+information+of+other+classes+in+the+same+package
    cheers

  • What should i do with an Oracle 11g Database, MySQL database and a dump file.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
    I have another Sever test that already set up MySQL database, and a dump file from the system.
    So I want to ask these 2 questions :
    1. How to create an new Oracle Database from that dump file ?
    2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
    Thanks alot.

    I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
    My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
    So the quest is converting Oracle Database to MySQL database.
    I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
    As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision

  • Starting a jar file.

    I am wondering if anyone might have a suggestion to this.
    I have created a .jar file from JBuilder using the application option in archive builder. ie the jar file should be able to start just by double clicking it. I take the jar file to one of my other machines and it starts fine. I use the java - jar command and it works fine. I double click it in my Windows XP and I get the error: Java Virtual Machine Launcher - "Could not find the main class. Program will exit."
    I did read a case in the postings where a startup file was creating havoc, but I don't think I have any java dependent startup's.
    I have tried various things like checking my classpath environment variables, associating the file with Javaw from C:\j2sdk1.4.2_03\bin. Any other comments would be appreciated.
    cheers
    James

    Well, I guess I found the answer of some sort. I tried JWhich from the URL http://www.javaworld.com/javaworld/javatips/jw-javatip105.html, but that didn't work. But, what it did do is that it told the O/S that I had changed the jar launch settings when I went into Tools/options/view File Types of explorer and after highlighting the jar extension. This would have come up if I had changed it to something else anyway. I guess I just didn't notice the little message. The GUI gave me an option if I wanted to restore back to original and walla! it now works.
    Hope this is of use to you if you come across this problem and not sure what to do.
    cheers..
    James

  • Safari won't start: WebCore: unknown file type

    Hi all
    Safari/Mail/Software Update etc won't start.
    All complain about WebCore - see crashlog below
    How do I fix or replace it.
    Can I copy from another machine? mine is 15G but my daughters is only 5G
    Host Name: G4Mac
    Date/Time: 2007-11-08 10:00:30.680 +1100
    OS Version: 10.4.10 (Build 8R218)
    Report Version: 4
    Command: Safari
    Path: /Applications/Safari.app/Contents/MacOS/Safari
    Parent: WindowServer [71]
    Version: 3.0.3 (522.12.1)
    PID: 456
    Thread: Unknown
    Link (dyld) error:
    Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
    Referenced from: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    Reason: no suitable image found. Did find:
    /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore: unknown file type, first eight bytes: 0xCA 0xFE 0xBA 0xBE 0x00 0x00 0x00 0x02

    Use the uninstaller found on the Safari 3 Beta disk image to revert to Safari 2.0.4.

Maybe you are looking for

  • Error while saving report after creating it using webi java panel?

    Hi, Whenever i create report through java panel & RE SDK and then try to save it i got below error Could not save the document to the repository for the following reason: [repo_proxy 30] InfoStore::ObjectExport::commit - (Helpers::InfoStore::ObjectEx

  • Report PS to check by WBS group

    Hi All, Can we use WBS group rather than project definition in SAP PS report ? I am trying to find the standard report to use WBS group...but cannot find..... please help. cheers, Nies

  • Burning photos - only to read, hoe to do it ?

    Hi everyone ! I would like to burn some photos on a CD but I don't want the other person to copy them. I seen some PDF files in internet that you can download but to save or edit them you need to enter a password. Can I do the same with my photos ? t

  • InDesign CS5.5 freezes when creating an idml file

    Good Day All, I have been using inDesign since it started and have never come across this problem. I have a file that I intially created in CS4, converted to CS5 and now CS5.5. I have been trying to convert it to an IDML file and EVERYTIME it hangs a

  • Taking input in  a string

    How do I get input from the user in the form of a String in a simple non-Applet java program?