Strange Exception !!! (requestFocus)

Hi all
this is a problem with the WebIntegration developer program of Portal to Go v1.0.2.1, when i launch it, it s ok, but when i click in the left box on an item, this Exception occurs in the console window ... and i can t focus this item, anybody can help me please ?
thanks advance.
Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError: requestFocus
at java.awt.Component.requestFocus(Component.java:2669)
at jclass.bwt.JCComponent.requestFocus(JCComponent.java:311)
at jclass.bwt.JCComponent.mouseDown(JCComponent.java:301)
at jclass.bwt.JCOutlinerComponent.mouseDown(JCOutlinerComponent.java:1580)
at jclass.base.TransientComponent.processMouseEvent(TransientComponent.java:256)
at java.awt.Component.processEvent(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)

Open up the %ORACLE_HOME%\panama\WebIntegration\Developer\bin\developer.bat file, and chane the following setting:
Have a look at the relase notes, and there is the following entry:
============================================
In some cases, Oracle 8.1.6 on Windows NT modifies a machine's Java environment. As a result, Portal-to-Go Web Integration Developer may generate error messages, fail to start, or
crash. To fix the problem, either restore your original Java environment by reinstalling Java, or verify that the Web Integration Developer starts with the JVM from the 8.1.6 installation.
To do this, modify the following file:
%ORACLE_HOME%\panama\WebIntegration\Developer\bin\developer.bat
Change the line:
SET JDKDIR=%ORACLE_HOME%\panama\WebIntegration\Developer\jvm
to
SET JDKDIR=c:\program files\oracle\jre\1.1.7
Have a look in the release notes for an explanation

