Error 315 in Oracle 6i when compiling against DB 10g

We are using Forms 6i, Patch 4. I know this is an old patch, but for internal reasons we are not allowed to apply a newer Patch.
Database running is 10g (10.1.0.3)
Following problem:
We want to compile a form with a PL/SQL Table and getting the Error 315 PL/SQL Table Declarations must use BINARY_INTEGER Indices.
In fact, we are using BINARY_INTEGER Indices, therefore this message is confusing me a bit.
If I compile agains our old 8i Database, which fortunately is still running, everything is fine.
I also tried to install a newer Patch for Oracle Forms and from Patch 6 onwards, compiling is fine.
Unfortunately, some of the Forms compiled with this Patch will not run under a runtime Enviroment with Patch Level 4.
As I said, there is no way to implement a newer Patch within the next 9 months for Oracle Forms.
Is there any other way to get rid of this problem?
Any suggestions are welcome.
Thx and have a nice day
roedelfroe

We are using Forms 6i, Patch 4. I know this is an old patch, but for
internal reasons we are not allowed to apply a newer Patch.
Database running is 10g (10.1.0.3) I find it particularly curious that you have chosen to move to the absolutely latest version of the database, yet refuse to move the Forms patch level forward.
Are you working for Dilbert's boss:
<img src='http://www.unitedmedia.com/comics/dilbert/archive/images/dilbert2052322050726.gif'>
Message was edited by Steve Cosner
.

