Robert Crooks tutorial problem

The compiler complains about the DataController class not
being in a package:
"A file found in a source-path must have an externally
visible definition. If a definition in the file is meant to be
externally visible, please put the definition in a package."
Then, if I put it in a package, the compiler complains about
not being able to access the class from data.mxml, so I put
<tutorial.DataController id="dataController"/>, and then, the
compiler says that the "package" keyword is unexpected in
DataController.as!
Any help will be greatly appreciated. Thanks.

I was able to get rid of the unexpected package keyword
error, but the compiler still complains about not being able to
find DataController, whether I append "tutorial." in front of its
name or not...
What is the right way to refer to an ActionScript class
that's in a package, from an MXML file not in that package?

Similar Messages

  • 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

  • ADF Tutorial: problem with chapter 10 (Deploying the Application)

    Hi!
    I'm learning from ADF Tutorial (http://www.oracle.com/technology/obe/ADFBC_tutorial_1013/index.htm) and I have problem with chapter 10. After deploying finished application on the server (OracleAS10g) I try to test it but I get this error everytime:
    500 Internal Server Error
    Servlet error: An exception occured. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    I get this error after typing login credentials. I didn't consult the log, because I don't know where to look for it (could you tell me please?). I did everything as described in the Tutorial, but I know there are mistakes (in Tutorial), so I don't know what to do.
    Thanks for any advices.

    Hi,
    I'm running Windows XP, JDeveloper version 10.1.3.4.0, Oracle AS 10g version 10.1.3.4.0 with patch. When I tried to deploy same application on Windows Vista and OC4J, it work perfectly, which really confuses me. I think I found log file so I will post it here. It's long, I'm sorry about that:
    09/01/23 16:07:07.62 SRTutorial: Servlet error
    JBO-30003: Fond aplikace (oracle.srtutorial.datamodel.SRPublicServiceLocal) selhal při odhlášení modulu aplikace z důvodu následující výjimky:
    oracle.jbo.JboException: JBO-29000: JBO-29000: Bad version number in .class file
         Neplatná třída: oracle.srtutorial.datamodel.SRPublicServiceImpl
         Zavaděč: SRTutorial.web.SRTutorial:0.0.0
         Code-Source: /C:/OracleAS/j2ee/home/applications/SRTutorial/SRTutorial/WEB-INF/classes/
         Konfigurace: WEB-INF/classes/ in C:\OracleAS\j2ee\home\applications\SRTutorial\SRTutorial\WEB-INF\classes
         Závislá třída: oracle.jbo.common.java2.JDK2ClassLoader
         Zavaděč: adf.oracle.domain:10.1.3.1
         Code-Source: /C:/OracleAS/BC4J/lib/adfm.jar
         Konfigurace: <code-source> in /C:/OracleAS/j2ee/home/config/server.xml
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1517)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1381)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:483)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
         at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:268)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: Bad version number in .class file
         Neplatná třída: oracle.srtutorial.datamodel.SRPublicServiceImpl
         Zavaděč: SRTutorial.web.SRTutorial:0.0.0
         Code-Source: /C:/OracleAS/j2ee/home/applications/SRTutorial/SRTutorial/WEB-INF/classes/
         Konfigurace: WEB-INF/classes/ in C:\OracleAS\j2ee\home\applications\SRTutorial\SRTutorial\WEB-INF\classes
         Závislá třída: oracle.jbo.common.java2.JDK2ClassLoader
         Zavaděč: adf.oracle.domain:10.1.3.1
         Code-Source: /C:/OracleAS/BC4J/lib/adfm.jar
         Konfigurace: <code-source> in /C:/OracleAS/j2ee/home/config/server.xml
         at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1517)
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1381)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99)
         at oracle.adf.model.BindingContext.get(BindingContext.java:457)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
         at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
         at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
         at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127)
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277)
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296)
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425)
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44)
         at oracle.adf.model.BindingContext.get(BindingContext.java:483)
         at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313)
         at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633)
         at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:268)
         at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    oracle.classloader.util.AnnotatedClassFormatError: Bad version number in .class file
         Neplatná třída: oracle.srtutorial.datamodel.SRPublicServiceImpl
         Zavaděč: SRTutorial.web.SRTutorial:0.0.0
         Code-Source: /C:/OracleAS/j2ee/home/applications/SRTutorial/SRTutorial/WEB-INF/classes/
         Konfigurace: WEB-INF/classes/ in C:\OracleAS\j2ee\home\applications\SRTutorial\SRTutorial\WEB-INF\classes
         Závislá třída: oracle.jbo.common.java2.JDK2ClassLoader
         Zavaděč: adf.oracle.domain:10.1.3.1
         Code-Source: /C:/OracleAS/BC4J/lib/adfm.jar
         Konfigurace: <code-source> in /C:/OracleAS/j2ee/home/config/server.xml
         at oracle.classloader.PolicyClassLoader.findLocalClass (PolicyClassLoader.java:1462) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
         at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java:167) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
         at oracle.classloader.SearchSequence.getClass (SearchSequence.java:119) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
         at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1674) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1635) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
         at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1620) [C:/OracleAS/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@12700959]
         at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap:1.5.0_06]
         at java.lang.Class.forName0 (Native method) [unknown, by unknown]
         at java.lang.Class.forName (Class.java:242) [jre bootstrap, by jre.bootstrap:1.5.0_06]
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName (JDK2ClassLoader.java:38) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.JBOClass.forName (JBOClass.java:164) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.JBOClass.findCustomClass (JBOClass.java:177) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML (ApplicationModuleDefImpl.java:836) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.server.ApplicationModuleDefImpl.loadFromXML (ApplicationModuleDefImpl.java:770) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.server.MetaObjectManager.loadFromXML (MetaObjectManager.java:534) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject (DefinitionManager.java:579) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject (DefinitionManager.java:441) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject (DefinitionManager.java:374) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject (DefinitionManager.java:356) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.server.MetaObjectManager.findMetaObject (MetaObjectManager.java:700) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.server.ApplicationModuleDefImpl.findDefObject (ApplicationModuleDefImpl.java:232) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule (ApplicationModuleImpl.java:401) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.server.ApplicationModuleHomeImpl.create (ApplicationModuleHomeImpl.java:91) [C:/OracleAS/BC4J/lib/bc4jmt.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule (DefaultConnectionStrategy.java:139) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule (DefaultConnectionStrategy.java:80) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource (ApplicationPoolImpl.java:2468) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.pool.ResourcePool.createResource (ResourcePool.java:536) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule (ApplicationPoolImpl.java:2094) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout (ApplicationPoolImpl.java:1961) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule (ApplicationPoolImpl.java:2793) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule (SessionCookieImpl.java:453) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule (HttpSessionCookieImpl.java:233) [C:/OracleAS/BC4J/lib/adfmweb.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule (SessionCookieImpl.java:424) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule (SessionCookieImpl.java:419) [C:/OracleAS/BC4J/lib/bc4jct.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule (DCJboDataControl.java:1517) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.bc4j.DCJboDataControl.beginRequest (DCJboDataControl.java:1381) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCDataControlReference.getDataControl (DCDataControlReference.java:99) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.BindingContext.get (BindingContext.java:457) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCUtil.findSpelObject (DCUtil.java:280) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCUtil.findSpelObject (DCUtil.java:248) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCUtil.findContextObject (DCUtil.java:383) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCIteratorBinding.<init> (DCIteratorBinding.java:127) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.uicli.binding.JUIteratorBinding.<init> (JUIteratorBinding.java:60) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding (JUIteratorDef.java:87) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding (JUIteratorDef.java:51) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding (DCIteratorBindingDef.java:277) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCBindingContainerDef.createExecutables (DCBindingContainerDef.java:296) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer (DCBindingContainerDef.java:425) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer (DCBindingContainerReference.java:54) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer (DCBindingContainerReference.java:44) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.BindingContext.get (BindingContext.java:483) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.BindingContext.findBindingContainer (BindingContext.java:313) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.BindingContext.findBindingContainerByPath (BindingContext.java:633) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.BindingRequestHandler.isPageViewable (BindingRequestHandler.java:268) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.BindingRequestHandler.beginRequest (BindingRequestHandler.java:169) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter (ADFBindingFilter.java:161) [C:/OracleAS/BC4J/lib/adfm.jar (from <code-source> in /C:/OracleAS/j2ee/home/config/server.xml), by adf.oracle.domain:10.1.3.1]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:621) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:370) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:871) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:453) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest (HttpRequestHandler.java:221) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:122) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run (HttpRequestHandler.java:111) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [C:/OracleAS/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\OracleAS\j2ee\home\oc4j.jar), by oc4j:10.1.3]
         at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap:1.5.0_06]

  • Flash help tutorial problem

    I'm just getting started with Flash and thought I'd work
    through the tutorials included in the programs help. The tutorial
    I'm stuck on is called: Creating Graphics - Applying Gradients. The
    section I'm stuck on is Create a transform gradient with a shape.
    I'm having problems applying the radial gradient—either
    it doesn't work at all or applies to the fill but not the stoke.
    This leads me to the question of what stroke and fill settings I
    should have set up—after all I don't really want a stroke! Is
    this oval shape drawn with object drawing turn't on or something?
    I've looked at the completed .fla file and this shadow oval
    shape seems to be a group. Has the person who created it grouped
    the stoke and the fill or what? Which ever way the shape is
    created, it doesn't say anything in the tutorial about how it
    should be selected to apply the radial gradient! Surely it needs to
    be selected somehow? Because when I try to apply the radial
    gradient nothing happens!
    Please can somebody help me figure this out—it's really
    bugging me!

    rename your gallery to something other than galleryinprogress.swf, say gallery.swf.
    in flash create a new fla named galleryinprogress.fla with the same stage size and background color as your previous galleryinprogress.swf and attached to frame one of your new galleryinprogress.fla add:
    var tf:TextField = this.createTextField("tf",1,0,0,100,40);
    tf.autoSize = "center";
    tf._x = Stage.width/2;
    tf._y = Stage.height/2;
    this.createEmptyMovieClip("mc",1);
    mc.loadMovie("http://homepage.mac.com/nakean/.Public/swf/gallery.swf");
    preloadI=setInterval(preloadF,100);
    function preloadF(){
    tf.text=mc.getBytesLoaded() +" bytes loaded out of "+mc.getBytesTotal()+" bytes total.";
    if(mc.getBytesLoaded()>0&&mc.getBytesLoaded()>=mc.getBytesTotal()){
    clearInterval(preloadI);
    tf.removeTextField();
    publish your new galleryinprogress.swf and upload to the same directory as your previous (but now renamed) galleryinprogress.swf.

  • Flash 8 Actionscript Tutorial problem

    I have followed the following instructions to the letter
    (several times) but the button script won't activate a URL and I
    get an error message from Flash 8 which I'll show after this:
    1.Select the invisible button on the Stage.
    Open the Property inspector (Window > Properties), and
    find the Instance Name text box in the Property inspector.
    Type inv_btn into the Instance Name text box.
    Select Insert > Timeline > Layer to insert a new layer,
    and then rename the new layer to actions.
    Open the Actions panel (Window > Actions), and then select
    Frame 1 of the actions layer.
    Type the following ActionScript into the script pane (the
    editable text field) in the Actions panel:
    inv_btn.onRelease = function(){
    getURL("
    http://gnome.deseloper.com",
    "_blank");
    This does not work. Here is the error message:
    **Error** Scene=Scene 1, layer=button, frame=1:Line 1:
    Statement must appear within on handler
    inv_btn.onRelease = function(){
    As this script was copied directly from the tutorial text,
    and I have never scripted anything before, I am at a loss to
    explain this or how to make it work. Can anyone help me?

    I'll approach this from the opposite end... replace the code
    you have with:
    on(release){
    getURL("
    http://gnome.deseloper.com",
    "_blank");
    If that works, then the problem is that you didn't put the
    code where the instructions you show indicated you should. For what
    you did, the code I just showed is appropriate (though not a good
    practice because it is hidden from easy review). It's better to
    keep your code in the timeline where it can be easily found.
    You will have selected the button and then typed the code in
    the actionscript editor. Instead, you need to
    click on the frame in the (separate) actions layer in the
    main timeline that you should have made already, not the button
    layer, and then place that code from the tutorial in the
    actionscript editor window.

  • Oracle SOA 11g TP3 - Tutorial problem

    Hello!
    I am quite new to this whole platform, and while I was following the First step of the tutorial, I ran into a problem, which I have no idea how to solve.
    (this tutorial: http://download.oracle.com/otndocs/products/soa/105-end2end-PO-Processing.zip )
    As it said I installed the prerequisites,
    an Oracle database,
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    the Oracle SOA Suite 11g TP3,
    as well as jDeveloper 11.1.1.0.0
    After I successfully created and successfully deployed the 'CreditCardValidation Application' following the steps in 105-end2end-PO-Processing_2.pdf (part of the zip, but it's basically a database adapter a mediator and an exposed web service packed together) and I tried to test it, i got this error:
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode
    xmlns="">env:Server</faultcode>
    <faultstring
    xmlns="">null: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'OracleXESelect' failed due to: Could not create/access the TopLink Session. This session is used to connect to the datastore. Caused by Exception [TOPLINK-4002] (Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)): oracle.toplink.exceptions.DatabaseException Internal Exception: java.sql.SQLException: No suitable driver Error Code: 0. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </faultstring>
    <faultactor
    xmlns=""/>
    <detail
    xmlns="">
    <exception/>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    If I understand it correctly, the core of the problem is this:
    java.sql.SQLException: No suitable driver Error Code: 0.
    now if this is the problem, how to solve it?
    Ideally I would start by looking at the configurations of Toplink, but I didn't install Toplink, as such I have no idea where these options are.. (Is it part of the database in this current configuration?)
    Thanks in advance!
    Mike

    Actually, the tutorial works fine in this version, all the way through. Specifically, the database adapter is working.
    The problem you are having has been discussed on this forum. You should do this:
    sqlplus sys/system@XE as sysdba
    SQL> show parameter session
    SQL> show parameter processes
    SQL> alter system set sessions=100 scope=spfile;
    SQL> alter system set processes=150 scope=spfile;
    SQL> shutdown immediate
    SQL> startup
    SQL> show parameter session
    And restart your server. That should fix it. Some people have also restarted Windows.
    Heidi.

  • ADF 11 - Oracle Developer Day 28.05.2009 Online Tutorial Problem/Bug

    Hello
    I've downloaded the tutorial [http://events.unisfair.com/index.jsp?eid=394&seid=28] for the Developer Day scheduled for the 28.05.2009. [http://events.unisfair.com/index.jsp?eid=394&seid=28]
    I've completed the tutorial and discovered what would seem to be a bug.
    I've reproduced the problem in a new simpler application.
    Its a bit long but here we go.
    The situation is :
    Two panel splitters one inside the other, one vertical split and one horizontal split dividing the screen into a 3 parts, a left column and a right column split into a top and a bottom.
    ADF BC have been created using the Departmetns and Employees tables from the HR schema.
    In the left column there is an adf read only form bound to Departments with navigation controls.
    On the right at the top there is a read only table (with row selection) bound to the Employees view in the Departments view (master-detail)
    On the right at the bottom there is a form bound to the Employees view in the Departments view (master-detail)
    Using the left column read only form I navigate to Department 50 which has employees 120 to 199.
    The Employees af:Table shows employees 120 to 191 without scrolling.
    Using the scroll bar on the employee table I scroll to the bottom of the employees table (now employees 128 to 199 are showing)
    I then select on employee 198
    The form at the bottom right correctly positions on employee 198 however the employee table re-positions on employee 190 !
    Using the scroll bar I scroll to the bottom of the employees table (now employees 128 to 199 are showing)
    Employee 198 is selected.
    I select employee 199
    The form at the bottom right correctly positions on employee 199 however the employee table re-positions on employee 191 !
    I repeat the same process but selection employee 193
    The form at the bottom right correctly positions on employee 193 however the employee table re-positions on employee 185 !
    It would seem that the employee table scrolls up the exact number of rows that need to be scrolled down in order to show the last table row.
    Added to that when the tabel re-positions it would seem to be re-fetching its data...
    Can anybody explain what's going on or confirm the above observations?
    Regards
    Paul

    Hi,
    there is an attribute "displayRow" on the table to set what should be shown after refreshing the table. Set this to "selected"
    Frank

  • 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

  • JDeveloper BC4J Programmatic Client Tutorial Problem

    I have searched everywhere, but cannot find a correct working solution for this problem.
    Description:
    I am running the tutorials found under:
    Help Menu -> Help Topics -> Tutorial
    I can get several tutorials to work, but I am stuck on the tutorial titled:
    "Business Components Programmatic Client Tutorial".
    The BC4J Standalone Client tutorial is giving me this error after completing Step 3:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrders/common/bc4j.xcfg in the classpath
    There is no information regarding how to correctly configure the classpath or fix this problem.
    I am using JDeveloper 9i RUP7 at the Oracle Support site Knowledgebase 416708.1 for Release 11i:
    https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=8751878
    My OS is Windows XP
    How can this this be resolved, so that I can successfully create a BC4J client in JDeveloper?
    Thanks in advance for any help
    Edited by: user8115477 on Apr 26, 2010 7:28 AM

    Thanks for clarifying that the package should have multiple names / hierarchy.
    I encountered the problem because the JDeveloper9i BC4J tutorial suggested one-level name.
    Eventually, I made changes similar to what you suggested, and now I can get the program tutorial to work.
    I was able to get the tutorial running by manually changing the package name as below:
    Tutorial Suggests:
    "OnlineOrders"
    What I did:
    Gotta have two-levels deep, so I entered "OnlineOrders.bc4j" instead.
    Then, I replaced all instances of "OnlineOrders" with "OnlineOrders.bc4j"
    This includes updating the code that must be copy-pasted into the Batch Client.
    Update all calls of "OnlineOrders.appName" to "OnlineOrders.bc4j.appName" etc... etc...
    I will mark this item as answered, since my OP question was answered.

  • More tutorial problems

    In another tutorial I get the following compile error:
    Error /tutorials/tutorial2.mxml
    A file found in an source-path must have the same package
    structure '',
    as the definition's package, 'samples.contact'.
    There is a file called Contact.as, but I don't know where it
    should be
    located to be in a flex classpath.
    The file tutorial2.mxml contains the line:
    import samples.contact.Contact;
    Anybody know how to solve this problem?
    Doug

    Yes you are right I think (can't be absolutely certain as I
    still have
    an error). Adding the mxml files to a correctly defined
    project (see
    below) gets rid of the error I had before.
    I am confused though about the difference between a project
    and a package.
    I have found that if I use the same name for an mxml file in
    different
    projects, any errors that occur in either file are all shown
    in the
    problems panel when either file is selected, and neither will
    run. Both
    generate a page can't be found error e.g. tutorial1.html
    cannot be found
    (followed by the location) whereas I can see that this file
    definitely
    does exist at this location. Deleting either of the files
    allows the
    other to run correctly.
    In the project definition, I had to change from the default
    server
    (default\flex) to default\samples - I think this is what the
    tutorial
    writer means when he talks about a 'samples web application'.
    For anyone else trying to follow these tutorials:
    Put the Contact.as file into a contact folder in the
    default\samples
    directory and then in that file and any other mxml file where
    it is
    mentioned, change samples.contact.Contact to just
    contact.Contact.
    However, I still have an error:
    In the completed1.mxml file downloaded from MM, there is the
    following code:
    public function changeHandler(event:ObjectEvent)
    log.text = noteProxy.noteText;
    This generates the error:
    Type was not found or was not a compile-time constant:
    ObjectEvent
    I think this tutorial was written for an earlier beta and has
    not been
    amended to reflect the changes in later betas. It looks as
    though there
    is no longer a type called ObjectEvent in beta3. Does anyone
    know what
    this should be changed to?
    Doug

  • 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

  • Web Services tutorial - problems executing

    I've recently installed jdeveloper onto winXP pro from the jdev9i_902.zip download and installed to D:\jdeveloper. Following the instructions I also installed JDK1.3 to D:\jdk1.3.1_04. I ran the setup for oc4j.
    The problem I have is that when I followed the "Publish a stateless Java class as a Web service" tutorial, everything goes well until I run it. The errors produces are (taken from the tcptunnel output):
    ===========
    HTTP/1.1 100 Continue
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Date: Sat, 20 Jul 2002 18:35:21 GMT
    HTTP/1.1 500 Internal Server Error
    Date: Sat, 20 Jul 2002 18:35:22 GMT
    Server: Oracle9iAS (9.0.2.0.0) Containers for J2EE
    Content-Length: 853
    Set-Cookie: JSESSIONID=72fa269c5c2f46889c1fe8e2b69b981d; Path=/
    Cache-Control: private
    Connection: Close
    Content-Type: text/html
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>Servlet error: Cannot generate Class: error: Invalid class file format in E:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    D:\jdeveloper\j2ee\home\application-deployments\WorkspaceStatelessJava-ProjectStatelessJava-WS\WebServices\temp\__java_stateless_rpc\__HelloImplStatelessWrapper.java:0: Class java.lang.Object not found in class oracle.j2ee.ws.InvocationWrapper.
    ^
    D:\jdeveloper\j2ee\home\application-deployments\WorkspaceStatelessJava-ProjectStatelessJava-WS\WebServices\temp\__java_stateless_rpc\__HelloImplStatelessWrapper.java:8: Class java.lang.Object not found in import.
    import java.lang.Object;
    ^
    3 errors
    </PRE></BODY></HTML>
    =======
    The main section that concerns me is "Invalid class file format in E:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). ", why is using this?
    Any feedback on this is appreciated.
    Dave

    Dave, given the messages returned indicate your configuration is looking at a j2se1.4 directory, I think that is the problem. Neither OC4J or JDeveloper are certified with JDK 1.4. I realize that you have installed 1.3 so my guess is that in following step 8 and 10 of the "Installing and Running Oracle9iAS Containers for J2EE" where it says:
    8. Install the J2EE container using the following command: java jar oc4j.jar install
    10. Start the J2EE container by issuing the following command: java jar oc4j.jar Show me.
    the problem is that the commands were not prefixed with the location of your JDK 1.3 installation and by default picked up the later JDK 1.4. I think you will be able to get around it by running the commands as follows (replacing directory names by your locations):
    <jdk1.3_home>\bin\java -jar oc4j.jar -install
    <jdk1.3_home>\bin\java -jar oc4j.jar
    Your JDeveloper should be fine unless you changed its JDK to also be 1.4; by default it uses its own built-in 1.3 JDK.
    Hope this points in the right direction.
    Mike.

  • Ps touch tutorial problem

    Hi,
    I have PS for my iPad 2 and I'm experiencing problems with the tutorial. It seems not all of the screen is visible at the bottom and the items don't respond as the instructions imply.
    Any ideas?
    OS 6.0.1
    Thanks

    Hi,
    I have over 3gb spare. I would rather not upgrade to the latest OS as a friend of mine has had even more problems with the latest OS.
    How about deleting and reinstalling the app? It's the tattoo placing on skin tutorial I was trying. The small tattoo image has an exclamation mark over it and doesn't respond to touch ,
    Thanks

  • "First Website" tutorial problem

    Hi all,
    I'm doing this tutorial right now
    http://www.adobe.com/devnet/dreamweaver/articles/first_website_pt2.html
    When I get to the point to attach style sheet "check_cs5.css" I get a popup error from dreamweaver saying
    "The specified style sheet could not be found. Continue by adding the link/import statement in this page anyway?"
    If I click yes then it pastes the information into the code but nothing actually happens. I searched the forums for this issue and only found one person who had the same problem back in 2004 and their question was never answered.
    Thanks in advance
    MS
    PS - I tried using a dreamweaver template and attaching their styles also but I get the same message

    mszo wrote:
    If I click yes then it pastes the information into the code but nothing actually happens.
    What do you mean 'nothing actually happens'. If you look in code view do you mean that the link to the 'check_cs5.css' style sheet is not there?
    Have you checked in the site folder that 'check_cs5.css' file exists?
    If push come to shove then just manually link it. Copy and paste the below into the <head> section of the code:
    <link href="check_cs5.css" rel="stylesheet" type="text/css" />
    The link above means that the 'check_cs5.css' file resides in your site folder. If it is in another folder in the site folder the link would be:
    <link href="yourFolderName/check_cs5.css" rel="stylesheet" type="text/css" />

  • Rookie and tutorial problem

    I took the following code directly from the tutorial.
    public class SomethingIsRight {
    public static void main{String[] args) {
    Rectangle myRect = new Rectangle();
    myRect.width = 40;
    myRect.height = 50;
    System.out.println{�myRect�s area is � + myRect.area());
    I compile with the following statment:
    Javac SomethingIsRight.java
    I get the following errors:
    Javac SomethingIsRight.java
    SomethingIsRight.java:3: cannot resolve symbol
    Symbol : class Rectangle
    Location: class SomethingIsRight
    Rectangle myRect = new Rectangle();
    ^
    SomethingIsRight.java:3: cannot resolve symbol
    Symbol : class Rectangle
    Location: class SomethingIsRight
    Rectangle myRect = new Rectangle();
    2 errors
    I started the tutorial from the beginning, and everything else compiled.
    This is the first time I have used "Rectangle", so I could have a problem locating the libraries.?
    Thanks in advance

    Well, it was taken from the following excercise: http://java.sun.com/docs/books/tutorial/java/data/QandE/objects-answers.html
    I think the idea was only that you should insert the new statement. But I agree that it is stupid to make an example of a program that doesn't compile even after fixing the supposed error. That's a really bad way of teaching people to do the right thing.
    My advice: don't worry about it and move on with the tutorial. :)

Maybe you are looking for