Similar Messages

  • Strange exception thrown from Client (Scanner has tokens)

    Hi,
    I am getting a really strange exception thrown from my client. It seems to be
    about a class that the wsgen generated. Has anyone ever seen something like that
    before? Maybe it is because I am using JBuilder(5.1)? I am operating on a WL6.1
    server. It is only a test webservice. So there are only standard return types,
    etc.
    Any comments/suggestions are appreciated
    cheers Stephan
    Scanner has tokens:
         [OPENTAGBEGIN]
         [NAME]     (META)
         [NAME]     (NAME)
         [CHARDATA]     (GENERATOR)
         [NAME]     (CONTENT)
         [CHARDATA]     (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
         [TAGEND]
         [SPACE]     (
         [CLOSETAGBEGIN]
         [NAME]     (HEAD)
         [TAGEND]
         [SPACE]     (
         [OPENTAGBEGIN]
         [NAME]     (BODY)
         [NAME]     (bgcolor)
         [CHARDATA]     (white)
         [NAME]     (alink)
         [CHARDATA]     (#397F70)
         [NAME]     (link)
         [CHARDATA]     (#640078)
         [NAME]     (vlink)
         [CHARDATA]     (#DE7E00)
         [TAGEND]
         [SPACE]     (
         [OPENTAGBEGIN]
         [NAME]     (FONT)
         [NAME]     (FACE)
    E7E00">
    <FONT FACE=e <-- bad character
    java.lang.reflect.UndeclaredThrowableException: Error at line:8 col:13 Line:8
    ''' expected, got char[72]
         at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXElementFactory.java:60)
         at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:130)
         at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.java:46)
         at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
         at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.java:258)
         at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.java:171)
         at weblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java:164)
         at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
         at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
         at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
         at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
         at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:31)
         at $Proxy0.getAusgabe(Unknown Source)
         at webclient.Client.main(Client.java:36)
    Exception in thread "main"

    Hi, thanks, manoj!
    The problem was that eventhough I had the correct login, the server had another
    security layer, that prevented me from doing the lookup. So I guess I was supposed
    to get an error html page and so the SAX-Parser got messed up.
    Stupid mistake, but thank you very much.
    "manoj cheenath" <[email protected]> wrote:
    It looks like the server is sending back a html page instead
    of the soap response (text/xml). Can you check the URL
    you are trying?
    If you are using a WSDL file, then the URL will be inside
    the service->port->soap:address-location element.
    regards,
    -manoj
    "Stephan" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am getting a really strange exception thrown from my client. It seemsto
    be
    about a class that the wsgen generated. Has anyone ever seen somethinglike that
    before? Maybe it is because I am using JBuilder(5.1)? I am operatingon a
    WL6.1
    server. It is only a test webservice. So there are only standard returntypes,
    etc.
    Any comments/suggestions are appreciated
    cheers Stephan
    Scanner has tokens:
    [OPENTAGBEGIN]
    [NAME] (META)
    [NAME] (NAME)
    [CHARDATA] (GENERATOR)
    [NAME] (CONTENT)
    [CHARDATA] (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001 11:13:46#154529
    [TAGEND]
    [SPACE] (
    [CLOSETAGBEGIN]
    [NAME] (HEAD)
    [TAGEND]
    [SPACE] (
    [OPENTAGBEGIN]
    [NAME] (BODY)
    [NAME] (bgcolor)
    [CHARDATA] (white)
    [NAME] (alink)
    [CHARDATA] (#397F70)
    [NAME] (link)
    [CHARDATA] (#640078)
    [NAME] (vlink)
    [CHARDATA] (#DE7E00)
    [TAGEND]
    [SPACE] (
    [OPENTAGBEGIN]
    [NAME] (FONT)
    [NAME] (FACE)
    E7E00">
    <FONT FACE=e <-- bad character
    java.lang.reflect.UndeclaredThrowableException: Error at line:8 col:13Line:8
    ''' expected, got char[72]
    atweblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXE
    lementFactory.java:60)
    atweblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:13
    0)
    atweblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream
    ..java:46)
    atweblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
    atweblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.j
    ava:258)
    atweblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.j
    ava:171)
    atweblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java
    :164)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    atweblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHa
    ndler.java:31)
    at $Proxy0.getAusgabe(Unknown Source)
    at webclient.Client.main(Client.java:36)
    Exception in thread "main"

  • PageContext.forward causes strange exception

    Hi,
    I've found a strange exception using pageContext.forward.
    The code is as follows:
    try {
    } catch (Exception e) {
    out.println (...); //for debugging purposes
    pageContext.forward (errorPage);
    pageContext.forward throws an "IllegalStateException: Attempt to clear a buffer that's already been flushed". (I think that this is the right translation, the original is in Spanish).
    I think that there is a very similar problem described in this forum:
    http://forum.java.sun.com/thread.jsp?forum=45&thread=343314
    Has anyone found a similar problem (with its solution, if possible ;=)
    Thanx

    Howdy,
    You've already written to you JSP output, and in this situation you can't forward 'cause it's automatically flushed.
    try changing your forward method position, befor any out.print() or like that.
    OR use this trick,
    <%@ page autoFlush="false" %>
    // Write to JSP and other stuffs...
    // Forward to another content...
    // Do your stuffs...
    response.flushBuffer();

  • Strange Exception while moving mouse on node Java8

    Hello,
    i made a customAnchorPane (extends AnchorPane) which plays adding and removing nodes withn a animation. I get a strange exception when i move the mouse over some!! (not all) nodes. The source of the exception seems to be internal.
    I have no idea how to resolve this Problem.
    Has anybody a idea?
    I use the Java8
    Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
        at com.sun.javafx.scene.input.PickResultChooser.processOffer(PickResultChooser.java:183)
        at com.sun.javafx.scene.input.PickResultChooser.offer(PickResultChooser.java:142)
        at javafx.scene.Node.impl_computeIntersects(Node.java:4763)
        at javafx.scene.Node.impl_intersects(Node.java:4730)
        at javafx.scene.Node.impl_pickNodeLocal(Node.java:4660)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.Scene$MouseHandler.pickNode(Scene.java:3798)
        at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3384)
        at javafx.scene.Scene.pick(Scene.java:1832)
        at javafx.scene.Scene.access$6700(Scene.java:193)
        at javafx.scene.Scene$MouseHandler.process(Scene.java:3610)
        at javafx.scene.Scene$MouseHandler.access$1800(Scene.java:3384)
        at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1652)
        at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2443)
        at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:314)
        at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:243)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:345)
        at com.sun.glass.ui.View.handleMouseEvent(View.java:526)
        at com.sun.glass.ui.View.notifyMouse(View.java:898)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
        at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
        at java.lang.Thread.run(Thread.java:744)

    Can you post an SSCCE that demonstrates the problem?
    If you have a version of Java 8 corresponding to the current source code, it looks like the system is trying to pick a node which is not attached to the scene graph. This could conceivably happen (I guess) if you are modifying the scene graph off the FX Application thread; but that is a completely blind guess.

  • Strange exception with msAccess

    Hi,
    I'm building an application that uses MS Access 2000 database and I'm getting strange exception when I'm trying to update database with cursor.
    MYTABLE has three attributes:
    Text is a memo,
    Int is an integer,
    Id is an autonumber.
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = stmt.executeQuery("select * from MYTABLE");
    rs.moveToInsertRow();
    rs.updateString("Text", "some text");
    rs.updateInt("Int", 5);
    rs.insertRow();The code above throws
    java.lang.ArrayIndexOutOfBoundsException.
    The exception is thrown when rs.insertRow() is executed.
    Thanks

    Out of curiosity:
    the API for moveToInsertRow() acutally specifies that ALL of the columns for a row be set using an updateXXX method. You have an autoId field in your table, have you tried setting a value for it in your code?
    It would be nice if you tried this, and told us the result you get.
    Regards,
    Manuel Amago.

  • Strange Exception for IIOMetadataNode / appendChild(Node)

    Dear all,
    I already posted this in the "New to Java" forum, but no one has replied, yet. Perhaps over here there might be an expert who can help.
    Working with the DOM, I am trying to create a little helper method "getChildrenByTagName" which will return all children of a Node based on an element name. I want to return a NodeList and since NodeList is an interface, the only way to do so seems to use an IIOMetadataNode.
    My code is as follows:
    private NodeList getChildrenByTagName(Node parent, String tagname)
      IIOMetadataNode returnChildren = new IIOMetadataNode();
      NodeList allChildren = parent.getChildNodes();
      Node currentNode;
      for(int i = 0; i < allChildren.getLength(); i++)
      currentNode = allChildren.item(i);
      if(currentNode.getNodeName().equalsIgnoreCase(tagname))
        returnChildren.appendChild(currentNode);
      return returnChildren;
    }I get the following strange exception:
    javax.imageio.metadata.IIODOMException: Node not an IIOMetadataNode!
         at javax.imageio.metadata.IIOMetadataNode.checkNode(IIOMetadataNode.java:334)
         at javax.imageio.metadata.IIOMetadataNode.appendChild(IIOMetadataNode.java:618)So, something seems wrong with the Node that I pass in. If however I try to class cast to IIOMetadataNode, then I get a ClassCastException.
    Does anyone have any ideas what the problem here could be?
    Cheers,
    N.

    Dear all,
    I already posted this in the "New to Java" forum, but no one has replied, yet. Perhaps over here there might be an expert who can help.
    Working with the DOM, I am trying to create a little helper method "getChildrenByTagName" which will return all children of a Node based on an element name. I want to return a NodeList and since NodeList is an interface, the only way to do so seems to use an IIOMetadataNode.
    My code is as follows:
    private NodeList getChildrenByTagName(Node parent, String tagname)
      IIOMetadataNode returnChildren = new IIOMetadataNode();
      NodeList allChildren = parent.getChildNodes();
      Node currentNode;
      for(int i = 0; i < allChildren.getLength(); i++)
      currentNode = allChildren.item(i);
      if(currentNode.getNodeName().equalsIgnoreCase(tagname))
        returnChildren.appendChild(currentNode);
      return returnChildren;
    }I get the following strange exception:
    javax.imageio.metadata.IIODOMException: Node not an IIOMetadataNode!
         at javax.imageio.metadata.IIOMetadataNode.checkNode(IIOMetadataNode.java:334)
         at javax.imageio.metadata.IIOMetadataNode.appendChild(IIOMetadataNode.java:618)So, something seems wrong with the Node that I pass in. If however I try to class cast to IIOMetadataNode, then I get a ClassCastException.
    Does anyone have any ideas what the problem here could be?
    Cheers,
    N.

  • Strange exception when deploying BC4J as EJB in 8i CORBA.BAD_PARAM: null Strings are

    I am trying to deploy BC4J as Ejb to 8i (8.1.6). I use the following deployment method with j: my Jdev root.
    setjboenv j: ejb8i
    loadjava - u user/passwd@host:port:sid - thin -v - r grant "SYS,PUBLIC" j:lib\xmlparserv2.jar
    loadjava - u user/passwd@host:port:sid - thin -v - r grant "SYS,PUBLIC" j:lib\jbomt.zip
    loadjava - u user/passwd@host:port:sid - thin -v - r grant "SYS,PUBLIC" j:lib\jboejb.jarI then create a deployment profile for ejb 8i with the ide. (Without deploying)
    I then use loadjava outside the IDE to deploy the 2 jar files created
    MyProject1CommonEJB.jar
    and
    Myproject1.jar
    I then use the ide again to deploy the bean profile
    Package1ModuleServerEJB.prf
    The last step fails with the error :
    Publishing EJBHome...org.omg.CORBA.BAD_PARAM: null Strings are illegal in IIOP. Please correct your application or run the ORB in backward compatibility mode. minor code: 0 completed: No
    void oracle.aurora.ejb.deployment.GenerateEjb.invoke()
    void oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(java.lang.String[], java.io.InputStream, java.io.PrintStream, java.io.PrintStream)
    void oracle.aurora.ejb.deployment.GenerateEjb.main(java.lang.String[])
    Exception in thread main
    Strangely, when I test this EJB with the tester (middle tier = remote ejb) it works, but from JSP's I get an application error : "Unknown Exception"
    I am using Jdev 3.1
    Also using the deploy option when creating the deployment profile fails apparantly due to the missing grant "SYS,PUBLIC" when loading classes to the database before deploying the bean.
    What can be done ?
    null

    Hi Blaise
    Thanks for the reply. I have tried to do the complete deployment from within Jdev, but now I get the following error right at the end of the deployment.
    /BC4J1AppModuleEjb/EjbObject_RemoteBC4J1AppModuleEjb:ORA-29535: source requires recompilationjava.lang.NullPointerException at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) ..... etc.
    I have tried to deploy to a clean schema with the java privilages granted as described in the Jdev release notes.
    I included the following libraries in my project :
    JBO JDBC816 PATCH
    JBO OSQL Domains
    JDeveloper Runtime
    Oracle 8.1.6 JDBC
    Connection Manager
    JBO Runtime
    JBO VB Runtime
    JBO 8i Runtime
    SQLJ Runtime
    JBO 8i Client
    JBO Vanilla Domains
    JBO EJB Runtime
    JServer
    Oracle XML SQL Utility
    ORACLE XML Parser 2.0
    Then I just used the deployment wizzard
    null

  • A strange Exception on "My Content" portlet

    Hi guys,
    I put two sample portlets ("Login to portals" and "My Content")portlets to my portal, and i use Domino LDAP server as my LDAP Authentication porvider. I can successfully login but a exception:
    javax.transaction.TransactionRolledbackException: EJB Exception: : com.bea.p13n.usermgmt.UserManagementException: weblogic.management.utils.NotFoundException: [Security:090255]User or Group ronnie_lu
    occure on the "My Content" portlet.But something strange happen:if i click and then click browser again on the "My Content" portlet,the exception disappear. The page which i want to get appear.
    Some body help me!!!

    Hello,
    I wanted to know if anybody could help me with this... There is a yellow number two "2" looking symbol between the battery icon and the time, and ever since it's been there, I can't make any calls, not even to my mailbox.
    Whenever I dial a number and press the call button, the only thing that appears is a sign that says "Error in Connection".
    I would really appreciate any advices on how to get rid of the symbol and be able to make calls again!

  • Strange Exception "wdDoInit - No PagePath parameter - exit"

    Hello community,
    our portal logs are full of this entries (SAP CE 7.31 SP5):
    I don't know why and where it exactly occours. The information in the Developer Trace aren't very useful to me.
    Does any one know what this could be?

    Hello Lawrence, thanks for your answer. No there aren't any corresponding exceptions. Patchlevel did not change and this exception began to appear a few days after a release of custom development. But I'am not able to recreate this log for my user while working with any of those custom components. Also this doesn't seem to lead to a crash of a used application since I have no user reporting any problems. Very strange.
    regards.

  • Invoke stored procedure cause strange exception

    Hi, I'm using JDev 11.1.2, the use case is: add a new row to the VO iterator filtered by some view criteria and call a stored procedure before commit.
    The application runs fine without calling the stored procedure, however, following exception will occur if it's called.
    The stored procedure will do some update to a remote DB2 via DB link. Though the exception stack trace shows that the SP has error, but if I run it separately in some SQL tool, it is ok.
    The "BO_SP" problem seems not to be caused by the 'new row state'.
    Does any one have any tips for this problem? Thanks!
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Savepoint": SQL Statement "BO_SP".
         at oracle.jbo.server.DBTransactionImpl.setSavepoint(DBTransactionImpl.java:3184)
         at oracle.jbo.server.DBTransactionImpl.saveTmpPostState(DBTransactionImpl.java:1791)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2065)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:163)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1035)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:926)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:824)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:554)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)
         at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.sql.SQLException: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]ILLEGAL SYMBOL <END-OF-STATEMENT>; VALID SYMBOLS ARE ON UNIQUE. {42000,NativeErr = -104}[Oracle][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]EXECUTE STATEMENT DOES NOT IDENTIFY A VALID PREPARED STATEMENT. *N {HY000,NativeErr = -518}
    ORA-02063: preceding 2 lines from TGBPSU
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
         at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:99)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSavepoint(OracleSQLBuilderImpl.java:1548)
         at oracle.jbo.server.DBTransactionImpl.setSavepoint(DBTransactionImpl.java:3172)
         ... 83 more
    Edited by: codeplay on Oct 17, 2011 5:17 PM

    Look like the calling of the other DB is the root of your problem:
    Caused by: java.sql.SQLException: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:[Oracle][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]ILLEGAL SYMBOL <END-OF-STATEMENT>; VALID SYMBOLS ARE ON UNIQUE. {42000,NativeErr = -104}[Oracle][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]EXECUTE STATEMENT DOES NOT IDENTIFY A VALID PREPARED STATEMENT. *N {HY000,NativeErr = -518}
    ORA-02063: preceding 2 lines from TGBPSU
    >
    Test your app with -Djbo.debugoutoup=console as a java option, this will generate lots of output but you may see the actual sql passed to the db.
    Where and how do you call the SP?
    Timo

  • Very Strange exception in JMS in JBoss, EJB3

    My Client program is:
    env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NameingContextFactory");
    env.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:jnp.interfaces");
    env.put(Context.PROVIDER_URL,"jnp://localhost:1099");
    QueueConnectionFactory qconFactory;
    QueueConnection connection;
    QueueSession session;
    QueueSender sender;
    Queue queue;
    TextMessage msg;
    qconFactory = (QueueConnectionFactory) ctx.lookup("QueueConnectionFactory");
    connection = qconFactory.createQueueConnection();
    session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    queue = (Queue) ctx.lookup("queue/testQueue");
    msg = session.createTextMessage();
    sender = session.createSender(queue);
    msg.setText("Hello World");
    connection.start();
    sender.send(msg);
    session.close();
    connection.close();
    MY MDB is:
    @MessageDriven(name="LongProcessMessageBean", activationConfig = {
    @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
    @ActivationConfigProperty(propertyName="destination", propertyValue="queue/testQueue")
    public class LongProcessMessageBean implements MessageListener {
    @Resource
    private MessageDrivenContext context;
    public void onMessage(Message message) {
    String name = null;
    try {
    if (message instanceof ObjectMessage) {
    ObjectMessage objMessage = (ObjectMessage) message;
    Object obj = objMessage.getObject();
    if (obj instanceof TextMessage) {
    System.out.println("My Message from the Consumer is:"+obj.toString());
    } else {
    System.err.println("Expecting ProcessDTO in Message");
    } else {
    System.err.println("Expecting Object Message");
    I am getting exception as on console
    19:22:18,328 INFO [STDOUT] MyException is::javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassCastException: org.jboss.naming.LinkRefPair cannot be cast to org.jboss.naming.LinkRefPair]
    How to get rid of this? please explain me.
    Thanks,
    Rahul

    My Client program is:
    env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NameingContextFactory");
    env.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:jnp.interfaces");
    env.put(Context.PROVIDER_URL,"jnp://localhost:1099");
    QueueConnectionFactory qconFactory;
    QueueConnection connection;
    QueueSession session;
    QueueSender sender;
    Queue queue;
    TextMessage msg;
    qconFactory = (QueueConnectionFactory) ctx.lookup("QueueConnectionFactory");
    connection = qconFactory.createQueueConnection();
    session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    queue = (Queue) ctx.lookup("queue/testQueue");
    msg = session.createTextMessage();
    sender = session.createSender(queue);
    msg.setText("Hello World");
    connection.start();
    sender.send(msg);
    session.close();
    connection.close();
    MY MDB is:
    @MessageDriven(name="LongProcessMessageBean", activationConfig = {
    @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
    @ActivationConfigProperty(propertyName="destination", propertyValue="queue/testQueue")
    public class LongProcessMessageBean implements MessageListener {
    @Resource
    private MessageDrivenContext context;
    public void onMessage(Message message) {
    String name = null;
    try {
    if (message instanceof ObjectMessage) {
    ObjectMessage objMessage = (ObjectMessage) message;
    Object obj = objMessage.getObject();
    if (obj instanceof TextMessage) {
    System.out.println("My Message from the Consumer is:"+obj.toString());
    } else {
    System.err.println("Expecting ProcessDTO in Message");
    } else {
    System.err.println("Expecting Object Message");
    I am getting exception as on console
    19:22:18,328 INFO [STDOUT] MyException is::javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassCastException: org.jboss.naming.LinkRefPair cannot be cast to org.jboss.naming.LinkRefPair]
    How to get rid of this? please explain me.
    Thanks,
    Rahul

  • I am getting strange exception Unmarshall exception

    Please anybody tell me the solution, I am working on the JSF based web project, it communicates to the RMI server through the tomcat. When I run this project it works fine in the window environment. When I want to shift my application to the Linux, there also it works like charm if I run the RMI server from the Netbeans when ever I run the RMI server in the shell it shows an exception that is
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
    java.net.MalformedURLException: no protocol: /home/naveen/vahan/_build/server/classes/vahanserver/:/home/naveen/vahan/_build/common/classes/vahancommon/
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    So please provide the solution for this problem I am not able to find any results in the Google also......
    Edited by: JNaveen on Oct 31, 2008 3:09 PM

    when I run the same code from the netbeans it works when ever I run the from the Linux shell I am getting the error, I wrote the command like this to call the application
    java -cp $CLASSPATH -Djava.rmi.server.codebase=$CODEBASE -Djava.security.policy=$POLICYFILE nic.rto.vahan.server.main.VahanServerApp
    before this line I am exporting all the required libraries into the CLASSPATH, So please tell me the solution without hesitating..
    ERROR:
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
    java.net.MalformedURLException: no protocol: /home/naveen/vahan/_build/server/classes/vahanserver/:/home/naveen/vahan/_build/common/classes/vahancommon/
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    Thanks

  • Strange exception while using OracleXMLQuery

    I wrote a very simple program to convert SQL result to XML. But it dives me an exception. Please advice
    Here is the code:
    OracleXMLQuery oraclexmlquery = new OracleXMLQuery(conn,"select user_id from fnd_user where user_name=:USER");
    oraclexmlquery.bindValue("USER", "SYSADMIN");
    String outData= oraclexmlquery.getXMLString();
    oraclexmlquery.close();
    But when I run it , I get the following exception
    java.lang.NullPointerException
         at oracle.xml.sql.core.OracleXMLConvert.bindValue(OracleXMLConvert.java:447)
         at oracle.xml.sql.query.OracleXMLQuery.bindValue(OracleXMLQuery.java:209)
    Please advice

    Here it is........
    select params.report_date,
    params.query_revision,
    params.DB_Name,
    sysdate Report_Date1,
    'Teva MSC - Raw Material Analysis Report' Report_Name,
    (select mai.instance_code
    from msc_apps_instances mai
    where mai.instance_id = params.p_instance_id) P_Instance_Code,
    (select mp.organization_code
    from mtl_parameters mp
    where mp.organization_id = params.p_organization_id ) P_Organization_Code,
    /*(select mp.compile_designator
    from msc_plans mp
    where mp.sr_instance_id = params.p_instance_id
    and mp.plan_id = params.p_plan_id) P_Plan_Name,*/
    params.p_plan_name p_plan_name,
    params.p_start_date,
    params.p_bucket_type ,
    params.p_net_stock,
    params.p_item_role,
    params.p_abc_code,
    params.p_from_item,
    params.p_to_item,
    params.p_qty_in_thousands,
    params.p_slt,
    params.p_planner_code,
    cursor (select mid.item_name,
    mid.inventory_item_id,
    mid.item_role,
    mid.description,
    decode(miad.stock_lot_status_a,null,0,to_number(miad.stock_lot_status_a/1000)) Stock_Released,
    abc.abc_code,
    tech.tech_code,
    p_qty_in_thousands Qty_In_Thousands,
    mid.uom_code,
    mid.fixed_days_supply rm_days,
    mid.full_lead_time /* MKS 49298 */ lead_time,
    ( miad.stock_lot_status_q + miad.stock_lot_status_a + miad.stock_lot_status_h ) inv_kk,
    XX_MSC_PEGGING_VIEW_UTILS.Msc_Item_Uom_Conv (mid.inventory_item_id,
    mid.sr_instance_id,
    mid.organization_id,
    mid.plan_id,
    'KG') Unit_Price_In_Kg,
    -- Phase II Block 4 urs 19
    -- miad.issues_yearly,
    -- Round(mss.safety_stock_quantity, 2) safety_stock_quantity,
    decode(p_qty_in_thousands,'Y',miad.issues_yearly/1000,miad.issues_yearly) issues_yearly,
    Round(decode(p_qty_in_thousands,'Y',mss.safety_stock_quantity/1000,mss.safety_stock_quantity), 0) safety_stock_quantity,
    -- Phase II Block 1, R#1: change only in the select the date format.
    cursor ( select decode(p_bucket_type,'Bimonthly',substr(qc.bucket_name,9,2)|| '-' || substr(qc.bucket_name,6,2)|| '-' || substr(qc.bucket_name,1,4),
    substr(qc.bucket_name,6,2)|| '-' || --substr(qc.bucket_name,1,4) mkagan
    substr(qc.bucket_name,3,2)
    ) bucket_name,
    decode(qc.row_num, 1, XX_MSC_RAW_MATERIALS_UTILS.Get_First_Po_Pr_Qty( mid.sr_instance_id,
    mid.organization_id,
    mid.plan_id,
    mid.inventory_item_id,
    qc.bucket_name,
    p_bucket_type ,
    p_qty_in_thousands )
    , Round(decode(p_qty_in_thousands ,'Y', sum(mbs.po_pr_qty)/1000, sum(mbs.po_pr_qty)), 2)) po_pr_qty,
    decode(qc.row_num,
    1,
    XX_MSC_PACKING_MATERIALS_UTILS.Get_First_Puo_Qty(mid.sr_instance_id,
    mid.organization_id,
    mid.plan_id,
    mid.inventory_item_id,
    qc.bucket_name,
    P_BUCKET_TYPE,
    P_QTY_IN_THOUSANDS),
    ceil(decode(P_QTY_IN_THOUSANDS,
    'Y',
    sum(mbs.puo_qty) / 1000,
    sum(mbs.puo_qty)))) puo_qty,
    decode(qc.row_num,
    1,
    XX_MSC_PACKING_MATERIALS_UTILS.Get_First_Pr_Qty(mid.sr_instance_id,
    mid.organization_id,
    mid.plan_id,
    mid.inventory_item_id,
    qc.bucket_name,
    P_BUCKET_TYPE,
    P_QTY_IN_THOUSANDS),
    ceil(decode(P_QTY_IN_THOUSANDS,
    'Y',
    sum(mbs.pr_qty) / 1000,
    sum(mbs.pr_qty)))) pr_qty,
    Round(decode(p_qty_in_thousands ,'Y', sum(mbs.PO_Qty)/1000, sum(mbs.PO_Qty)), 2) PO_Qty
    from (select rownum row_num, bucket_name
    from
    (select distinct xx_msc_pegging_view_utils.bucket_by_date(t.week_start_date,p_bucket_type ) bucket_name
    from bom.bom_cal_week_start_dates t
    where t.calendar_code = l_calendar_code--fnd_profile.value('XX_MSC_CALENDAR_CODE')
    and t.week_start_date between XX_MSC_PEGGING_VIEW_UTILS.Get_Start_Date(p_start_date,p_bucket_type) and add_months(XX_MSC_PEGGING_VIEW_UTILS.Get_Start_Date(p_start_date,p_bucket_type) ,decode(p_bucket_type ,'Monthly',12,'Bimonthly',6,3))-1
    order by bucket_name)) qc,
    xx_msc_rm_bucketed_supplies_mv mbs
    where mbs.plan_id (+) = p_plan_id
    and mbs.organization_id (+) = p_organization_id
    and mbs.sr_instance_id (+) = p_instance_id
    and mbs.inventory_item_id (+) = mid.inventory_item_id
    and mbs.bucket_type (+) = p_bucket_type
    and qc.bucket_name = mbs.bucket_name(+)
    group by qc.bucket_name, qc.row_num
    order by qc.bucket_name) RM_SUP_Bucket,
    cursor ( select decode(p_bucket_type ,'Bimonthly',substr(qc.bucket_name,9,2)|| '-' || substr(qc.bucket_name,6,2)|| '-' || substr(qc.bucket_name,1,4),
    substr(qc.bucket_name,6,2)|| '-' || substr(qc.bucket_name,1,4)) bucket_name,
    decode(qc.row_num, 1, XX_MSC_RAW_MATERIALS_UTILS.Get_First_Job_Qty( mid.sr_instance_id,
    mid.organization_id,
    mid.plan_id,
    mid.inventory_item_id,
    qc.bucket_name,
    p_bucket_type ,
    p_qty_in_thousands )
    , Round(decode(p_qty_in_thousands ,'Y', sum(mbd.job_qty)/1000, sum(mbd.job_qty)), 2)) job_qty,
    Round(decode(p_qty_in_thousands ,'Y', sum(mbd.po_qty)/1000, sum(mbd.po_qty)), 2) po_qty
    from (select rownum row_num, bucket_name
    from
    (select distinct xx_msc_pegging_view_utils.bucket_by_date(t.week_start_date,p_bucket_type ) bucket_name
    from bom.bom_cal_week_start_dates t
    where t.calendar_code = l_calendar_code--fnd_profile.value('XX_MSC_CALENDAR_CODE')
    and t.week_start_date between XX_MSC_PEGGING_VIEW_UTILS.Get_Start_Date(p_start_date,p_bucket_type) and add_months(XX_MSC_PEGGING_VIEW_UTILS.Get_Start_Date(p_start_date,p_bucket_type) ,decode(p_bucket_type ,'Monthly',12,'Bimonthly',6,3))-1
    order by bucket_name)) qc,
    xx_msc_rm_bucketed_demands_mv mbd
    where mbd.plan_id (+) = p_plan_id
    and mbd.organization_id (+) = p_organization_id
    and mbd.sr_instance_id (+) = p_instance_id
    and mbd.inventory_item_id (+) = mid.inventory_item_id
    and mbd.bucket_type (+) = p_bucket_type
    and qc.bucket_name = mbd.bucket_name(+)
    group by qc.bucket_name, qc.row_num
    order by qc.bucket_name) RM_DEM_Bucket,
    cursor ( select mfpr.inventory_item_id,
    mfpr.pegging_id,
    Round(decode(p_net_stock , 'Y' , mfpr.allocated_quantity/XX_MSC_RAW_MATERIALS_UTILS.GET_MAX_USAGE (mfpr.sr_instance_id,
    mfpr.organization_id,
    mfpr.plan_id,
    mfpr.inventory_item_id,
    mfpr.end_pegging_id),
    decode(mfpr.supply_type, 18, 0, mfpr.allocated_quantity/XX_MSC_RAW_MATERIALS_UTILS.GET_MAX_USAGE(mfpr.sr_instance_id,
    mfpr.organization_id,
    mfpr.plan_id,
    mfpr.inventory_item_id,
    mfpr.end_pegging_id))), 2) qty1,
    XX_MSC_RAW_MATERIALS_UTILS.GET_MAX_USAGE(mfpr.sr_instance_id,
    mfpr.organization_id,
    mfpr.plan_id,
    mfpr.inventory_item_id,
    mfpr.end_pegging_id) end_item_usage,
    mfpr.demand_date,
    XX_MSC_RAW_MATERIALS_UTILS.Get_Bulk_Table_by_peg_id ( mfpr.plan_id,
    mfpr.organization_id,
    p_bucket_type ,
    to_char(to_date(p_start_date , 'RRRR/MM/DD HH24:MI:SS'), 'DD-MON-RRRR'),
    mfpr.pegging_id,
    mfpr.sr_instance_id,
    Round(decode(p_net_stock, 'Y' , mfpr.allocated_quantity/XX_MSC_RAW_MATERIALS_UTILS.GET_MAX_USAGE (mfpr.sr_instance_id,
    mfpr.organization_id,
    mfpr.plan_id,
    mfpr.inventory_item_id,
    mfpr.end_pegging_id),
    decode(mfpr.supply_type, 18, 0, mfpr.allocated_quantity/XX_MSC_RAW_MATERIALS_UTILS.GET_MAX_USAGE (mfpr.sr_instance_id,
    mfpr.organization_id,
    mfpr.plan_id,
    mfpr.inventory_item_id,
    mfpr.end_pegging_id))), 2),
    p_slt ) Bulks
    from msc_full_pegging mfpr
    where mfpr.organization_id = p_organization_id
    and mfpr.plan_id = p_plan_id
    and mfpr.sr_instance_id =p_instance_id
    and mfpr.inventory_item_id = mid.inventory_item_id
    and mfpr.supply_type in (1, 2, 3, 5, 18)
    and mfpr.end_origination_type in (24, 29, 30)
    and XX_MSC_RAW_MATERIALS_UTILS.GET_MAX_USAGE(mfpr.sr_instance_id,
    mfpr.organization_id,
    mfpr.plan_id,
    mfpr.inventory_item_id,
    mfpr.end_pegging_id) <> 0
    and Round(decode(p_net_stock , 'Y' , mfpr.allocated_quantity/XX_MSC_RAW_MATERIALS_UTILS.GET_MAX_USAGE (mfpr.sr_instance_id,
    mfpr.organization_id,
    mfpr.plan_id,
    mfpr.inventory_item_id,
    mfpr.end_pegging_id),
    decode(mfpr.supply_type, 18, 0, mfpr.allocated_quantity/XX_MSC_RAW_MATERIALS_UTILS.GET_MAX_USAGE(mfpr.sr_instance_id,
    mfpr.organization_id,
    mfpr.plan_id,
    mfpr.inventory_item_id,
    mfpr.end_pegging_id))), 2) > 1 ) RM_Peggings
    from xx_msc_item_tech_group_v tech,
    xx_msc_item_abc_class_v abc,
    (select r.organization_id,
    r.plan_id,
    r.inventory_item_id,
    max(r.period_start_date) start_date
    from msc_safety_stocks r
    where r.organization_id = p_organization_id
    and r.plan_id = p_plan_id
    and r.sr_instance_id = p_instance_id
    group by r.organization_id,
    r.plan_id,
    r.sr_instance_id,
    r.inventory_item_id) mss1,
    msc_safety_stocks mss,
    xx_msc_item_add_fields_v miad,
    xx_msc_item_data_mkt_type_v mid
    where mid.plan_id = p_plan_id
    and mid.organization_id = p_organization_id
    and mid.item_role = p_item_role
    and (mid.item_name between nvl(p_from_item,mid.item_name) and nvl(p_to_item,mid.item_name) )
    and ((p_planner_code is not null and mid.planner_code=p_planner_code) or (p_planner_code is null)) -- lsharabi add planner code param
    and miad.item_name = mid.item_name
    and miad.organization_code = ( select mp.organization_code
    from mtl_parameters mp
    where mp.organization_id = mid.organization_id )
    and miad.sr_instance_code = ( select mai.instance_code
    from msc_apps_instances mai
    where mai.instance_id = p_instance_id )
    and mss.inventory_item_id (+) = mid.inventory_item_id
    and mss.organization_id (+) = mid.organization_id
    and mss.plan_id (+) = mid.plan_id
    and mss.plan_id = mss1.plan_id (+)
    and mss.organization_id = mss1.organization_id (+)
    and mss.inventory_item_id = mss1.inventory_item_id (+)
    and mss.period_start_date = mss1.start_date (+)
    and abc.inventory_item_id = mid.inventory_item_id
    and abc.organization_id = mid.organization_id
    and abc.abc_code = nvl(p_abc_code , abc.abc_code)
    and tech.inventory_item_id = mid.inventory_item_id
    and tech.organization_id = mid.organization_id
    /* change */ and mid.inventory_item_id in (select distinct mfpis.inventory_item_id
    from msc_full_pegging mfpis
    where mfpis.plan_id = p_plan_id
    and mfpis.organization_id = p_organization_id
    and mfpis.sr_instance_id = p_instance_id
    and mfpis.supply_type in (1,2,3,5,18)
    and mfpis.end_origination_type in (24,29,30))

  • Simple LOB code & strange exceptions

    Hopefully this has been corrected in the JDBC drivers that I'm currently downloading.
    For test purposes, I've created a table with a numeric primary key, a CLOB and a BLOB column. Adapting code from the LobExample.java program, I'm attempting to store an external file in a CLOB.
    I've been getting odd runtime exceptions thrown [null pointer] when creating a result set or getting a CLOB from a result set
    for example:
    sonOfBlob =((OracleResultSet)rs).getCLOB(2);
    Was this a common problem in the early 8i drivers? [is there a simple way to test the driver release]?
    Have similar issues been fixed in the 8.1.7 release?

    when i add the statement "START-OF-SELECTION." to the report it actually works.
    another issue occurs:
    REPORT z_object.
    CLASS zclass DEFINITION.
        PUBLIC SECTION.
           METHODS:m1,m2.
    ENDCLASS. "zclass DEFINITION
    CLASS zclass_sub DEFINITION INHERITING FROM zclass.
       PUBLIC SECTION.
           METHODS m2 REDEFINITION.
    ENDCLASS. "ZCLASS_SUB DEFINITION
    CLASS zclass IMPLEMENTATION.
         METHOD m1.
            CALL METHOD me->m2.
         ENDMETHOD. "m1
         METHOD m2.
            MESSAGE 'hello world' TYPE 'I'.
         ENDMETHOD. "m2
    ENDCLASS. "zclass IMPLEMENTATION
    CLASS zclass_sub IMPLEMENTATION.
         METHOD m2.
             SUPER->M2.        
         MESSAGE 'WORLD HELLO' TYPE 'I'.
         ENDMETHOD. "M2
    ENDCLASS. "ZCLASS_SUB IMPLEMENTATION
    START-OF-SELECTION.
    DATA: ref1 TYPE REF TO zclass,
               ref2 TYPE REF TO zclass_sub.
    CREATE OBJECT:ref1,ref2.
    The error message says: SUPER->M2  is not defined.
    but in fact we can use the pseudoreference super-> to access the same superclass method in the redifinited method..
    Edited by: Daixiong Jiang on Aug 19, 2008 5:29 PM

  • InitCtx.lookup("jmx") throws strange Exception

    Hi!
    I am trying to get handle of an MBeanServer from the JVM like described
    in the Netweaver help (in reality there is still a try .. catch clause to be added):
    import javax.naming.InitialContext;
    import javax.management.MBeanServer;
    // Lookup MBeanServer from the JNDI
    InitialContext initCtx = new InitialContext();
    MBeanServer mbs = (MBeanServer) initCtx.lookup("jmx");
    But if I do that I alway get this Exception you can see below. So now I wonder do I have a problem with the configuration of my server or is the documentation of SAP wrong? Has somebody else tried something like this.
    Thanks for any hints!!
    Nils
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:280)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at M.init(M.java:33)
         at M.main(M.java:114)

    Hi Ivaylo!
    Thanks for the advice, but the thing is running on the server side and the document you refered me to says the following:
    Clients that are running on the server side do not need to specify any properties. They simply use the InitialContext constructor without parameters:
    Context ctx = new InitialContext();
    And I suppose the "Properties env" is supposed to get in "InitialContext(env);", but since I won't use this call at all ...
    Hm, it is a pity, since sometimes it would really easier not to do it remotely. Any other ideas?
    Thanks in advance,
    Nils

Maybe you are looking for

  • Reading file in bytes using FileReader...

    Hi, I am trying to read out bytes value from a .bmp file then i try to change the byte values that i read out to hexadecimal value. I open the .bmp in Win Hex (a software) but the hexadecimal value does not tally.... public void readByteFile (String

  • Oracle DB Can't Survive ZFS SA Controller Failover

    We are running two new Sparc T4-1 servers against a ZFS SA with two heads and a single DE2-24P disk shelf. It is configured with a single pool for all the storage. Our servers are clustered with VCS as an active/passive pair, so only one server acces

  • Problems with the language in mac os lino

    I was using CleanMyMac and accidentally I delete the iso spanish. Now the language of the windows is set in english. How can I do?  Thanks a lot.

  • How to get safecontrol tag section to a collection from web.config in c#

    how to  get safecontrol tag section to a collection from web.config in c# Below is my config file. I need to read the safecontrol tagsection and get all those in to a collection.please help me on this. <?xml version="1.0" encoding="UTF-8" standalone=

  • Status ORAS in notification with no order created

    I have some notifications with status ORAS (order assigned) but no PM order created (the field is blank). I am trying to fix the inconsistency with no sucess. I get a dump whatever I do in the notification. thanks