Running a JSP (Serv Page) in  JDev 9i Beta

How do I run a JSP in JDeveloper? I have Tomcat loaded on my
machine and put the file under the Tomcat root and tried to run
it and I get the following error: Error: JSP files must reside
in the server root directory or a subdirectory beneath it.
Will JDeveloper work with Tomcat or do I need to 9iAS on my
machine? I would hope I wouldn't have to install all of that.
Thanks,
Tom Henricksen

Hi saurabh
I too faced the similiar issue
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND-INVALID APPLICATION. Tokens: APPL = ak; (Could not lookup message because there is no database connection)
RESOLUTION:- Ensure that your profile option "FND: Debug Log Enabled" is set to No both at your site level and also at your user level. To be on the safer side, set your Diagnostis profile to No too
PS:- I didn't remove backslashes from my dbc file. But you may consider that as an option too.
Ajay

Similar Messages

  • Memory Leaking message when run the log in page in Jdev 11.1.2

    Hi
    I am re design our 10g application in Jdev 11.1.2, I am using .jsf and ADF business component.
    at the moment, the project has only two pages. login and home page.
    when I run the login page, I see the message below. this is happening during the deployment process to the embeded weblogic
    <ADFContext> <getCurrent> Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.
    Anyone know why?
    thanks

    Hi Timo
    Thanks for your reply, I read the thread you pointed to.
    however, I am not sure my is related to the case mentioned. I am re design the application from scratch in Jdev 11.1.2, and my adfc-config.xml is as simple as this:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="Login">
    <page>/commom/Login.jsf</page>
    </view>
    <view id="home">
    <page>/commom/home.jsf</page>
    </view>
    <control-flow-rule id="__2">
    <from-activity-id>*</from-activity-id>
    <control-flow-case id="__3">
    <to-activity-id>Login</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__4">
    <from-activity-id>Login</from-activity-id>
    <control-flow-case id="__5">
    <from-outcome>success</from-outcome>
    <to-activity-id>home</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <managed-bean id="__1">
    <managed-bean-name>backing_login</managed-bean-name>
    <managed-bean-class>com.mycompany.view.backing.login</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    </adfc-config>
    also, I am using a session filter registered in web.xml --- basically, if the page is not Login.jsf then redirect to Login.jsf page. but even though I removed the session filter.java from the web.xml , it still show the message.

  • Please help.  Got TopLink working, but now I can't run a JSP page

    I am using JDeveloper 9.0.3.
    I got TopLink working successfully. Meaning I can access the DB using my mapped TopLink classes from my java code in JDeveloper.
    However, now I can't even run the default .jsp page.
    I am getting the error:
    Error instantiating application at file:/C:/LBIT/LBIT-oc4j-app.xml: Error parsing data-sources config at file:/C:/LBIT/LBIT-data-sources.xml: Fatal error at line 0 offset 0 in file:/C:/LBIT/LBIT-data-sources.xml: The encoding "windows-1252" is not supported.
    If I go change the "LBIT-data-sources.xml" file to "ISO-8859-1," as soon as I run the .jsp page (from JDeveloper) the "LBIT-data-sources.xml" file gets overwritten with a new one that contains the "windows-1252" encoding line again.
    What can I do to fix this???
    I know someone else has run into this problem!!!
    Please help. Thanks so much.
    Andy

    You could change the encoding by doing the following.
    Stop Embedded OC4J Server (Run | Terminate | Embedded OC4J Server)
    Tools | Preferences
    Select Environment
    Change the Encoding to ISO-xxxxx
    Click OK
    Run your JSP now.
    Atleast this should fix encoding generated into data-sources.xml
    raghu
    JDev Team

  • Error on page load when trying to run the jsp appl. through JDeveloper

    I created an JSP application using Oracle JDeveloper 9.0.5.2 and Business Intelligence beans 9.0.5. and i am using Embeded oc4j Server for running the application from the JDeveloper Environment.
    All the presentations are existed in the Local Catalog of the application...
    Configuration file of the Application is :
    (Project1OLAPConfig4.xml):
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!--This file is generated by the BI Designer object and specifies configuration
    settings for your application. These configuration settings do not affect
    the BI Designer object. You can specify the name of this file in the constructor
    of the BISession object for the application.
    If you want to customize this file, then choose Settings from the
    right-mouse menu of the associated BI Designer object. Or you can right click on the
    configuration file and choose Settings. You can choose whether to keep the
    configurattion settings the same for both design and runtime, which is the
    default, or to use different settings for design and runtime.
    Refer to the Help system for more information on the configuration file.
    Current Settings:
    In Sync with Designer
    -->
    <BIConfig>
    <BISession DeploymentOption="LOCAL">
    <BIUser Username="Local User"/>
    <Debug Mode="ERROR"/>
    </BISession>
    <PersistenceConnection PCID="pc1" PersistenceType="FILE" RootFolder="bidefs/Project1BIDesigner4/" BootConnection="true"/>
    <OLAPConnection OCID="oc1" ServerType="ROLAP" OLAPConnectionName="OLAPConnection1" HostName="twdpc232" SID="encore" PortNumber="1521" JdbcDriverType="thin">
    <DADFile Filename="/Project1OLAPConfig4OLAP.dad" Obfuscated="false"/>
    </OLAPConnection>
    <MetadataManager>
    <PersistenceConnection PCREFID="pc1"/>
    <OLAPConnection OCREFID="oc1"/>
    </MetadataManager>
    </BIConfig>
    Project1OLAPConfig4OLAP.dad :
    Username:CS_OLAP
    Password:CS_OLAP
    JSP page is : (biuntitled1.jsp)
    <%@ taglib uri="http://xmlns.oracle.com/bibeans/jsp" prefix="orabi" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%@ page errorPage="cabo/bi/jsp/error.jsp" %>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <!-- Start synchronization of the BI tags -->
    <% synchronized(session){ %>
    <orabi:BIThinSession id="bisession1" configuration="/Project1OLAPConfig4.xml" >
    <!-- Business Intelligence definition tags here -->
    <orabi:Presentation location="Presentation1" id="biuntitled1_pres1"/>
    </orabi:BIThinSession>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>
    BI Beans JSP Page
    </title>
    </head>
    <orabi:BIBody>
    <form name="BIForm" method="POST" action="biuntitled1.jsp" >
    <orabi:InitBITags parentForm="BIForm"/>
    <!-- Insert your Business Intelligence tags here -->
    <orabi:Render targetId="biuntitled1_pres1" parentForm="BIForm"/>
    <p/>
    <p/>
    <!-- The InsertHiddenFields tag adds state fields to the parent form tag -->
    <orabi:InsertHiddenFields parentForm="BIForm" biThinSessionId="bisession1" />
    </form>
    </orabi:BIBody>
    </html>
    <% } %>
    <!-- End synchronization of the BI tags -->
    The Errors coming when loading the page are:
    Line : 25
    Char : 76
    Error : ObjectExpected
    Code : 0
    URL : http://172.29.52.77:8989/Workspace1-Project1-context-root/biuntitled1.jsp
    The same error is coming in the (line, char) combination are : (25,1);(30,1);(21,1);
    Output of bicheckconfig :
    BI Beans Diagnostics(v1.0.2.0) 8/23/04
    ===============================================================================
    JDEV_ORACLE_HOME .......................... = c:\JDeveloper
    JAVA_HOME ................................. = C:\j2sdk1.4.2_03
    JDeveloper version ........................ = 9.0.5.2.1618
    BI Beans release description .............. = BI Beans 10.1.2 Production Release
    BI Beans component number ................. = 10.1.2.5.0
    BI Beans internal version ................. = 3.2.0.37.4
    Connect to database ....................... = Successful
    JDBC driver version ....................... = 9.2.0.3.0
    JDBC JAR file location .................... = C:\JDeveloper\jdbc\lib
    Database version .......................... = 9.2.0.5.0
    OLAP Catalog version ...................... = 9.2.0.5.0
    OLAP AW Engine version .................... = 9.2.0.5.0
    OLAP API Server version ................... = 9.2.0.5.0
    BI Beans Catalog version .................. = N/A; not installed in CS_OLAP
    OLAP API JAR file version ................. = "10.1.0.3.0"
    OLAP API JAR file location ................ = c:\JDeveloper\jdev\lib\ext
    Load OLAP API metadata .................... = Successful
    Number of metadata folders ................ = 2
    Number of metadata measures ............... = 24
    Number of metadata dimensions ............. = 5
    Metadata output location .................. = C:\JDeveloper\bibeans\bi_checkconfig\bi_metadata.txt
    To interpret this output, see the "Displaying Information about your Oracle9i Business Intelligence Beans Client Configuration" technical note, whose file name is bi_checkconfig_tn.html
    These diagnostics are captured in: C:\JDeveloper\bibeans\bi_checkconfig\bi_checkconfig.xml
    Can any body help me....
    Thanks
    Bhanu.

    Copy the jdev_home/jlib/redist/uix2_install.zip file to
    jdev_home/jdev/redist folder . It will overwrite an existing uix2_install.zip file.
    Close and open the Jdeveloper IDE. It will prompt you for upgradation of projects. Press OK button in response.
    Now you should be able to run the JSP pages.

  • How do I set a breakpoint in a Java Server page (.jsp)?

    I have set up an application for remote debugging and am able to connect to it from JDeveloper. When the code execution comes to breakpoints that I have set in java (.java) files they work and the application stops so I can debug etc.
    This also applies to breakpoints set in java code that is called from Java Server pages.
    However if I set breakpoints directly in a java server page whether it is in html code or in java code (such as scriplets) the execution does not stop and the breakpoints are ignored.
    Why? Is there some extra thing I have to do? I have tried in Project Properties/Run/Debug/Profile/Edit/Launch Settings to choose server as Virtual Machine for instance but that does not change anything.
    Comment. I do not know if this is of interest but I am going to add some java server pages to an application and they are defined in a directory like this:
    . . . src\org\yawlfoundation\yawl\resourcing\jsf\jsp
    but when the tomcat deploys the .war file they end up here:
    . . . apache-tomcat-6.0.18\webapps\resourceService
    As I can find no package declaration in a .jsp file this should not matter but I mention it anyway.
    Edited by: user10477024 on Nov 25, 2008 5:32 AM

    Hi user10477024,
    thanks for explaining your background on what you are trying to do and I do understand the approach you are taking. Unlike user10689900's completely random post.
    I've tried to convey why there is no support for JSP debugging in JDev, but again the main reason is that the current frameworks do not code Java directly into a JSP. The JSP is purely used to position the components on the page aiding visual design and real Java classes in tag libs do the rest.
    So the evolution has been:
    Servlets (Java classes writing HTML logic and intermingling presentation and business logic)
    JSP 1.0 JSP (HTML looking) files where you can add scriptlets enclosed in <% ... %> <- you are here
    JSP 1.1 Introduction of Tags and Tag libraries, tag libraries are true java classes and the JSP controls layout and simpler more elegant design.
    Really JSP 1.1 is all about building reusable components together in tag libraries that can be reused across pages and improving design by not mixing presentation and business logic code together.
    If I had inherited something as you have, my advice (if you can) would be to code up some tag libraries because it would be a good learning experience and would be very helpful for moving to more advanced frameworks like JSF.
    regards,
    Brenden

  • Error in trying to run a seeded page in Jdev

    Hi Gurus,
    Im trying to run a seeded page in Jdev, I have copied all the dependencies to my Jdev home. But when I tried to running it I get the error below. I haven't done any code changes to the page yet.
    Please help. Thanks.
    ## Detail 0 ##
    java.lang.ClassFormatError: Unknown constant tag in .class file
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1130)
         at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:365)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:140)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:37)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:141)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2104)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:1932)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:505)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:456)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:313)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:269)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
         at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:303)
         at oracle.jbo.server.ViewDefImpl.doAddEntityUsage(ViewDefImpl.java:2772)
         at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2842)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2075)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1909)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:509)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:456)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:313)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:269)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:376)
         at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:494)
         at oracle.jbo.server.ApplicationModuleImpl.doFindViewObject(ApplicationModuleImpl.java:2505)
         at oracle.jbo.server.ApplicationModuleImpl.findViewObject(ApplicationModuleImpl.java:2628)
         at oracle.apps.per.irc.candidateSearch.server.ApplicantSearchAMImpl.getPersonAplListVO(ApplicantSearchAMImpl.java:98)
         at oracle.apps.per.irc.candidateSearch.server.ApplicantSearchAMImpl.beforeRelease(ApplicantSearchAMImpl.java:78)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.beforePoolCheckin(OAApplicationModuleImpl.java:792)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.resetState(OAApplicationModuleImpl.java:947)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.resetApplicationModule(ApplicationPoolImpl.java:1369)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doUnmanagedCheckin(ApplicationPoolImpl.java:1181)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1093)
         at oracle.apps.fnd.framework.OAApplicationPoolImpl.releaseApplicationModule(OAApplicationPoolImpl.java:331)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:662)
         at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.releaseApplicationModule(OAHttpSessionCookieImpl.java:515)
         at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:584)
         at oracle.apps.fnd.framework.webui.OAPageBean.releaseRootApplicationModule(OAPageBean.java:5439)
         at oracle.apps.fnd.framework.webui.OAPageBean.releaseRootApplicationModule(OAPageBean.java:5418)
         at oracle.apps.fnd.framework.webui.OAPageBean.releaseCachedApplicationModules(OAPageBean.java:5394)
         at oracle.apps.fnd.framework.webui.OAPageBean.releaseCachedAMsBeforeRedirect(OAPageBean.java:5509)
         at oracle.apps.fnd.framework.webui.OAPageBean.performReleaseApplicationModules(OAPageBean.java:4147)
         at oracle.apps.fnd.framework.webui.OAPageBean.finalizeRequest(OAPageBean.java:3926)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:552)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

    As Sumit has mentioned above, this issue has been reported in java forums but no definite answers. Hence instead of waiting for replies, I would suggest to analyse the scenario. Start with a new Jdev workspace and create, run the helloworld example. If that works, move over to a create example which uses a EO as your error stack is showing the start of error as the EO source file. If this also works fine, then I can say that there is something wrong with the code setup you have done otherwise there is issue with the java installation.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error while running a jsp page : "jasper run time error"

    hii
    I'm facing trouble while running some jsp page . the error is as follows:
    HTTP Status 500 -
    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
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         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)
    root cause
    Unable to find a javac compiler;
    com.sun.tools.javac.Main is not on the classpath.
    Perhaps JAVA_HOME does not point to the JDK
         org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
         org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
         org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         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)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
    Apache Tomcat/5.0.28
    The set up in my system (path set up is as follows):
    Catalina home: C:\ apache software foundation\Tomcat 5.0
    Classpath: %java_home%;C:\j2sdk1.4.2_03\bin;
    Javahome: C:\ j2sdk1.4.2_03\jre;
    path: C:\ j2sdk1.4.2_03\bin
    <there are other variables available in path, along with that I have added the j2sdk1.4.2_03\bin in path".
    So if u have any way out for it please let me know.

    I think you only need to add: c:\j2sdk1.4.2_01
    you have specified jre on the end of your path, it is not the jre that is required, but the jdk.
    If you are using startup.bat and shutdown.bat (or .sh on Linux) you can amend the files with a text editor (open the startup.bat in notepad), like so:
    @echo off
    set JAVA_HOME=c:\j2sdk1.4.2_01
    if "%OS%" == "Windows_NT" setlocal
    I this will start Tomcat with the correct settings, regardless of your environment settings.

  • Getting error while running TestDbcConn.jsp in jdev

    Hi,
    We are implementing iStore 12.1.3.
    In order to create iStore jdev setup, I referred metalink note 1330599.1 (R12: How to Customize and Execute iStore JSPs from Oracle Jdeveloper?).
    I followed all the steps exactly as instructed.
    However when I run TestDbcConn.jsp, as instructed in step 8, I am getting following error:
    JTFDBCFILE=\fnd\secure\
    cant read dbc file
    Please note that I have downloaded .dbc file from unix server and placed it in "<project_dir>\fnd\secure" directory as instructed in Step 6 of the metalink note.
    Any prompt help/suggestion in this regard is appreciated.
    Thanks,
    Vivek

    This setting needs to be done in Jdeveloper.
    Goto Project Properties -> Run/Debug
    Click Edit, In launch Settings, enter the DBC File details in Java Options textbox.
    Thanks,
    Hrishikesh

  • JBO Exception while running OAF page from Jdev

    Hi All,
    I am using jdev 10.1.3 on R12 instance.
    I am trying to customize a standard OAF page.
    For that I downloaded all the related directories from the server and placed it in the corresponding folders of jdev.
    When I rebuild the page it is rebuilding successfully, but when I run the page it is showing some jbo exception.
    The exception details are attached in word file.
    If anyone faced such issues before please share your thoughts.
    Regards
    Jyothi

    Please paste the error stack and while running the page from Jdev make sure that you have updated DBC file and check the runtime connections in project properties. check the database connection as well.
    Thanks
    Raghav

  • I'm trying to run a .jsp page and all I get is the following error. Thoughts?

    Running Coldfusion 8 / JRun 4 updater 7 / Coldfusion 8 hotfix
    2.
    I'm trying to run a .jsp page and all I get is the following
    error. Thoughts?
    Could not invoke Java compiler, please make sure jikesw is in
    I:\JRun4/bin or put a JDK bin directory in your path.
    jrunx.compiler.JavaCompiler$NoCompilerFoundException: Could
    not invoke Java compiler, please make sure jikesw is in
    I:\JRun4/bin or put a JDK bin directory in your path.
    at
    jrunx.compiler.JavaCompiler.outProcessCompile(JavaCompiler.java:474)
    at
    jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:132)
    at
    jrunx.compiler.JavaCompiler.compile(JavaCompiler.java:100)
    at jrun.jsp.Translator.compilePage(Translator.java:176)
    at jrun.jsp.Translator.translate(Translator.java:254)
    at jrun.jsp.Translator.translate(Translator.java:101)
    at jrun.jsp.JSPEngine.translateJSP(JSPEngine.java:707)
    at jrun.jsp.JSPServlet.translate(JSPServlet.java:125)
    at jrun.jsp.JSPServlet.service(JSPServlet.java:113)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    You're right, that ws another fix I tried. There is no fix fo
    rthe issue described, but it still seems like an old issue. My
    class paths are short. Here is my jvm.config (pretty standard):
    # VM configuration
    # Where to find JVM, if {java.home}/jre exists then that JVM
    is used
    # if not then it must be the path to the JRE itself
    java.home=I:/JRun4/jre
    # If no java.home is specified a VM is located by looking in
    these places in this
    # order:
    # 1) bin directory for java.dll (windows) or
    lib/<ARCH>/libjava.so (unix)
    # 2) ../jre
    # 3) registry (windows only)
    # 4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
    # Arguments to VM
    java.args=-server -Xmx1000m -Dsun.io.useCanonCaches=false
    -XX:MaxPermSize=256m -XX:+UseParallelGC
    -Dcoldfusion.rootDir={application.home}/
    # commas will be converted to platform specific separator and
    the result will be passed
    # as -Djava.ext.dirs= to the VM
    java.ext.dirs={jre.home}/lib/ext
    # where to find shared libraries
    java.library.path={application.home}/lib,{application.home}/servers/cfusion/cfusion-ear/cf usion-war/WEB-INF/cfusion/lib,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/W EB-INF/cfusion/jintegra/bin,{application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB -INF/cfusion/jintegra/bin/international
    system.path.first=false
    # set the current working directory - useful for Windows to
    control
    # the default search path used when loading DLLs since it
    comes
    # before system directory, windows directory and PATH
    java.user.dir={application.home}/../lib
    # JVM classpath
    java.class.path={application.home}/servers/lib,{application.home}/lib

  • Integration of PL/SQL and JSP (Java Server Pages)

    I need to match a web application developed with PL/SQL with another developed in JSP (Java Server Pages) the problem is that the two apps interact with the same databese, an share de same users, I need to know how to get the user and password loged into pl/sql when the user want to use same of de .jsp pages running on another application server?

    Hi Michael Vstling,
    Did you try the java classes library (SDOAPI) that can be downloaded from OTN?
    It may provide you with a better alternative when manipulating geometries in the Java space. There is an adapter in SDOAPI which can convert a JDBC STRUCT object into Java Geometry object defined in SDOAPI, and vice versa.
    There are at least two ways in mixing PL/SQL and Java. The first one, as you mentioned, is to define your custom function in terms of PL/SQL and call it from within your Java program. With SDOAPI, you have the second option, which is to define your own functions in Java using SDOAPI and deploy them as Java stored procedures in db. You can then call them from within your PL/SQL code. In either way performance depends on a lot of things and generally it requires a "try and improve" approach.
    About JPublisher and sdo_ordinate_array it may not be a spatial related problem. Did you try search the Java-related forums first?
    LJ

  • JspParse Error when trying to run jsp/jspx page deployed on standalone OC4J

    I have ADF Faces Application, which is developed with JDev 11 TP3.
    I have deployed the application to Standalone OC4J Server, packed within JDeveloper 11 TP3.
    The problem comes, when i try to acess my login jsp or other JSPX page,then i receive the following error on the standalone OC4J Server console:
    for the JSP:
    JSP Servlet Error: Internal Error, registered Directive handlers MUST descend from JspDirective
    oracle.jsp.parse.JspParseException: /login.jsp : Line 4,
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    The content of my JSP page (login.jsp) is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1251"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    for JSPX:
    Directive handlers must descend from JSP Directive..
    But i have:
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1251"/>
    That works fine with JDev embedded OC4J.
    Thank you in advance,
    Krasimir
    Message was edited by:
    K.Penev

    Same trouble. Anyone have solution?
    JDeveloper 11 TP4
    OC4J 11 TP4 from this http://www.oracle.com/technology/tech/java/oc4j/index.html
    Do this instruction http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
    Nothing to change.
    Message was edited by:
    user644372

  • How to run a jsp page

    hello to all of u
    i m bit comfortable with SERVLET and please tell me that how to run a JSP page.i m using TOMCAT.
    someplace it is written that " write the program ,save under the root of tomcat i.e in my system it is tomcat 4.1 and to store in tomcat4.1\helloworld.jsp ,,, and then after start the server write in the url --:
    http://localhost:8080/hello.jsp.
    but it is giving error while running.please tell me the procedure.
    thank you
    bye

    Why oh WHY do you want to fiddle with the server.xml file?
    You don't need to.
    Under tomcat is a directory called "Webapps"
    This is where you put your web applications.
    You will see there is an existing one there called ROOT - which funnily enough is the root one used for Tomcat.
    If you put your hello.jsp in the ROOT directory, http://localhost:8080/hello.jsp will work.
    However it is not recommended to use the ROOT directory. Make your own one.
    Create a new directory in the "Webapps" directory eg "test"
    Put your jsps in here.
    under test create a directory called "WEB-INF"
    Copy the web.xml file from [TOMCAT_HOME]/webapps/ROOT/web-inf into the new web-inf directory.
    Now go to http://localhost:8080/test/hello.jsp
    Cheers,
    evnafets

  • Include a jsp which is running on other server

    hi,
    I need to access a jsp page which is running on the other server. Actually I need to access a jsp from another website in my jsp page... Can anybody help me, possible send me the code....
    Email: [email protected]
    Thanks in advance
    Damodar

    Hai,
    Now i will explain clearly what exactly my requirement. When i access my JSP Page, i just the user name, and i need to pass that user name to the another JSP page, which is running on another server, by passing that as a parameter to that page. Here i don't click any url or button to submit.. It directly access that page for me...Can u please help me in that regard....
    Thanks..
    Damodar

  • Running a JSP on a web server

    Hello,
    I am new in programming. I would like to know how to run a JSP file on a web server. I have created a couple of JSP pages in NetBeeans. Now when I upload that build/web folder to a web server I get just the source code of the file when opening in browser.
    Is there something that needs to be installed on the server? Btw, when testing on localhost with tomcat server it works fine.
    Thanks for any help.
    Carterado

    carterado wrote:
    Hello,
    I am new in programming. I would like to know how to run a JSP file on a web server. I have created a couple of JSP pages in NetBeeans. Now when I upload that build/web folder to a web server I get just the source code of the file when opening in browser.
    Is there something that needs to be installed on the server? Btw, when testing on localhost with tomcat server it works fine.Right, because Tomcat is a servlet/JSP engine that happens to have an HTTP server built in.
    You can't deploy servlets or JSPs on Apache web server or IIS. You need a servlet/JSP engine.
    %

Maybe you are looking for

  • Confiemed qty in Afru table

    Hi expert    How to get the cancelled operations in the afru table    since i need to calculate the confirmed qty Regards

  • How to read file in JAR file (the one containing applet class)

    my applet needs to read a file (font file) that will be bundled in the jar file. how do i read that file? i tried using URL u = new URL("file:///myfont.ttf"); u.openStream();i got AccessControlException. is there anyway for the applet to load file in

  • Apps flash on then off

    when i try to turn on an app, it flashes on then immediately off. have already reset phone and still has problem. 

  • Payment System Down?

    My CC expired and I have to update it in my account before I can access my products...except when I click on the link to update my payment details I'm told to try again later. (I can't even enter the new CC # so it's not a card issue) Anyone else see

  • Downloading Mountain Lion from The Mac App Store.

    I'm currently downloading Mountain Lion for my Imac from the Mac App Store. If I put my computer to sleep, the download stops, can I put my Desktop to sleep or will the download still stop?