Problem Referencing a Package in an 11g DB From Forms 6i

Hello everybody,
I have recently updated a database from 8i to 11g. This DB is used alongside with a program that it has been created with Forms-Reports Developer 6i. Even though the overall performance and usage of the program seems intact I came upon a problem that I cannot solve.
In a form there is a reference to a package of the database that doesn't work anymore. For example something like PackageName.ProcedureName(Parameter1,Parameter2) gives the following error:
"PDE-PSD001 Could not resolve reference to <Unknown Program Unit> while loading Procedure Body [..]"
I have checked the name and spelling of the package in my Db and in the form call but that didn't seem to work. The package compiles inside the DB and has no problem but the form refuses to reference it. When I connect to the old 8i DB it works fine. I have tried recreating the package in 11g from scratch but with no success.
Any ideas?Any help would me much appreciated...
Thank you in advance

I have recently updated a database from 8i to 11g. This DB is used alongside with a program that it has been created with Forms-Reports Developer 6i. Even though the overall performance and usage of the program seems intact I came upon a problem that I cannot solve.
I hope yours is not a production environment (yet).... did you check MOS doc ID 207303.1 Client / Server / Interoperability Support Between Different Oracle Versions before upgrading your database ?
Forms 6i is an 8.0.6 version, which has never been supported for 11g database. Which, as always, doesn't mean it won't ever work, it may work 99% of the cases, then you run into a situation like yours......

