JBO,EJB: Cannot execute AM from another user.

Hi,
I have standalone DACF application with Application Modules deployed
as session EJB to O8i.
My environment is: JDev 3.2.2 (915) and O9I AS version 1.0.2 for NT.
Deployment was done with jdbc-connect as the Application Owner,
suppose AAA.
Deployment was done from JDeveloper, so loadjava was running with
-grant "PUBLIC".
When I start the application and connect as AAA, everything works fine.
Next, I've created new user BBB, granted him all java-required permissions
like I did for AAA.
From JDev, I can open iiop-connection with BBB-user and see all loaded
AMs - so they are accessible for BBB.
Thinking that all loaded classes are "PUBLIC"ly available, I start the
application and try to connect as BBB-user.
I get JBO-25222 'Unable to create application module'.
Trace on Application Server applied.
Then, I deploy all Business Components (and BC4J Runtime) under jdbc-
connection as BBB.
Now application works ok for BBB-connect as well.
(but each deployment takes about 60 minutes - for 22 AMs - and 5M in
SYSTEM tablespace)
Is it possible to avoid such extra BC-deployment for every new user ?
I thought that loadjava with -grant "PUBLIC" allows to execute loaded
classes for every user, is it so ?
What's wrong in my thinking ?
Thanks,
Arkadi
shared_pool_size=50M
java_pool_size=70M
java_soft_sessionspace_limit=10M
Dump file D:\Oracle\admin\O9IAS\udump\o9iasS000.TRC
Tue Jun 12 11:50:44 2001
ORACLE V8.1.7.0.0 - Production vsnsta=0
vsnsql=e vsnxtr=3
Windows NT Version 4.0 Service Pack 4, CPU type 586
Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
Windows NT Version 4.0 Service Pack 4, CPU type 586
Instance name: o9ias
Redo thread mounted by this instance: 1
Oracle process number: 12
Windows thread id: 148, image: ORACLE.EXE
*** 2001-06-12 11:50:44.349
*** SESSION ID:(12.1553) 2001-06-12 11:50:44.239
org.omg.CORBA.MARSHAL: serialized object is corrupted minor code: 0 completed: No
at com.visigenic.vbroker.orb.CaffeineInputStream.read_estruct(CaffeineInputStream.java)
at a05_bc.common.ejb._A0HomeImplBase._execute(_A0HomeImplBase.java:122)
at a05_bc.common.ejb._A0HomeImplBase._execute(_A0HomeImplBase.java:81)
at com.visigenic.vbroker.orb.SkeletonDelegateImpl.execute(SkeletonDelegateImpl.java)
at oracle.aurora.server.GiopProtocolAdapter.doRequest(GiopProtocolAdapter.java)
at com.visigenic.vbroker.orb.GiopProtocolAdapter.dispatchMessage(GiopProtocolAdapter.java)
at oracle.aurora.server.ThreadSessionDispatcher.run(ThreadSessionDispatcher.java)
at oracle.aurora.server.VCIiopConnection.processRequest(VCIiopConnection.java)
at oracle.aurora.server.GiopServer._service(GiopServer.java)
at oracle.aurora.server.GiopServer.service(GiopServer.java)
at oracle.aurora.net.VirtualCircuit.processRequest(VirtualCircuit.java)
at oracle.aurora.net.Presentation.handleRequest(Presentation.java)
null

Does anybody know about successful implementation of deploying ApplicationModule as EJB by one user and executing this AM by another user (IIOP client) ?
If so, would you please to guide me with deployment details ?
Thanks
null

