JSP / OAS 4.0.8.1 /JDeveloper / Oracle8i

Hello:
Has anyone sucussfully ran a JSP with OAS 4.0.8.1 on Jdeveloper 3.0 connecting to Oracle8i database.
We are running sucesfully on Client in Jdeveloper 3.0 using snippet.
The same program on JSP is giving Null pointer Exception.
Is JSP supported in OAS 4.0.8.1 at all.
All input will be greatly appreciated.
Thanks in Advance

Yes JSP is supported in OAS 4.0.8.1.
My team has successfully used JDeveloper 3.1 to develop and deploy JSPs to OAS. There are a few things to look out for when formatting the output.
I am happy to share more specific detail with you. Email me at [email protected]

Similar Messages

  • Error while running AppsLocalLogin.jsp in R11.5.10 on Jdeveloper

    Hi,
    I am getting error while running AppsLocalLogin.jsp on Jdeveloper for r11.5.10 rup 7.
    I perform following steps to successfully compile (with warnings only) the page.
    1. Copy AppsLocalLogin.jsp from OA_HTML to C:\jdev_r11\jdevhome\jdev\myhtml\OA_HTML.
    2. Then when I recompile it give me following error
    Error: cannot access class oracle.apps.fnd.sso.SSOAccessEnabler; file oracle\apps\fnd\sso\SSOAccessEnabler.class not found
    3. So i copy all class files from oracle\apps\fnd\sso to C:\jdev_r11\jdevhome\jdev\myclasses\oracle\apps\fnd\sso
    4. Form successfully build.
    5. Execute the jsp and following error appears..
    *500 Internal Server Error*
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.substring(String.java:1444)
         at oracle.apps.fnd.sso.SSOAccessEnabler.<init>(SSOAccessEnabler.java:43)
         at AppsLocalLogin.jspService(AppsLocalLogin.jsp:80)
         [AppsLocalLogin.jsp]
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         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[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind[Oracle9iAS (9.0.3.1.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    I am stuck. Please let me know what i am doing wrong. Thanks.
    Ayaz

    Check out some old threads. Probably it might help
    Custom Login and Logout replacing AppsLocalLogin
    Re: How to Customize AppsLocalLogin.jsp page
    Thanks
    AJ

  • JSP pages not displaying images in Jdeveloper

    HI
    I am using lot of images in the JSP page.But the JSP pages are not displaying images in Jdeveloper in Design preview.
    Do I need to install Apache for that?I have not installed Apache yet.
    If so then what are the configuration or settings I have to do in Jdeveloper for Apache.
    Thanks in Advance.
    Apps user

    Which JDeveloper version? where are the images stored? can you share the code you are using to show such an image?
    Try this - create a JSP page and drag an image from your desktop onto the JSP page - this will add the image to your project - does this work?

  • JSP 2.0 tag files in jDeveloper 10g

    Hi, I'd like to create a set of UI components using JSP 2.0 tag files and have them available through the jDeveloper component palette for use in the visual edittor. I'd like jDeveloper to render the tags at design time like it can with regular old tags.
    Can this be done, and if so, how? I poked around in jDeveloper and on the web site without figuring it out... If I missed something obvious or there's docs online please point me in the right direction!
    Thanks,
    L.

    OK, so the integrated run-time supports JSP 2.0 and tag files. But what I'm after is support in the design-time components. Specifically, I want to produce a set of user interface components that I can place in the component palette and have rendered in the JSP visual editor.
    As far as I can tell (see previous post), jDeveloper's editor doesn't understand JSP 2.0 features. Therefore I suspect that the design-time as a whole doesn't and so I'll have to use regular Java tags for anything that needs to be able to be rendered at design time.
    Oh well. Maybe I can write a Java tag implementation that somehow invokes a tag file and just write a simple wrapper taglib specifically for use within jDeveloper at design time.
    L.

  • JSP Design view not working in JDeveloper 10.1.3.3

    Hi,
    The problem I have is that my JSPs all throw a class not found error in design view when I load them. The problem is related to the useBean tag (see error example).
    Error exercising tag : jsp:useBean
    java.lang.Exception: java.lang.ClassNotFoundException: com......client.jsp.testclass
    The application is divided into a web project, an EJB project, and a server classes project. The JSPs are in the web project and the problem classes are in the server classes project. I'm limited to source view editing of JSPs due to this and the problem is only in the IDE, deployment of the code to the server is fine.
    Any suggestions would be appreciated.
    Kaitain

    I think they are but I could be mistaken, as the libraries list for the web project shows the server classes as a library.

  • Deploying a portlet to OAS 10.1.2 using JDeveloper

    Hi,
    Is it possible to deploy a portlet created in JDeveloper 10.1.3.2 to Oracle App Server 10.1.2. ?
    I created a simple portlet using the JDev 10.1.3.2 portlet wizard but when I went to deploy the portlet on Oracle App Server 10.1.2 using JDeveloper I get the following error message.
    (Earlier I had created a new server connection to my 10.1.2 server. I tested the connection to this server inside JDeveloper and there was no issues).
    Does anyone know what causes this issue ?
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    #### DCM command did not complete successfully (-1)
    #### HTTP return code was -1
    Exit status of DCM servlet client: -1
    Elapsed time for deployment: 12 seconds
    #### Deployment incomplete. #### 13-Mar-2007 12:45:44
    Following on from this, if the above error cannot be resolved does this mean that I can't develop portlets for Oracle Portal 10.1.4 and gain the extra functionality (ADF Faces etc...) using JDeveloper 10.1.3.2 ? It appears that 10.1.3.2 is tied into the WebCentre Framework which would require an additional license in order to use some of the components, or am I missing something ?
    Am I better off sticking with JDeveloper 10.1.2 to develop my portlets ?
    Thanks.

    To deploy portlet to Oracle application server.
    1.     Install Oracle database 10g (10.1.0.4.2 or later)
    2.     Install Oracle Application Server (10.1.2.0.2) Infrastructure.
    3.     Install Oracle Application Server (10.1.2.0.2) J2EE and Web Cache
    4.     Install Oracle Application Server (10.1.2.0.2) Portal and Wireless.
    5.     Upgrade Portal to 10.1.4
    6.     Configure Java WSRP Container in Middle Tier
    7.     Deploy a WSRP Portlet Application to Oracle Application Server.

  • Servlet and JSP in OAS

    I'm developing web application with OAS
    4.0.8.1 and JDeveloper 3.0 and I want to call
    JSP from servlet using "RequestDispatcher".
    I downloaded JSP for OAS from www.olab.com.
    In the Release note, there is a description
    about RequestDispatcher, but I cannot
    understand about details.
    In what configuration can I use servlet and
    JSP together with RequestDispatcher. Anyone
    scceeded about that?
    null

    wan (guest) wrote:
    : Hi everyone,
    : I am using OAS 4.0.8 on Solaris 2.6. After viewing servlet
    : and JSP samples, I am kind of confuse whether OAS supports the
    : following options
    : 1. JSP
    : 2. servlet chaining
    : 3. running JDeveloper DB Servlet wizard
    : (oracle.jdeveloper.servlet.*) and Java Business Objects
    : (oracle.jbo.rt.cs)
    : Thank you for your time.
    I found a white paper 408newfead.pdf, that says under "Future
    Directions" that it will add jsp support. I read somewhere (I
    can't remember where exactly :( ) that said 4.0.8.1 would
    support
    JSPs. I don't know if this release is out yet.
    I wish Oracle would get with the times and put out a product that
    is consistent with the technology they are touting as the
    future.
    Having us download Suns server to run servlets and JSP is
    ridiculous for the worlds second largest software company!
    null

  • How to call a jsp page from oaf and run in jDeveloper

    Hi all,
    I created sample jsp and then tried.
    String temp = "sample.jsp?";
    pageContext.setForwardURL(temp,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    It worked.
    But when i tried with one of the custom page that i downloaded from server it is giving error.
    But now i need to call that page.
    Its Code is given on below link:
    Re: how to call a jsp page from oaf
    Please help me to do this.
    Thanks in advance.
    Regards,
    Raj

    Raj,
    1. Hope you have placed the custom jsp page (which you have downloaded from server) under "jdevhome\jdev\myhtml\OA_HTML" directory ?
    2. Try to run the custom jsp page from Jdeveloper directly and check whether its working properly or not ?
    (i.e. add jsp page to any project in Jdeveloper then right click on jsp page and select Run xxx.jsp)
    3. If page errors out then custom jsp page seems require few parameters to run it successfully. Pass all requied parameters and test.
    4. There is no problem in the way you are calling jsp page from OAF page.
    regards,
    Anand

  • Using SQLJ from JSP in JDeveloper

    Hello,
    Has anyone succeeded in creating a JSP file by using SQLJ in JDeveloper 3.1 (Build 681)?
    In the whitepaper http://technet.oracle.com/docs/tech/java/servlets/jsp/whitepapers/jsp-oow99-paper.pdf
    it is stated that you can create an SQLJ-JSP by giving the JSP file the .sqljsp extension. This results in an "Fatal error: compiler internal error." in JDeveloper.
    In the same whitepaper, it is stated that you can also use the following JSP page directive to create an SQLJ-JSP page:
    "<%@ page language="sqlj" %>"
    This results in an "Error: (16) illegal character." error in JDeveloper at the mere sight of "#sql".
    Any help would be appreciated.
    Helgi

    Hi,
    there is something wrong with the code.
    I will update you when it is fixed
    (1352536)

  • JSP Preview Mode in JDeveloper 10g

    Is there a way to see a JSP page in preview mode within JDeveloper? Eclipse provides a plugin but I don't see that in JDeveloper, I can see the JSP page in design mode but not in preview mode. Isn't there a way Jdeveloper can preview the jsp page using some inbuild web server or using Jboss etc.

    You can just press run and you'll see the page in a browser window :-)

  • Bug JDeveloper 11g JSP

    A JSP does not get run in JDeveloper 11g.
    Error gets generated:
    Error initializing server: At least one valid code-source or import-shared-library element is required for shared-library "oracle.expression-evaluator:11.1.1" in //JDeveloper/system11.1.1.0.17.45.24/o.j2ee/embedded-oc4j/config/server.xml.

    JSP gets run if JDeveloper 11g is started with:
    jdev.exe -singleuser

  • OAS 4.0 + JDeveloper 3.2.3. Is it possible?

    Hallo, all.
    Can I use OAS 4.0 together with JDeveloper 3.2 (or 3.2.3)? Or OAS 4.0 is too old for that?
    Is there any documentation on that?
    Thanks,
    Elina

    I suspect you have a 2G iPod. Those can only go to iOS 4.2.1.
    Identifying iPod models
    iPod touch (3rd generation)
    iPod touch (3rd generation) features a 3.5-inch (diagonal) widescreen multi-touch display and 32 GB or 64 GB flash drive. You can browse the web with Safari and watch YouTube videos with Wi-Fi. You can also search, preview, and buy songs from the iTunes Wi-Fi Music Store on iPod touch.
    The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the device. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.
    A real 3G can go to iOS 5.1.1 and that requires iTunes version 10.5 or later on the computer.

  • HTTP 500 - Internal server error when trying to run simple HelloWorld.jsp

    Hello,
    I've searched the forum for a related issue and have not been able to resolve this error.
    I have created a simple HelloWorld.jsp and continue to receive the Internal server error. I have tried using the host as well as the ip address to access the jsp but neither of them solve the issue.
    JDev 10.1.3.2.0
    These are the settings that I have configured for the embedded oc4j server:
    HTTP: 8988
    RMI: 23891
    RMI-SSL: 24043
    IIOP: 5655
    IIOP-SSL: 5656
    JMS: 9227
    I also modified the proxy settings to use 8988 as well as the full host name.
    If I click on the IP home page it takes me to the OAS overview page but I get the same error if I try to launch the App server control or example jsp's.
    There are no messages in the log files.
    Any ideas?

    Hi,
    does the problem show when running thr JSP in the embedded OC4J in JDeveloper, or after deploying it to a stand alone OC4J or OracleAs?
    Frank

  • A JDeveloper Beginner question

    Hello all,
    I've just received JDeveloper + Oracle8i, and tried to test the bc4j sample located in its samples directory (the auctions sample).
    While compiling the jsps.jpr component, I got the following error:
    Error: (0) cannot access directory oracle\jbo\common\appmgr; verify that directory is reachable from classpath and/or sourcepath.
    What is JBO and how can I install it?
    Please be patient with me, as this world is really new to me :-).
    Thanks,
    Uri

    Hi..
    This #{bindings.Commit.execute} will commit whole Application module(AM).That means All altered ViewObjects in that AM will be committed.If you need to Commit a ViewObject you can do it in Application ModuleImpl.
    VO.getDBTransaction().commit();

  • Accessing JSP

    Can I Deploy and access only the JSP's which use business components in JDeveloper 3.2 for OAS 9i and Oracle 8.1.7?
    Can I Deploy and access the JSP which is a normal JSP which do not use these components? If so , How?
    Thanks,
    Regards.
    Bindu.
    null

    Yes, you can deploy 'vanilla' JSPs to the Oracle servers from JDeveloper. The process is similar to the one discussed for BC4J JSPs in the online helpsystem (Look for 'Deploying JSP Applications' under 'Packaging and Deploying'). Also, please refer to the server documentation for more details.
    Regards,
    Arun

Maybe you are looking for

  • Creating a Credit Memo in AR and Saving Causes Error Message

    Hi to All, When attempting to save a Credit Memo in AR, we get a generic error message: "An unexpected error has occurred. Please contact your system administrator" in credit transaction form. Ran a Diag on the AR transaction and we show no errors. L

  • How do I get a program to run inside flash

    How do I get a program on my harddrive to run inside flash on my computer? I would like to build a Flash front end for my boat pc, but I would need to be able able to open up a program inside a flash.exe? would a external .ini  File work? if so what

  • Poker game and videos stops playing any ideas?

    Hi, my trouble is that since i downloaded the lastest version, its bugging, when i play poker on facebook or when i play videos it lags big times. And on poker i lose chips because of that and its annoying!!!  I turned the acceleration to off too.  

  • Nikon D300 auto / manual focus metadata

    Hello, When viewing photos in my D300 (i.e. using the D300 to view photos I have just taken), I can see displayed whether the photo was taken using auto or manual focus. I have been unable to see this information after importing the photos from the c

  • Canvas & Viewer  displaying different Aspect Ratios

    Same footage. Original footage in viewer displaying in Letter Box in a 4:3 black area (and appearing much larger). Same footage from Timeline showing in Canvas as 16x9 black area (but not filling the entire canvas). Both are at 100%. I have tried to