Similar Messages

  • Problem with IN OUT parameters whiloe calling procedure from Form 6i

    Hi
    Could some help please? I have the following scenario.
    I am calling a stored procedure from form 6i by pressing a button on the form. Procedure has two IN OUT parameters, and I am passing these two IN OUT parameters and have declared them the way they are declared passed to the procedure. But I get an error when calling that procedure with these IN OUT parameters. the procedure works fine if parameters are IN only. The error says:
    PLS:00363: Expression '1' cannot be used as an assigment target.
    NO matter I pass some value or leave it blank, I get the same error message persistenetly.
    Please help.
    Thanks

    make sure you are calling your procedure with variables as parameters,
    i.e.
          l_v1 := 1 ;
          l_v2 := 'hello world' ;
          your_proc(l_v1, l_v2)
    not
          your_proc(1,'hello world')

  • CALLING A REPORT FROM FORMS (PROBLEM)

    MY PROBLEM IS THE NEXT:
    I CREATED A MASTER-DETAIL REPORT CALLING 'ASUNTOS'WITH THE NEXT QUERY:
    SELECT ABOGADOS.APELLIDO_P,ABOGADOS.APELLIDO_M,ABOGADOS.NOMBRES,
    ASUNTOS.EXP_INT,ASUNTOS.MATERIA,ASUNTOS.GERENCIA,
    ASUNTOS.EMPRESA,ASUNTOS.RECLAMA,ASUNTOS.PESOS,
    ASUNTOS.DOLARES
    FROM ABOGADOS,ASUNTOS
    WHERE ABOGADOS.FICHA = ASUNTOS.F_ABOG
    AND ASUNTOS.F_ABOG = :ABOGADO ;
    -- ABOGADO = PARAMETER.
    THIS REPORT WORKS FINE THE PROBLEM IS WHEN I TRY CALL THIS REPORT FROM FORM I'VE USE A BUTTON(WHEN_BUTTON_PRESSED) WITH THE NEXT CODE:
    DECLARE
    LISTA PARAMLIST := GET_PARAMETER_LIST('ABOG');
    BEGIN
    IF ID_NULL(LISTA) THEN
    LISTA := CREATE_PARAMETER_LIST('ABOG');
    ADD_PARAMETER(LISTA,'DESTYPE',TEXT_PARAMETER,'PRINTER');
    ADD_PARAMETER(LISTA,'DESNAME',TEXT_PARAMETER,'LPT2');
    ADD_PARAMETER(LISTA,'ABOGADO',TEXT_PARAMETER,TO_CHAR(:ASUNTOS.F_ABOG));
    -- ADD_PARAMETER(LISTA,'PARAMFORM',TEXT_PARAMETER,'YES');
    END IF;
    RUN_PRODUCT(REPORTS,'ASUNTOS',SYNCHRONOUS,RUNTIME,FILESYSTEM,LISTA,NULL);
    END;
    BUT THE REPORT NOTHING DISPLAY.
    THERE ARE SOMETHING WRONG WITH THE CODE IN THE BUTTON

    Roberto,
    Does your report work when it is not called from Forms?
    try the following:
    [TOOLS_HOME]\BIN\RWRUN60 module=ASUNTOS destype=screen userid=<username>/<password>@<tns> ABOGADO=<some_valid_code>
    where TOOLS_HOME is the directory where Reports is installed.
    I can see nothing wrong with your code.
    Maybe some error in the query?
    Also, I would check for the existence of multiple ASUNTOS report definitions. Maybe Forms is calling an older one.
    Hope this helps,
    Pedro das Neves
    ([email protected])

  • Cannot load a library unit database_object ( referenced by package name )

    Dear Friends,
    I am using Plls in Reports 6i. In One of the Pll I am Using
    Backend Table in package body. I have two 8i instances. when I
    comiple and save and close this plls with one instance( say
    instance "A" ), its fine. it is done sucessfully. Now i am
    connecting to other instance ( say instance "B" ) and open that
    same pll. it is showing compilation error "Cannot load a library
    unit <my_table> ( referenced by <package name> )". Now I compile
    and save and close with instance "B". it is done sucessfully.
    Again I am connecting to Instance "A" and open that same PLL. It
    is showing same Error "Cannot load a library unit <my_table> (
    referenced by <package name> )"
    Anybody can tell me , How to get rid of this Problem. I dont
    know its a BUG or somthing else.
    I am using Window2000 as OS.
    Thanks
    Ashish Parikh

    If a Schema has some objects in it, then you cannot drop that Schema until you remove all the objects out of it. You can change the schema owner
    to another database principal and drop the user like,
    Alter Authorization ON Schema::username TO DBO; Drop User username;
    other option would be
    Transfer the username schema objects to a different schema and drop username schema and user like.
    Alter Schema DBO Transfer Username.[OBEJECTNAME] ;
    --need to repeat this until you transfer all objects under this schema
    Drop Schema username;
    Drop User username;
    Regards,
    Praveen D'sa
    MCITP - Database Administrator - 2008
    sqlerrors

  • Using ant to build and deploy plsql packages to a 11g wls.

    Hi all,
    Not sure is this is the right place, but I found a few other threads in this forum regarding plsql and ant, so I'll try this one.
    My firm is moving from 10g ADF applcations to 11g SOA applications. When I'm not busy being lost in the whole new SOA world, I also have the pleasure of building our ant scripts. :-)
    It has been years since I looked at the deploy scripts I made for 10g, so I'm a bit rusty.
    I used wsassemble in our old scripts and I used http://download.oracle.com/docs/cd/B25221_05/web.1013/b14434/wsassemble.htm as a reference. But I can't seem to find the same documentation for 11g? I tried http://download.oracle.com/docs/cd/E12839_01/index.htm but it doesn't seem to have anything about plsqlAssemble, genInterface, genproxy etc. for 11g wls servers? I also tried google a while to no avail.
    For example, I'm having problems setting the values for the ant-oracle.properties.
    So can someone please throw some links my way, so I can read how to build and deploy plsql packages to a 11g wls server using ant? Thanks!
    Cheers,
    William

    Hi,
    Did you ever find an answer to this question ?
    I am currently creating the webservice using webservices assembler from 10g/OC4j, then using the SmartUpgrade tool to re-engineer the webservice for deployment to 11g
    ( SmartUpgrade info here http://docs.oracle.com/cd/E16764_01/doc.1111/e15878/intro.htm)
    G
    Edited by: user999097 on Mar 5, 2012 1:16 PM

  • Problem using ojdbc14.jar in JDev 11g

    Hi
    I have an application created in 10g.
    I was trying to create the same in 11g and encountered this problem with the ojdbc14.jar.
    The jar has two classes OracleDataSource and OracleConnectionCacheImpl inside the same package.
    OracleConnectionCacheImpl is inherited from OracleDataSource.
    OracleDataSource has a protected variable called m_dataSourceName.
    The child class, OracleConnectionCacheImpl used this variable.
    I have this jar included in my classpath.
    When i run the application, it throws a runtime error.
    Following is the stack trace.
    java.lang.NoSuchFieldError: m_dataSourceName
         at oracle.jdbc.pool.OracleConnectionCacheImpl.(OracleConnectionCacheImpl.java:189)
         at oracle.apps.snw.hubserver.common.XhubConnectionPool.(XhubConnectionPool.java:46) -------------------------------------> from here its my code
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.addConnectionPool(XhubConnectionPoolManager.java:168)
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.getConnection(XhubConnectionPoolManager.java:201)
         at oracle.apps.snw.hubserver.util.SystemParameters.reloadAllParameters(SystemParameters.java:294)
         at oracle.apps.snw.hubserver.util.SystemParameters.(SystemParameters.java:34)
         at oracle.apps.snw.hubserver.util.SystemParameters.getInstance(SystemParameters.java:48)
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.addConnectionPool(XhubConnectionPoolManager.java:155)
         at oracle.apps.snw.hubserver.common.XhubConnectionPoolManager.getConnection(XhubConnectionPoolManager.java:201)
         at oracle.apps.snw.common.util.LanguageQueryBasedNameValueCache.queryAllLanguages(LanguageQueryBasedNameValueCache.java:125)
         at oracle.apps.snw.common.util.LanguageQueryBasedNameValueCache.setCacheParameters(LanguageQueryBasedNameValueCache.java:77)
         at oracle.apps.snw.common.util.LanguageQueryBasedNameValueCache.(LanguageQueryBasedNameValueCache.java:53)
         at oracle.apps.snw.uicommon.TextProvider.populateTextCache(TextProvider.java:100)
         at oracle.apps.snw.uicommon.TextProvider.getTextMessage(TextProvider.java:123)
         at oracle.apps.snw.uicommon.TextProvider.handleGetObject(TextProvider.java:113)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:378)
         at oracle.cabo.ui.data.BundleDataObject.selectValue(Unknown Source)
         at oracle.cabo.ui.data.DataBoundValue.getValue(Unknown Source)
         at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    Can anyone tell me why this error occurs?
    I have checked the Oracle JDBC library of JDev 11g and found that it has ojdbc6.jar
    Is there any compatibility problem with this jar migrating from 10g to 11g?
    Found this related link but could not relate it much.
    Please explain
    JDBC problem: java.lang.NoSuchFieldError: CONNECTION_PROPERTY_THIN_NET_CONN
    Thanks

    I guess you can't use ojdbc14.jar that easy. Some dependencies form ojdbc14.jar are not available under 11g. That 's the reason you have ojdbc6.jar under 11g.
    Timo

  • How can I solve a Parse Error: "There was a problem parsing this package"

    Hello;
    I developed a really simple app in Flash Pro CC for android. I published it using AIR 13.0 for Android. When I tried to install it I received the Parse Error: "There was a problem parsing this package"
    Im not sure if the problem has something to do with my app xml file, but here it is:
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://ns.adobe.com/air/application/13.0">
         <id>TOeatorNOTTOeat</id>
         <versionNumber>1.0.0</versionNumber>
         <versionLabel>TouchEvent</versionLabel>
         <filename>TO eat or NOT TO eat</filename>
         <description/>
         <name>TO eat or NOT TO eat</name>
         <copyright/>
         <initialWindow>
              <content>TO%20eat%20or%20NOT%20TO%20eat.swf</content>
              <systemChrome>standard</systemChrome>
              <transparent>false</transparent>
              <visible>true</visible>
              <fullScreen>true</fullScreen>
              <aspectRatio>landscape</aspectRatio>
              <renderMode>gpu</renderMode>
              <autoOrients>false</autoOrients>
         </initialWindow>
         <icon>
              <image36x36>icons/icon36x36.png</image36x36>
              <image48x48>icons/icon48x48.png</image48x48>
              <image72x72>icons/icon72x72.png</image72x72>
              <image96x96>icons/icon96x96.png</image96x96>
         </icon>
         <customUpdateUI>false</customUpdateUI>
         <allowBrowserInvocation>false</allowBrowserInvocation>
        <android>
              <manifestAdditions>
                   <![CDATA[<manifest> </manifest>]]>
              </manifestAdditions>
         </android>
         <supportedLanguages>en</supportedLanguages>
    </application>
    What do you think is the best to check?

    i don't see any problem with your manifest.
    try saving your fla and the published files to a new directory and see if the error resolves.

  • Problem Running SSIS Package with a SQL Server Agent

    SQL Server: SQL Server 2012
    VS: Visual Studio 2012
    Hello,
          I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
    Store) instance on my SQL Server and tried to create a job that would run them from there.
          At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
    use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
    The connection manager "TestFile" is an incorrect type.  The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2]     Description:
    Cannot open the datafile "O:\*****\Success.txt"
    I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers  in this test project one for grabbing the source file and one for
    creating the new test file.
    I am not sure what to do.
    Thanks in advance,
    Matt

    I accidently created two posts. The newest one has the details.
    I did not mean to.
    SQL Server: SQL Server 2012
    VS: Visual Studio 2012
    Hello,
          I have been having a problem running SSIS packages by using a SQL Server Agent job. I first created these SSIS packages in a separate IS project in Visual Studio. I imported the packages to the Integration Services (Package
    Store) instance on my SQL Server and tried to create a job that would run them from there.
          At first I read around about needing a proxy account to allow the agent/packages to access the file system since these packages are importing data from a flat file in the SQL database. So I created a temporary admin user to
    use as the user for the agent. I did this by going to Services.msc on the server and linked the account the agent's "logon as". Then arose another issue where I am getting an error about using the incorrect type for my connection managers.
    The connection manager "TestFile" is an incorrect type.  The type required is "OLEDB". The type available to the component is "FLATFILE". Source: Data Flow Task Flat File Destination [2]     Description:
    Cannot open the datafile "O:\*****\Success.txt"
    I am not sure what this even means as I am getting this error even with a test package that doesn't do anything with the database. I have just two flat file connection managers  in this test project one for grabbing the source file and one for
    creating the new test file.
    I am not sure what to do.
    Thanks in advance,
    Matt

  • Unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    Hello chae84swangin,
    I recommend following the steps in the article below when getting an error message trying to install iTunes:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Problem in importing package

    i am new to java and facing problems in importing package which are self made.
    secondly does JDK 1.1.3 can support swing

    Hi,
    I had some problems myself. I will add few lines, maybe it helps:
    OK, let's assume that you work in a directory. In this case, set classpath to this hierarchy as well as to "." ('this' hierarchy - like in DOS).
    Now, assume that you want to use packages MyPack1 and MyPack2. The source files of classes belonging to MyPack1 must:
    - start with command
    package MyPack1;
    - be located all in the directory MyPack1
    (and the same for MyPack2, of course)
    If you want to use MyPack1 within MyPack2, you have to include:
    import MyPack1.*;
    even though MyPack1 is, in fact, located on path: ../MyPack1/*
    (trust the classpath is important here)

  • Problem with oracle packages CREATE PACKAGE some packagename in MaxDB

    Hi All,
    I am having Problems in Creating Packages from MaxDB ..Does MaxDB supports the CREATE PACKAGE <some packagename>concept ? if so please help me how to achieve in creating packages ..
    My sample Oracle package Creation is as follows:
    CREATE OR REPLACE PACKAGE BODY acs
    AS
      FUNCTION add_user (
        user_id     IN users.user_id%TYPE DEFAULT NULL,
        object_type     IN acs_objects.object_type%TYPE DEFAULT 'user',
        creation_date   IN acs_objects.creation_date%TYPE DEFAULT sysdate,
        creation_user   IN acs_objects.creation_user%TYPE DEFAULT NULL,
        creation_ip     IN acs_objects.creation_ip%TYPE DEFAULT NULL,
      ) RETURN users.user_id%TYPE
      IS
        v_user_id       users.user_id%TYPE;
        v_rel_id        membership_rels.rel_id%TYPE;
      BEGIN
        v_user_id := acs_user.new (user_id, object_type, creation_date,
                    creation_user, creation_ip, email, ...
        RETURN v_user_id;
      END;
    END acs;
    show errors Can you Please Explain me how to write the same Package in MaxDB?
    Thanks & Regards,
    Shanmukh
    Edited by: shanmukh babu on May 16, 2008 10:11 AM

    Hi Shanmukh,
    MaxDB does not have packages like you'll find them in Oracle.
    But you can define your own functions and procedures.
    From the code-example you posted, I would say that a procedure will do it ...
    I suggest that you first read the documentation on procedures [CREATE DBPROC Statement|http://maxdb.sap.com/doc/7_6/a7/41ee11605911d3a98800a0c9449261/frameset.htm]
    There you'll also find an example in the Tutorial section.
    Be aware that the procedural capabilities of MaxDB are far less enlarged as in Oracle - but they do exist and work in their realm.
    So porting a full PL/SQL application layer to MaxDB procedures may turn out to be quite difficult and/or not the best choice at all.
    KR Lars

  • Problem with info package :Type variables in dataselection tab

    hi,
    i am facing a problem with the info package where, instead of date 'from and to' values if i am providing a Variable, info package is not loading data and the request status flag is in yellow for a long time though the no of records are less.
    the same is working fine if i am providing values for from to to values in the 'data selection' Tab.
    the field i am giving input is date field,i'm converting date into char format and  giving the input in the same format.info package will not work if i provide  '0' or '7' as the variable values.
    anybody having any ideas, that would be help ful.
    Thanx in advance

    Hi Loknath,
              Have a look at this help documents on the creation of Routine.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/1a64fae07211d2acb80000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/b9/2d9778476b11d4b2b40050da4c74dc/frameset.htm
              Also go through this previous thread on the same issue.
    ABAP Routine
              Hope it helps.  Reward if the answer is helpful.
    Cheers,
    Aravindhan

  • URGENT :   EP 7.0 /ECC 5.0  -   Problem with Business Package : ESS/MSS

    Dear Portal Gurus,
    We are facing a problem with business package for ESS/MSS
    Our system Info is as under :
    Portal:- NW 2004s
    ERP2004: - (R3 ECC 5.0)
    ESS:- BP for Employee Self-Service (mySAP ERP 2004) 60.2
    MSS:- BP for Manager Self-Service (mySAP ERP 2004) 60.1.1
    SAP XSS  à (SAP ESS 100, SAP MSS 100 and SAP PCUI_GP 100 , all upto SP 12)
    After the Business Packages were installed,found that some  ess apps where not deployed...so manually deployed it.
    The JCO connections are OK.
    Do we need to set up the backend Homepage Framework for the same......even for preview.....was thinking not.
    Also, here is the error and exception that we get when we preview any ESS iview.
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
    You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: You dont have the authorization to start service sap.com/pcui_gp~xssutils/XssMenuArea.
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.initBackend(BackendConnections.java:234)
    at com.sap.pcuigp.xssfpm.wd.BackendConnections.connectModel(BackendConnections.java:159)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalBackendConnections.connectModel(InternalBackendConnections.java:183)
    Thanks.
    Message was edited by: Ashutosh Rana

    I got the same problem :/
    not the authorization, but the fields in working time is displaying wrong.. (too big)
    Any solution to this?
    Best Regards
    Kristoffer Engh

  • Problem installing a package from AUR

    I'm not expecting anyone to install this package just to try and answer my question but,,
    I have /home on a 10 gig space ext3 and it's only 2% full.
    When I try and install doom3-phantasm, the package downloads, builds and when it's time to install a window says not enough space to install.
    No way this single game is over 9.5 gigs.
    I'm not even seeing where it's trying to install to.
    Is this a problem with the package build or am I not seeing something?

    I wrote the pkgbuild, so I've got it installed
    $ pacman -Ql doom3-phantasm
    doom3-phantasm /opt/
    doom3-phantasm /opt/doom3/
    doom3-phantasm /opt/doom3/phantasm/
    doom3-phantasm /opt/doom3/phantasm/config.spec
    doom3-phantasm /opt/doom3/phantasm/description.txt
    doom3-phantasm /opt/doom3/phantasm/guis/
    doom3-phantasm /opt/doom3/phantasm/guis/assets/
    doom3-phantasm /opt/doom3/phantasm/guis/assets/splash/
    doom3-phantasm /opt/doom3/phantasm/guis/assets/splash/launch.tga
    doom3-phantasm /opt/doom3/phantasm/pak999.pk4
    doom3-phantasm /opt/doom3/phantasm/phantasma.pk4
    doom3-phantasm /usr/
    doom3-phantasm /usr/bin/
    doom3-phantasm /usr/bin/doom3-phantasm
    doom3-phantasm /usr/share/
    doom3-phantasm /usr/share/applications/
    doom3-phantasm /usr/share/applications/doom3-phantasm.desktop
    doom3-phantasm /usr/share/licenses/
    doom3-phantasm /usr/share/licenses/doom3-phantasm/
    doom3-phantasm /usr/share/licenses/doom3-phantasm/LICENSE
    Alternatively, take a look in the "pkg" directory of where you built it, or just examine the .pkg.tar.gz installation file.
    What does this show:
    df -h
    Last edited by brebs (2008-04-04 01:00:53)

  • I can't install wmpfirefoxplugin at Firefox 4, It show "The installer has encountered an unexpected error installing theis package. This may indicate a problem with this package. The error code is 2755.

    The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2755.

    Although you're getting a different error message, perhaps try the procedure from the following user tip:
    "The administrator has set policies to prevent this installation" error messages when installing iTunes for Windows on Windows Vista and Windows 7 systems

Maybe you are looking for