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

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 and run  EJB in eclipse without XDoclet

    Hi Friends
    I am new in j2ee.In my academic project i want to do some ejb programming.
    For that purpose i want to write some ejb's.I have written all required class for ejb,created ejb-jar.xml file manually,weblogic .xml file manually. I am using weblogic8 as an server for deployment.
    I know deployment with xdoclet but i want to know hoe to deploy ejb without xdoclet.
    If u have saple code or useful link regarding this please send it as soon as possible.
    Thanks in advance
    How to deploy and run EJB in eclipse without XDoclet

    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 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 and run ejb

    I am new to jboss.How to deploy ejb in jboss and what is the configuration structure for jboss.
    Thanks in advance,
    Bala

    Once you have a ejb jar, copy it to $JBOSS_HOME/server/default/deploy, and it will be automatically deployed and started. You can then access the bean from stand alone java applications, servlet/jsp, aplication client, 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?

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

  • Urgent!!!!How to deploy only an EJB from Weblogic to oc4j.

    Hi
    How can i deploy only EJB from Weblogic into oc4j without any web application or client coming into pitcture as my client access bean remotely....
    regards,
    Sapthapathi

    If you are migrating from ejb1.1->ejb1.1 you shouldn't have many changes - your ejb-jar.xml file should be the same (I assume you are still talking about ejbs). Once you pull over the base ejb - then if you want to, mess around with the automatically generated orion-ejb-jar.xml file. Obviously - those are all app server specific. I go back and forth between wls6.1 and oc4j all the time. When going from wls5.1 to oc4j - what particular issues do you run into. What do you mean, in particular, by configuration changes?
    Curious -
    Ray
    hi,
    EJBs and other applications can be migrated from weblogic to oc4j but many changes are required.These changes are mainly configuration changes rather than code changes.Infact there are many problems in effect while migrating and delloyment.Hope oracle is a bit more attentive to this issue.
    regards,
    chennai

  • How to deploy a complex EJB application?

    Hi!
    I have 3 questions.
    1. Is it really possible to deploy complex EJB applications with Oracle 8.1.7 ( or 9i )?
    I mean, something like, for example, Sun's Java Pet Store. Because all examples that I've seen on Oracle's technet site contained not more that one enterprise bean.
    2. Am I allowed to use JDK1.3 when I develop
    applications that will run on Oracle JVM? When I compiled the "Customer" entity bean example having only JDK1.3 environment on my machine, the deployejb tool failed to deploy the bean. When I switched to JDK1.2.2 environment, the problem was solved ( I use Win2000 Professional OS )
    3. When will Oracle support Collection for finder methods return? It's so uggly, slowly and unpractical to work with Enumeration....
    Thanks a lot!

    OK. I know the Java 2 EE, and I work since 2 years with it. I know all the specifications, and API's. Of course I know that the XML files are deployment descriptors. In fact, the application that I want to deploy with Oracle App. Server was succesfully deployed an runned by me on Weblogic and on OrionServer. So I just wandered IF there is an example of a complex app deployment with Oracle App Server ( like, for exampe, BEA delivers it's App. Server with Java Pet Store deployed ), so that I can see how Oracle App. Server do O/R mapping and IF I am able to use their App Server for development purpouse also.
    Thanks a lot.

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

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

  • Deploy JSP/Servlet along with EJB

    how could deploy EJB with JSP/Servlet?.
    First i have
    package project.account
    1.HomeInterface class
    2.RemoteInterface class
    3.Bean class
    4.Client class
    I deployed the above bean in J2EE using Deploytool GUI.
    run the client like this
    java -classpath %CLASSPATH%;personDepClientClient.jar project.account.Client
    it displays result at prompt
    what i am asking is
    now i wrote JSP file which is kept also this project.account package
    i used the JSP file as client for the that bean.
    it is Show.jsp file(client file)
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="javax.naming.Context" %>
    <%@ page import="javax.naming.InitialContext" %>
    <%@ page import="javax.rmi.PortableRemoteObject" %>
    <%
         double balance;
    try
         Context initi = new InitialContext();
         Object ref = initi.lookup("AccountHome");
         AccountHome home = (AccountHome)javax.rmi.PortableRemoteObject.narrow(ref,AccountHome.class);
         AccountRemote vijay = home.create("200","vijay",0.00);
         vijay.credit(2000.0);
         vijay.debit(600);
         balance = vijay.getBalance();
    %>
         <tr>
    <td width="38%" height="31">
    </td>
    <td width="62%" height="31">
    <div align="center"><%= balance %></div>
    </td>
         </tr>
    <%
         AccountRemote kumar = home.create("199", "kumar", 0.00);
         kumar.credit(14000);
         AccountRemote xyz = home.findByPrimaryKey("199");
         xyz.debit(200.00);
         balance = xyz.getBalance();
    %>
         <tr>
    <td width="38%" height="31">
    </td>
    <td width="62%" height="31">
    <div align="center"><%= balance %></div>
    </td>
         </tr>
    <%}
    catch(Exception ex)
         System.err.println("Caught an exception." );
    ex.printStackTrace();
    %>
    after deployed this JSP file and executed as
    http://localhost:8000/project/person/Show.jsp
    it displays error as follows
    unable to find AccountRemote,AccountHome,findByPrimaryKey
    How could deploy JSP along with EJB?.
    pls any one tells steps to be followed while Deploying EJB/JSP.
    with thanks
    vijay

    Hmmmm...
    ssniazi does nothing but ask for contact information or recommend Oracle products.
    Based on this I consider it likely that this person is some sort of sales representative either directly or indirectly associated with Oracle.
    I personally wouldn't provide any contact information to this person. Nor would I accept any advice until this person starts to actually provide some solutions or at least correctly reveals any financial interests that they might have.

Maybe you are looking for