JSP in OAFramework

Hi,
Is it possible to develop JSP page in JDeveloper and run in local mochine instead of deploy on server ?
Thanks,
Krunal

Yes it is very much possible

Similar Messages

  • APEX vs OAFramework or JSP

    Hello Folks,
    I have been evangelizing APEX at Dell and amazed with the reduction in time/effort required to create scalable applications.
    Now a lot of our extensions/custom development is done using OAFRamework, which is time consuming and the skills of our dev team are sometimes lacking.
    My question is, what would be the reasons to choose OAFramework/J2EE instead of APEX knowing that our development environment is Ebusiness suite and all the applications are basically running on E-Biz data model and API ?
    Most of our applications are internal applications ( Work within the firewalls) and the business processes are very dynamic.
    OA FRamework is simply very complex and we are facing scaling/performance issues with that and surprisingly not with APEX. Probably because OAFramework involves lot of custom code written by our developers vs APEX which is more like managed code.
    So to summarize my query.
    1. Where to use APEX ( Limitations)
    2. Where to use OAFramework
    3. Performance/scaling/security etc concerns for APEX
    4. Why doesn't Oracle use APEX for its e-biz suite, instead of using OA Framework or jtt framework.
    Rgds,
    Venkatesh

    Venkatesh,
    Just happened to see this thread and thought that I will share my view too. Actually because you are from Apex background, you should had posted this issue in OAF forum to get more of the OAF view and then compare with yours.
    APEX is good and fast but doesn't have direct integration features with EBiz. It also doesn't support many of the advanced features of Apps. So when it comes to simple applications, APEX is fine, but when a full fledge application with complex UI is required, you need a framework and not just a tool.
    Also can you confirm whether you are using OAF for extension of Apps or for creating custom applications?
    You were talking about performance issue. Can you confirm it was the OA code and not the underlying pl/sql code? Most of the ebiz is running on OAF and there are no inherent performance issues with it. When you say your code is giving performance issue, there might be many reasons and most of them should have a solution with either code or design.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • KIMYONG : OAframework MDS reporsitory에서 OA page 찾는방법

    PURPOSE
    이 노트는 JRD repository 에 import된 page이름을 찾고자 할때 사용하는 SQL입니다.
    Explanation
    The script below can be used to search for any page name
    REM START OF SQL
    REM
    REM Script to list out the data from the MDS repository for SS Fwk application
    REM Only run under the instruction of Oracle Support
    REM version 1.2
    REM Created 7/31/2003
    REM Updated 8/1/2003 for multiple entries in JDR_PATHS and path details
    REM
    REM This data should be same as found in the $PROD_TOP/mds/regionMap.xml file.
    REM
    set echo off
    set feedback off
    set pagesize 66
    set linesize 132
    set serveroutput on
    spool JRADMetaData.txt
    DECLARE
         mzDOCidRef integer;
         mzPathParent integer;
         mzPathName VARCHAR2(60);
         cursor mzDOCID is
              select p.PATH_DOCID, p.PATH_NAME, p.PATH_OWNER_DOCID, p.PATH_TYPE
              from JDR_PATHS P
              where upper(p.path_name) = upper('&Enter_page_name');
         mzDocData mzDOCID%ROWTYPE;
         cursor mzATTR is
              select ATT_NAME, ATT_VALUE
              from JDR_ATTRIBUTES
              where ATT_COMP_DOCID = mzDOCidRef
              order by ATT_SEQ;     
         mzAttrData mzATTR%ROWTYPE;
         cursor mzCOMP is
              select COMP_ELEMENT, COMP_REF
              from JDR_COMPONENTS
              where COMP_DOCID = mzDOCidRef ;
         mzCompData mzCOMP%ROWTYPE;
         cursor mzATL is
              select ATL_LANG, ATL_COMP_REF, ATL_NAME, ATL_VALUE
              from JDR_ATTRIBUTES_TRANS
              where ATL_COMP_DOCID = mzDOCidRef ;
         mzAtlData mzATL%ROWTYPE;
    BEGIN
    dbms_output.enable(buffer_size=>1000000);
    for mzDocData in mzDOCID LOOP
         dbms_output.put_line('**************************************************************');
         dbms_output.put_line('Information for PATH_DOCID ' || mzDocData.path_DOCID);
         dbms_output.put_line('Path Name : ' || mzDocData.path_name);
         dbms_output.put_line('Owner DocID : ' || mzDocData.path_owner_docid);
         dbms_output.put_line('Path Type : ' || mzDocData.path_type);
         dbms_output.put_line('.');
         mzPathParent := mzDocData.path_owner_docid;
         dbms_output.put('Full file path (reversed) is : ');
    --- For example
    --- /oracle/apps/fnd/wf/monitor/webui/AdminMonSuspendActivityMainRG
    --- maps to physical file of
    --- $FND_TOP/mds/wf/monitor/webui/AdminMonSuspendActivityMainRG.xml
         WHILE mzPathParent != 0 LOOP
              select path_owner_docid, path_name
                   into mzPathParent, mzPathName
                   from JDR_PATHS
                   where path_docid = mzPathParent;
         dbms_output.put('.' || mzPathName);
         END LOOP;
         dbms_output.new_line;
         dbms_output.put_line('.');
         dbms_output.put_line(' ** Attribute information ** ');
         dbms_output.put_line('.');
         mzDOCidRef := mzDocData.path_DOCID;
         for mzAttrData in mzATTR LOOP
              dbms_output.put(mzAttrData.ATT_NAME);
              dbms_output.put(' : ' || mzAttrData.ATT_VALUE);
              dbms_output.new_line;
         END LOOP;
         dbms_output.put_line('.');
         dbms_output.put_line(' ** Component information ** ');
         dbms_output.put_line('.');
         for mzCompData in mzCOMP LOOP
              dbms_output.put(mzCompData.COMP_ELEMENT);
              dbms_output.put(' : ' || mzCompData.COMP_REF);
              dbms_output.new_line;
         END LOOP;
         dbms_output.put_line('.');
         dbms_output.put_line(' ** Language Attributes ** ');
         dbms_output.put_line('.');
         for mzAtlData in mzATL LOOP
              dbms_output.put(mzAtlData.ATL_LANG);
              dbms_output.put(' : ' || mzAtlData.ATL_COMP_REF);
              dbms_output.put(' : ' || mzAtlData.ATL_NAME);
              dbms_output.put(' : ' || mzAtlData.ATL_VALUE);
              dbms_output.new_line;
         END LOOP;
    END LOOP;
    END;
    spool off
    set echo on
    set feedback on
    REM END OF SQL
    Reference
    Note.245349.1 Investigating the MDS repository used by Self Service Framework
    글 수정: kimyong

    I am not sure if you are refering to JDEV_USER_HOME variable as apps path, if yes then yes your page should be present in proper directory structure under the jdev user home.
    Typically you would set the jdev user home as D:\OAFramework\jdevhome\jdev\myprojects and not D:\OAFramework\jdevhome\jdev\myprojects\oracle\apps.
    It is not mandatory that the pages should always start with the package /oracle/apps. You can prepend any directory structure before /oracle/apps but make sure that your directory structure contains /../../oracle/apps/<product shortname>/....
    How are you calling this page or running this page from jdev ? If you are calling it from a jsp what is the a href you are using to call this page ?

  • Hi All.How to deploy the CUSTOM JSP to Oracle Application???

    Basically i am new to OAFramework and i have developed one JSP page--->Connect to Remote Application and it is working fine in my Local System.
    How do i depeloy this CUSTOM page to Oracle Application???
    Please let me know the Steps or is there any Reference documentaion available so that i can follow the steps.
    Message was edited by:
    user550793
    Message was edited by:
    user550793

    How you create your .xml file.
    Have you created your .xml file using New->web tier->OA Components->Page.
    If in this way you would not get your specified Error. Could not find the main class.Progarm will exit.
    I think you are running any java file. either controller, VOImpl.java or any else.
    that do not have main function.
    if still this issue exist on your side. let us know all the steps in details to us.
    Thanks, Avaneesh

  • JSP to call EBusiness Suite report

    We are running 11.5.9 on 9i looking for some direction on creating a jsp to run and display output of a report. Looking to reproduce the "Print Quote" action that is in the Qouting module - with other reports.
    Would like to know which version of JDeveloper we should use as well as any sugestions on how to accomplish this.

    Hi,
    I also want to work on crystal report but i dont have the ReportViewerBean.jar and ReportViewer.jar. So, please tell from where will i get those jar files.
    Thanks in advanced.

  • Exception-Error when excecuting JSP-File in Crystal reports for Eclipse

    Hi,
    I have created a jsp-File from an rpt-File in Crystal report for Eclipse. When I start the jsp-File on Apache Tomact 5.5 then only errors occurs.
    Coud anyone help me?
    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:
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package
    An error occurred at line: 7 in the generated java file
    Only a type can be imported. com.crystaldecisions.reports.sdk.ReportClientDocument resolves to a package
    An error occurred at line: 8 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.application.OpenReportOptions resolves to a package
    An error occurred at line: 9 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package
    An error occurred at line: 10 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package
    An error occurred at line: 13 in the jsp file: /Bericht1-viewer.jsp
    ReportClientDocument cannot be resolved to a type
    10:      try catch (ReportSDKExceptionBase e)
    60:      
    An error occurred at line: 58 in the jsp file: /Bericht1-viewer.jsp
    e cannot be resolved
    55:
    56:
    57:      } catch (ReportSDKExceptionBase e)
    60:      
    61: %>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
    Apache Tomcat/5.5.26
    Bericht1.jsp:
    <%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%><%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              String reportName = "Bericht1.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                   // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                        // Create the CrystalReportViewer object
                        CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                        //     set the reportsource property of the viewer
                        IReportSource reportSource = clientDoc.getReportSource();                    
                        crystalReportPageViewer.setReportSource(reportSource);
                        // set viewer attributes
                        crystalReportPageViewer.setOwnPage(true);
                        crystalReportPageViewer.setOwnForm(true);
                        // Apply the viewer preference attributes
                        // Process the report
                        crystalReportPageViewer.processHttpRequest(request, response, application, null);
                   // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    Thanks
    Arnold

    According to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
    To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using.

  • .How can I add data from one list to other in Jsp Page

    Hi..I have three multiple selection ListBox..I want to add the selected item from 2 list boxes to 3rd list box how can i do that..do i need to write javascript? If possible then suggest me some link where i can get help?
    Thanks
    Regards
    Chintan

    Yep, Javascript.
    Unless you want to post the data to the server and then rewrite the page (ie. jsp/servlets) then you are going to need to use a client side script to modify the page.
    Javascript. You need to get the onClick() event of one list box and get the item that was clicked. then you can rewrite the 3rd list box.
    If possible, try doing a search on google. Or do you want someone to hold your hand.

  • How to use single JSP page for multiple users.

    Hi ,
    I am doing messenger kind of program using JSP and tomcat server.
    When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
    how can i do that one . can any one guide me .
    Thanks in advance.

    SuneelGoodatJava wrote:
    Hi ,
    I am doing messenger kind of program using JSP and tomcat server.
    When i type message it is showing in the some div. If some other person request for the same page by giving my IP address and jsp page, he should able to see what i have typed on page so far.
    how can i do that one . can any one guide me .
    Thanks in advance.HTTP is a request/response protocol. You can't do what you're suggesting without "pushing" what you type to all the other users. That's not the way HTTP works. Maybe an applet and servlet.
    %

  • How to print new line in jsp page

    hi
    how to print new line in jsp page
    thanks

    \n - new line character is in java specific not HTML
    specific.Well, if the correct line separator sequence (by far not always \n) would be used, it does add a new line to the HTML output. Too bad that you don't want to see HTML but formatted text. The BR tag is a formatting element for the displayed text, not a line break in HTML. ;)

  • How to Get Portlet Namespace in a JSP attribute

    Hi All,
    The id of any component in a JSF application (with JSR168 portlets) takes the form
    'view'+'<portlet:namespace/>'+':'+'formname:componentidname';
    I need this id to be used for certain validations.
    Currently I am using it as below :-
    <h:intputText required="#{ ! empty param['viewns_7_CGAH47L000NAF0I04I42ND10P7_:form:login']}"/>
    Presently I have hardcoded the portlet namespace 'ns_7_CGAH47L000NAF0I04I42ND10P7_' by looking into the html source of the rendered page.
    Is there any way by which i can automatically get this portlet namespace within the param tag in the jsp.
    I know for a fact that within javascript tags, it can be used as <portlet:namespace/> as shown below :-
    <script type="text/javascript">
    function doSomething()
    buttonId= 'view' + '<portlet:namespace/>'+':'+'formName:buttonId';
    document.getElementById(buttonId).disabled = true;
    </script>
    Kindly treat this on high priority.
    Thanks and Regards,
    Darshan Shroff

    Perhaps so.
    I need to use it within param as below
    <h:inputText value="#{bean.userid}"
    required="#{!empty param['viewns_7_CGAH47L00GLRE0I0BCOUKS00I5_:form:login']}" />
    Here 'viewns_7_CGAH47L00GLRE0I0BCOUKS00I5_:form:login' is actually
    'view' + '<portlet:namespace/>'+':'+'formName:buttonId';
    I am just trying to check the presence of the client ID in the request paramameter map inorder to attain action dependent requiredness.
    Kindly tell me how i could access it within param.
    Thanks & Regards,
    Darshan Shroff

  • Clicking on jsp page does not open it in visual editor.

    All "open jsp tags in visual editor" checkbox is on for all libraries.
    Jdeveloper version is 10131 build 3914
    Message
    BME-99003: An error occurred, so processing could not continue.
    Cause
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:108)
         at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:78)
         at oracle.jdevimpl.webapp.design.util.InvisibleJspElementsUtil.applyInvisibleJSPElements(InvisibleJspElementsUtil.java:47)
         at oracle.jdevimpl.webapp.design.view.DesignTimeFixedViewDocument.rebuildTree(DesignTimeFixedViewDocument.java:162)
         at oracle.jdevimpl.webapp.model.content.dom.view.proxy.ProxyViewDocument.initialize(ProxyViewDocument.java:80)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.rebuildViewDocument(AbstractWebAppEditor.java:686)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.rebuildViewDocument(HtmlEditor.java:621)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.rebuildViewDocument(JspEditor.java:209)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.createDocuments(AbstractWebAppEditor.java:1206)
         at oracle.jdevimpl.webapp.editor.AbstractWebAppEditor.open(AbstractWebAppEditor.java:393)
         at oracle.jdevimpl.webapp.editor.html.HtmlEditor.open(HtmlEditor.java:172)
         at oracle.jdevimpl.webapp.editor.jsp.JspEditor.open(JspEditor.java:113)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:239)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:90)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:275)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1261)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1196)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditorInFrame(EditorManagerImpl.java:1077)
         at oracle.ideimpl.editor.EditorManagerImpl.openDefaultEditorInFrame(EditorManagerImpl.java:1036)
         at oracle.adfdt.controller.util.CommonUtils.showEditor(CommonUtils.java:575)
         at oracle.adfdt.controller.jsf.diagram.shape.PageNode.gotoPage(PageNode.java:355)
         at oracle.adfdt.controller.jsf.diagram.shape.PageNode.invokeAction(PageNode.java:292)
         at oracle.adfdt.controller.jsf.diagram.registry.RPageNode.editContents(RPageNode.java:210)
         at oracle.bm.diagrammer.track.SelectionTracker.keyPressed(SelectionTracker.java:1338)
         at oracle.bm.diagrammer.track.ModularTracker.processEvent(ModularTracker.java:253)
         at oracle.bm.diagrammer.track.SelectionTracker.processEvent(SelectionTracker.java:148)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:375)
         at oracle.bm.diagrammer.BaseDiagramView$53.processEvent(BaseDiagramView.java:733)
         at oracle.bm.diagrammer.PageView$PageViewPanel.fireEvent(PageView.java:2933)
         at oracle.bm.diagrammer.PageView$PageViewPanel.processEvent(PageView.java:3111)
         at java.awt.Component.dispatchEventImpl(Component.java:4407)
         at java.awt.Container.dispatchEventImpl(Container.java:2042)
         at java.awt.Component.dispatchEvent(Component.java:4237)
         at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1828)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:693)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:952)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:824)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:657)
         at java.awt.Component.dispatchEventImpl(Component.java:4279)
         at java.awt.Container.dispatchEventImpl(Container.java:2042)
         at java.awt.Window.dispatchEventImpl(Window.java:2405)
         at java.awt.Component.dispatchEvent(Component.java:4237)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:600)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    one more thing...the code runs properly on localhost... i tested it on my pc n it was fine..both in firefox and IE...
    i guess there is a specific syntax i need to follow (strict syntax) but i dunno what it is...:(

  • Remote system JSP project not working in eclipse

    Hi
    I am developing a JSP project. My files are on a remote server and I want to configure it in Eclipse 3.3 with Lomboz. The problem is After adding the project it gives a warning that xml files can't be validated.The exact warning is
    The file cannot be validated as the XML Schema "\192.168.1.10\gunjan_share\workspace\Project1\WebContent\WEB-INF\web.xml (The system cannot find the path specified)" that is specified as describing the syntax of the file cannot be located.
    Due to this error JSP pages are not getting compiled.
    Plz help me
    Thanks

    Extracted from Note 1067696.1:
    You need to either adapt your code to remove the scriptlets in your JSP page,
    or you can use the following Java option to disable OJSP:
    -Dadfvdt.disableOjspDeployment=true
    You can add this option -Dadfvdt.disableOjspDeployment=true in your file "ide.conf" in the directory "<Middleware_Home>\jdeveloper\ide\bin"
    For your Production environment, you can have your Managed WLS ignoring the OJSP mode by adding the Java Option -Dadfvdt.disableOjspDeployment=true
    * in the "startManagedWebLogic" (if you want to limit it to a specific Managed Server)
    * or "setDomainEnv" (for all managed servers in a domain).

  • Error message for a JSP-BC4 Application

    Hi,
    I have created a simple BC4J-JSP application using the wizards in Jdeveloper. I used the emp-dept table from scott.
    Then I created a .ear file and uploaded that to an OC4J instance using ias 902 enterprise manager. The main.html comes normally. But when I am trying to click on the left hand navigator the following error message is coming:
    Error Message: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file /JSP_BC4J_TEST1/common/bc4j.xcfg in the classpath
    Error Message: JBO-33001: Cannot find the configuration file /JSP_BC4J_TEST1/common/bc4j.xcfg in the classpath
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-33001: Cannot find the configuration file /JSP_BC4J_TEST1/common/bc4j.xcfg in the classpath
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:372)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:169)
         at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:554)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:143)
         at DeptView_Browse._jspService(_DeptView__Browse.java:58)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:508)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:255)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
         at java.lang.Thread.run(Thread.java:484)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /JSP_BC4J_TEST1/common/bc4j.xcfg in the classpath
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:237)
         at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:192)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:348)
         at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManager.java:169)
         at oracle.jbo.http.HttpContainer.findSessionCookie(HttpContainer.java:554)
         at oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag(ApplicationModuleTag.java:143)
         at DeptView_Browse._jspService(_DeptView__Browse.java:58)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:508)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:255)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:535)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:766)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:802)
         at java.lang.Thread.run(Thread.java:484)
    Thanks,
    Ritendra.

    I think too, that is a time machine problem.
    I have 4 volume partions (3 hard disk) at this mac. I use only the time machine as backup system. Only one. Before I install Snow Leopard I use the latest MacOS X 10.5.8. Always the newest version of MacOS.
    Perhaps I describe it: Under 10.5.8 I use the time machine backup volume at an external firewire drive, always the same. I switch off this firewire drive often. In this case (the drive isn`t connect) the icon of this partition"Pro10.4" was changed to the time machine volume icon, but the time machine does nothing at this partition.
    After the installation of 10.6 I cannot access to this "Pro10.4" volume. I get the same error message if I want to open the external drive volume of my time machine backup. There is no problems with my other two partition. Of course my old V10.5.8 is at one of this partition. If I start my mac from a other partition (time machine is off), I have no problem with all partitions.
    I change the name of "Pro10.4", but nothing is changing. The time machine protect the backup volume under V10.6. Unfortunately it choose an other partition, if it don`t find my external drive. How can I reset this state of my "Pro10.4"?
    Thanks
    Uwe

  • Xml parsing error in JSP 1.2

    Hi, everyone.
    I'm getting an error trying precompile JSP code using a variable tag in my tag library to define a new scripting variable : Element "tag" does not allow "variable" here.
    I also get the same error after deployng the JSP code on Sun One Application server 7.
    Any idea?
    Thanks a lot for any help.

    Here is the tag lib file that can't be parsed.
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE taglib
    PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
         "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_2.dtd">
    <!-- a tag library descriptor -->
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>er</short-name>
    <uri></uri>
    <description>
         A tab library for iteration tag used in Event Reminder application
    </description>
    <tag>
    <name>loopEvent</name>
    <tag-class>com.abnamro.na.net.reminder.servlet.IterateTag</tag-class>
    <body-content>JSP</body-content>
    <attribute>
    <name>collection</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <variable>
         <name-given>mmdd</name-given>
         <variable-class>String</variable-class>
         <declare>true</declare>
         <scope>NESTED</scope>
         <description>month and day of event</description>
    </variable>
    <variable>
         <name-given>type</name-given>
         <variable-class>String</variable-class>
         <declare>true</declare>
         <scope>NESTED</scope>
         <description>This variable contains type of event</description>
    </variable>
    <variable>
         <name-given>name</name-given>
         <variable-class>String</variable-class>
         <declare>true</declare>
         <scope>NESTED</scope>
         <description>This variable contains name of event</description>
    </variable>     
    <variable>
         <name-given>period</name-given>
         <variable-class>String</variable-class>
         <declare>true</declare>
         <scope>NESTED</scope>
         <description>period over which a user get a email for</description>
    </variable>     
    <variable>
         <name-given>descr</name-given>
         <variable-class>String</variable-class>
         <declare>true</declare>
         <scope>NESTED</scope>
         <description>description</description>
    </variable>          
    <variable>
         <name-given>numyears</name-given>
         <variable-class>String</variable-class>
         <declare>true</declare>
         <scope>NESTED</scope>
         <description>number of years for particular event</description>
    </variable>     
    <variable>
         <name-given>address</name-given>
         <variable-class>String</variable-class>
         <declare>true</declare>
         <scope>NESTED</scope>
         <description>address of event</description>
    </variable>     
    <variable>
         <name-given>phone</name-given>
         <variable-class>String</variable-class>
         <declare>true</declare>
         <scope>NESTED</scope>
         <description>phone of event</description>
    </variable>          
    </tag>
    </taglib>
    Thank you.

  • Error in executing a process for compilation for jsp

    We have an iView which has jsp pages in it. We deployed the par & try toaccess the iview & we get an exception. The issue is that the iview has a jsp page. At the run time, this jsp is converted into a .java file
    without problem. But EP engine is having issues compiling this java fileinto .class file.
    On the other hand this same iview works just fine on our windows installation. Only Solaris EP install is having problems. The version onwindows as well as on Solaris is EP6 SP9.
    Here is the exact version on the solaris EP:
    sap.com/SAP-JEECOR 6.40 SP9 (1000.6.40.9.0.20041119045253) 20041122132733
    sap.com/SAP-JEE 6.40 SP9 (1000.6.40.9.0.20041119045409) 20041122132741
    When I copy the .class file from windows to unix machine, the iView works fine. Here is the exception I am getting:
    >>> JSPCompiler >>> error
    [email protected]a188b
    [EXCEPTION]
    com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException:
    Error in executing a process for compilation
    at
    com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.launchCompilerProcess(J2eeCompiler_6_30.java:574)
    at
    com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compileExternal(J2eeCompiler_6_30.java:370)
    at
    com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compile(J2eeCompiler_6_30.java:672)
    at
    com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2143)
    at
    com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:76)
    at
    com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:122)
    at
    com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:279)
    at
    com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:129)
    at
    com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
    at
    com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
    at
    com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
    at
    com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
    at
    com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
    at
    com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at
    com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at
    com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at
    com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at
    com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at
    com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)
    at
    com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
    at
    com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
    at
    com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    at
    com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
    at
    com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
    at
    com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    I am having the same issue with another iview which has jsp page in it.
    The web dynpro iview works fine.

    Hi, seems like there's some typo in your jsp. Check the .java file listed with a java editor (like eclipse or devstudio.). Maybe you'll find the typo this way faster.
    Most often, a multiline page import hampers jsp compilation,
    e.g.
    <%@page import="java.util.List,
                    java.util.Map"%>
    needs to be
    <%@page import="java.util.List,java.util.Map"%>
    Regards,
    Armin

