Class not found Error while trying to migrate 8.1 to 9.2

Hi,
i want to move an application / a portal - which works fine with bea portalserver 8.1 - to 9.2, but i get this annoying error: ( even if i comment the definition of the listed listener )
<22.01.2007 10.17 Uhr CET> <Error> <HTTP> <BEA-101163> <Could not load user defi
ned listener: com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListene
r
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
        at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        Truncated. see log file for complete stacktrace
>
<22.01.2007 10.17 Uhr CET> <Error> <Deployer> <BEA-149265> <Failure occured in t
he execution of deployment request with ID '1169457318139' for task '1'. Error i
s: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:360)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
        Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
        at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        Truncated. see log file for complete stacktrace
>
<22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149004> <Failures were dete
cted while initiating distribute task for application 'myApplication'.>
<22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149078> <Stack trace for me
ssage 149004
weblogic.application.ModuleException:
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:360)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
        Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
        at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        Truncated. see log file for complete stacktrace

Hi,
i want to move an application / a portal - which works fine with bea portalserver 8.1 - to 9.2, but i get this annoying error: ( even if i comment the definition of the listed listener )
<22.01.2007 10.17 Uhr CET> <Error> <HTTP> <BEA-101163> <Could not load user defi
ned listener: com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListene
r
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
        at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        Truncated. see log file for complete stacktrace
>
<22.01.2007 10.17 Uhr CET> <Error> <Deployer> <BEA-149265> <Failure occured in t
he execution of deployment request with ID '1169457318139' for task '1'. Error i
s: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:360)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
        Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
        at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        Truncated. see log file for complete stacktrace
>
<22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149004> <Failures were dete
cted while initiating distribute task for application 'myApplication'.>
<22.01.2007 10.17 Uhr CET> <Warning> <Deployer> <BEA-149078> <Stack trace for me
ssage 149004
weblogic.application.ModuleException:
        at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:295)
        at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
oduleDriver.java:176)
        at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
leListenerInvoker.java:93)
        at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
oymentCallbackFlow.java:360)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
river.java:26)
        Truncated. see log file for complete stacktrace
java.lang.NoClassDefFoundError: com/bea/netuix/util/debug/Debug
        at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.<
clinit>(ProxyPortletRemoveListener.java:65)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        Truncated. see log file for complete stacktrace

