Loading Servlet Error - Websphere

Hi,
I have deployed a application in WebSphere v.4. when I am starting the Application, It is giving below error. Wht is cause pls help. Urgent.
Error:
Servlet Error-[UpDelScoreSheetServlet]: Failed to load servlet: java.lang.NoClassDefFoundError: java/lang/CharSequence
     at java.lang.Class.newInstance0(Native Method)
     at java.lang.Class.newInstance(Class.java(Compiled Code))
     at java.beans.Beans.instantiate(Beans.java:233)
     at java.beans.Beans.instantiate(Beans.java:77)
     at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:141)
     at com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:325)
     at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1217)
     at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:145)
     at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:259)
     at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:168)
     at com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:856)
     at com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36)
     at com.ibm.ws.runtime.Server.startModule(Server.java:617)
     at com.ibm.ejs.sm.active.ActiveModule.startModule(ActiveModule.java:511)
     at com.ibm.ejs.sm.active.ActiveModule.startAction(ActiveModule.java:355)
     at com.ibm.ejs.sm.active.ActiveObject.startObject(ActiveObject.java:722)
     at com.ibm.ejs.sm.active.ActiveObject.start(ActiveObject.java:131)
     at java.lang.reflect.Method.invoke(Native Method)
     at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:93)
     at com.ibm.ejs.sm.active.ActiveObject.invokeContainedObject(ActiveObject.java:525)
     at com.ibm.ejs.sm.agent.AdminAgentImpl.activeObjectInvocation(AdminAgentImpl.java:110)
     at com.ibm.ejs.sm.agent.AdminAgentImpl.invokeActiveObject(AdminAgentImpl.java:62)
     at com.ibm.ejs.sm.agent._AdminAgentImpl_Tie._invoke(_AdminAgentImpl_Tie.java:73)
     at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:532)
     at com.ibm.CORBA.iiop.ORB.process(ORB.java:2395)
     at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:186)
     at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
     at com.ibm.ws.util.CachedThread.run(ThreadPool.java:138)

