Class not found - from jsp sub-directories

Hello:
Main-Issue:
- I have some java-class files in the \<my-web-app>\web-inf\classes directory. These classes do not belong to any packages.
- I have some jsps in the \<my-web-app>\ directory and also in some sub-directories in the \<my-web-app>\ directory. Example: \<my-web-app>\test\index1.jsp.
- The jsps in the \<my-web-app>\ directory can invoke the classes in the \<my-web-app>\web-inf\classes directory with no issues. But, the jsps in the sub-directories CANNOT see the classes in the \<my-web-app>\web-inf\classes directory. I get a "class not found" error. (this is just in oc4j).
First of all, just a background to the issue:
- I am trying to port a web application from JRUN to OC4J.
- I want to do this with minimal changes to the existing code.
- The application has been running on JRUN for a while. I only see the above mentioned error (class not found) error when trying to run it on oc4j.
- As a test, I created my own test application to verify:
(-) I wrote a simple java class (test.class) with no package and placed it in the web-inf\classes directory
(-) I wrote a jsp file (index.jsp) to invoke test.class. I placed the jsp at the top-level directory of the web-app.
(-) I wrote another jsp file (index1.jsp) to invoke test.class as well. I placed that jsp file in a sub-directory in the top-level directory of the web-app.
(-) index.jsp worked without any problems. index1.jsp gave the "class not found" error.
(-) As another test, I then modified the class to be in a package (com.benny). I then changed the jsps to call "com.benny.test" rather than just "test". This time, both index.jsp and index1.jsp worked fine.
So, I guess my question is, do these classes have to be in a package? I am trying to avoid having to make a lot of changes to the app. If they do have to be in packages, then I have re-compile a lot of class files, add import statements to jsps, etc.
Any help/suggestion would be appreciated.
Thanks,
Benny

So, I guess my question is, do these classes have to be in a package?Answer: yes.
As of Java1.4, classes in the "unnamed" package were no longer accessible.
What version of java were you running with JRun?
What version are you running with OC4J?
Read all about it here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4361575
If you have to repackage the classes, the IDE Eclipse has excellent support for refactoring, and wil let you put classes into packages with a minimum of fuss.