Similar Messages

  • Can't see dmd file from another user

    I just installed SDDM v3.1 and tried to open a dmd file from another user (I have used it to create my own model, saved it and can open it later). The log says "Open Design: 'filename'", then "Open Design: OK". But I don't see anything in the Logical (Logical Model) window. If I try to Import the same file, I get an error message that says look at the log file for details. Except that the log file has no entries in it. Is there an issue with what version the other file was saved under or some other format? Thanks for any help on this.

    Hi,
    There is now a forum specifically for Data Modeler topics: SQL Developer Data Modeler
    I assume that you are using the latest version (3.1.3.709).
    Provided the model includes some Entities, they should show up in the Logical Model window.
    The log file is normally in file datamodeler.log in folder datamodeler\datamodeler\log (unless some other location has been set in the Environment/Log page of the Preferences (accessed from the Tools menu).
    The log should at least contain a line like
    2012-10-19 11:03:18,457 [main] INFO ApplicationView - Oracle SQL Developer Data Modeler 3.1.3
    for each time you start a Data Modeler session.
    It is possible that the log is in a read-only location, and so Data Modeler cannot write to it.
    In this case I would recommend that you update the Preferences to use a writable location.
    David

  • Run job from another user

    Hi, first of all, sorry for my pour english.
    I'm system in a db, and i need to run a job from another user. I don't have the password. Theres a way to run this job?
    It's a oracle db 10g enterprise.
    Thanks in advice.

    I have the permissions, and I can't change the user password or application may stop. There's a way, but I just can't remember:
    PRIVILEGE
    ANALYZE ANY
    UNLIMITED TABLESPACE
    CREATE TABLE
    ALTER TABLESPACE
    ALTER DATABASE
    GLOBAL QUERY REWRITE
    CREATE MATERIALIZED VIEW
    SELECT ANY TABLE
    8 linhas selecionadas.
    Decorrido: 00:00:00.21
    PRIVILEGE
    FLASHBACK
    DEBUG
    QUERY REWRITE
    ON COMMIT REFRESH
    REFERENCES
    UPDATE
    SELECT
    INSERT
    INDEX
    DELETE
    ALTER
    FLASHBACK
    DEBUG
    QUERY REWRITE
    ON COMMIT REFRESH
    REFERENCES
    UPDATE
    SELECT
    INSERT
    INDEX
    DELETE
    ALTER
    FLASHBACK
    DEBUG
    QUERY REWRITE
    ON COMMIT REFRESH
    REFERENCES
    UPDATE
    SELECT
    INSERT
    INDEX
    DELETE
    ALTER
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    SELECT
    SELECT
    EXECUTE
    EXECUTE
    EXECUTE
    WRITE
    READ
    WRITE
    READ
    WRITE
    READ
    69 linhas selecionadas.
    Decorrido: 00:00:00.48
    GRANTEE GRANTED_ROLE ADM DEF
    SYSTEM MGMT_USER NO YES
    SYSTEM TRIPOA_READ YES YES
    SYSTEM DBA YES YES
    SYSTEM TRIPOA_WRITE YES YES
    SYSTEM AQ_ADMINISTRATOR_ROLE YES YES
    SYSTEM TRIPOA_EXEC YES YES
    SYSTEM PRIV_DML_STUDENTSLOG YES YES
    SYSTEM PRIVILEGE_ALL_TRIPOA YES YES
    8 linhas selecionadas.

  • To get data from another user?

    Hi,
    I am in "scott" user. I need to use the data from another user for example user "sys". i know the database name(i.e.user@database), but i dont know the password of that user.
    I think by using dblink it is possible. If it is correct then Is there any other way for this? If dblink is not correct way then please reply the correct way.
    Thanks & Regards,
    Shyam

    You only need to use a database link if the data is in another database instances.
    If you want to query data in another users schema on the same database you just need to have rights to do so. You either need to have
    select any table system privilage granted to the user (not recommended for security reasons)
    be granted select privalage on the object from the user
    be granted a role that has select privelges on the object you want to query.
    If you log in as system to the database you can grant select on the object to scott
    sql> grant select on <schema>.<table> to scott;
    now logged in as scott you can select from the table
    sql> select * from <schema>.<table>
    where <schema> is the other user and <table> is the name of the table that you want to select from.

  • HT3787 If you accidentally eject that local file (plain white disk image) from another user, can you get it back?

    If you accidentally eject local file from mobile me from another user, how can you get it back? Or is it stored somewhere else????
    My website was saved on there. And I need it!!
    I didn't realize that was the idisk since mobileme has been gone for so long.

    That's what I was hoping.  I use Time Machine to back up the entire computer.  But I'm assuming it was a disk image, and that wouldn't be saved on the backup?  Or where could I find it?

  • Connect to Oracle 9i from another User

    I have Oracle 9i Installed on my machine and works fine.
    But I can not connect to to it from another user on the same machine (That has a domain other than my machine)
    How I can solve this?
    (Both users have Adminstrator rights)

    One post please.
    Limited Info would lead me to respond that you should try the:
    . oraenv script in a bash shell. But there could be many other problems...

  • How do I import an address book from another user on same iMac?

    How do I import an address book from another user on same iMac?

    David...
    Try here >   Share one Address Book among multiple users

  • HT2476 I got my Macbook Pro from another user (different apple id) and now i'm not able to update iPhoto and iMovie. What can i do?

    I got my Macbook Pro from another user (different apple id) and now i'm not able to update iPhoto and iMovie. What can i do?

    You need to contact Apple and transfer that computer, the serial number, into your name and your Apple ID. Then you should be able to update the included Apple Apps from the App store. No need to Re-buy them again.
    Caveat to the above.
    If your Mac did not originally come with Lion Preinstalled, early releases of early 2011 models and older, and originally had Snow Leopard installed the original owner should of supplied the Mac OS X System Discs with the system. If that person didn't you should order them from Apple at a small fee, and don't lose them.

  • Switched ot andriod now cannot recieve text from iphones users what should i do

    i cannot recieve test from iphone users it still tries to send as a imessage from there phone even tho i no longer have iphone

    The problem may be that on the other users phones if your contact is associated with an email address that could have been used for iMessage, that that is what it's trying to send to.
    If that's not the case I'm not exactly sure.  They may also try erasing your contact and putting it back in their phone.  That way it would be a new contact unassociated with an iPhone.
    Other then that, you may cosult some Android forums...

  • Invalid cast from another user

    I was searched before in asktom.oracle.com how to do a varibale in list,i found the code and i used it. The code is
    1)create or replace type myTableType as table
    of varchar2 (255);
    2)create or replace
    function in_list( p_string in varchar2 ) return myTableType
    as
    l_string long default p_string || ',';
    l_data myTableType := myTableType();
    n number;
    begin
    loop
    exit when l_string is null;
    n := instr( l_string, ',' );
    l_data.extend;
    l_data(l_data.count) :=
    ltrim( rtrim( substr( l_string, 1, n-1 ) ) );
    l_string := substr( l_string, n+1 );
    end loop;
    return l_data;
    end;
    i was created the type and function in user called oraprog
    and i used this query (through user oraprog) :
    select * from table_name where column_name in
    ( select *
    from THE ( select cast( in_list(:varibale)
    as mytableType ) from dual ) )
    the query was worked,but when i used this query (from another user) this message appeard:
    ORA-22907: invalid CAST to a type that is not a nested table or VARRAY
    my question is : why this message appearde?
    and what is the solution?
    please help me.

    I am not sure about the error message, but you can change your select to:
    select * from table_name
      where column_name in
       (select *
          from table(cast(in_list(:variable) as mytableType)));

  • Grant to let user just see a procedure from another user!

    Hi,
    Is there a GRANT to let a user see a procedure from another user but not compile it?
    Tks,
    Paulo.

    The problem is that is not just one procedure, but more then 30 and a lot of developments want this privilege.
    Tks,
    Paulo
    ps: can you help me on my other post "ALTER TABLESPACE tbs READ ONLY" --hang                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I have this message when i try to log onto my home pc "The User Profile Service, service failed the logon. User profile cannot be loaded." can I recover my music and photos from iCloud from another user account?

    I get this message when i try to log onto my home pc account "The user Profile Service, service failed the lofon. User profile cannot be loaded" can I recover my data from another/new user account from my iCloud account??

    "Jesse.soto1" wrote in message news:1e164fdf-7370-45c0-9bc7-3b58278121c3...
    Good Afternoon Everyone,
    I am not technologically savvy as a result I'm having trouble understanding previous posts on "The user profile service service failed to logon user profile cannot be loaded." Lingo on domain reset etc, not sure that this pertains to solving my  issue
    ... I cant even get pass the sign in page let alone make changes. I am having this issue with my Dell Studio XPS 1340 with Windows 7 Home Premium. If anyone can provide their two cents I would greatly appreciate.
    Very Respectfully,
    Jesse
    Home Premium cannot logon to a Domain, nor can it be set to try it.
    when you get the logon window, try hitting the three-finger salute )Ctrl+Alt+Del) twice – it may bring up the old-style login window – enter your credentials there.
    Noel Paton | Nil Carborundum Illegitemi |
    CrashFixPC | The Three-toed Sloth

  • JBO-26030 Failed to lockthe record, another user holds the lock.

    I have a web application using Bc4j + Bc4J JSPs .
    the web app , reads/writes to some tables.
    from time to time , I get this error:
    JBO-26030 Failed to lock the record, another user holds the lock.
    no other user is holding the record.
    appreciate your help
    regards
    RT

    Stopping the embedded OC4J should solve the problem.
    If you can reproduce the problem within one session (no browser sessions closed) then the problem is within your application.
    As Ric pointed out, it is always good practice to use read-only view objects unless you need to transact with the database apart from selecting data.
    If you have navigated away from some pages without committing changes, then you could consider committing as part of the page navigation, in order to release any locks and close off the transaction.
    regards,
    Brenden

  • Seeing tags from another user

    I have two accounts on my PC, and I am seeing the sidebar tags that were created from another account, while the default ones in this account (Red, Yellow, Blue etc) have disappeared.
    Is there any way of fixing this bug?
    OS: Mavericks

    I have the permissions, and I can't change the user password or application may stop. There's a way, but I just can't remember:
    PRIVILEGE
    ANALYZE ANY
    UNLIMITED TABLESPACE
    CREATE TABLE
    ALTER TABLESPACE
    ALTER DATABASE
    GLOBAL QUERY REWRITE
    CREATE MATERIALIZED VIEW
    SELECT ANY TABLE
    8 linhas selecionadas.
    Decorrido: 00:00:00.21
    PRIVILEGE
    FLASHBACK
    DEBUG
    QUERY REWRITE
    ON COMMIT REFRESH
    REFERENCES
    UPDATE
    SELECT
    INSERT
    INDEX
    DELETE
    ALTER
    FLASHBACK
    DEBUG
    QUERY REWRITE
    ON COMMIT REFRESH
    REFERENCES
    UPDATE
    SELECT
    INSERT
    INDEX
    DELETE
    ALTER
    FLASHBACK
    DEBUG
    QUERY REWRITE
    ON COMMIT REFRESH
    REFERENCES
    UPDATE
    SELECT
    INSERT
    INDEX
    DELETE
    ALTER
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    SELECT
    SELECT
    EXECUTE
    EXECUTE
    EXECUTE
    WRITE
    READ
    WRITE
    READ
    WRITE
    READ
    69 linhas selecionadas.
    Decorrido: 00:00:00.48
    GRANTEE GRANTED_ROLE ADM DEF
    SYSTEM MGMT_USER NO YES
    SYSTEM TRIPOA_READ YES YES
    SYSTEM DBA YES YES
    SYSTEM TRIPOA_WRITE YES YES
    SYSTEM AQ_ADMINISTRATOR_ROLE YES YES
    SYSTEM TRIPOA_EXEC YES YES
    SYSTEM PRIV_DML_STUDENTSLOG YES YES
    SYSTEM PRIVILEGE_ALL_TRIPOA YES YES
    8 linhas selecionadas.

  • Problems copying files from another user that originated from Time Machine

    I bought my wife a new MacBook Pro to replace a 6 or 7 year old iMac, and in the course of setting it up tonight, we've run into a little snag.
    She didn't need or want the vast majority of the stuff on the old drive. So I reinstalled the applications she wanted, and copied a few of her documents. MOST of what she wanted was the iTunes and iPhoto databases.
    I attempted to copy these over via the time machine drive that used to be plugged into the iMac. I was told there are insufficient permissions to do so. No problem. I used Migration Assistant to copy from the external drive, and selected just the items that we wanted copied -- Music and Photos.
    This worked great, except it copied over a new user account that matched the old one (she's using a different/married name now, so the user accounts didn't match up). In and of itself, I couldn't care less if it creates another user as I figured I could always go in, copy what I need from the restored user folder to the new user, and then delete the user account we don't need.
    Unfortunately, that's where I've hit the final snaffu. All the files I need are in a user account for "Heather A" (restored from the Time Machine drive via Migration Assistant). I need to copy those files (Music, Photos in particular) to the user account "Heather T" (the new account we setup when we first booted up the new MBP). However, in Finder, there's a little red circle with a line through it over the icon for those folders within "Heather A", and attempting to even open them (much less copy anything), generates the error "The folder 'Music' can't be opened because you don't have permission to see its contents."
    How do I get around this and/or change the permissions?
    I should note that both the "Heather A" and "Heather T" accounts are administrator accounts, so I'm at a loss as to why this is happening and how to fix it.
    Any help would be greatly appreciated.
    Dan

    Sssuming there still in the transferred account, delete the files you copied over to the new account. Log into the old account, drop all those files and iTunes into her new accounts /Public/Drop Box/, log into the new account, and drag to where you want them. That should resolve the permissions issues.

