Accessing WIRELESS schema packages

I'm new to the Oracle platform and have a seemingly simple question.
I've just walked throught the tutorial "Building a Notification applications
using the Pass Thru Data Feeder w/
database triggers" (http://otn.oracle.com/tech/wireless/tutorials/10g/databasetriggersnotifications.pdf), which highlights using the PTG_* packages in the WIRELESS schema. I'd like to do a hello world app using these packages on my data.
The problem I run into is that my data tables reside in my middle tier instance, and the WIRELESS schema is installed in my infrastructure database.
Can I access the PTG_* packages from the middle tier database? Is my installation correct? Or do I need to move my tables to the infrastructure database?
Thanks Tim....

Yes it is. Also, another oddity. If I include: -
import Geometry.Point;
at the top of the source file for the Rectangle, it
also works fine. Yet it refuses to compile if I use
"import Geometry.*;
I'm confused. :) Shouldn't the ".*" incluide *all*
package classes within the Geometry package?Most likely, the javac compiler is getting confused because it is finding the SOURCE CODE file Point.java in a directory that is in the Classpath, but not in a Geometry directory relative to the Classpath. When you use "import Geometry.*;" the compiler doesn't know that Point is really Geometry.Point. When the code uses the Point class, the compiler tries to automatically compile the Point.java source code to produce the Point class but finds that the class in Point.java is really Geometry.Point. When you use "import Geometry.Point;" the compiler looks for Point.class or Point.java in a Geometry directory relative to the Classpath.

