Deploying JSP to OAS

Hi,
I4ve developed an application using JSP. Now I wanna deploy it in OAS 8.4.0.1. I downloaded the patch for JSP, but I didn4t install yet because my oracle_home is not pointing to my installation of OAS. There was a previous installation of an OAS in the oracle home (version 4.0.4.3.0), so I installed the OAS 8.4.0.1 in another directory.
I4m using windows NT.
How can I change the oracle_home, so that I can install the patch? And does this pacth work?
Thanks in advance,
Mamra

OAS has a bug that causes all system.out output to be echoed to the http client's response output stream. You get this message only once becuase your application is registered the first time and subsequently this message is not displayed.

Similar Messages

  • Deploy JSP in OAS

    Hello,
    I have a JSP developed in JDeveloper to initiate a BPEL process, what I have read is that I have to deply the JSP using obant in the bpel server, can I deploy the jsp in the OAS server so I can run it there and start the BPEL process there? and if I can do that how can I do it?
    Thanks

    Hi! now we can help you better!
    First, you need to create a simple folder structure to make the deploy of the jsp. A jsp file should be part of a Web App, you can build an entire Web App but this is not the case.
    Go to this path ORACLE_HOME\bpel\samples\hw\worklistapp, this is the worklist application, you can use a folder structure like that, your jsp file should be in the public_html folder, but you need the application.xml, the build.xml and other files, you can copy the worklistapp folder and work in it, delete the files you will not use, like servlets, libraries. and go to this thread:
    Please Please Help with worklist in SOA Suite!
    in this thread is explained how to change the build.xml and the properties files to deploy the worklistapp, and is the same procedure for you, use the information you need, the build.xml edition, the edition of the properties files and the location of the libraries. the threads explain a lot of more things you will use when customizing the worklistapp!!!
    Use ant not obant, obant is deprecated.
    hope this help!
    best regards and blesses!

  • JSP on OAS 4.0.8.2

    I used Jdeveloper 3.2.2 to create a simple JSP application on BC4J components. But I am getting hard time deploying it on OAS 4.0.8.2. I even created a cartridge and stuff but I cannot run it. The main problem I get is no document that will walk me through how to set it up. Is there any documenation I can follow to get it to work? The one comes with OAS or Jdeveloper are kind of limited to its own or not complete enough to one to understand if they are beginers. Any suggestion?

    read the jdeveloper 3.2 release notes ...
    it isn't designed or certified to work with any oas version.
    as posted on the otn forums earlier no jdeveloper version is certified to work with oas 4.0.8.2 ...
    the only oracle products certfied as deployment targets for jdev 3..2.2 are :
    ias 9i
    rdbms 8.1.7

  • Error while deploying EJB on OAS 4.0.8.1

    I have installed OAS 4.0.8.1 on Windows NT 4.0 with Support Pack 6a. The java compiler used is from JDK 1.1.6 provided with OAS.
    The following error occurs while deploying EJB on OAS. The error is the same while deploying through the node manager or by using oasdeploy command line utility.
    java.lang.NoClassDefFound Error
    Code generation for
    D:\\orant\\ows\\upload\\425BrowserBean.jar failed!
    Creating registration files.....
    Unable to expand attribute Unable to load from C:\temp\src425\oasbae.properties
    Please let me know the possible causes for non deployment of the bean on OAS.
    null

    With JDev 3.1, we only support deployment to OAS 4.0.8.2.
    JDev 3.0 supported deployment to OAS 4.0.8.1.
    I believe most of this restriction is due to internal changes in OAS that we were only able to integrate with 3.1.

  • How To Deploy Jsp project in Weblogic 8.1

    Plz help me
    How To Deploy Jsp project in Weblogic 8.1
    Give me steps.

    Plz help me
    How To Deploy Jsp project in Weblogic 8.1
    Give me steps.(1) Create a standard WAR file that contains your JSPs.
    (2) Deploy to WebLogic by any number of means (e.g., Ant tasks, putting WAR file in application directory for your WL domain, etc.)
    %

  • How to deploy JSP's on tomcat 4.1

    i have XP machine.
    war command is not working on my machine,any thing i have to do to make it work?.
    jdk is working fine,and ANT is also working.
    but whan i run the command "ant install" i am getting error at build.xml 364 which is
    war="file://${build.home}"/>
    which is again a problem with war.
    is there any way to deploy JSP( just jsp for now) in tomcat
    thanks
    Narendra.

    thanks for the reply.
    i found out how to make .war files and i can able to deploy and run JSP files.
    with the help of this command
    jar cvf myApp.war Date.jsp
    do i have to specify the files name at the end of command ?. is there a way to make .WAR file with all subfolders and files?

  • 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 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

  • Deploy Servlet to OAS 4

    hiye guys,
    Need help here, development environment = Oracle Jdeveloper 3.1 try to deploy servlet to OAS 4 (remote) ....how can it be done ?
    I have tried deploy servlet locally ...OAS on my local machine and set physical path and so on ...thats easy
    what if my developers doesnt have OAS installed and my OAS is on Solaris ? they wanted to deploy servlets remotely from their machine to OAS @ solaris server ...
    needed help asap
    from
    kenneth

    Hi Kenneth,
    I'd recommend the developers simply deploy locally and copy the files over to your server.
    Have they tried this? Have you run into any problems?
    Is it a DBServlet? If so, have you seen the following documentation?:
    CHoose Help | Help Topics
    Then navigate to
    User Guides
    --Developing Applications
    ----Developing Web Applications
    ------Developing Java Servlets
    --------Deploying Java Servlets
    ----------Deploying a Database Servlet to OAS
    Hope this helps.
    Best,
    Avrom
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by kenken64:
    hiye guys,
    Need help here, development environment = Oracle Jdeveloper 3.1 try to deploy servlet to OAS 4 (remote) ....how can it be done ?
    I have tried deploy servlet locally ...OAS on my local machine and set physical path and so on ...thats easy
    what if my developers doesnt have OAS installed and my OAS is on Solaris ? they wanted to deploy servlets remotely from their machine to OAS @ solaris server ...
    needed help asap
    from
    kenneth<HR></BLOCKQUOTE>
    null

  • Step by step details to deploy jsp in weblogic

    Hi,
    can any one give me a step by step details to deploy jsp in weblogic 7..
    i am abs new to EJBs and weblogic...
    thnx
    sai.

    sai krishna wrote:
    Hi,
    can any one give me a step by step details to deploy jsp in weblogic 7..
    i am abs new to EJBs and weblogic...
    thnx
    sai.Sai if you are completely new to this on WLS I would recommend reading:
    http://edocs.bea.com/wls/docs70/programming/index.html
    Then Possibly:
    http://edocs.bea.com/wls/docs70/webapp/index.html &&
    http://edocs.bea.com/wls/docs70/jsp/index.html
    You can also find more programming information here:
    http://edocs.bea.com/wls/docs70/programming.html
    HTH
    ~Ryan

  • How to deploy jsp in Weblogic 7.0

    Hi,
    I would appreciate, if anyone can help me out.
    I'm new to weblogic.
    I have installed Weblogic in my system.[vers.7.0]
    i want to deploy my jsp file and run the jsp file.
    can anyone tell me where to deploy the jsp file and how to run it.
    do i need to create a war file to deploy jsp?
    can anyone tell the procedure in doing so...........................
    regds
    venkatraman.P

    use your console to create a web-app from the directory with the web-inf and your jsp. Hit deploy and it should work.
    War files are not necesary, for fast jsp development its even better to not use wars.

  • Modifying JSP in OAS installation

    .I am auto generating user id and password field and I need to hide these two field from user creation page.I modified JSP in OAS installation.I followed the following steps for doing
    this.
    1.Unpacked xlWebApp.war.
    2.Modified tiles/util/tjspGenerateCreateUserForm.jsp and packed the war file
    again.
    3.Placed the war file in /webapp folder.
    4.started patch_oc4j.cmd (oc4jadmin password) (database password).
    5.Build was successful.
    6.I checked exploded file in
    E:\oracle\oas\j2ee\home\applications\Xellerate\xlWebApp/tiles/util/tjspGenerateC
    reateUserForm.jsp.
    and I can see my modification there.
    7.I tried to access user creation page but it is still showing my old jsp with no
    modification.
    Please tell me what I am missing.I know for Jboss I need to comment out web.xml but I do not see jsp related section in above exploded web.xml .
    installation.
    Regards
    Nitesh

    Hi
    I am having exactly the same problem here but could not make it work even with cleaning precompiled folder before running the patch.
    What i did :
    1. Unpacked xlWebApp.war.
    2. Modified tiles/tjspViewUserDetailsTiles.jsp and packed the war file
    again.
    3. Placed the war file in /webapp folder.
    4. Stopped OIM services with "opmnctl shutdown"
    5. Placed war file into $APPSERVER/j2ee/home/applications/Xellerate
    6. DELETED EVERYTHING INSIDE "$XELLERATE_HOME/xellerate/webapp/precompiled" FOLDER.
    7. Started OIM services "opmnctl startall"
    8. I can see my modified jsp at $APPSERVER/j2ee/home/applications/Xellerate/xlWebApp/tiles/
    9. I started patch_oc4j.sh. Ended successfully.
    10. Now I can see my modified jsp file in $XELLERATE_HOME/xellerate/webapp/precompiled/jsp-temp/tiles folder also.
    11.I tried to access the page but it is still showing my old jsp with no modification.
    What in the name of god am I doing wrong???

  • How to deploy JSPs in Tomcat 5.5

    hello all
    i am Mayuresh Trivedi. i don't know how to Deploy Jsps in Tomcat 5.5. i m using MYSql as Backend. i m trying to use "import" command in Jsp so it shows me error like under :
    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
    Generated servlet error:
    Syntax error on token "import", delete this token
    Generated servlet error:
    Syntax error on token "import", delete this token
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs.
    so , can any body help me please ?

    hi
    first create a arbitrary folder in \webapp folder in tomcat home foder.
    for instance \webapp\myJSP
    second you must create a folder with this name : \WEB-INF under myJSP folder
    then make a web.xml in that
    so write in web.xml this :
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <description>
    myJSP
    </description>
    <display-name>JSP 2.0 Examples</display-name>

  • Does jsp in OAS 4.0.8.1 supports Multiple Language?

    Hi,
    I've tried using encoding=Big5 for chinese rendering but it throws an UnsupportedEncodingException. Any idea if jsp in OAS supports this?
    Thanks.
    regards,
    Hong Seng

    I don't know. However here is more information for you. JSP requires you specify the page encoding using the IANA character set names. Java APIs require its own (JSDK) character set names. To work correctly JSPs must map the IANA name to a JSDK name. OJSP uses the sun.io.CharacterEncoding CharacterEncoding.aliasName() method to translate. It is entirely possible this method doesn't support your mapping/name. I would suggest you write some code that runs outside of JSP to determine what mapping this method supports.

  • Why I cannot connect to database after deploying application to OAS?

    Hello experts...i have a new problem and here are the facts:
    I`m using on Windows Xp:
    Oracle Database 10.2.0
    Oracle Application Server 10.1.3
    Oracle Jdeveloper 10.1.3.3
    I`m creating a new application using jdeveloper and i`m using 2 connection classes:
    a) First connection class using:
    InitialContext ctx=new InitialContext();
    DataSource ds=ctx.lookup("jdbc/connDS");
    Connection conn=ds.getConnection();
    b) Second connection class using:
    Connection conn = DriverManager.getConnection("jdbc:and the entire link goes here");
    So far so good, but when I create a ear file using the First connection class and after i deploy it to OAS my application will not connect anymore to database!
    If I will use the Second connection class, and create an ear file then deploy it to OAS, my application works fine, it connects to database but i have a problem. In my application users can upload and download the files they uploaded. The files are saved in DB as blob. The problem appears when users are downloading the files because for example file "example.doc" is uploaded on the server database and when a user try to download it the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. Someone told me that happens because of my connection class... and I want to find out you`re opinion.
    Why i cann`t connect to DB after deploy the application on OAS using the FIRST connection class?
    - on Jdeveloper i can connect to DB using both of the connect classes (one at a time)
    - I`m creating a war file from jdeveloper and deploy the ear file on the OAS
    - on OAS i`ve created the connection pool and the data source and "The connection was establish succesfully"
    Why the uploaded files are downloaded in this way? it`s the connection the problem?
    - I want to tell you that when i`m extracting data from the DB table i`m not using a temp file, the conversion is made in the java class and the program throws me the file to download.
    - as i told you in Jdeveloper both of the connection classes work!!! and when i`m using the FIRST connection class and try to download, the files ARE DOWNLOADED PERFECTLY CORRECT!
    - if i`m using the SECOND connection class in jdeveloper, running the application on the built in oc4j instance and trying to download the same files, the files are DOWNLOADED BAD like I told you: the name of the file is like "example_doc" and my pc open it like an html in which is a server 500 error. with the pdf format is the same problem but my pc cannot open it telling something with "bad conversion...." error.
    There are someone who had the same problem?
    Theoretically i had to make the application to connect to the database after deploy it to OAS with the FIRST connection class and this way my files will be downloaded corectly... what to do?

    no one knows nothing about this issue? :(... i`m dissapointed...

Maybe you are looking for

  • Resizing variable size panel with JScrollPane

    I have a JPanel which contains four radio buttons. Selecting each of them opens another panel which are of different sizes. These panels open in the same parent panel below the radio button panel. However these panels contain large no of components.

  • How does lock/unlock/delete on my site host site collection work?

    Hi All, I need to lock/unlock/delete my site host site collection programmatically. Does lock/unlock/delete on my site host site collection  lock/unlock/delete my sites of users? Thanks, Moohak

  • Adobe PDF Converter problem

    My Adobe PDF Converter says it is out of paper, but I want to print to a file. What's wrong?

  • Unresponsive trackpad when switching user

    Hi. Every time I switch user, my trackpad doesn't respond. There are three accounts on my macbook, the admin and two others. In admin and one of the others the trackpad works fine, but when switching into the 3rd user, the trackpad doesn't respond at

  • Swapping computers using PCI-GPIB

    Dear Sir/Madam, I am currently running a 1998 PCI-GPIB card using Labview 6.i on a Windows 2000 machine. I want to transfer this card onto a machine running Labview 7.1 on Windows XP. Your drivers page indicates that this can be done with the NI-488.