Duke bank application client probleam

Warning: Could not find file /usr/local/sges-v3/glassfish/domains/domain1/gener ated/xml/dukesbank/dukesbankClient.jar to copy.
Copying 1 file to /root/10 jun/javaeetutorial5/examples/dukesbank/dist
Copying 3 files to /root/10 jun/javaeetutorial5/examples/dukesbank/dist/dukesb ankClient
Copying 1 file to /root/10 jun/javaeetutorial5/examples/dukesbank/dist/dukesb ankClient
java.lang.NullPointerException
at org.glassfish.appclient.client.acc.ACCLogger$1.run (ACCLogger.java:149)
at java.security.AccessController.doPrivileged(Native Method)
at org.glassfish.appclient.client.acc.ACCLogger.revis eLogger(ACCLogger.java:146)
at org.glassfish.appclient.client.acc.ACCLogger.init( ACCLogger.java:93)
at org.glassfish.appclient.client.acc.ACCLogger.<init >(ACCLogger.java:80)
at org.glassfish.appclient.client.AppClientFacade.cre ateBuilder(AppClientFacade.java:360)
at org.glassfish.appclient.client.AppClientFacade.pre pareACC(AppClientFacade.java:247)
at org.glassfish.appclient.client.acc.agent.AppClient ContainerAgent.premain(AppClientContainerAgent.jav a:75)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.instrument.InstrumentationImpl.loadClassAndSta rtAgent(InstrumentationImpl.java:323)
at sun.instrument.InstrumentationImpl.loadClassAndCal lPremain(InstrumentationImpl.java:338)
Java Result: 1
run-dukesbank-appclient:
BUILD SUCCESSFUL (total time: 25 seconds)

Application client not running in duke bank Application for Netbeans IDE 6.8 and Application server Glass Fish and Data Base Java DB
I made all installation as per guide of j2eetutorial5.zip application but i got struck while I am trying to run application client

