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) {  

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.)?
    `

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

  • 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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

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

  • Java.lang.ClassNotFoundException: long.    JpdProxy call

    I'm migrating a Weblogic Integration 8.5 sp5 application to Weblogic Integration 9.2 MP1. The application makes call to different JPDs through JPDProxies in java service class as follow:
    WorkflowRequest wfAdmissibility = (WorkflowRequest)JpdProxyImpl.create(WorkflowRequest.class,serviceUri,null,Boolean.FALSE)
    try {
    wfAdmissibility.clientRequest(new Long(activity.getId()), command, new Long(userId));
    WfData wfdata = wfAdmissibility.clientReturn();
    return wfdata;
    } catch (Exception e) {
    log.info("exception", e);
    throw new WorkflowException(e);
    I deploy my application without problems on a cluster containing one member which is a managed server.
    Everything works fine until the jpd is called at runtime. With some debug I identify that the error occurs when calling the clientRequest method in the preceding code exemple. I changed the parameters of the method from type long to Long but it's exactly the same error. I now think of a classLoader problem but I'm not familiar enough with those things. I really can't find solutions nor documentation (every doc about jpdProxy is for WLI 8.15 not 9.2).
    Here is the beginning of the stack trace:
    <Class=long not found using cl=weblogic.utils.classloaders.GenericClassLoader@de7687 finder: weblogic.utils.classloaders.CodeGenClassFinder@18eaa7c annotation: [email protected]
    java.lang.ClassNotFoundException: long
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:158)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.bea.wli.knex.runtime.core.metadata.AnnotatedClassV2.><init>(AnnotatedClassV2.java:212)
    at com.bea.wli.knex.runtime.core.metadata.AnnotatedClassV2.readAnnotatedClass(AnnotatedClassV2.java:52)
    at com.bea.wli.knex.runtime.core.dispatcher.LoadContext.ensureAnnotatedClass(LoadContext.java:796)
    at com.bea.wli.knex.runtime.core.metadata.AnnotatedClassV2.ensureAnnotatedClass(AnnotatedClassV2.java:37)
    at com.bea.wli.transform.runtime.DtfDispClass.getDtfDispClass(DtfDispClass.java:130)
    at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:78)
    at com.bea.wli.bpm.runtime.JpdDispClass.<init>(JpdDispClass.java:55)
    at com.bea.wli.bpm.runtime.JpdDispFile.createPrimaryDispClass(JpdDispFile.java:381)
    at com.bea.wli.knex.runtime.core.dispatcher.DispFile.<init>(DispFile.java:154)
    at com.bea.wli.knex.runtime.jws.dispatcher.JwsDispFile.<init>(JwsDispFile.java:24)
    at com.bea.wli.bpm.runtime.JpdDispFile.<init>(JpdDispFile.java:107)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    at com.bea.wli.knex.runtime.core.dispatcher.DispUnit.loadDispFile(DispUnit.java:219)
    at com.bea.wli.knex.runtime.core.dispatcher.DispUnit.<init>(DispUnit.java:153)
    at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnit(DispCache.java:624)
    at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:1025)
    at com.bea.wli.knex.runtime.core.dispatcher.DispCache.ensureDispUnitForURI(DispCache.java:946)
    at com.bea.wli.bpm.proxy.ProxyDispatcherBean.getDispFile(ProxyDispatcherBean.java:169)
    at com.bea.wli.bpm.proxy.ProxyDispatcherBean.invoke(ProxyDispatcherBean.java:99)
    at com.bea.wli.bpm.proxy.ProxyDispatcher_9it87k_EOImpl.invoke(ProxyDispatcher_9it87k_EOImpl.java:60)
    at com.bea.wli.bpm.proxy.ProxyDispatcher_9it87k_EOImpl_WLSkel.invoke(Unknown Source)

    I have some problums.....
    Pls solve...
    Java Plug-in 1.6.0_13
    Using JRE version 1.6.0_13 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Administrator
    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 StreamingApplet.RTApplet.class not found.
    java.lang.ClassNotFoundException: StreamingApplet.RTApplet.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.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)
    Caused by: java.io.IOException: open HTTP connection failed:https://strade.sharekhan.com/rmmweb/applet/StreamingApplet/RTApplet/class.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)
         ... 7 more
    Exception: java.lang.ClassNotFoundException: StreamingApplet.RTApplet.class

  • Java.lang.ClassNotFoundException Error

    Hi,
    I am trying to view the output of the example(samples/examples/jsp/JdbcTable.jsp)
    in Weblogic Server 6.1
    Basically it was trying to show the data from a table (Select * from emp) in an
    HTML Table. But it was giving the following error.
    Exception:
    java.lang.ClassNotFoundException: COM.cloudscape.core.JDBCDriver
    How do I resolve this error in order to view data from an Cloudscape Datbase.
    Also what are the steps involved in creating a Database Connection for Cloudscape
    Database.
    Please give me brief steps involved in this process.
    Thanks,
    Ram

    Hello again,
    I solved the problem.
    In Control Panel -> JInitiator administration console , the option "Use browser settings" has to be unchecked.
    daniela

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

  • SetLookAndFeel and java.lang.ClassNotFoundException problem

    Hi there, I'll admit I'm a newbie, but I really need help. I'm trying to create a GUI with a Metal layout: here the code:
    public static void main(String[] argument) {
    UIManager.setLookAndFeel
    ("javax.swing.plaf.metal.MetalLookAndFeel");
    when I try to compile the file, it gives following error:
    unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
    UIManager.setLookAndFeel
    ("javax.swing.plaf.metal.MetalLookAndFeel");
    ^
    please remember i'm a newbie, so go easy on the lingo

    import javax.swing.*;
    import java.awt.*;
    public class MainFrame extends JFrame {
         public MainFrame() {
              super("Vloot Verslag 2006");
              setSize(350, 100);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setVisible(true);
              Container pane = getContentPane();
              FlowLayout flo = new FlowLayout();
              pane.setLayout(flo);
              JButton Accounting = new JButton("Accounting");
              Accounting.setEnabled(false);
              JButton Logistics = new JButton("Logistics");
              JButton Exit = new JButton("Exit");
              pane.add(Accounting);
              pane.add(Logistics);
              pane.add(Exit);
              setContentPane(pane);
         public static void main(String[] argument) {
              UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
              MainFrame sal = new MainFrame();
    Ok there is my whole file, I just need to know what I am doing wrong

  • JDBC Help - java.lang.ClassNotFoundException

    This has been one of the greatest headaches I've had since I started programming 10+ years ago. I've just started learning Java, and I really need to connect to a JDBC database (Sybase). Please, help me!!
    I've stripped my code down, because this is the part that's causing the code to generate the error:
    import java.sql.*;
    import java.io.File;
    public class test {
         public static void main() {
              Class.forName("ianywhere.ml.jdbcodbc.IDriver");
    }The error message is:
    test.java:6: unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
         Class.forName("ianywhere.ml.jdbcodbc.IDriver");
              ^I'm using the following JDBC driver:
    http://astronomicus.net/jodbc.jar
    I'm typing this in to compile the code:
    javac -classpath "%ASANY9%\java\jodbc.jar" test.javaAnd finally, my CLASSPATH is:
    .;C:\j2sdk1.4.1_07\bin;%ASANY9%\java\
    The driver is located in the "%ASANY9%\java\" directory.
    Thank you so much for your help!!!
    Message was edited by:
    tate_etc
    Message was edited by:
    tate_etc

    Pu the statement in a try catch block.

  • When trying to connect, java.lang.ClassNotFoundException;

    I can't seem to resolve this error:
    SearchServlet.java [48:1] unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
    db.connect();
    ^
    =========The error is in the following Servlet:
    SinglesSearch.Database db=new SinglesSearch.Database();
    db.connect(); //this line throws the exception
    =========
    I've searched the web for servlets connecting to the database, but couldn't find anything that would help me figure out this issue.
    Can you help ?
    thanks,
    Dennis
    P.S.
    My database helper class.
    * Database.java
    package SinglesSearch;
    import java.sql.*;
    import java.io.*;
    public class Database {
    //Helper Class -- Takes care of DB connections and SQL
    /** Creates a new instance of Database */
    public String dbURL = "jdbc:mysql://localhost/singles";
    public String dbDriver = "com.mysql.jdbc.Driver";
    private Connection dbCon;
    public Database() {
    super();
    public boolean connect() throws ClassNotFoundException,SQLException
    { //Connect to DB
    Class.forName(dbDriver);
    dbCon = DriverManager.getConnection(dbURL,"test", "test");
    return true;
    public void close() throws SQLException
    { //Close connection to DB
    dbCon.close();

    Why is writing a servlet is so tough ?
    It seems it must be simpler. .. I mean I had to specify every last exception handling.
    I mean compare these 4 lines:
    Class.forName(dbDriver);
    dbCon = DriverManager.getConnection(dbURL,"xxx", "xxx");
    Statement stmt= dbCon.createStatement();
    ResultSet rs = stmt.executeQuery(sql);
    To the monster (in P.S.) I had to write, just for the thing to compile !!
    Is that supposed to be like that ? Or am I missing something ?
    thanks,
    Dennis
    P.S.
    //Start connection to the database
    Connection dbCon=null;
    Statement stmt=null;
    try {
    Class.forName("com.mysql.jdbc.Driver");
    } catch(ClassNotFoundException cne) {
    //Exception handling here
    out.println(cne);
    try {
    dbCon = DriverManager.getConnection("jdbc:mysql://localhost/singles","singles", "zaq123");
    } catch(SQLException sqle) {
    out.println(sqle);
    ResultSet rs = null ;
    try {
    stmt= dbCon.createStatement(); }
    catch(SQLException cne) {
    out.println(cne);
    try { rs = stmt.executeQuery("SELECT libnum FROM profiles"); }
    catch(SQLException cne) {
    out.println(cne);
    if (rs == null)
    out.println("<P>NOTHING in the database</P>");
    else
    try {
    while(rs.next())
    out.println("<BR>");
    out.println( rs.getString("libnum") );
    } catch(SQLException cne) {
    out.println(cne);
    }

  • 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

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

Maybe you are looking for

  • Update report dynamically? (without page refresh)

    I have a page with several regions, and only one region is visible at a time. Each region contains a report as well as a drop-down to alter the data displayed in the report. Currently each time a drop-down value is changed it submits the page, which

  • Server suddenly requesting authorization to print to fax

    I don't think that I have changed anything but our print server 10.5.3 just yesterday started asking the clients 10.5.3 and 10.5.4 to authenticate only when printing to the external fax modem we have on the server. No print jobs going through the ser

  • OSB to SOA Suite communication

    Hi, We have an OSB cluster and SOA Suite cluster, spread over multiple servers (either physical or virtual) where each OSB managed server is on the same underlying O/S server as a corresponding SOA Suite managed server. A hardware load balancer will

  • Warn About Changes at Main Tab Level.

    Hi All, I have 6 main tabs and in one main tab i have created a page with 6 subtabs. In one subtab i have an advanced table which contains custom Add line submit button. i set warn about changes property of AddLine button item to true, and also page

  • |Solved| Old Macbook keyboard doesn't type...

    Hi, it is the first time that i'm in trouble: i have downloaded the december media installer but on my old macbook (2006) at the first "window" menù the keyboard dosen't work. Firstly i start the usb installer with Plop CD (the pc dosen't start autom