Making objects avialable while executing jsp page

want to create some object in a jsp file, and make aviavble by all the classes used internally by the system, without sending the request through all calls, is there anyway to do this??

Utiliza Beans, y en la parte de declaraci�n de estos pon la propiedad scope=session. Asi cada ves que invoques una instancia del objeto haras referencia al mismo creado anteriormente. Dicho objeto permanece durante toda la sessi�n.
Una buena estrategia es crear Beans que encierren la l�gica del negocio y luego llamarlos o emplearlos en tus JSP.
Para mayor detalle puedes consultar el peque�o curso de JSPs
en www.jguru.com

Similar Messages

  • NoClassDefFoundError while executing Jsp's

    I am using Apache -1.3.2 with Tomcat 3.2.3 on Windows 2000 to
    service Jsp's.
    While executing Jsp's that User request or response objects, I get the following
    error. NoClassDefFoundError: javax/servlet/ServletRequest.
    From the Jsp's , I am passing the request/response object to Pure Java files to do some
    processing on the data. The lib directory of tomcat has all the necessary jars and there is
    no class conflict.
    Could someone give me a solution to this issue ?

    see that u have imported the class that u r using in the JSP properly.
    eg u have to use
    <%@ page import="<package-name.class-name>" %>
    If u do so, I that problem of ClassDefFoundError should not come........
    try this and see.......
    Chandan.

  • Error while running jsp page

    Hi,
    While running JSP page in weblogic I am getting following error.
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
         at weblogic.xml.jaxp.WebLogicSAXParser.setProperty(WebLogicSAXParser.java:117)
         at weblogic.xml.jaxp.RegistrySAXParser.setProperty(RegistrySAXParser.java:117)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.serviceContext.ServiceContext.updateImplicitHeader(ServiceContext.java:269)
         at com.cognos.developer.schemas.bibus._3.ContentManagerServiceStub.query(ContentManagerServiceStub.java:4907)
         at jsp_servlet._pages.__viewreports._jspService(__viewreports.java:166)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:272)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:380)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:298)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:165)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3153)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1973)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1880)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1310)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
    I am using jdk1.5. And I am using this jsp page for cognos connection.

    swattiii.....yaar..u are tring to put a null value inside hashtable..prbly u are doing this in ur jsp......
    send ur jsp code

  • Method oadbtransaction not found while running jsp page

    Hi all,
    We are trying to use the below method in jsp, but when are trying its giving error as the method OADBTransaction is not found in corresponding directory, can you please let us know from where we need to download this method from server so that we can run the jsp page from local directory.
    Thanks in advance.
    AppsContext context = ((OADBTransactionImpl)getOADBTransaction()).getAppsContext();
    Regards
    Deb

    Deb,
    To get the object of AppsContext we use following code in jsp
    import      = "oracle.apps.fnd.common.WebAppsContext"
      WebAppsContext wctx = null;
      int userId = 0;
      try {
                  if (Utils.isAppsContextAvailable()) {
                      wctx = Utils.getAppsContext();
                      userId  = wctx.getUserId();
      catch (Exception e) {}Regards,
    Gyan

  • Pass Object Between Applet and JSP Page

    Hi all,
    How can I pass an Object(such as Vector, File), rather than just string to the Applet from a JSP page?
    Thank you.

    I used Base64Encoder and Base64Decoder from servlets.com utilities.
    * convert any serializable object to a String
    public synchronized static String objectToString(Serializable obj) throws Exception {
        ByteArrayOutputStream bos = new ByteArrayOutputStream(100);
        ObjectOutputStream oos = new ObjectOutputStream(bos);
        oos.writeObject(obj);
        byte[]bytes = bos.toByteArray();
        bos = new ByteArrayOutputStream(); //to save the encoded String
        Base64Encoder enc = new Base64Encoder(bos);
        enc.write(bytes);
        String encodedString = bos.toString();
        //close all
        enc.close();   
        oos.close();
        bos.close();
        return encodedString;
    * Recreates the object from the encoded String
    public synchronized static Object stringToObject(String str) throws Exception {
        ByteArrayInputStream bis = new ByteArrayInputStream(str.getBytes());
        Base64Decoder dec = new Base64Decoder(bis);
        ObjectInputStream ois = new ObjectInputStream(dec);
        Object obj = (Object)ois.readObject();
        ois.close();
        dec.close();
        bis.close();
        return obj;
    }

  • Executing JSP Pages on IRIX

    Hi ,
    I wanted to know what is required for executing a JSP Page on IRIX systems .
    What plugins do i require for the same.

    A WebContainer like Tomcat and a Tomcat compatible JVM

  • While refreshing jsp page through javascript

    Hi,
    I am refreshing a jsp page by calling javascript method -'reload()', when its child window is closed. It is displaying a confirmation box saying 'whether to resend the request for refreshing the page.....' with two buttons-ok and cancel.
    How do I avoid this confirmation box ? I want to reload the jsp page without asking any confirmation msg.
    Please help me out.
    thanks
    --Karthik                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    if you use meta refresh you will lose your data your best bet is to create an object relating to your page, basically a bean and store all your values into that bean, save it into the database then recall after refresh, but make sure you test that the object contains something before retrieving the values from it

  • Getting error message "Only a type can be imported-" when trying to execute jsp page

    I get the error: "Only a type can be imported. com.adobe.cq.TestServiceImpl resolves to a package in adobe day cq5
    I have created one bundle and installed in felix console. The status of the bundle is also Active. And also it is available in both service and component console.
    Here is my TestServiceImpl class in com.adobe.cq bundle
    package com.adobe.cq;
    import org.apache.felix.scr.annotations.Component;
    import org.apache.felix.scr.annotations.Service;
    import org.osgi.framework.BundleContext;
    import org.osgi.service.component.ComponentContext;
    import javax.jcr.RepositoryException;
    import org.apache.felix.scr.annotations.Property;
    import org.apache.felix.scr.annotations.Properties;
    //src.component
    //declares the class component. This will provide a wrapped ManagedService component in the OSGI container.
    //src.service interface="SampleService"
    //declares the service we are offering. Actually, the interface attribute is superflous, as by default, all implemented Interfaces are used.
    @scr.component
    @scr.service interface="testService"
    @Component(immediate = true, metatype = true)
    @Service
    @Properties( {
    @Property(name = "service.description", value = "abcd"),
    @Property(name = "label", value = "myLabel") })
    public class TestServiceImpl implements TestService {
    public String sayHello() {
         return "Hello World!";
    Here is my jsp code
    <%@include file="/libs/foundation/global.jsp"%><%
    %><%@include file="/apps/mine/includes/functions.jsp"%><%
    %><%@ page import="com.adobe.cq.TestServiceImpl,
    org.apache.sling.api.SlingHttpServletRequest,
                    java.util.List"%><%
    %><%
    SlingHttpServletRequest r = (SlingHttpServletRequest)request;   
                    TestServiceImpl testService = sling.getService(TestServiceImpl.class);
                    out.println("testService:::"+testService);
    %>
    <div id="te-nav" style="display:block !important;">
    </div>
    Is it because of am using annotation in TestServiceImpl class?
    Could you please tell me how to fix it?
    Regards,
    Anderson

    Hi Pawan,
    Thanks for your information. It was problem with my pom.xml It started to work after changing my POM.xml
    I am not able to get sling service for TestServiceImpl. But I am only able to create TestService which is my interface. I need to get reference for TestServiceImpl class not for TestService interface. Please help me to make it.
    i have created TestServiceImpl and TestService class for testing whether my bubdle is crating all the folder structure or not.
    But my requirement is like assume class A has some methods like getMenuLink, setMenuLink.. And In class B i am calling some methods in class A and doing some manipulation in createLink method.
    Here class B does not have any interface. Not implementing  any interface. But I need to get class B refererence via sling.getService.
    I know that if we are using maven SCR plugin..we need to have @component, @service. And All java classes are not services. Will it work if I add activate, deactivate method in class B?
    Could you please tell me how to proceed next?
    Thanks,
    Anderson

  • Error while deploying .jsp page

    Hi all,
    I created a single sample jsp page using jdeveloper and moved this jsp file to $OA_HTML. This page will be called from existing apps jsp page through hyperlink. When i click the hyperlink request passed for my jsp page but the following error occured,
    "You are not authorized to access ABC.jsp".
    What may be the problem. Do we have to register a jsp page. I already bounced the server.
    Thanks,
    Kannan

    Kannan,
    seems to be obvious that the directory you are trying to access is security protected. So you need to logon
    Frank

  • Tomcat - Error when executing JSP pages

    Hi,
    I installed tomcat 5.0.30 on a Windows XP os.
    I tried to write a simple JSP page, the classic "Hello World", but when I access the page, I obtain the following error message:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    javac: invalid flag: -source
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -O Optimize; may hinder debugging or enlarge class file
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are used
    -classpath <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -target <release> Generate class files for specific VM version
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:437)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    What can be the problem? I use JRE v. 1.4.2.
    Thank for any help.

    I use JRE v. 1.4.2.What is your JAVA_HOME variable set to?
    Do you have a full Java1.4 installation? - ie not just the JRE but the compiler as well?
    javac: invalid flag: -sourceThis message would indicate that the -source flag is invalid for javac.
    This flag was introduced with java1.4.
    Most probably you have a java1.3 installed on the machine confusing tomcat.

  • "quote symbol expected" error while calling jsp page

    Hi I am getting this exception when i try to call my jsp page
    org.apache.jasper.JasperException: /jsp/TestJSTL.jsp(17,14) quote symbol expected
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:86)
         org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:198)
         org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:143)
         org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1337)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <%@ page isELIgnored="false" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <%request.setAttribute("temp","testvalue"); %>
    ${temp}
    <table>
    <tr><td>
    The value of the attribute is
    <c:out value=${temp} default=" No value is set " />
    </td></tr>
    </table>
    </body>
    </html>Please tell me why this is happending.

    I think line 17 should be:
    <c:out value="${temp}" default=" No value is set " />You left out the quotes around the value.

  • Error while running JSP Page on Desktop Client PDA

    Hi Experts,
    I am trying to run MI Project on my local desktop. But it is not able to start. Browser gives the following error:
    java.lang.ExceptionInInitializerError
         at com.model.CalibModel.getUomList(CalibModel.java:75)
         at com.jspjava.OrderList._jspService(OrderList.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
         at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.RuntimeException: Could not create SmartSyncRuntime intance: null
         at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:102)
         at com.model.mwfields.order.ISyncBO.(ISyncBO.java:10)
         .. 23 more
    It is giving Error for line having following code:
    SmartSyncRuntime.getInstance().getSyncBoDescriptorFacade();
    On checking Tomcat logs, following error is getting displayed in trace file:
    <r id="1242970226250" t="11:00:26" d="2009-05-22" s="E" c="000" u="SMA_GOPAL" g="en" m="Cannot get all node descriptors --&gt; java.lang.ClassCastException: com.sap.tc.mobile.cfs.meta.ClassDescriptorImpl
         at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorImpl.&lt;init&gt;(SyncBoDescriptorImpl.java:66)
         at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.getSyncBoDescriptorAgain(SyncBoDescriptorFacadeImpl.java:89)
         at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.&lt;init&gt;(SyncBoDescriptorFacadeImpl.java:103)
         at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeImpl.&lt;init&gt;(SmartSyncRuntimeImpl.java:75)
         at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeManager.getSmartSyncRuntime(SmartSyncRuntimeManager.java:63)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:81)
         at com.sap.ongc.calibration.model.mwfields.order.ISyncBO.&lt;clinit&gt;(ISyncBO.java:10)
         at com.sap.ongc.calibration.model.CalibModel.getUomList(CalibModel.java:75)
         at com.sap.ongc.calibration.jspjava.OrderList._jspService(OrderList.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
         at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Unknown Source)
    ">
    <f n="ThreadName" v="Thread-19"/>
    </r>
    <r id="1242970226251" t="11:00:26" d="2009-05-22" s="D" c="000" u="SMA_GOPAL" g="en" m="Error while getInstance --&gt; java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:81)
         at com.sap.ongc.calibration.model.mwfields.order.ISyncBO.&lt;clinit&gt;(ISyncBO.java:10)
         at com.sap.ongc.calibration.model.CalibModel.getUomList(CalibModel.java:75)
         at com.sap.ongc.calibration.jspjava.OrderList._jspService(OrderList.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
         at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.IllegalStateException: Cannot get all node descriptors:com.sap.tc.mobile.cfs.meta.ClassDescriptorImpl
         at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.&lt;init&gt;(SyncBoDescriptorFacadeImpl.java:140)
         at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeImpl.&lt;init&gt;(SmartSyncRuntimeImpl.java:75)
         at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeManager.getSmartSyncRuntime(SmartSyncRuntimeManager.java:63)
         ... 29 more
    ">
    <f n="ThreadName" v="Thread-19"/>
    </r>
    <r id="1242970226265" t="11:00:26" d="2009-05-22" s="E" c="000" u="SMA_GOPAL" g="en" m="java.sql.SQLException: Statement is closed">
    <f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>
    <f n="ThreadName" v="Thread-19"/>
    </r>
    Can anyone please explain what wrong I may be doing?
    Thanks and Regards,
    Gopal

    Error in log trace was as follows:
    <r id="1242970226250" t="11:00:26" d="2009-05-22" s="E" c="000" u="SMA_GOPAL" g="en" m="Cannot get all node descriptors --&gt; java.lang.ClassCastException: com.sap.tc.mobile.cfs.meta.ClassDescriptorImpl
         at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorImpl.&lt;init&gt;(SyncBoDescriptorImpl.java:66)
         at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.getSyncBoDescriptorAgain(SyncBoDescriptorFacadeImpl.java:89)
         at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.&lt;init&gt;(SyncBoDescriptorFacadeImpl.java:103)
         at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeImpl.&lt;init&gt;(SmartSyncRuntimeImpl.java:75)
         at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeManager.getSmartSyncRuntime(SmartSyncRuntimeManager.java:63)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:81)
         at com.sap.ongc.calibration.model.mwfields.order.ISyncBO.&lt;clinit&gt;(ISyncBO.java:10)
         at com.sap.ongc.calibration.model.CalibModel.getUomList(CalibModel.java:75)
         at com.sap.ongc.calibration.jspjava.OrderList._jspService(OrderList.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
         at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Unknown Source)
    ">
    <f n="ThreadName" v="Thread-19"/>
    </r>
    <r id="1242970226251" t="11:00:26" d="2009-05-22" s="D" c="000" u="SMA_GOPAL" g="en" m="Error while getInstance --&gt; java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.sap.ip.me.api.smartsync.SmartSyncRuntime.getInstance(SmartSyncRuntime.java:81)
         at com.sap.ongc.calibration.model.mwfields.order.ISyncBO.&lt;clinit&gt;(ISyncBO.java:10)
         at com.sap.ongc.calibration.model.CalibModel.getUomList(CalibModel.java:75)
         at com.sap.ongc.calibration.jspjava.OrderList._jspService(OrderList.java:88)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)
         at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:736)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetThreadSafe(AbstractMEHttpServlet.java:282)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:539)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:199)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.IllegalStateException: Cannot get all node descriptors:com.sap.tc.mobile.cfs.meta.ClassDescriptorImpl
         at com.sap.tc.mobile.cfs.compat.SyncBoDescriptorFacadeImpl.&lt;init&gt;(SyncBoDescriptorFacadeImpl.java:140)
         at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeImpl.&lt;init&gt;(SmartSyncRuntimeImpl.java:75)
         at com.sap.tc.mobile.cfs.compat.SmartSyncRuntimeManager.getSmartSyncRuntime(SmartSyncRuntimeManager.java:63)
         ... 29 more
    ">
    <f n="ThreadName" v="Thread-19"/>
    </r>
    <r id="1242970226265" t="11:00:26" d="2009-05-22" s="E" c="000" u="SMA_GOPAL" g="en" m="java.sql.SQLException: Statement is closed">
    <f n="LocationName" v=" (com.sap.tc.mobile.cfs.pers.PersistenceManagerImpl:execute)"/>
    <f n="ThreadName" v="Thread-19"/>
    </r>

  • Error while executing WAD: " Page cannot be displayed"

    Hi All,
    I am facing an error while i am executing the WAD template.As soon i execute the template it gives an error as " Page Cannot Be Displayed".
    I have just used one table in my template.
    Is this some setting issue??
    Please give your valuable inputs.
    Regards,
    Kshitij Mathur-

    Kshitij,
    Check out the serivces are activated or not?
    U can check this Tcode SICF
    Select Default host->sap->bw right clik and check if its in deactive mode then activate it and save.
    Hope it helps.
    Urs,
    Rakesh.

  • Error while displaying JSP page

    Hi Gents,
    I am getting the below error while make forward to another page.
    Please advise
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: No data found for region (/oracle/apps/ak/xxperson/webui/managePersonPG).
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ak/xxperson/webui/managePersonPG, XML Path = D:\JDev1211\jdevhome\jdev\myclasses\JRADXML;D:\JDev1211\jdevhome\jdev\myprojects;D:\JDev1211\jdevbin\jdev\oamdsxml\fwk. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1370)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/ak/xxperson/webui/managePersonPG, XML Path = D:\JDev1211\jdevhome\jdev\myclasses\JRADXML;D:\JDev1211\jdevhome\jdev\myprojects;D:\JDev1211\jdevbin\jdev\oamdsxml\fwk. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1370)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:392)
         at OA.jspService(_OA.java:80)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Hi Hrishikesh,
    The file exists locally "PC" in this place "D:\JDev1211\jdevhome\jdev\myprojects\xxt\oracle\apps\ak\xxperson\webui\"
    Please note that if I run the page directly without forwarding from the previous page, it opens.
    This is the forward code:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule perAm = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("savePerson") != null ) // save button been clicked
    perAm.invokeMethod("savePersonToDatabase");
    pageContext.setForwardURL(
    "OA.jsp?page=/oracle/apps/ak/xxperson/webui/xxPersonMainPG"
    ,null // no need as we are retaining menu context
    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
    ,null // no need as we are retaining menu context
    ,null // no parameters are needed
    ,true // retain menAM
    ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
    ,OAWebBeanConstants.IGNORE_MESSAGES
    Thanks and best regards
    Hesham

  • Exception while executing JSP in TOMCAT

    Hi,
    I am new to Tomcat 5.0. I saved the JSP file in webapps/root folder. I have JDK1.3.1 and JRE 1.4.1. When I am executing the jsp, I am getting the following exception.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: -1 in the jsp file: null
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat 5.0\work\Catalina\localhost\_\org\apache\jsp\test_jsp.java:9: cannot access java.lang.Object
    bad class file: C:\Program Files\Java\j2re1.4.1_03\lib\rt.jar(java/lang/Object.class)
    class file has wrong version 48.0, should be 47.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    implements org.apache.jasper.runtime.JspSourceDependent {
    ^
    1 error
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:83)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:315)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:406)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:463)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:430)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:274)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    If I remove JRE 1.4.1 and install previous version i.e. 1.3.1, the tomcat server is not starting. How do I proceed. I need help in executing servlets also. I copied the tools.jar file into the common/lib folder.
    I am awaiting for the replies. Thanks in advance.
    sampath

    Hmmm. It seems that Tomcat is running on Java1.3, but trying to compile a JSP using Java1.4, which leads to problems.
    What have you set your JAVA_HOME variables to?
    Which version of Tools.jar did you copy to the common/lib folder?
    How do you start up tomcat? Shortcut or service?
    Copying Tools.jar is a bad thing to do in most cases (Yes, I know it told you to do that, but if it told you to format your harddrive would you do that too?) I would remove tools.jar, and see what happens then.
    Good luck,
    evnafets

