Sample application v2.0 question

Oracle 10g ships with sample application v2.0 (#104) which lets you manage orders, products, customers and such. The application has an admin area which is visible only if you log in as admin. In this area you can add new admins or modify the existing ones. I wanted to use the same principle to manage admins on my application so I created new tables, pages, items, processes, etc almost exactly the same as in the sample application. The problem I have is when I want to create new admin user the query fails because it cannot insert null into created_on column (this supposed to be sysdate).
I created the updateable report and form using tabular form wizard, nothing was entered manually. I haven't seen an option to enter sysdate in the created_on column anywhere. I looked very closely on the sample application to see where how it gets done but I couldn't find sysdate mentioned anywhere on any page related to the admin user management (pages 8 & 9). Can anyone look in the sample application v2.0 and see how is sysdate being entered in the created_on column when adding new admin user?

user465488,
The DEMO_USERS.CREATED_ON column is populated via the database trigger BI_DEMO_USERS.
Joel

Similar Messages

  • Beginner Question - Help Needed for EJB QL Sample Application

    I'm working with a group of student interns, like myself, and we've been given an assignment to work with Oracle. All of us have no training or experience with this, so we're just learning as we go.
    I've been trying to run the EJB QL Sample Application (http://www.oracle.com/technology/sample_code/tech/java/ejb_corba/ejbql/Install.html), but I keep running into problems at step 3.
    Now, we will deploy the sample application onto OC4J. Open another command prompt and go to the folder <OC4J_HOME>/j2ee/home and run the following commands one-by-one
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -deploy -file <SAMPLE_HOME>/build/ejbql.ear -deploymentName Ejbql
    > java -jar admin.jar ormi://<machine_name>:<admin_port> admin <admin_pwd> -bindWebApp Ejbql ejbql-war http-web-site /ejbql
    where,
    <machine_name>      Name of the machine where OC4J Server is running
    <admin_port>      Admin Port on which the OC4J server listens. This value by default is 23791 unless explicitly changed by the user
    <admin_pwd>      Adminstrator password to access OC4J. The default value is welcome
    When I do this step I get this error:
    Error: Unable to find java:comp/ServerAdministrator: Lookup error: javax.naming.
    AuthenticationException: Invalid username/password for default (sds); nested exc
    eption is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    com.evermind.client.orion.AdminCommandException: Unable to find java:comp/Server
    Administrator: Lookup error: javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:105)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    javax.naming.NamingException: Lookup error: javax.naming.AuthenticationException
    : Invalid username/password for default (sds); nested exception is:
    javax.naming.AuthenticationException: Invalid username/password for defa
    ult (sds) [Root exception is javax.naming.AuthenticationException: Invalid usern
    ame/password for default (sds)]
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Caused by: javax.naming.AuthenticationException: Invalid username/password for d
    efault (sds)
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    ... 2 more
    ---- Embedded exception
    javax.naming.AuthenticationException: Invalid username/password for default (sds
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2410
    at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2226
    at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1692)
    at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:727)
    at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:134)
    at com.evermind.client.orion.Oc4jAdminConsole.executeCommand(Oc4jAdminCo
    nsole.java:102)
    at com.evermind.client.orion.Oc4jAdminConsole.main(Oc4jAdminConsole.java
    :27)
    Any suggestions to fix this error?
    Thanks in advance for any help.

    George,
    The Readme.html file is available with the ejbqlsample.jar downloadable (Extract and find the doc in Ejbql\docs\Readme.html) which is printable.
    Or,
    If you are trying to print the file directly from OTN site, you need to set the Page-Setup Orientation to 'Landscape'.
    Hope this helps.
    Regards
    Pushkala

  • Sample application not working

    hi,
    i am a newbie to javawebstart.. i have 2 questions
    1) i downloaded the sample application from the net
    ( http://java.sun.com/developer/releases/javawebstart/) and was trying the "LibInstaller" sample.. i have been able to run step 1 (ant main : creates intially war file) and step 2(keystore and signing)... but step 3 seems to have some problem..i try to make the war file using command jar -cvf ../Libinstaller.war but get this error message:
    C:\javawebstart\webstart_examples\Libinstaller\war>jar -cvf C:\javawebstart\webs
    tart_examples\Libinstaller\Libinstaller.war
    'c' flag requires that input files be specified!
    Usage: jar {ctxu}[vfm0Mi] [jar-file] [manifest-file] [-C dir] files ...
    Options:
    -c create new archive
    i don't know which option i should be using because it just seems to overwrite the previous unsigned war file and is empty (1KB only) .. and by the way which of the samples given is working ok if the steps in the readme is followed accordingly??
    2) Another question is if i want to deploy an application using webstart, for e.g can i just replace the inst.jar file by my "source.jar" file and rename to inst.jar (for a start so that i don't have to change the inst.java file initially) and change the inst.jnlp (application desc main to specify the main class)???
    Thanks in advance..

    hi,
    issue 1 has been resolved. the sample program is working fine.. just missed '.' in step 3 during war file creation.
    as for issue 2, i require my swing application to be updated automatically at the client end if a new version is available at the server side. so i am thinking of using java webstart to check whether a recent source.jar file is available. so for a start, what i am trying is to replace the inst.jar file by my source.jar file in the sample application.... renaming it to inst.jar file and changing the inst.jnlp to indicate the mainclass.. any suggestions..
    thanx..

  • Problem in Sample application LifeCycle Dataservice

    Hi..
    I run a sample application in Lifesycle dataservce.
    Sample is lcds-samples/testdrive-remoteobject. its working fine. main.swf file execute and show data.
    i compiled the main.mxml source file and overide the existing swf file but it doesnt work.. i didnt do any modification in the main.mxml.
    I checked the file size of both there is a diffent of file size to... So what can be the reason to not run the source file after compile ?
    Is there any compile time arguement should entered..
    thnx
    regards
    Amila

    What happens when you try to run the app? Are your getting errors, or if the app launching but with a blank screen?
    Sometimes an app will run locally, but when you upload it to the web you must compile with the -use-network=true compiler option.
    If this post answers your question or helps, please mark it as such.

  • Error in running sample application for tuxedo

    Hi
    I received the following error when i try to run the sample application "simpapp"
    for tuxedo. I have set the ubbconfig file.
    i could get tuxconfig file by using tmloadcf commmand.
    for running the buildclient and buildserver it gives following error.do i have
    to install any c compiler? if so pls. suggest me some good c compiler.
    THE ERROR IS :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; check TUXDIR=C:\Program
    Files\BEA Systems\Tuxedo, LANG=Englis
    _United States.1252
    THANKS
    magesh

    Hi
    for Windows NT, which C compiler would be better for compiling the programs
    for tux clients and servers?
    do we have to use the MS-VC++ compiler and what are the environment
    variables to be set if i have to use build(client|server) ?
    pls. help me.
    thanks
    Magesh
    "Peter Holditch" <[email protected]> wrote in message
    news:[email protected]...
    Magesh,
    As I already posted, you need a C compiler installed.buildclient
    merely invoke the system compiler.
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, andBEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness ofthe
    information provided
    and assumes no duty to correct, expand upon, delete or update any of the
    information contained in this posting.
    magesh muthukumarasamy wrote:
    Hi
    After doing the steps which you've told, I got the following error when
    I
    ran buildclient and builserver respectively :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    TUXNT_CAT:77: ERROR: Can't execute cl/MD -I"%TUXDIR%"\include -Fesimpcl
    simpcl.c "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"
    \lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.
    lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BC-5f.lib
    C:\simpapp>buildserver -o simpserv -f simpserv.c -s TOUPPER
    cl /MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
    "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib "%TUX
    DIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib
    "%TUXDIR%"\lib\libengine.lib wsock32.lib kernel32.lib advapi32.libuser32
    .lib gdi32.lib comdlg32.lib winspool.lib -link -implib:BS-1a4.lib
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    CMDTUX_CAT:4180: ERROR: can't execute cl
    /MD -I"%TUXDIR%"\include -Fesimpserv BS-1a4.c simpserv.c
    "%TUXDIR%"\lib\libtux.l
    ib "%TUXDIR%"\lib\libbuft.lib "%TUXDIR%"\lib\libfml.lib
    "%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\libengine.lib wsock3
    2.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32.lib
    winspool.lib -link -implib:BS-1a4.lib
    IS IT DUE TO C COMPILER NOT AVAILABLE OR ANY OTHER CONFIGURATIONPROBLEMS?
    >>
    pls. help me.
    THANKS
    magesh
    "LouisLiu" <[email protected]> wrote in message
    news:[email protected]...
    Three steps to solve this problem:
    1. Set the LANG environment variable: set LANG=English_United
    States.1252;
    2. In the tuxedo directory Tuxedo\locale, make a new directory named
    English_United States.1252;
    3. Copy all files in diirectory Tuxedo\locale\C into the newdirectory.
    >>>
    "MAGESH MUTHUKUMARASAMY" <[email protected]> wrote in message
    news:[email protected]...
    Hi
    I received the following error when i try to run the sample
    application
    "simpapp"
    for tuxedo. I have set the ubbconfig file.
    i could get tuxconfig file by using tmloadcf commmand.
    for running the buildclient and buildserver it gives following
    error.do
    i
    have
    to install any c compiler? if so pls. suggest me some good c
    compiler.
    >>>>
    >>>>
    THE ERROR IS :
    C:\simpapp>buildclient -o simpcl -f simpcl.c
    The name specified is not recognized as an
    internal or external command, operable program or batch file.
    NLS:4: Cannot open message catalog TUXNT_CAT, set 1, num 77; checkTUXDIR=C:\Program
    Files\BEA Systems\Tuxedo, LANG=Englis
    _United States.1252
    THANKS
    magesh

  • Oracle Spatial book sample application

    Hi all,
    On Monday I received the Oracle Spatial book and I would like to post a topic about it. First of all I would like to congratulate the authors for their huge effort doing this excellent book. I think it will be very useful to the people that works with Spatial.
    Next, my question is about the sample application showed in chapter 12 (SampleApplication.jsp). I run correctly mapviewer in my server and I can do the other examples, nevertheless when I want to start this application I recieve this error message about 'jdbc/spatial10g not found' in my web browser:
    500 Internal Server Error
    javax.naming.NameNotFoundException: jdbc/spatial10g not found
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.rmi.RMIContext.lookup(RMIContext.java:149)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.ApplicationContext.lookup(ApplicationContext.java:248)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.ApplicationContext.lookup(ApplicationContext.java:119)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at spatial2d_book._sample_2d_app._SampleApplication._jspService(_SampleApplication.java:264)
         [SRC:/spatial-book/sample-app/SampleApplication.jsp:248]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I am using Java 2 Runtime Environment version 1.4.2_02 and I think I have correctly configured the shared libraries in the oc4j server (sdoapi.jar, sdonm.jar, ojdbc14.jar, etc.). Anyway, I think I will be missing something but I don't know what.
    I would be very grateful if somebody could help me.
    Juan M.

    Hi Juan
    Thanks for purchasing our book, and thanks also for the kind words.
    I think I know what that problem is.
    The application uses the network API. That API needs a database connection for the initial loading of the network. The connection used is provided by OC4J. This is done in the following code lines in the SampleApplication.jsp:
    // Get JDBC database connection
    InitialContext ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("jdbc/"+dataSource.toLowerCase());
    Connection conn = ds.getConnection();
    // Load network
    net = NetworkManager.readNetwork(conn, networkName);
    In other words, for this to work, you need a datasource defined for OC4J, called "jdbc/spatial10g" (since dataSource is defined by default to be "SPATIAL10G".
    To define the datasource, refer to chapter 11, page 499, at the bottom of the page. You need to add the following to your data-sources.xml config file ($OC4J_HOME/j2ee/home/config/data-sources.xml):
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="spatial10g"
    location="jdbc/spatial10gCore"
    xa-location="jdbc/xa/spatial10gXA"
    ejb-location="jdbc/spatial10g"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="spatial"
    password="spatial"
    url="jdbc:oracle:thin:@localhost:1521:orcl101"
    inactivity-timeout="30"
    />
    (Adapt the url parameter to match your database definition)
    Thanks for pointing out this problem. We will update the errata page (http://www.apress.com/book/errataDisplay.html?bID=315&sID=2374) with clearer instructions.
    Albert Godfrind

  • BPM Sample Applications Released

    Hello All,
    I would like to announce the release of the new package of BPM sample applications using SAP NetWeaver BPM technology.  SAP customers and partners will find them ready-to-run in the [Enterprise Services Workplace|http://esworkplace.sap.com] (ES Workplace) ([http://esworkplace.sap.com|http://esworkplace.sap.com]) environment, together with technical documentation, process models, coding, and demo data. They serve as a starting point and accelerator for SOA projects using SAP NetWeaver BPM, and as a tool for demo and training purposes.
    These  BPM sample applications are implementations of typical business processes, such as:
        u2022     Approve Sales Order Change Request
        u2022     Approve Purchase Requisition and Create Purchase Order
        u2022     Manage Leave Request
        u2022     Unexpected Returns Handling
        u2022     Phase In Equipment
    In addition, the SOA landscape hosted on the ES Workplace site has been upgraded to Support Package 3 of SAP ERP 6.0 Enhancement Package 4. It comes with refreshed IDES test data, which allows customers and partners to apply updated and standardized test data to their demos, tests and development. To get immediate benefit, customers and partners need to renew their passwords as of November 2, 2009. All registered ES Workplace users will be informed via email by next week.
    You can share your experience with the samples in this BPM forum. If you have any questions, post them here as well, I will try to answer everyone.
    Thanks, Preslav

    Hi Manish,
    thanks for the feedback. You are right, we omitted exception handling in the process for this first set of BPM Samples fully focusing on the business process and the enterprise services. For a real productive solution exception handling needs to be added, of course - but for the purpose of BPM Simple Samples this would distract from the essential parts. We are currently considering more complex Samples which then will also include exception handling using the features of upcoming NetWeaver BPM 720.
    Regarding your question about best practice of using business rules, can you please be a bit more specific which BPM Sample and task you are referring to?
    Best regards,
    Christoph

  • Running LiveCycle sample applications

    I have a new LiveCycle installation on Ubuntu (8.04) following "Preparing to Install LiveCycle ES (Single Server)" and "Installing and Deploying LiveCycle ES for jBoss" with sample applications and mysql as database.
    I'm starting jBoss with "./run.sh -c all -b 192.168.0.11" and I can access the admin interface from "http://192.168.0.11:8080/adminui", but i cannot access samples on "http://192.168.0.11:8400/lcds-samples/" . The server is not listening on port 8400 on any interface.
    How can I access the samples?

    I think there is a little confusion here.
    You mention installing LiveCycle ES on Unbuntu.
    My first question is: Do you really mean LiveCycle ES (Enterprise Suite) or LiveCycle DS (Data Services)?
    I am assuming you mean LiveCycle ES since you mention that you can access http://localhost:8080/adminui. In this case, I would like to forwarn you that Ubuntu is not a supported environment for LiveCycle ES. We support Suse Enterprise Linux or RedHat Advanced Server for Linux flavours. Having said that, I would like to clarify that the sample applications that come with LiveCycle ES are accessed from the following URLs:
    http://localhost:8080/workspace (Process Management Web UI)
    http://localhost:8080/FormsIVS (LiveCycle Forms Installation Verification Sample)
    http://localhost:8080/ReaderExtensions (LiveCycle Reader Extensions Web UI)
    http://localhost:8080/contentspace (LiveCycle Content Services web ui)
    http://localhost:8080/edc (LiveCycle Rights Management Web UI)
    The sample URL that you are referring to (lcds-samples) is not provided with LiveCycle ES since it is part of the LiveCycle DS (Data Services) installation.

  • Steps to create Planning Sample Application in EPM11.1.2

    Hi,
    Can anybody provide me any helpful sources for the steps to create Planning sample application in EPM11.1.2.
    I tried in OBE and couldn't get step by step process for EPM11.1.2.
    If Possible please provide a link where I can follow step by step process.
    Thank you
    Venky

    John,
    Thank you for the reply. I created the data sourceusing workspace.
    I have few questions while creating the application.
    1. Do I need to create a blank application or follow the steps
    2. Folow the steps means with out selecting blank application click next and define all new dimensions that are there in .ads file
    scenario
    year
    period
    Entity
    Account
    Version
    Segments
    Currency
    with these create the application. Then I validated and got 4 errors. I am not able to deploy it.
    While creating the application it never asked me datasource details.
    Where I shoud provide the datasource details?
    Thank you
    vijay

  • Want to make a link in Customer order sample application!

    Want to make a link in Customer order sample application! ( In Reply To : Re: How to send E-mail from customer order sample application ? ) Mar 22, 2004 6:24 AM
    Reply
    Is it possible to make a link for upload files from Excel? ( In Reply To : Re: Error in upload CSV file format ? )
    I apologize again I want to make file upload and download link from excel to HTML DB Oracle , what I've to do in this regard, I want to make in the Customer Sample Application.If you explain in detail and steps than that will be very kind.
    Thanks in advance !

    muhammad--
    i am now more sure that you're asking what i thought you were asking, but i also now see where you might be getting confused. my original answer you your question (referenced above) still stands. i think you're getting confused, though, with the csv output functionality. it's not csv Input...it's csv output. that means it provides a link within your report region to allow users to download the data shown to a local csv document. there is no native functionality w/in htmldb to facilitate the uploading of spreadsheet data into one's application. in my original answer to your question, i said that my answer at the bottom of...
    Bulk Insert, SQL*Loader style
    ...gives you an idea as to one way to enable this in your app.
    hope this helps,
    raj

  • Urgent : Deployment error OWSM Sample application

    Hi Gurus,
    I am trying to deploy the LoanDemoOWSM sample application.I am getting the following error while trying to reference oasis-200401-wss-wssecurity-secext-1.0.xsd from my local oc4j server.
    BUILD FAILED
    D:\bpeljdev10131\jdev\mywork\LoanDemoOWSM\LoanFlowOWSM\build.xml:79: A problem occured while connecting to server "localhost" using port "8888": bpel_LoanFlowOWSM_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "LoanFlowOWSM" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_LoanFlowOWSM_1.0_a7dfb5af8756c092cf44f709a7d9ac84.tmp/LoanFlowOWSM.wsdl", message part element "{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:773)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:639)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:452)
    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:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:618)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:318)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:340)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 23 seconds
    I tried adding the oasis-200401-wss-wssecurity-secext-1.0.xsd file to the same location as my bpel process and referenced it as a local file in my BPEL process.
    Now the error I get is as follows
    Error while loading process.
    The process domain encountered the following errors while loading the process "LoanFlowOWSM" (revision "1.0"): BPEL validation failed.
    BPEL source validation failed, the errors are:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_LoanFlowOWSM_1.0_a7dfb5af8756c092cf44f709a7d9ac84.tmp/LoanFlowOWSM.wsdl", message part element "{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:773)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:639)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:452)
    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:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:618)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:318)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:340)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 23 seconds
    In both cases , I think the BPEL process is not able to access the type definitions in oasis-200401-wss-wssecurity-secext-1.0.xsd file.
    Please help me fix this error.
    Thanks in Advance,
    Prasanna

    Like i have mentioned in the question.. i am using NWDS 7.0.
    To be precise NWDS: 7.0.12
    WAS 7.0 SP 13
    Project BuUild is succesful but deployment aborts with the error mentioned in the question.

  • Running Virtual Shopping Mall Sample Application

    Hi,
    I'm trying with OTN demo application:
    Virtual Shopping Mall Sample Application using
    Business Components for Java Framework.
    My question occurs in the moment of
    running the application using Oracle9i JDeveloper.
    As described in the Install.htm after going through
    all prerequisite steps :
    Running the VSM web application :
    Right click on the project VSMWebapp.jpr and select "Run".
    This will deploy the application to embedded OC4J ,
    open the default browser and present you with the main page of the application...
    In my case in the moment before opening the main page,
    the Error page is displayed (shown in the bottom).
    Can somebody help me for resolving this?
    Thanks,
    Kostadin Stojanov
    500 Internal Server Error
    java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    void org.apache.struts.action.ActionServlet.<clinit>()
    ActionServlet.java:375
    java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, java.lang.ClassLoader)
    native code
    java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader)
    Class.java:195
    com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletInstanceInfo com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.loadServlet(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ByteString)
    HttpApplication.java:1890
    com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletInstanceInfo com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.findServlet(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ByteString)
    HttpApplication.java:4355
    void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.initPreloadServlets()
    HttpApplication.java:4455
    void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.initDynamic(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplicationConfig)
    HttpApplication.java:662
    void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication.<init>(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.Application, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplicationConfig, java.lang.String, java.lang.String, boolean)
    HttpApplication.java:435
    com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.Application.getHttpApplication(java.lang.String, java.lang.String, boolean, long, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite, boolean)
    Application.java:695
    com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpServer.getHttpApplication(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplicationReference, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite)
    HttpServer.java:676
    com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpApplication com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpSite.getApplication(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ByteString)
    HttpSite.java:388
    boolean com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
    HttpRequestHandler.java:407
    void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
    HttpRequestHandler.java:259
    void com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run()
    HttpRequestHandler.java:106
    void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
    PooledExecutor.java:803
    void java.lang.Thread.run()
    Thread.java:484

    I found solution in the tread - topic with subject:
    Problem running new vsm samples
    the link is
    Re: Problem running new vsm samples
    Kostadin Stojanov

  • SSO java sample application problem

    Hi all,
    I am trying to run the SSO java sample application, but am experiencing a problem:
    When I request the papp.jsp page I end up in an infinte loop, caught between papp.jsp and ssosignon.jsp.
    An earlier thread in this forum discussed the same problem, guessing that the cookie handling was the problem. This thread recommended a particlar servlet , ShowCookie, for inspecting the cookies for the current session.
    I have installed this cookie on the server, but don't see anything but one cookie, JSESSIONID.
    At present I am running the jsp sample app on a Tomcat server, while Oracle 9iAS with sso and portal is running on another machine on the LAN.
    The configuration of the SSO sample application is as follows:
    Cut from SSOEnablerJspBean.java:
    // Listener token for this partner application name
    private static String m_listenerToken = "wmli007251:8080";
    // Partner application session cookie name
    private static String m_cookieName = "SSO_PAPP_JSP_ID";
    // Partner application session domain
    private static String m_cookieDomain = "wmli007251:8080/";
    // Partner application session path scope
    private static String m_cookiePath = "/";
    // Host name of the database
    private static String m_dbHostName = "wmsi001370";
    // Port for database
    private static String m_dbPort = "1521";
    // Sehema name
    private static String m_dbSchemaName = "testpartnerapp";
    // Schema password
    private static String m_dbSchemaPasswd = "testpartnerapp";
    // Database SID name
    private static String m_dbSID = "IASDB.WMDATA.DK";
    // Requested URL (User requested page)
    private static String m_requestUrl = "http://wmli007251:8080/testsso/papp.jsp";
    // Cancel URL(Home page for this application which don't require authentication)
    private static String m_cancelUrl = "http://wmli007251:8080/testsso/fejl.html";
    Values specified in the Oracle Portal partner app administration page:
         ID: 1326
         Token: O87JOE971326
         Encryption key: 67854625C8B9BE96
         Logon-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_login
         single signoff-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_logout
         Name: testsso
         Start-URL: http://wmli007251:8080/testsso/
         Succes-URL: http://wmli007251:8080/testsso/ssosignon.jsp
         Log off-URL: http://wmli007251:8080/testsso/papplogoff.jsp
    Finally I have specified the cookie version to be v1.0 when running the regapp.sql script. Other parameters for this script are copied from the values specified above.
    Unfortunately the discussion in the earlier thread did not go any further but to recognize the cookieproblem, so I am now looking for help to move further on from here.
    Any ideas will be greatly appreciated!
    /Mads

    Pierre - When you work on the sample application, you should test the pages in a separate browser instance. Don't use the Run Page links from the Builder. The sample app has a different authentication scheme from that used in the development environment so it'll work better for you to use a separate development browser from the application testing browser. In the testing browser, to request the page you just modified, login to the application, then change the page ID in the URL. Then put some navigation controls into the application so you can run your page more easily by clicking links from other pages.
    Scott

  • SSO SDK Java Sample Application

    I have configured the sample application (servlet-based), shown in SSO SDK Developer guide.
    I followed all the steps very carefully. When I try to access the partner application, it redirect me to
    the login form of the Login Server, and then loop between the sign-on URL and the requested URL.
    It seems that the cookie with the user name is lost during redirection. The readme file refers that in a case like this I should check the value of the application cookie domain.
    I am running the sample in a single pc environment and my server name is localhost. Which is the right value for the application cookie domain (localhost, .localhost ?????).
    In addition, my cookie path value is "/".
    Thanks in advance.

    This problem is their in the early version of SDK.
    The latest version has correct comparison with null

  • Sample Application

    Hi,
    I am trying to run the sample application Hrs. After I completed the installation instructions, when I try to run the MainPage.jsp, I get an error message:
    Unable to find class for bean: hrsBean defined by tag with class: HotelBean
    I am getting the same message, when I try to run the Jdbc sample also. The difference here is that the name of the class not found is JdbcQueryBean.
    Could you tell me what the problem is. I am running 9iAS on a Compaq Tru64 with 8.1.7 portal 3.0.6.6.5
    Thanks
    Murali

    I apologize for posting this here. I am posting it on the OTN samples thread. Please reply there.
    Murali

Maybe you are looking for

  • Cannot use my iphone 3gs after update to iOs 6

    hey i m havin an iphone 3gs 32GB which i tried updating to iOs 6 and i was able to update my device but then its saying failed to activate your iphone install sim and all dat i have a sim installed n ive tried both the methods of activation i.e throu

  • G5 shutting down experience

    Yup my first generation G5 shut down twice on Saturday. Couldn't sleep so I got up and turned it on and came to this forum. Saw that I'm not the only one; got directed to the extension repair program page http://www.apple.com/support/imac/repairexten

  • A transacction or table which can display all the souce system

    Hi, Is there any transaction or table which can display all the source systems? Thanks in advance.

  • Error in Unit conversion while data loading

    Hi, I have maintained DSO in Material (0MATERIAL) info object > Bex tab > Base unit of measure > ZDSO; Then loaded this ZDSO from std data source  0MAT_UNIT_ATTR so that all conversion factors into different units which are maintained in material mas

  • IPad sync errors

    I am having multiple iPad sync errors. First, I am getting repeated notifications to authorize my PC on random songs. I have followed the Apple support document and completed all steps with no success. Any other suggestions? Secondly, many of the son