Similar Messages

  • Javabean class not found by jsp page

    I have created one bean which has setFunctionId(String) and getFunctionId() methods. I put the class files at /weblogic/myserver/serverclasses directory. While I am accessing the .jsp page it is telling "Thu Aug 03 15:46:16 EDT 2000:<E> <ServletContext-General> Servlet failed with Ex
              ception
              java.lang.NoSuchMethodError: myjsp.TestBean: method setFunctionId(Ljava/lang/Str
              ing;)V not found
              at jsp_servlet._testasfs._jspService(_testasfs.java:90)
              at weblogic.servlet.jsp.JspBase.service(Compiled Code)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled Code
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled C
              ode)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compile
              d Code)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
              at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)"
              Would appreciate your help..
              

    Thank you for your valuable feedback duffymo. Could
    you explain a little what you mean by "Putting .class
    files in the Tomcat examples directory is a really bad
    idea in the long run". Also, could you direct me to
    some source where I can find more information on
    creating WAR files keeping in mind that I am a
    beginner.
    Thanks.But putting your web apps into WAR files, you can have quite a few different web apps running on the tomcat server as compared to if u place your files into the default webapp folder, u can only have 1 web app running.
    For creating WAR file, the easiest way is to use an IDE like JBuilder.

  • Class not found when invoking sub web-service

    Hi all :)
    I build a simple BPEL process that invokes a web method. Since here, no problem. No the concerned web method is a web service client of another web service... and it throws me an exception so that the first web method does not find a class needed for the soap request to the second web service. BUT if I call directly this web method, there is no problem : it call the second web method and it works very well...
    It seems that the BPEL process make that the first web method loses his contexte or something like that :(
    Here is the error :
    Caused by: class: com.sun.td.vta.ws.client.reservation.Cancel could not be found
    at com.sun.xml.ws.modeler.RuntimeModeler.getClass(RuntimeModeler.java:271)
    at com.sun.xml.ws.modeler.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:562)
    at com.sun.xml.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:509)
    at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:355)
    at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
    at com.sun.xml.ws.client.ServiceContextBuilder.processAnnotations(ServiceContextBuilder.java:119)
    at com.sun.xml.ws.client.ServiceContextBuilder.completeServiceContext(ServiceContextBuilder.java:87)
    at com.sun.xml.ws.client.WSServiceDelegate.processServiceContext(WSServiceDelegate.java:133)
    at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:284)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:171)
    at com.sun.enterprise.webservice.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:82)
    at javax.xml.ws.Service.getPort(Service.java:94)
    at com.sun.td.vta.ws.client.WebServiceClient.getReservationManager(WebServiceClient.java:76)
    at com.sun.td.vta.ws.RegisteredProviderManager.search(RegisteredProviderManager.java:127)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1050)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:165)
    at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2766)
    at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:3847)
    at com.sun.ejb.containers.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:147)
    at $Proxy87.search(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.xml.ws.server.PeptTie._invoke(PeptTie.java:61)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.invokeEndpoint(SOAPMessageDispatcher.java:280)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:588)
    at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:147)
    at com.sun.xml.ws.server.Tie.handle(Tie.java:90)
    at com.sun.enterprise.jbi.serviceengine.bridge.JAXWSMessageProcessor.doWork(JAXWSMessageProcessor.java:69)
    Do you have any idea ?
    Best regards !
    @++

    I would imagine that require statement would be need to successfully interpret this PHP file since it refers the Model_DbTable_Users class on line 7:
    $tbl = new Model_DbTable_Users();
    -mayank
    Flash Builder Engineering

  • 9.0.3 Preview - Class not found error after including jsp:useBean

    Hi,
    I got a Java.lang.NoClassDefFoundError while compiling a JSP Page, after including a simple web bean as follows:
    <jsp:useBean id="catviews" scope="request" class="CategoryView" />
    <jsp:setProperty name="catviews" property="*" />
    somewhere within the HTML page...
    <%= catviews.getCategory() %>
    The JSP page without the bean compiles fine and the Javabean itself compiles without error. The bean class is where JDev automatically puts it (i.e in a sub-directory of the classes directory within the project) and JDev does not raise any error on that JSP Page before compiling.
    The error seems to point to the first line of the page, to the directive of the JSP page:
    <%@ contentType="text/html" ... %> which is apparently harmless. What can be wrong ?
    Thanks for your reply.

    'Class not found' means 'Class not found' , the class you are referencing is not in your project's classpath. You should make sure your project's classpath point to the location where this class is deployed to. This could be a directory or a .jar file. You should also include the package name as part fo the class.

  • Class not Found when accessing Proxy class from backing bean in VC.

    Hi All,
    I'm attempting to access a class of a webservice(generated as a proxy) within my ADF application and invoke the method within a backing bean of the View Controller(bean scope : backing bean). The proxy has generated an ObjectFactory class among other classes. When I access this Object factory class from within the backing bean, the application throws a Class not found error.
    I don't know where the error lies since I've declared the View Controller of the ADF application dependent on the Proxy and I've imported the class and accessing it within a backing bean. How would you suggest I approach resolveing this.
    JDev : 1.1.1.4
    Thank you.
    Regards
    PP.

    Hello Arun,
    Thank you for suggesting a Data control, but my requirement isn't to drag and drop the method as a button. It's more of a behind the scnes updating data via a database adapter requirement.
    I've resolved the issue. turns out, my deployment archive didn't include the proxy.jpr. Once included it works likea charm.
    Thanks
    PP.

  • Class Not Found Exception After Connecting From a JDeveloper

    Hi,
    I am following the tutorial on SOA and started to experience problems in deployments (all but the console, including em) after the connection to the remote weblogic (10.3.5) from JDeveloper. I would know if the connection modifies the WLS environment. Unfortunately I did not note the message before wiping the setup, but found many entries on Google referring to some ADF library. I followed the suggestion to apply the adf runtime to the WLS install but this not helped.
    By the way, I would just understand if the remote connection from a JDeveloper adds some configuration which is then eventually not found in the target WLS.
    Thanks
    Fabio D'Alfonso
    http://www.fabiodalfonso.com

    Can you check the log files of soa_server1, which are located in the <domain-home>/servers/<server-name>/logs.
    There are probably some occurences of class not found exceptions.
    When you are using the node manager to start your environment you have to make sure that StartScriptEnabled is set
    to true in the nodemanager.properties file (located in the directory: <wl-home>/common/nodemanager
    In the section "Starting the SOA environment" here - http://middlewaremagic.com/weblogic/?p=6040
    an example is presented

  • JSP-class not found

    My server already working properly in internet.It's a travel agent site.there after i include one more page for audio guide which is JMF with in the applet and it is plugin to my jsp page.It's work very fine in my local system.my server is Tomcat .But if i hosted to our server means it's giving applet class not found exception.
    It is already having com package ,now i include my jmf package wol to it.
    My root directory of this class file is
    web-inf/classes/wol/PlaySongs.class
    My server doesn't have JMF pack so,i just copy JMF.jar and Sound.jar to my web-inf/lib/ folder.and also to my server folder like tomcat/common/lib/ .Now i restart my server it's giving applet class not found exception.but it's working fine in local system.
    I have using following jsp code.
    <body>
    <%
    String fname = "file:" + request.getRealPath("AudioF") + "/button-1.mp3";
    %>
    <jsp:plugin type="applet" code="PlaySongs.class" codebase="/wol" width="300" height="20">
    <jsp:params>
    <jsp:param name="file" value="<%=fname%>" />
    </jsp:params>
    <jsp:fallback>
    <p> Unable to start Plug-in. </p>
    </jsp:fallback>
    </jsp:plugin>Any one help me.
    Regards
    K.Suresh

    the codebase should be a path into the webdir, not the WEB-INF dir. Your browser needs to be able to reach the applet class like any other resource.
    My server doesn't have JMF pack so,i just copy JMF.jar and Sound.jar to my web-inf/lib/ folder.and also to my server folder like tomcat/common/lib/If you are already copying it to your common/lib folder, you don't need it in the lib folder of your webapp.

  • Class not found when I run JSPs

    I set up and can run JSPs in iPlanet 4.1 SP9 on NT. But if I use anything
    such as Date() I get a Server Error and a Class Not Found in the error log.
    Can someone tell me how to confire where the .class and .jar support files
    go, or where do I put them. In the JDK install directory or in the iPlanet
    install directory.
    Thanks, Gary

    Something to note, you must have superuser priveleges to run ibconf.
    Check out this document about installing a PCI-GPIB on a Solaris machine. There is a section in it on page 9 about configuring the software with ibconf.
    If you still have problems after reading through this repost.
    JenK

  • Error in compiling: file javax\servlet\jsp\PageContext.class not found

    Hi,
    i'm getting an error when I'm trying to compile an java file. The error is as follows:
    cannot access javax.servlet.jsp.PageContext
    file javax\servlet\jsp\PageContext.class not found
    Isn't the javax package included in jdk? I've installed jdk 1.3.1_03 and j2re1.4.0_02. Shouldn't this PageContext.class be automatically loaded when i've installed jdk?
    I'm getting desperated! I've tried almost everything: i've changed the classpath, moved the directory of the java file I'm trying to compile over and over but i'm getting no success!
    Any help is very welcome!
    Thankx,
    Nuno.

    hmmm... i had a look and it seems that what you are trying to "import" is actually in a package... instead of import try:
    package javax.servlet.jsp;you may need to go download this "package" and complile it in the directory you are working in.
    my advice: try the above statement (which does compile for me), if it doesn't work, you will need to find the source code for this package and compile it just like you do any other source code.
    hope this helps.

  • I am running Mac OS 10.6.7 I cannot run a java based program from the net when parental controls are set the error is The error is Load: class installer.CheckVersion 13. class not found  Help!

    I am running Mac OS 10.6.7 I cannot run a java based program from the net when parental controls are set the error is The error is Load: class installer.CheckVersion 13. class not found 

    Then, talk to the person running the lab.

  • Class not found in signed applet

    Hello
    I am using a signed applet and am getting a class not found exception
    this works fine when i run it in the IDE but get the exception when i try to load the applet from the web browser in the application.
    java.lang.ClassNotFoundException: MyApplet
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
    at sun.applet.AppletPanel.createApplet(AppletPanel.java:619)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(AppletPanel.java:548)
    at sun.applet.AppletPanel.run(AppletPanel.java:299)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:265)
    at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
    at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
    ... 9 more
    I have my applet code in the applet folder
    here is my jsp call
    <applet code="MyApplet" codebase="../applet" archive="SMyApplet.jar" width=400 height=400>
    </applet>
    here is my applet code
    package applet;
    import java.applet.*;
    import java.awt.*;
    public class MyApplet extends Applet
    public void paint(Graphics g)
    g.drawString("Generate Me",50, 50);
    }

    If i do
    <APPLET CODE="xxx.class" CODEBASE="." ARCHIVE = "skshrad.jar , javax.jar" WIDTH=500 HEIGHT=500>
    is it correct?
    because it still appeared class not found error..
    This is a signed applet
    thanks..
    i try to put 2 directories in a jar also did not work..

  • Class not found error on Firefox browser

    Requirement:-
    We have Apache server on the top of a tomcat container where we have deployed application Webnow. This application will provide SSO to another application Imagenow. The requirement is we have to authenticate and authorize a user based on the client certificate which will be installed on the client side browser.
    Issue:-
    We have achieved the requirement for the browser IE. But for browser Firefox ,we are getting an exception "Class not found". Basically an applet class from the jar is not getting loaded on the Firefox.
    Further investigating on this we came to conclusion that Firefox is not able to read the SSL certificate.
    In order to eliminate this, we have imported the client certificate in java console as well. After this step, we were not getting "ClassNotFoundException" in FF. But right now, user is getting prompted for certificate/keystore password each & every time while trying to login onto the application (both in IE & FF).
    So, we are trying to find ways to remove class not found exception without importing client certificate to java console. Also , is there any way to eliminate the authentication pop up for keystore (though we might not go for this approach as it will be very difficult to manage Java console for end users). Need your urgent help on this issue.
    Attaching stack trace of both the browser and screenshot of keystore authentication pop-up . FF_Issue_stacktrace.docx is one when we were getting "class not found exception" and IE_Stacktrace.docx is one for successful case.

    We have a similar set up where we have a web app and an applet in a JSP page. You have to put your applet classes up above WEB-INF. So, if your structure for your webapp was:
    tomcat/webapps/mywebapp
    you'd want your classes under mywebapp instead of webapps/mywebapp/WEB-INF. In your case, if I read your package structure right, you'd want a Log directory under webapp that contains your LogApplet.class file.
    I hope this works for you!

  • WL 7.0 SSL Class Not Found Startup Error

    I'm having difficulty configuring the SSL port to listen to https requests. The error
    that I always receive (regardless of which sample I maybe running, from the server
    samples to the portal ones) is similar to the following (notice the "Not listening
    for SSL, java.net.SocketException: Class not Found" error):
    **** START OF CONSOLE LOG ****
    <Jul 1, 2002 5:07:21 PM PDT> <Notice> <Management> <141052> <Application Poller
    started for development server.>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    After the server has booted, your browser should
    automatically launch and point to the WebLogic Server
    Index running on this server. If your browser
    fails to launch, point your browser to the URL
    "http://JDavis-m1:7001/examplesWebApp/index.jsp"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    <Jul 1, 2002 5:07:22 PM PDT> <Emergency> <Security> <090034> <Not listening for
    SSL, java.net.SocketException: Class not Found.>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000354> <Thread "ListenT
    hread.Default" listening on port 7001>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <Management> <141030> <Starting discovery
    of Managed Server... This feature is on by default, you may turn this off by pas
    sing -Dweblogic.management.discover=false>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000331> <Started WebLogi
    c Admin Server "examplesServer" for domain "examples" running in Development Mod
    e>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000365> <Server state ch
    anged to RUNNING>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000360> <Server started
    in RUNNING mode>
    **** END OF CONSOLE LOG ****
    I haven't made any changes to the SSL setup, other than simply indicating I want
    it active (if that choice is not already active)
    I am just seeking to get the SSL using the test/demo certificate to function so that
    I can complete a demo of the commerce product to a client (requires port 7502 to
    function)
    Thanks!
    Jeff Davis

    Never mind....the problem had to do with my CLASSPATH....
    jd
    "Jeff Davis" <[email protected]> wrote:
    >
    I'm having difficulty configuring the SSL port to listen to https requests.
    The error
    that I always receive (regardless of which sample I maybe running, from
    the server
    samples to the portal ones) is similar to the following (notice the "Not
    listening
    for SSL, java.net.SocketException: Class not Found" error):
    **** START OF CONSOLE LOG ****
    <Jul 1, 2002 5:07:21 PM PDT> <Notice> <Management> <141052> <Application
    Poller
    started for development server.>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    After the server has booted, your browser should
    automatically launch and point to the WebLogic Server
    Index running on this server. If your browser
    fails to launch, point your browser to the URL
    "http://JDavis-m1:7001/examplesWebApp/index.jsp"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    <Jul 1, 2002 5:07:22 PM PDT> <Emergency> <Security> <090034> <Not listening
    for
    SSL, java.net.SocketException: Class not Found.>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000354> <Thread
    "ListenT
    hread.Default" listening on port 7001>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <Management> <141030> <Starting discovery
    of Managed Server... This feature is on by default, you may turn this off
    by pas
    sing -Dweblogic.management.discover=false>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000331> <Started
    WebLogi
    c Admin Server "examplesServer" for domain "examples" running in Development
    Mod
    e>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000365> <Server
    state ch
    anged to RUNNING>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000360> <Server
    started
    in RUNNING mode>
    **** END OF CONSOLE LOG ****
    I haven't made any changes to the SSL setup, other than simply indicating
    I want
    it active (if that choice is not already active)
    I am just seeking to get the SSL using the test/demo certificate to function
    so that
    I can complete a demo of the commerce product to a client (requires port
    7502 to
    function)
    Thanks!
    Jeff Davis

  • Jasper exception? Class not found? But the resources are there!

    Hi, thanks for reading. I am building a simple web application. Just servlets and jsp working together to either retrieve or add or edit or delete data in a mysql database.
    The problem i have is, some servlets compile and run fine and properly, while others return me the 'jasper error' (see below) and class not found error. The code in these servlets (those that work, and those that don't) are almost identical. I've checked them a couple of times, does not seems like there is any problem with the programming at all.
    Please advise. Thanks for reading. If there is any files that you think i should upload, please let me know. Though it says class not found, the resources are there! What could be wrong? From the advice of someone on another thread, i've looked into the web.xml. And it looks like its right.
    If anyone is willing to look into the matter for me. I'll upload all the files. (But that feels really rude to just impose on someone like that). Irregardless, thanks, really.
    And what about the Jasper Exception? I've googled that already. But nothing that i found has been useful (even the official ones from apache).
    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: Wrapper cannot find servlet class Maintenance.Support.AddProdLog or a class it depends on
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         java.lang.Thread.run(Thread.java:619)
    root cause
    java.lang.ClassNotFoundException: Maintenance.Support.AddProdLog
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
         org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
         org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         java.lang.Thread.run(Thread.java:619)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 55 in the jsp file: /support_editUAT.jsp
    Generated servlet error:
    C:\Documents and Settings\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\MaintenanceSite\org\apache\jsp\support_005feditUAT_jsp.java:110: cannot find symbol
    symbol  : variable branchname
    location: class org.apache.jsp.support_005feditUAT_jsp
          out.print( branchname);
                     ^
    An error occurred at line: 91 in the jsp file: /support_editUAT.jsp
    Generated servlet error:
    C:\Documents and Settings\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\MaintenanceSite\org\apache\jsp\support_005feditUAT_jsp.java:148: cannot find symbol
    symbol  : variable branchname
    location: class org.apache.jsp.support_005feditUAT_jsp
          out.print( branchname);
                     ^
    2 errors
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 55 in the jsp file: /support_editUAT.jsp
    Generated servlet error:
    C:\Documents and Settings\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\MaintenanceSite\org\apache\jsp\support_005feditUAT_jsp.java:110: cannot find symbol
    symbol  : variable branchname
    location: class org.apache.jsp.support_005feditUAT_jsp
          out.print( branchname);
                     ^
    An error occurred at line: 91 in the jsp file: /support_editUAT.jsp
    Generated servlet error:
    C:\Documents and Settings\Administrator\.netbeans\5.5.1\apache-tomcat-5.5.17_base\work\Catalina\localhost\MaintenanceSite\org\apache\jsp\support_005feditUAT_jsp.java:148: cannot find symbol
    symbol  : variable branchname
    location: class org.apache.jsp.support_005feditUAT_jsp
          out.print( branchname);
                     ^
    2 errors
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.AntCompiler.generateClass(AntCompiler.java:249)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)

    Thanks for the reply. I'm sorry for cross-posting. The other thread is here: http://forum.java.sun.com/post!reply.jspa?messageID=9920352#
    sunish_jose suggested that:
    The servlet classes u mentioned in web.xml should be in WEB-INF/classes. U can add in many ways, you can manually copy and paste(But u have to follow the package structure) or You can mention the class folderd in your editor to
    WEB-INF/classes so that the editor will automaticall generate the class file into that folder with the folder structure. By looking at the error.txt what I can understand is Exceptions are thrown due to the above issue and more than that there are some compilation errors in support_getContact.jsp.
    And i'm looking into that right now.

  • WLS 7 SSL class not found error

    Actually, I got the same error message to start the Node Manager. However, I don't
    have the RSA license at this moment. How can it make the WL to use com.certicom.net.ssl.CerticomContextWrapper
    instead of com.rsa.ssl.WeblogicContextWrapper?
    Thanks,
    Victor
    "Pavel Smelkov" <[email protected]> wrote:
    It looks like ClassNotFoundException happend when WLS tried to initialize
    SSL implementation class, which is
    com.certicom.net.ssl.CerticomContextWrapper by default, or
    com.rsa.ssl.WeblogicContextWrapper if you have an RSA license. Since
    Certicom classes are shipped in weblogic.jar, you must have RSA license,
    but
    no RSA SSL classes in the server classpath?
    Pavel.
    "Jeff Davis" <[email protected]> wrote in message
    news:[email protected]...
    I'm having difficulty configuring the SSL port to listen to httpsrequests. The error
    that I always receive (regardless of which sample I maybe running,from
    the server
    samples to the portal ones) is similar to the following (notice the"Not
    listening
    for SSL, java.net.SocketException: Class not Found" error):
    **** START OF CONSOLE LOG **** <Jul 1, 2002 5:07:21 PM PDT> <Notice><Management>
    <141052> app tag removed <!--- Application Poller started for developmentserver.>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ After the server hasbooted, your
    browser should automatically launch and point to the WebLogic ServerIndex
    running
    on this server. If your browser fails to launch, point your browserto the
    URL "http://JDavis-m1:7001/examplesWebApp/index.jsp"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <Jul 1, 2002 5:07:22PM
    PDT> <Emergency>
    <Security> <090034> <Not listening for SSL, java.net.SocketException:Class not Found.>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000354> <Thread"ListenT
    hread.Default" listening on port 7001> <Jul 1, 2002 5:07:23 PM PDT><Notice> <Management>
    <141030> <Starting discovery of Managed Server... This feature is onby
    default,
    you may turn this off by pas sing -Dweblogic.management.discover=false><Jul 1, 2002
    5:07:23 PM PDT> <Notice> <WebLogicServer> <000331> <Started WebLogic
    Admin Server
    "examplesServer" for domain "examples" running in Development Mod e><Jul
    1, 2002
    5:07:23 PM PDT> <Notice> <WebLogicServer> <000365> <Server state changed
    to RUNNING>
    <Jul 1, 2002 5:07:23 PM PDT> <Notice> <WebLogicServer> <000360> <Serverstarted in
    RUNNING mode>
    **** END OF CONSOLE LOG **** I haven't made any changes to the SSLsetup,
    other than
    simply indicating I want it active (if that choice is not already active)
    I am just seeking to get the SSL using the test/demo certificate tofunction so that
    I can complete a demo of the commerce product to a client (requiresport
    7502 to
    function)
    Thanks!
    Jeff Davis
    </textarea> <br>
    <input type=submit name="action" value="Post" >
    </font></td></tr></table>
    </form>
    <hr>
    </FONT>
    <!-- ** COPY CONTENT INTO THIS SECTION HERE ** -->
    </TD>
    </TR>
    </TABLE>
    <!--start footer include -->
    <table width="720" border="0" cellspacing="0" cellpadding="0">
    <tr bgcolor="#CCCCCC">
    <td><img name="news_r06_c01" src="/images/shim.gif" width="1" height="1" border="0"></td>
    </tr>
    <tr>
    <td nowrap>
    <div align="left"><img name="news_r17_c01" src="/images/footer1.gif" width="467"
    height="18" border="0"><img name="news_r17_c31" src="/images/footer2.gif" width="200"
    height="18" border="0" usemap="#news_r17_c31Map"><MAP name="news_r17_c31Map"><AREA
    shape="rect" coords="139,2,167,18" href="http://www.bea.com/privacy.html"><AREA
    shape="rect" coords="80,3,127,16" href="mailto:[email protected]"><AREA shape="rect"
    coords="11,4,73,16" href="http://www.bea.com/contact/index.html"></MAP></div>
    </td>
    </tr>
    </table>
    <!--end footer include -->
    </BODY>
    </HTML>
    </body></html>

    Thanks for your responce ...
    I had discovered that when I typed "java program name" the java was running from /usr/bin a non-ssl enabled java installation. There was an SSL enabled version under another path on this box and it ran my code fine.

Maybe you are looking for

  • I can't burn a music disk

    iTunes will not burn a music disk. it starts to burn 1 or 2 tracks then stops and kicks the disk out.

  • Keychain Backup Cannot Be Restored

    Hi all, I've been using my MacBook Pro 15" since purchasing it in November, and of the various cool software features of OS X that compelled me to switch, one of them - Keychain - has certainly been a point of frustration. I have yet to successfully

  • HT1657 why i cant download rented movie when says not enough storage when I actually do

    why i cant download rented movie when says not enough storage when I actually do

  • Report link to Form in another tab.

    Basically I have a chart with a link. The link on the chart links to a report and in this report there is another link that links to a form. When you click on the link in the report that leads to the form it brings the form up in a new window. This s

  • 4.6c  to  ECC 6.0  for  ABAP

    Hi,    I was asked to create reports in ECC 6.0 from the reports which already exists in 4.6c.Also told that there is a CTS in ECC 6.0 for the HR objects. What is CTS?What should I do with this?How should I do? *****************************T/Code UCC