Maybe you are looking for

  • Flex Application does not work outside of the default dir

    Hi, I have developed a flex application which calls a http service and displays the contents in a text area. This works fine when I execute it from the flex builder or from the directory where the flex builder stores it. If I copy the files to any ot

  • Regarding F data Type

    Hi Expart ,                I am using a variable of type F (v_min). I don't want the decimals or Exponent .say Example v_min = 4.85. i only need to display 4 not the decimals .if i use exponent 0 and decimals 0 then it become '5' .but i dont want 5 i

  • XSL mapping - increment outbound element value by 1

    Hello Gurus, I added a for-each construct on the Outbound message in the XSL mapping between Source and Destination in the JDev. Within this for-each construct, I have an If construct. Only on certain condition I want to populate the outgoing values.

  • CF/Ajax - How to pass parameters to a cfwindow?

    Hi, Is there a way to pass parameters to a cfwindow? If yes, please provide me with all relevant details. HERE IS MY SITUATION: I have a form, in which I'm looping over a recordset e.g. <cfform name="frmTest">      <cfset counter = 0>      <cfloop qu

  • My ipod is blocked, can't log in

    Hello, my Ipod got blocked, I don't know how, because a friend did it -_-. I don't know what to do. It says on my ipod touch screen: ''Ipod is blocked, connect with itunes'' but when im logged in to my itunes, and try to connect it, it doesn't respon