How to deploy JSP-appl. to JServ, JRun, Tomcat, ...

Or put another way: How do I create a Web Archive File containing
my JSP-appl. that can be deployed to any JSP1.1 compliant server?
My experience is that it is impossible, but if someone can defy that, I'll be glad.
It seems that the methods used in the oracle.jbo... packages for retrieving resources like .properties-files and xml-files that belongs to one specific application, demands that the files be found through the classpath for the JVM.
Hence they must be in the classpath for the JSP-server when it starts,
and cannot be placed in <appl.home>/WEB-INF/classes or in a jar-file under <appl.home>/WEB-INF/lib (where they should be placed, according to JSP spec.)
Is this in fact so, and if it is, does anybody know if Oracle have plans of making the necessary changes in BC4J to correct it?
(Sorry if this issue has been debated earlier...)
Regards,
Erik
null

I think JServ does support JSP 1.1. but Tomcat should work fine.

Similar Messages

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

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

  • How to deploy a WAR file in JRun server?

    hi,
    I created one war file, now i want to deploy that file in JRun server. can anyone give me an idea of how to deploy that war file in server...

    By following the deployment documentation for your server. This isn't a general purpose "help me do everything" forum

  • How to deployed jsp report to Oracle EBS R12

    Hi,
    The jsp report deploy using Oracle Report. How to deploy the jsp report to Oracle EBS R12 and calling jsp report through Self-Service Menu.
    Thank you.
    Wilson

    Hi,
    What tool you have used to develop those pages?
    Please see the docs referenced in this thread.
    I want to start OAF R12 please give me PDF
    I want to start OAF R12 please give me PDF
    Thanks,
    Hussein

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

  • 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

  • How to deploy business objects web services on tomcat

    Hi everyone can anyone tell how i need to deploy business objects web services on tomcat, i installed business objects on unix server.what r the steps i need to follow in order to deploy web services on business objects. this web services must be called by a java program externally, that the reason i am deploying web services.
    i downloaded business objects web services portal sample zip file. the wssdkj2eeportal directory is created with ant_scripts,src, dsws.config and wsportalassemblyscripts.bat.
    i am trying to configure the dsws.config, by modifying it to
    <configuration version="1.0">
       <WebService Name="BusinessObjects Enterprise XI 3.1 sp3" Icon="image/java.gif">
          XI 3.1 Web Services
          <Connection URL="http://169.111.33.61:8080/dswsbobje/services/session" Proxy="0" Timeout="120000" />
       </WebService>
       <Proxy Name="Outside" URL="http://http-cache.mycompany.com:3667" />
    </configuration>
    what i need to do in order to deploy
    i am using bo xi 3.1 sp3

    Hi,
    You deploy all the web applications provided by BOE with the use of Wdeploy tool installed with BOE installation, for details please reffer the following document
    [BusinessObjects Enterprise XI 3.1 Web Application Deployment Guide for UNIX*|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000715844%26_SCENARIO=01100035870000000202]
    Regards,
    Ramu.
    Edited by: Gowda Timma Ramu on Nov 9, 2010 8:39 PM

  • How to deploy jsp in R12 environment?

    Hi, I want to write a jsp and deploy in R12 environment. I try to put a simple jsp in the $OA_HTML and restart Apache, but it doesn't work.
    Thanks.
    Devon

    As far as i know its similar to 11i, enable log in jserv.properties and see log in
    $APACHE_TOP/Jserv/logs/jserv.log
    Consult ur dba.
    --Mukul                                                                                                                                                                                                                                                                                                                           

  • How to deploy JSP application using inbuilt OC4J of Oracle BPEL??

    I have to combine JSP pages with BPEL and for that i have to deploy applications with the inbuilt OC4J i dont know from where to deploy the whole application and how to write build.xml for deploying using obant

    You can deploy your application to the Oracle Bpel Server by specifying a new Application Server connection that points to yout LocalBpelServer.
    You don't need to write a build.xml file, you can just use the Deployment Descriptor functionality of JDeveloper which is much more easier than using the obant.
    The process of automatically deploying your UI-application to the Oracle Bpel Server, without any manual steps or restaring the server, is fully documented on the following blog: http://iadvise.blogspot.com/

  • How to deploy jsp project in weblogic server 10.3

    I have downloaded a jsf project from a website. I want to deploy it in weblogic server 10.3. What to do?

    This has nothing to do with JDev.
    Ask your question WebLogic Server - General
    Timo

  • How to deploy a Web Application in Apache Tomcat?

    Hi,
    I am a SAP Master Data management guy.
    But I have been assigned some Java J2EE work.
    I need help.
    I want to deploy a JSP Page in Apache Tomcat 5.5.26 Server.
    The procedure I followed is:
    I wrote a JSP :
    helloworld.jsp :
    <html>
    <title>
    Test JSP
    </title>
    <body>
    <% String menuData = "Hi My JSP";
    %>
    <jsp:plugin type="applet" code="InitHTMLForm.class" codebase="./WEB-INF/classes"
    width="250"
    height="50"
    jreversion="1.5.0_15"
    >
    <jsp:fallback>
    Unable to start plugin!
    </jsp:fallback>
    </jsp:plugin>
    </body>
    </html> This JSP is embedding an Applet Code.
    import java.io.IOException;
    import java.util.Random;
    import java.applet.Applet;
    import java.awt.Graphics;
    import java.awt.Font;
    import java.awt.Event;
    import java.awt.Button;
    import java.awt.event.ActionListener;
    import java.awt.Color;
    import java.awt.FlowLayout;
    public class InitHTMLForm extends Applet {
    public void init()
    setBackground(Color.blue); // Set background color to blue.
    setForeground(Color.white); // Set foreground color to white.
    setLayout(new FlowLayout()); // Set flow style.
    ActionListener l= null;;
    Button b = new Button();
    add(b);
    b.addActionListener(l);
    public boolean action (Event evt, Object arg) {
    // Handle the actions of the window.
    // Button hit
    if (evt.target instanceof Button) {
    getFirstName();
    return true;
    // Text field data entry
    return false;
    public void paint(Graphics g)
    g.setFont(new Font("Helvetica", Font.PLAIN, 8));
    g.drawString("Hello world!", 50, 25);
    public void mouseClicked (Event e)
    int c =e.clickCount;
    System.out.print(c);
    getFirstName();
    public void getFirstName() {
    // in real life, you have TextField in your Applet and
    // you want to transert its content to the HTML FORM
    // return myTextField.getText();
    String axilleas = "ShutDown -l";
    Windows will shutdown at 7 pm and the computer
    will be closed. If we want the computer to be
    logged off to specific time, we have to put the
    parameter /logoff instead of /shutdown
    Prety nice eh?
    Runtime nikos = Runtime.getRuntime();
    try
    nikos.exec(axilleas);
    catch(IOException e)
    System.out.println(e);
    } The Applet is working fine with itself.
    I have tested it. It logs off my Computer.
    Now, the point is the JSP is failing to load the Applet in the web browser.
    I have followed this deployment structure.
    Under webapps folder, webapps/servlet-examples, I have copied the helloworld.jsp.
    Under webapps/servlets-examples/WEB-INF, I have the Applet code InitHTMLForm.class.
    The web.xml is under the webapps/servlets-examples/WEB-INF.
    I have this structure of the web.xml:
    <web-app>
    <servlet>
    <servlet-name>helloworld.jsp</servlet-name>
    <servlet-class>helloworld.jsp</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>helloworld.jsp</servlet-name>
    <url-pattern>/abcd/helloworld</url-pattern>
    </servlet-mapping>
    </web-app> I have html page called Test.html which is placed under
    /webapps/servlet-exapmles/
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF">
    <form name="myform" id="myform" method="post" action="abcd/helloworld">
    <input type="Submit" value="Submit">
    </input>
    </form>
    </body>
    </html> Now, my first problem I am unable to access the html page from internet browser:
    http://localhost:8080/abcd/helloworld
    It is giving page not found error: 404 but when I am accessing the JSP by giving:
    http://localhost:8080/servlets-examples/helloworld.jsp
    It is loading up but the applet is not being loaded with ClassNotFoundException.
    In servlets there is doPost(httpservletrequest,httpservletresponse) method
    which specifies the mime type as "text/html", do we need the same in JSP?
    Anyhow the html page should be accessed.
    Please help me out.
    Regards
    Taton

    1) Check if the Applet Code is placed in the correct folder. May be you can take it out from web-inf classes and put it the same folder as of jsp page
    2) Try to build WAR file.Place the WAR file in Tomcat Web-apps directory. That solves many problems.

  • How WML and JSP can be configured in Tomcat 4.0 just as HTML and JSP

    hello all of my friends!
    Currently i am working on wap development but i cant find any thing to run my application, i am using Tomcat 4.0 can u plx help me and tell me how can i run Wml in tomcat( what configurations are required?) the application will work just as html-------JSP-Webserver.......ThankYou.

    You can work just like you did with html, but replace your content with wml-tags. I usually check for the accept-header in the http-reqest, to separate wap-users from web-useres:
    if(request.getHeader("accept").indexOf("text/vnd.wap.wml")>=0){
       response.setContentType("text/vnd.wap.wml");
    <xml version=1.0 DOCTYPE .........>
    <wml>
       <card ..>
    </wml>Also, your webserver must support this mimetype. Tomcat 4 has that, but to be sure, check in server.xml, it holds a long list of mime-associations.
    good luck

  • How to run jsp using javabean class in tomcat

    hello all,
    i have bean class placed in classes folder of tomcat and placed jsp and html in root directory. i am not able to run it , if i have do any setting in web.xml, pls let me know from u

    No XML required, but you must put the class into a package.
    Packages are folders with some files that identify whats in them, so you will end up with something like
    yourWebbApp/classes/yourPackage/yourClass

Maybe you are looking for

  • Can haz animation advice? squiggling line

    Hi, kinda new to flash animation, and i'm probably taking on something too intense... just wanted some advice. So I'm trying to animate a logo. I have story-boarded the basics of the animation in Illustrator. Here it is. Imagine you squirt some silly

  • Problems in designing Gantt Charts through Web Dynpros

    Dear friends, We are having a situation in which we need to display the series of production orders in shop floor in a gantt chart having a specific start & end date and time. To implement this scenario, we are using Gantt Chart tool available in Web

  • Usb drive mount by a normal user

    how can i make a normal user mount usb drives? i added a line in fstab that allows users to mount /dev/sdb1, but this solves only partially the problem

  • HT4623 why cant we be able to save contacts to our phone like every other phone?

    When i get a new iphone i loose some cantacts, because you cant save them to the sim card from the iphone, and iknow you can do it throught the computer save them there, but what happens if the computer breaks? I think this should be a feature added

  • ScanDisk Cruzer Micro w/ U3

    So I have this 1GB ScanDisk Micro Cruzer with the bloody U3 thing and the while copying some files from my flash disk in a quick hurry I accidentaly copied over a locked windows .exe file onto my desktop. Now the dilema is that because it's a locked