Tutorial problem 'no metadata'

Hi there,
I'm working through the tutorial under an evaluation license of the
standard edition, and have gotten stuck in Chapter IV: Inventory
Growth. When I go to do the enhancement after compiling, the enhancer
complains
'Type "tutorial.Rabbit" has no metadata; enhancing as
persistence-aware.'
which then manifests itself again by having the schematool throw an
exception:
'Exception in thread "main" javax.jdo.JDOFatalUserException: Type
"class tutorial.Rabbit" does not have JDO metadata.'
What's going wrong? How do I fix it?
Notes that may be of assistance:
(1) Yes, I checked that my Rabbit.java is the same as in the
tutorial.solutions package.
(2) Yes, I updated the package.jdo file. But I've attached it just in
case something's wrong here.
(3) For the sake of thoroughness, I have been recompiling everything
before the enhancement step (which I always do via the package.jdo file
rather than naming the specific classes via the command-line
parameters).
(4) I'm not using the project structure implied by the tutorial. I'm
using my company's standard:
KodoTutorial\
src\tutorial - the .java source files.
bld - the resulting .class files.
This hasn't caused problems in prior chapters, though.
(5) I'm using Sybase db & drivers and the GenericDictionary. But this
wouldn't cause the enhancer problem, of course. And it's worked fine
anyway.
(6) I'm compiling via JBuilder.
(7) JDK 1.4.0 beta.
TIA.
Angus.

it' s possible, that the path, where your xml-file package.jdo is right.
bin\tutorial
can be. Than can the enhancer identify, that a jdo-file exists and
can this can make persistance-capable.
ok, cheers heiko
"Angus Monro" <[email protected]> schrieb im Newsbeitrag
news:[email protected]...
Hi there,
I'm working through the tutorial under an evaluation license of the
standard edition, and have gotten stuck in Chapter IV: Inventory
Growth. When I go to do the enhancement after compiling, the enhancer
complains
'Type "tutorial.Rabbit" has no metadata; enhancing as
persistence-aware.'
which then manifests itself again by having the schematool throw an
exception:
'Exception in thread "main" javax.jdo.JDOFatalUserException: Type
"class tutorial.Rabbit" does not have JDO metadata.'
What's going wrong? How do I fix it?
Notes that may be of assistance:
(1) Yes, I checked that my Rabbit.java is the same as in the
tutorial.solutions package.
(2) Yes, I updated the package.jdo file. But I've attached it just in
case something's wrong here.
(3) For the sake of thoroughness, I have been recompiling everything
before the enhancement step (which I always do via the package.jdo file
rather than naming the specific classes via the command-line
parameters).
(4) I'm not using the project structure implied by the tutorial. I'm
using my company's standard:
KodoTutorial\
src\tutorial - the .java source files.
bld - the resulting .class files.
This hasn't caused problems in prior chapters, though.
(5) I'm using Sybase db & drivers and the GenericDictionary. But this
wouldn't cause the enhancer problem, of course. And it's worked fine
anyway.
(6) I'm compiling via JBuilder.
(7) JDK 1.4.0 beta.
TIA.
Angus.
<?xml version="1.0"?>
<jdo>
<package name="tutorial">
<class name="Animal" />
<class name="Dog" persistence-capable-superclass="Animal" />
<class name="Rabbit" persistence-capable-superclass="Animal" >
<field name="parents">
<collection element-type="Rabbit"/>
<extension vendor-name="tt" key="inverse" value="children"/>
</field>
<field name="children">
<collection element-type="Rabbit"/>
<extension vendor-name="tt" key="inverse"value="parents"/>
</field>
</class>
</package>
</jdo>