Maybe you are looking for

  • In search of something more accurate than stringWidth()

    Is it possible to get the exact width of a string using AWT components from Java 1.1? this is close: FontMetrics fm = getFontMetrics(font); fm.stringWidth("hello");but it tends to return a value that is slightly too small because it doesn't take into

  • Out put length more than 6423,7 chars

    TYPES : BEGIN OF ty_final,          line(600)  TYPE c,         END OF ty_final. DATA : gt_final TYPE TABLE OF ty_final. I have some the records are that are appending to the  internal table gt_final is of length 6423,7. How can I achieve this ? Final

  • Error in Advanced global Inter company-R12

    Advanced global Inter company-R12 ======================= after entering the initiators accounting lines and receipients accounting line, when we submit the inbound transaction, it results in a error msg instead When i Select "Show Log", it displays

  • Computer does not accept id and password

    My friend just bought a new  iMac computer, which does not allow her to access it because it is rejecting what she considers to be her correct id and password. Is there a way to circumvent this problem? Any suggestions will be appreciated.

  • Windows 8 64-bit + Adobe Application Manager

    I updated my computer to Windows 8 last night/this morning and erased all of my apps. Everytime I try to start the Adobe Application Manager, I get "Download error. Press retry to try again or contact customer support. (403)" Is this a common error w