How to execute a simple JSP application in Oracle 9iAs WE?

Hi,
How to execute a simple JSP application in Oracle 9iAs WE?
Thanks
Anupama

Please "Preview" your future posts. Your formatting is awful. Especially learn to use the [ code ] tags.
Are you sure DateTime.Now.ToString() returns a string in the format of 'MM/DD/YYYY HH:MI:SS.FF3'?
Fix that and if you still having the problems, debug the actual result of your string.Format() and post that.

Similar Messages

  • Deployment of simple jsp application in Oracle 10g AS

    Hi All,
    This is a critical issue. We have a JSP application which uses the plain old java objects to esltabilsh database connection and same old java objects to perform the business logic.
    All java file are packed in a jar file and all jsp's and other files(GIF,CSS etc) are copied to a folder.
    So what should be the steps to deploy this application to the Oracle 10g Application server.

    Thanks for the update.
    But application is already developed and is Runing in the 9i As and now we have to deploy it to the 10g server.
    Some steps that i am following to deploy the application are:-
    Steps for the deploying the A+ Web portal in OUGD
    1)Copy the “aplus” folder(containing related jsps,css and gif files) and aplus.jar file to
    “<<ORA-HOME>>/iAS/Apache/Jserv”
    2)     Go to the following file
    "<<ORA-HOME>>/iAS/Apache/Jserv/etc/jserv.properties” and add the following lines,
    #APlus
    wrapper.classpath=<<ORA-HOME>>/iAS/Apache/Jserv/aplus
    wrapper.classpath=<<ORA-HOME>>/iAS/Apache/Jserv/aplus.jar
    #APLUS CONFIGURATION
    wrapper.bin.parameters=-DWV_GATEWAY_CFG=<<ORAHOME>>/iAS/Apache/modplsql/cfg/wdbsvr.app
    3)     Go to the following file
    “<<ORA-HOME>>/iAS/Apache/Jserv/etc/zone.properties” and add the
    following lines
    Append the following line to “repositories=”
    <<ORA-HOME>>/iAS/Apache/Jserv/aplus,
    <<ORA-HOME>>/iAS/Apache/Jserv/aplus.jar
    4)     Go the following file
    “<<ORA-HOME>>/iAS/Apache/Apache/conf/apps.conf” and add the following lines
    Alias /aplus/ "<<ORA-HOME>>/iAS/Apache/Jserv/"
    <Directory "<<ORA-HOME>>/iAS/Apache/Jserv">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    but following this steps i am not getting the result.
    Reagrds,
    Vikram

  • How to run the simple jsp on oracle 9ias application server?

    hi,
    how to run the simple jsp application jst disply the date on oracle 9ias application server?
    can any expline the steps how to do it?
    thanks
    pullareddy

    No, you need the Reports Server (as part of the Application Server or Weblogic, depending on your version).
    I try to save the report, it's saved as .jspThat depends. You can save it as a .rdf file too (so called Paper Layout). I think this option is used more often.

  • Simple JSP application on Ora9ias rel2

    Hi!
    I have installed Oracle9ias rel2 on Windows2000, and I want to run simple .jsp application. My first idea was to copy .jsp file into <ias home>/Apache/Apache/htdocs/test/test.jsp , and run it with http://<ias url>/test/test.jsp. But this was bad idea, since file is shown as .html file, and .jsp is not run on server. This aproach was working in previous release of Oracle9IAS.
    So, my question is : How to run simple .jsp application (not J2EE) on Oracle9IAS rel2? Do i have to manualy change .conf files of apache? Which files? (I know how to do this by hand, but I would like to know Oracle recomended procedure)
    BTW. new IAS is killing my server (PIII 800 MHz, 512 MB RAM) and this is Application server only (Infrastructure is on other machine). Don't try it on anything less then 1Gb of RAM.

    By default, JServ is disabled in Oracle9iAS Release 2. For more information you should check on the J2EE forum.
    Ashesh Parekh
    Oracle9iAS Product Management

  • Integrating a jsp application with oracle workflow

    Hi,
    I would like to integrate a jsp application with oracle workflow.
    My jsp application use BC4J, and if i want to use the java
    interface of workflow i need to have the java.Sql.Connection of
    my application.
    There are a way of getting this Connection in the BC4J?
    thanks
    rjc

    You can check the source code at:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/text.920/a96517/acase.htm#632511
    You can also use the JDeveloper wizards that can generate JSP code. You can download them from: http://otn.oracle.com/products/text/
    and then click on software (left frame).

  • Migrating existing Developer 6.0 application to Oracle 9iAS

    Hi everybody.
    I am using HP-UX 10.2 (Unix) as my OS for running Oracle 8.0.2. All my application users are in Windows 98 using Developer 2000. Now my concern is I want to bring in an application server (Oracle 9iAS) and make all the users use this application server keeping my DB as it is.
    What can be done to change all my forms and reports to Oracle 9iAS.
    Suggestions will be well appreciated
    Regards
    Shaji Chacko

    Hi,
    I had the same problem than you.Gina from Oracle told me than
    Developer is not compatible with Personal Oracle8 ( 8.0.3 or
    8.0.4) in a standalone environment. You can use Developer 6.0
    with Oracle Entreprise Edition 8.0.5 or any edition of Oracle 8i.
    If you have better solution please let me know
    Thanks in advance
    Francois Leroux
    Nam Ron (guest) wrote:
    : Hi,
    : I installed Developer 6.0 and Personel Oracle 8.0.4 under
    : diffence HOME, but I can make the connection from Developer to
    : Personel Oracle, any solution?
    : Thanks in advance
    null

  • JDev9i-Beta;How could I run two JSP applications in Jdev enviroment at the same time?

    Hi,
    I have two JSP applications located on different directories. I wanted to run both applications at the same time in Jdev enviroment. But the second one failed.
    More info:
    I successfully ran Application1, then minimized the browser and ran Application2, then again minimized the second browser. After I maximized the first browser(Application1) and tried to go thro pages, I received page not found. Because Jdev sat up the Class Path for the newer application(Application2) and looks for pages there. I believe thats why I could not run both at the same time. How could I get around of this?

    hi,
    can you provide more details on this. Are these jsp files part of the same project or different projects. I can not duplicate this issue. Please provide us more information.
    Thank you

  • How to execute again the JSP codes

    Dear Experts,
    I am having trouble to execute again the JSP codes in my abc.jsp page. The sequence of the codes are:
    [ JSP codes ]
    [ HTML codes]
    My JSP file is selecting from DB2 and display the results on the same page. The selecting is depending to the selection in the combo box and included the selection into the SQL statement.
    The problem is when I change the selection at the combo box, how can I refresh the page and fill in with the new results from database by selecting with the new keyword.

    You will have to do an onChange handler for the select box, that simply submits the form, and the action would be the current page.

  • How to create the simple EJB Applications.

    Hi
    I have asked about the what are the necessary softwares required for creating the Simple EJB Applications.
    I have
    Jdk 1.6,
    Netbeans 5.5,
    J2EE5 ,
    Apache Tomcat 5.5
    what are other necessary softwares?please tell me From where i get the source code samples?
    Please Tell me it is necessary for me..

    Hi U,
    Tomcat is only JSP/Servlet container -- no EJB support.
    Easiest is to download the Netbeans 6.1 bundle including Glassfish and JavaDB, thats all you need + JDK and Java EE of course.
    Glassfish has both web/JSP/Servlet-container and EJB-container, so Tomcat is not needed then.
    ( If for some reason you really want to use Tomcat, you can use it together with OpenEJB for example, to add EJB-support. )

  • How to send SMS from JSP application.

    Hi,
    I have created a web application using JSP for our Office internal use. I want to include the folowing option in our app.
    1) How to send SMS from the application to mobile.
    2) I don't want to use third party service (ex: SimpleWire). as the app is for internal purpose only.
    It will be helpful, if I get the complete procedure to implement it, as this is my first application.
    Thanks & Regards
    suresh.

    I am having problem with smslib. smslib is an enhanced version of jsmengine, I have compiled the program, there is no error but when I run it , the following error is found. Can you help? my email is [email protected]
    Exception in thread "main" java.lang.NoClassDefFoundError: CIncomingMessage (wrong name: org/smslib/CIn
    comingMessage)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)

  • HOW CAN I DEPLOY BC4J JSP APPLICATION ON REMOTE OC4J?

    Hi,
    I am using JDeveloper9iRC. I am trying to go through 'Oracle9i JDeveloper Reviewers Guide'. After having built business components and a JSP front-end I would like to deploy my application on remote OC4J (release 2). I started with the deployment of the middle-tier components as an EJB. It was a success, but I had to add the following line to application.xml file (because of JBO-28300: Piggyback read error):
    <library path="../../home/lib/bc4jdomorcl.jar" />
    I also deployed the JavaServer Pages as Web Module - WAR. When I am trying to access the web application in a browser
    (http://hostname:8888/j2eeapp-3JSP-context-root/
    OrdersView_BrowseEdit.jsp) I get an empty page. However, locally it works.
    It looks like something wrong was with 'datatags.jar' library.
    Is the following tag correct, if I have business components in different project than JSP:
    <jbo:ApplicationModule id="am" configname="bizlogic.BizlogicModule.BizlogicModuleLocal" releasemode="Stateful" />?
    I would be grateful for every advice.

    hy wang.
    to deploy a simple jsp-project create a deployment-profile (WAR-File) in this project. -->file-->new-->deployment-profiles-->war.
    now you need a connection to the oc4j where you want to put your files. this can be done in the system-navigation of jdev.
    you then can rightclick the <myapp>.deploy and deploy the project to a selected oc4j.
    don't forget to have a look at the jdev-help.
    hope this helps you for the first.

  • How can I config my jsp application run via port 80 or 443

    Hi All,
    I had jsp application, I deployed into Oracle Application Server 10g, when I test http://myhost.mydomain:7781/myapp then it is ok.
    Could you show me the way to config myapp run via default port 80 in Oracle As 10g. It is that if I input http://myhost.mydomain/ then it refrence to my jsp aplication.
    Thank All.
    Thanh.

    Thanh,
    check the $OracleAs_Midtier_Home/install/portlist.ini file for the ports that are configured for Oracle Application Server.
    If port 80 wasn't configured for the HTTP Listener then you will have to change the Application Server listener settings to make this work the way you want it.
    From the "Oracle Application Server 10g Administrator's Guide 10g (9.0.4) "
    Using the Application Server Control:
    Navigate to the Application Server home page and click Ports.
    On the Ports Page, locate the Oracle HTTP Server Listen port and click the icon in the Configure column.
    On the Server Properties Page, in the Listening Addresses and Ports section, enter the new port number in the Listening Port column. There may be more than one listening port listed. The only way to tell which is the non-SSL listening port is to choose the one with the old non-SSL listening port value.
    At the bottom of the page, click Apply.
    On the Confirmation Page, click No, you would not like to restart now.
    Using Manual Steps:
    Edit the following file:
    ORACLE_HOME/Apache/Apache/conf/httpd.conf
    Update the Listen directive with the new port number. Do not update the Port directive.
    There may be multiple Listen directives in this file. Modify the Listen directive that is not enclosed in an SSL virtual host container. The easiest way to locate the proper Listen directive is to search the file for the old listen port number.
    Save and close the file.
    Run the following command:
    dcmctl updateConfig -ct ohs
    Frank

  • Running JSP applications on Oracle iAS (release 1.0.0.0.0) on HP unix

    Does anyone know how to run JSP applications on iAS (1.0.0.0.0) on Unix ? I want to know where to put all the .jsp, .jar, .class, .gif, .html files and how to configure ? If someone knows of any document on Metalink please pass me the doc id asap.
    Thanks

    This will depend on what specific JSP features you are using - you could look at installing OC4J standalone (install into a separate directory as it will not impact any existing Oracle installation).

  • Running a BC4J JSP application for Oracle Lite on OC4J

    Hi,
    My BC4J JSP application is working with Oracle and Oracle Lite on Apache (Oracle 8i Personal Edition) and on Tomcat 3.2. The same BC4J's could be used from the BC4J Tester as well.
    But if I run the application on OC4J (standalone and embedded in JDeveloper 9i RC1 and RC2) using Oracle Lite, a Fatal Internal Error (or with JDK1.2 a NullPointerException) occurs.
    I think I found the reason:
    1. the Java Trigger in Oracle Lite and
    2. the Timestamp used in Oracle Lite instead of Date.
    My problem is, that I can't find any information about configuration of OC4J so that it could work with Oracle Lite as well as Apache and Tomcat.
    Claudia

    The tell tale sign that the application is communicating with the running cache server is the membership information that is logged. In your previous running of the example you would have "members=1" embedded in the logging. From the sounds of what you are doing, you'd expect this to be different as the application would be joining a running instance. Check out section 1.3 of this doc on the system you are using.
    http://download.oracle.com/docs/cd/E15357_01/coh.360/e15831/installcoh.htm#BABIHHFJ
    Cheers,
    Jay

  • 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

Maybe you are looking for

  • HTTP/Servlet problem

    Hi, This question may sound a little bit stupid but i 'm new with HTML and servlets... I am trying to do the following: I have a FORM: <FORM NAME=\"form\"> in which there is a button: <INPUT TYPE="BUTTON" NAME="searchSession" VALUE="Search" onClick="

  • Open one than more file from Lightroom to photoshop at the same time

    Hi, i'm a PS Elements-User and i have a question. Is it possible to open more than 1 file from lightroom into photoshop with one click? Thank you in advance for helping me. SH

  • Itunes doesn´t update the media information on my mp3 files

    I hjust moved all my media library to a "My book" external drive. I had to rebuild my entire library (throug shift + init itunes) but now I tunes is neither updating my library nor the multimedia information of my pm3 files. For example when i update

  • One calendar missing after Lion update

    I upgrated to Lion recently. Did not have an active Mobile Me account, though I did a trial of it a few years ago. I did go ahead and set up an iCloud account for iCal, Addresses, etc, but quickly got upset and confused when there was double everythi

  • Update Mastertable thru WF

    Hi Gurus, Is there any solution to update master table moving from custom table via workflow after complete all approvers. Regards, PS