Similar Messages

  • [svn] 4143: Fixed problem with metadata in SelectionFormatTextStyles. as so that named colors work for selectionColor, unfocusedSelectionColor, and inactiveSelectionColor attributes on Gumbo components.

    Revision: 4143
    Author: [email protected]
    Date: 2008-11-19 14:53:40 -0800 (Wed, 19 Nov 2008)
    Log Message:
    Fixed problem with metadata in SelectionFormatTextStyles.as so that named colors work for selectionColor, unfocusedSelectionColor, and inactiveSelectionColor attributes on Gumbo components.
    Thanks, Glenn!
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-18070
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18070
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/SelectionFormatTextStyles .as
    flex/sdk/trunk/frameworks/projects/wireframe/bundles.properties

    Revision: 4143
    Author: [email protected]
    Date: 2008-11-19 14:53:40 -0800 (Wed, 19 Nov 2008)
    Log Message:
    Fixed problem with metadata in SelectionFormatTextStyles.as so that named colors work for selectionColor, unfocusedSelectionColor, and inactiveSelectionColor attributes on Gumbo components.
    Thanks, Glenn!
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-18070
    Reviewer: Glenn
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-18070
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/SelectionFormatTextStyles .as
    flex/sdk/trunk/frameworks/projects/wireframe/bundles.properties

  • LR4 Problem Saving Metadata

    Ever since I upgraded to LR4 I have noticed a problem with metadata. I have created a Smart Collection  with the rule "Metadata status is Has Been Changed" to show me all of the images that I have updated metadata but not written the changes to disk. I am seeing the number of images in this collection gradually increase ... but not because I am working on images!
    If I go to the collection, do a "Select All" and then do a "Save Metadata to Files", sure enough the disk goes crazy and the images are removed from the collection. BUT ... if I just sit back and watch ... after a few seconds of inactivity the smart collection gradually fills up again ... with the same Images I just saved!!!
    Like I mentioned, it seems like this list is getting gradually longer and longer. A few months ago I had about 20 images that were behaving like this, but now I have over 250!
    Anyone seeing the same thing? Or have any suggestions as to the cause?
    I'm running LR4.1 on an iMac running Mac OS X Lion (10.7.4).

    Lr4.3/Win7 pro 64bit-file format dng without write to xmp automatically
    This returning group of 'metadata changed' issue has repeated itself in past version and currently.
    I select the returnees and use the menu command  'Update dng preview and save metadata'  That appears to do the trick for no reappearance occurs.
    Since I'm 'catching up' on past images that were not processed I assumed this issue could be connected to 'building the previews'.
    Its an annoyance if there are many images that had a metadata change resulting from a simple thing such as keyword edit or move. I learned to do 'save metadata' often rather than watch most of a large group return into view.
    Just repeating the save didn't always work but the 'update previews and save' does complete the action.
    Rose

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

  • Problem in metadata.getColumns...pl help me

    Hello
    This is my program
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn = DriverManager.getConnection(url+dataSource,Uname,Pwd);
    out = new FileOutputStream("myfile.sql");
    p = new PrintStream(out);
    DatabaseMetaData metadata = conn.getMetaData();
    ResultSet rsTables = metadata.getTables("",Uname,"%",tabtypes);
    p.println("/* File Created on");
    while(rsTables.next())
    String tmp = rsTables.getString("TABLE_NAME");
    // String coltype = rs1.getType(2);
    p.println("Create Table "+ tmp + "(");
    //when i use this
    ResultSet rsColumns = metadata.getColumns("",Uname,tmp,"");
    it says the foll. error
    ava.sql.SQLException: [Oracle][ODBC]Driver not capable.
         at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6031)
         at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)
         at sun.jdbc.odbc.JdbcOdbc.SQLColumns(JdbcOdbc.java:2174)
         at sun.jdbc.odbc.JdbcOdbcDatabaseMetaData.getColumns(JdbcOdbcDatabaseMetaData.java:2576)
         at mypackage.Dbcopy.doCopy(Dbcopy.java:72)
         at mypackage.myclass.main(myclass.java:20)
    but the foll. line works fine...
    ResultSet rsTables = metadata.getTables("",Uname,"%",tabtypes);
    Let me know if that one is driver specific....any other way i can use it.
    I m trying to query the tables in a oracle database and output a .sql file which has
    create table <tablename>(colname, datatype)
    and when i run this .sql file it should create thos tables.
    Thanks
    SS

    Hello,
    This is my program.
    I am able to get the tables and their columnnames , now my problem is i need to get the actual datatypes and their length.
    As of now i need to get the datatype from oracle and its length. one more problem is i m checking for the last column if its the last column in table i need to close with this brace ")" else i need to put a comma and continue. when i m using the isafterlast method its not working. how to check that.
    It should be of great help to me if you could let me know....as i need to give it to my manager on monday morning.
    Thanks & Regards
    Srinivas
    public class Dbcopy2 {
    public static String Uname;
    public static String Pwd;
    public static String url = "";
    public static String cat;
    public static FileOutputStream out;
    public static PrintStream p;
    public static String dattype;
    public static String tabtypes[]={"TABLE"};
    public Dbcopy2(String url,String Uname, String Pwd) {
    this.url = url;
    this.Uname = Uname;
    this.Pwd = Pwd;
    public void doCopy(String datasource)
    try {
    DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection(url, Uname, Pwd);
    out = new FileOutputStream("myfile.sql");
    p = new PrintStream(out);
    GregorianCalendar dt = new GregorianCalendar();
         p.println("--Rem File Created on " + dt.getTime().toString());
    DatabaseMetaData metadata = conn.getMetaData();
    ResultSet rsTables = metadata.getTables(null,null,"%",tabtypes);
    ResultSetMetaData md = rsTables.getMetaData();
              int cols=md.getColumnCount();
    while(rsTables.next())
              if (rsTables.getString(2).equalsIgnoreCase(Uname))
                   String schemaname = rsTables.getString(2);
                   String tbname = rsTables.getString(3);
                   p.println("Create table " + tbname + "(");
         ResultSet rsColumns = metadata.getColumns(null,schemaname,tbname,null);
                   ResultSetMetaData md2 = rsColumns.getMetaData();
    String colname=null;
    String coltype=null;
    String colsize=null;
    String colltype=null;
         while(rsColumns.next())
              colname = rsColumns.getString(4);
              coltype = rsColumns.getString(5);
              colsize = rsColumns.getString(7);
              p.print(colname + " ");
         /* if (coltype = (java.sql.Types.CHAR)) // i m getting some error here and is this the right way to do it//
         colltype = "CHAR" ;
    if(rsColumns.isAfterLast())
                                                 p.print(coltype+" ("+colsize+")");
         else
         p.print(coltype+" ("+colsize+"),");
         }p.println(");");
    p.println();
    } catch(Exception e)
    e.printStackTrace() ;
    public static void main(String[] args) {
    Dbcopy2 db = new Dbcopy2("jdbc:oracle:thin:@192.168.0.21:1521:orcl","scott","tiger");
    //Dbcopy2 db = new Dbcopy2("jdbc:oracle:thin:","scott","tiger");
    db.doCopy("isol");

  • Problems with metadata in .mov files

    Hi
    I'm trying to set up an archiving system for video much like the one I use for photography. In doing this, I use metadata (File Info) reated and applied in Bridge to create searchable keywords for our archivist to use.
    The problem is, I can't get bridge to create the metadata files. I can access the metadata templates function through the tools, File Info, or by control-clicking the image. But the window that opens is not editable, though it is savable. Blank but savable. I also cannot access other, previously created, templates. They are viewable, but greyed.
    I don't think i had this issue a couple of weeks ago. Am i doing something wrong?
    filmgrrrl

    I'm not familiar with movies but tried a .mov file myself. It is not
    possible to add metadata or keywords because it gives the message that it is
    a read only file.
    And it does make sense you can't add data to a read only file
    I tried also a little project that I used for try with film function on my
    powershot G9 and that was saved in i-Movie as Mv4. This file is capable of
    adding metadata so you should search for a way to make the .mov readable
    (don't know if it is possible at all), or if you make theme yourself try a
    format earlier in the process. But as said, I know very little to none about
    movies...
    Could this be with the version of Bridge I'm using? It really doesn't seem to
    want to give me access to change the metadata on .mov files. it's fine on
    photo files of various formats.

  • Problems with metadata in Bridge CS3

    We have a couple of problems:
    Problem 1: Every time images are rotated we are losing the embedded metadata?
    When an image arrives from a photographer and shows an orientation of 90° in the camera exif metadata (as seen in Bridge) we have to rotate it (or just resave it in Photoshop) so that it appears the right way up. This causes it to lose its metadata.
    Obviously if we do all the rotating BEFORE we input metadata then this isnt a huge problem.
    However it is a problem if the images arrive with metadata that we would like to keep.
    Problem 2 Weve noticed that Bridge doesnt always write metadata to a file across the server. Weve run tests to check this: we write metadata to a file using Bridge but when we open the image in Photoshop its not there. Is this a known fault?
    Thank you very much for any help,
    Susannah

    According problem 1: this is not normal behavior and you could try first to restart Bridge holding down option key to reset the preferences.
    But if you experience this also on the server I don't know if this solutions works. And according to problem 2, you should open a case on Adobe support using the little contact button top right on this page, not many users (including me) of this forum are using a server or know a lot about of that workflow :-(
    You could try a forum search also on the word server (Search for forum only works when you are on the mainpage with al the post for Bridge for some strange reason...)

  • 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

  • Problem writing metadata to Jpegs originating from Macs

    Everything works great when trying to write metadata to a JPEG that originates from a PC. But since my company runs a website, we have to be able to handle JPEGs that come from Macs. I've run across an issue where trying to write metadata to a Mac-JEPG causes an error.
    Specifically it occurs in TIFF_MemoryReader::ParseMemoryStream(*), where the code tries to find the tnailIFDOffset value. For PC-JPEGs, it returns a sensible value, but with Mac-JPEGS, the value is 0x65005020. Which is clearly beyond the image size.
    The result being that no metadata is saved to the image. A workaround is to download the image, open in a PC Photoshop, and try again with that new image. This suggests the problem is in the file structure of Mac-JPEGs.
    Does the toolkit support these images? Is there a better code-centric workaround? Do I have to re-encode the image to PC format before I use the toolkit?

    Hi,
    I have just started working with XMP data manipulation using XMP toolkit.
    I am able to read and update XMP data successfully, but not getting an idea to write back to JPEG file.
    Is there any API in XMP Toolkit to perform this task?
    If not, Please give me some guidelines for this....
    Thanks.

Maybe you are looking for