Got exception java.lang.ClassNotFoundException after install Oracle Coheren

Hi,
I have installed Oracle COherence 3.7 and Java SDK 1.4.2 after that i am getting this exception.Pls help me,
C:\Program Files\Oracle\Coherence for .NET\examples\ContactCache.Java>"C:\Progra
m Files\Java\jdk1.6.0_11\bin\java" -server -showversion -Xms128m -Xmx128m -Dtang
osol.coherence.ttl=0 -Dtangosol.coherence.cacheconfig=contact-cache-config.xml -
cp "config;lib\custom-types.jar;C:\Program Files\Oracle\Coherence for .NET\lib\c
oherence.jar" com.tangosol.net.DefaultCacheServer
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Server VM (build 11.0-b16, mixed mode)
Exception in thread "main" java.lang.NoClassDefFoundError: com/tangosol/net/Defa
ultCacheServer
Caused by: java.lang.ClassNotFoundException: com.tangosol.net.DefaultCacheServer
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: com.tangosol.net.DefaultCacheServer. Program wil
l exit.
Press any key to continue . . .
Thanks,
Balakrishna..

You can leave out the the -showversion option. Also do not uses spaces in classpaths An example, (without -server)
C:\>java -Xms128m -Xmx128m -Dtangosol.coherence.ttl=0 -Dtangosol.coherence.cacheconfig=coherence-cache-config.xml -cp C:\Documents\JavaFrameworks\coherence\lib\coherence.jar com.tangosol.net.DefaultCacheServerleads to
2011-05-30 13:32:09.828/2.297 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/C:/Documents/JavaFrameworks/coherence/lib/coherence.jar!/tangosol-coherence.xml"
2011-05-30 13:32:09.921/2.390 Oracle Coherence 3.7.0.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/C:/Documents/JavaFrameworks/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
2011-05-30 13:32:09.921/2.390 Oracle Coherence 3.7.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
2011-05-30 13:32:09.937/2.406 Oracle Coherence 3.7.0.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
Oracle Coherence Version 3.7.0.0 Build 23397
Grid Edition: Development mode
Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
2011-05-30 13:32:10.484/2.953 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "jar:file:/C:/Documents/JavaFrameworks/coherence/lib/coherence.jar!/coherence-cache-config.xml"
2011-05-30 13:32:11.562/4.031 Oracle Coherence GE 3.7.0.0 <D4> (thread=main, member=n/a): TCMP bound to /170.30.10.62:8088 using SystemSocketProvider
2011-05-30 13:32:15.343/7.812 Oracle Coherence GE 3.7.0.0 <Info> (thread=Cluster, member=n/a): Created a new cluster "cluster:0x96AB" with Member(Id=1, Timestamp=2011-05-30 13:32:11.578, Address=170.30.10.62:8088, MachineId=47166, Location=site:somewhere.local,machine:lt1379,process:2992, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=2, SocketCount=1) UID=0xAC1E0A3E0000013040ACE8BAB83E1F98
2011-05-30 13:32:15.343/7.812 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=n/a): Started cluster Name=cluster:0x96AB
Group{Address=224.3.7.0, Port=37000, TTL=0}
MasterMemberSet
  ThisMember=Member(Id=1, Timestamp=2011-05-30 13:32:11.578, Address=170.30.10.62:8088, MachineId=47166, Location=site:transfer-solutions.local,machine:lt1379,process:2992, Role=CoherenceServer)
  OldestMember=Member(Id=1, Timestamp=2011-05-30 13:32:11.578, Address=170.30.10.62:8088, MachineId=47166, Location=site:transfer-solutions.local,machine:lt1379,process:2992, Role=CoherenceServer)
  ActualMemberSet=MemberSet(Size=1, BitSetCount=2    Member(Id=1, Timestamp=2011-05-30 13:32:11.578, Address=170.30.10.62:8088, MachineId=47166, Location=site:somewhere.local,machine:lt1379,process:2992, Role=CoherenceServer)
  RecycleMillis=1200000
  RecycleSet=MemberSet(Size=0, BitSetCount=0
TcpRing{Connections=[]}
IpMonitor{AddressListSize=0}
2011-05-30 13:32:15.500/7.969 Oracle Coherence GE 3.7.0.0 <D5> (thread=Invocation:Management, member=1): Service Management joined the cluster with senior service member 1
2011-05-30 13:32:16.375/8.844 Oracle Coherence GE 3.7.0.0 <D5> (thread=DistributedCache, member=1): Service DistributedCache joined the cluster with senior service member 1
2011-05-30 13:32:16.593/9.062 Oracle Coherence GE 3.7.0.0 <D5> (thread=ReplicatedCache, member=1): Service ReplicatedCache joined the cluster with senior service member 1
2011-05-30 13:32:16.609/9.078 Oracle Coherence GE 3.7.0.0 <D5> (thread=OptimisticCache, member=1): Service OptimisticCache joined the cluster with senior service member 1
2011-05-30 13:32:16.625/9.094 Oracle Coherence GE 3.7.0.0 <D5> (thread=Invocation:InvocationService, member=1): Service InvocationService joined the cluster with senior service member 1
2011-05-30 13:32:16.625/9.094 Oracle Coherence GE 3.7.0.0 <Info> (thread=main, member=1):
Services
  ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.7, OldestMemberId=1}
  InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
  PartitionedCache{Name=DistributedCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCount=1, AssignedPartitions=257, BackupPartitions=0}
  ReplicatedCache{Name=ReplicatedCache, State=(SERVICE_STARTED), Id=3, Version=3.0, OldestMemberId=1}
  Optimistic{Name=OptimisticCache, State=(SERVICE_STARTED), Id=4, Version=3.0, OldestMemberId=1}
  InvocationService{Name=InvocationService, State=(SERVICE_STARTED), Id=5, Version=3.1, OldestMemberId=1}
Started DefaultCacheServer...

Similar Messages

  • Exception: java.lang.ClassNotFoundException: com.fintrack.FtCFDTraderApplet.class

    I am using Mozilla Firefox version 3.6.18. I don't want to update because last time I updated (recently) the newer version was such an unfriendly dog that after a few days I went back to the version I am still using. It works well! BUT, after I have successfully logged into my Macquarie Prime account, I then click the link to the trading platform and get a Java error message.
    Okay, perhaps Macquarie could have done a better job of making their java code cross-platform compatible, but I installed the latest version of Java and then tried again. With the newer version of Java, the error message changed, but I still got the following:
    "Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\adrian
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class com.fintrack.FtCFDTraderApplet.class not found.
    java.lang.ClassNotFoundException: com.fintrack.FtCFDTraderApplet.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(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 sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.ClassNotFoundException: com.fintrack.FtCFDTraderApplet.class"

    Hmmm...
    I forgot to state what I actually WANT!
    Is there any way (anywhere) I can get the missing class/applet and manually instal it? If so, would that fix the problem?
    Thanks to anyone who can help me (without getting me lost in a never-ending swamp of excessively geeky technicalities; I don't need a "perfect" system - just access to my trading platform.)?
    `

  • Executing adrundb.sh Exception - java.lang.NullPointerException when installing ebs 12.2.2

    Hai All,
    Can U help me...
    I installing ebs 12.2.2 on RHEL 5, but when install I get error message :
    from the log installation :
    Executing cr9idata.pl
    Executing: perl /u01/ebs12/ORAVIS/11.2.0/nls/data/old/cr9idata.pl
    Directory /u01/ebs12/ORAVIS/11.2.0/nls/data/9idata already exist. Overwriting...
    Copying files to /u01/ebs12/ORAVIS/11.2.0/nls/data/9idata...
    Copy finished.
    Please reset environment variable ORA_NLS10 to /u01/ebs12/ORAVIS/11.2.0/nls/data/9idata!
    runProcess_2
    Statusstring Copying Files to Shiphome...
    Statusstring Copying the Database Context template file.
    Statusstring End Copying Files to Shiphome.
    FINISHED INSTALL PHASE : 11g RDBMS : Mon Dec 30 19:52:58 WIT 2013
        /u01/ebs12/ORAVIS/11.2.0/temp/ORAVIS_ift64/adrun11g.sh has succeeded
    Step 1 of 8
    Command: /u01/ebs12/ORAVIS/11.2.0/temp/ORAVIS_ift64/adrundb.sh
    Step 2 of 8: Doing UNIX preprocessing
    Processing Step 2 of 8
    Executing: /u01/ebs12/ORAVIS/11.2.0/temp/ORAVIS_ift64/adrundb.sh
    Exception - java.lang.NullPointerException
    STARTED INSTALL PHASE : DATABASE : Mon Dec 30 19:53:03 WIT 2013
    RW-50004: Error code received when running external process.  Check log file for details.
    Running Database Install Driver for ORAVIS instance
    Thanks,

    Pl post in the appropriate EBS forum - E-Business Suite

  • Runtime exception java.lang.ClassNotFoundException on executing Stored Proc

    I am getting the below error when I try to execute a stored proc in Pointbase from weblogic.
    java.sql.SQLException: The external "DbLog::insLog" routine had the following runtime exception "java.lang.ClassNotFoundException: DbLog"
    import java.sql.*; import com.pointbase.jdbc.*; public class DbLog { static Connection conn = null; static Statement m_stmt; static Statement l_stmt; static CallableStatement m_callStmt = null; public boolean logPreAuth() { try { String I_URL = "jdbc:pointbase:server://localhost:9093/weblogic_eval"; conn = DriverManager.getConnection(I_URL, "PBSYSADMIN", "PBSYSADMIN"); /*String SQL_CREATE_PROC = "CREATE PROCEDURE insLog(IN P1 VARCHAR(30))" + " LANGUAGE JAVA" + " SPECIFIC insLog" + " DETERMINISTIC" + " NO SQL" + " EXTERNAL NAME \"DbLog::insLog\"" + " PARAMETER STYLE SQL"; m_stmt = conn.createStatement(); m_stmt.executeUpdate(SQL_CREATE_PROC); m_stmt.close(); */ Commented out because it throwed error saying, The routine "INSLOG" in schema "PBPUBLIC" already exists in system table SYSROUTINES. m_callStmt = conn.prepareCall("{ call insLog(?) }"); m_callStmt.setString(1, "Success!!"); m_callStmt.execute(); } catch (Exception e) { logger.error("Error in logPreAuth method" + e); } return true; } public static void insLog(String test) { try { l_stmt = conn.createStatement(); l_stmt.executeUpdate("Insert into logs values('" + test + "')"); l_stmt.close(); conn.close(); } catch (Exception e) { } }
    Please let me know how to solve this.

    I setted the classpath in commEnv.cmd as follows,
    set POINTBASE_HOME=%WL_HOME%\common\eval\pointbase
    set POINTBASE_CLIENT_CLASSPATH=%POINTBASE_HOME%\lib\pbclient57.jar
    set POINTBASE_CLASSPATH=%POINTBASE_HOME%\lib\pbembedded57.jar;%POINTBASE_CLIENT_CLASSPATH%;C:\bea\user_projects\workspaces\work1\utility\build\classes
    set POINTBASE_TOOLS=%POINTBASE_HOME%\lib\pbtools57.jar
    My DbLog class in the path, C:\bea\user_projects\workspaces\Work1\util\build\classes\net\local\util\common
    FYI, net\local\util\common is the package.
    But when I try to execute the page which calls RequestFilter.java, I am getting the following error,
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: Could not initialize class net.local.util.common.DbLog
    Please find the code below,
    --RequestFilter.java
    import net.local.util.common.DbLog;  
    public final class RequestFilter {  
    public void log() {  
    DbLog dblog = new DbLog();  
    dblog.logPreAuth();  
    }  --DbLog.java
    package net.local.util.common;  
    import java.sql.*;  
    import org.apache.log4j.Logger;  
    import com.pointbase.jdbc.*;  
    public class DbLog {  
        private static final Logger logger = Logger.getLogger(DbLog.class);  
        private static boolean DEBUGGING = logger.isDebugEnabled();  
        private Connection conn = null;  
        private Statement m_stmt;  
        private Statement l_stmt;  
        private CallableStatement m_callStmt = null;  
        //static ResultSet l_rs = null;  
    public DbLog() {  
        logger.info("DbLog constructor called");  
        init();  
    public void init() {  
        logger.info("DbLog init called");  
    public void logPreAuth() {  
            try {  
                logger.info("Inside logPreAuth method");  
                String I_URL = "jdbc:pointbase:server://localhost:9093/weblogic_eval";  
                Class.forName("com.pointbase.jdbc.jdbcUniversalDriver").newInstance();  
                //Class.forName("com.pointbase.jdbc.jdbcDataSource");  
                conn = DriverManager.getConnection(I_URL, "PBPUBLIC", "PBPUBLIC");  
            String SQL_CREATE_PROC = "CREATE PROCEDURE insLog(IN P1 VARCHAR(30))" 
                    + " LANGUAGE JAVA" 
                    + " SPECIFIC insLog" 
                    + " DETERMINISTIC" 
                    + " NO SQL" 
                    + " EXTERNAL NAME \"DbLog::insLog\"" 
                    + " PARAMETER STYLE SQL";   
                m_stmt = conn.createStatement();  
                m_stmt.executeUpdate(SQL_CREATE_PROC);  
                m_stmt.close();    
                m_callStmt = conn.prepareCall("{ call PBPUBLIC.insLog(?) }");  
                m_callStmt.setString(1, "Success!!");  
                m_callStmt.execute();   
            catch (Exception e) {  
                logger.error("Error in logPreAuth method" + e);  
    public void insLog(String test)  
        try {  
            l_stmt = conn.createStatement();  
            l_stmt.execute("Insert into logs values('" + test + "')");  
            l_stmt.close();  
            conn.close();  
        catch (Exception e) {  

  • 8350i uncaught exception java.lang.NullPointerException after hard reset

    basic info:
    8350i
    v4.6.1.204 (Platform 3.0.0.73)
    Desktop Manager 4.7
    everything is good except that i've been using two batteries, one in the phone and one in a charger. when the phone's battery is almost drained i swap it with the charged one which of course causes a hard reset.
    this procedure was working well for at least a week or two until last month when i swapped batteries - after the hard reset i got
    uncaught exception: java.lang.NullPointerException
    i could make calls but all other software seemed corrupted... virtually nothing else worked... icons missing etc.
    tried all sorts of solutions but the only thing that fixed it was a full on device software erase/reload, then a data restore from previous backup. at the time i figured it was just a random thing and was glad to learn how to do a complete software reload.
    then yesterday it happened again (again, immediately at the end of the security check after hard reset). now i'm afraid to swap batteries because it would appear that every time i hard reset there is a 10% (my guess) chance of software corruption and a complete reload takes a significant amount of time.
    has anybody else noticed this? does anybody have a solution?
    can i swap batteries without a hard reset; i.e. swap while plugged into power? i haven't tried this yet for fear of causing my BB harm.
    any help is appreciated,
    john d.
    Solved!
    Go to Solution.

    Hello, John.
    Make selective backup as it is described here:
    http://supportforums.blackberry.com/rim/board/message?board.id=8100&view=by_date_ascending&message.i...
    Backup only information that you need.
    There is described the purpose of every database you can observe when you're doing the selective backup:
    http://www.blackberry.com/btsc/KB03974
    When you have done selective backup do the following.
    On your device go to: Options - Security Options - General Settings
    Open menu and select "Wipe handheld"

  • Java.lang.NullPointerException- After Installing BOXI 4.0

    Hello All
    I installed BOXI 4.0 on Windows Server 2008 and then used ODBC driver to connect to BW database. After installing when i try to login to CMC using the url http://localhost:8080/BOE/CMC and then enter the credentials i get an empty page with the error
    "AN ERROR HAS OCCURRED JAVA.LANG.NULLPOINTEREXCEPTION".
    The same happens when i open BI Launchpad using the URL "An "AN ERROR HAS OCCURRED JAVA.LANG.NULLPOINTEREXCEPTION".
    Please help me resolve the issue.
    Thanks
    Ahmed Shaik

    Hi Ahmed
    Generally it is not recommended to install BI 4.0 on the SAP BW database, but rather on it's own instance instead. Also depending on how the software is licensed, there may be implications in the license cost.
    Regarding the java error, in some cases you have to redeploy the web applications.
    Regards
    Derek

  • Getting Exception: java.lang.ClassNotFoundException: oracle.apps.fnd.formsC

    Hi,
    I am getting an error while access R12 vision instance through solutionbeacon.com.
    This error is coming while installing Jinitiator from the link.
    Please help me out on this.
    Regards,
    Vara

    Hi Vara;
    Please enable jinit console and check error there and post it here please
    Regard
    Helios

  • Uncaught exception: java.lang.illegalArugumentException after OS upgrade

    Configuration:
    AT&T 8310 OS 8310M_PBr4.5.0_rel152_PL2.7.0.90_A4.5.0.110_AT&T
    Desktop Manager - 4.6.013
    Enteprise server (IBM Lotus Notes) - 4.1.5.26
    Created backup of device
    Ran the upgrade from Desktop Manager, upgrade Failed!
    Attempted a fresh install of the OS as per bb support article - 11320 - restored the device data, had issues with accessing email.
    Decided to wipe device and re-activate.  Started to get the Uncaught exception message after the wipe and had issues with the activation.
    Wiped the device several times and still getting the message, it also takes a long time for the inbox to open up.
    I'm thinking this might be an Enterprise issue and the policy that the user had set before performing the upgrade.
    Has anyone else experienced this issue upgrading BES user's BBs to the new 4.5 os?

    On our BES we have a few policies setup for BB users.  The users that are getting this message are on a restricted Policy, the other users that have the less restricted policy (downloads, personal email enabled) do not get this error after the upgrade is completed.
    We are not doing a mass roll out of the upgrade to users, but have found that some users that have email sync issues are resolved with the upgrade.
    Is there a best practice guide that shows the best way to upgrade the device os for users running on BES. 

  • Java.lang.ClassNotFoundException: oracle.forms.engine.Main

    I got this error when opening my forms, in java console, it says the frmall.jar file cannot be downloaded.
    I tried to get access the file with http://192.168.3.44:9001/forms/java/frmall.jar  ,  it displays 404 page not found.
    I think the virtual path defined in forms.conf is not working at all. Because I tried to put a html file under each of the directory, none of them are accessible.
    RewriteRule ^/forms/java/(..*) /workaroundjava/$1 [PT]
    AliasMatch ^/workaroundjava/(..*) "/home/oracle/Oracle/Middleware/Oracle_FRHome1/forms/java/$1"
    RewriteRule ^/forms/html/(..*) /workaroundhtml/$1 [PT]
    AliasMatch ^/workaroundhtml/(..*) "/home/oracle/Oracle/Middleware/asinst_1/config/FormsComponent/forms/html/$1"
    RewriteRule ^/forms/webutil/(..*) /workaroundwebutil/$1 [PT]
    AliasMatch ^/workaroundwebutil/(..*) "/home/oracle/Oracle/Middleware/Oracle_FRHome1/forms/webutil/$1"
    What might be the problem ?
    Here is the java console log :
    network: Cache entry not found [url: http://192.168.3.44:9001/forms/java/frmall.jar, version: null]
    network: Connecting http://192.168.3.44:9001/forms/java/frmall.jar with proxy=DIRECT
    java.io.FileNotFoundException: http://192.168.3.44:9001/forms/java/frmall.jar
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
      at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
      at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
      at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
      at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
      at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
      at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
      at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$1000(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath.getLoader(Unknown Source)
      at com.sun.deploy.security.DeployURLClassPath.getResource(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
      at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
      at sun.plugin2.applet.Plugin2ClassLoader.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 sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    basic: load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: oracle.forms.engine.Main
      at sun.plugin2.applet.Applet2ClassLoader.findClass(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 sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
    Ignored exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main
    basic: Dialog type is not candidate for embedding
    basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1e966fb
    security: Reset deny session certificate store

    In your Forms/Java folder ensure that frmall.jar is present
    Also in your formsweb.cfg file add the jars in archive.

  • JDBC,Oracle - java.lang.ClassNotFoundException: oracle.jdbc.driver.Oracle

    I am using JBuilder5 which comes with jdk1.3. I have installed oracle 8.1.7 Enterprise version.
    I am using Win NT 4.0.
    I have set the PATH variable as E:\oracle\ora81\lib; and
    CLASSPATH as : E:\oracle\ora81\jdbc\lib\classes12.zip;E:\oracle\ora81\jdbc\lib\nls_charset12.zip;
    My JDBC code is
    package sample2;
    import java.sql.*;
    public class Two {
    Connection con;
    Statement st;
    public Two() {
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection("jdbc:oracle:oci8:@First","scott","tiger");
    st = con.createStatement();
    ResultSet rs = st.executeQuery("Select * from Book");
    while(rs.next())
    System.out.print(rs.getInt("ID")+"\t");
    System.out.print(rs.getString("title")+"\t");
    System.out.print(rs.getString("author")+"\t");
    System.out.print(rs.getString("subject")+"\t");
    System.out.println(rs.getInt("copies")+"\t");
    st.close();
    con.close();
    catch(Exception ex)
    System.out.println("Exception : " + ex.toString());
    public static void main(String[] args) {
    Two two1 = new Two();
    I am getting this exception:
    Exception : java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
    I can understand that the classpath for the driver is the problem here.
    Also, I tried to run this file without JBuilder as a independent file on a notepad. Even then this exception is thrown.
    I have set the PATH to E:\oracle\ora81\bin and also to E:\oracle\ora81\lib.
    I ran "echo %classpath%" from my command prompt and this is what i am getting.
    E:\JBuilder5\jdk1.3\lib\tools.jar;E:\JBuilder5\jdk1.3\dt.jar;E:\oracle\ora81\jdbc\lib\classes12.zip;E:
    \oracle\ora81\jdbc\lib\nls_charset12.zip;
    I searched solution for this probldem in Sun JDC Forum itself. Many of them suggested to unzip classes12.zip and create jar file and add it in the classpath. Alos, some have suggested to copy the classes12.zip in home directory and then include this path in the classpath. I tried those solutions also. But, nothing seem to work.
    Somebody help me fix this problem.
    Thanks in advance.

    Jbuilder5 uses a different means of loading dependent classes. Use menu : Tools -->Configure Libraries - Click New and setup a new named library that points to classes12.zip .
    Then include this in u'r required Libraries of your project using menu Project --> Project Properties - required Libraries tab.
    I don't thnk Jbuilder5 even refers to CLASSPATH set in Windows NT environement. Path may need to be set to include oracle/ora81/bin directory though.
    Hope this helps.

  • Exception in thread main java.lang.NoClassDefFoundError when Install 11g 2

    Exception in thread main java.lang.NoClassDefFoundError when Install Oracle database 11g release 2 on redhat linux enterprise 5
    My Java Version is 1.6.0_13-b03, can anyone help?
    Error Message as follows:
    准备从以下地址启动 Oracle Universal Installer /tmp/OraInstall2009-12-01_11-25-58AM. 请稍候...[oracle@redhatlinux ~]$ Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at java.awt.Toolkit$2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
    at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
    at oracle.install.commons.util.Application.startup(Application.java:758)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)

    I am getting the same exception. I tried using xhost_+ but it's still not working for me.
    Again, here is the error that I'm receiving when trying to install Oracle 11g:
    Exception in thread "main" java.lang.NoClassDefFoundError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at java.awt.Toolkit$2.run(Toolkit.java:821)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    at com.jgoodies.looks.LookUtils.isLowResolution(Unknown Source)
    at com.jgoodies.looks.LookUtils.<clinit>(Unknown Source)
    at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAndFeel.java:122)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at javax.swing.SwingUtilities.loadSystemClass(SwingUtilities.java:1783)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:480)
    at oracle.install.commons.util.Application.startup(Application.java:758)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:164)
    at oracle.install.commons.flow.FlowApplication.startup(FlowApplication.java:181)
    at oracle.install.commons.base.driver.common.Installer.startup(Installer.java:265)
    at oracle.install.ivw.db.driver.DBInstaller.startup(DBInstaller.java:114)
    at oracle.install.ivw.db.driver.DBInstaller.main(DBInstaller.java:132)
    Thanks in advance for the help!!
    Also, this is all very new to me. So if you could provide a step-by-step answer I would really appreciate it.
    Edited by: user9014123 on Jan 25, 2010 1:40 PM

  • Solve this error pls 'java.lang.classNotFoundException' (For J2ME, WT2.5.2)

    Hi All,
    I am a new learner in J2ME. I m using WT2.5.2. When i press button to execute 'Hello MIDlet' program it shows
    "Exception:java.lang.classNotFoundException" - this error in the Default Phone screen
    and
    the following ERROR shows in the Wirless Toolkit (WT) editior::
    Project "HelloSuite" loaded
    Project settings saved
    Building "HelloSuite"
    Build complete
    Running with storage root C:\Users\Kalam\j2mewtk\2.5.2\appdb\temp.DefaultColorPhone2
    Running with locale: English_United Kingdom.1252
    Running in the identified_third_party security domain
    Unable to create MIDlet HelloMIDIlet
    java.lang.ClassNotFoundException: HelloMIDIlet
         at com.sun.midp.midlet.MIDletState.createMIDlet(+29)
         at com.sun.midp.midlet.Selector.run(+22)
    i can run the demo program but my one is not running. i copy the program from java tutorial.
    Can u pls solve my problem and encourge me to work with J2ME. Thank u very much my friends.
    thnx
    Kalam

    Hi Darryl,
    I saved this code as a "HelloMIDlet.java" in src folder of WT [and the "HelloSuite" as Midlet name, when we create project in WT u know it asks for Midlet name.
    this code doesn't have compile time error.
    it got runtime error cas in bin it got - HelloSuite.jd, MANIFEST.MF , there should be one more file which is .jar but it doesn't create.
    i hope now u understand whts the error can u pls tell me or can u tell me the source how can i learn more about this.
    thnx
    kalam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • JMS+Applet+weblogic+java.lang.ClassNotFoundException: weblogic.jndi.interna

    Hi, I have a problem with JMS, I wrote an applet with JBuilder 9. This applet receive a message from a topic on weblogic 7.01 Application Server.
    When I run this applet in jbuilder, all of thing is Ok but in browser (I.E) it didn�t work and show this message!!
    java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_WLStub
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.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.ClassLoader.loadClassInternal(Unknown Source)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:479)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.init(Unknown Source)
         at javax.naming.InitialContext.<init>(Unknown Source)
         at jms.RescueJMSApplet.setContext(RescueJMSApplet.java:207)
         at jms.RescueJMSApplet.initJMS(RescueJMSApplet.java:117)
         at jms.RescueJMSApplet.init(RescueJMSApplet.java:56)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: D:\project\jms\classes\weblogic\jndi\internal\ServerNamingNode_WLStub.class (The system cannot find the file specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 23 more
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nested exception:
    [java.lang.ClassNotFoundException: weblogic.jndi.internal.ServerNamingNode_WLStub]
         at weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub(WLInitialContextFactoryDelegate.java:483)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInitialContextFactoryDelegate.java:452)
         at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:372)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:221)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
         at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
         at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
         at javax.naming.InitialContext.init(Unknown Source)
         at javax.naming.InitialContext.<init>(Unknown Source)
         at jms.RescueJMSApplet.setContext(RescueJMSApplet.java:207)
         at jms.RescueJMSApplet.initJMS(RescueJMSApplet.java:117)
         at jms.RescueJMSApplet.init(RescueJMSApplet.java:56)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    I was install j2re-1_4_05_windows_i586_i.exe and copy weblogic.jar file in true directory .I set the archive attribute of the applet tag to weblogic.jar path.
    Can any body help me!
    Thank a lot

    Hi Famoniri,
    I guess you have used weblogic specific libraries for looking up. IE does not know about this class and hence java.lang.ClassNotFoundException.
    If the above is the cause of the problem, try packaging the weblogic jar files with the applet(not a good idea!) or use the standard javax.naming packages(may be a good idea!).
    The problem causer is weblogic.jndi.WLInitialContextFactoryDelegate.newRootNamingNodeStub which is trying to load classes which are not prsent in its viscinity.
    Let me know if this helps.
    Regards,
    Rajesh

  • IE6 causes java.lang.ClassNotFoundException: javax.media.pm.PackageManager

    Guys,
    I have an applet that simply plays a media file. Quite simple! It has been working fine for ages, but I recently upgraded to IE6, and BLAM! I now get this exception: java.lang.ClassNotFoundException: javax.media.pm.PackageManager
    Of course, I have checked my classpath, and my path settings. I know that the classpath is fine, I can run JAVA JMStudio and it launches fine. The application runs OK as standalone. I can even debug the applet using JBuilder, and it works. As soon as I run it from IE6 - Nope.. Not working!
    I wonder if anyone else has seen this? If I set the option to use the Sun JVM, the diagnostincs applet shows this:
    JMF Diagnostics:
    Java 1.1 compliant browser.....Maybe
    JMF classes.....Not Found
    but, if I set the option off, I get:
    JMF Version... 2.1.1a
    Win32 Build
    Native Libraries Found
    What is causing this difference? Is this even relevant? I have seen several other posts talking about a ClassNotFoundException but this is specific to IE6 (I think at least.) I will try and regress to 5.5 and keep you posted!
    Steve

    OK, Here is the deal..
    Uninstall the JRE Plugin. (Delete the directory too)
    Uninstall the JMF (Again, delete the dirs)
    Remove any references to the JMF on the CLASSPATH
    Reboot
    Re-install the JRE Plug-in
    Re-install the JMF.. Note: Make sure all options are checked when installing.
    Reboot as requested .
    Browse to: http://java.sun.com/products/java-media/jmf/2.1.1/jmfdiagnostics.html to test the installation.
    Funilly, it all works now. The reason it did not work was due to the classpath being WRONG!!!
    It now reads: C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;
    BUT, I installed the JMF at: C:\Program Files\JMF2.1.1
    Call me insane, but I do not have a clue why the paths do not match, but is solved my problem.
    I am certain this clears several of the posts found on this Forum!!
    Hope this helps you all..
    Steve

  • Java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet

    Hi,
    I am developping a simple portlet.These are all my files..
    TestPortlet.java,
    context.xml
    liferay-display.xml
    liferay-portlet.xml
    porltet.xml
    web.xml
    But when i am trying execute i am getting this error. Any one can help?
    Help would be greatly appreciated.
    Thanks
    Prasad
    Feb 9, 2009 4:01:31 PM com.liferay.portal.kernel.log.Jdk14LogImpl error
    SEVERE: Portal class loader is not available to override the default Catalina web class loader
    Feb 9, 2009 4:01:31 PM org.apache.catalina.core.ApplicationContext log
    INFO: Marking servlet jsp as unavailable
    Feb 9, 2009 4:01:31 PM org.apache.catalina.core.ApplicationContext log
    SEVERE: Error loading WebappClassLoader
    delegate: false
    repositories:
    /WEB-INF/classes/
    org.apache.jasper.servlet.JspServlet
    java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1083)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Feb 9, 2009 4:01:31 PM org.apache.catalina.core.StandardContext loadOnStartup
    SEVERE: Servlet /PortalExample1 threw load() exception
    java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1083)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4364)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

    So what are the contents of the relevant files?
    It looks like an error at Tomcat startup:
    Do you need any Portlet library jar files in your web app?
    However I would suggest that you would have more luck at the other end of a google search on the error message.
    The [Liferay wiki |http://www.liferay.com/web/guest/community/wiki] seems a good place to start.

Maybe you are looking for

  • 3G service issues, no text sounds, hear other people's conversations, etc..

    I'm having some issues with my new iPhone 3G... I wasn't having any of these issues with my old original iPhone... any thoughts? 3G reception... I live in downtown Denver. I've checked the coverage maps at AT&T's website, and I should have full 3G co

  • Sony dn1050 hdmi handshake, menu image disapears

    I've just bought a SONY DN1050 and I have the following problem: - I connect it through a brand new hdmi 1m long cable to a Panasonic TX55AS802 TV - Switch ON the TV - Switch ON the receiver - The receiver's menu appears in the screen in the HDMI 1 p

  • Purchased Playlist Not Updating

    Running iOS 7.0.1 on an iPhone 5s My music app is not automatically downloading any new purchases, despite automatic downloads being turned on. Furthermore, it's not adding anything purchased on my iPhone to the "Purchased" playlist, it's simply goin

  • Macbook pro will not wake up and shows black screen

    Purchased a MBP three weeks ago.  After putting the MBP to sleep it will not wake up.  Shows black screen and makes fan sound but will not start unless power off and then on again and at times this does not work. 

  • How to get list of permissions for the PCD location

    Hello Team, I have group called "ABC". We have lots of roles created in PCD, and some of the roles are assigned to "ABC" group. I want to list out all the roles which is added to the group "ABC". Can you please help me? Thanks Manoj K