Drilling at Tutorial: Developing a JSP Application

I'm working on exercise 3 (Customizing Graph Properties), but I am not able to drill the crosstable by clicking on the graph. Did this example work anytime?

Hi,
Yes this should work. Are you getting any errors messages registered in the JDeveloepr log window? Can you also provide details of your database patch level as well please
Thanks
BI Beans PM Team
Oracle

Similar Messages

  • DW 8 Tutorial - Developing a Web Application - ERROR

    Hi, I am new at this and using the Dreamweaver 8 Tutorial,
    Developing a Web Application. Everything went fine until the very
    end, when I tried to submit data to the document. I got the
    following error message. I have searched online for a solution and
    haven't been able to find it. I am new at this (obviously) and
    would appreciate any help you could give me. Here is the error
    message:
    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Microsoft Access Driver] Operation must use
    an updateable query.
    /MySampleApps/send.asp, line 115
    Browser Type:
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
    1.1.4322)
    Page:
    POST 59 bytes to /MySampleApps/send.asp
    POST Data:
    FIRST_NAME=s&LAST_NAME=s&EMAIL=s&COMMENTS=s&MM_insert=form1
    Time:
    Friday, August 01, 2008, 10:53:58 AM

    Oops!
    http://livedocs.adobe.com/dreamweaver/8/using/31_trou7.htm
    http://www.adobe.com/go/tn_18984
    Ken Ford
    Adobe Community Expert - Dreamweaver/ColdFusion
    Fordwebs, LLC
    http://www.fordwebs.com
    "Ken Ford" <[email protected]> wrote in message
    news:g71tvt$ro4$[email protected]..
    > It is a permissions problem with the database:
    >
    >
    > --
    > Ken Ford
    > Adobe Community Expert - Dreamweaver/ColdFusion
    > Fordwebs, LLC
    >
    http://www.fordwebs.com
    >
    >
    > "squatier" <[email protected]> wrote in
    message news:g6vj9i$c5n$[email protected]..
    >> Hi, I am new at this and using the Dreamweaver 8
    Tutorial, Developing a Web
    >> Application. Everything went fine until the very
    end, when I tried to submit
    >> data to the document. I got the following error
    message. I have searched
    >> online for a solution and haven't been able to find
    it. I am new at this
    >> (obviously) and would appreciate any help you could
    give me. Here is the error
    >> message:
    >>
    >>
    >> Error Type:
    >> Microsoft OLE DB Provider for ODBC Drivers
    (0x80004005)
    >> [Microsoft][ODBC Microsoft Access Driver] Operation
    must use an updateable
    >> query.
    >> /MySampleApps/send.asp, line 115
    >>
    >>
    >> Browser Type:
    >> Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
    .NET CLR 1.1.4322)
    >>
    >> Page:
    >> POST 59 bytes to /MySampleApps/send.asp
    >>
    >> POST Data:
    >>
    FIRST_NAME=s&LAST_NAME=s&EMAIL=s&COMMENTS=s&MM_insert=form1
    >>
    >> Time:
    >> Friday, August 01, 2008, 10:53:58 AM
    >>
    >>
    >>
    >>

  • Question about Tutorial: Developing RIA Web Applications with Oracle ADF

    I'm learning about ADF and JDeveloper:
    According to the tutorial, after I've bound the data controls for the top right panel and bottom right panel, the bottom panel should always show the employee selected from the collection above.
    However when I do the instructions, the employee information in the bottom right employee area never changes regardless if I select a different employee in the top panel collection.
    I can't figure out why the top and bottom panels don't link together. I'm using the same View in both panels....
    I'm using Build JDEVADF_11.1.1.1.0_GENERIC_090615.0017.5407
    Thanks in advance for any suggestions!
    Rob

    The mechanism that synch the two section of the page is called partial page rendering.
    It should work if you follow the instructions in the tutorial, but if it doesn't it is quite easy to fix:
    In the structure pane, select the Form component that surrounds the employees update section
    Then look at the properties inspector for a property call partial trigger
    Click the arrow on the right of it to select edit - and navigate your page hierarchy to choose the table component.
    An example is here:
    http://blogs.oracle.com/shay/2008/05/master_with_two_details_on_the.html

  • Error while building sample application "Developing an Order Application"

    hi ,
    I tried to create a simple Mobile application using the instructions for "Tutorial: Developing an Order Application for Handhelds" given at :-
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/46/7294498d870ad3e10000000a11466f/frameset.htm
    For the same , by using TCdoe SDOE_WB i created a new SWCV named ORDER_TAKER,
    with a Data Object - > ORDER
    added Data Object header node -> ORDERHEADER
    The ORDERHEADER contains the following fields:
    ORDERID          CHAR8
    CUSTID             CHAR4
    LONGTEXT       CHAR32
    SERVICEUNIT   CHAR32
    CREATED_ON  DATS
    CREATED_AT  TIMS
    As per the tutorial I created  Mobile Service Component as "order_sv". under which created Data Objects , and a service name orderService . Now when I copied the code of Defining the Custom Methods , I am getting following error while building the MSC........
    Line: -----
    * [javac] Compiling 8 source files to C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\classes
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:43: cannot find symbol
         [javac] ERROR: symbol  : class Order_svModel
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:           if( !(((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).getOrderOrderheaders().size() > 0))
         [javac] ERROR:                   ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:43: cannot find symbol
         [javac] ERROR: symbol  : class Order_svModel
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:           if( !(((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).getOrderOrderheaders().size() > 0))
         [javac] ERROR:                                                                ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:43: cannot find symbol
         [javac] ERROR: symbol  : variable OcaRoot
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:           if( !(((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).getOrderOrderheaders().size() > 0))
         [javac] ERROR:                                 ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
         [javac] ERROR: symbol  : class OrderOrderheader
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
         [javac] ERROR:               ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
         [javac] ERROR: symbol  : class Order_svModel
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
         [javac] ERROR:                                          ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
         [javac] ERROR: symbol  : class Order_svModel
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
         [javac] ERROR:                                                                                ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:45: cannot find symbol
         [javac] ERROR: symbol  : variable OcaRoot
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               OrderOrderheader order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
         [javac] ERROR:                                                        ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:49: cannot find symbol
         [javac] ERROR: symbol  : method valueOf(java.lang.String)
         [javac] ERROR: location: class java.util.Date
         [javac] ERROR:               order.setCreatedOn(Date.valueOf("2007-06-30"));
         [javac] ERROR:                                      ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:50: cannot find symbol
         [javac] ERROR: symbol  : variable Time
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               order.setCreatedAt(Time.valueOf("08:45:00"));
         [javac] ERROR:                                  ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:73: cannot find symbol
         [javac] ERROR: symbol  : class Order_svModel
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
         [javac] ERROR:                         ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:73: cannot find symbol
         [javac] ERROR: symbol  : class Order_svModel
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
         [javac] ERROR:                                                                      ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:73: cannot find symbol
         [javac] ERROR: symbol  : variable OcaRoot
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               order = ((Order_svModel)OcaRoot.getInstance().getModel(Order_svModel.class)).createOrderOrderheader();
         [javac] ERROR:                                       ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:77: cannot find symbol
         [javac] ERROR: symbol  : method valueOf(java.lang.String)
         [javac] ERROR: location: class java.util.Date
         [javac] ERROR:               order.setCreatedOn(Date.valueOf("2007-07-05"));
         [javac] ERROR:                                      ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:78: cannot find symbol
         [javac] ERROR: symbol  : variable Time
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               order.setCreatedAt(Time.valueOf("10:00:00"));
         [javac] ERROR:                                  ^
         [javac] ERROR: C:\workspace.jdi\LocalDevelopment\t\13A34929B4F509E8F4914E0DFB74D38E\gen_oca\com\sap\demo\order_sv\service\impl\OrderService.java:80: cannot find symbol
         [javac] ERROR: symbol  : variable OcaRoot
         [javac] ERROR: location: class com.sap.demo.order_sv.service.impl.OrderService
         [javac] ERROR:               OcaRoot.getInstance().commit();
         [javac] ERROR:               ^
         [javac] 30 errors *
    Line: -----
    Please help...........
    Ekam
    Edited by: Ekam Preet Singh on Sep 29, 2011 10:32 AM

    Hi,
    Please have a look at this thread,
    Re: Error in CompatibilityMode
    Regards,
    Saravanan K

  • 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

  • How to use central output server in JSP application

    Dear All,
    We have developed a jsp application which is running on JBoss.We want to create receipts in PDF format.For this we are using central output server.Our approach is as follows:
    When request comes from the user, we are generating .dat file by fetching data from the Oracle database depending upon credentials and then pushing this file into data folder of Central output server.From there we are waiting for PDF file in predefined path.Here we found this is asynchronous way of producing receipts.
    Is there any other way that is synchronous or the way we are approaching is the only way of doing it.A sample would be of immense help.
    Note:The concurrent hits would be around 5000 in a peak hour.Any help would be highly appreciated.

    I don't think you can get things to operate in a synchronous manner. You have one application - perhaps running on a totally separate server - feeding data files to a different application. The only way to make it even semi-sychronous would be to throttle the JSP application in some way to prevent it from placing a new file into Central's data folder while there was already one there.
    I assume your problem is knowing which PDF belongs to which user. If that is the case you could send some type of unique identfier (IP#?) as a "job" parameter that would then be used as the specific PDF file name instead of letting Central create a random file name.

  • Security in an jsp application using BIBeans

    Hi all,
    We are developing a system with BIB to access OLAP 9.2.0.5. We need to implement some access rules at database level, i.e. user 1 can read levels 1, 2 and 3 of a hierarchical dimension, but user 2 can only read level 3. We do not know how to pass this database rules to BI catalog user, or replace this BI user with database connection information, to have more than one different user connection accessing the system. Anyone can help me?
    thanks in advance,
    Alexandre Martins - Commit Consultores - Brazil

    We are developing a jsp application with TAG libraries
    Ex.:
    <orabi:BIThinSession id="BIThinSession1" configuration="/Project1BIConfig1.xml" >
    <orabi:Presentation id="untitled1_Presentation1" location="Presentation1" />
    </orabi:BIThinSession>
    <FORM name="BIForm">
    <!-- Insert your Business Intelligence tags here -->
    <orabi:Render targetId="untitled1_Presentation1" parentForm="BIForm" />
    <%-- The InsertHiddenFields tag adds state fields to the parent form tag --%>
    <orabi:InsertHiddenFields parentForm="BIForm" biThinSessionId="BIThinSession1" />
    </FORM>
    This application hás a login screen, where the user will pass his database username and password, which corresponds equally to a user of same name at the BI Beans catalog.
    Here is the moment that we face the Problem: We can not change the user to switch to the database user. The catalog user is switched by BIUser().
    Workarounds performed:
         1 – We created a ConnectionProvider class to establish the connection with the properties and another class - AuthenticationProvider - to pass parameters to the connection.
              Problem: Could not pass parameters to Application Authentication class. Tried to force application to connect to authentication or vice-versa to pass username that was informed at login screen but this does not work.
         Ex.: trying to set this classes at configuration file (.xml).
         User “ALEX” has database access (OLAP , MOLAP) and catalog access .
    public class AuthenticationProvider implements oracle.dss.security.AuthenticationProvider {
    public void authenticate(Hashtable properties) throws BISecurityException {
    properties.put(“user_name”, “ALEX”);
    properties.put(“password”, “ALEX_1”);
    public class ConnectionProvider implements oracle.dss.security.ConnectionProvider {
    public Object connect(Hashtable properties) throws BISecurityException {
    Connection conn = null;
    try {
    DriverManager.registerDriver(new OracleDriver());
    String sUSER = properties.get("user_name").toString();
    String sPW = properties.get("password").toString();
    String connStr = "";
    if(properties.get("jdbctype").equals("thin")) {
    connStr = "jdbc:oracle:thin:@" +
    properties.get("hostname") + ":" +
    properties.get("port") + ":" +
    properties.get("sid");
    conn = (Connection)DriverManager.getConnection(connStr, sUSER, sPW);
    catch(Throwable t) { throw new BISecurityException("Erro na conexão!", t); }
    return conn;
         2 – Tried to get configuration through session searching all the connections and changing user to desired connection (in this case “thin”, MM.MDM) and reconnecting or disconnecting and reconnecting again.
    At this point, debugged the database connection and could see that username actually changed, but when the program reached the open presentation TAG received an error because TAG could not understand the connection.
         Ex.: This is in between session TAG
    <orabi:BIThinSession id="BIThinSession1" configuration="/Project1BIConfig1.xml" >
    <%
    ManagerFactory mf = BIThinSession1.getManagerFactory();
    MetadataManager mdm = null;
    if (mf != null) {
    mdm = (MetadataManager) mf.lookupManager(
    ManagerFactory.METADATA_MANAGER, null, true);
    if (mdm != null) {
    try {
    int iAttachStatus = mdm.getAttachStatus();
    if ((iAttachStatus != MM.ATTACHED) &&
    (iAttachStatus != MM.ATTACHING))
    mdm.attach();
    Connection[] connectionArray = mdm.getConnections();
    if (connectionArray != null) {
    int count = connectionArray.length;
    for (int index = 0; index < count; index++) {
    String driverType = connectionArray[index].getDriverType();
    if ( (driverType != null) &&
    (driverType.equals(MM.MDM)) &&
    (connectionArray[index].isConnected()) ) {
    if(driverType.equals(MM.MDM)) {
    connectionArray[index].setUsername("ALEX");
    connectionArray[index].setPassword("ALEX_1");
    connectionArray[index].reconnect(connectionArray[index].getPropertyBag());
    catch (Exception ex) {
    ex.printStackTrace(); // just for demo purpose
    %>
    <orabi:Presentation id="untitled1_Presentation1" location="Presentation1" />
    </orabi:BIThinSession>

  • Inconsitency of JSP application

    At times why the hidden variables passed to the next page is not available in the next page.
    Is their any special criteria as to when to use method ="post" or "get".
    Can anyone please explain the basics needed to be sticked on developing consistent JSP applications.

    In the "GET" method, form data is encoded into the URL. In the "POST" method, the form data appears in the message body. Basically, the "GET" method should only be used as a basic means for retrieving data, and the "POST" method could be used for anything like storing or updating data. In other words the "POST" method holds more than the "GET" method. So if your sending a LOT! of data through, then you may be loosing it that way. But you would have to send a lot of data through for that to happen.

  • Stateless JSP application

    Dear friends,
    We are trying to develop a JSP application using Oracle Business Components.
    Anybody could suggest the correct coding for the same would be appreciated.
    Regards,
    Mohammed.

    If you can wait till the end of November there will be some really cool enhancements for JSP development with Business Components for Java..
    To start with, we'll support JSP 1.1/Servlet 2.2.
    We'll also provide an easy to use tag library which make it extremely easy to interace/edit BC4J data.
    If you want to get a feeling for how to code a BC4J/JSP application with current production code (3.1) check out the BC4J auctions sample..
    Located at: <JDev>/samples/BC4J/bc4jauctions/bc4jauctions.jws
    Hope this helps..
    -Chris

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

  • T's possible to use the jsp to develop stand-alone application?????

    Hello everybody, I would like to know your considerations about this topics: It's possible to use jsp to develop stand-alone application that will be not run on the server but on the local machine?There are some negative aspects on make this? Thank you for your reply

    i don't think you could ever protect the jsp code and it wouldn't do you much good to bother anyway, since anyone with a browser can just "View Source" and see all the HTML on the page anyway.
    the only thing you would want to protect is your java source. you don't have to distribute the .java files with your application, just the .class's. you could try and obfuscate the .class files, but a determined person will always be able to reverse it back to a .java program and read it. it would take a bit of work and knowhow though, so figure out how smart the consumer is going to be and if they will be able to figure out how to reverse .class files back to .java

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

  • What components do I need to develop and run JSP applications?

    I am currently developing a JSP-based application using Apache, Tomcat, MySQL, and JDBC. I'm considering switching to Oracle since I know it better and it has better support for certain capabilities.
    But, it's very confusing trying to determine from the Oracle sites just what I need and which platforms are supported. What do I need to buy and what can I download?
    So, which Oracle components do I need to develop and test JSP applications using Application Server? I'll probably get into XML as well.
    Does any of it run on Win98, WinNT, Win2000, or SolarisIntel? I likely will not deploy on any of these platforms, but it would be convenient to develop on my Intel laptop, if possible.
    --Terry Westley, [email protected]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Oracle's IAS includes an Apache and Jserv with JSP runtime by default.
    You could simply migrate your Apache/Tomcat JSP to Apache/Jserv/Oracle JSP without problems, including win32 plattform.
    To run Servlet compliant with JSDK 2.2+ you has to use Apache mod_ose module with your servlets and jsp running inside the Oracle JVM, this combination is more scallable and secure for big projects, but it requires more hardware for your laptop.
    Best regards, Marcelo.

  • Problem with tutorial; "Build a Web Application with JDeveloper 11g Using "

    I've got a rather new installation of Vista Business x64 on my developer rig, and last week I installed the new JDeveloper 11g version. The installation was all-inclusive, no customization on my end.
    In addition I've got a test installation of an Oracle DB 11gR1 on an available server here.
    To familiarize myself with the new JDeveloper I decided to spend some time with the JDeveloper 11g tutorials found here: http://www.oracle.com/technology/obe/obe11jdev/11/index.html.
    I've started twice on the second tutorial, "Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces", and find myself repeatedly stuck at step 19 in section "Creating the Data Model and Testing it".
    It seems impossible to deploy the application to the default application server. The server starts fine on its own, I can access it via the admin console on port 7001 and it looks good. However, when I try to run the HRFacadeBean funny things are happening, symptomized by the following error messages seen in the IDE log-area:
    The "Messages" pane displays:
    "Compiling...
    Context: MakeProjectAndDependenciesCommand application=HR_EJB_JPA_App.jws project=EJBModel.jpr
    C:\Oracle\Middleware\jdk160_05\jre\bin\java.exe -jar C:\Oracle\Middleware\jdeveloper\jdev\lib\ojc.jar -g -warn -nowarn:320 -nowarn:372 -nowarn:412 -nowarn:413 -nowarn:415 -nowarn:486 -nowarn:487 -nowarn:489 -nowarn:556 -nowarn:558 -nowarn:560 -nowarn:561 -nowarn:705 -Xlint:-fallthrough -Xlint:-serial -Xlint:-unchecked -source 1.6 -target 1.6 -noquiet -encoding Cp1252 -d C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes -namereferences -make C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes\EJBModel.cdi -classpath C:\Oracle\Middleware\jdk160_05\jre\lib\resources.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\rt.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jsse.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\jce.jar;C:\Oracle\Middleware\jdk160_05\jre\lib\charsets.jar;C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;C:\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;C:\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;C:\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;C:\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;C:\Oracle\Middleware\modules\javax.interceptor_1.0.jar;C:\Oracle\Middleware\modules\javax.jms_1.1.1.jar;C:\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\javax.jws_2.0.jar;C:\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;C:\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;C:\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;C:\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;C:\Oracle\Middleware\modules\javax.resource_1.5.1.jar;C:\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;C:\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;C:\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;C:\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\wlserver_10.3\common\lib -sourcepath C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src;C:\Oracle\Middleware\jdk160_05\src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink-src.zip;C:\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink-src.zip C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Dept.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\Emp.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeLocal.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeClient.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacade.java C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\src\oracle\HRFacadeBean.java
    [11:45:27 PM] Successful compilation: 0 errors, 0 warnings.
    [Application HR_EJB_JPA_App is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    The "Running: DefaultServer" displays:
    "C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    [Server Instance DefaultServer is shutting down.  All applications currently running will be terminated and undeployed.]
    Process exited.
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\stopWebLogic.cmd
    Stopping Weblogic Server...
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Connecting to t3://localhost:7101 with userid weblogic ...
    This Exception occurred at Wed Oct 29 23:47:40 CET 2008.
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination]
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
         at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:365)
         at weblogic.jndi.Environment.getContext(Environment.java:315)
         at weblogic.jndi.Environment.getContext(Environment.java:285)
         at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:512)
         at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:565)
         at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:305)
         at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
         at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
         at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:125)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx4.connect$1(<iostream>:16)
         at org.python.pycode._pyx4.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:404)
         at org.python.core.PyFunction.__call__(PyFunction.java:184)
         at org.python.pycode._pyx16.f$0(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py:1)
         at org.python.pycode._pyx16.call_function(C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
         at weblogic.management.scripting.WLST.main(WLST.java:129)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.WLST.main(WLST.java:29)
    Caused by: java.net.ConnectException: t3://localhost:7101: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:203)
         at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
         at weblogic.jndi.WLInitialContextFactoryDelegate$1.run(WLInitialContextFactoryDelegate.java:344)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:339)
         ... 38 more
    Caused by: java.rmi.ConnectException: Destination unreachable; nested exception is:
         java.net.ConnectException: Connection refused: connect; No available router to destination
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
         at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
         at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java:251)
         at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:225)
         at weblogic.rjvm.RJVMFinder.findOrCreateRemoteCluster(RJVMFinder.java:303)
         at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:193)
         ... 43 more
    Problem invoking WLST - Traceback (innermost last):
    File "C:\Oracle\Middleware\user_projects\domains\base_domain\shutdown.py", line 1, in ?
    File "<iostream>", line 22, in connect
    WLSTException: Error occured while performing connect : Error getting the initial context. There is no server running at t3://localhost:7101 Use dumpStack() to view the full stacktrace
    Done
    I'm not that familiar with these things but it seems to me that there is an issue with port numbers here. The application seems to expect a app.server service at port 7101, but does'nt find one.
    Any suggestions on how to fix this problem would be appreciated?
    LA$$E

    Jupp,
    It fails in a similar way.
    What I did was; create a simle 'Hello World' html file, saving it with the jsp extension. In Jdev11g i made a new application and an emtpy project, then loaded the jsp file and made it the default run-target. This compiles nicely.
    When running the project it first attempts to start the WebLogicServer (WLS). After a few minutes it is started as seen in the "Running: DefaultServer" pane:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=;C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\oracle_client\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=false -Djbo.34010=false -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1 -Doracle.home=C:\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=C:\Oracle\MIDDLE~1\USER_P~1\domains\BASE_D~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;C:\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar>
    <30.okt.2008 kl 19.20 CET> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.>
    <30.okt.2008 kl 19.20 CET> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 >
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30.okt.2008 kl 19.20 CET> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <30.okt.2008 kl 19.20 CET> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Deployer> <BEA-149617> <Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <30.okt.2008 kl 19.20 CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "Kromp.lan", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
    <30.okt.2008 kl 19.20 CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.0.0.8:7001 for protocols iiop, t3, ldap, snmp, http.>
    <30.okt.2008 kl 19.20 CET> <Warning> <Server> <BEA-002611> <Hostname "127.0.0.1", maps to multiple IP addresses: 10.0.0.8, 127.0.0.1>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <30.okt.2008 kl 19.20 CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    DefaultServer startup time: 121552 ms.
    DefaultServer started.
    In the "Messages" pane, however, things are not looking so good:
    Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
    [7:20:49 PM] Successful compilation: 0 errors, 0 warnings.
    [Application TestAppJsp is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    But, of course, the server is actually running as I can access it via its Admin Console.
    So, I try to run the project again, and this time the following is shown in the "Messages" pane:
    Compiling...
    Context: MakeProjectAndDependenciesCommand application=TestAppJsp.jws project=TestProjJsp.jpr
    [7:26:39 PM] Successful compilation: 0 errors, 0 warnings.
    [Application TestAppJsp is bound to Server Instance DefaultServer]
    [Starting Server Instance DefaultServer]
    #### Server Instance DefaultServer could not be started: Server Instance was terminated.
    The "Running: DefaultServer" now comes up with:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    [Server Instance DefaultServer is shutting down.  All applications currently running will be terminated and undeployed.]
    Process exited.
    The WLS is still running though as I can still access its adm console.
    To me it seems that it is attempting to start a separate instance of the WLS for each run attempt, but then I could be wrong.....:(
    Later I'll try to change the default WLS port from 7001 to 7101 as suggested in another port here.
    I must admit that I'm a bit surprised that the JDev11g doesn't work fine at this very simple level when performing a default install.

  • Create both onscreen and database storage JSP application

    Hi,
    My JSP application is a JSP form with name, address, phone number, etc. and a submit button. The output currently shows onscreen with no database connection. Can someone please tell me how I store this in the Oracle database and would it be possible to do both - show the output on screen and also store it in the database.
    TIA,
    Sassan
    Code:
    Create jsp form:
    <html>
    <head>
    <title>Create Form</title>
    </head>
    <body>
    <form action="/Create_Form_html/RetrieveFormData.jsp" method="post">
    <table align="center" cellspacing="2" cellpadding="2" border="1">
    <tr>
    <td colspan="3">
    <b>Company Name:</b>
    <%
    String company = request.getParameter("company");
    if ( company != null ) {
    %>
    <input type="text"
    name="company name"
    value="<%=company %>"
    size="40" maxlength="40">
    <%
    else {
    %>
    <input type="text"
    name="company name"
    size="40"
    maxlength="40">
    <%
    %>
    </td>
    <tr>
    <td colspan="3">
    <b>Street:</b>
    <input type="text"
    name="street"
    size="43"
    maxlength="43">
    </td>
    </tr>
    <tr>
    <td>
    <b>City:</b>
    <input type="text"
    name="city"
    size="20"
    maxlength="20">
    </td>
    <td>
    <b>State:</b>
    <input type="text"
    name="state"
    size="2"
    maxlength="2">
    </td>
    <td>
    <b>Zip:</b>
    <input type="text"
    name="zip"
    size="5"
    maxlength="5">
    </td>
    </tr>
    <tr>
    <td>
    <input type="Submit" value="Submit">
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    You can use JDeveloper's Data Web Beans - these are data-aware controls for JSPs.
    Start by creating a JSP from scratch using the Business Components JSP application wizard. Instructions are in the online documentation, under:
    User Guides
    ->Developing Applications
    ->Developing Web Applications
    ->Creating a JSP application
    Or you can learn how to do this by stepping through the Business Components tutorial. The tutorial is also in the online documentation, under Tutorials and Sample Applications.
    Once you're more familiar with data-aware JSPs, you can customize a data-aware JSP or create your own from scratch. Instructions for customizing JSPs are also in the online documentation, following the instructions for creating a JSP.
    Regards
    Blaise

Maybe you are looking for