Deployment for JSP Application on OAS 4.0.8.2

Hi,
I would appreciate, if someone could share its experience of deploying the JSP application which utilizes certain JavaClasses for database access and businesslogic.
My question is that do we need to add JSP files or .java files created under the myprojects directory. Also where do we place the java classes.
Also, do I need to get my classpath settings in the environment variables for JSP's to run. Because my WinNT crashed twice on changing the env settings.
Any help shall be appreciated
Thanks

Hi ,
As u had said in the previous mail... I also have lot of basic doubts. Let us share them..
What do u mean by a JSP cartridge... Should i download it or something...
Regards,
Ganesh R

Similar Messages

  • Issues with deploying BC4J/JSP applications on OC4J

    To everyone who's been having problems deploying BC4J/JSP applications to OC4J.
    We are aware that you're having problems deploying to OC4J, and we're working on them. OC4J was not available in time for us to add support for OC4J deployment to the JDeveloper 3.2.3 release. In addition there are some bugs in the first release of OC4J that have an impact on BC4J applications. This note describes the issues, and how we plan to address them.
    Issue 1: Classpath problems
    People have been getting "class not found" or "properties file not found" errors when they try to run their JSP. The answer is to make sure that all relevant archives and your JSP's .properties file are in the OC4J classpath - there's a note addressing the .properties file problem at http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html. In general though, setting up the classpath can be tricky.
    Issue 2: JSP TAG NOT RELEASED ON END TAG. SAME TAG IS REUSED.
    This issue affects JSP pages whose behaviour relies on a tag instance being cleaned up as a result of release() being called.
    Your tag will not be released, and subsequent instances of the tag will reuse the first instance, rather than instantiating a new
    one.
    Issue 3:JSP SCRIPTABLE VARIABLE NULL
    A scriptable variable set in a tag cannot be accessed by a scriptlet. For example, this JSP code will throw a
    NullPointerException, because the scriptlet cannot access the value of resultRow:
    <jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
    <%
    session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
    %>Workaround: Add a line of code at the beginning of the scriptlet to explicitly get the variable's value from the page context, for
    example:
    <jbo:Row id="resultRow" action="CURRENT" datasource="customer_vo1" />
    <%
    resultRow = (oracle.jbo.Row)pageContext.findAttribute("resultRow");
    session.putValue("FIRSTNAME", resultRow.getAttribute("Firstname").toString());
    %>
    What we plan to do
    To address issue 1, we're currently testing a utility that installs the BC4J runtime libraries to OC4J, and provides a script to start OC4J with the correct classpath. We plan to post this by the end of this week, along with instructions for deploying a BC4J application to OC4J; deployment will be a lot simpler after running the utility.
    To address issues 2 and 3, we're working on a second utility that installs BC4J runtime and provides a fix to the JSP compiler. We plan to post this second utility by the end of next week.
    We do apologise for the problems you're having; please bear with us as we work on making it easier for you to deploy BC4J applications to OC4J.
    Thanks
    Blaise

    Hi, I have been trying desparately to deploy
    a simple example JDeveloper application for months and months.
    I HAVE NEVER BEEN SUCCESSFUL IN DEPLOYING ANYTHING.
    I don't know much about webservers and I am relying
    on the instructions from JDeveloper help and this website.
    I have already tried Apache, and WebLogic
    because there are instructions in the JDev help.
    No luck.
    Now I am trying to use OC4J on 9ias because there are instructions.
    I have read the instructions about how to install a BC4J
    app on OC4J about 25 times, but I can't get this thing to work.
    It works fine inside of JDeveloper.
    I create a BC4J project using the scott
    schema (just the dept and emp tables).
    Then I create an empty project for my JSP client.
    I choose JSP Application from the web
    objects and it connects to my BC4J project.
    As I say, when I run it in JDeveloper, there is no problem.
    In the instructions for installing BC4J
    in OC4J, it first says install JDev 3.2.3 and OC4J.
    This is done, and it tested fine.
    Then it says to install the deployment software.
    No problem.
    But when I deploy the app according to the instructions,
    it just hangs (like Rick Wang's program did).
    The main.jsp page loads and displays correctly,
    but when I click on the links to the DeptView.jsp
    or EmpView.jsp it just hangs.
    Here is the entire batch file I'm using
    to start OC4J: cd c:\oracle_9ias\j2ee\home
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\default-web-app\lib
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\classes
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\classes12.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\xmlparserv2.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jdev-rt.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbojdbcpatch.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\connectionmanager.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbohtml.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboimdomains.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordim817.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordvir817.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\ordhttp.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbomt.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodomorcl.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jboremote.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jndi.jar
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\jbodatum12.zip
    set CLASSPATH=%CLASSPATH%;c:\oracle_9ias\j2ee\home\lib\al_BC4J.jar
    java -cp C:\oracle_9ias\j2ee\home\orion.jar;%CLASSPATH%
    com.evermind.server.ApplicationServer
    pause
    The file al_BC4J.jar contains my application.properties file
    and my connections.properties file, as well as my business components.
    All of the files referenced in my classpath are
    present in my c:\oracle_9ias\j2ee\home\lib directory.
    I noticed that Raghu's classpath contains a file called jdev.jar
    So does the classpath of another fellow who says
    he was successful in deployment (his name is Jeffrey Jackson).
    I searched my JDev_3.2.3 for this file and found it nowhere.
    I also searched my OC4J home and my 9iAS for this file and
    found it nowhere.
    It is nowhere on my C:\.
    Is this file necessary?
    I will also try removing my application.properties file
    and my connections.properties file from my BC4J .jar file
    and put them in a separate .jar file at the root level (as Raghu did).
    However, Jeffery Jackson did not do this and says he was
    successfull in deployment.
    ***DO I NEED TO JAR UP ANY OF MY THE FILES FROM the JSP
    FOLDER IN JDevHome\myhtml???***
    ***or place them in the classpath?***
    I have read over all of the discussions at: http://technet.oracle.com:89/ubb/Forum2/HTML/008232.html
    and http://technet.oracle.com:89/ubb/Forum99/HTML/000028.html
    many, many times.
    Can anyone help me?

  • Deployment of JSP application developed using Jdeveloper

    Is it Possible to deploy/implement JSP Application developed using Jdeveloper and its Application Module, View object etc. , without using an Application Server, such has hosting at the ISP servers, but having Oracle as the back end ?

    Either you or your ISP will have to have a java enabled application server.

  • Application Deployment  for  JSPs

    Hi
    I have a web application using only JSP's
    The organization of the application is :
    MyApp
    |____ contains all JSP's and HTML
    |_WEB_INF
    | |______ Classes
    | | |__________ MyBeans - contains all classes and code.
    | |______Lib --- contains the jar files..
    |___images --- contains all the image files.
    There are no servlets in my application.
    My questions are
    1) Is this a good directory structure for an application containing JSP's
    2) Do I need a WEB.XML file for this application to deploy it ?
    3) What should be in the web.xml file.
    thanx
    deepak

    Thanx for the reply
    I have a couple of more questions.
    When I setup tomcat on my local computer,
    I removed the default context.....
    <Context path="" docBase="ROOT" debug="0"/>
    and created a context for my application .......
    <Context path="" docBase="myApp" debug="0" reloadable="true" />
    and I also changed the DocumentROOT of Apache server to point to MyApp Directory.
    This works well for my application on my local machine.
    The company I am trying to host my applicationwith , has provided my with my own tomcat instance and created a directory structure
    HTML
    |_____WEB_INF
    the problem is that if i use MyApp.war to deploy the app. IT creates
    HTML
    |____ MYAPP
    |_____WEB-INF
    |___Classes....
    and then it does not work if i do
    www.myapp.com/index.jsp coz index.jsp is now in MYApp folder.
    How can i solve this problem.
    my initial thought was to create a war file such that it does not create a directory myApp...... but i dunno if that is possible /
    any thoughts on this ?
    thanx a lot
    deepak

  • Specify initial page following mod_osso login for JSP application?

    I'm developing a JSP application that is stand-alone from Portal, but that is protected via mod_osso. (What's the proper term for this - its sort of a Partner application, really an External application, but not registered w/ Portal at all...) Following mod_osso validation, if the login page was brought up (ie, the user was not signed when the application page was requested), I'd like the user to be taken to a 'default' application page (where I can retrieve other user info from the db for use in subsequent pages of the app.) Is there a way to specify this w/ mod_osso? (ie, after login, take user to a specific page.) I could put a flag in the session, check it on each page (ie, Boolean hasVisitedHomePage or such), then redirect to the home page if its false, but would rather not do this if there is a smarter method.
    Thanks,
    Jim

    Following are the steps to use SSO with an J2EE application:
    Steps to enable SSO/OID user authentication to your J2EE application
    1)     Deploy your apps to Oracle9iAS mid-tier instance e.g. mid-tier-host
    2)     Connect to your SSO server in your infrastructure host as follows:
    http://inf-host:<port>/pls/orasso/orasso.home and
    Login as orcladmin. The default password should be same as your IAS_ADMIN password
    3)     Click on SSO Server Administration and then Administer Partner Applications
    4)     Click on Add Partner application
    5)     Enter the following information for your environment and click on Apply:
    Home URL: http://inf-host:<port>/osso_login_success
    Success URL: Home Page for URL for your apps which you want to secure
    Logout URL: http:// inf-host :<port>/osso_logout_success
    6)     Logon to EMWebsite for the Mid-tier Oracle9iAS Instance
    Select the HTTP Server -> Advanced Properties -> mod_osso.conf and add the following. Please make appropriate change for your environment
    <Location /context-to-secure >
    AuthType Basic
    require valid-user
    </Location>
    And then restart HTTP Server
    7)     Now when you access your apps, the logon screen will appear
    hope this helps
    Debu

  • Error after deploying a JSP Application developed with jdeveloper

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through the oracle http server included in
    Oracle Enterpride Edition 8.1.7
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Of course I know ,this file should be deployed as well. I have done this.
    Any ideas what's wrong ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    Yep, I had the same problem deploying from JDeveloper 9.3.1, followed:
    http://www.oracle.com/technology/products/jdev/howtos/10g/adf_runtime_update_howto.html
    and it works! thanks for the clue! (now I only have to find out what ADF is now!)
    Carlos.

  • How to deploy my forms application within OAS 10.1.3.2.0

    Dear all,
    I cannot find the web service in OAS 10g release 10.1.3.2.0, so how to deploy those oracle forms application within OAS 10.1.3.2.0.
    Thanks for anyone help to give the answer!

    Hi Grant,
    I have been hearing since quite some time now that slowly Oracle is shifting its focus towards J2EE and Java based technologies and there are plans also to make Forms obsolete in future.
    What is your comment on this?
    Thanks and Regards
    Amit Trivedi

  • Error trying to deploy a jsp application in a cluster

              Iam getting the following error when I tried deploy my jsp app. in a cluster with
              two servers(one administrative and one managed). I have no problem with the administrative
              server. But the managed server through this exception. The message saying web.xml
              is not found doesn't make much sense because
              1. The first server could find it.
              2. I could open the temporary war file created by weblogic and examined the web.xml
              file
              Could not find Web application "D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete_myserver2\wl_local_comp31497.war">
              java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in jar file
                   at weblogic.servlet.internal.dd.DescriptorLoader.getInputSource(DescriptorLoader.java:206)
                   at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:177)
                   at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
                   at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
                   at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
                   at weblogic.j2ee.Application.addComponent(Application.java:126)
                   at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:283)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:109)
                   at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy22.addWebDeployment(Unknown Source)
                   at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:985)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:269)
                   at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:233)
                   at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:194)
                   at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:158)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy0.updateDeployments(Unknown Source)
                   at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
                   at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
                   at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
                   at java.lang.reflect.Method.invoke(Native Method)
                   at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
                   at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
                   at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
                   at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
                   at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
                   at $Proxy8.start(Unknown Source)
                   at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
                   at weblogic.management.Admin.startApplicationManager(Admin.java:1030)
                   at weblogic.management.Admin.finish(Admin.java:491)
                   at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
                   at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
                   at weblogic.Server.main(Server.java:35)
              Any ideas ?
              Thanks,
              Ravi
              

              Ravi wrote:
              > Hello Viresh,
              >
              > The application Iam trying to deploy is not in the ear form. It is in the exploded
              > form. It works fine on the administrative server where it is physically located.
              > The problem is only with the second server. I have noticed that the entire directory
              > on the application is being compressed to a .war file and uploaded to the other
              > server in the cluster.
              That's true. Several customers have asked to keep the deployment in it's original form instead of compressing
              it in .war file. Currently there's a known issue with engg.
              > I even examined the WEB-INF/web.xml file it is complaining
              > about. But I couldn't find any error. This doesn't happen with the sample applications
              > that came with weblogic.
              I followed the sequence you described and tried to deploy the webapp on managed servers. I do not get the errors
              that you are seeing below. Could you tell us how are you deploying the webapp on managed server?
              Also would you mind sending your webapp? i will see if i can deploy your webapp in my environment..
              BTW, is this with SP1 or without SP1?
              Kumar
              >
              >
              > Thank you for your post,
              > Ravi.
              >
              > Viresh Garg <[email protected]> wrote:
              > >
              > >Ravi:
              > >A few questions:
              > >1. Are you trying to deploy an archive or an exploaded application.
              > >2. Are you trying to deploy a web application as an enterprise application
              > >of the WAR file part of an enterprise archive(.ear)?
              > >3. Are you deploying the application from applications directory, if
              > >Yes, remove it from applications directory, create a new web application
              > >in any other directory, define the correct application/component Admin
              > >mbeans and then choose targets ( you can do it via console too) and
              > >see
              > >if you run into same problems
              > >
              > >Thanks
              > >Viresh Garg
              > >Principal Developer Relations Engineer
              > >BEA Systems
              > >Ravi wrote:
              > >
              > >> Iam getting the following error when I tried deploy my jsp app. in
              > >a cluster with
              > >> two servers(one administrative and one managed). I have no problem
              > >with the administrative
              > >> server. But the managed server through this exception. The message
              > >saying web.xml
              > >> is not found doesn't make much sense because
              > >> 1. The first server could find it.
              > >> 2. I could open the temporary war file created by weblogic and examined
              > >the web.xml
              > >> file
              > >>
              > >> Could not find Web application "D:\bea\wlserver6.0\.\config\mydomain\applications\.wl_temp_do_not_delete_myserver2\wl_local_comp31497.war">
              > >>
              > >> java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in
              > >jar file
              > >> at weblogic.servlet.internal.dd.DescriptorLoader.getInputSource(DescriptorLoader.java:206)
              > >> at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:177)
              > >> at weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:468)
              > >> at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
              > >> at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
              > >> at weblogic.j2ee.Application.addComponent(Application.java:126)
              > >> at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:283)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:109)
              > >> at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy22.addWebDeployment(Unknown Source)
              > >> at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:985)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:269)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:233)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:194)
              > >> at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:158)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy0.updateDeployments(Unknown Source)
              > >> at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
              > >> at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
              > >> at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
              > >> at java.lang.reflect.Method.invoke(Native Method)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
              > >> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
              > >> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
              > >> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
              > >> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)
              > >> at $Proxy8.start(Unknown Source)
              > >> at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
              > >> at weblogic.management.Admin.startApplicationManager(Admin.java:1030)
              > >> at weblogic.management.Admin.finish(Admin.java:491)
              > >> at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
              > >> at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
              > >> at weblogic.Server.main(Server.java:35)
              > >>
              > >> Any ideas ?
              > >> Thanks,
              > >> Ravi
              > >
              

  • Deploying a jsp application in OC4J

    Hi All,
    In 9iAS Release 2, can i run a jsp without deploying it on OC4J(i.e, without creating a war file, web.xml and deploying it using the Enterprise Manager deployment wizard). I need to know if there is any other way i can run a jsp. I assume that i dont need to "deploy" a JSP if i use jserv but i would want to stick onto OC4J.
    Regards,
    Sreedhar

    In R2, this is simple if your application contains plain JSPs http://<server>:7777/j2ee/simple.jsp will run each JSP and they can be called from each other by filename. If you are deploying an app with a Java archive, you may need to follow specific deployment instructions for the archive type.
    Note: If your configuration is different, replace '7777' with whatever port Apache is at.

  • Error deploying BC4J JSP-application to OC4J

    Hi!
    I am trying to deploy a typical default generated jsp - application based on default generated BC4J components (against a simple table in an oracle 8.1.7 database) to an external oc4j - service.
    The application runs without problems in the internal JDeveloper oc4j, but when I deploy it to an external oc4j service, I get the following error:
    ++++++++++++++++++++++++++++++++++++++++++++++++
    Error Message: JBO-30003: The application pool (mypackage1.Mypackage1Module.Mypackage1ModuleLocal) failed to checkout an application module due to the following exception:
    Error Message: JBO-25029: Data class (a domain?) {0} not found
    JBO-30003: The application pool (mypackage1.Mypackage1Module.Mypackage1ModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.domain.DataCreationException: JBO-25029: Data class (a domain?) {0} not found
         at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:152)
         at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:1922)
         at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2293)
         at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:2236)
    ## Detail 0 ##
    java.lang.ClassNotFoundException: oracle.jbo.domain.RowID
         at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:185)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:30)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:136)
         at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:148)
         at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:1922)
         at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2293)
    I am using JDeveloper 9.0.2 Production
    and oc4j 9.0.2.0.0
    Ketill

    Jump to the following link, read, and understand everything:
    Re: How to use the classes of ott generated in Visual c++
    Also, locate the C:\Jdev9i\BC4J\bin\bc4j2oc4j.bat file, make the necessary changes for the OC4J_HOME, JDEV_HOME, and JDK_HOME and run. This file should setup the BC4J libraries in your OC4J installation. Be sure your OC4J_HOME\j2ee\home\admin.jar is version compatible with the JDEV_HOME\j2ee\home\admin.jar.
    Arnold Angel
    [email protected]

  • Deploy BC4J/JSP applications on OC4J

    I am trying to deploy JDeveloper3.2 BC4J/JSP applications on OC4J. However, I have no lucky at all. My OC4J will hang when I tried to run my JSP applications.
    Does this only happen to me? Any suggestion will be appreciated.
    null

    I've followed the instructions in the "How TO Deploy a BC4J Application to an Oracle9iAS J2EE Container in Local Mode" again. The OC4J still hung. I turn on the -Djbo.debugoutput switch this time. I used the following line to startup the OC4J.
    java -Djbo.debugoutput=console -cp C:\oc4j\j2ee\home\orion.jar;
    C:\oc4j\j2ee\home\lib\classes12.jar;
    C:\JDev3.2_BC4Jlib\xmlparserv2.jar;
    C:\JDev3.2_BC4Jlib\jdev-rt.zip;
    C:\JDev3.2_BC4Jlib\jbojdbcpatch.zip;
    C:\JDev3.2_BC4Jlib\connectionmanager.zip;
    C:\JDev3.2_BC4Jlib\jbohtml.zip;
    C:\JDev3.2_BC4Jlib\jboimdomains.zip;
    C:\JDev3.2_BC4Jlib\ordim817.zip;
    C:\JDev3.2_BC4Jlib\ordvir817.zip;
    C:\JDev3.2_BC4Jlib\ordhttp.zip;
    C:\JDev3.2_BC4Jlib\jbomt.zip;
    C:\JDev3.2_BC4Jlib\jbodomorcl.zip;
    C:\JDev3.2_BC4Jlib\jboremote.zip;
    C:\JDev3.2_BC4Jlib\jndi.jar;
    C:\JDev3.2_BC4Jlib\jbodatum12.zip;
    C:\JDev3.2_BC4Jlib\;
    C:\JDev3.2_BC4Jlib\bc4j_scott.jar
    com.evermind.server.ApplicationServer
    I got the following message from my console:
    (The OC4J hung at [132]..)
    Loading from CLASSPATH bc4j_scott_bc4j_scott_Bc4j_scottModule.properties
    Diagnostics: Routing diagnostics to standard output (use -Djbo.debugoutput=silent to remove)
    Successfully loaded properties file using: getResourceAsStream("/oracle/jbo/common/Diagnostic.prop
    erties");
    [00] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [01] CommonMessageBundle (language base) being initialized
    [02] Stringmanager using default locale: 'null'
    [03] Creating a new pool instance
    [04] BC4JDeployPlatform: LOCAL
    [05] Propertymanager: searching for file and system based properties
    [06] {{ begin Loading BC4J properties
    [07] -----------------------------------------------------------
    [08] BC4J Property jbo.default.language='en' -->(MetaObjectManager) from System Default
    [09] BC4J Property jbo.default.country='US' -->(MetaObjectManager) from System Default
    [10] BC4J Property DeployPlatform='LOCAL' -->(SessionImpl) from Client Environment
    [11] Skipping empty Property ConnectionMode from System Default
    [12] Skipping empty Property HostName from System Default
    [13] Skipping empty Property ConnectionPort from System Default
    [14] Skipping empty Property ApplicationPath from System Default
    [15] Skipping empty Property java.naming.security.principal from System Default
    [16] Skipping empty Property java.naming.security.credentials from System Default
    [17] BC4J Property jbo.use.pers.coll='false' -->(SessionImpl) from System Default
    [18] BC4J Property jbo.pers.max.rows.per.node='70' -->(SessionImpl) from System Default
    [19] BC4J Property jbo.pers.max.active.nodes='10' -->(SessionImpl) from System Default
    [20] BC4J Property jbo.pcoll.mgr='oracle.jbo.pcoll.OraclePersistManager' -->(SessionImpl) from Sys
    tem Default
    [21] BC4J Property jbo.fetch.mode='AS.NEEDED' -->(MetaObjectManager) from System Default
    [22] Skipping empty Property JBODynamicObjectsPackage from System Default
    [23] BC4J Property MetaObjectContextFactory='oracle.jbo.server.xml.DefaultMomContextFactory' -->(M
    etaObjectManager) from /oracle/jbo/server/jboserver.properties resource
    [24] BC4J Property MetaObjectContext='oracle.jbo.server.xml.XMLContextImpl' -->(MetaObjectManager)
    from /oracle/jbo/server/jboserver.properties resource
    [25] BC4J Property java.naming.factory.initial='oracle.jbo.common.JboInitialContextFactory' -->(Se
    ssionImpl) from Client Environment
    [26] BC4J Property IsLazyLoadingTrue='true' -->(MetaObjectManager) from /oracle/jbo/server/jboserv
    er.properties resource
    [27] BC4J Property ActivateSharedDataHandle='false' -->(MetaObjectManager) from System Default
    [28] Skipping empty Property HandleName from System Default
    [29] Skipping empty Property Factory-Substitution-List from System Default
    [30] BC4J Property jbo.project='bc4j_scott' -->(MetaObjectManager) from Client Environment
    [31] BC4J Property jbo.max.cursors='50' -->(MetaObjectManager) from System Default
    [32] BC4J Property jbo.dofai lover='true' -->(MetaObjectManager) from System Default
    [33] BC4J Property jbo.doconnectionpooling='false' -->(MetaObjectManager) from System Default
    [34] BC4J Property jbo.recyclethreshold='10' -->(MetaObjectManager) from System Default
    [35] BC4J Property jbo.passivationstore='null' -->(MetaObjectManager) from System Default
    [36] BC4J Property RELEASE_MODE='Reserved' -->(MetaObjectManager) from System Default
    [37] BC4J Property jbo.maxpoolcookieage='-1' -->(MetaObjectManager) from System Default
    [38] Skipping empty Property PoolClassName from System Default
    [39] BC4J Property jbo.maxpoolsize='2147483647' -->(MetaObjectManager) from System Default
    [40] BC4J Property jbo.initpoolsize='0' -->(MetaObjectManager) from System Default
    [41] BC4J Property jbo.poolrequesttimeout='30000' -->(MetaObjectManager) from System Default
    [42] BC4J Property jbo.assoc.consistent='true' -->(MetaObjectManager) from System Default
    [43] BC4J Property jbo.SQLBuilder='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jboserve
    r.properties resource
    [44] BC4J Property jbo.ConnectionPoolManager='oracle.jbo.server.ConnectionPoolManagerImpl' -->(Met
    aObjectManager) from System Default
    [45] BC4J Property jbo.TypeMapEntries='Oracle' -->(MetaObjectManager) from /oracle/jbo/server/jbos
    erver.properties resource
    [46] BC4J Property jbo.jdbc.trace='false' -->(MetaObjectManager) from System Default
    [47] BC4J Property oracle.jbo.defineColumnLength='true' -->(MetaObjectManager) from System Default
    [48] Skipping empty Property jbo.tmpdir from System Default
    [49] Skipping empty Property jbo.server.internal_connection from System Default
    [50] Skipping empty Property SessionClass from System Default
    [51] Skipping empty Property TransactionFactory from System Default
    [52] BC4J Property jbo.debugoutput='console' -->(Diagnostic) from System Property
    [53] BC4J Property jbo.debug.prefix='DBG' -->(Diagnostic) from /oracle/jbo/common/Diagnostic.prope
    rties resource
    [54] BC4J Property jbo.logging.show.timing='false' -->(Diagnostic) from /oracle/jbo/common/Diagnos
    tic.properties resource
    [55] BC4J Property jbo.logging.show.function='false' -->(Diagnostic) from /oracle/jbo/common/Diagn
    ostic.properties resource
    [56] BC4J Property jbo.logging.show.level='false' -->(Diagnostic) from /oracle/jbo/common/Diagnost
    ic.properties resource
    [57] BC4J Property jbo.logging.show.linecount='true' -->(Diagnostic) from /oracle/jbo/common/Diagn
    ostic.properties resource
    [58] BC4J Property jbo.logging.trace.threshold='6' -->(Diagnostic) from /oracle/jbo/common/Diagnos
    tic.properties resource
    [59] BC4J Property jbo.jdbc.driver.verbose='false' -->(Diagnostic) from System Default
    [60] BC4J Property jbo.ejb.txntimeout='60' -->(SessionImpl) from System Default
    [61] BC4J Property jbo.ejb.txntype='global' -->(MetaObjectManager) from System Default
    [62] Skipping empty Property oracle.jbo.schema from System Default
    [63] Copying unknown Client property (CSSURL='/webapp/cabo/images/cabo_styles.css') to session
    [64] Copying unknown Client property (DBconnection='jdbc:oracle:thin:@Oracle_Prod1:1521:p816') to
    session
    [65] Copying unknown Client property (password='tiger') to session
    [66] Copying unknown Client property (JDBCName='rick') to session
    [67] Copying unknown Client property (ConfigName='bc4j_scott.Bc4j_scottModule.Bc4j_scottModuleLoca
    l') to session
    [68] Copying unknown Client property (ImageBase='/webapp/jsimages') to session
    [69] Copying unknown Client property (user='rick') to session
    [70] Copying unknown Client property (Password='tiger') to session
    [71] Copying unknown Client property (ApplicationName='bc4j_scott.Bc4j_scottModule') to session
    [72] WARNING: Unused property: LC='Calling Function' found in /oracle/jbo/common/Diagnostic.proper
    ties resource
    [73] }} finished loading BC4J properties
    [74] -----------------------------------------------------------
    Diagnostics: Routing diagnostics to standard output (use -Djb o.debugoutput=silent to remove)
    [75] Diagnostic Properties: Timing:false Functions:false Linecount:true Threshold:6
    [76] JavaVMVersion: 1.3.0_02
    [77] JavaVMVendor: Sun Microsystems Inc.
    [78] JavaVMName: Java HotSpot(TM) Client VM
    [79] OperatingSystemName: Windows 2000
    [80] OperatingSystemVersion: 5.0
    [81] OperatingSystemUsername: RWANG
    [82] Connected to Oracle JBO Server - Version: 3.2.9.76.3
    [83] {{+++ id=10000 type: 'BC4J_CREATE_ROOTAM' Create Root Application Module 'bc4j_scott.Bc4j_sco
    ttModule'
    [84] {{+++ id=10001 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.Bc4j_scottModule
    [85] {{+++ id=10002 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.bc4j_scott
    [86] Loading from /bc4j_scott/bc4j_scott.xml file
    [87] Loading from indvidual XML files
    [88] Loading the Containees for the Package 'bc4j_scott.bc4j_scott'.
    [89] }}+++ End Event10003 null
    [90] Loading from /bc4j_scott/Bc4j_scottModule.xml file
    [91] }}+++ End Event10002 null
    [92] {{+++ id=10003 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.DeptView
    [93] Loading from /bc4j_scott/DeptView.xml file
    [94] ViewObjectImpl's default fetch mode = 0
    [95] {{+++ id=10004 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.Dept
    [96] Loading from /bc4j_scott/Dept.xml file
    [97] Loading Typemap entries from oracle.jbo.server.OracleTypeMapEntries
    [98] CSMessageBundle (language base) being initialized
    [99] }}+++ End Event10005 null
    [100] OracleSQLBuilder reached getInterface
    [101] Oracle SQL Builder Version 3.2.0.0.0
    [102] }}+++ End Event10004 null
    [103] {{+++ id=10005 type: 'BC4J_CREATE_VIEWOBJECT' Create ViewObject 'DeptView'
    [104] }}+++ End Event10006 null
    [105] {{+++ id=10006 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.EmpView
    [106] Loading from /bc4j_scott/EmpView.xml file
    [107] {{+++ id=10007 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.Emp
    [108] Loading from /bc4j_scott/Emp.xml file
    [109] }}+++ End Event10008 null
    [110] }}+++ End Event10007 null
    [111] {{+++ id=10008 type: 'BC4J_CREATE_VIEWOBJECT' Create ViewObject 'EmpView'
    [112] }}+++ End Event10009 null
    [113] {{+++ id=10009 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.FkDeptnoLink
    [114] Loading from /bc4j_scott/FkDeptnoLink.xml file
    [115] }}+++ End Event10010 null
    [116] {{+++ id=10010 type: 'METAOBJECT_LOAD' Loading meta-object: bc4j_scott.FkDeptnoAssoc
    [117] Loading from /bc4j_scott/FkDeptnoAssoc.xml file
    [118] }}+++ End Event10011 null
    [119] Created root application module: 'bc4j_scott.Bc4j_scottModule'
    [120] Locale is: 'en_US'
    [121] }}+++ End Event10001 null
    [122] AM pool is establishing an application module connection
    [123] Using DatabaseTransactionFactory implementation oracle.jbo.server.DatabaseTransactionFactory
    [124] DBTransactionImpl Max Cursors is 50
    [125] Oracle SQLBuilder: Registered driver: oracle.jdbc.driver.OracleDriver
    [126] {{+++ id=10011 type: 'JDBC_CONNECT' null
    [127] Trying connection/2: url='jdbc:oracle:thin:@Oracle_Prod1:1521:p816' info='{user=rick, passwo
    rd=tiger}' ...
    [128] }}+++ End Event10012 null
    [129] Successfully logged in
    [130] JDBCDriverVersion: 8.1.7.1.0
    [131] DatabaseProductName: Oracle
    [132] DatabaseProductVersion: Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production With the
    Partitioning option JServer Release 8.1.6.0.0 - Production <---It's hanging here for a very very long time......
    Any idea?
    null

  • Weblogic.Deployer using -deploy for existing application

    I'm running on weblogic 8.1 SP3
    when I use -deploy for an existing application the documentation says it will do a redeploy.
    documentation for the targets option says that it will use existing targets for an application that is currently deployed.
    BUT it doesn't work. Is this a known issue ?
    I use the following options:
    -name fortune
    -source /data/bea81/applications/stg/fortune.ear
    -verbose -debug -deploy -stage

    Check to see if the problem is with the Deployer tool or myApp.war:
    1) Does myApp.war deploy using the console?
    2) Check myApp.war has all the classes it needs?
    If your app does deploy from the console then we can focus in on the Deploy tool. If not it may help give us a clue as to what is going on e.g. your war file missing classes.
    Hoos

  • Data grid for jsp applications

    Someone knows where i can get a good data grid (free or cost ) for JSP applications

    I just stumbled across this thread as we are developing a stateless BSP application and plan to use model binding in it.
    For our application the part of the models state that changes is displayed in the view in form fields, so our idea is to reload the model from the db in the doInitattributes-Method and let the model binding do the rest of the work filling in the values that changed in the view. It seems to work so far - so i guess persisting the state of the object to the db is only necessary when something changed that is not part of the view, right?
    My second question is on Brians recommendation to use MVC only at exactly one level. Is using Sub-Controllers a problem when they have got their own model? I guess the extra work Brian mentions is all about telling the subcontrollers which model to load, right?
    It would be good to know if there are any serious pitfalls when using a hierarchy of controllers instead of a controller with a collection of views.
    Martin

  • Deploying a JSP application into Oracle8i

    Hi,
    I developed my application using JSP and Servlet on Tomcat Server 4.0.1. Now i want to finally deploy my application on Oracle8i Servlet Engine. How can i deploy there?
    Thanks,
    Imran

    JServ hasn't been updated in years and won't be ever again (the only update for it became Tomcat 4). If you're using Oracle 9i Application Server, use the OC4J container, release 2 is fully J2EE v1.3 compliant. Or, as m7nra said, grab Tomcat, it's quick, easy, and free.

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

Maybe you are looking for

  • IPod touch 4th gen no longer plays video on TV

    Can anyone tell me exactly why I can no longer play ANY (personal, purchased, downloaded) videos or pictures from my iPod 4th Generation to my TV with the same cables I've been using for several months to do just that?  I no longer have the "TV outpu

  • HTTP Adapter Interconnect 10.1.2 problem

    Hello, Can someone explain me how to use Interconnect for sending xml-messages from a database to a webservice, and processing the answer? We tried the following: Install a database adapter Install a (sync) http adapter The common view is a procedure

  • Strange effects in using f:convertNumber and h:inputText

    Hi everybody, I'm having really strange results with the following <h:inputText> and <f:convertNumber> tags in one JSF page: <h:inputText id="total" value="#{myBean.total}" required="true" size="10" ><f:convertNumber minFractionDigits="2" maxFraction

  • Copra report KE30 report

    Does anyone  step by step  document on Copa report painter , If please can forward the same.

  • Using alternative color profiles in Aperture

    I have used many RAW Programs in the past. Now it is Aperture's turn. I have been a Mac user since 1994 and I am glad to see a program like Aperture. My question is about Alternate Color Profiles. I have not figured out how to use an alternate color