Oracle 11.2.0.2 and nchar optimizer problem

Hello,
sorry in advance for not being able to give all details to narrow better this possible problem.
I admit it could be elsewhere.....
I have a complex query where in particular an nchar(2) field (say col1) of table tab is involved
I'm experimenting a sort of problem in optimizer estimating the number of rows it will get from this condition and so the corresponding overall cost of the query
the table contains about 300k records and this field has at this moment 2 different values
blankblank --> almost all records
AA --> about 30 records
there is at the moment a single index IND1 defined on this column (not a bitmap index)
Both table and index are analyzed
if my query contains the condition
AND TAB.COL1 = ' ' ---> single blank
Then the optimizer erroneously thinks with explain plan to get about 30 rows
|* 5 | INDEX RANGE SCAN     | IND1 |     29 |     |     3 (0)
| 00:00:01 |
and the overall about 98, but the query actually doesn't come to an end ... (waited 10 minutes)
if my query contains the condition
AND TAB.COL1 = ' ' --->double space
it doesn't use that wrong path and completes in about 1 second.
If I replicate the query with single space on a test db with 11.2.0.1 it behaves correctly.
If I force it to behave as the default wrong query in 11.2.0.2 (I have to use 3 hints to duplicate it)
I get
|* 5 | INDEX RANGE SCAN     | IND1 | 135K|     | 306 (1)
| 00:00:04 |
and overall cost is 304K so it is not used as a possible path...
ANyone knows if anything changed between 11.2.0.1 and 11.2.0.2 for nchar and these possible different behaviours?
(BTW: also in another 11.1.0.6 db I don't have this problem)
The query is created by application and I cannot put the amount of necessary spaces.....
And I'm afraid this problem could exist also for other tables where I have nchar(N) fields with N >2 too....
Thanks in advance,
Gianluca

1) do you have a frequency histogram on this column?
and
2) is the client application using bind variables or string literals when querying?