Similar Messages

  • Duke' Bank Application in j2ee 1.5 using ejb 3

    Will the Duke' Bank Application from j2ee 1.4 tutorial be rewritten, using ejb3 and java persistence in j2ee 1.5 tutorial? Is there a way to get a beta version of it , if there exists one?

    Here is the link to the new J2EE 5 tutorial:
    http://java.sun.com/javaee/5/docs/tutorial/doc/index.html

  • WEB CLIENT in Duke�s Bank Application

    Hi, I have a problem with running the WEB CLIENT in Duke�s Bank Application.
    First about the VERSIONs:
    I downloaded
    "The Java EE 5 Tutorial" For Sun Java System Application Server Platform Edition 9, dated: June 16 2006
    The source for the tutorial examples is obtained from the above mentioned "The Java EE 5 Tutorial" online, when on that page click on "Download". The downloaded file is
    javaee-5-doc-tutorial-1[1].0_01.
    I am running Sun Java System Application Server Platform Edition 9.0 (build b48).
    I am referring to what happens when I follow the instructions on pages 1209-1213 of the manual
    After you have read the description of the problem, please see below for output from running:
    ant create-tables
    ant
    ant deploy
    which I did according to the tutorial. Also I created the users according to the tutorial.
    As you can see below,
    ant reported �dukesbank-war\src\conf\persistence.xml� missing
    Could someone please explain why (and whether that is the reason for my problems).
    This seems significant (though I am an absolute beginner in J2EE and may be wrong). Would it be possible that the file �dukesbank-war\src\conf\persistence.xml� mistakenly was not included in the zipped source code file?
    APPLICATION CLIENT it would seem runs okay. I could log on as bankadmin, create a new customer.
    WEB CLIENT
    First of all the manual says the url is
    http://localhost:1189/dukesbank/main.faces
    but the url that works is
    http://localhost:1189/dukesbank-war/main.faces
    Is that just a small inaccuracy in the manual, or there is more to it?
    Now for the problem:
    I do get the page �Please enter your customer ID and password and click Submit�
    If I enter the user 200 (the one created as per the tutorial), I get:
    HTTP Status 403 - Access to the requested resource has been denied
    type Status report
    message Access to the requested resource has been denied
    description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
    Sun Java System Application Server Platform Edition 9.0
    However, if I enter a non-existing user I get the page �dukesbank-war/j_security_check � which tells me:
    �Please check your customer ID and password.�
    �. Which is of course a correct response. (I would get the same response with the correct user 200 but incorrect password, which also makes sense)
    So, what is the problem when I use a correct user name and password, why can't I proceed?
    THE ANT OUTPUTS:
    C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\examples\dukesbank>ant create
    -tables
    Buildfile: build.xml
    -pre-init:
    init:
    check:
    tools:
    start-db:
    [exec] Database already started on host localhost, port 1527.
    [exec] Command start-database executed successfully.
    delete-tables:
    [sql] Executing file: C:\javaeetutorial5\examples\common\sql\javadb\de
    .sql
    [sql] 24 of 24 SQL statements executed successfully
    create-tables:
    [sql] Executing file: C:\javaeetutorial5\examples\common\sql\javadb\tu
    al.sql
    [sql] 181 of 181 SQL statements executed successfully
    BUILD SUCCESSFUL
    Total time: 9 seconds
    C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\examples\dukesbank>ant
    Buildfile: build.xml
    -pre-init:
    init:
    default-ear:
    -pre-init:
    init:
    default-ear:
    -pre-compile:
    bpp-actual-compilation:
    [echo] Compiling dukesbank-ejb
    [mkdir] Created dir: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exam
    ples\dukesbank\dukesbank-ejb\build\jar
    [javac] Compiling 25 source files to C:\javaee-5-doc-tutorial-1[1].0_01\java
    eetutorial5\examples\dukesbank\dukesbank-ejb\build\jar
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    -post-compile:
    compile:
    package:
    bpp-package-persistence-unit-war:
    bpp-package-persistence-unit-ejb-jar:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\dukesbank-ejb\build\jar\META-INF
    package-persistence-unit:
    [delete] Deleting: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\example
    s\dukesbank\dukesbank-ejb\build\dukesbank-ejb.jar
    [jar] Building jar: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exa
    mples\dukesbank\dukesbank-ejb\build\dukesbank-ejb.jar
    [delete] Deleting directory C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial
    5\examples\dukesbank\dukesbank-ejb\build\jar
    bpp-copy-dist:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\dukesbank-ejb\dist
    default-not-ear:
    default:
    -pre-init:
    init:
    default-ear:
    copy-common-jars:
    -pre-compile:
    bpp-actual-compilation:
    [echo] Compiling dukesbank-appclient
    -post-compile:
    compile:
    package:
    [mkdir] Created dir: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exam
    ples\dukesbank\dukesbank-appclient\build\app-client
    [copy] Copying 27 files to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutoria
    l5\examples\dukesbank\dukesbank-appclient\build\app-client
    [delete] Deleting: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\example
    s\dukesbank\dukesbank-appclient\build\dukesbank-appclient.jar
    [jar] Building jar: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exa
    mples\dukesbank\dukesbank-appclient\build\dukesbank-appclient.jar
    [delete] Deleting directory C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial
    5\examples\dukesbank\dukesbank-appclient\build\app-client
    bpp-copy-dist:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\dukesbank-appclient\dist
    default-not-ear:
    default:
    Trying to override old definition of task iterate
    -pre-init:
    init:
    default-ear:
    build-common:
    -pre-init:
    init:
    default-ear:
    -pre-compile:
    bpp-actual-compilation:
    [echo] Compiling dukesbank-ejb
    [mkdir] Created dir: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exam
    ples\dukesbank\dukesbank-ejb\build\jar
    [javac] Compiling 25 source files to C:\javaee-5-doc-tutorial-1[1].0_01\java
    eetutorial5\examples\dukesbank\dukesbank-ejb\build\jar
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    -post-compile:
    compile:
    package:
    bpp-package-persistence-unit-war:
    bpp-package-persistence-unit-ejb-jar:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\dukesbank-ejb\build\jar\META-INF
    package-persistence-unit:
    [delete] Deleting: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\example
    s\dukesbank\dukesbank-ejb\build\dukesbank-ejb.jar
    [jar] Building jar: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exa
    mples\dukesbank\dukesbank-ejb\build\dukesbank-ejb.jar
    [delete] Deleting directory C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial
    5\examples\dukesbank\dukesbank-ejb\build\jar
    bpp-copy-dist:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\dukesbank-ejb\dist
    default-not-ear:
    default:
    copy-common-jars:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\dukesbank-war\build\web\WEB-INF\lib
    -pre-compile:
    bpp-actual-compilation:
    [echo] Compiling dukesbank-war
    -post-compile:
    compile:
    package:
    [mkdir] Created dir: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exam
    ples\dukesbank\dukesbank-war\build\war
    bp-copy-classes:
    [mkdir] Created dir: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exam
    ples\dukesbank\dukesbank-war\build\war\WEB-INF\classes
    [copy] Copying 25 files to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutoria
    l5\examples\dukesbank\dukesbank-war\build\war\WEB-INF\classes
    [copy] Copying 27 files to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutoria
    l5\examples\dukesbank\dukesbank-war\build\war
    bpp-package-persistence-unit-war:
    [mkdir] Created dir: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exam
    ples\dukesbank\dukesbank-war\build\war\WEB-INF\classes\META-INF
    [copy] Warning: Could not find file C:\javaee-5-doc-tutorial-1[1].0_01\java
    eetutorial5\examples\dukesbank\dukesbank-war\src\conf\persistence.xml to copy.
    [copy] Warning: Could not find file C:\javaee-5-doc-tutorial-1[1].0_01\java
    eetutorial5\examples\dukesbank\dukesbank-war\src\conf\persistence.xml to copy.
    bpp-package-persistence-unit-ejb-jar:
    package-persistence-unit:
    [delete] Deleting: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\example
    s\dukesbank\dukesbank-war\build\dukesbank-war.war
    [jar] Building jar: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exa
    mples\dukesbank\dukesbank-war\build\dukesbank-war.war
    [delete] Deleting directory C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial
    5\examples\dukesbank\dukesbank-war\build\war
    bpp-copy-dist:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\dukesbank-war\dist
    default-not-ear:
    default:
    -pre-compile:
    bpp-actual-compilation:
    [echo] Compiling dukesbank
    -post-compile:
    compile:
    package:
    [echo] building ear package
    [mkdir] Created dir: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exam
    ples\dukesbank\build\ear
    [mkdir] Created dir: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exam
    ples\dukesbank\build\ear\META-INF
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\build\ear\META-INF
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\build\ear\META-INF
    bpp-copy-dist:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\build\ear
    bpp-copy-dist:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\build\ear
    Trying to override old definition of task iterate
    bpp-copy-dist:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5
    \examples\dukesbank\build\ear
    [delete] Deleting: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\example
    s\dukesbank\build\dukesbank.ear
    [jar] Building jar: C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\exa
    mples\dukesbank\build\dukesbank.ear
    bpp-copy-dist:
    [copy] Copying 1 file to C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial
    \examples\dukesbank\dist
    default-not-ear:
    default:
    BUILD SUCCESSFUL
    Total time: 9 seconds
    C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\examples\dukesbank>
    C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\examples\dukesbank>ant deploy
    Buildfile: build.xml
    check:
    tools:
    -pre-deploy:
    -pre-init:
    init:
    check:
    tools:
    start-db:
    [exec] Database already started on host localhost, port 1527.
    [exec] Command start-database executed successfully.
    delete-tables:
    [sql] Executing file: C:\javaeetutorial5\examples\common\sql\javadb\del
    .sql
    [sql] 24 of 24 SQL statements executed successfully
    create-tables:
    [sql] Executing file: C:\javaeetutorial5\examples\common\sql\javadb\tut
    al.sql
    [sql] 181 of 181 SQL statements executed successfully
    deploy:
    [exec] Command deploy executed successfully.
    deploy-url-message:
    [echo] Application Deployed at: http://localhost:8080/dukesbank
    BUILD SUCCESSFUL
    Total time: 13 seconds
    C:\javaee-5-doc-tutorial-1[1].0_01\javaeetutorial5\examples\dukesbank>
    So please do try this all and respond. If you have ever got Duke's Bank WEB CLIENT going on any other version of j2EE tutorial or application server please let me know too, I am happy to go to a previous version!
    Message was edited by:
    grand_armee on 10-nov-06-
    added version information
    Message was edited by:
    grand_armee

    As you can see below,
    ant reported �dukesbank-war\src\conf\persistence.xml�
    missing
    Could someone please explain why (and whether that is
    the reason for my problems).
    This seems significant (though I am an absolute
    beginner in J2EE and may be wrong). Would it be
    possible that the file
    �dukesbank-war\src\conf\persistence.xml� mistakenly
    was not included in the zipped source code file?You can ignore that warning message. It's part of the BluePrints build system, which checks to see if you have persistence.xml in your WAR so it can package it. The persistence unit is in in the EJB JAR for Duke's Bank:
    javaeetutorial5/examples/dukesbank/dukesbank-ejb/src/conf/persistence.xml
    First of all the manual says the url is
    http://localhost:1189/dukesbank/main.faces
    but the url that works is
    http://localhost:1189/dukesbank-war/main.faces
    Is that just a small inaccuracy in the manual, or
    there is more to it? Actually, in "Running the Web Client" the page is:
    http://localhost:8080/bank/main.faces
    So in your case it should be:
    http://localhost:1189/bank/main.faces
    Try that URL instead, and see if you get the same error.
    -ian

  • Security check, j_security_check, Duke's Bank Application

    Hello all! I'm a newbie on j2ee and looking for answer to some thoughts.
    When looking at the "Duke's Bank Application" I found that the webclient use a form to authorize the user (logon.jsp), the form post to "j_security_check".
    - What is "j_security_check" and where is it defined?
    - In deplytool I noticed that the BankWAR have some security settings that are set to "Form Based" and that there are some login-stuff in web.xml but...how does it connect to j_security_check?

    I also got the same problem whenever I run the web client, the application client is working just fine. Please help!!!
    Thanks,
    ace

  • Duke's Bank Application

    Where can I find the files for the duke's bank application?

    Where did you look?
    What did Google suggest?
    %

  • Getting error while compiling The Duke’s Bank Application

    Hi,
    I am trying to complies The Duke’s Bank Application with reference to http://docs.jboss.org/jbossas/getting_started/v4/html/dukesbank.html guide.
    I am getting the following error:
    D:\Technical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-src\examples\bank>ant -f jboss-build.xml c
    pile
    Buildfile: jboss-build.xml
    prepare:
    compile:
    [javac] Compiling 5 source files to D:\Technical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-sr
    examples\bank\build
    BUILD FAILED
    D:\Technical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-src\examples\bank\jboss-build.xml:44: D:\T
    hnical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-src\examples\bank\${jboss.server}\lib not found.
    Total time: 0 seconds
    D:\Technical\Software\Tutorial\J2ee\Installation\J2ee-1_4\J2ee-1_4\j2ee-1_4-doc-tutorial_7\j2eetutorial14\jbossj2ee-src\examples\bank>
    Its not able to find ${jboss.server}\lib.
    What is the solution for this compiling problem. Please help me.
    Thanks in Advance.

    Hi,
    This could also be a reason :
    If you have any private proc defined in package body, make sure you define it at the top before using in other proc inside package body.

  • Why can't use all the function when deployed Duke Bank successfully

    i am use the DukesBankApp.ear in j2eetutorial14 to deployed .When i change the "public Object ejbCreate() throws CreateException" to "public String ejbCreate() throws CreateException",deployed Duke Bank successfully
    But,I open the client,i can not use all the function. for example,when i creat new customer or account .Applecation message watch will say "remote exception"
    why?or send the true DukesBankApp.ear to me .My mailbox is "[email protected]"
    thinks!!!!! i want to receive your help imminence!think you very much!

    the sever log say:
    [#|2005-05-10T22:39:18.609+0800|&#20449;&#24687;|sun-appserver-pe8.0|javax.enterprise.system.container.ejb|_ThreadID=13;|
    javax.ejb.EJBException: createCustomer: Could not create Entity EJB; nested exception is: com.sun.jdo.api.persistence.support.JDOFatalUserException: JDO76604: JNDI lookup for cmp-resource 'jdbc/BankDB' failed.
    NestedException: javax.naming.NameNotFoundException: BankDB not found
         at com.sun.ebank.ejb.customer.CustomerControllerBean.createCustomer(Unknown Source)
         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:324)
         at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:146)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:930)
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:151)
         at com.sun.ejb.containers.EJBObjectInvocationHandler.invoke(EJBObjectInvocationHandler.java:128)
         at $Proxy27.createCustomer(Unknown Source)
         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:324)
         at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:117)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:651)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:190)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1653)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1513)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:895)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:172)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:668)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:375)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.read(SocketOrChannelConnectionImpl.java:284)
         at com.sun.corba.ee.impl.transport.ReaderThreadImpl.doWork(ReaderThreadImpl.java:73)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:382)
    |#]

  • Got Error when Deploy Duke Bank!!!!!!!!!

    I had deployed the Duke Bank for over ten times but I never succeed.
    I had followed the "j2eetutorial14" step by step but I got error time by time.
    sometimes I got the Error like this:
    distribute: D:\j2eetutorial14\examples\bank\DukesBankApp.ear
    deployment started : 0%
    Deploying application in domain failed; Fatal Error from EJB Compiler -- Compilation failed: Native compiler returned an error: 1
    Error messages are: D:\Sun\AppServer\domains\domain1\generated\ejb\j2ee-apps\DukesBankApp\com\sun\ebank\ejb\util\NextIdBean_1892492754_ConcreteImpl.java:176: ejbCreate() in com.sun.ebank.ejb.util.NextIdBean_1892492754_ConcreteImpl cannot override ejbCreate() in com.sun.ebank.ejb.util.NextIdBean; attempting to use incompatible return typefound : java.lang.Stringrequired: java.lang.Object public java.lang.String ejbCreate () ^1 error; requested operation cannot be completed
    !!! Operation Failed !!!
    !!! With The Following Failure Messages !!!
    Deploying application in domain failed; Fatal Error from EJB Compiler -- Compilation failed: Native compiler returned an error: 1
    Error messages are: D:\Sun\AppServer\domains\domain1\generated\ejb\j2ee-apps\DukesBankApp\com\sun\ebank\ejb\util\NextIdBean_1892492754_ConcreteImpl.java:176: ejbCreate() in com.sun.ebank.ejb.util.NextIdBean_1892492754_ConcreteImpl cannot override ejbCreate() in com.sun.ebank.ejb.util.NextIdBean; attempting to use incompatible return typefound : java.lang.Stringrequired: java.lang.Object public java.lang.String ejbCreate () ^1 error; requested operation cannot be completedFatal Error from EJB Compiler -- Compilation failed: Native compiler returned an error: 1
    Error messages are: D:\Sun\AppServer\domains\domain1\generated\ejb\j2ee-apps\DukesBankApp\com\sun\ebank\ejb\util\NextIdBean_1892492754_ConcreteImpl.java:176: ejbCreate() in com.sun.ebank.ejb.util.NextIdBean_1892492754_ConcreteImpl cannot override ejbCreate() in com.sun.ebank.ejb.util.NextIdBean; attempting to use incompatible return typefound : java.lang.Stringrequired: java.lang.Object public java.lang.String ejbCreate () ^1 error
    [Completed (time=51.0sec, status=13)]
    [Completed (time=51.1sec, status=13)]
    sometimes I got the Error like this:
    distribute: D:\j2eetutorial14\examples\bank\DukesBankApp.ear
    [TIMEOUT: 'ProgressObject' never started running.]
    deployment started : 0%
    !!! Operation Incomplete [NotRunning] !!!
    [Completed (time=4.9sec, status=12)]
    my env:j2ee1.4 2005Q1+win2003
    Can anyone help me???

    i noticed that my path was pointed to the regular jdk install. i changed it to point to the one in my j2ee home. same error. bounce the server and the deploytool also.
    here is my new asant
    C:\Sun\AppServer\j2eetutorial14\examples\bank>asant listprops
    Buildfile: build.xml
    listprops:
    [echo] Path information
    [echo] j2ee.home = C:Sun\AppServer
    [echo] j2ee.tutorial.home = C:\SunAppServer\j2eetutorial14
    [echo] j2ee.home = C:Sun\AppServer
    [echo] env.Path = C:\oracle\bin;C:\oracle\jre\1.4.2\bin\client;C:\oracle\jre\1.4.2\bin;C:\oracl
    e\product\10.1.0\db_1\bin;C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;C:\oracle\product\10.1.
    0\db_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Te
    chnologies\ATI Control Panel;C:\Sun\AppServer\jdk\bin;C:\Sun\AppServer\jdk\bin;C:\Sun\AppServer\bin;
    ;C:\Program Files\SSH Communications Security\SSH Secure Shell
    [echo] env.PATH = ${env.PATH}
    [echo] Classpath information
    [echo] classpath = ${env.CLASSPATH}
    [echo] Admin information
    [echo] admin.password = ${AS_ADMIN_PASSWORD}
    [echo] admin.password.file = C:\SunAppServer\j2eetutorial14/examples/common/admin-password.txt
    [echo] admin.host = localhost
    [echo] admin.user = admin
    [echo] admin.port = 4848
    [echo] https.port = 8181
    [echo] Domain information
    [echo] domain.resources = "domain.resources"
    [echo] domain.resources.port = 8080
    [echo] Database information
    [echo] db.root = C:Sun\AppServer/pointbase
    [echo] db.driver = com.pointbase.jdbc.jdbcUniversalDriver
    [echo] db.host = localhost
    [echo] db.port = 9092
    [echo] db.sid = sun-appserv-samples
    [echo] db.url = jdbc:pointbase:server://localhost:9092/sun-appserv-samples
    [echo] db.user = pbpublic
    [echo] db.pwd = pbpublic
    [echo] url.prop = DatabaseName
    [echo] ds.class = com.pointbase.jdbc.jdbcDataSource
    [echo] db.jvmargs = -ms16m -mx32m
    BUILD SUCCESSFUL
    Total time: 1 second
    C:\Sun\AppServer\j2eetutorial14\examples\bank>
    v

  • Oracle Bank Rich Client

    Hi,
    Can anyone advice where i can download the sample application for oracle bank rich client.
    Thank you in advance

    Hi,
    can you give us an idea where you saw this demo ? I am not aware of a public demo we use. If this was shown in the context of a keynote then this sample is not available to public
    Frank

  • The custom error message in the bank application is displaying in English

    Hello Team,
    The custom error message for a blank institution number in the bank application is displaying in English when the user is logged in French. See attached screen shot.
    ESS --> Personal Information --> Bank Information.
    Could any one let me know the procedure in solving the error. Helpful answer is highly appreciated.
    Thanks,
    Sankar

    Hi,
    sandip is correct, go to SE11 Table T100.
    I did it this way: Searched for (in my case) SPRSL = DE and TEXT = "Bitte Bankschlüssel eingeben" (that's the said error message). With the upcoming result I got the message ID and message Number, these are:
    ARBGB = 'AR' MSGNR = '195'
    ARBGR = '1J' MSGNR ='510'
    Maintain them for your SPRSL and you should be fine.
    regards, Lukas

  • Application Client to call JSP...

    Hi all,
    I am using Websphere to write EJB codes and JSP pages and print report based on data retrieved from database. Every morning, i need to manually print sales reports and copied it to a network folder. I found it very tedious. I planned to write an application client to automate the task at midnite. I managed to call the session bean using the client but how can I call the jsp page to print the report? Is it possible? Can I save the jsp page to network folder automatically? Thank you for your help.
    Regards,
    Dreon

    Here is some simple code to read from a url
    private String loadPage() throws Exception
              StringWriter      out;
              URL                url;
              URLConnection     conn;
              BufferedReader     reader;
              String               inputString;
              out = new StringWriter();
              if ( logLoads ) System.out.println("Running loadPage, for URL : " + url );
              conn = _url.openConnection();
              conn.connect();
              if (DEBUG) System.out.println(" connected to server...");
              _contentType = conn.getContentType();
              if (DEBUG) System.out.println(" got Content Type : " + conn.getContentType() );
              reader = new BufferedReader( new InputStreamReader( conn.getInputStream() ) );
              if (DEBUG) System.out.println(" Ready to read data..." );
              while (true) {
                   inputString = reader.readLine();
                   int index = inputString.toUpperCase().indexOf("<HTML>");
                   if ( index >= 0 ) {
                        if (DEBUG) System.out.println(" found <HTML> tag in line : '" + inputString + "'");
                        out.write( inputString.substring( index, inputString.length() ).trim() + "\n" );
                        break;
              inputString = reader.readLine().trim();
              while ( inputString != null ) {
                   if ( inputString.length() > 0 )
                        out.write( inputString + "\n" );
                   inputString = reader.readLine();
              if (DEBUG) System.out.println(" finished.");
              return out.toString();
    }

  • Combining single transaction between session bean & application client

    Hi All,
    The following transaction exception was encountered when trying to combine a EmployeeSessionBean.create(Employee) method in an application client:
    Application Client output
    SEVERE: null
    javax.transaction.SystemException: org.omg.CORBA.UNKNOWN: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.UNKNOWN: WARNING: IOP00010002: Unknown user exception thrown by the server - exception: org.eclipse.persistence.exceptions.DatabaseException; message:
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.
    Error Code: 0
    Call: INSERT INTO EmployeeDB.Project (ID, NAME) VALUES (?, ?)
    bind => [2 parameters bound]
    Query: InsertObjectQuery(domain.Project@19d2d53) vmcid: OMG minor code: 2 completed: Maybe
    at com.sun.gjc.spi.base.DataSource.getConnection(DataSource.java:117)
    at org.eclipse.persistence.sessions.JNDIConnector.connect(JNDIConnector.java:126)
    ----------END server-side stack trace---------- vmcid: OMG minor code: 2 completed: Maybe
    at com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:332)
    at com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate.commitDistributedTransaction(JavaEETransactionManagerJTSDelegate.java:184)
    at com.sun.enterprise.transaction.JavaEETransactionManagerSimplified.commit(JavaEETransactionManagerSimplified.java:873)
    at com.sun.enterprise.transaction.UserTransactionImpl.commit(UserTransactionImpl.java:208)
    at applicationClient(*applicationClient.java:229*)
    GF 3.1 Server log
    WARNING: A system exception occurred during an invocation on EJB EmployeeSessionBean method public void ejb.EmployeeSessionBean.create(Employee) javax.ejb.EJBException
    Caused by: javax.persistence.TransactionRequiredException
    at ejb.EmployeeSessionBean.create(*EmployeeSessionBean.java:27*)
    SEVERE: RAR5027:Unexpected exception in resource pooling
    java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.
    WARNING: RAR7132: Unable to enlist the resource in transaction. Returned resource to pool. Pool name: [ mysqlPool ]
    WARNING: RAR5117 : Failed to obtain/create connection from connection pool [ mysqlPool ]. Reason : com.sun.appserv.connectors.internal.api.PoolingException: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.
    WARNING: RAR5114 : Error allocating connection : [Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.]
    WARNING: Local Exception Stack:
    Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.2.0.v20110202-r8913): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: java.lang.IllegalStateException: cannot add non-XA Resource to global JTS transaction.
    Below is the code snippet of EmployeeSessionBean & client.applicationClient:
    @Stateless
    //@TransactionManagement(TransactionManagementType.BEAN)
    public class EmployeeSessionBean implements EmployeeService {   
        @PersistenceContext(unitName="EmployeeDB-PU")
        private EntityManager manager;
        public void create(Employee employee) {
            manager.persist(employee);  // line 27
    import javax.transaction.UserTransaction;
    public class applicationClient {
    @Resource UserTransaction tx;
    @EJB private static EmployeeService bean;
    try {
        tx.begin();
        Employee employee = new Employee()
            bean.create(employee);
    } finally {
           try {
                 tx.commit();  // line 229
    }How to relinguish transaction on EmployeeSessionBean so that all transaction could take place in applicationClient side only?
    I am trying to apply examples in Pro JPA 2 to a Java EE 6 ManyToMany application.
    Your assistance would be much appreciated.
    Thanks,
    Jack

    Hi r035198x,
    Thank you for some solid advice and would rather JPA take care of all the special cases such as keeping the records unique.
    Below are the changes made as suggested in ( 1 ), ( 2 ), ( 3 ):
    @Entity
    @IdClass(EmployeePK.class)
    @Table(name="EMPLOYEE", catalog="EmployeeDB", schema="")
    public class Employee implements Serializable {
        @Id
        @Column(name="FIRSTNAME")
        private String firstName;
        @Id
        @Column(name="SURNAME")
        private String surName;
        @Id
        @Column(name="DOB")
        @Temporal(TemporalType.DATE)
        private Date dob;
        @ManyToMany(cascade={CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REFRESH}, fetch=FetchType.EAGER)
        @JoinTable(name="EMPLOYEE_PROJECT", catalog="EmployeeDB", schema="",
               joinColumns={@JoinColumn(name="FIRSTNAME_ID", referencedColumnName="FIRSTNAME"),
                            @JoinColumn(name="SURNAME_ID", referencedColumnName="SURNAME"),
                            @JoinColumn(name="DOB", referencedColumnName="DOB")},
               inverseJoinColumns={@JoinColumn(name="PROJECT_ID")})
            private Set<Project> projects = new HashSet<Project>();
    @Entity
    @Table(name="PROJECT", catalog="EmployeeDB", schema="")
    public class Project implements Serializable {
        @Id
        @GeneratedValue(strategy = GenerationType.IDENTITY)
        @Column(name="ID")
        private int id;
        @ManyToMany(mappedBy="projects", cascade={CascadeType.PERSIST, CascadeType.MERGE, CascadeType.REFRESH}, fetch=FetchType.EAGER)
            @JoinTable(name="EMPLOYEE_PROJECT", catalog="EmployeeDB", schema="",
               joinColumns={@JoinColumn(name="PROJECT_ID", referencedColumnName="PROJECT_ID")},
               inverseJoinColumns={@JoinColumn(name="FIRSTNAME_ID", referencedColumnName="FIRSTNAME"),
                            @JoinColumn(name="SURNAME_ID", referencedColumnName="SURNAME"),
                            @JoinColumn(name="DOB_ID", referencedColumnName="DOB")})
        private Set<Employee> employees = new HashSet<Employee>();
    @Stateless
    public class EmployeeSessionBean implements EmployeeService {
        @PersistenceContext(unitName="EmployeeDB-PU") private EntityManager manager;
        public void create(Employee employee)
            manager.persist(employee);
    public class applicationClient {
        @EJB
        private static EmployeeService bean;
        public static void main(String[] args) {
        Employee employee = new Employee()
        bean.create(employee);   // line 209
    } I have diverged slightly from using simple primary key (EMPLOYEE_ID) to composite key class (FIRSTNAME, SURNAME, DOB) to resemble the actual application.
    Also gone back to using non - XADatasources since I am depending on JTA to do all the hardwork on the server side.
    Unfortunately, we have hit a snag once again with the following exception still:
    Application Client Output
    java.lang.reflect.InvocationTargetException
    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.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:432)
    at org.glassfish.appclient.client.AppClientFacade.launch(AppClientFacade.java:182)
    at org.glassfish.appclient.client.AppClientGroupFacade.main(AppClientGroupFacade.java:65)
    Caused by: javax.ejb.EJBException: java.rmi.MarshalException: CORBA MARSHAL 1330446347 Maybe; nested exception is:
    org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.MARSHAL: WARNING: IOP00810011: Exception from readValue on ValueHandler in CDRInputStream vmcid: OMG minor code: 11 completed: Maybe
    Caused by: java.io.StreamCorruptedException: WARNING: ORBIO00013: Stream corrupted
    ----------END server-side stack trace---------- vmcid: OMG minor code: 11 completed: Maybe
    at ejb._EmployeeService_Wrapper.create(ejb/_EmployeeService_Wrapper.java)
    at applicationClient(applicationClient.java:209)
    GF 3.1 Server log
    WARNING: IOP00810011: Exception from readValue on ValueHandler in CDRInputStream
    org.omg.CORBA.MARSHAL: WARNING: IOP00810011: Exception from readValue on ValueHandler in CDRInputStream vmcid: OMG minor code: 11 completed: Maybe
    Caused by: java.lang.NullPointerException
    WARNING: ORBIO00013: Stream corrupted
    java.io.StreamCorruptedException: WARNING: ORBIO00013: Stream corrupted
    Your valuable input would be very appreciated.
    Thanks,
    Jack

  • EJB 3.0 Application Client threw Remote nested exception

    Hi All,
    I came across the following EJBException message when trying to retrieve an Employee record (entity bean in EJB 3.0) after having successfully added it into EMPLOYEE table using stateless session bean:
    *10/03/2009 8:53:14 PM com.sun.enterprise.appclient.MainWithModuleSupport <init>*
    WARNING: ACC003: Application threw an exception.
    javax.ejb.EJBException: nested exception is: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: null; nested exception is:
    java.lang.NullPointerException
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: null; nested exception is:
    java.lang.NullPointerException
    at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:243)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:205)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(BCELStubBase.java:225)
    at ejb.__EmployeeRemote_Remote_DynamicStub.findEmployee(ejb/__EmployeeRemote_Remote_DynamicStub.java)
    at ejb._EmployeeRemote_Wrapper.findEmployee(ejb/_EmployeeRemote_Wrapper.java)
    at client.EmployeeApplicationClient.printEmployee(EmployeeApplicationClient.java:608)
    at client.EmployeeApplicationClient.main(EmployeeApplicationClient.java:55)
    Below is the code snippets of EmployeeApplicationClient.java:
    public class EmployeeApplicationClient {
        @EJB
        private static EmployeeRemote employeebean1;
        @EJB
        private static EmployeeRemote employeebean2;
        public EmployeeApplicationClient() {}
        public static void main(String[] args)
            EmployeeApplicationClient employee_application_client = new EmployeeApplicationClient();
            employee_application_client.addEmployee(1, John, Smith);
            employee_application_client.printEmployee(1);
        public void addEmployee(int id, String firstname, String surname)
            try {
                Employee employee1 = new Employee();
                employee1.setID(id);                       
                employee1.setfirstname(firstname);                       
                employee1.setsurname(surname);                       
                employeebean1.createEmployee(employee1);
            catch {.....}
        public void printEmployee(int employee_id)
           Employee employee2 =  employeebean2.findEmployee(employee_id);
           System.out.println("employee Id: " + employeebean2.getId());
           System.out.println("employee firstname: " + employeebean2.getfirstname());
           System.out.println("employee surname: " + employeebean2.getsurname());
    }Using employeebean1/employeebean2 in printEmployee() did not make any difference.
    The error message appears to indicate that I have incorrectly structured these methods.
    The deployment of EmployeeBean was successful and employee1 is in EMPLOYEE table via SQL query.
    I am using JDK1.6.07, Glassfish v2 with MySQL 5.0 and Netbeans 6.1 on Windows XP platform.
    Any assistance would be greatly appreciated.
    Thanks,
    Jack

    Hi Ataraxisme,
    Thank you for responding to this post.
    This is a J2EE Application Client that was created and deployed along as an Netbeans EAR (both Application Client and EJB) project which uses resource injection as opposed to JNDI lookup.
    I am trying to get employeeApplicationClient.java to work the same way as the following travelAgentApplicationClient.java example which has successfully retrieved its record record immediately after adding using resource injection:
    public class TravelAgentClient {
        @EJB
        private static TravelAgentRemote travelagent;
        public TravelAgentClient() {
        public static void main(String[] args) {
            TravelAgentClient client = new TravelAgentClient();
            client.doTravelAgent();
        public void doTravelAgent() {
            try {
                Cabin cabin_1 = new Cabin();
                cabin_1.setId(1);
                cabin_1.setName("Master Suite");
                cabin_1.setDeckLevel(1);
                cabin_1.setShipId(1);
                cabin_1.setBedCount(3);
                travelagent.createCabin(cabin_1);
                Cabin cabin_2 = travelagent.findCabin(1);
                System.out.println(cabin_2.getName());
                System.out.println(cabin_2.getDeckLevel());
                System.out.println(cabin_2.getShipId());
                System.out.println(cabin_2.getBedCount());
             ......Thanks,
    Jack

  • Error targeting server for the EJB module while deploying the sample banking application

    I am currently having a very difficult time attempting to deploy the
    example banking application that I downloaded from the BEA website. I
    have followed all of the steps in the "Hands On: Deploying the Sample
    Banking Application" document, and I do fine until I get to the next to
    last step. When I attempt to target the server for the EJB module, the
    deployment process generates the error that I have included at the end
    of this message.
    I can get to the login.html page under "http://localhost:7001/banking/",
    but after that I can't go further.
    Any suggestions. BTW, in case you haven't figured it out, I'm brand new
    to BEA WebLogic server.
    Thanks in advance for any help you can offer.
    Scott
    Error deploying application \ejb:
    Unable to deploy EJB: \ejb from \ejb:
    Compiler failed
    executable.exec(java.lang.String[javac,-nowarn,-classpath,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb;E:\bea\wlserver6.1\.\config\ScottsServer\applications\.wlnotdelete\wlap60763\ejb;E:\bea\jdk131\jre\lib\rt.jar;E:\bea\jdk131\jre\lib\i18n.jar;E:\bea\jdk131\jre\lib\sunrsasign.jar;E:\bea\jdk131\jre\classes;.;E:\bea\wlserver6.1\lib\weblogic_sp.jar;E:\bea\wlserver6.1\lib\weblogic.jar,-d,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb\examples\tutorials\migration\banking\*.java])
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
    at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:684)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:851)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy11.addDeployment(Unknown Source)
    at
    weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy68.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at
    weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at
    weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at
    weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

    The deployment process invokes javac internally to compile some generated classes.
    Do you have javac installed and in the path?
    Seth
    Scott Springer wrote:
    I am currently having a very difficult time attempting to deploy the
    example banking application that I downloaded from the BEA website. I
    have followed all of the steps in the "Hands On: Deploying the Sample
    Banking Application" document, and I do fine until I get to the next to
    last step. When I attempt to target the server for the EJB module, the
    deployment process generates the error that I have included at the end
    of this message.
    I can get to the login.html page under "http://localhost:7001/banking/",
    but after that I can't go further.
    Any suggestions. BTW, in case you haven't figured it out, I'm brand new
    to BEA WebLogic server.
    Thanks in advance for any help you can offer.
    Scott
    Error deploying application \ejb:
    Unable to deploy EJB: \ejb from \ejb:
    Compiler failed
    executable.exec(java.lang.String[javac,-nowarn,-classpath,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb;E:\bea\wlserver6.1\.\config\ScottsServer\applications\.wlnotdelete\wlap60763\ejb;E:\bea\jdk131\jre\lib\rt.jar;E:\bea\jdk131\jre\lib\i18n.jar;E:\bea\jdk131\jre\lib\sunrsasign.jar;E:\bea\jdk131\jre\classes;.;E:\bea\wlserver6.1\lib\weblogic_sp.jar;E:\bea\wlserver6.1\lib\weblogic.jar,-d,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb\examples\tutorials\migration\banking\*.java])
    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
    at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
    at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:684)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:851)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.addComponent(Application.java:163)
    at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
    at
    weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
    at
    weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
    at $Proxy11.addDeployment(Unknown Source)
    at
    weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
    at
    weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
    at
    weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
    at
    com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
    at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy68.setTargets(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at
    weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
    at
    weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
    at
    weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
    at
    weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • How to run a pure java application client with ear deployed on 9ias

    Hello all,
    We want to run a pure java application client which is packed with target bean in the same ear file. In the application-client.xml we refer to some EJBs.
    We deployed the ear file which contains ejb jar module and application client module to oracle 9ias 904 through enterprise manager on unix. The jndi.properties we used looks like this
    java.naming.factory.initial=com.evermind.server.rmi.ApplciationClientInitialContextFactory
    java.naming.provider.url=opmn:ormi://opmn_host:opmn_port:oc4j_instance_name/application_name
    java.naming.security.principal=test
    java.naming.security.credentials=test
    Is there anybody knows how to run such an application client? Do we need to provide such a jndi.properties or not at all?
    Thanks,
    9ias user

    Refer OpenEJB User - Oracle ADF Essential and TomEE+
    Also refer Bug in tomee 1.5.2. Fixed in 1.6.
    https://issues.apache.org/jira/browse/TOMEE-756

Maybe you are looking for

  • IPhone 4 Massive Help Needed

    My computer is a Windows Vista and I have the iPhone 4. And before anyone says "Restart your computer, reinstall all Apple products like iTunes blah blah" yes I have already done these at least 5 times. I am looking for an actual solution. Ok so I to

  • Capturing and dealing with ORA-20001: Current version of data in database..

    Hi all, If a user has an edit screen open, and for what ever reason (another user, trigger) the data for that record changes, on save theh user gets ORA-20001: "Current version of data in database has changed since user initiated update process. " Un

  • Why does SCXI 1325 give a NaN output at all channels?

    Till yesterday SCXI 1125 was working fine. But today the values that I am getting from all its channels is "NaN". No error is given. When I tried running the Test Panels thru NI-MAX, SCXI 1125 still gave a NaN output, while 6040E, 6251 and SCXI 1142

  • 2 iPods...1 CPU...1 External Hard Drive

    My wife and I have each have our own iPods. We both use iTunes and we both purchase music and save it to the same location (an external hard drive). My question is why is it when my wife logs in and she opens up her iTunes that she does not have any

  • Encore CS3 subtitle from DVD to avi

    I have two problems in my subtitle process. 1) I have made subtitles manually in a 5 minute movie, within the safe margins of the screen. None are more than one(1) line long. I have the movie to play at once (no menu) and just a single subtitles trac