Similar Messages

  • Class not found error while accessing a Web Service

    Hi All,
    Im getting a Class not found error while doing method calls of a third party API.
    The required jars(axis.jar) are set in the weblogic 8.1 classpath and I tried putting those jars(axis.jar) in my application lib folder also, but dint help. Please help me with a solution.
    I'll paste the exception logs here by
    java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
    at java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;(SecureClassLoader.java:123)
            at java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:251)
            at java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;(URLClassLoader.java:55)
            at java.net.URLClassLoader$1.run()Ljava/lang/Object;(URLClassLoader.java:194)
            at jrockit.vm.AccessController.do_privileged_exc(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;I)Ljava/lang/Object;(Unknown Source)
            at jrockit.vm.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;(Unknown Source)
    Thanks
    Noufal                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    Verify the 3rd party class files names are correctly written in your program. Sometimes wrong case might be the reason.
    bye for now
    sat

  • Keep getting VncViewer.class not found error when trying to use Windows 7

    Greetings,
    I have no issue accessing the OVM Manager 2.2 with OEL 5.4 x86_64 with the latest Java release from ULN. But when I use a Windows 7 client ( x86) with the Sun Java 6 Update 18 I get the following error when trying to access the Console of a VM Guest:
    Java Plug-in 1.6.0_18
    Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
    User home directory = C:\Users\deverej
    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 VncViewer.class not found.
    java.lang.ClassNotFoundException: VncViewer.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:http://141.144.112.202:8888/OVS/faces/app/VncViewer/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: VncViewer.class
    I am curious fi I should use only a specifc Java Engine with IE 7 or the latest Firefox browers.

    Same issue to with Windows XP SP3 x86 with Java Runtime Enviornment 1.5.0_15
    J2SE Enviornment 5.0 Update 15
    Java 6 Update 17

  • "Page not found" error while trying to run a page

    Hello all,
    I tried to run a page in JDeveloper(9.0.6.6_606) and after the browser page pops up, it is displaying "HTTP 404 : Page not found" error.
    Please find the log below:
    C:\jdevbin\jdk\bin\javaw.exe -ojvm -classpath C:\jdevbin\j2ee\home\oc4j.jar -mx256m -Dhttp.proxyHost=proxy -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts=10.200.152.236|localhost -Xverify:none com.evermind.server.OC4JServer -config C:\jdevhome\jdev\system9.0.3.1.1107\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Embedded OC4J startup time: 7047 ms.
    Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
    Embedded OC4J startup time: 16 ms.
    Target URL -- http://10.200.152.236:8988/OA_HTML/runregion.jsp?page=%2Foracle%2Fapps%2Fpos%2Faccount%2Fwebui%2FNonPoInvCreatePG&akAppShortName=POS&akDbcFile=FIN1DEV2&akDevMode=1&akDiag=1&akPassword=pwd4dev2&akRespKey=ISUPPLIER_PORTAL_RESP&akUsername=dpsdx48&JRAD_XML_PATH=C%3A%5Cjdevhome%5Cjdev%5Cmyclasses%5CJRADXML%5C&JRADStartTime=1152606872484
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    ApplicationServer: appName = soap
    Error creating the ORB :
    Starting an OA Core session ...
    ICX DIAGNOSTIC: application_id = 177
    ICX DIAGNOSTIC: responsibility_id = 23075
    ICX DIAGNOSTIC: security_group_id = 0
    ICX DIAGNOSTIC: APPS Web agent = http://app-fin1dev2.albertsons.com:15160/pls/FIN1DEV2/
    FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
    ICX DIAGNOSTIC: mCookieHeader = FIN1DEV2=C384A6C2A84C8E63FAA51365BA91681A;path=/;domain=.albertsons.com
    ICX_DIAGNOSTIC: mEncryptedSessionID = C384A6C2A84C8E63FAA51365BA91681A
    ICX_DIAGNOSTIC: mSessionID = 687703439
    TIME: runregion.sessionBean.createSession [87296 ms]
    ICX_DIAGNOSTIC: mTransactionID = 78453
    ICX_DIAGNOSTIC: encryptedTransactionID = C974A13EBB894B23
    TIME: runregion.sessionBean.createTransaction [9672 ms]
    TIME: runregion.rest [0 ms]
    Is there anything you think I am missing in the configurations?
    Kindly help.

    I am also using OA Framework Jdeveloper....for ADF BC development.. Please find the log below:-
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config>
    E:\jdeveloper\jdevbin\jdk\bin\javaw.exe -client -classpath E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar;E:\jdeveloper\jdevbin\jdev\lib\jdev-oc4j-embedded.jar
    -Xverify:none -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true
    -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config
    E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Oct 18, 2007 11:56:47 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\xml.jar (from <library> in
    /E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
    /E:/jdeveloper/jdevbin/lib/xml.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it
    contains different versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazn.jar (from <library> in
    /E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml) has the same filename but is not identical to
    /E:/jdeveloper/jdevbin/j2ee/home/jazn.jar (from <code-source> in META-INF/boot.xml in E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different
    versions of the same classes, it will be masked as the latter is already visible in the search path of loader default.root:0.0.0.
    WARNING: Code-source E:\jdeveloper\jdevbin\jdev\appslibrt\jazncore.jar (from manifest of /E:/jdeveloper/jdevbin/jdev/appslibrt/jazn.jar) has the same
    filename but is not identical to /E:/jdeveloper/jdevbin/j2ee/home/jazncore.jar (from <code-source> in META-INF/boot.xml in
    E:\jdeveloper\jdevbin\j2ee\home\oc4j.jar). If it contains different versions of the same classes, it will be masked as the latter is already visible in the
    search path of loader default.root:0.0.0.
    WARNING: Code-source E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib\uix2.jar (from
    WEB-INF/lib/ directory in E:\jdeveloper\jdevhome\jdev\system\oracle.j2ee.10.1.3.39.81\embedded-oc4j\applications\datatags\webapp\WEB-INF\lib) has the same
    filename but is not identical to /E:/jdeveloper/jdevbin/jdev/appslibrt/uix2.jar (from <library> in
    /E:/jdeveloper/jdevhome/jdev/system/oracle.j2ee.10.1.3.39.81/embedded-oc4j/config/application.xml). If it contains different versions of the same classes, it
    will be masked as the latter is already visible in the search path of loader datatags.web.webapp:0.0.0.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 19594 ms.
    Target URL--- http://hydhtcl33997.ad.infosys.com:8988/SRTutorialADFBC-UserInterface-context-root/faces/app/SRList.jspx
    07/10/18 11:56:56 Oracle Containers for J2EE 10g (10.1.3.1.0) initialized

  • Class not found error while executing jar file

    I have written a java code in which i am connecting to database....when i run the class file using......java class_filename it works........
    but when i run the jar file using .......java -jar jar_name ...yi gives me the error as 'Class not found'......
    can anybody help me please......
    Thanks and Regards,
    Siddhesh

    that class is part of jar file.....in classpath i have included zip files for jdbc ...to get databse connection.....and the jar being executed ................still it gives the error ClassDefnotfound which i think is due to database connection problem.....the exception is raised while.....
    Class.ForName("Driver_name").newInstance();/ This driver is present in zip files that i have added in classpath....
    above statement doesn,t giv error while i execute the class file............but exception while executing jar file only..
    Thnaks and regards,
    siddhesh

  • Main-class not found error while clicking on the jar

    I have a created a jar �FinARM.jar� for my swing application using eclipse.
    Clicking on this jar, it is giving the problem main-class not found.
    It contains the MANIFEST.MF file, with entry Main-Class: FinAlignTest for the main class.
    FinAlignTest is my main class.
    I have a similar jar created with a small swing application (Single file) clicking on it can open the swing application.
    It is also attached above.

    Hi ,
    My Apllication runs with out any warnings or errors. But when i create a jar file using eclipse it is giving this problem.
    When i double click on the jar file i am getting this problem. MANIFEST.MF entry contains the main method entry.
    I have created another jar (Which contains a simple java file, swing application) from eclipse export option.
    It works fine on click.
    But jar FinARM.jar contains 5 files (Swing app), which even fetch some data from the database.
    My jar is placein the same machine where it can fetch data from DB
    Can u plese tell me whats the problem.
    -regards
    Anu

  • Column Not found error while trying to access databse through JSP+Java Bean

    I am trying to acees MS Access 2003 db through JSP using Tomcat 5.0.28.The code for accessing the databse is incorporated in the bean.The jsp only calls the particular method of the bean .
    Code for Java Bean:
    package ActiveViewer;
    import java.sql.*;
    import java.util.*;
    public class CompanyBean
    Connection con;
    ResultSet rs=null;
    Statement st;
         public CompanyBean(){}
         public void connect()
         try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("Here4");
    con=DriverManager.getConnection("jdbc:odbc:activeviewer","","");
         System.out.println("Here1");
         catch (ClassNotFoundException e)
         System.out.println("Could not locate driver.");
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
         e.printStackTrace();
         catch (Exception e)
    System.out.println("An unknown Exception has occured :: "+e);
         e.printStackTrace();
    public void disconnect()
         try
         if (con!=null)
    con.close();
         catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
         e.printStackTrace();
    public ResultSet select(String username)
    if(con!=null)
         try
    st=con.createStatement();
         rs=st.executeQuery("select * from company where username='" + username + "'");
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
         e.printStackTrace();
    catch (Exception e)
    System.out.println("An Exception has occured while retrieving :: "+e);
    e.printStackTrace();
    else
    System.out.println("Connection to database was lost.");
    return rs;
    The code for JSP that uses the above bean is:
    <%@ page language="java" import="java.sql.*,ActiveViewer.* " contentType="text/html"%>
    <jsp:useBean id="conn" scope="session" class="ActiveViewer.CompanyBean" />
    <html>
    <body>
    <% String username=request.getParameter("username");
    String password=request.getParameter("password");
    System.out.println("username:"+username);
    System.out.println("password:"+password);
    conn.connect();
    ResultSet rs=conn.select(username);
    System.out.println("Below select ");
    while (rs.next())
    String dbusername=rs.getString("username");
         String dbpassword=rs.getString("password");
         if(dbusername.equals(username) && dbpassword.equals (password))
    { %> out.println("OK");
              <% }
    else { %>Invalid Username and / or Password.
    <br>Clickhere to go back to Login Page.
    <% }
    } %>
    </body>
    </html>
    I get the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Column not found
    though the database is not int he same folder as the jsp, the DSN is set correctly to pint to the db location.The jsp does print in stdout file:
    Here4 (from connect method above)
    Here 1 (from connect method above)
    Below Select (from jsp)
    This means that the jsp does connect to db but it gives the above error.Also the field name also matches that in the database and data is present in the db too.
    All other things like creating package for bean,incorporating the packakage are done.
    Can someone please help me with their precious advice?

    U're getting this error because there is no field called 'password' in ur database, the field in ur database is named 'cpassword' and not 'password'. So change the statement rs.getString("password"); to rs.getString("cpassword");

  • Column Not found error while trying to access database through JSP+Java Bea

    I am trying to access MS Access 2003 db through JSP using Tomcat 5.0.28.The code for accessing the database is incorporated in the bean.The JSP only calls the particular method of the bean .
    Code for Java Bean:
    package ActiveViewer;
    import java.sql.*;
    import java.util.*;
    public class CompanyBean
    Connection con;
    ResultSet rs=null;
    Statement st;
    public CompanyBean(){}
    public void connect()
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("Here4");
    con=DriverManager.getConnection("jdbc:odbc:activeviewer","","");
    System.out.println("Here1");
    catch (ClassNotFoundException e)
    System.out.println("Could not locate driver.");
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
    e.printStackTrace();
    catch (Exception e)
    System.out.println("An unknown Exception has occured :: "+e);
    e.printStackTrace();
    public void disconnect()
    try
    if (con!=null)
    con.close();
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
    e.printStackTrace();
    public ResultSet select(String username)
    if(con!=null)
    try
    st=con.createStatement();
    rs=st.executeQuery("select * from company where username='" + username + "'");
    catch (SQLException e)
    System.out.println("An SQL Exception has occured :: "+e);
    e.printStackTrace();
    catch (Exception e)
    System.out.println("An Exception has occured while retrieving :: "+e);
    e.printStackTrace();
    else
    System.out.println("Connection to database was lost.");
    return rs;
    The code for JSP that uses the above bean is:
    <%@ page language="java" import="java.sql.*,ActiveViewer.* " contentType="text/html"%>
    <jsp:useBean id="conn" scope="session" class="ActiveViewer.CompanyBean" />
    <html>
    <body>
    <% String username=request.getParameter("username");
    String password=request.getParameter("password");
    System.out.println("username:"+username);
    System.out.println("password:"+password);
    conn.connect();
    ResultSet rs=conn.select(username);
    System.out.println("Below select ");
    while (rs.next())
    String dbusername=rs.getString("username");
    String dbpassword=rs.getString("password");
    if(dbusername.equals(username) && dbpassword.equals (password))
    { %> out.println("OK");
    <% }
    else { %>Invalid Username and / or Password.
    <br>Clickhere to go back to Login Page.
    <% }
    } %>
    </body>
    </html>
    I get the following error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Column not found
    though the database is not int he same folder as the jsp, the DSN is set correctly to pint to the db location.The jsp does print in stdout file:
    Here4 (from connect method above)
    Here 1 (from connect method above)
    Below Select (from jsp)
    This means that the jsp does connect to db but it gives the above error.Also the field name also matches that in the database and data is present in the db too.
    All other things like creating package for bean in WEB-INF/classes,incorporating the packakage are done.
    Can someone please help me with their precious advice?

    Hi, I too have a problem with an SQL exception, the message is Column not found.
    I'm using the sun jdbc odbc driver with access.
    the first few lines of the stack trace are
    sun.jdbc.odbc.JdbcOdbcResultSet.findColumn(JdbcOdbcResultSet.java:1852)
    sun.jdbc.odbc.JdbcOdbcResultSet.getInt(JdbcOdbcResultSet.java:603)
    net.homeip.sdaniels.MemberBean.ejbFindByUnamePwd(MemberBean.java:127)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    I am of course sure that the column does infact exist. I can insert into the column no problems. the sql looks like this:
    SELECT * FROM Members WHERE uName ='Stewart' AND encPwd='�F2C�3����h�1Y�'
    Can any one tell me if there is a common cause to this problem?
    Thanks

  • File not found error while trying to generate stub using wsdl2java

    Hi
    I am facing this peculiar problem while generating the stub thru the wsdl2java command.
    It shows series of file not found exception.
    What all thing need to be set or taken care while we execute the command . anybody having window script for doing this please share it with me.
    Your help is higly appreciated
    Thanks
    Ottran

    It could be that the wsdl file is not found if you are invoking this command for a wsdl which is locally existing
    Could you send the command and the exception msgs that you are getting
    Regards
    Mari

  • Class not found error while using ikvm error code IKVMC0100: class "javax.b

    hi iam writing a java application which uses bluetoth i.e. javax.bluetooth;
    now i need to create exe for c# i.e. my GUI is C# and business logic is java,
    so these are steps i have followed
    * created a java project (iam using netbeans 6.1)
    * after build i used command prompt and travesed to dist of my project location which contains jar
    * here i typed ikvmc my.jar
    but now it says the following it also contains others but one of such is
    Warning IKVMC0100: class "javax.bluetooth.LocalDevice" not found
    it also creates exe but if use that in my c# then raises the exception...
    so please help me.. what is the solution for this....

    If you have the SDKPanel sample, you have a Flex sample and debugging information. Please let me know (off-forum) what you're buildng, and we'll make sure your dev environment is configured correctly.

  • Class not found error while running a JSP App

    Hi everybody,
              I am getting the following error while try to run a JSPApp using JBuilder
              and weblogic server 6.1.
              C:\JBuilder6\jdk1.3.1\bin\javaw -classpath "C:\BEA
              Home\wlserver6.1\lib\weblogic.jar;C:\BEA
              Home\wlserver6.1\lib\weblogic.jar;C:\JBuilder6\jdk1.3.1\demo\jfc\Java2D\Java
              2Demo.jar;C:\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;C:\JBuilder6\jdk1.3.1\jre\l
              ib\jaws.jar;C:\JBuilder6\jdk1.3.1\jre\lib\rt.jar;C:\JBuilder6\jdk1.3.1\jre\l
              ib\sunrsasign.jar;C:\JBuilder6\jdk1.3.1\lib\dt.jar;C:\JBuilder6\jdk1.3.1\lib
              \htmlconverter.jar;C:\JBuilder6\jdk1.3.1\lib\tools.jar" -ms64m -mx64m -Djav
              a.library.path=C:/BEA Home/wlserver6.1/bin -Dbea.home="C:/BEA
              Home" -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Djava.security.po
              licy==C:/BEA
              Home/wlserver6.1/lib/weblogic.policy -Dweblogic.management.password=suresh74
              weblogic.Server
              java.lang.NoClassDefFoundError: Home/wlserver6/1/bin
              Exception in thread "main"
              i didn't understand where it is picking the path Home/wlserver6/1/bin.
              I am really frustrated with this.
              Can any one over there Have any Idea or gone through this, please help me ,
              I would be thankfull to them.
              Thank you,
              -Suresh
              

    Hi.
              Try putting double quotes around your java.library.path definition - I think it
              can't handle the space in the string. So change:
              -Djava.library.path=C:/BEA Home/wlserver6.1/bin
              to
              -Djava.library.path="C:/BEA Home/wlserver6.1/bin"
              Regards,
              Michael
              Suresh Babu wrote:
              > Hi everybody,
              >
              > I am getting the following error while try to run a JSPApp using JBuilder
              > and weblogic server 6.1.
              > C:\JBuilder6\jdk1.3.1\bin\javaw -classpath "C:\BEA
              > Home\wlserver6.1\lib\weblogic.jar;C:\BEA
              > Home\wlserver6.1\lib\weblogic.jar;C:\JBuilder6\jdk1.3.1\demo\jfc\Java2D\Java
              > 2Demo.jar;C:\JBuilder6\jdk1.3.1\jre\lib\i18n.jar;C:\JBuilder6\jdk1.3.1\jre\l
              > ib\jaws.jar;C:\JBuilder6\jdk1.3.1\jre\lib\rt.jar;C:\JBuilder6\jdk1.3.1\jre\l
              > ib\sunrsasign.jar;C:\JBuilder6\jdk1.3.1\lib\dt.jar;C:\JBuilder6\jdk1.3.1\lib
              > \htmlconverter.jar;C:\JBuilder6\jdk1.3.1\lib\tools.jar" -ms64m -mx64m -Djav
              > a.library.path=C:/BEA Home/wlserver6.1/bin -Dbea.home="C:/BEA
              > Home" -Dweblogic.Domain=mydomain -Dweblogic.Name=myserver -Djava.security.po
              > licy==C:/BEA
              > Home/wlserver6.1/lib/weblogic.policy -Dweblogic.management.password=suresh74
              > weblogic.Server
              >
              > java.lang.NoClassDefFoundError: Home/wlserver6/1/bin
              >
              > Exception in thread "main"
              >
              > i didn't understand where it is picking the path Home/wlserver6/1/bin.
              >
              > I am really frustrated with this.
              >
              > Can any one over there Have any Idea or gone through this, please help me ,
              > I would be thankfull to them.
              >
              > Thank you,
              > -Suresh
              Michael Young
              Developer Relations Engineer
              BEA Support
              

  • Class Not Found Error while using dcm 9.0.3 jar

    I am getting the following exception while trying to stop an application deployed in oracle 10g app server using dcm utility.Can anyone please help me how to resolve this because it is very urgent for my work to progress
    Thanks in Advance
    04/10/18 07:34:37 A problem has occurred accessing the Oracle9iAS
    infrastructure
    database.
    Base Exception:
    java.lang.NoClassDefFoundError:oracle/ias/repository/SchemaManager
    04/10/18 07:34:37 Please, refer to the base exception for resolution, or
    call Or
    acle support.

    Hi Sujith,
    You should post that question here: Oracle Application Server - General
    - Don

  • Class not found error while establishing a jco connection

    Hi
    I am trying to establish a JCo connection in Java class.
    public static void main(String s[])
    try {
    ...// set connection properties
                   connClient.connect();
                   } catch (Exception ex)
                        ex.printStackTrace();
                        System.exit(1);
    It is throwing runtime error on line connClient.connect();
    java.lang.NoClassDefFoundError
    at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1079)
    at com.sap.mw.jco.JCO$Client.connect(JCO.java:3256)

    Hi Saurabh,
    Please refer to below for calling JCo connection in Java class..
    http://help.sap.com/saphelp_nw04/helpdata/en/b6/55e3952a902447847066a0df27b0d6/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ed/89746bea5011d6b2e800508b6b8a93/content.htm
    Hope it helps
    Regards
    Arun

  • Class not found error while acc ejb

    Hi,
    I am trying to access the ejb deployed in orion container from jserv servlet or jsp,it gives me following error-
    javax.xml.parsers.FactoryConfigurationError: java.lang.ClassNotFoundException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java, Compiled Code)
    at java.lang.Error.(Error.java, Compiled Code)
    at javax.xml.parsers.FactoryConfigurationError.(FactoryConfigurationError.java, Compiled Code)
    at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java, Compiled Code)
    at com.evermind.xml.JavaxXMLUtils.getJavaxDocument(JavaxXMLUtils.java, Compiled Code)
    at com.evermind.xml.XMLUtils.getDocument(XMLUtils.java, Compiled Code)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java, Compiled Code)
    at com.evermind.server.ApplicationClientInitialContextFactory.getInitialContext(ApplicationClientInitialContextFactory.java, Compiled Code)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java, Compiled Code)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java, Compiled Code)
    at javax.naming.InitialContext.init(InitialContext.java, Compiled Code)
    at javax.naming.InitialContext.(InitialContext.java, Compiled Code)
    at autoglobal.crm._hello._jspService(_hello.java:89)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
    at oracle.jsp.JspServlet.internalService(JspServlet.java, Compiled Code)
    at oracle.jsp.JspServlet.service(JspServlet.java:148)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java, Compiled Code)
    at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled Code)
    at java.lang.Thread.run(Thread.java, Compiled Code)
    Can anyone give suggestion on this.
    Help needed urgently.
    Regards,
    Mandar
    null

    The Orion EJB client makes use of several JAR files from it's distribution. You will need to put these into the Apache JServ classpath for your application.
    Look for xerces.jar, xalan.jar, saxon.jar, crimson.jar.
    You'll also need orion.jar since that has the EJB client code.
    The easiest way to do this is to use the JSP environment supplied with OC4J which is fully JSP 1.1 compliant and has access to all the requisite JAR files when it starts.

  • ADS: com.adobe.ProcessingException: Class not found exception while loading

    Hi All,
    While i'm trying to activate FORM (Interactive Form in Transaction SFP), i'm getting error -
    ADS: com.adobe.ProcessingException: Class not found exception while loading class SAPForm, classpath: /usr/sap/AHS/DVEBMGS00/exe/jstart7 1.jar/usr/sap/AHS/DVEBMGS00/exe.
    Could anyone let me know the way to resolve this issue.
    Thanks and Regards,
    Sunil

    Many Thanks for the reply-It's working now
    I added the MySQL connector in the following manner
    1)Open the Tom Cat server console by Selecting 'Servers' in Package Explorer
    2)Right Click 'Tomcat v5.5 at localhost.server'
    3)Select 'Open Launch Configuration' under 'General Information'
    4)Select the 'Classpath' tab in the Edit configuration window that opens
    5)Select 'Add External Jars' and add the required connector