Similar Messages

  • Oracle Workflow Manager, Agent Listener, and Java Mailer problem

    Hi,
    I am not sure this topic to this forum, since this might be installation issue.
    But I am hitting a big wall.
    I had Windows 2000 SP4.
    I have already installed Oracle Database 10gR1, Oracle Developer 10gR2, and Oracle Workflow 2.6.3 Standalone previously.
    Including :
    - Oracle Workflow Server 2.6.3
    - Oracle Workflow Builder 2.6.3.5
    - Apache HTTP Server 9.0.4
    - Workflow Middle Tier
    Anything seems to right, including the Notification Mailer and the Business Event.
    And I had also made backup of them surely.
    Now,
    I'd like to change into Oracle Database 10gR2 because :
    1. Some errors I found when I tried to call a Report from Oracle Form.
    Unable to connect to Report Server ...
    I thought Oracle Database 10gR1 is not suitable for Oracle Developer 10gR2.
    2. And in the OWF 2.6.3 Workflow Home Page, there was no Logout button (which I found in OWF 2.6.4)
    I removed my previous installation including Oracle Workflow.
    After strugglineg in the installation of Oracle Database 10gR2, now I am facing another problem with Oracle Workflow.
    I succesfully installed Oracle Workflow 2.6.4 Server and Oracle Workflow Manager (standalone version),
    and the Oracle Workflow Middle Tier.
    After I launch Oracle Workflow Configuration Assisstant, everthing seems to be normal.
    I succed to open the Oracle Workflow Home Page (and found the Logout button there)
    Next, I tried to navigate to the Oracle Workflow Manager.
    1. I start the OC4J_Workflow_Management_Container --> initialized
    2. OC4J_Workflow_Component_Container
    The following error line appeared in the OC4J command prompt
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.Logger.Logger(String,
    int) : Logging to System.out until necessary parameters are retrieved for Logger
    to be properly started.
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    initializeStateMachine() : BEGIN [default implementation]
    06/05/26 10:31:40 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    getNewWorkflowContext() : BEGIN
    06/05/26 10:31:45 LOG_ID_UNKNOWN : oracle.apps.fnd.cp.gsc.SvcComponentContainer.
    loadGlobalParameters() : BEGIN
    06/05/26 10:31:48 oracle.apps.fnd.wf.common.ContextFactoryException: Unable to g
    et connection from data source because the following Exception occurred -> java.
    sql.SQLException: ORA-28000: the account is locked
    06/05/26 10:33:57 Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)
    initialized
    3. finally it initialized
    Next I tried to go to Oracle Workflow Manager from related link of Enterprise Manager
    It is said that the OWF_MGR is locked
    (I surprised since I had UNLOCKED the OWF_MGR after the installation and succeed to login at the Workflow Home Page)
    And the following error line appeared in the commaned prompt after that
    06/05/26 10:35:03 OrionCMTConnection not closed, check your code!
    06/05/26 10:35:03 Logical connection not closed, check your code!
    06/05/26 10:35:03 (Use -Djdbc.connection.debug=true to find out where the leaked
    connection was created)
    4. I re-UNLOCK the OWF_MGR and login to Oracle Workflow Manager
    I noticed that the Agent Listener and Notification Service is Unavailable
    (In OWF 2.6.3, The Agent Listener was started and Notification Service was waiting to be configured)
    I tried to start one of the Agent Listener, but the following error appeared
    ERROR: The Service Component Container is not running
    Well, I had the same problem when installing the OWF 2.6.3
    I tried to uninstall (remove) and re-install it like I had done before in OWF 2.6.3
    (based on someone's post in Oracle's forum)
    But this time, the re-installation won't fix this problem. (It was succeed in the OWF 2.6.3)
    Everytime I start the OC4J, using wfmgrstart.bat and wfsvcstart.bat
    the OWF_MGR is re-LOCKED(TIME) automatically.
    And the servlet (WFALSNRSVC and WFMLRSVC) are not running.
    I am worry, since I cannot use the Notification Mailer if this problem had not fixed yet.
    (In OWF 2.6.3, the mailer was not available until those servlet is Started)
    Sorry for the long post.
    Any help would be grateful.
    Many thanks,
    Buntoro

    Hi,
    Finally, I have found the solution.
    Step :
    1. Start all of the Oracle Service, except for the OC4J
    If you have already started OC4J, then stop them
    Unlocked the <wf_manager_user>
    2. Search in your Oracle Home : data-sources.xml
    There should be two files,
    one is in the ...\OC4J_Workflow_Component_Container\application-deployments\WFALSNRSVCApp
    the other is in ...\OC4J_Workflow_Component_Container\application-deployments\WFMLRSVCApp
    3. Make sure, you create back up of them.
    4. Replace the following line
    password="-&gt;pwForOwfMgr"
    with
    password="<your_wf_manager_password>",
    should be look like this
    password="a"
    5. Now start the OC4J using wfmgrstart.bat and wfsvcstart.bat
    6. Next, login to the Oracle Workflow Manager
    This worked for me.
    Hope this will help someone who has the same problem.
    Buntoro

  • Oracle 11g with cocoon.war and glassfish pdf problem?

    Hi all,
    I m install oracle 11g express on CentOS 5.6 OS, oracle apex listener 1.1.2.131.15
    glassfish v2 and cocoon 2.1.11 and connect glasfish with oracle apex and working fine
    Problem begin when I was build cocon xml and deploy cocoon.war on glassfish,
    adding fop_post on cocoon/fop_post (as describe on http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html) but pdf dont work!
    (I was setting all this steps on open suse 11.2-32 byte machine and ubuntu 8.04-32 byte and pdf work ok )
    Is there any idea whats happen whith this pdf error?
    Is problem with 64 byte some specific settings, with java jdk, cocoon, glassfish or something on oracle 11g apex ?
    Gordan
    Edited by: useruseruser on Jun 20, 2011 9:49 PM

    Udo wrote:
    Hi Gordon,
    what kind of error do you receive? And did you receive any error when building the cocoon.war with the 64bit Java? And which JDK are you using anyway?
    -Udo
    >Hi Gordon,
    what kind of error do you receive? And did you receive any error when building the cocoon.war with the 64bit Java? And which JDK are you using anyway?
    -Udo
    Hi Udo
    When I make export to pdf from report theres error Could not open file ///tmp/Report-1.pdf
    I was installing on OpenSuse 11.3 oracle 11g 64 based OS and oracle
    next I was download and unzip and build cocoon2.1.11 as bash build.sh war -- and in build folder theres make cocoon.war
    next I was download apex listener and from command line I was type java -jar apex.war
    next download and build glassfish v2 and this two war files I was deploy on server, and making username as describe
    in apex listener conf documentations, so apex working good over glassfish only cocoon cant create pdf
    giving me error Could not open file ///tmp/Report-1.pdf. and jdk is 1.6 26 64 byte
    error messages from open suse 11.3 64 byte on cocoon/fop_post>
    An error has occured
    org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
    Cocoon stacktrace[hide]
    Exception in StreamGenerator.generate()
    context://fop_post/sitemap.xmap - 17:32     <map:serialize type="xml">
    context://fop_post/sitemap.xmap - 13:33     <map:generate type="stream">
    Unable to get transformer handler for cocoon://fop_post/xsl
    context://fop_post/sitemap.xmap - 38:37     <map:serialize type="fo2pdf">
    context://fop_post/sitemap.xmap - 31:39     <map:transform>
    context://fop_post/sitemap.xmap - 30:38     <map:generate>
    context://sitemap.xmap - 1055:92     <map:mount>
    Java stacktrace[show]
    org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
         at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
         at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
         at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
         at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
         at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
         at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Java full stacktrace[show]
    org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://fop_post/xsl
         at <map:serialize type="fo2pdf"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:38:37
         at <map:transform> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:31:39
         at <map:generate> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:30:38
         at <map:mount> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/sitemap.xmap:1055:92
         at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:339)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:398)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:718)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:501)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:453)
         at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:104)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception when creating Transformer from cocoon://fop_post/xsl
         at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:300)
         at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:331)
         ... 56 more
    Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
         at <map:serialize type="xml"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:17:32
         at <map:generate type="stream"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:13:33
         at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:424)
         at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.java:306)
         at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndValidity(TraxProcessor.java:241)
         ... 57 more
    Caused by: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate()
         at <map:serialize type="xml"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:17:32
         at <map:generate type="stream"> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/fop_post/sitemap.xmap:13:33
         at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:163)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:579)
         at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:280)
         at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:780)
         at org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:414)
         ... 59 more
    Caused by: org.apache.cocoon.ProcessingException: Unknown request object encountered named template : null
         at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:122)
         ... 63 more
    The Apache Cocoon Project
    and other error from CentOS 64 byte same cocoon/fop_post >
    Resource not found
    org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: fop_post/
    <map:mount> - context://sitemap.xmap - 1055:92
    Cocoon stacktrace[hide]
    No pipeline matched request: fop_post/
    context://sitemap.xmap - 1055:92     <map:mount>
    Java stacktrace[show]
    org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: fop_post/
         at <map:mount> - file:///home/nadrog/glassfish/domains/domain1/applications/j2ee-modules/cocoon/sitemap.xmap:1055:92
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:149)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
         at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
         at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
         at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
         at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
         at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
         at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
         at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    The Apache Cocoon Project
    All this steps above, I was making with open suse 32 byte, with oracle 32 byte 10g with
    apex listener, cocoon and glassfish and apex and pdf export working good.
    is there any idea, whats solution for 64 byte cocoon, apex listener oracle express pdf export?
    regards
    Gordan
    Edited by: useruseruser on Jun 23, 2011 9:09 AM

  • I export dump from oracle database 8.1.7 and try to import in 10.2.0. while import its prompt error

    I export dump from oracle database 8.1.7 and try to import in 10.2.0. while import its prompt error as follow
    8.1.7
    SQL> select * from nls_database_parameters where parameter like '%SET%';
    PARAMETER                      VALUE
    NLS_CHARACTERSET               US7ASCII
    NLS_NCHAR_CHARACTERSET         US7ASCII
    10.2.0
    SQL> select * from nls_database_parameters where parameter like '%SET%';
    PARAMETER                      VALUE
    NLS_NCHAR_CHARACTERSET         AL16UTF16
    NLS_CHARACTERSET               WE8MSWIN1252
    C:\Documents and Settings\Administrator>imp system/manager file=H:\CGlByte\cglby
    te_03-07-2013Wed.dmp fromuser=system touser=cglbyte ignore=y
    Import: Release 10.2.0.4.0 - Production on Thu Jul 4 16:11:49 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Produc
    tion
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses WE8MSWIN1252 character set (possible charset conversion)
    export client uses WE8ISO8859P1 character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    Import terminated successfully without warnings.
    Pl suggest remedy
    Regards,

    8.1.7
    AMERICAN_AMERICA.WE8ISO8859P1
    10.2.0
    AMERICAN_AMERICA.WE8MSWIN1252
    exp system/manager file=d:\cgl.dmp owner=cgl, even i set character set before export but no impact

  • NVARCHAR2 and NCHAR detection

    I'd tried to import tables from oracle 9i into Toplinks Workbench. For each table a descriptor was created and all fields where detected correctly, except fields of type NVARCHAR2 and NCHAR. These fields are now undefined. I could specify them manually, but there are a lot of them and the field lengths are also missing.
    Has this bug already bin fixed? Is there a workaround to force Toplink detecting fields of type NVARCHAR2 and NCHAR?
    Thanks.

    Hi Leslie,
    actually I'm using release 9.0.3, build 425. In the meantime I already completed the Descriptors manually. A monotone job, but now its running.
    Regards.

  • Varchar2 and Nchar lengths..

    Hi All,
    I have a doubt. In the Oracle book.. it is said that, maximum size of Varchar2 and Nchar datatypes is 32767bytes. but in the bottom, maximum width in the database comumns are 4000 and 2000 bytes respectively, and we cannnot insert more than that..
    Can anybody explain what is the difference..?
    Thanks in advance

    You are mixing and matching things ...
    Oracle SQL is not the same as Oracle PL/SQL
    Oracle SQL character datatypes are limited to 4K bytes.
    Oracle PL/SQL character datatypes are limited tp 32K bytes.
    Please go back to the books and verify the context as SQL or PL/SQL

  • Oracle EBusiness suite professions tasks and duties

    Hello everybody
    I inquire about something regarding Oracle EBusiness suite professions tasks and duties. I've tasked by my manager with writing a report lists the main tasks and key responsibilities for each of the following technical professions within Oracle E Business Environment:
    1)-Apps DBA.
    2)-Apps Technical Consultant (Apps Developer)
    3)-Apps Business Consultant.
    I've contacted Oracle Support recently via opening SR .But, They informed me that they don’t provide such information and therefore, they suggest me weather to contact Oracle Consulting to post here.
    I would appreciate your help.
    Sami

    I don't see how you'd be able to integrate OAM with EBS unless you have the oSSO (assuming of course that you're not on the bleeding edge, per 975182.1).
    We are running the same configuration and have setup the redirects in OAM policy. We setup specific context roots for each application, then use OAM policy to redirect. (for example, http://iwa-server/ebs redirects to https://ebs-server)
    Unique authorization rule for each redirect, then a unique "policy" on the "Policies" tab for each redirect. Each Policy maps to the respective Authorization Rule.

  • Is it possible to boot oracle vm server over iSCSI and ipxe?

    Hi,
    Is it possible to boot oracle vm server over iSCSI and ipxe?
    I have tried it, but got a kernel panic after the boot progress.
    Can anyone tell me what should I do to install and or boot oracle vm server on and from a iscsi lun instead a local hard drive?
    Thanks!
    Redwan

    959211 wrote:
    Hi,
    I have Windows 2008 R2 64 Bit Operating Server Installed.
    Other software that are Installed :
    1) Visual Studio 2010 Ultimate 32 Bit.
    2) Microsoft SharePoint server 2010 64 Bit.
    For my development purpose I want to install both oracle 11g client 32 bit and oracle 11g client 64 on the same machine.
    Is it possible to install both 32 and 64 bit instance on the same machine.
    Thanks
    Sambityes, possible; but minor challenge to manage dynamically
    how to ensure that you actually use the flavor you desire?

  • Can i use "Oracle Database 12c: Performance Management and Tuning " training for getting certification on "Oracle Database 11g: Performance Tuning 1Z0-054"

    i have taken "Oracle Database 12c: Performance Management and Tuning new" training from oracle university. Now i would like to get certified on "Oracle Database 11g: Performance Tuning 1Z0-054" exam. Is it possible ?

    I essentially endorse and refer you to Matthews' and John's post above.
    I would differ with slightly with Matthew because my guess is you would often be able to use like for like 12c training for an 11g certification ( I believe there are precedents).  BEFORE ANYONE ASKS THE OTHER WAY DOESN'T HAPPEN.
    .... but totally concur with Matthew you would ill advised to procede on that basis without one of:
    - This being advertised as possible on the website : e.g. https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=654&get_params=p_id:169 ... option 2 show courses.
    - Confirmation from Brandye
    - Confirmation from an Oracle Certification Support Web Ticket ( http://education.oracle.com/pls/eval-eddap-dcd/OU_SUPPORT_OCP.home?p_source=OCP )
    ... The more common (and in my opinion usually better) way would be get your 11g DBA OCP ( or higher first) and then take the 1z0-054.  I am almost certain they will accept your 12c course for the 11g DBA OCP.
    If you are choosing the route of not being a 11g (or 12c ) DBA OCP first but are on option 2 and relying on the course for certification then the issue is more in the balance and you are even more strongly advised to get confirmation before proceding (remember if the rules need to be changed for you only then any profit out of the exam is lost).
    In general my understanding is Oracle would prefer to encourage people to train on the latest version of product that is available for training  and will prefer to avoid restrictions which would cause you to train at a lower version.  ( This is simply my guess at Oracle University Policy ... personal opinion only).
    Having said all I have said I'd encourage you to go with the advice of the earlier two posts.

  • Oracle EBS 12.1.3 and SOA 10g hardware sizing

    Hi All,
    To give you the background, we have integration requirements where in one of the interface about 20000 sales orders come in the system everyday and they have about 3-5 lines per sales order. Most of these orders come between 3-6 PM. We have 50 other interfaces along with this but this is a major one. Client is concerned about performance and so we have to give right design and right hardware sizing so that the system is able to handle all the load without causing performance issues. We are planing to use Oracle EBS 12.1.3 and SOA Suite 10.1.3.5 (10g)
    Any processes, documentation on how to go about hardware sizing, tools will be helpful
    Thanks,
    Rahul

    Any Updates??

  • Oracle Application Server 10g Forms and Reports Services

    Hi there,
    I want to install Oracle Application Server 10g Forms and Reports Services. What must I download? The installation guide says that "Oracle Application Server 10g (9.0.4) Forms and Reports Services allows you to install and configure Forms and Reports Services without the need to install and configure all of Oracle Application Server 10g (9.0.4)" but it does not clearly state what exactly to download.
    Oracle Application Server 10g Release 2 (10.1.2.0.2)
    [http://www.oracle.com/technology/software/products/ias/htdocs/101202.html]
    or
    Oracle Developer Suite 10g (10.1.2.0.2)
    [http://www.oracle.com/technology/software/products/ids/htdocs/101202winsoft.html]
    Faoilean.

    You might find better assistance in the APplication Server forum - Oracle Application Server - General

  • Oracle Open World in SanFrancisco and Oracle Spatial

    Hi,
    This week is Oracle Open World in San Francisco, and while usually we try to keep this message board strictly technical, I wanted to mention that there are some interesting things happening here.
    There are a few sessions Wednesday in Room 2016 starting at 3:00 pm:
    Data Management on a Budget with Oracle 10g: Exploring Strategies and Tactics with the U.S. Geological Survey
    by Nate Booth and Harold House, USGS
    Oracle Database 10g Spatial Performance and Manageability Best Practices and German Rail Case Study
    by Dan Abugov (me) and Andreas Hoefler, Fichtner Consulting & IT AG
    I'm excited to be talking about Partitioning Best Practices, and we'll be posting the white paper here on OTN.
    Finally, please come and see us at booth E28 in the Oracle DemoGrounds (we have Locator/Spatial, MapViewer, and Workspace Manager here in the pod). If you are the FIRST person to mention reading this posting on OTN when you visit the booth, we'll be happy to give you a copy of "Pro Oracle Spatial", the first book devoted to developing applications using Oracle Spatial. The book was written by Ravi Kothuri, Albert Godfrind (two Oracle Spatial Developers) and Euro Beinat of Geodan NL. One of the authors (Albert Godfrind) is here, and if you ask I'd bet he'd autograph it for you!
    We also have a very limited supply of the book we'll be giving out over the course of the conference.
    Of course, everyone who stops by will get the Oracle Spatial mini CD which includes viewlets, white papers, and more.
    The book is also available here:
    http://www.amazon.com/exec/obidos/tg/detail/-/1590593839/qid=1102358585/sr=1-1/ref=sr_1_1/002-9450919-8639226?v=glance&s=books

    Hello,
    Take a look at this page, http://www.oracle.com/technology/events/oracle-openworld-2007/index.html
    There are links here to the whole OOW (social network,twitter,blog/flicker)osphere I think the new buzzword being "Social Graph" that covers all that.
    But anyway there are tons of ways for people to sign up and track the sessions and see who's going to go where, etc.
    Regards,
    Carl
    blog : http://carlback.blogspot.com/
    apex examples : http://apex.oracle.com/pls/otn/f?p=11933:5

  • Oracle 11g R2, CREATE TABLE and QUOTAS

    Hello everyone,
    I need some insight about a strange behavior I found out in Oracle 11gR2. Don't know if I do miss something or if I just found out a security issue with Oracle.
    Oracle Version : 11.2.0.1.0
    The problem is related with the CREATE TABLE privilege and the QUOTA on specific tablespace.
    Please, try this on your systems (if you have some spare time and care to confirm the "bug").
    Create a user, grant only two privileges, CREATE SESSION and CREATE TABLE.
    Grant NO quota on any tablespace.
    Try to create table on any tablespace (except SYSTEM) and tell everyone if it worked or not.
    The oracle documentation states the following :
    To create a relational table in your own schema, you must have the CREATE TABLE system privilege. To create a table in another user's schema, you must have the CREATE ANY TABLE system privilege. Also, the owner of the schema to contain the table must have either space quota on the tablespace to contain the table or the UNLIMITED TABLESPACE system privilege.
    [http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/statements_7002.htm#SQLRF01402]
    The fact is, so far, on two different instances of Oracle 11gR2, my users are not limited in creating tables only where they have quotas but wherever they want except SYSTEM.
    The correct behavior would be to deny the table creation on tablespace where there is no quota but it does not.
    My instance of Oracle 10g are behaving correctly and thus the table creation is denied on tablespace with no quota.
    P.S1 Sorry if this a well known "bug/problem/issue". I've been ridicule on a well known forum for asking the same question. I am in no need to be "spoon filled" as stated on that famous website! I have read the documentation! I have googled a lot!
    P.S2 Even though the table creation work on tablespace with no quota, you still can't insert data in it. So, big picture, the user can't filled the tablespace with irrelevant data but he can creates thousand of tables...!
    Do I miss something?
    Is there any "default" option I have to flag to prevent table creation where it should not?
    ?(?)

    Hi. I'm planning on taking my OCP exam. If the exam ask a question realted to this topic, what is the correct answer?
    create user barry identified barry
    grant create session, create table to barry
    1) barry cannot create a table since he has no quota
    2) barry can create a table
    According to the oracle document, the barry needs quota on the tablespace to create a table. however, according to the link you provided, in 11gR2, barry does not need quota to create a table. He only needs a quota to insert data.

  • Impdp ORA-02421 on Oracle 10.2.0.1 and 10.2.0.2

    Hello,
    The impdp utility crashes the import process with ORA-02421 for a schema which starts with a number on both Oracle RDBMS versions : Oracle 10.2.0.1 and 10.2.0.2.
    I tried to apply patch 4671082 to Oracle 10.2.0.1 but it doesn't work and its a known issue.
    Eg.
    Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.PUT_DDL [PROCEDURE:"[b]233"."ADD_JOB_HISTORY"]
    ORA-02421: missing or invalid schema authorization identifier
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 6273
    ----- PL/SQL Call Stack -----
    I need to migrate 1400 schemas (with passwords and all objects) witch starts with a number and I cant rename them.
    Is there a workarround to do this staff.
    Thank you
    Best regards,
    Max

    . Is this version of the database, this method works?yes as long as USER owns table EMPLOYEES

  • Diffrence in running oracle on 32 bit OS and 64 bit OS ?

    Hi ,
    I am new to oracle , i would like to know what's the diffrence running oracle under 32 bit OS and 64 bit OS

    i would like to know what's the diffrence running oracle under 32 bit OS and 64 bit OSWhat type of differences are you looking for? Basic one being you run 32 bit version of Oracle under 32 bit OS and 64 bit version under 64 bit OS.
    Other being the availability of addressable memory in 32 and 64 bit versions (but that is more of an hardware level issue).

Maybe you are looking for