JDev EJB Tutorial problem

JDev v.9.0.3.2(build 1145)
Using the built-in help facility instructions on the EJB Tutorial, I am stuck on Part 5; Step 1.
(Copied directly from tutorial)
*****begin tutorial instructions*******
Step 1: Adding a Create Method to the Entity Bean
The first step is to add a new create() method on the Dept entity bean.
To add a new create() method: In the Navigator, double-click Dept to open the EJB Module Editor.
Expand the node for Dept and click the Methods node.
In the Method Category list, choose Create methods.
Click Add.
In the Method Details dialog box, in the Parameters field, type the following:Long deptno, String dname, Long manager, Long location Click OK to close the dialog.
Your new create() method appears in the list of methods. Click OK to close the EJB Module Editor.
To add code to the Dept entity bean: In the Navigator, expand the node for the Dept bean and double-click DeptBean.java.
In the Structure pane, double-click ejbCreate(long, String, long, long) to jump to that method in the code.
Replace the stub method with the following code:
public DeptPK ejbCreate(Long deptno, String dname, Long manager, Long location)
this.setDepartment_id(deptno);
this.setDepartment_name(dname);
this.setManager_id(manager);
this.setLocation_id(location);
return new DeptPK(deptno);
In the Navigator, right click DeptBean.java and choose Make DeptBean.java to make sure it compiles without errors.
*****end of tutorial instrucions*********
I cannot get the 'hrApp' EJB to compile.
The compiler complaint:
Error(18,10): class DeptPK not found in class hr.impl.DeptBean
Error(24,16): class DeptPK not found in class hr.impl.DeptBean
Any recommendations are appreciated.
Thanks,
Robert Stuart

Mistake: misnamed the bean in problem statement.
I meant to say the 'DeptBean' (not hrApp EJB) did not compile, using sample code from instructions.
Surely someone can help.
Robert