Hi
Sounds like you wrote your code against JDK 1.4.2 but WebSphere is probably running on 1.3.x (can't remember exactly what WAS 4 run on)
So although your code compiled, WAS doesn't know what CharSequence is because it only became part of the java.lang package in 1.4.x
I suggest you change your JDK down to the version used in WAS because you'll probably find other problems that you weren't expecting due to the difference in JDK versions.
-Rich

Similar Messages

  • Servlet error: Error loading filter 'ADFBindingFilter'

    I use JDeveloper 10g (9.0.5.2 build 1618) and deploy my application to standalone oc4j 10g.
    I got the following internal error when I access dataAction. So I could not show any page.
    Servlet error: Error loading filter 'ADFBindingFilter', filter-class 'oracle.adf.model.servlet.ADFBindingFilter' not found
    Pls help me.
    Thanks

    for some reason your web.xml does not have the servlet filter set up. If not I suspect you may have other entries missing. You could try and create a new adf-bc4j web application and look at the newly generated web.xml to see what is missing in yours. The specific entries you are missing are given below
    <filter>
    <filter-name>ADFBindingFilter</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    <init-param>
    <param-name>encoding</param-name>
    <param-value>windows-1252</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <servlet-name>action</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <servlet-name>jsp</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>ADFBindingFilter</filter-name>
    <servlet-name>ordDeliverMedia</servlet-name>
    </filter-mapping>

  • Error loading servlet: weblogic.servlet.FileServlet with v. 4.0.3

    Servlets have been working for months. Suddenly, I'm getting
              this error (see below) as soon as I try to hit a servlet.
              The startup process looks normal. I've re-installed WL v 4.0.3
              several time, gotten the license in place, so on and so forth,
              but cannot get around this problem. "weblogic.properties" file
              still reads:
              weblogic.httpd.register.file=weblogic.servlet.FileServlet
              All my servlets and EJBs have been registered, and db connection and
              pool made, as usual. As I said above, everything looks normal until
              I try to hit a servlet.
              [... startup output tidied up a bit ...]
              Thu Jan 27 14:46:05 MST 2000:<I> <ListenThread> Listening on port: 80
              Thu Jan 27 14:46:06 MST 2000:<I> <SSLListenThread> Listening on port: 7002
              Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Error loading servlet: weblogic.servlet.FileServlet
              Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> java.lang.IncompatibleClassChangeError: class
              weblogic.utils.classloaders.ClasspathClassFinder does not implement interface weblogic.utils.classloaders.ClassFinder
              at weblogic.utils.classloaders.GenericClassloader.findLocalClass(GenericClassloader.java:196)
              at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
              at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.loadClass(RecursiveReloadOnModifyClassLoader.java:221
              at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
              at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLocalClass(RecursiveReloadOnModifyClassLoader.java:96)
              at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
              at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:82)
              at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
              at weblogic.servlet.internal.ServletContextImpl.loadClass(ServletContextImpl.java:440)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:121)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:85)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:67)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:203)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:505)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
              at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
              Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Servlet failed with ServletException ...
              ... and so on with multiple cascading failures.
              Does anyone have any idea as to what could cause this?
              Thanks.
              Paul Furbacher
              [email protected]
              

    Did you register your servlets after reinstalling. FileServlet is only for handling html pages. It has no role in loading servlets.
              "Paul Furbacher [TeamB]" wrote:
              > Servlets have been working for months. Suddenly, I'm getting
              > this error (see below) as soon as I try to hit a servlet.
              > The startup process looks normal. I've re-installed WL v 4.0.3
              > several time, gotten the license in place, so on and so forth,
              > but cannot get around this problem. "weblogic.properties" file
              > still reads:
              >
              > weblogic.httpd.register.file=weblogic.servlet.FileServlet
              >
              > All my servlets and EJBs have been registered, and db connection and
              > pool made, as usual. As I said above, everything looks normal until
              > I try to hit a servlet.
              >
              > ****
              >
              > [... startup output tidied up a bit ...]
              > Thu Jan 27 14:46:05 MST 2000:<I> <ListenThread> Listening on port: 80
              > Thu Jan 27 14:46:06 MST 2000:<I> <SSLListenThread> Listening on port: 7002
              > Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Error loading servlet: weblogic.servlet.FileServlet
              > Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> java.lang.IncompatibleClassChangeError: class
              > weblogic.utils.classloaders.ClasspathClassFinder does not implement interface weblogic.utils.classloaders.ClassFinder
              > at weblogic.utils.classloaders.GenericClassloader.findLocalClass(GenericClassloader.java:196)
              > at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
              > at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader$Slave.loadClass(RecursiveReloadOnModifyClassLoader.java:221
              > at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
              > at weblogic.utils.classloaders.RecursiveReloadOnModifyClassLoader.findLocalClass(RecursiveReloadOnModifyClassLoader.java:96)
              > at weblogic.utils.classloaders.GenericClassloader.reallyLoadClass(Compiled Code)
              > at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:82)
              > at weblogic.utils.classloaders.GenericClassloader.loadClass(GenericClassloader.java:66)
              > at weblogic.servlet.internal.ServletContextImpl.loadClass(ServletContextImpl.java:440)
              > at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:121)
              > at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:85)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:67)
              > at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:203)
              > at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:505)
              > at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:263)
              > at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
              >
              > Thu Jan 27 14:47:32 MST 2000:<E> <ServletContext-Servlets> Servlet failed with ServletException ...
              >
              > ... and so on with multiple cascading failures.
              >
              > ****
              >
              > Does anyone have any idea as to what could cause this?
              >
              > Thanks.
              >
              > Paul Furbacher
              > [email protected]
              

  • Error loading servlet: 'EbuController' java.lang.NoClassDefFoundError after redeploy EAR in weblogic 6.1

              Hi, there:
              we have deployed our application in EAR format in \config\mydomain\applications.
              This EAR contains one ejb.jar and one web.war. I can access a servlet after I
              deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
              from within weblogic console. I got the following error when I revisit that servlet
              again.
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: 'EbuController'
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: "EbuController"
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Your help is highly appreciated!
              Jerry
              

              Hi, there:
              we have deployed our application in EAR format in \config\mydomain\applications.
              This EAR contains one ejb.jar and one web.war. I can access a servlet after I
              deployed the EAR file into weblogic 6.1 sp1. However, if I redeploy this EAR file
              from within weblogic console. I got the following error when I revisit that servlet
              again.
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: 'EbuController'
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              <Jan 17, 2002 9:30:41 PM PST> <Error> <HTTP> <[WebAppServletContext(1485918,plat
              form,/platform)] Error loading servlet: "EbuController"
              java.lang.NoClassDefFoundError
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:237)
              at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubIm
              pl.java:665)
              at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStub
              Impl.java:643)
              at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
              mpl.java:588)
              at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
              java:368)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:242)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:200)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
              rvletContext.java:2456)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
              pl.java:2039)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Your help is highly appreciated!
              Jerry
              

  • Error loading servlet because a ClassNotFoundError

    Hi,
    I send a request to a servlet named "ControlAcceso".
    The WebLogic server prints:
    Error loading servlet: 'ControlAcceso'
    java.lang.NoClassDefFoundError: gov/co/ssp/suin/ejb/ServiciosAutenticacionHome
    at gov.co.ssp.suin.web.ControlAcceso.init(ControlAcceso.java:23)
    I have an EJB that has a home interface named gov.co.ssp.suin.ejb.ServiciosAutenticacionHome;
    the file ServiciosAutenticacionHome.class is located in a directory named /gov/co/ssp/suin/ejb
    in a sui_ejb.jar file and in a sui_web.war file.
    Besides, I put the sui_ejb.jar in the CLASSPATH of WebLogic Server in the setEnv.cmd
    file.
    A piece of code of the ControlAcceso.java servlet follows:
    package gov.co.ssp.suin.web;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import javax.naming.*;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacionHome ;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacion ;
    import gov.co.ssp.suin.comun.* ;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacionHome ;
    public class ControlAcceso extends HttpServlet {
    ServiciosAutenticacion servAutenticacion;
    HttpSession session ;
    * Initialize global variables
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    try{
    Context ctx = new InitialContext();
    ServiciosAutenticacionHome home = (ServiciosAutenticacionHome) ctx.lookup("ServiciosAutenticacion.ServiciosAutenticacionHome");
    servAutenticacion = home.create();
    } catch ( java.rmi.RemoteException re ) {
    System.out.println("ControlAcceso.init: Excepcion RemoteException: ####
    " + re.getMessage() );
    throw new ServletException(re);
    catch (javax.naming.NamingException ne) {
    System.out.println("ControlAcceso.init: Excepcion NamingException: ####
    " + ne.getMessage() );
    javax.naming.Name name = ne.getRemainingName();
    for (Enumeration e = name.getAll() ; e.hasMoreElements() ;) {
    System.out.println(e.nextElement());
    throw new ServletException(ne);
    catch(Exception e){
    System.out.println("ControlAcceso.init: #######" + e.getMessage() );
    throw new ServletException(e);
    Any help is really appreciated.
    Regards.
    - Ricardo De la Rosa (Colombia)
    [NoClassDefFoundError.txt]

    You're welcome. Glad to help.
    Regards,
    Slava Imeshev
    "Ricardo De la Rosa" <[email protected]> wrote in message
    news:[email protected]...
    >
    Slava,
    Thank you very much.
    Your answer (and clues) were the solution to my problem.
    Best regards from Colombia !
    - Ricardo.
    "Slava Imeshev" <[email protected]> wrote:
    Hi Ricardo,
    NoClassDefFoundError means that though the classloader
    has been able to find ServiciosAutenticacionHome, it's not
    been able to locate supporting classes or interfaces used by
    ServiciosAutenticacionHome. Make sure your ejb-jar contains
    all necessary classes.
    Regards,
    Slava Imeshev
    "Ricardo De la Rosa" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I send a request to a servlet named "ControlAcceso".
    The WebLogic server prints:
    Error loading servlet: 'ControlAcceso'
    java.lang.NoClassDefFoundError:gov/co/ssp/suin/ejb/ServiciosAutenticacionHome
    at
    gov.co.ssp.suin.web.ControlAcceso.init(ControlAcceso.java:23)
    >>>
    I have an EJB that has a home interface namedgov.co.ssp.suin.ejb.ServiciosAutenticacionHome;
    the file ServiciosAutenticacionHome.class is located in a directorynamed
    /gov/co/ssp/suin/ejb
    in a sui_ejb.jar file and in a sui_web.war file.
    Besides, I put the sui_ejb.jar in the CLASSPATH of WebLogic Serverin the
    setEnv.cmd
    file.
    A piece of code of the ControlAcceso.java servlet follows:
    package gov.co.ssp.suin.web;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    import javax.naming.*;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacionHome ;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacion ;
    import gov.co.ssp.suin.comun.* ;
    import gov.co.ssp.suin.ejb.ServiciosAutenticacionHome ;
    public class ControlAcceso extends HttpServlet {
    ServiciosAutenticacion servAutenticacion;
    HttpSession session ;
    * Initialize global variables
    public void init(ServletConfig config) throws ServletException {
    super.init(config);
    try{
    Context ctx = new InitialContext();
    ServiciosAutenticacionHome home = (ServiciosAutenticacionHome)ctx.lookup("ServiciosAutenticacion.ServiciosAutenticacionHome");
    servAutenticacion = home.create();
    } catch ( java.rmi.RemoteException re ) {
    System.out.println("ControlAcceso.init: Excepcion
    RemoteException:
    " + re.getMessage() );
    throw new ServletException(re);
    catch (javax.naming.NamingException ne) {
    System.out.println("ControlAcceso.init: Excepcion
    NamingException:
    " + ne.getMessage() );
    javax.naming.Name name = ne.getRemainingName();
    for (Enumeration e = name.getAll() ; e.hasMoreElements() ;) {
    System.out.println(e.nextElement());
    throw new ServletException(ne);
    catch(Exception e){
    System.out.println("ControlAcceso.init: #######" + e.getMessage());
    throw new ServletException(e);
    Any help is really appreciated.
    Regards.
    - Ricardo De la Rosa (Colombia)

  • Error can't load Servlet org.apache.struts.action.ActionServlet

    Hi,
    I have SAP J2EE 6.20 installed on linux machine. I am trying to deploy struts framework based application and while deploying it..... I am getting error message:
    Error can't load Servlet org.apache.struts.action.ActionServlet : java.lang.NoClassDefFoundError: org/xml/sax/SAXException
    07 19:27:48 -  ***********************************************************
    08/10/07 19:27:48 -  Applying user role management mappings.
    08/10/07 19:27:48 -  Start updating EAR-file...D:\SAPJ2EE Client\deploying\sambodh\sambodh.ear
    08/10/07 19:28:26 -  Temp files deleted...
    08/10/07 19:28:26 -  Ear-file updated successfully for 37860ms.
    08/10/07 19:28:27 -  Start deploying ...
    08/10/07 19:30:35 -  Ear-file uploaded to server for 128047ms.
    08/10/07 19:30:37 -  Successfuly deployed! Deployment took 1953ms.
    08/10/07 19:30:37 -  WARNING : Deploy service return folowing WARNINGs:
                         Error can't load Servlet org.apache.struts.action.ActionServlet : java.lang.NoClassDefFoundError: org/xml/sax/SAXException
                          Deployment took 1953ms.
    08/10/07 19:30:37 -  ***********************************************************
    First time when I got this error, I added struts.jar in my server's <inst_dir>/alone/additional_libs/...... but then also error still exists... Do I have to start  SAP J2EE instance once again and then deploy my application?
    Can anyone help me out in this as this is very very very imp.
    regards

    Hi,
    As per your actions above I believe you have already found SAP Note 435363.
    Basically for a struts application there are no special requirements other than
    1. Make a reference to the inqmyxmltoolkit from the application that is going to use struts before the deployment
    2. Put the struts library into WEB-INF/lib of the application (struts can't be shared among applications)
    3. Deploy the application
    For making the reference you can:
    1. Telnet to the Engine (if you run it as a service and do not have access to its shell directly)
    If telnet port on the Engine dispatcher is 2323
    telnet localhost 2323
    2. Jump to the server node
    for example if the application node's cluster id is 4001
    jump 4001
    3. Execute the commands
    add deploy
    changeref -m  MyApplication library:inqmyxml
    So if it does not work, then I see two reasons possible:
    1. You are using a really old version of the 6.20 Engine - check if you are on PL41.
    2. You have misspelled the name of your application in the reference. The names are case sensitive so you need to be careful. MyApplication is not the same as myApplication or myapplication.
    Regards,
    Iavor

  • Error Could not pre-load servlet: MessageBrokerServlet

    I get the following errors during LCDS startup:
    error Could not pre-load servlet: MessageBrokerServlet
    [1]java.lang.UnsupportedClassVersionError: flexdev/FundciteAssembler (Unsupported major.minor version 50.0)
    [Flex] Error instantiating application scoped instance of type 'flexdev.FundciteAssembler' for destination 'fundcite'.
    java.lang.UnsupportedClassVersionError: flexdev/FundciteAssembler (Unsupported major.minor version 50.0)
    I have a MySQL server running and I am trying to connect to it through java. Any idea what this error means?

    "Unsupported major.minor version" means you are using a JVM version that is not supported.
    List of supported JVMs can be found here:
    http://www.adobe.com/products/livecycle/systemreqs.html#item-02

  • [Servlet Error]-[Can't connect to X11 window server using ':0.0&#39

    i m using repot engin to disply report its running in windows well in my local machine but whn i deployeed it to test server (AIX) it gave me this error server is websphere
    E SRVE0026E: [Servlet Error]-[Can&#39;t connect to X11 window server using &#39;:0.0&#39; as the value of the DISPLAY variable.]: java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
         at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
         at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:175)
         at java.lang.Class.forName1(Native Method)
         at java.lang.Class.forName(Class.java(Compiled Code))
         at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
         at java.awt.Font.initializeFont(Font.java:333)
         at java.awt.Font.<init>(Font.java:368)
         at com.actuate.ereport.engine.templateio.TmplReader.getFont(Unknown Source)
         at com.actuate.ereport.engine.templateio.TmplReader.getFont(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.handleFont(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.closeObjects(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.endElement(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.startParsing(Unknown Source)
         at com.actuate.ereport.engine.templateio.XMLTmplReader.readTemplate(Unknown Source)
         at com.actuate.ereport.engine.templateio.TmplReader.ReadTemplateFromBytes(Unknown Source)
         at com.actuate.ereport.engine.templateio.TmplReader.readTemplate(Unknown Source)
         at com.actuate.ereport.engine.ACJEngine.readTemplate(Unknown Source)
         at com.actuate.ereport.engine.ACJEngine.readTemplate(Unknown Source)
         at com.actuate.ereport.eapi.factory.DesignFactoryImpl.load(Unknown Source)
         at com.actuate.ereport.eapi.factory.DesignFactoryImpl.load(Unknown Source)
         at ccrmsweb.actions.PrintRpts.execute(PrintRpts.java:129)
    Please tell me wht exactly i have to do, i men exactly its very urgent

    Check this thread:
    Re: Can't connect to X11 window server using 'localhost:0.0'

  • Failed to load servlet: java.lang.ExceptionInInitializerError

    Hi everybody,
    I got this webapp developed in Websphere Studio that generates this weird error when I fire up the test server.
    Everything else works fine, no errors.
    Any suggestions/advices??
    [Servlet.LOG]: JSP 1.2 Processor: init
    [Servlet.LOG]: FormLoginServlet: init
    [Servlet.LOG]: FormLogoutServlet: init
    [Servlet.LOG]: SimpleFileServlet: init
    [Servlet.LOG]: InvokerServlet: init
    [Servlet Error]-[action]: Failed to load servlet: java.lang.ExceptionInInitializerError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:79)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code))
         at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
         at java.lang.Class.newInstance3(Class.java(Compiled Code))
         at java.lang.Class.newInstance(Class.java(Compiled Code))
         at java.beans.Beans.instantiate(Beans.java:218)
         at java.beans.Beans.instantiate(Beans.java:62)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:188)
         at com.ibm.ws.webcontainer.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:542)
         at com.ibm.ws.webcontainer.webapp.WebApp.loadServletManager(WebApp.java:1277)
         at com.ibm.ws.webcontainer.webapp.WebApp.init(WebApp.java:283)
         at com.ibm.ws.webcontainer.srt.WebGroup.loadWebApp(WebGroup.java:387)
         at com.ibm.ws.webcontainer.srt.WebGroup.init(WebGroup.java:209)
         at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:1005)
         at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:136)
         at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:356)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:505)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:808)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:354)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:578)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:299)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:256)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl.java:128)
         at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:536)
         at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:413)
         at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:183)
         at com.ibm.ws.runtime.WsServer.start(WsServer.java:128)
         at com.ibm.ws.runtime.WsServer.main(WsServer.java:225)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
         at java.lang.reflect.Method.invoke(Method.java:386)
         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:105)
         at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV5$1.run(ServerRunnerV5.java:97)
    Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.ClassCastException: com.ibm.ws.commons.logging.TrLogFactory
         at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:609)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:561)
         at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:352)
         at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395)
         at      at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:375).null(Unknown Source)
         ... 37 more
    Caused by: java.lang.ClassCastException: com.ibm.ws.commons.logging.TrLogFactory
         at org.apache.commons.logging.LogFactory$2.run(LogFactory.java:571)
         ... 42 more
    [11/5/04 10:56:20:833 CST] 3cbe53b6 TraceNLS u No message text associated with key Servlet.[action]:.could.not.be.loaded in bundle com.ibm.ejs.resources.seriousMessages
    [11/5/04 10:56:20:833 CST] 3cbe53b6 WebAppServlet E Servlet [action]: could not be loaded
    Thanks for all time you took to look over this mess ! :-)

    Actually, best thing to do is switch to use internal commons-logging, or if you have to use another implementation such as log4j, you'll need to configure your server .. see http://www-1.ibm.com/support/docview.wss?uid=swg27004610
    to switch to internal commons-logging is easy
    change all
    import org.apache.log4j.Logger;to
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;and then go
    private static Log logger = LogFactory.getLog(Whatever.class);to get the logger

  • Failed to load servlet: java.lang.ClassNotFoundException

    I've been working on a project with other developers and we've all have our own sections of a large web application that we are working on. When we are each done working on our part we send our JSPs, Beans, and servlets to the lead developer that then deploys one EAR file on our Test/QA server. I now asked the tech lead if he could send me the EAR file so I can load the application in its entirety on my local machine. When I start up the server, I get the error "Failed to load servlet: java.lang.ClassNotFoundException" for each one of my servlets. Even if the servlet path is correct I still get that error. I also tried removing the servlet in the web.xml file and then adding it again, but I still get that error. Has anyone experienced anything like this before? Is this error appearing because I have two projects (my part of the application with only my code and the complete project from the EAR file) that point to the same servlets? I'm not sure how to resolve this. Any advice would be greatly appreciated. Thanks in advance!

    That's what I thought too. But I'm installing an EAR file exported directly from another persons computer and the application is working fine on his machine. So the EAR file will automatically place the servlets in their proper path and directory structure when I import it. In any case I checked the paths myself and they are correct (the servlet file does exist in the same path). I also removed the servlet from the web.xml file and added it again through the websphere UI so if there was any miss-type in the directory path it would have been corrected by websphere. I also tried making a minor change to the servlet file and resaving it thinking that it might correct something or do something that would allow my websphere environment to see/recognize the existance of the servlet, but that did not work. I'm out of ideas. Does anyone have any suggestions? Here is a part of my log file if it helps: Thanks!
    *** Starting the server ***
    IBM WebSphere Application Server, Release 4.0.4
    Advanced Single Server Edition for Multiplatforms
    Copyright IBM Corp., 1997-2001
    ************ Start Display Current Environment ************
    WebSphere AEs 4.0.4 ptf40230.02 running with process name localhost/Default Server and process id 3188
    Host Operating System is Windows 2000, version 5.0
    Java version = J2RE 1.3.1 IBM Windows 32 build cn131w-20020710 ORB130 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
    server.root = C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4
    Java Home = C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4\java\jre
    ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/java/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/classes;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/lib;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/lib/ext;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/web/help;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wasListener.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.webservice_5.0.1/runtime/worf.jar
    Classpath = C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/properties;C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/lib/bootstrap.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.0.1/runtime/wasToolsCommon.jar
    Java Library path = C:\Program Files\IBM\WebSphere Studio\runtimes\aes_v4/bin;C:\Program Files\IBM\WebSphere Studio\eclipse\jre\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\CA_APPSW;C:\TNGSD\BIN;C:\Program Files\QuickTime\QTSystem\;C:\PROGRA~1\MICROS~2\Office;C:\Program Files\Microsoft SQL Server\80\Tools\BINN
    Current trace specification = *=all=disabled
    ************* End Display Current Environment *************
    [9/13/06 9:25:18:620 EDT] 64a937ec Server U Version : 4.0.4
    [9/13/06 9:25:18:636 EDT] 64a937ec Server U Edition: Advanced Single Server Edition for Multiplatforms
    [9/13/06 9:25:18:636 EDT] 64a937ec Server U Build date: Thu Sep 05 00:00:00 EDT 2002
    [9/13/06 9:25:18:636 EDT] 64a937ec Server U Build number: ptf40230.02
    [9/13/06 9:25:21:933 EDT] 64a937ec DrAdminServer I WSVR0053I: DrAdmin available on port 7000
    [9/13/06 9:25:21:995 EDT] 64a937ec ResourceBinde I WSVR0049I: Binding Session Persistence datasource as jdbc/Session
    [9/13/06 9:25:22:136 EDT] 64a937ec ResourceBinde I WSVR0049I: Binding IDS as jdbc/IDS
    [9/13/06 9:25:23:120 EDT] 64a937ec ServletEngine A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2001
    [9/13/06 9:25:23:183 EDT] 64a937ec ServletEngine A SRVE0162I: Servlet Specification Level: 2.2
    [9/13/06 9:25:23:183 EDT] 64a937ec ServletEngine A SRVE0163I: Supported JSP Specification Level: 1.1
    [9/13/06 9:25:23:292 EDT] 64a937ec ServletEngine A SRVE0167I: Session Manager is Configured - Initializing...
    [9/13/06 9:25:23:401 EDT] 64a937ec CacheManager A DYNA0011E: Servlet cache file dynacache.xml not found; caching is disabled
    [9/13/06 9:25:23:417 EDT] 64a937ec ServletEngine A SRVE0169I: Loading Web Module: IBM Universal Test Client.
    [9/13/06 9:25:23:761 EDT] 64a937ec WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init
    [9/13/06 9:25:23:792 EDT] 64a937ec WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init
    [9/13/06 9:25:24:511 EDT] 64a937ec ServletEngine A SRVE0169I: Loading Web Module: IDS.
    [9/13/06 9:25:24:683 EDT] 64a937ec WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init
    [9/13/06 9:25:24:683 EDT] 64a937ec WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init
    [9/13/06 9:25:24:698 EDT] 64a937ec WebGroup I SRVE0091I: [Servlet LOG]: InvokerServlet: init
    [9/13/06 9:25:24:714 EDT] 64a937ec WebGroup X Servlet Error-[SettingsServlet]: Failed to load servlet: java.lang.ClassNotFoundException: com.comp.ids.admin.servlet.SettingsServlet
         at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:382)
         at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:248)
         at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
         at com.ibm.ws.classloader.ReloadableClassLoader.loadClass(ReloadableClassLoader.java:79)
         at java.beans.Beans.instantiate(Beans.java:216)
         at java.beans.Beans.instantiate(Beans.java:77)
         at com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:141)
         at com.ibm.servlet.engine.webapp.WebAppServletManager.loadAutoLoadServlets(WebAppServletManager.java:325)
         at com.ibm.servlet.engine.webapp.WebApp.loadServletManager(WebApp.java:1218)
         at com.ibm.servlet.engine.webapp.WebApp.init(WebApp.java:145)
         at com.ibm.servlet.engine.srt.WebGroup.loadWebApp(WebGroup.java:259)
         at com.ibm.servlet.engine.srt.WebGroup.init(WebGroup.java:168)
         at com.ibm.servlet.engine.ServletEngine.addWebApplication(ServletEngine.java:652)
         at com.ibm.ws.runtime.WebContainer.install(WebContainer.java:36)
         at com.ibm.ws.runtime.Server.startModule(Server.java:617)
         at com.ibm.ws.runtime.StandardServer.initializeModules(StandardServer.java:333)
         at com.ibm.ws.runtime.StandardServer.initializeRuntime0(StandardServer.java:349)
         at com.ibm.ws.runtime.Server.initializeRuntime(Server.java:884)
         at com.ibm.ws.runtime.StandardServer.main(StandardServer.java:519)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.ibm.ws.bootstrap.WSLauncher.main(WSLauncher.java:158)
         at com.ibm.etools.websphere.tools.runner.api.ServerRunnerV4$1.run(ServerRunnerV4.java:56)
    Message was edited by:
    MCJasper

  • Unable to load servlet  class specified in the module.

    Hi,
    Hope that I am in the right Forum to ask this question.
    I tried to develop basic servlet example as specified in http://java.sun.com/developer/onlineTraining/J2EE/Intro2/servlet/servlet.html.
    When I create WAR file in Deployment tool I get the following error. How can I rectify this?
    Thank you very much for any help.
    Regards,
    Indika
    Error :
    Unable to load servlet class specified in the module.
    Please contact online help for assistance.
    java.lang.UnsupportedClassVersionError : bonus/controller/BonusCalculationServlet (Unsupported major.minor version 49.0)

    Hi Yohan_co,
    I haven't used Application Server 8.2, but I think the problem is because the jdk that AS is using is previous to the jdk that your are using to compile your source files.
    I hope that it helps you.
    Regards

  • Failed to load servlet Class: org.apache.jasper.servlet.JspServlet

    I am evaluating Weblogic 12c and is stuck in deployment of an application.
    My application is locally developed and is working fine in Oracle Glassfish. I have install glassfish and deploy application multiple time.
    In weblogic I can deploy the application successfully and the state= Prepared while Health=OK.
    When I access applicaiton from web browser, it says:
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.4 503 Service Unavailable
    The server.log is having messages similar to following:
    When processing WebService module 'SHMA'. Failed to load servlet Class: org.apache.jasper.servlet.JspServlet
    Ignoring: unable to load class:java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    Jun 4, 2013 5:59:36 PM com.sun.xml.ws.model.JavaMethodImpl freeze
    WARNING: Input Action on WSDL operation RegisterOperation and @Action on its associated Web Method registerOperation did not match and will cause problems in dispatching the requests
    Any idea about how to fix this??
    Application is working fine in Glassfish 3.2
    I am having RHEL6-3 x86 with JDK 1.6u45 for Bea Weblogic 12c.
    Thanks

    Probably not the right forum. But you have the honour of being the first person to ask a specific WebLogic Server question here.
    The BEA dev-2-dev site still seems to be active. Try here hunting for a category here: http://forums.bea.com/index.jspa
    -steve-

  • Failed to load servlet Class: MyServletIgnoring: unable to load class:java.

    Hi,
    I am using WebLogic Server 10.0, i deployed my application in that.
    It is giving the below error:
    Failed to load servlet Class: MyServletIgnoring: unable to load class:java.lang.
    ClassNotFoundException: Class bytes found but defineClass()failed for: 'MyServle
    If it is the wrong place(forums category), please do ignore.
    Plz help me out..........

    Probably not the right forum. But you have the honour of being the first person to ask a specific WebLogic Server question here.
    The BEA dev-2-dev site still seems to be active. Try here hunting for a category here: http://forums.bea.com/index.jspa
    -steve-

  • Trying to run simple servlet - error

              I am the first time user of Beas Weblogic & I am trying to run simple example
              servlets from Weblogic Console. However, when I try to LoadServlets, I get an
              error 'Property Change Error for Property "Load"; Unable to load servlet'
              Is there anything I am missing? I'd appreciate any help.
              Thx.
              Ravi
              

    Hi,
    I have found out the cause. im pointing to the wrong classpath. it should be class12.zip instead of class111.zip, something i copied from my server running oracle8i.

  • Internal servlet error

    Hi when ever i try and view a page which uses my bean, i get this error message:
    Internal Servlet Error:
    javax.servlet.ServletException: loginBean
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
         at org.apache.tomcat.core.Handler.service(Handler.java:286)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
         at java.lang.Thread.run(Thread.java:536)
    Root cause:
    java.lang.NoClassDefFoundError: loginBean
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
         at java.lang.Class.getConstructor0(Class.java:1762)
         at java.lang.Class.newInstance0(Class.java:276)
         at java.lang.Class.newInstance(Class.java:259)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.load(JspServlet.java:116)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:154)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
         at org.apache.tomcat.core.Handler.service(Handler.java:286)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
         at java.lang.Thread.run(Thread.java:536)
    Now, im assuming that it has something to do with the name of the bean, althoguh i cant see how thiswould effect it, yet im here asking for help on the subject never the less. Here is the top lines of code from my bean:
    import java.sql.*;
    public class loginBean {Also in my jsp where i am calling my bean:
    <jsp:useBean id="loginBean" class="loginBean" scope="session">
         <jsp:setProperty name = "loginBean" property = "userName" value = '<%=request.getParameter("user")%>' />
         <jsp:setproperty name = "loginBean" property = "pass" value = '<%=request.getParameter("pass")%>' />
    </jsp:useBean>Im stuck and i dont like being stuck, any help will be appreciated, thanks.

    The Bean class must BE PART of a pckage otherwise it never works in Tomcat
    package abc;
    public class logingBean{
    <jsp:useBean id="loginBean" class="abc.loginBean" scope="session">     <jsp:setProperty name = "loginBean" property = "userName" value = '<%=request.getParameter("user")%>' />     <jsp:setproperty name = "loginBean" property = "pass" value = '<%=request.getParameter("pass")%>' /></jsp:useBean>

Maybe you are looking for

  • How to create an LOV based on a dynamic query

    Hi, Can someone tell me how to query a dynamic query for LOV. On my base page I have a dropdown-box (that will show the table names for searching) and is dynamically populated based on users access e.g. if user A logs in he may see 5 values (these va

  • YouTube play back choppy and not in color

    Just got the Droid Maxx as the 'free' 2 year upgrade.  Only had it a few hours and all seems fine (I'm old and don't need much to make me smile) except YouTube video is choppy and pixels are all out of whack.  I search the internet for solutions (I'm

  • Macbook Air or Gaming PC

    I would bring the Air to my high school to take notes, but my school is getting Chromebooks which I'm not excited for. I don't know what games I play that would last a long time to be $800. The PC is $$823 and the refurbished Air is $800.

  • No printer in preview or pdf after downloading Tune Up my Mac

    After downlading Avast and Tune Up my Mac, I can no loger print from Preview or PDF function from a downloaded file, such as a bank statement.  I have a Mac mini Mid 2010 using lion 10.7.5.  When I go to add printer from the print window that pops up

  • Token-based server access validation failed with an infrastructure error

    Hi We have a new Win 2008 Enterprise x64 server running SQL 2008 When we try to connect to the server using Windows Authentication, from a user account which is a domain administrator, we get the following message: "Token-based server access validati