JSP on 9ias?

Is it possible to write JSP with custom Javabeans on 9ias? If yes, how should I set up the classpath to the classes I create to be used with JSP? Where am I suppose to store the JSP? Do I need to download any additional things for the JSP?
Thanks

For JSP you don't need to install anything else.9i AS will be enough to work with JSP.Notice that your JSP file must be loaded into
<ias_home>\apache\apache\htdocs
write the JSP commands into a notepad file and save as with the extension jsp and to your browser's URL write
http:\\<host_name>\<your jsp file>
I hope this helps to you.
Regards...

Similar Messages

  • Problems with jsp on 9iAS

    Hello
    I'm having trouble inserting rows in a table with a jsp page, I have many jsp pages that retrieves data from my tables,
    but when I make an insert page I have this error.
    oracle.jsp.provider.JspCompileException: Errores de compilacisn:d:\oracle\aplicaciones\pozos\_pages\_pozos\\_COMET.javad:\oracle\aplicaciones\pozos\_pages\_pozos\_COMET.java:171: Method encodeRedirectURL(java.lang.String) not found in interface javax.servlet.http.HttpServletResponse.
    response.sendRedirect(response.encodeRedirectURL("sel_consulta.html"));
    ^
    1 error
    In the server is installed the Oracle 9iAS with the apache engine.
    [email protected]

    Per the software download page for IAS...
    There is NO CERTIFIED IAS version for WIN 2000 yet.

  • Debug jsp on 9ias

    We need to debug a deployed jsp that uses java beans. It works fine in jdeveloper but we get null pointer exceptions when deployed and accessed via internet explorer. Strangely, it seems not to happen when we use netscape.
    The jsp/java beans app is in jdevleoper 9.0.3.1 (windows 2000).
    I have deployed the application to Oracle 9ias java edition (9.0.3) on Red Hat Linux.
    I know how to modify the project settings in jdeveloper for remote debugging.
    I have set the oc4j_home oc4j container properties to "debug mode" and "emit debug info" on 9ias server through the enterprise manager web site.
    when I start debug mode in jdeveloper I am prompted for the host name and port number for the remote debug session. What port do I use ? Do I need to do something to start 9ias at a certain port ?
    Jgalt

    Try this JavaOne presentation:
    http://servlet.java.sun.com/javaone/javaone2000/event.jsp?eventId=1569&trackId=7&eventType=TS&ts=1025021896743
    Starting at slide 12, there are technical details on configuring Apache/JServ for remote debugging of JSPs. If you want to use JDev9i for debugging Apache/JServ, you'll need to substitute updated jars for the jars that are shown in the slides.

  • How to deploy BC4J JSP to 9iAS

    I got a JSP error below when executing a JSP page in my BC4J JSP application. I deployed the WAR file created by JDeveloper 9.0.3 to 9iAS 9.0.3 using the Enterprise Manager. I also installed the BC4J Framework into the 9iAS.
    The Servlets and HTML files are working but JSP. What did I do wrong? Thank you.
    Request URI:/Registration/ApprovedPersonnelView1_Query.jsp
    Exception:
    java.io.FileNotFoundException: d:\ora9ias\apache\apache\htdocs\Registration\ApprovedPersonnelView1_Query.jsp (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.(FileInputStream.java:59)
         at oracle.jsp.provider.JspFilesystemResource.fromStream(JspFilesystemResource.java:174)
         at oracle.jsp.provider.JspFilesystemResource.fromReader(JspFilesystemResource.java:190)
         at oracle.jsp.app.JspAppLoader.fromReader(JspAppLoader.java:2129)
         at oracle.jsp.app.JspAppLoader.reloadPage(JspAppLoader.java:1339)
         at oracle.jsp.app.JspAppLoader.loadPage(JspAppLoader.java:1230)
         at oracle.jsp.app.JspAppLoader.getPage(JspAppLoader.java:886)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:408)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:285)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:204)
         at oracle.jsp.JspServlet.service(JspServlet.java:174)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:500)
         at org.apache.jserv.JServConnection.run(JServConnection.java:321)
         at java.lang.Thread.run(Thread.java:479)

    I got the same error when testing JSP demo after installed 9iAS. Maybe this is not the problem with deployment. Do you have any idea what could be wrong? Thanks.

  • Help with Internationalization using JSP in 9ias

    Hi i have problem running following JSP file in OC4J
    when i run same JSP in Tomcat i can see my String in Arabic
    but its not the case with OC4J.
    I even tried to set the content using
    response object
    <% response.setHeader("Content-Type","text/html; charset=iso-8859-6");%>
    please adivse ...
    looking forward to hear from anyone.
    JSP file
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-6">
    </head>
    <html>
    <body>
    <table border="1" width="400">
    <tr>
    <td><b>Date</b></td>
    </tr>
    <%
    String e = "GdaGcS";
    <tr>
    <td><%=e%></td>
    </tr>
    </table>
    </body>
    <html>

    What is the executable you are trying to debug? A DLL that is called from java?
    So your VC project is a DLL? (It's really hard to tell from your posts).
    If so, then suppose you have this folder structure:
    {dll_project_folder}
    {dll_project_folder}\debug\mylib.dll
    {java_project_folder}
    {java_project_folder}\MyJavaClass.class
    Then your VC project settings should be:
    Command : {java_root_folder}\bin\java.exe
    Command Arguments : -classpath {java_project_folder} MyJavaClass
    Working Directory : {dll_project_folder}\debug
    Regards

  • Deploying BC4J JSP app to 9iAS (via EJB?)

    Hello. Please help a newbie (new to Java, JDev, JSP, and 9iAS R2).
    I've just built my first BC4J JSP app in JDev, and I've even setup a remote DCM connection to my 9iAS R2 server.
    1. JDev release notes say that BC4J deployment from JDev to 9iAS R2 is not supported. Confusing. What is the best way to deploy this app?
    2. I've created an EJB .ear file in JDev 9.0.3 and deployed it using the EM from OC4J_home. It seemed to deploy okay, but I don't know how to find it via an http path (I know, sounds dumb). Do I need to include a port number? Do I still point to my JSP page, or do I point to a servlet? What would a sample path look like?
    3. Can you recommend a good book, something like "Oracle 9iAS and JSP Apps for Dummies?"
    Thanks in advance.
    -Tony.

    Hello - I've just asked one of the BC4J team to take a look at your questions, so please keep a lookout for a response.
    I am not super familiar with BC4J, but since it's deployed as a J2EE application it should work in the following way:
    When you deploy an EAR file which contains a Web application module, you have to tell the server what URL pattern it should use to know when to send the request to the Web application. The deployment screens in OEM prompt you to enter these URLs when the deployment is done.
    Once the deployment is complete (and assuming that you've not modified the HTTP server port) you should then be able to access the application using
    http://<server-host>:7777/<url>
    where <url> is the pattern you entered for the Web application during the deployment process.
    cheers
    -steve-

  • How to deploy JSP as EJB in Remote Mode

    Hello:
    I used JDeveloper and BC4J to create a JSP web site.
    When I was running the JSP creation wizard, there is a option let me to selete run the JSP at "Remote Mode" or "Local Mode".
    When I selected to run at "Local Mode", after I deloyed the JSP to 9iAS, it works fine.
    But when I selected to run at "Remote Mode" and deployed the application module as EJB session bean, there is a RunTimeException occurs, the error likes "The applicaiton module can not be instanced".
    I saw the JSP config file, it just a little different.
    In Local Mode:
    config name = XXXX.XXXXXX.XXXXXX.AppModuleLocal
    password = xxxxxx
    In Remote Mode:
    config name = XXXX.XXXXXX.XXXXXX.AppModuleEJB
    password = xxxxxx
    I read the web page about deploy JSP to 9iAS: http://technet.oracle.com/docs/products/jdev/technotes/JSP/Deployment.html
    but the page seems just show that deploy JSP in the local mode.
    Can you give me the complete procedure to deploy JSP application as EJB in Remote Mode?
    Thank you!

    HI Welcome to J2ee...
    I am also new to this...But i ll share my ideas with you...
    In EJB 3.0 No need of any Deployment Descriptors....
    And If you are using Eclipse You can Deploy(as jar) using Export in File tab...
    XDoclet is not mandatory...
    Gopal V

  • BC4J HTTP Container was timed out

    I encountered above error when running my BC4J/JSP/OC4J (9iAS
    1.0.2.2) applications, and my applications just hung there.

    I too have the same problem....

  • Error while running a report JSP in a war file from 9iAS server

    Hi,
    I've a web application archive file (war) which i m deploying to the web using OEM. The war file consists of many JSPs. Among those JSPs i have one Report JSP, which i m calling from another JSP which is like a parameter form for the report JSP. When i call the report JSP, it gave me the following error,
    javax.servlet.jsp.JspException: com.sun.corba.se.internal.iiop.ORB
    javax.servlet.jsp.JspException: com.sun.corba.se.internal.iiop.ORB
    at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:334)
    at FMCardExp.jspService(_FMCardExp.java:58)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
    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:523)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    The report tag in the report JSP is as follows,
    <rw:report id="report" parameters="server=repsvr&userid=scott/tiger@db">
    The report server is up and running and so is the database. This report JSP was generated from the reports builder and the opened in JDeveloper environment,in the war file project. It was then compiled and a war file was created. Surprisingly this report JSP works fine when i run my webapplication from the embedded OC4J instance for JDeveloper, but when i try to run it from the 9iAS server i get the above mentioned error. The deployment of the war file to the server is successful and the other JSPs work fine, only the reports JSP is not working. Do i need to have some settings for running the reports JSP, please advise.
    Thanks in advance
    Unmesh

    Can you please help me in deploying jdeveloper (9.0.3.1)war file to 9iAS release 1, when I try to run, none of the jsp's execute, I get java OutOf Memory error, I also think that there may be some version compatibility between jdev jdk and 9iAS jdk.
    Thanks,
    Kavitha

  • How to publish a JSP at the 9iAS R2

    Hi,
    I need to publish a JSP file at my server Oracle 9iAS R2. But, I haven't the knowledge to do this action.
    Can you help me with the steps to resolve this problem?
    Thanks.

    Check out Oracle JDeveloper for some wizards that will let you deploy the JSP to Oracle Application Server.
    See the online help.
    Or check out the library at http://otn.oracle.com/documentation/ias.html
    specifically "Support for JavaServer Pages Developer's Guide" chapter 7.

  • 9iAS: JSP: contentType BUG

    this is a very simple JSP page, it cant run correctly on 9iAS 1.0.2.1 running on Windows NT or 2000.
    If you try to pass any parameter with caracterset except the default you will get rubbish.
    I tried to upgrade OracleJSP to the latest version from OTN (1.1.2.0.0), but I get the same problem.
    I have a real big application developed with JDeveloper 3.2 using BC4J and DataTags, I found the same problem in all pages. Have I drop 9iAS as a deployment environment, all drop my all application ?????
    I need a solution very very urgent!
    <%@ page language="java" contentType="text/html;charset=WINDOWS-1256" %>
    <HTML>
    <HEAD>
    <TITLE>
    Hello User
    </TITLE>
    </HEAD>
    <BODY>
    <%
    String name = request.getParameter("newName");
    if ( name!= null ) { %>
    <H3>Welcome <%= name %></H3>
    <% } %>
    Enter your Name:
    <FORM METHOD=get>
    <INPUT TYPE=TEXT name=newName size = 20>
    <INPUT TYPE=SUBMIT VALUE="Submit name">
    </FORM>
    </BODY>
    </HTML>

    I found that the code is not cleare , her is again with [ ] replaced < >
    [%@ page language="java" contentType="text/html;charset=WINDOWS-1256" %]
    [HTML]
    [HEAD]
    [TITLE]
    Hello User
    [TITLE]
    [HEAD]
    [BODY]
    String name = request.getParameter("newName");
    if ( name!= null ) { %]
    [H3]Welcome [%= name %][H3]
    [P]
    Enter your Name:
    [FORM METHOD=get]
    [INPUT TYPE=TEXT name=newName size = 20][br]
    [INPUT TYPE=SUBMIT VALUE="Submit name"]
    [FORM]
    [BODY]
    [HTML]
    null

  • 9iAs 9.0.3 unable to process JSP. HELP !!!!

    Hi,
    I recently installed Oracle 9iAS 9.0.3 on my windows 2000 server. The installation went seccussfully and I could access all the sample pages that came with the server.
    However, when I deploy my application to 9iAS and tries to call the JSP page I get a 500 internal server error. Here is the exception shown in the log file.
    Servlet error: Error instantiating servlet 'jsp' (servlet class not found, make sure it exists at C:\oracle\ora903\j2ee\oil\applications\ilearning\ilearn/WEB-INF/classes/oracle/jsp/runtimev2/JspServlet.class, in a jar in C:\oracle\ora903\j2ee\oil\applications\ilearning\ilearn/WEB-INF/lib/, in an orion-web.xml specified classpath or global server classpath)
    Doe anyone know what is causing this and the solution to this?
    Thanks.

    Try putting servlet.jar in your WEB-INF/lib and running it again...
    normally the ojsp is responseible for translation of JSP pages

  • JSP session lost - Oracle 9iAS 1.0.2.1

    I have a JSP application running under Oracle 9iAS 1.0.2.1 on a Windows 2000 server.
    Upon successful login to the application, a new browser window is opened for the application and the parent browser is redirected to a benign static HTML page. The new browser window allows us to present the illusion of a captive application - the 'application' browser window is not resizable and does not have a tool bars.
    The login jsp creates several session scope objects. These session scope objects are used by the core application jsps interfaced through the application browser.
    In the test enviroment the application functions as expected.
    In the production environment sessions appear to terminate immediately following login. All session scope objects are null in the jsp page - mainMenu.jsp - that serves as the application entry point in the new browser window. Application scope objects are not null in this initial jsp. Upon a subsequent access to login.jsp, the application_onStart event is triggered, followed by a session_onStart event and the failure of mainMenu.jsp due to null session scoped objects. My initial thought was that that this is a cookie problem...client browser not accepting cookies but was not the case.
    Any ideas on how to diagnose this problem would be greatly appreciated.

    I am having a similar problem. When I use a session-scoped bean to retain user info from page to page, the session bean appears to be re-instantiated at each page.
    An earlier attempt used session.set/getAttribute to store the same info. This one worked in the development environment (Jdev), but not when deployed on the App Server.
    Was your issue resolved? Is it related to different versions of the container being in place (as is hinted at in related posts)?
    thanks,
    Lyn

  • Jsp Error when running graph reports on 9ias server

    i getting the following message error when running a graph jsp report on my company unix 9ias server:
    org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
         at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:79)
         at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:147)
         at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:196)
         at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:365)
         at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java:493)
         at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:356)
         at oracle.reports.engine._EngineReportStub.doneReport(_EngineReportStub.java:36)
         at oracle.reports.definition.RWJspProxy.doneReport(RWJspProxy.java:261)
         at oracle.reports.definition.RWReport.done(RWReport.java:1087)
         at oracle.reports.jsp.ReportTag.release(ReportTag.java:398)
         at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandler0(OracleJspRuntime.java:1109)
         at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1213)
         at afpdrep.crystal._flip._flip1._jspService(_flip1.java:687)
         [SRC:/afpdrep/crystal/flip/flip1.jsp]
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         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:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Thanks for any help in advance.

    Hi Simon,
    Looking at the exception, it seems the machine is so slow that it could not give enough time for the report engines to start up can also result in this exception.
    Please try the following :
    Increase the callbacktimeout parameter for the report server. In server conf file that increase the callbacktimeout parameter for the report server from 1 minute (60000 milliseconds) to 3 minutes(180000 milliseconds)
    Thanks,
    Vinod.

  • BC4j/JSP Application not responding after some time - when deployed on 9ias

    Hi,
    We are using BC4j/jsp application on 9ias. The application is not responding
    after some time. We have installed 9ias on PIII(384MB RAM). We tried to accesses
    with 10 users, and server is not responding to BC4J/JSP application.
    However the server could able to publish the JSP pages with standerad JDBC code even after that.
    many many thanks in advance
    null

    When the application deployed by BC4J/JSP not responding, does the sample JSP application still works? i.e. does any other application respond? Does 1 user respond? Is the database source (JDBC), running Oracle 8.1.7? What is the platform running the database (e.g. local NT database)?