Similar Messages

  • EJB Tutorial problem

    Hi everybody,
    I try to do the tutorial for "Using EJBs in Web Dynpro".
    [Link to Tutorial|/docs/DOC-8061#20 [original link is broken]]
    But on page 14 I got problems.
    I have to implement the constructor that throws an exception called "CreateException". But this cannot be resolved from my NWDS. I tried it with organizing imports but nothing happened so I tried to import the class manually with the coding
    import javax.ejb.createexception;
    It failed again. I think the library for this is missing. Anybody did the tutorial and solved the problem?
    I am using NWDS 7.1 SP1 with SAP ehp 1.
    Thx for any help.

    Hi Gunter,
    thx for your answer but I didn't understand it. Where did you find the point "used DC"? Can you send me a screenshot?
    Link with E-Mail-Address
    [http://forums.sdn.sap.com/profile.jspa?userID=3821530]
    Thx a lot

  • Sun ejb tutorial compilation problem with sample code

    I have been trying to follow the ejb tutorial off of Sun's web site. However, I get the following problem when I try to compile the sample code.
    prompt>javac Demo.java
    works fine
    Prompt>javac DemoBean.java
    works fine
    Prompt>javac DemoHome.java
    DemoHome.java:23: cannot resolve symbol
    symbol : class Demo
    location: interface ejb.demo.DemoHome
    public Demo create() throws CreateException, RemoteException;
    ^
    1 error
    Prompt>
    Can anyone help me out as I have tried several books which conveniently skip the part about compiling errors.
    I noticed I don't have a CLASSPATH variable and then i created one with just '.' in it and that didn't work. any help would be appreciated as this is driving me crazy. Thanks.

    try to change the order of the exception.
    first RemoteException and then CreateException

  • Simple Step-by-Step Weblogic+EJB Tutorial

    Anyone know of a simple step-by-step weblogic+ejb tutorial? Online?
    Thanks,
    Rocky

    See my signature line.. Book and examples are still free for download. WL6.1
    only at this point, but not for long.
    Check out my WebLogic 6.1 Workbook for O'Reilly EJB Third Edition
    www.oreilly.com/catalog/entjbeans3 or www.titan-books.com
    "Rocky" <[email protected]> wrote in message
    news:3cd95d54$[email protected]..
    >
    Anyone know of a simple step-by-step weblogic+ejb tutorial? Online?
    Thanks,
    Rocky

  • Basic EJB Tutorial

    Hello there!
    Probably this is the wrong forum to post this, but since I couldn't find where to do it, here it goes...
    Does anybody know where I can find an EJB tutorial that develops a BASIC example with source code and that uses NETBEANS IDE with its embedded server, like SJSAS 9?
    Thank you very much for your time... and
    God Bless

    Thank you very much sir,
    Does anybody know in which forum should I post in order to get more replies on this topic ?
    Thanks in advance !

  • EJB Tutorial

    Hi,
    somebody know good EJB Tutorial with Weblogic-examples. The EJB-Tutorial on Sun was to short for me.
    Thanx!

    http://www.amazon.com/exec/obidos/ASIN/0130911119/qid=1000943895/sr=1-2/ref=sr_1_2_2/002-1103791-8676014

  • New to JDeveloper, having problems with EJB tutorial.

    Hi,
    I'm new to the world of JDeveloper, I'm trying to follow this tutorial
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ejb/ejb.html
    Firstly when I create an entity from a table I get the following error;
    Starting Offline Database Synchronization
    Generating classes for Entity CbsdSecurity...
    Entity generation for CbsdSecurity failed.
    I'm not really sure why this is, however I suspect this is at the heart of the problems.
    If I continue I can get to the point where I create a EJB Diagram, however when I try to drag my autogenerated class onto the diagram I get the following error;
    "Entity does not belong to Persistence Unit xxxxEJB which is associcated with Diagram EJB3.ejb_diagram"
    In addition the log at the bottom has the following warnings.
    23-Sep-2010 10:07:46 oracle.security.jps.internal.credstore.ssp.CsfWalletManager openWallet
    WARNING: Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password.
    23-Sep-2010 10:07:53 oracle.adf.share.jndi.ReferenceStoreHelper getReferencesMapEx
    WARNING: Incomplete connection reference object for connection:fcs2ukd
    Now my database connection doesn't seem to remember the password even though I have ticked the 'remember password' tick box.
    I am developing under Windows XP using JDK1.6.0.21
    If anyone could point out what I'm going wrong I would be very grateful.
    Thanks
    Rich
    Edited by: Rich Carless on Sep 23, 2010 9:32 AM

    Try to test Your DB connection in JDeveloper. Is it success?
    Best regards, Debuger!

  • Redeploying an EJB onto OAS 4.0.8.2 from JDev 3.1 - problem

    My previous message should have had in the topic, OAS 4.0.8.2 instead of OAS 4.0.8.3.
    So, I'll explain my problem again:
    I'm trying to redeploy an EJB onto the OAS, and I get the following error:
    java.io.FileNotFoundException: D:\OraHome1\ows\4.0\..\apps\ejb\ChartBean\_client.jar (The requested operation cannot be performed on a file with a user mapped section open)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
    at sun.tools.jar.Main.run(Main.java:96)
    at sun.tools.jar.Main.main(Main.java:760)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.oas.tools.util.JarGenerator.createJar(Compiled Code)
    at oracle.oas.tools.util.CreateJars.main(Compiled Code)
    Creation of client jar for D:\\OraHome1\\ows\\upload\\1219ChartBeanSource.jar failed!
    I tried to go delete the client.jar file from the OAS machine, and it won't let me saying it is a sharing violation (File is in use). I deleted the EJB from the OAS, stopped the OAS, and still I cannot delete the client.jar file.
    First, why couldn't I redeploy, and second, how do I delete the _client.jar file?
    Thanks!
    null

    Hi clytle,
    I have problem about EJB,maybe you can
    help me.I use JDeveloper 3.0 to developer EJB
    and deploy it to OAS 4.0.8.1 successful. But
    the error message(show at below) always occur
    when I run the EJB client program eyerytime.
    I have no idea about this.Could you have any
    suggestion or solution about this? Have anyone else can help me?
    james 2000/6/30
    The error message :
    Root exception is org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No]javax.naming.ServiceUnavailableException
    java.lang.Object oracle.oas.jndi.oas.SecCosNamingContext.resolve(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanInitialContext.resolve(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanInitialContext.lookup(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.WrapperContext.lookup(javax.naming.Name)
    java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void SimpleEJB.SimpleEJBClient.main(java.lang.String[])
    null

  • Redeploying an EJB onto OAS 4.0.8.3 from JDev 3.1 - problem

    I'm trying to redeploy an EJB onto the OAS, and I get the following error:
    java.io.FileNotFoundException: D:\OraHome1\ows\4.0\..\apps\ejb\ChartBean\_client.jar (The requested operation cannot be performed on a file with a user mapped section open)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
    at sun.tools.jar.Main.run(Main.java:96)
    at sun.tools.jar.Main.main(Main.java:760)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.oas.tools.util.JarGenerator.createJar(Compiled Code)
    at oracle.oas.tools.util.CreateJars.main(Compiled Code)
    Creation of client jar for D:\\OraHome1\\ows\\upload\\1219ChartBeanSource.jar failed!
    I tried to go delete the client.jar file from the OAS machine, and it won't let me saying it is a sharing violation (File is in use). I deleted the EJB from the OAS, stopped the OAS, and still I cannot delete the client.jar file.
    First, why couldn't I redeploy, and second, how do I delete the _client.jar file?
    Thanks!
    null

    Hi clytle,
    I have problem about EJB,maybe you can
    help me.I use JDeveloper 3.0 to developer EJB
    and deploy it to OAS 4.0.8.1 successful. But
    the error message(show at below) always occur
    when I run the EJB client program eyerytime.
    I have no idea about this.Could you have any
    suggestion or solution about this? Have anyone else can help me?
    james 2000/6/30
    The error message :
    Root exception is org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No]javax.naming.ServiceUnavailableException
    java.lang.Object oracle.oas.jndi.oas.SecCosNamingContext.resolve(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanInitialContext.resolve(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.BeanInitialContext.lookup(javax.naming.Name, java.util.Hashtable)
    java.lang.Object oracle.oas.jndi.oas.WrapperContext.lookup(javax.naming.Name)
    java.lang.Object oracle.oas.jndi.oas.BeanContext.lookup(java.lang.String)
    java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
    void SimpleEJB.SimpleEJBClient.main(java.lang.String[])
    null

  • JDev 3.0/Oracle8i EJB deployment problems

    When trying to deploy a simple EJB generated with the JDev 3
    wizards, I get the following errors:
    *** Executing deployment profile E:\Program
    Files\Oracle\JDeveloper 3.0\myprojects\queueRemote.prf ***
    *** Generating archive file E:\Program Files\Oracle\JDeveloper
    3.0\myprojects\queueRemoteSource.jar ***
    Compiling the project...done
    Validating the profile...done
    Initializing deployment...done
    Scanning project files...done
    Generating classpath dependencies...done
    Generating archive entries table...done
    *** Archive generation completed ***
    *** Deploying the EJB to JServer ***
    EJB deployment argument list:
    "E:\Program Files\Oracle\JDeveloper 3.0\java\bin\javaw"
    "-DPATH=E:\Program Files\Oracle\JDeveloper 3.0\bin;E:\Program
    Files\Oracle\JDeveloper 3.0\java\bin"
    -classpath
    "E:\Program Files\Oracle\JDeveloper 3.0
    \java\lib\classes.zip;E:\Program Files\Oracle\JDeveloper 3.0
    \lib\jdeveloper.zip;E:\Program Files\Oracle\JDeveloper 3.0
    \myclasses;E:\Program Files\Oracle\JDeveloper 3.0\lib\jdev-
    rt.zip;E:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip;E:\Program
    Files\Oracle\JDeveloper 3.0\lib\connectionmanager.zip;E:\Program
    Files\Oracle\JDeveloper 3.0\lib\javax_ejb.zip;E:\Program
    Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;E:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjtools.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbj30ssl.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \java1.2\jre\lib\rt.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\aurora_client.jar;E:\Program Files\Oracle\JDeveloper
    3.0\aurora\lib\vbjorb.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjapp.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbjtools.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \aurora\lib\vbj30ssl.jar;E:\Program Files\Oracle\JDeveloper 3.0
    \jdbc\lib\oracle8.1.5\classes111.zip"
    oracle.aurora.ejb.deployment.GenerateEjb
    -u
    sys
    -p
    sys
    -s
    sess_iiop://localhost:2481:ORCL
    -republish
    -keep
    -temp
    TEMP
    -descriptor
    "E:\Program Files\Oracle\JDeveloper 3.0
    \myprojects\queueRemote.dd"
    -generated
    "E:\Program Files\Oracle\JDeveloper 3.0
    \myprojects\queueRemoteGenerated.jar"
    "E:\Program Files\Oracle\JDeveloper 3.0
    \myprojects\queueRemoteSource.jar"
    org.omg.CORBA.INTERNAL[completed=MAYBE]
    at
    com.visigenic.vbroker.orb.GiopConnectionFactoryImpl.destroy
    (GiopConnectionFactoryImpl.java:209)
    at com.visigenic.vbroker.orb.GiopConnectionImpl.close
    (GiopConnectionImpl.java:544)
    at com.visigenic.vbroker.orb.GiopStubDelegate.invoke
    (GiopStubDelegate.java:609)
    at com.visigenic.vbroker.orb.GiopStubDelegate.invoke
    (GiopStubDelegate.java:466)
    at org.omg.CORBA.portable.ObjectImpl._invoke
    (ObjectImpl.java:141)
    at oracle.aurora.AuroraServices._st_LoginServer.O3Logon_B
    (_st_LoginServer.java:194)
    at oracle.aurora.client.Login.authenticate
    (Login.java:143)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.login
    (SessionCtx.java:574)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.login
    (SessionCtx.java:568)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.login
    (ServiceCtx.java:299)
    at
    oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession
    (ToolImpl.java:101)
    at
    oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs
    (ToolImpl.java:213)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke
    (ToolImpl.java:121)
    at oracle.aurora.ejb.deployment.GenerateEjb.main
    (GenerateEjb.java:509)
    *** Errors occurred while deploying the EJB to JServer ***
    *** Deployment completed ***
    Any suggestions as to what is happening would be greatly
    appreciated.
    Sean
    null

    Assuming that you have done the 'right' tinkg and changed the
    password for the user SYS, then you are running into a JServer
    bug. When the password file on the server and the user SYS
    password in the rdbms get out of synch, this bug crops up (the
    instance will be killed, immediately and with prejudice). The
    solution is to:
    -shut down the rdbms
    -disable the password file in the INIT.ORA by setting the
    parameter to EXCLUSIVE. Sorry the exact parameter change escapes
    me at the moment, I have posted it earlier in this forum so you
    can probably find it there if you don't already know it.
    -restart the rdbms and change the sys password (again)
    -you can then re-enable the password file if you need.
    That's it. You will now be able to connect as SYS either via the
    deployejb utility or session shell w/o bringing down the
    database.
    null

  • Error while running HRFacadeClient of JDev 11g Tutorial

    Hi,
    I was following the tutorial under Build a Web Application with JDeveloper 11g Using EJB, JPA, and JavaServer Faces
    Section 19 says to run application under OC4J,
    <strong>19.</strong> Right click the <strong>HRFacadeBean</strong> in the Application Navigator and select <strong>Run</strong> from the context menu to launch the facade bean in the Embedded OC4J sever.
    Curently OC4J not available under JDev 11g Production version, so it runs under Web-logic Server which comes with JDeveloper 11g. Please see the log below:
    Default Server - Log
    D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\bin\startWebLogic.cmd
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=;D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Appl\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Appl\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.0.0.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5/lib/ant-all.jar;D:\Appl\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\features\adf.share_11.1.1.jar;;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;;
    PATH=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\native;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Appl\Oracle\MIDDLE~1\modules\ORGAPA~1.5\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;D:\Appl\OraHome1\bin;D:\Appl\OraHome1\jlib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Appl\Java\jdk1.6.0_01\bin;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\Apache Software Foundation\Apache2.2\php\ext;D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_05"
    Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
    Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)
    Starting WLS with line:
    D:\Appl\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 "-Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 "-Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com" -Djbo.34010=false -Xverify:none -da -Dplatform.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1 -Doracle.home=D:\Appl\Oracle\Middleware\jdeveloper -Doracle.security.jps.config=D:\Appl\Oracle\MIDDLE~1\JDEVEL~1\system\SYSTEM~1.56\DEFAUL~1\config\oracle\jps-config.xml -Doracle.dms.context=OFF -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Appl\Oracle\MIDDLE~1\patch_wls1030\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath;D:\Appl\Oracle\MIDDLE~1\patch_cie660\profiles\default\sysext_manifest_classpath -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy weblogic.Server
    &lt;Oct 30, 2008 12:39:05 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000395&gt; &lt;Following extensions directory contents added to the end of the classpath:
    D:\Appl\Oracle\Middleware\patch_wls1030\profiles\default\sysext_manifest_classpath\weblogic_ext_patch.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\beehive_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\p13n_wls_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\testclient_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\tuxedocontrol_zh_TW.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ja.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_ko.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_CN.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\L10N\workshop_zh_TW.jar&gt;
    &lt;Oct 30, 2008 12:39:05 PM AST&gt; &lt;Info&gt; &lt;WebLogicServer&gt; &lt;BEA-000377&gt; &lt;Starting WebLogic Server with Java HotSpot(TM) Client VM Version 10.0-b19 from Sun Microsystems Inc.&gt;
    &lt;Oct 30, 2008 12:39:05 PM AST&gt; &lt;Info&gt; &lt;Management&gt; &lt;BEA-141107&gt; &lt;Version: WebLogic Server Temporary Patch for CR380042 Thu Sep 11 13:33:40 PDT 2008
    WebLogic Server Temporary Patch for 7372756 Fri Sep 12 17:05:44 EDT 2008
    WebLogic Server 10.3 Mon Aug 18 22:39:18 EDT 2008 1142987 &gt;
    &lt;Oct 30, 2008 12:39:06 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Oct 30, 2008 12:39:06 PM AST&gt; &lt;Info&gt; &lt;WorkManager&gt; &lt;BEA-002900&gt; &lt;Initializing self-tuning thread pool&gt;
    &lt;Oct 30, 2008 12:39:06 PM AST&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170019&gt; &lt;The server log file D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.&gt;
    &lt;Oct 30, 2008 12:39:08 PM AST&gt; &lt;Notice&gt; &lt;Security&gt; &lt;BEA-090082&gt; &lt;Security initializing using security realm myrealm.&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddi was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddi.war'.&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Warning&gt; &lt;Deployer&gt; &lt;BEA-149617&gt; &lt;Non-critical internal application uddiexplorer was not deployed. Error: [Deployer:149158]No application files exist at 'D:\Appl\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\uddiexplorer.war'.&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STANDBY&gt;
    &lt;Oct 30, 2008 12:39:11 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to STARTING&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Log Management&gt; &lt;BEA-170027&gt; &lt;The Server has established connection with the Domain level Diagnostic Service successfully.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to ADMIN&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RESUMING&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Warning&gt; &lt;Server&gt; &lt;BEA-002611&gt; &lt;Hostname "ITDEV-39", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[3]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default" is now listening on 192.168.76.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[2]" is now listening on 10.19.37.39:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;Server&gt; &lt;BEA-002613&gt; &lt;Channel "Default[1]" is now listening on 192.168.153.1:7101 for protocols iiop, t3, ldap, snmp, http.&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000331&gt; &lt;Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Warning&gt; &lt;Server&gt; &lt;BEA-002611&gt; &lt;Hostname "localhost", maps to multiple IP addresses: 192.168.76.1, 192.168.153.1, 10.19.37.39, 127.0.0.1&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000365&gt; &lt;Server state changed to RUNNING&gt;
    &lt;Oct 30, 2008 12:39:12 PM AST&gt; &lt;Notice&gt; &lt;WebLogicServer&gt; &lt;BEA-000360&gt; &lt;Server started in RUNNING mode&gt;
    DefaultServer startup time: 9953 ms.
    DefaultServer started.
    [Running application HR_EJB_JPA_App on Server Instance DefaultServer...]
    Uploading credentials.
    ---- Deployment started. ---- Oct 30, 2008 12:39:14 PM
    Target platform is (Weblogic 10.3).
    Running dependency analysis...
    2008-10-30 12:39:14.937: Writing EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
    2008-10-30 12:39:14.984: Wrote EJB JAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App\HR_EJB_JPA_App-EJBModel-ejb
    2008-10-30 12:39:16.078: Writing EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
    2008-10-30 12:39:16.093: Wrote EAR file to D:\Appl\Oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.56\o.j2ee\drs\HR_EJB_JPA_App
    Deploying Application...
    &lt;Oct 30, 2008 12:39:17 PM AST&gt; &lt;Warning&gt; &lt;J2EE&gt; &lt;BEA-160195&gt; &lt;The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application HR_EJB_JPA_App is not versioned.&gt;
    Oct 30, 2008 12:39:17 PM oracle.as.jmx.framework.PortableMBeanFactory setJMXFrameworkProviderClass
    INFO: JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
    &lt;Oct 30, 2008 12:39:18 PM AST&gt; &lt;Warning&gt; &lt;EJB&gt; &lt;BEA-012035&gt; &lt;The Remote interface method: 'public abstract java.util.List oracle.HRFacade.queryEmployeesFindByName(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.&gt;
    &lt;Oct 30, 2008 12:39:18 PM AST&gt; &lt;Warning&gt; &lt;EJB&gt; &lt;BEA-012035&gt; &lt;The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.persistEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.&gt;
    &lt;Oct 30, 2008 12:39:18 PM AST&gt; &lt;Warning&gt; &lt;EJB&gt; &lt;BEA-012035&gt; &lt;The Remote interface method: 'public abstract java.lang.Object oracle.HRFacade.mergeEntity(java.lang.Object)' in EJB 'HRFacade' contains a parameter of type: 'java.lang.Object' which is not Serializable. Though the EJB 'HRFacade' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.&gt;
    Application Deployed Successfully.
    Elapsed time for deployment: 4 seconds
    ---- Deployment finished. ---- Oct 30, 2008 12:39:19 PM
    Run startup time: 5063 ms.
    [Application HR_EJB_JPA_App deployed to Server Instance DefaultServer]
    <strong>20.</strong> Right click <strong>HRFacadeClient</strong> and select <strong>Run</strong> from context.
    Now when I run <strong>HRFacadeClient</strong> the log shows following error.
    EJBModel.jpr - log
    [EclipseLink/JPA Client] Adding Java options: -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar
    D:\Appl\Oracle\Middleware\jdk160_05\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\HR_EJB_JPA_App\.adf;C:\JDeveloper\mywork\HR_EJB_JPA_App\EJBModel\classes;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\toplink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\antlr.jar;D:\Appl\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;D:\Appl\Oracle\Middleware\modules\javax.persistence_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xmlparserv2.jar;D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.xdk_11.1.1\xml.jar;D:\Appl\Oracle\Middleware\modules\javax.jsf_1.2.0.0.jar;D:\Appl\Oracle\Middleware\modules\javax.ejb_3.0.1.jar;D:\Appl\Oracle\Middleware\modules\javax.enterprise.deploy_1.2.jar;D:\Appl\Oracle\Middleware\modules\javax.interceptor_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.jms_1.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.jsp_1.1.0.0_2-1.jar;D:\Appl\Oracle\Middleware\modules\javax.jws_2.0.jar;D:\Appl\Oracle\Middleware\modules\javax.activation_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.mail_1.1.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.soap_1.3.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.rpc_1.2.1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.ws_2.1.1.jar;D:\Appl\Oracle\Middleware\modules\javax.management.j2ee_1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.resource_1.5.1.jar;D:\Appl\Oracle\Middleware\modules\javax.servlet_1.0.0.0_2-5.jar;D:\Appl\Oracle\Middleware\modules\javax.transaction_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.stream_1.1.1.0.jar;D:\Appl\Oracle\Middleware\modules\javax.security.jacc_1.0.0.0_1-1.jar;D:\Appl\Oracle\Middleware\modules\javax.xml.registry_1.0.0.0_1-0.jar;D:\Appl\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar -DproxySet=true -DproxyHost=192.0.20.100 -DproxyPort=800 -javaagent:D:\Appl\Oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\eclipselink.jar -Dhttp.proxyHost=192.0.20.100 -Dhttp.proxyPort=800 -Dhttp.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com -Dhttps.proxyHost=192.0.20.100 -Dhttps.proxyPort=800 -Dhttps.nonProxyHosts=*.local|10.19.37.*|localhost|10.12.36.180|*.alshaya.com oracle.HRFacadeClient
    Exception in thread "main" java.lang.AssertionError: Can not find generic method public abstract java.util.List&lt;oracle.Departments&gt; queryDepartmentsFindAll() in EJB Object
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:159)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:53)
    at $Proxy11.queryDepartmentsFindAll(Unknown Source)
    at oracle.HRFacadeClient.main(HRFacadeClient.java:15)
    Process exited with exit code 1.
    Please guide me how to solve this error and continue with tutorial...
    Regards,
    Santhosh

    Hi Heidi,
    I tried once again to install a fresh instance of Oracle soa suite 10.1.3.0 and upgraded it to 10.1.3.4 successfully. I did all the JDeveloper 11g installation and configure SOA process all successfully. I can create a connection to OC4J using 12401 RMI port successfully but none of my applications are deployed to server.
    This message is repeatedly displaying in messages tab:
    Exception returned by remote server: com.evermind.server.rmi.RMIConnectionException: Disconnected: oracle.oc4j.admin.management.shared.SharedModuleType. local class incompatible during deploy ...
    The default OC4J RMI port is 23791 but in my installation it is set to 12401 when I checked the Runtime Port option of Oracle Application Server and the connection is fine with this port but applications can not be deployed with this configuration.
    I can deploy applications on separate standalone OC4J instance successfully but not able to do it with my SOA application server.
    Any comments will be appreciated.
    Thanks again
    Esfand
    Edited by: user3788199 on Sep 8, 2008 6:50 AM

  • Converter sample from J2EE Tutorial problem

    Hello all,
    I have built the ConvertApp using the J2EE as shown in the J2EE (which I highly recommend by the way --on-line or book version), but am getting the following error:
    (from Verifier log file):
         FAILED TESTS :
         Test Name : tests.web.elements.WebEjbReferencesElement
         Test Assertion : Web archive references to other beans homes test
         Test Description : Error: Class [ ConverterHome ] not found in WEB-INF/classes or WEB-INF/lib.
    For [ /ConverterWAR ]
    Error: class [ ConverterHome ] cannot be found within this jar [ ConverterWAR ].
    Error: Class [ Converter ] not found in WEB-INF/classes or WEB-INF/lib.
    For [ /ConverterWAR ]
    Error: class [ Converter ] cannot be found within this jar [ ConverterWAR ].
    ======
    I'm running Windows 2K (I did see a similar problem someone was having under '98) and I know this tutorial works under W2K. I also have confirmed all my environmental variables are correct.
    I am noticing that under the \j2eetutorial\examples\src\ejb\converter directory that I have a number of temp files (intermediate?). Specifically, if I use the Deploytool and select the ConverterApp in the tree view, I see three filenames that appear in the Contents window under the META-INF section:
    app-client-ic.jar
    ejb-jar-ic.jar
    war-ic.war
    Well, the temp files look like this (for example):
    app-client-temp21282.jar
    ejb_temp21276.jar
    web_temp21293.war
    I don't know if this means anything or not, as I seem to be getting the .ear, .war and .jar files when I deploy the ConverterApp without a problem.
    If I try to run the Client from the \j2eetutorial\examples\src\ejb\converter directory using the runclient command, I get the following:
    Application threw an exception:java.lang.NoClassDefFoundError: ConverterHome
    The tutorial has a specific reference to this (p.43 in book) indicating a problem in the ConverterApp.jar file. I've undeployed, deleted ear, war, jar and temp files, and recompiled with ant (twice), thinking I must have skipped a step somewhere, but to no avail.
    Both these problems look suspiciously like environment or path issues, but I cannot see anything obviously wrong. I confirmed that I do have a ConverterHome.class file in the C:\j2eetutorial\examples\build\ejb\converter directory too.
    Has anyone seen this before who can share how to fix the issue?
    Thanks for the help!
    Jon

    I have the same problem when trying to run 'Converter' example on Sun Deployment tool.
    When I tried to use verifier for the ConverterApp I got the following message
    "Error: Class [ ConverterHome ] not found in WEB-INF/classes or WEB-INF/lib.
    For [ /ConverterWAR ]
    Error: class [ ConverterHome ] cannot be found within this jar [ ConverterWAR ].
    Error: Class [ Converter ] not found in WEB-INF/classes or WEB-INF/lib.
    For [ /ConverterWAR ]
    Error: class [ Converter ] cannot be found within this jar [ ConverterWAR ]."
    When I tried to run the client app using the runclient command I got the
    following message
    "C:\j2eeDeployPractice\src\ejb\converter\runclient -client converter.ear -name converterClient -testauth
    No application client desriptors defined for: converterClient"
    Note: I was able to run the web client successfully when
    using this URL: "http://localhost:8000/converter/index.jsp"
    Any idea how to fix those error message is grealy appreciated.
    KH

  • Client Applet and EJB Server problem

    Hi,
    I developed a applet client that tries to connect to an EJB on the server side. The Applet runs okay in JDev3 but if I deploy it and test it outside the JDev tool I get an error. I tracked the problem to the following line of code:
    ic = new InitialContext(environment);
    Do I run into an applet security problem? If so what do i have to do to allow the applet to read/write to the local system?
    Thanks for any hints!
    Peter
    Error I get
    JAR cache enabled.
    Opening http://pete/gateway/clientmanagement.jar no proxy
    CacheHandler file name: C:\WINNT\Profiles\peter.000\Temporary Internet Files\Content.IE5\ALMN6PAZ\clientmanagement[1].jar
    Creating an initial context
    Opening http://pete/gateway/oracle/oas/container/nls/Version_en_US.class no proxy
    CacheHandler file name: null
    null

    Hi,
    I have still problems getting the client applet running. I tested it with the appletviewer and I modified the security.policy file. I allow the applet to almost everthing but i still get the following error:
    What do I do wrong? Do I really have to sign the jar file? Do I miss some stub classes?
    Thanks for any hints...
    Peter
    JAR cache disabled.
    Opening http://pete/Gateway/. no proxy
    Opening http://pete/Gateway/. no proxy
    Opening http://pete/Gateway/test/Client.class no proxy
    CacheHandler file name: C:\WINNT\Profiles\peter.000\Temporary Internet Files\Content.IE5\ALMN6PAZ\Client[1].class
    Opening http://pete/Gateway/test/Client$1.class no proxy
    CacheHandler file name: C:\WINNT\Profiles\peter.000\Temporary Internet Files\Content.IE5\ALMN6PAZ\Client$1[1].class
    Creating an initial context
    Looking for the EJB published as 'Gateway/GatewayProcessorRemote'
    Opening http://pete:80/_RMProxyURL_ no proxy
    Naming exception!
    [Root exception is org.omg.CORBA.NO_IMPLEMENT: minor code: 0 completed: No]javax.naming.ServiceUnavailableException
    at oracle.oas.jndi.oas.SecCosNamingContext.resolve(SecCosNamingContext.java:265)
    at oracle.oas.jndi.oas.BeanContext.lookup(BeanContext.java:328)
    at oracle.oas.jndi.oas.BeanInitialContext.resolve(BeanInitialContext.java:265)
    at oracle.oas.jndi.oas.BeanContext.lookup(BeanContext.java:328)
    at oracle.oas.jndi.oas.BeanInitialContext.lookup(BeanInitialContext.java:165)
    at oracle.oas.jndi.oas.WrapperContext.lookup(WrapperContext.java:78)
    at oracle.oas.jndi.oas.BeanContext.lookup(BeanContext.java:422)
    at javax.naming.InitialContext.lookup(InitialContext.java:288)
    at test.Client.initializeEJB(Client.java:104)
    at test.Client.startButton_actionPerformed(Client.java, Compiled Code)
    at test.Client$1.actionPerformed(Client.java:55)
    at java.awt.Button.processActionEvent(Button.java:308)
    at java.awt.Button.processEvent(Button.java:281)
    at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
    at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
    null

  • Jdev remote debugger problem

    When we debug a Java Stored proc with JDev (3.2.2 against 8.1.7), if you hit Program Reset instead of letting the proc run through completion, JDev leaves a hung session sitting out there in the DB that can only be killed by restarting the instance. This also seems to lock the object so that deployment of any dependant Java SP's after this time cannot be deployed without an instance restart. This is very frustrating when you have 10 developers working on an app at the same time. Has this bug been addressed yet?
    Thanks in advance.

    Mistake: misnamed the bean in problem statement.
    I meant to say the 'DeptBean' (not hrApp EJB) did not compile, using sample code from instructions.
    Surely someone can help.
    Robert

  • Just learning EJB - having problems compiling

    I'm trying to learn EJB by going through the Sun J2EE tutorial. When trying to compile the converter example I get the following error messages:
    E:\MostlyJava\j2eetutorial\examples>ant converter
    Buildfile: build.xml
    init:
    converter:
    [javac] Compiling 4 source files to E:\MostlyJava\j2eetutorial\examples\buil
    d\ejb\converter
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\Converter.java
    :10: cannot resolve symbol
    [javac] symbol : class EJBObject
    [javac] location: package ejb
    [javac] import javax.ejb.EJBObject;
    [javac] ^
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\Converter.java
    :14: cannot resolve symbol
    [javac] symbol : class EJBObject
    [javac] location: interface Converter
    [javac] public interface Converter extends EJBObject {
    [javac] ^
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\ConverterBean.
    java:11: cannot resolve symbol
    [javac] symbol : class SessionBean
    [javac] location: package ejb
    [javac] import javax.ejb.SessionBean;
    [javac] ^
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\ConverterBean.
    java:12: cannot resolve symbol
    [javac] symbol : class SessionContext
    [javac] location: package ejb
    [javac] import javax.ejb.SessionContext;
    [javac] ^
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\ConverterBean.
    java:15: cannot resolve symbol
    [javac] symbol : class SessionBean
    [javac] location: class ConverterBean
    [javac] public class ConverterBean implements SessionBean {
    [javac] ^
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\ConverterBean.
    java:37: cannot resolve symbol
    [javac] symbol : class SessionContext
    [javac] location: class ConverterBean
    [javac] public void setSessionContext(SessionContext sc) {}
    [javac] ^
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\ConverterHome.
    java:12: cannot resolve symbol
    [javac] symbol : class CreateException
    [javac] location: package ejb
    [javac] import javax.ejb.CreateException;
    [javac] ^
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\ConverterHome.
    java:13: cannot resolve symbol
    [javac] symbol : class EJBHome
    [javac] location: package ejb
    [javac] import javax.ejb.EJBHome;
    [javac] ^
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\ConverterHome.
    java:15: cannot resolve symbol
    [javac] symbol : class EJBHome
    [javac] location: interface ConverterHome
    [javac] public interface ConverterHome extends EJBHome {
    [javac] ^
    [javac] E:\MostlyJava\j2eetutorial\examples\src\ejb\converter\ConverterHome.
    java:17: cannot resolve symbol
    [javac] symbol : class CreateException
    [javac] location: interface ConverterHome
    [javac] Converter create() throws RemoteException, CreateException;
    [javac] ^
    [javac] 10 errors
    BUILD FAILED
    E:\MostlyJava\j2eetutorial\examples\build.xml:89: Compile failed, messages shoul
    d have been provided.
    Total time: 2 seconds

    Thanks, for your reply the problem was with the classpath, even though it appears that the ant script points to it I had to set it in the environment.

Maybe you are looking for

  • Converting CHAR or CLOB to BLOB in Oracle9i

    Hi! I want to convert CHAR or CLOB to BLOB. I am working with Oracle9i Database. Oracle9i Supplied PL/SQL Package Release 2 (9.2) does'nt support DBMS_LOB.CONVERTTOBLOB procedure. How I can convert CHAR or CLOB to BLOB in Oracle9i? Valery

  • Same problem as Mr. Satten

    when I try and log onto the music store it brings up a message saying that I should check my network connections even though I am logged onto aol broadband and it is error 403. We just got broadband back today and I downloaded itunes6 today and I hav

  • No more free videos?

    Are all music videos pay-per-view now? If anybody knows how to access the free ones, please advise. Cheers!

  • Problem installing Service pack 1 for Windows Vista 32-bit from windows update

    I have been trying to install Service Pack 1 for Windows Vista Home (32 bits) through Windows Update many times. The Update panel shows Windows Vista Service Pack 1 (KB936330) is available. I install the update, which by the way, just takes me few mi

  • 'Corrupt' files from Nikon D3... 'Magenta' stripe

    Hello all. I have a hard-to-replicate problem with files from a D3. A purple/magenta stripe along the bottom of images. See here http://img90.imageshack.us/img90/5753/stripeycorruption164ak8.jpg for an example. It doesn't seem to be a camera problem,