Maybe you are looking for

  • ITunes and TotalRecorder issue

    After I upgraded to iTunes 7 (bad idea ...), iTunes came up with an error message : "An unknown error occurred (0x666D743F)" and then terminated. (see http://docs.info.apple.com/article.html?artnum=304318 ). I traced the problem down to the virtual s

  • PrintBrm Error 0x80070490

    We have two identical, virtual server windows 2012r2. Both servers have the role of managing printing. I do export printers using utility PrintBrm. The first time, on the second server, when I do the import, the printer drivers are installed properly

  • Help with Forte: very simple question, please help!

    I recently downloaded the community version of Forte (Sun One) but can't seem to get any new empty class programs to execute properly. I know something is probably not set up right, which is why I really need a little help to get started. Regardless

  • Photoshop, Illustrator, and WSD printing

    My work network is using WSD printing instead of TCP/IP printing. Illustrator and Photoshop are slow to open and save files. I read that this could be because they are searching for a network printer, which would be slower with WSD printing, no?

  • How to simulate version numbers like (version: 3.5.2.11.2)  - Jdev 11.1.2

    Hello: I have to insert and update version numbers like (version: 3.5.2.11.2) and keep them in proper order. If version is stored as a string, it will not sort correctly. Is there anything like a version number data domain that sorts correctly and al