Similar Messages

  • Compiling against the 10g Instant Client in Linux

    Does anyone know if it's possible to compile and successfully link C++ programs that use the occi header against the 4 shared occi libraries that come with the 10g instant client.
    I dug out the 30 or so header files that come with the full 10g Linux version and stuck them in the /usr/include directory. This allows compilation to get done. And it appears that I am able to link against the shared libraries. At least, after the link there is an executable. This executable seg faults immediately upon a run, so there is obviously something wrong.
    The system administrator is trying to do a full install of 10g so we can compile against an Oracle home, but he's been at it for about a week with no results. He was able to get the Instant Client set up, so I'm looking for a workaround that uses only the IC and the headers.

    Thanks for the feedback.
    We aren't using a 3.xx version of gcc; it's some 2.9x version.
    Are you saying that it should be possible to link up with the shared libs without a full client install? If it is, I'll keep plugging away; but I haven't found anyone anywhere who has at any time gotten it to work.

  • Error connecting to Oracle from when running SSIS Package on Windows 64-bit

    Hi.
    I have an SSIS (SQL Server Integration Services) Package that reads a view on Oracle and loads data into table in SQL Server 2005. This is on a Windows 2008 Server (64-bit). SQL Server 2005 with SP3. Oracle Client 11g (32 bit & 64 bit) Runtime Version installed on server. The server has been rebooted since installing OracleClient.
    I get the following error when run as a SQLAgent job 64 Bit (Execution type SQL Server Integration Services Package)...
    Started: 9:29:24 AM
    Error: 2010-01-04 09:29:25.37
    Code: 0xC0202009
    Source: SADM_CURR_Address_and_Cell_Phone-Oracle Connection manager "Oracle/PeopleSoft"
    Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040154.
    An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
    End Error
    Error: 2010-01-04 09:29:25.37
    Code: 0xC020801C
    Source: DFT-Oracle to SS2005 OLE DB Source [1]
    Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Oracle/PeopleSoft" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    End Error
    Error: 2010-01-04 09:29:25.37
    Code: 0xC0047017
    Source: DFT-Oracle to SS2005 DTS.Pipeline
    Description: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C.
    End Error
    Error: 2010-01-04 09:29:25.37
    Code: 0xC004700C
    Source: DFT-Oracle to SS2005 DTS.Pipeline
    Description: One or more component failed validation.
    End Error
    Error: 2010-01-04 09:29:25.37
    Code: 0xC0024107
    Source: DFT-Oracle to SS2005
    Description: There were errors during task validation.
    End Error
    DTExec: The package execution returned DTSER_FAILURE (1).
    Started: 9:29:24 AM
    Finished: 9:29:25 AM
    Elapsed: 1.108 seconds
    When I execute this same exact package as a SQLAgent job 32-bit (type Operating System CmdExec) it runs successfully. When I run the package using the Execute Package Utility, it runs successfully. When I am editting the package in BIDS I can connect to Oracle. For both 64 and 32 bit, I use a dtsconfig file which specifies the Oracle connection string and password.
    Someone mentioned on another forum that maybe there is no Oracle ODBC driver for 64-bit Windows. I would assume that the OracleClient 64-bit would include that.
    I hope I have included all info needed. Please let me know if you may have a resolution to this problem.
    Thanks.
    John

    I was trying to transfer data from oracle to sql server 2008 on a daily basis.
    I have very hard time connecting to oracle from ssis package on windows server 2008. I am almost dead and cannot find any help. i was able to connect to oracle using import/export 64 bit feature of SQL Server 2008 using Oracle provider for OLEDB. But I am not sure why the same does not work with BIDS?
    Here's the environment info:
    1. Oracle Client 10g
    2. SQL Server 2008
    3. Windows Server 2008
    Appreciate your help. Please save me.
    Thanks,

  • Error executing a Oracle query when connection is fetched from Datasource

    Hi Folks,
    I am struggling with a rather wierd issue. The DBA of my application has exposed some function based view(not exactly sure what that means) which returns results like any query over a table. I am having a tough time consuming it in my java application. The name of the view is - `networknode_api.get_ftapp_networknode_hrchy` The SQL for it is(syntax might be a bit strange as there is actual word `table` in the query)
    view plaincopy to clipboardprint?
    Note: Text content in the code blocks is automatically word-wrapped
    01.SELECT * FROM table (networknode_api.get_ftapp_networknode_hrchy('19-Feb-2013'));
    SELECT * FROM table (networknode_api.get_ftapp_networknode_hrchy('19-Feb-2013'));
    The query returns a hierarchical result data, provided below is a sample output (ignore the ouput if the formatting is too werid)
    Parent_NODE | Child_NODE | NODE_DISPLAY_NAME | BEGIN_DATE | END_COB_DATE | LVL
    null | CCN | Connent Node | 01/20/2013 | 10/19/2013 | 1
    CCN | AVT | Avg Vol Turn | 01/20/2013 | 10/19/2013 | 2
    AVT | L:2 | L:2 | 01/20/2013 | 10/19/2013 | 3
    AVT | L:6 | L:6 | 01/20/2013 | 10/19/2013 | 3
    CCN | NUT | Nap Up Turn | 01/20/2013 | 10/19/2013 | 2
    I have the following method in my DAO -
    public List<NetworkNodeGroupDTO> fetchNetworkNodeHierarchy(Date cobDate) {
    try {
    InitialContext ic = new InitialContext();
    //DataSource ds1 = (DataSource) ic.lookup("jndiDsFlex");
    //Connection conn = ds1.getConnection();
    /* Using the RmiDataSource class for performance optimizations */
    weblogic.jdbc.common.internal.RmiDataSource ds = (weblogic.jdbc.common.internal.RmiDataSource) ic.lookup("jndiDsNex");
    Connection conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    boolean hasRows = stmt.execute("SELECT * FROM table (networknode_api.get_ftapp_networknode_hrchy('19-Feb-2013'))");
    rs = stmt.getResultSet();
    while(rs.next()) {
    System.out.println(rs.getString("parent_node"));
    System.out.println(rs.getString("child_node"));
    System.out.println(rs.getString("node_display_name"));
    stmt.close(); stmt = null;
    conn.close(); conn = null;
    } catch(Exception ex) {
    ex.printStackTrace();
    return null; // please ignore the return type for now
    Exception is thrown at line - stmt.execute(....)
    java.sql.SQLSyntaxErrorException: ORA-00904: : invalid identifier
    I debugged through the code and noted the driver and connection details that the connection object has embedded. Using that I wrote a sample java jdbc code-
    public static void main(String[] args) throws Exception {
    try {
    //Class.forName("oracle.jdbc.driver.OracleDriver");
    //Class.forName("weblogic.jdbc.rmi.Driver");
    Driver myDriver = (Driver) Class.forName("weblogic.jdbc.jts.Driver").newInstance();
    } catch (ClassNotFoundException e) {
    System.out.println("Where is your Oracle JDBC Driver?");
    e.printStackTrace();
    return;
    Connection connection = null;
    try {
    connection = DriverManager.getConnection(
    "jdbc:oracle:thin:@//ssn20331020-rt.eu.prog.net:1522/NEXSERV",
    "sample",
    "sample1234");
    } catch (SQLException e) {
    System.out.println("Connection Failed! Check output console");
    e.printStackTrace();
    return;
    Statement stmt = connection.createStatement();
    stmt.execute("SELECT * FROM table (flex_compnode_api.get_ftapp_compnode_hrchy('19-Feb-2013'))");
    ResultSet rs = stmt.getResultSet();
    int i = 0;
    while(rs.next()) {
    String pNode = rs.getString("parent_node");
    String cNode = rs.getString("child_node");
    String dName = rs.getString("node_display_name");
    System.out.println("Hello: "+i++);
    The above code works perfectly fine. Also tried the above code using normal Oracle JDBC driver and too works fine. I am baffled; what goes wrong when using the connection from a DataSource object. Does the driver treat SQL statements differently based on how the connection object is obtained? Appreciate your inputs/comments for same.
    The oracle db version is - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    Application Server - Weblogic 10.3

    Below is the stacktrace and the driver details which are same for both the standalone basic Jdbc program and one where connection is fetched through datasource.
    Driver name: Oracle JDBC driver
    Driver version : 11.2.0.2.0
    Driver major ver: 11
    Driver minor ver: 2
    java.sql.SQLSyntaxErrorException: ORA-00904: : invalid identifier
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:193)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:852)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1153)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1275)
    at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1890)
    at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1855)
    at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:304)
    at weblogic.jdbc.wrapper.Statement.execute(Statement.java:458)
    at com.rfs.gs.ggl.nex.persistence.jpa.FlagDao.fetchCompositeNodeHierarchy(FlagDao.java:258)
    at com.rfs.gs.ggl.nex.service.mars.GSServiceBean.searchCompositeNode(GSServiceBean.java:192)
    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.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104)
    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.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:55)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy119.searchCompositeNode(Unknown Source)
    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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:73)
    at $Proxy92.searchCompositeNode(Unknown Source)
    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 weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:101)
    at weblogic.wsee.jaxws.WLSInstanceResolver$WLSInvoker.invoke(WLSInstanceResolver.java:83)
    at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:152)
    at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:264)
    at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93)
    at weblogic.wsee.jaxws.tubeline.FlowControlTube$FlowControlAwareTube.processRequest(FlowControlTube.java:148)
    at weblogic.wsee.jaxws.tubeline.FlowControlTube.processRequest(FlowControlTube.java:99)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:604)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:563)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:548)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:445)
    at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:275)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:454)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:250)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:140)
    at weblogic.wsee.jaxws.HttpServletAdapter$AuthorizedInvoke.run(HttpServletAdapter.java:319)
    at weblogic.wsee.jaxws.HttpServletAdapter.post(HttpServletAdapter.java:232)
    at weblogic.wsee.jaxws.JAXWSServlet.doPost(JAXWSServlet.java:310)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at weblogic.wsee.jaxws.JAXWSServlet.service(JAXWSServlet.java:87)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    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:292)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <Timestamp Fri Feb 22 11:41:19 EST 2013 (1361551279781)>

  • Error running demos but not when compiling?

    Hi!!
    I can't run the mail demos they just return with errors like this:
    Exception in thread "main" java.lang.NoClassDefFoundError: msgshow
    I have put the classpath into my system variables under win2003 server like this:
    Name: Value:
    CLASSPATH e:\web_progs\jaf\activation.jar;e:\web_progs\javamail\mail.jar
    I have also tride running the set command at the prompt with above values, no diffrent.
    I'm running everything on a Windows 2003 Server and Java SDK 1.4.2_04.
    Everything else works on the system, just not the javamail function.
    I have searched the forum a.s.o. but only found tips on adding the classpath into windows
    system variables, setting them at the prompt a.s.o. have tried them all no luck.
    Thanks in advance
    Marcus

    I got it to work, added a . when setting the classpath at the prompt.
    Now i just have to figure out how to get the damn webpage to work(not my build).
    /Marcus

  • Error while running Oracle 11i OA page in JDeveloper 10g.

    Hi All,
    I have to do some customization in isupplier page. The page is working well in Oracle 11i instance. Now we are upgrading the Oracle 11i to R12. So I check out the entire project (i copied whole myprojects folder) and try to run the same project in Jdeveloper10g (I use proper jdeveloper patch). While compiling the project I got following error. Seems to be some class files are missing. But I don’t know how to fix it. Any help pls?
    •     Error(24,47): RowProvider not found in class oracle.jbo.server.ViewRowServiceImpl in class oracle.jbo.server.OAJboViewRowImpl in class oracle.apps.fnd.framework.server.OAViewRowImpl in class oracle.apps.pos.isp.server.NonPoInvSummaryVORowImpl
    •     Error(39,37): DataProcessorService not found in class oracle.jbo.server.ApplicationModuleServiceImpl in class oracle.jbo.server.OAJboApplicationModuleImpl in class oracle.apps.fnd.framework.server.OAApplicationModuleImpl in class oracle.apps.pos.isp.server.NonPoInvAMImpl
    •     Error(39,37): ServiceProvider not found in class oracle.jbo.server.ApplicationModuleServiceImpl in class oracle.jbo.server.OAJboApplicationModuleImpl in class oracle.apps.fnd.framework.server.OAApplicationModuleImpl in class oracle.apps.pos.isp.server.NonPoInvAMImpl
    •     Error(75,5): DataCriteria not found in class oracle.apps.pos.schema.server.NonPoInvLineExpert
    •     Error(49,12): method initQuery(java.lang.String, java.lang.String, java.lang.String) not found in class oracle.apps.pos.schema.server.NonPoInvNumUnqVVOImpl
    Thanks
    Chandra

    Chandra,
    May be you can ask Oracle to provide for the R12 patch for iSupplier Portal module. And then do the customizations/extensions therein.
    Regards
    Sumit

  • "Error: null" when compiling database adapter project...

    Hello...
    I started to work trough the Order Booking Tutorial...
    In the end there is a Database Adapter. When i follow this tutorial step by step... I got a "Error: null" at the end when compile and deploy this project...
    What das "Error: null" mean? In this relation...
    Connection to database is configured correctly..
    Thanks for any reply..

    Thanks a lot for fast answer...
    I do so, and i just run through the tutorial again... Now it works...
    Everything I changed except of restart jdev I change the line ( Oracle_Home\integration\orabpel\system\appserver\oc4j\j2ee\home\application-deployments\default\DbAdapter\oc4j-ra.xml )
    <config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.OraclePlatform"/>
    to
    <config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.DatabasePlatform"/>
    What does this line represent...?! So what is the platformClassName...
    Thanks a lot...
    Message was edited by:
    Optimizer

  • Cc got assertion error, when compiling emacs-23.3

    I got an assertion error with cc as follows, when compiling emacs-23.3.
    It compiles fine without the "-O" option.
    I can provide a CPP processed file which reproduces it.
    ;; I could not find a place to report bugs, and I put it here.
    ;; Sorry if it is not an appropriate place.
    % cc -V
    cc: Sun C 5.12 SunOS_i386 2011/11/16
    % cc -c -Demacs -DHAVE_CONFIG_H -I. -I/work/emacs/emacs-23.3/src -I/usr/dt/include -g -O font.c
    "font.c", line 185: warning: integer overflow detected: op "<<"
    "font.c", line 197: warning: integer overflow detected: op "<<"
    "font.c", line 215: warning: integer overflow detected: op "<<"
    "font.c", line 2995: warning: integer overflow detected: op "<<"
    "font.c", line 3422: warning: integer overflow detected: op "<<"
    "font.c", line 3920: warning: assignment type mismatch:
    pointer to char "=" pointer to unsigned char
    "font.c", line 3945: warning: assignment type mismatch:
    pointer to char "=" pointer to unsigned char
    "font.c", line 4026: warning: integer overflow detected: op "<<"
    assertion failed in function pg_first_pass_do_block_rec() @ post_gen.c:3758
    assert(blk_sp_offset_(nextb) == (current_offset + get_prologue_size() + BITS2BYTES(be_cur_local_size)))
    cc: ube failed for font.c

    Got it ...
    Reduced testcase:
    % cat c.c
    enum Lisp_Type
    Lisp_Int0 = 0,
    Lisp_Float = 7,
    struct Lisp_Float
    union
    double data;
    struct Lisp_Float *chain;
    } u;
    struct Lisp_Vector
    unsigned int size;
    struct Lisp_Vector *next;
    int contents[1];
    int
    font_unparse_xlfd (font, pixel_size, name, nbytes)
    int font;
    int pixel_size;
    char *name;
    int nbytes;
    char *f[21];
    int val;
    int i, j, len = 0;
    val = ( ( struct Lisp_Vector * ) ( ( unsigned int ) ( ( ( font ) ) & ( ( ( ( int ) 1 ) << ( 32 - 3 ) ) - 1 ) ) ) ) -> contents [ 5 ];
    if ( ( ( ( enum Lisp_Type ) ( ( ( unsigned int ) ( ( val ) ) ) >> ( 32 - 3 ) ) ) == Lisp_Float ))
    i = ( ( ( void ) 0 , ( struct Lisp_Float * ) ( ( unsigned int ) ( ( val ) & ( ( ( ( int ) 1 ) << ( 32 - 3 ) ) - 1 ) ) ) ) -> u . data + 0 ) * 10;
    f[2] = __builtin_alloca ( 12 );
    else
    f[2] = "*-*", len += 4;
    % cc -g -O c.c -V
    cc: Sun C 5.12 SunOS_i386 2011/11/16
    acomp: Sun C 5.12 SunOS_i386 2011/11/16
    "c.c", line 41: warning: implicit function declaration: __builtin_alloca
    "c.c", line 41: warning: improper pointer/integer combination: op "="
    iropt: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    ir2hf: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    ube: Sun Compiler Common 12.3 SunOS_i386 2011/11/16
    assertion failed in function pg_first_pass_do_block_rec() @ post_gen.c:3758
    assert(blk_sp_offset_(nextb) == (current_offset + get_prologue_size() + BITS2BYTES(be_cur_local_size)))
    cc: ube failed for c.c
    Bug 7167252 filed. If we find a work-around I'll post it.

  • BAM error - during start oracle BAM

    Hi,
    I am getting the below mentioned error while starting Oracle BAM, i have installed BAM 10g release (10.3), there were no problems in installation. Any help will be highly appreciated.
    Rgds,
    Jay
    The service name is invalid.
    More help is available by typing NET HELPMSG 2185.
    Starting "Oracle BAM Active Data Cache"...
    System error 1069 has occurred.
    The service did not start due to a logon failure.
    Starting "Oracle BAM Event Engine"...
    System error 1069 has occurred.
    The service did not start due to a logon failure.
    Starting "Oracle BAM Plan Monitor"...
    The service name is invalid.
    More help is available by typing NET HELPMSG 2185.
    Starting "Oracle BAM Report Cache"...
    System error 1069 has occurred.
    The service did not start due to a logon failure.
    Press any key to continue . . .

    Hi
    Any particular reason , you haven't moved to BAM 11g ( 11.1.1.3.0).
    This is the latest release for the product.
    Regards
    Payal

  • Error when compiling form - width of content canvas error

    Hello everyone,
    I was compiling my form in Designer and I got the erro message below - I have checked the content canvas width which I had set to 80 which has worked with other forms.
    CDG-01364 ERROR: Module CDS0010F: Available width on content canvas 2 (-199) less than minimum allowable width (450)
    Any help would be appreciated.
    Cathy

    I HAVE FOUND THE SOLUTION. I WAS HITTING A BUG. GO THROUGH THE FOLLOWING DOCUMENT AND YOU WILL ALSO BE ANSWERED.
    Bug No.     1354393
    Filed     13-JUL-2000     Updated     10-DEC-2001
    Product     Oracle Designer/2000     Product Version      6.5.40.3.0
    Platform     Intel Windows NT     Platform Version     No Data
    RDBMS Version     8.1.6.1     Affects Platforms      Generic
    Priority     Severe Loss of Service     Status     Code Bug (Response/Resolution)
    Base Bug     N/A     Fixed in Product Version     No Data
    Problem statement:
    CANT GENERATE MC ON CONTENT CANVAS FOLLOWED BY TABBED CANVASES
    *** 07/13/00 03:16 am ***
    This may possibly be related to bug #1132350.
    I have a module with 3 module components.
    I want the 1st mc displayed on the content canvas. Placement = New Content
    Canvas.
    I want the 2nd and 3rd mc's displayed on tabbed canvases below the 1st mc.
    Placement = New Tab Canvas Page.
    I was able to generate this module with Des6.0
    With Des6i, when I attempt to generate I get the message:
    CDG-01281 ERROR: Module HSD0016F: Oracle Forms binary file for BLOCKS ON TABS
    has NOT been created
    The module will only generate if I set all 3 mc's to Placement = New Tab
    Canvas Page.
    *** 07/14/00 08:35 am *** (CHG: Asg-&gt;NEW OWNER)
    *** 07/14/00 08:38 am *** (CHG: FixBy-&gt;6.5.40)
    *** 07/20/00 03:37 am *** (CHG: Sta-&gt;31)
    *** 07/20/00 03:37 am ***
    Module as described above generates correctly in version 6.5.29
    Please supply a testcase which reproduces your problem.
    *** 07/27/00 12:16 am ***
    I have supplied a test-case to DPUSCEDD as requested.
    *** 08/03/00 01:58 am *** (CHG: Sta-&gt;11)
    *** 08/03/00 01:58 am ***
    Test case supplied to dpuscedd.
    See Headstart demo application hsd0016f.
    *** 08/04/00 04:03 am *** (CHG: Asg-&gt;NEW OWNER)
    *** 08/16/00 08:59 am *** (CHG: Sta-&gt;31)
    *** 08/16/00 08:59 am ***
    hsd0016f generates without error using D32 code.
    Appears to run and be laid-out OK too (but for a minor problem with the
    default menu)
    FYI message output as follows:
    Form Generator (Windows 95/98/NT) : Version 6.5.34.2.0 - Production on Wed Aug
    16 16:56:37 2000
    Generating Module 'HSD0016F' (1 of 1)
    Loading form template from file system
    (t:\cgenf\723200\CGENF61\ADMIN\ofgwebt.fmb)
    Loading object library from file system
    (t:\cgenf\723200\CGENF61\ADMIN\ofgwebol.olb)
    Generating new form module and saving to file system (D:\TESTING\HSD0016F.FMB)
    Compiling form executable file (D:\Testing\HSD0016F.fmx) ...
    Running Form Builder executable file...
    *** 08/16/00 09:00 am ***
    CDG-03517 WARNING: Argument HSD0016F.P_REVISION: Module Argument doesn't have
    any usages set against it
    CDG-01077 WARNING: Window HSD0016F.WINDOW: Implementation source object
    QMSSO$WEB_TOOLBAR_WINDOW of correct type not found in Object Library
    CDG-00037 WARNING: Window HSD0016F.WINDOW: The scrollable window WINDOW does
    not allow vertical scrollbars
    CDG-00038 WARNING: Window HSD0016F.WINDOW: The scrollable window WINDOW does
    not allow horizontal scrollbars
    CDG-01242 WARNING: Bound Item HSD0016F.EMP.ID: HSD_EMPLOYEES.ID enabled and
    navigable to allow scrolling on queried values
    CDG-01077 WARNING: Bound Item HSD0016F.EMP.CREATED_BY: Implementation source
    object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object Library
    CDG-01077 WARNING: Bound Item HSD0016F.EMP.CREATION_DATE: Implementation
    source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
    Library
    CDG-01077 WARNING: Bound Item HSD0016F.EMP.LAST_UPDATED_BY: Implementation
    source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
    Library
    CDG-01077 WARNING: Bound Item HSD0016F.EMP.LAST_UPDATE_DATE: Implementation
    source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
    Library
    CDG-01092 WARNING: Module Component HSD0016F.SUB: Content canvas items will
    not be aligned with tab content canvas items
    *** 08/16/00 09:00 am ***
    CDG-01427 WARNING: Foreign Key HSD_EMPLOYEES.HSD_EMP_EMP_FK1: FK
    HSD_EMP_EMP_FK1 considered mandatory in order to link blocks based on tables
    HSD_EMPLOYEES and HSD_EMPLOYEES
    CDG-01316 WARNING: Foreign Key HSD_EMPLOYEES.HSD_EMP_EMP_FK1: Foreign key
    constraint HSD_EMP_EMP_FK1 in HSD_EMPLOYEES has no enterable items or lookups
    CDG-01157 WARNING: Foreign Key HSD_EMPLOYEES.HSD_EMP_EMP_FK1: Foreign key
    item(s) in HSD_EMPLOYEES not enterable; those in lookup not a unique key
    CDG-01077 WARNING: Bound Item HSD0016F.SUB.CREATED_BY: Implementation source
    object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object Library
    CDG-01077 WARNING: Bound Item HSD0016F.SUB.CREATION_DATE: Implementation
    source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
    Library
    CDG-01077 WARNING: Bound Item HSD0016F.SUB.LAST_UPDATED_BY: Implementation
    source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
    Library
    CDG-01077 WARNING: Bound Item HSD0016F.SUB.LAST_UPDATE_DATE: Implementation
    source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
    Library
    CDG-01092 WARNING: Module Component HSD0016F.PEM: Content canvas items will
    not be aligned with tab content canvas items
    CDG-03446 WARNING: Module Component Table Usage
    HSD0016F.PEM.HSD_PROJECT_ASSIGNMENTS.PAS: Optional constraint 'HSD_PAS_UK1'
    contains mandatory column
    CDG-01258 WARNING: Module Component Table Usage
    HSD0016F.PEM.HSD_PROJECT_ASSIGNMENTS.PAS: Missing mandatory column RATE in
    usage of table
    CDG-01316 WARNING: Foreign Key
    HSD_EMPLOYEES.HSD_PROJECT_ASSIGNMENTS.HSD_PAS_EMP_FK1: Foreign key constraint
    HSD_PAS_EMP_FK1 in HSD_PROJECT_ASSIGNMENTS has no enterable items or lookups
    CDG-01157 WARNING: Foreign Key
    HSD_EMPLOYEES.HSD_PROJECT_ASSIGNMENTS.HSD_PAS_EMP_FK1: Foreign key item(s) in
    HSD_PROJECT_ASSIGNMENTS not enterable; those in lookup not a unique key
    CDG-01029 WARNING: Unbound Item HSD0016F.PEM.CRI: Visual Attribute
    CG$CURRENT_RECORD not found in template form
    CDG-01077 WARNING: Bound Item HSD0016F.PEM.CREATED_BY: Implementation source
    object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object Library
    CDG-01077 WARNING: Bound Item HSD0016F.PEM.CREATION_DATE: Implementation
    source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
    Library
    CDG-01077 WARNING: Bound Item HSD0016F.PEM.LAST_UPDATED_BY: Implementation
    source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
    Library
    CDG-01077 WARNING: Bound Item HSD0016F.PEM.LAST_UPDATE_DATE: Implementation
    source object QMSSO$QUERY_ONLY_ITEM of correct type not found in Object
    Library
    CDG-01083 WARNING: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_ID: Making item
    L_PRJ_ID the first item in List of Values 'CGFK$PEM_PRJ_ID'
    CDG-01083 WARNING: Bound Item HSD0016F.CGFK$SUB_DEP_ID.ID: Making item ID the
    first item in List of Values 'CGFK$SUB_DEP_ID'
    Generation of Module 'HSD0016F' Successful
    *** 08/16/00 09:01 am ***
    CDG-03500 WARNING: The Generator could not save adjustments to
    invalid/unspecified properties
    CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.EMP: Set the Overflow
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.EMP.HIRE_DATE: Set the Width
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.EMP.CREATION_DATE: Set the
    Width property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.EMP.LAST_UPDATE_DATE: Set the
    Width property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the Overflow
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the Height
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the View Width
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.SUB: Set the View
    Height property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 30: Set the X Position
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 30: Set the Y Position
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.SUB.HIRE_DATE: Set the Width
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.SUB.CREATION_DATE: Set the
    Width property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.SUB.LAST_UPDATE_DATE: Set the
    Width property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.PEM: Set the Height
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component HSD0016F.PEM: Set the View
    Height property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 130: Set the X
    Position property to a default value
    CDG-03484 ADJUSTMENT FAILED: Module Component Inclusion 130: Set the Y
    Position property to a default value
    CDG-03466 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.ID: Set Insert property
    to No because item based on derived column
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.START_DATE: Set the Width
    property to a default value
    *** 08/16/00 09:02 am ***
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.END_DATE: Set the Width
    property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.L_PRJ_START_DATE: Set the
    Width property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.L_PRJ_END_DATE: Set the
    Width property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.CREATION_DATE: Set the
    Width property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.PEM.LAST_UPDATE_DATE: Set the
    Width property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_NAME:
    Set the Update ? property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_NAME:
    Set the Insert ? property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_ID: Set
    the Update ? property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_ID: Set
    the Insert ? property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item
    HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_PRJ_TYPE: Set the Update ? property to a
    default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item
    HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_PRJ_TYPE: Set the Insert ? property to a
    default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item
    HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_START_DATE: Set the Update ? property to a
    default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item
    HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_START_DATE: Set the Insert ? property to a
    default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item
    HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_END_DATE: Set the Update ? property to a
    default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item
    HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_END_DATE: Set the Insert ? property to a
    default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_BUDGET:
    Set the Update ? property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$PEM_PRJ_ID.L_PRJ_BUDGET:
    Set the Insert ? property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$SUB_DEP_ID.ID: Set the
    Query ? property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$SUB_DEP_ID.L_DEP_NAME:
    Set the Update ? property to a default value
    CDG-03484 ADJUSTMENT FAILED: Bound Item HSD0016F.CGFK$SUB_DEP_ID.L_DEP_NAME:
    Set the Insert ? property to a default value
    Generation Complete
    *** 09/20/00 08:19 pm *** (CHG: Sta-&gt;91)
    *** 10/26/00 05:14 am *** (CHG: Sta-&gt;11)
    *** 10/26/00 05:14 am ***
    I have re-opened this bug as I am still able to reproduce the problem with
    Designer 6i Release 2.
    Test case is Headstart Demo application form HSD0016F.
    I noticed that when you generated the form above, you did not use the
    Headstart object library, but used the Designer object library instead.
    Could you try generating the form using the Headstart object library and
    template package.
    The version of headstart you have has the workaround in place in this form.
    Therefore, you will need to edit the module before you generate it.
    In the module componenet EMP, change the Placement property from New Tab
    Canvas Page to New Content Canvas.
    (Due to another bug, you should also blank out the height on all displayed
    columns of type date or datetime in all 3 module components.)
    Generate the module.
    I get the following results:
    Form Generator (Windows 95/98/NT) : Version 6.5.40.3.0 - Production on Thu Oct
    26 14:05:07 2000
    Generating Module 'HSD0016F' (1 of 1)
    Loading form template from file system
    (C:\Headstart\hsd65\hst\admin\qmstpl65.fmb)
    Loading object library from file system
    (C:\Headstart\hsd65\hst\admin\qmsolb65.olb)
    CDG-01382 WARNING: Module HSD0016F: Expanding popup 2 to fit 10 row(s)
    ************ this is the problem ********************
    CDG-01281 ERROR: Module HSD0016F: Oracle Forms binary file for BLOCKS ON TABS
    has NOT been created
    ************ end of problem ********************
    CDG-03517 WARNING: Argument HSD0016F.P_REVISION: Module Argument doesn't have
    any usages set against it
    ...various other warnings...
    CDG-01083 WARNING: Bound Item HSD0016F.CGFK$SUB_DEP_ID.ID: Making item ID the
    first item in List of Values 'CGFK$SUB_DEP_ID'
    Generation of Module 'HSD0016F' Successful
    Generation Complete
    *** 10/30/00 12:58 am *** (CHG: FixBy-&gt;6.5.60)
    *** 12/21/00 07:34 am *** (CHG: Asg-&gt;NEW OWNER)
    *** 01/22/01 04:52 am *** (CHG: DevPri-&gt;1)
    *** 01/24/01 11:40 am ***
    I have finally been able to pin down why this is happening with Headstart
    generated applications and not with applications using the default Designer
    object library.
    In our object library, the standard source object CGSO$BLOCK has a number of
    block level triggers, and one item. These are standard and need to be on
    every 'normal' block generated with Headstart.
    However, this makes it impossible to generate a form with block 1 on the
    content canvas followed by 2 or more blocks on tabbed canvases on the same
    page.
    If I remove the block level triggers and item, I can generate this form
    (though of course this is useless to me because I lose all Headstart
    functionality).
    Furthermore, if I try to explicitly direct Designer to use another object from
    the object library, by recoding a Template/Library Object on the module
    components, the form generator ignores this and uses CGSO$BLOCK anyway.
    Suggested workaround:
    - copy qmsolm65.fmb and qmsolb65.olb to another name (e.g. qmswrkrn.fmb and
    qmswrkrnd.olb
    - in qmswrkrn.fmb add a new block, qmsso$save_triggers. Make this block an
    exact copy of cgso$block including triggers and item.
    - change the blocks that used to subclass from cgso$block to now subclass from
    qmsso$save_triggers
    - in cgso$block, remove the triggers and item
    - generate the qmswrkrnd.olb object library
    - for each module in Designer that requires the blocks on tab layout, go to
    the form level preferences and set the standard object library to qmswrkrn.olb
    - generate the form(s)
    - do a post-generation modification to subclass the data blocks from the
    qmsso$save_triggers block
    I'm glad to see you've raised the Development Priority to 1. This is probably
    the single most popular layout for a master with multiple details, and it is
    really crippling not to be able to generate this layout. We are already
    getting complaints from our beta clients.
    Just a reminder, you can duplicate this bug using the Headstart demo
    application form hsd0016f. You must change module component EMP to use layout
    style 'New Content Canvas'. (It is currently set to New Tab Page.) You must
    also be sure to use the Headstart object library and template form when you
    generate.
    *** 01/25/01 07:05 am ***
    Found a much simpler workaround! In object library maintenance form
    qmsolm65.fmb, set Visible property of cgso$block.qms$block_info to Yes. Then
    re-create qmsolb65.olb object libary. Form will now generate.
    Since this is the second problem we have found in Headstart related to having
    a hidden item in cgso$block, for Headstart 6i I am eliminating this item.
    In the meantime, use this workaround for Headstart 6i beta and for Patch 13.
    *** 03/02/01 06:18 am *** (CHG: Asg-&gt;NEW OWNER)
    *** 12/07/01 08:58 am *** (CHG: FixBy-&gt;9.1 DevPri-&gt;3)
    *** 12/10/01 05:28 am *** (CHG: DevPri-&gt;5)
    *** 12/10/01 08:51 am *** (CHG: FixBy-&gt;0)

  • Database link error when compiling forms 6.0 and forms 6i.

    Dear sirs,
    We have a database link between two databases of the same version oracle 8.0.5.
    Recently we have upgraded one of our databases to version 9.2.0.1 (the database where the database link was originally created ) and now we are having problems when compiling forms that have PL/SQL blocks using the database link.
    The error message received when compiling the form is the following:
    ORA-02068: Following severe error from dbproduc.world
    ORA-00600: Internal error code, arguments: [No conversion op],[],[],[],[],[],[],[]
    The forms did not present this error before, it began when we made the upgrade.
    Is this a FORMS 6.0 problem ?
    Is this an ORACLE 8.0.5 problem ?
    Is this an ORACLE 9.2.0.1 problem ?
    Can you please give me some advice to solve this problem ?
    Thanks in advance

    As I see, when you use a non-oracle database the tables don`t appear, you must create the realation with the table manually, on the properties

  • Error message when compiling invalid packages and procedures

    Hi.
    I have a routine for copying certain data from a production database to a test database. To do this I disable constraints and triggers, truncate tables, copy tables and enable triggers and constraints again.
    Now several of my functions, procedures and packages are made invalid and marked with a red cross. In SQL Developer I can compile invalid functions, procedures and packages. When I compile functions it works fine, but when compiling procedures and packages I get the following error message:
    An error was encountered performing the requested operation:
    ORA-00904: "ATTRIBUTE": Invalid identifier
    Vendor code 904
    When I click OK on this message I get a confirmation saying:
    Packages have been compiled with #0.CNT# errors.
    I had this error in both the previous and the new version. Is this a bug or is there a way to come around it? When I copy and modify the SQL generated to perform this task and run it in SQL Plus it works fine.
    I use Windows 2000 5.00.2195 Service Pack 4, SQL Developer version 1.2.1, Oracle 9.2.0.8.0 and Java version 1.5.0_11
    Message was edited by:
    SvSig

    i have now upgraded to Java 1.6 update 2. I still get basically the same error, but it is presented a little bit differently:
    An error was encountered performing the requested operation:
    ORA-00904: "ATTRIBUTE": invalid identifier
    00904. 00000 - "%s: invalid identifier"
    *Cause:
    *Action:
    Vendor code 904
    Are there other possible error causes than the operating system version and the database version?
    We are going to install an Oracle 10 test database in a couple of weeks, so then I will find out whether the database version is the problem.

  • Error(41,64): SCAC-50012 at mediator when compiling BPEL composite.

    HI,
    I am getting Error(41,64): SCAC-50012 at mediator in composite.xml when compiling BPEL composite.Please help in resolving the same. Please find the below Log
    scac log shows:
    Jun 1, 2013 6:07:31 PM oracle.adf.share.config.ADFContextMDSConfigHelperImpl createMDSSession
    INFO:
    oracle.adf.share.ADFShareException: MDSConfigurationException encountered in parseADFConfiguration
         at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:180)
         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 oracle.adf.share.config.ADFConfigImpl.getResultFromComponent(ADFConfigImpl.java:497)
         at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:568)
         at oracle.adf.share.config.ADFConfigImpl.getConfigObject(ADFConfigImpl.java:546)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:611)
         at oracle.adf.share.config.ADFConfigImpl.getMDSInstance(ADFConfigImpl.java:606)
         at oracle.adf.share.config.ADFContextMDSConfigHelperImpl.createMDSSession(ADFContextMDSConfigHelperImpl.java:52)
         at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1690)
         at oracle.mds.internal.net.OraMDSURLConnection.getMDSSession(OraMDSURLConnection.java:169)
         at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:80)
         at java.net.URL.openStream(URL.java:1010)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStreamConnection(WSDLReaderImpl.java:576)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:438)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:377)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:937)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:820)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:719)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:688)
         at oracle.fabric.common.wsdl.SchemaBuilder.convDOMElemToWSDLDef(SchemaBuilder.java:1279)
         at oracle.fabric.common.wsdl.SchemaBuilder.loadEmbeddedSchemas(SchemaBuilder.java:501)
         at oracle.fabric.common.wsdl.SchemaBuilder.loadSchemasFromWSDL(SchemaBuilder.java:453)
         at oracle.fabric.common.wsdl.SchemaBuilder.loadAllSchemas(SchemaBuilder.java:244)
         at oracle.fabric.common.wsdl.SchemaManager.loadAllXSD(SchemaManager.java:287)
         at oracle.fabric.common.wsdl.SchemaManager.getXSDEntityResolver(SchemaManager.java:490)
         at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:458)
         at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:201)
         at com.collaxa.cube.lang.compiler.ComponentCompilationModel.getWSDLManager(ComponentCompilationModel.java:61)
         at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.lookupPartnerLinkType(BPELComponentCompilationModel.java:147)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.assertPartnerLink(BpelParser.java:4570)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parsePartnerLink(BpelParser.java:1317)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.startElement(BpelParser.java:572)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:491)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:498)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parseElement(BpelParser.java:498)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:454)
         at com.collaxa.cube.lang.compiler.bpel.BpelParser.parse(BpelParser.java:401)
         at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:65)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
         at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
         at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
    Caused by: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document
    MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is invalid.
    MDS-00011: unable to create configuration object or MDSInstance due to invalid configuration information: oracle.mds.exception.MDSException: MDS-01373: unable to retrieve password.
    MDS-01373: unable to retrieve password.
         at oracle.mds.config.PConfig.loadFromBean(PConfig.java:959)
         at oracle.mds.config.PConfig.<init>(PConfig.java:758)
         at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:787)
         at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:848)
         at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:491)
         at oracle.mds.core.MDSInstance.getMDSConfigFromDocument(MDSInstance.java:2690)
         at oracle.mds.core.MDSInstance.findAndStoreMDSInstanceWithCustConfig(MDSInstance.java:2523)
         at oracle.mds.core.MDSInstance.getOrCreateInstanceInternal(MDSInstance.java:2031)
         at oracle.mds.core.MDSInstance.getOrCreateInstance(MDSInstance.java:740)
         at oracle.adf.share.config.ADFMDSConfig.parseADFConfiguration(ADFMDSConfig.java:139)
         ... 50 more
    Caused by: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
    MDS-01370: MetadataStore configuration for metadata-store-usage "mstore-usage_2" is invalid.
    MDS-00011: unable to create configuration object or MDSInstance due to invalid configuration information: oracle.mds.exception.MDSException: MDS-01373: unable to retrieve password.
    MDS-01373: unable to retrieve password.
         at oracle.mds.config.PConfig.loadFromBean(PConfig.java:953)
         ... 59 more
    node class name com.collaxa.cube.engine.ext.bpel.v1.blocks.BPELSequenceBlock
    node class name com.collaxa.cube.engine.ext.bpel.v1.blocks.BPELScopeBlock
    node class name com.collaxa.cube.engine.ext.bpel.v1.blocks.BPELCompensationHandlerBlock
    node class name com.collaxa.cube.engine.ext.bpel.v1.blocks.BPELSwitchBlock
    java.lang.RuntimeException: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:355)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.initializeVariables(CXBPELVariableInitializer.java:207)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generateInitRootScope(CubeProcessGenerator.java:675)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.code(CubeProcessGenerator.java:467)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:166)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
         at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
         at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
    Caused by: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXMLElement(SchemaToXML.java:419)
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXML(SchemaToXML.java:354)
         at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.generateXML(BPELComponentCompilationModel.java:206)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:353)
         ... 14 more
    SCAC-50012
    ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    an unhandled exception has been thrown in the Collaxa Cube systemr; exception reported is: "java.lang.RuntimeException: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:355)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.initializeVariables(CXBPELVariableInitializer.java:207)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generateInitRootScope(CubeProcessGenerator.java:675)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.code(CubeProcessGenerator.java:467)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:166)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
         at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
         at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
    Caused by: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXMLElement(SchemaToXML.java:419)
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXML(SchemaToXML.java:354)
         at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.generateXML(BPELComponentCompilationModel.java:206)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:353)
         ... 14 more
    An internal exception has not been properly handled by the server.
    Set the logging level for all loggers to debug, and resubmit your request again. The server log should contain a more detailed exception report.
    Exception: java.lang.RuntimeException: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
    Handled As: com.collaxa.cube.CubeException
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.code(CubeProcessGenerator.java:500)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:166)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
         at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
         at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
         at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1038)
         at oracle.soa.scac.ValidateComposite.doValidation0(ValidateComposite.java:502)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:481)
         at oracle.soa.scac.ValidateComposite.run0(ValidateComposite.java:206)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:187)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:179)
    Caused by: java.lang.RuntimeException: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:355)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.initializeVariables(CXBPELVariableInitializer.java:207)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generateInitRootScope(CubeProcessGenerator.java:675)
         at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.code(CubeProcessGenerator.java:467)
         ... 11 more
    Caused by: ORABPEL-09705
    Could not initialize variable.
    An error occurs while initializing BPEL variable inputVariable; the schema processor cannot find the element {http://www.qualcomm.com/soa/common/xsd/soaSubcriptionInput}validationRequest in the following schemas: oracle.fabric.common.wsdl.SchemaManager@46154e.
    The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
    Ensure that the element named in the error message is valid in the XSD or the WSDL.
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXMLElement(SchemaToXML.java:419)
         at com.collaxa.cube.xml.xsd.SchemaToXML.generateXML(SchemaToXML.java:354)
         at com.collaxa.cube.lang.compiler.BPELComponentCompilationModel.generateXML(BPELComponentCompilationModel.java:206)
         at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:353)
         ... 14 more

    The MDS schema that you are using in your composite component is causing this issue I believe.
    You could check whether the password specified in mstore-usage_2 is correct. As the mds is accessible this is happening

  • Pragma error when compiling with SDK X

    Hi,
    I am trying to compile my plugin application (which compiled fine with the previous sdk) using the SDK X, but receive errors in CAVAlert.h on the exception handler construct DURING, HANDLER, END_HANDLER.
    The errors are listed here:
    Headers/API/CAVAlert.h:156:3: error: 'suppress' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: 'warning' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: '__pragma' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'jmp_buf'
    Headers/API/CAVAlert.h:156:3: error: 'ASException' was not declared in this scope
    Headers/API/CAVAlert.h:156:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:156:3: error: expected ';' before 'struct'
    Headers/API/CAVAlert.h:162:3: error: request for member 'E_RETURNOutsideDURINGBlock' in 'gBadReturnCatcher', which is of non-class type 'int'
    Headers/API/CAVAlert.h:162:3: error: expected ')' before ':' token
    Headers/API/CAVAlert.h:162:3: error: expected ';' before 'int'
    Headers/API/CAVAlert.h:165:3: error: 'ENDHANDLEROutsideHANDLER' was not declared in this scope
    To compile against to SDK X all I did was:
    1) Used PIMain.c from the SDK X API directory.
    2) Changed ACRO_SDK_LEVEL=0x00090000 => ACRO_SDK_LEVEL=0x000A0000
    3) Changed the include directories to point to the new SDK X directories
    Is there another directive I must add to get the plugin to compile with SDK X?
    My preprocessor list is as follows:
    ACRO_SDK_LEVEL=0x000A0000
    HAVE_W32API_H
    PDMETADATA_HFT=1
    PLUGIN=1
    WIN32
    WIN_ENV
    WIN_PLATFORM
    WXUSINGDLL
    _CRT_SECURE_NO_DEPRECATE
    _DEBUG
    _WINDOWS
    __GNUWIN32__
    __WIN32__
    __WXMSW__
    Thank you,
    Magda

    Without seeing your code, I can't really help.
    If you want help with your code, open a formal support ticket.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Tue, 6 Dec 2011 04:09:25 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Pragma error when compiling with SDK X
    Pragma error when compiling with SDK X
    created by magdakuit<http://forums.adobe.com/people/magdakuit> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4066378#4066378

  • Error report:No more data to read from socket  when compile package

    We are going to migrate db from oracle 10g to oracle 11g. But when compile a package which is fine on oracle 10g, an exception "Error report:No more data to read from socket" throws on sql developer and break the connection. We have researched the issue and found if modify some code on a cursor, the issue will not happen.
    code:
    PROCEDURE DELETE_MANU_INTERV_BORROWS(
    p_borrow_id IN NUMBER,
    p_asset_id IN NUMBER,
    p_nsb_coll_type IN VARCHAR2,
    p_nsb_coll_code IN VARCHAR2,
    p_branch_code IN VARCHAR2,
    p_settle_date IN NUMBER,
    p_trans_type IN VARCHAR2,
    p_status OUT VARCHAR2,
    p_shorts_cursor OUT SYS_REFCURSOR
    IS
    var_end_settle_date GEC_IM_ORDER.SETTLE_DATE%type;
    CURSOR exist_allocation IS
    SELECT out_a.ALLOCATION_ID FROM
    GEC_ALLOCATION out_a,
    GEC_BORROW b,
    GEC_IM_ORDER o,
    GEC_TRADE_COUNTRY gc,
    (SELECT f.FUND_CD, f.BRANCH_CD, tc.TRADE_COUNTRY_CD, NVL(gc.COLLATERAL_CURRENCY_CD, gbk.COLLATERAL_CURRENCY_CD) as COLLATERAL_CURRENCY_CD
    FROM GEC_FUND f
    LEFT JOIN GEC_G1_BOOKING gbk ON f.fund_cd = gbk.fund_cd AND gbk.TRANSACTION_CD = 'G1L' AND gbk.POS_TYPE = 'NSB'
    LEFT JOIN GEC_G1_COLLATERAL gc ON gc.G1_BOOKING_ID = gbk.G1_BOOKING_ID
    LEFT JOIN GEC_TRADE_COUNTRY tc ON gc.TRADE_COUNTRY_CD = tc.TRADE_COUNTRY_CD
    ) loan_info
    WHERE b.BORROW_ID = out_a.BORROW_ID AND
    out_a.IM_ORDER_ID = o.IM_ORDER_ID AND
    o.FUND_CD = loan_info.FUND_CD AND
    o.ASSET_ID = p_asset_id AND
    gc.TRADE_COUNTRY_CD = o.TRADE_COUNTRY_CD AND
    o.TRANSACTION_CD = p_trans_type AND
    loan_info.COLLATERAL_CURRENCY_CD = p_nsb_coll_code AND
    loan_info.BRANCH_CD = p_branch_code AND
    o.SETTLE_DATE >= p_settle_date AND
    o.SETTLE_DATE <= var_end_settle_date AND
    b.STATUS = GEC_CONSTANTS_PKG.C_BORROW_MANUAL
    ORDER BY out_a.ALLOCATION_ID ASC
    FOR UPDATE OF out_a.ALLOCATION_ID;
    If delete the "OF out_a.ALLOCATION_ID" of the for update clause of CURSOR exist_allocation, this prolbem will not happen, and the code is comple succesfully on sql developer for oracle 10g.
    Does anybody have any idea? I've googled the similer problems but still can't find a clue. I'll appreciate any help.

    Welcome to the forum!
    Please provide the 4 digit Oracle version (result of SELECT * FROM V$VERSION) for the source and target servers; 10g and 11g are not versions. You also mention sql developer so what is the exact version you are using?
    >
    If delete the "OF out_a.ALLOCATION_ID" of the for update clause of CURSOR exist_allocation, this prolbem will not happen, and the code is comple succesfully on sql developer for oracle 10g.
    >
    Please clarify what works and what doesn't work because your statements are both incorrect and misleading.
    You can't delete the "OF out_a.ALLOCATION_ID" of the for update clause or you would get a syntax error by leaving FOR UPDATE OF with nothing specified after it.
    Also you original statement said
    >
    But when compile a package which is fine on oracle 10g
    >
    But now you say that if you delete the "OF..." the problem doesn't happen and the code compiles on 10g.
    Does the original code compile on 10g or not? Does it compile on 11g or not? After the original code is migrated to 11g does it compile? That is, the code is there can you manually compile it?

Maybe you are looking for

  • MouseOver functionality in OBIEE 11g

    Hi, I have a requirement to have tool tip, when we keep mouse on columns in report/dashboard, can anyone help me to acheive this in obiee 11g. Thanks in advance, mahi.

  • Javax.mail.internet.ParseException when trying to send a MIME message

    Hi, I am using JavaMail to send a MIME message, but I am getting the following exception: at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.<init>(Compiled Code) at ja

  • Is Acrobat DC Pro An upgrade to Acrobat XI Pro  or are they separate  products

    When you  Go on creative  cloud You are  given the features   of Acrobat DC pro  and  you can toggle between that and Acrobat  XI Pro  The Latter has  a better descriptions of the important feature and  the  some of the similar feature  in DC get lit

  • Upgrade 12.0.4 to 12.1.3

    Hi All, Please advise on upgrade from 12.0.4 to 12.1.3. Let me advise to proceed with patch applications or some other way. Please help on this continue further. Environment RedHat Linux 5. 32bit. Thanks, Vasanth

  • Converting CS3 to Vector art

    Hi Folks I'm new at working with Photoshop CS3 but need some advise in creating Vector art that can be imported into CorelDRAW and manipulated. I am importing part schematics (part diagrams) for a motor utilizing my scanner. Once imported I am erasin