Maybe you are looking for

  • Install cache error

    I'm trying to install itunes 10.6 on windows 7 home premium.  it downloads the software and starts to install.  I receive an error:  "an error occurred while attempting to create the directory c:/program data/apple/installer cache" I click retry seve

  • Team calibration in flexible PMS EHP4

    Hi PMS Gurus, Need your expert advise.  We are implementing   flexible PMS on EHP4 .  Team calibration is a standard  feature of Predefined  PMS (EHP4 onwards).   Due to heavy customization we are not implementing Predefined PMS but going for Flexibl

  • Mass Release of  Purchase Order

    Dear Experts , I have  a requirement of releasing a PO en mass . This is not like ME28 ( collective release ) . But something like ME55 , where we can select all & release  all POs Please let me know how is this possible ? The requirement is due to t

  • Page is not rendered after first request

    Hi all, i have two page with names page1.jsp and page2.jsp. i open page2.jsp as pop up window by clicking a link on page1.jsp in _init() of page2.jsp,  i am getting some information from database and then i am able to create dynamic components accord

  • Export to PDF from VB6 results in 0 records... Sometimes.

    I am trying to export reports to PDF files in VB using a simple loop. Usually it works fine but there are times when I get 0 records in the report. The loop is set up so that there is always data available for the report. I can put breaks in the code