Maybe you are looking for

  • Indesign cs5.5 server (service) giving error while including .indd document

    Hi all, When I try to include the .indd document in book  and try to genarate pdf using indesign cs5.5  server sevice  it gives following error: ( note : but when i am using command line(.bat ) file it is including .indd document without locking) Err

  • New laptop with windows.8.1 and i am unable to download itunes can you help, ps in idiot proof language thks

    I have purchased new lap top and downloaded windows.8..1 but i am unable to download itunes, it keeps coming up as unsucessful. I am a bit thick when it comes to technology so any step by step insturctions would be good. Please help thanks

  • How do I create a playable DVD from camcorder footage?

    Hi, almost total newbie here. My problem is that I'm wanting to create a playable DVD from a video I've made, but all my burns so far have resulted in DVDs which will play back on the iMAC they're created on, but not on my iBook G3. This is a worry,

  • Interactive Report Sub-total and total

    Hi friends, I have an employee interactive report with group by job name and also showing the salary sub-total for each and every job(group by). I have an requirement like to highlight the sub-total for each and every job with a background color so t

  • Saving a frame as a photo?

    Is this the best way to do it? Playhead over frame then select Share>Save Current Frame etc. The resulting photo needs deinterlacing in Photoshop. Is there any way of deinterlacing it in FCP X to save opening PS?