Similar Messages

  • SQL Plus session - "schema.package" has been invalidated on making any chng

    Hi
    I am in the process of testing a stored procedure. Whenever I make changes to the procedure I am executing it from the SQL Plus session. But whenever I make a change to the procedure - i have to close that particular SQL Plus session and open another one. I get the message:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-04061: existing state of has been invalidated
    ORA-04061: existing state of package body
    "schema.package" has been invalidated
    ORA-04065: not executed, altered or dropped package body
    Is there a way that I do not have to open a new SQL Plus session everytime I make change to the package?

    It does not help :(. I get this problem in a SQL+ session only when I make a change in a JDev session. I have to log off the SQL+ session and log back in and it is OK again without re-compling anything. I don't have a problem with two SQL+ session. Isn't that strange?
    ben

  • SAP HANA Security - Best Practice for Access to Schemas??

    Hi,
    Currently we don'y have a defined Security model in HANA Studio.Neither there is no defined duties of a BASIS / Security / Developers.
    I want to understand what best practices are followed at other customers for defining security for Schema.
    1. Who should be creating the schema for Developers / Modelers?
    2. Should we use our own ID's to create/maintain these Schema or a Generic ID?
    Right now, when developers log in to Studio, by default they are assigned to their own schema (User ID) and they create objects under that.
    We(Security team), face issues when other developers need access to schema of another user as they want to develop objects under schema of different user
    Also, who should be owning the "SYSTEM" user ID and what steps needs to be done whenever a new schema is created.
    Thanks for the help in advance.

    Hi,
    I created a project (JDeveloper) with local xsd-files and tried to delete and recreate them in the structure pane with references to a version on the application server. After reopening the project I deployed it successfully to the bpel server. The process is working fine, but in the structure pane there is no information about any of the xsds anymore and the payload in the variables there is an exception (problem building schema).
    How does bpel know where to look for the xsd-files and how does the mapping still work?
    This cannot be the way to do it correctly. Do I have a chance to rework an existing project or do I have to rebuild it from scratch in order to have all the references right?
    Thanks for any clue.
    Bette

  • GRANT EXECUTE ON SCHEMA.PACKAGE.PROCEDURE TO USER

    Hi,
    GRANT EXECUTE ON SCHEMA.PACKAGE.PROCEDURE TO USER
    returns:
    ORA-00905, do you know why? Can I grant privileges on procedure inside package?
    thanks

    As per my knowledge of oracle, we cannot grant privileges on procedure inside a package.
    <br><br>
    Raj<br>
    <b>www.oraclebrains.com<a>
    <br><font color="#FF0000">POWERED by the people, to the people and for the people WHERE ORACLE IS PASSION.</font></b>
    <br>
    Sorry Leonardo Horikian & Kamal Kishore, I was late and didn't know that you guys have already posted the answer.
    Message was edited by:
    rajs

  • Access other schema's table without specify the schema name

    Hi, need ur help again,
    I would like to access other schema's table without specify the schema name. for example,
    select * from hr.jobs;
    What priviledges i need if i want to select the data in this way:
    select * from jobs;
    Thanks!

    Public synonyms have their place, but are not generally a good idea as they will cause conflicts with other schemas and applications. Another think that you can do is issue the
    ALTER SESSION set CURRENT_SCHEMA = schema;
    The CURRENT_SCHEMA (8i and above) parameter changes the current schema of the session to the specified schema. Subsequent nqualified references to schema objects during the session will resolve to objects in the specified schema. The setting persists for the duration of the session or until you issue another ALTER SESSION SET CURRENT_SCHEMA statement. CURRENT_SCHEMA is a session parameter only, not an initialization parameter.
    This setting offers a convenient way to perform operations on objects in a schema other than that of the current user without having to qualify the objects with the schema name. This setting changes the current schema, but it does not change the session user or the current user, nor does it give you any additional system or object privileges for the session.

  • Problems importing/accessing javafx.* packages in JS FXML script

    I cannot figure out how to import access javafx.* packages in FXML JS-scripts. Currently trying the following, example code provided below:
    FXML
    <fx:script source="myscript.js"/>
    <HBox fx:id="myBox" onDragDetected="featureDragDetected(event)" />
    JS-script (myscript.js)
    function featureDragDetected(event) {
      event.getSource().startDragAndDrop(javafx.scene.input.TransferMode.ANY);
    I get the following error message:
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "javafx" is not defined. (<Unknown source>#6) in <Unknown source> at line number 6
      at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source)
      at javax.script.AbstractScriptEngine.eval(Unknown Source)
      at javafx.fxml.FXMLLoader$ScriptElement.processStartElement(FXMLLoader.java:1323)
    What am I doing wrong?

    It works on my system.
    MyClass.java
    package com.foo.java;
    public class MyClass {
        @Override
        public String toString() {
            return "My Class";
    MyFXScript.fx
    package com.foo.javafx;
    import com.foo.java.*;
    var myClass = new MyClass();
    println(myClass);standard-run:
    My Class
    browser-run:
    jws-run:
    midp-run:
    run:
    BUILD SUCCESSFUL (total time: 3 seconds)

  • Can Oracle reports access different schemas?

    I have a query that accesses 2 schemas: It gives me an error ORA-00904 when I try to run the report.
    Any ideas?

    Yes it helps. I had 3 queries... and the first was accessing the other schema but not the second or third query when they should have. However, when I ran the report, it kept giving me an error as if the first one was the problem.
    Misleading error diagnostics made doubt it.

  • Cancelling the privaleges of the user accessing the schema objects ???

    Hi,
    I have given privilages to the user to access my schema objects(tables). Can i cancell the privilages of the user of accessing my schema objects(table) which i granted them ???
    Thank you !!!

    Hi,
    If you gave a privilege or role to a user using GRANT, you can take it away using REVOKE.
    For example:
    REVOKE  SELECT ON my_table FROM user_name;un-does the privilege given by
    GRANT  SELECT ON my_table TO user_name;

  • Access other schema object from connection

    Hi;
    from the dbconnection, how can I access other schema object?
    Thanks

    Hi,
    I don't know if I understand correctly but if you mean the scenario you connect to the database as SCOTT and you want to map table EMPLOYEES from HR schema, you can do it within wizard and in read only view object you
    use schema name as prefix like select * from HR.EMPLOYEES. If you mean something else please describe it more.
    regards,
    Branislav

  • External hard drive being accessed wirelessly, any way to auto re-mount?

    Hello, I have an external hard drive connected via firewire to an iMac running Panther 10.3.9. It is being accessed wirelessly by a MacBook running 10.4.10 for auto backups. Everything works great, except when either computer is shut down, or when the MacBook is taken out of our home network, I have to remember to manualy re-mount (wirelessly) the firewire drive on the MacBook or else the backup program will not find the destination drive. I have the computers starting/waking automatically 15 minutes prior to the scheduled backup.
    Is there a way to have the external drive automatically re-mount over the network to the MacBook? Can Automator help with this?

    Try this.
    Connect to the remote volume you want to auto-mount and select "Remember password in keychain".
    Once the volume appears on you desktop, open System Preferences and go to the Accounts pane. Select the "Login Items" tab on the right. Drag the icon from the desktop of the remote volume into the Login Items window. You don't have to check "Hide".
    Close System Preferences. When you startup the computer the remote volume should appear on the desktop.
    Hope this helps.

  • I would like to have a storage solution that is accessed wirelessly, can be accessed remotely and is viewable in the finder side bar (mavericks)

    I would like to have a storage solution that is accessed wirelessly, can be accessed remotely and is viewable in the finder side bar (mavericks)
    Is this possible? if so, how? Thanks in advance
    Ini

    You have to pay for online storage, someone has to pay to keep the lights on. As far a getting it on the Finder sidebar, you did something wrong. That is where mine resides, see below.

  • SSIS accessing a dts package properties with C#

    Hello there, 
    Please, Could anyone help me and let know how i can access the "DTS package" Proeperties eg. PackageName?
    And which namespace does DTS belong to: (as in "using Microsoft.SqlServer. ....")
    In C# please!

    Hi,
    This is a sample code for reading the package transformation info
    static void Main(string[] args)
    String location = @"DTS.Old\SomeDTSPackage.dts";
    DTS.Package pkg = new DTS.Package();
    DTS.Task task;
    DTS.DataPumpTask2 dataPumpTask;
    DTS.Transformation transform;
    DTS.Column source;
    DTS.Column destination;
    pkg.LoadFromStorageFile(location, null, null, null, null, null);
    Console.WriteLine("{0}", pkg.Name);
    Console.WriteLine(" TASKS");
    for (Int32 tsk = 1; tsk <= pkg.Tasks.Count; tsk++)
    if (pkg.Tasks.Item(tsk).CustomTaskID == "DTSDataPumpTask")
    dataPumpTask = (DTS.DataPumpTask2)pkg.Tasks.Item(tsk).CustomTask;
    Console.WriteLine(" TRANSFORMS");
    for (Int32 trans = 1; trans <= dataPumpTask.Transformations.Count; trans++)
    transform = dataPumpTask.Transformations.Item(trans);
    for (Int32 col = 1; col <= transform.SourceColumns.Count && col <= transform.DestinationColumns.Count; col++)
    source = transform.SourceColumns.Item(col);
    destination = transform.DestinationColumns.Item(col);
    Console.WriteLine(" {0} -> {1}", source.Name.PadRight(15, ' '), destination.Name);
    Console.ReadKey(true);
    Joe

  • Access Mulitple schema

    Hello All
    My application used two distinct schema for data ... basically i am oracle guy....
    i am faceing trouble " table not exist " dureing the application ....
    So can any one suggest best posible way to resolve this probs when we use mulitple schema in applications...
    All query used schema.table name...
    Ash

    it's probably a security issue.
    If you log in as user a which has access to schema a, then they may not have priviledges to select from tables in schema b.
    Two options:
    1. Have two separate connections, one for schema a, and one for schema b. Assuming that you don't have any queries that perform joins between them.
    2. Grant "select" priviledges on schema b to user a, so that you can log in as user a, and access both schemas.
    regards,
    Owen

  • How to find out all users accessing a schema

    Hi,
    How can I find out all the users which has accessed a schema for the last 30 days? Auditing is not enabled in the database.
    DB:10.2.0.4
    OS:AIX

    user13364377 wrote:
    Thanks Antonio.
    Is it possible to find all the users which have access to the schema?Do you mean OS users access .. ?
    Because from v$session we can find users sessions information, if thats what you mean.

  • I just registered for cisco as a member will that allow me to access wireless router as a guest

    I just registered as a cisco member will that allow me to access wireless router as a guest on the internet

    What is the model number of the Router? Let me know the name of the ISP (Internet Service Provider)? In order to work with the Guest network you have to install the router first. For the setup process, you need to perform the following:
    i. Verify that there is an active Internet connection between the computer and modem
    ii. Setting up the router using Cisco Connect
    Here is the link to setup the router: http://www6.nohold.net/Cisco2/ukp.aspx?pid=93&login=1&vw=1&app=search&articleid=21463&userrole=Links...
    Second, here is the link for setting up xbox: http://www6.nohold.net/Cisco2/ukp.aspx?pid=93&login=1&vw=1&app=search&articleid=23787&userrole=Links...

Maybe you are looking for

  • Microsoft Windows 8 Mail App - Deleted Account still used as "From" Account

    Hi There, My wife has a Surface RT that has been upgraded to 8.1. She has been happily using the mail app (Imap account), and indeed prefers it to the Surface version of Outlook. The other evening I added my own Imap account to the mail app, but then

  • N82 Maps not loading after Memory format! HELP!

    Right My memory card started to cause the phone to hang, so formated it from phone. Reinstalled maps via maploader, but they dont load. Then reinstalled firmware, same ver, reinstalled maps, same. Factory reset phone, formated memory card. Ran maps o

  • I did the 4.3 upgrade and my skype dosent work!

    hi all !! today I did the upgrade and now I want to open skype, its opened for one second and than it cloeses !! I cant use it, any ideas how to fix it? I have iphone 4. and one question to Apple.. Is that how you do QA ?! any time I upgrade the IOS

  • Regenerating test packages in Solution Manager 4.0 after blueprint changes.

    Hello, This is the scenario. A test plan and test package (1 process = 1 test package) have been created. The blueprint has changed and a new step has been added to the process (the process that has already been assigned into a test package. How do y

  • Standard process for creating a new version of an existing report

    Hi All, We are using Siebel 8.1 with BI Publisher. Does any one know the standard process for creating a new version of an existing report - ie if 'BIP Report XXX' is created and works correctly from the siebel view but then an enhancement is develop