Do app-clients always need a user specified.

I have a app client that I start manually. It receives a message (MQSeries/non JMS), calls some ejb's, processes the transaction and is done.
I also have a web tier that provides a gui front end to the same process mentioned above.
Here is the situation: If someone uses the web tier first after OC4J starts up, everything works fine.
If after OC4J starts up, a transaction hits the app-client first (a MQSeries message/non JMS) and uses the ebj, when a user attempts to use the web tier (and same ejb's), I get a "guest is not allowed to call this EJB method, check your security settings (method-permission in ejb-jar.xml and security-role."
Is there something I am missing? Should I be at least specifying a user for my client in my application.xml even though I am not setting auto-start="true"? We never had a problem like above until I started using app-clients, so I tend to belive that we had it all set up correctly for the web-tier. I could be wrong though.
There is another thread sort of related to this. How Are Application Clients Run By OC4J? in orion-application.xml)" error.

When looking up the EJB are you have to specify the
java.naming.security.principal=SCOTT     
java.naming.security.credentials=TIGER
when looking up the EJB. This user specified while looking should have permission to execute the ejb method.
anyway what version are you using ?
regards
Debu

Similar Messages

  • Server always needs to be specified on Sign-on to SAP B1

    Two particular users have this issue. Every time they click on SAP B1 icon and enter user and password, message is issued stating that user or password is invalid. Eventually, the Choose Company window is display without any company databases listed. User then selects the server and can then select a databse and login using same user and password originally entered.
    All other users when they login go to the last comapany database last accessed automatically.
    SAP B1 is 2007A PL 15 and MS SQL 2005.
    Can't see this scenarion listed anywhere in the Forum or in SAP B1 Notes.
    Has anyone experienced the same issue? Is there a workaround?
    Thanks.

    Found this entry under the SAP B1 Login issues and will ask cstomer IT to follow-up.
    Influence 6: User privileges are not setup correctly
    Reason: Insufficient privileges in Windows
    After install/upgrade of SAP Business One or certain changes in the domain were made one or more users need to type always the SQL credentials 'sa' user and password.
    What to verify/check
    Check with the system administrator if the user has at least 'power user' privileges
    Check in the folder '%USERPROFILE%\Local Settings\Application Data\SAP\SAP Business One' that you can add a file/create a new folder or change a text file.
    Resolution
    Check SAP Note
    1156461
    Ask the System Administrator to raise the privilege (or copy from another user that does not face the issue) for this user to the profile folders:
    '%USERPROFILE%\Local Settings\Application Data\SAP\SAP Business One'
    Copy the profile files from another user's machine to the affected desktop and test it again.

  • Needed a User Exit to cross-check the mtrll master at the time of making PR

    Hello Experts,
                          As per the requirement from my client I need a USER Exit in PR where before saving the PR the system should check the Material Master of every line item for the Material Type and MRP controller fields.
    for the particular combination of material Type and MRP controller, the system should propose an account assignment which could be achieved but User Exit is required.
    Please help.
    Thanks in advance
    and Regards
    Yawar Khan

    Hi Ravi,
                Thanks for the reply, I will check back.
    Regards,
    yawar Khan

  • Unable to boot normally - Always need to boot with Single User Mode

    Hi Community,
    Since last few days, I am unable to boot my Macbook Pro normally, running latest version of OS X Yosemite. When I boot, it goes to grey screen with Apple logo and progress bar, once the progress completes to 100% (after 5-10 minutes which is very longer than usual), it asks me to 'Select  language' which seems like fresh installation of OS X. In that case, when I click next and it doesn't detect my SSD (blank list of select installation disk/drive).
    After reading some threads, I found work-around and always need to boot into Single user mode (by pressing Command+S during power on) and then need to run following commands...
    /sbin/fsck -fy
    /sbin/mount -uw /
    "device is write protected" numerous times
    reboot
    and then only it loads OS X and displays login screen. This happens all the times and I need to follow above steps always to get login screen.
    How can I fix this?

    Please help me out here. I tried booting it off a USB flash drive with ATV flash but that gave me some errors and prompted me to login with username [email protected] with password frontrow
    But I am not sure how to get to login using a suitable input. I tried to telnet it using my PC over network but I dont think it has initialized anything (like wifi or network) at the prompt. Would it take USB keyboard input? All I can do is remove the power and restart it with the usb flash out and get into then get into the recovery loop. I am not sure replacing the hard-drive would help. Any help would be greatly appreciated.
    Thanks
    Sinu

  • There was a problem starting c:\users\tom\appData\local\Apps\Apple Computer\xvgtv.dll The specified module could not be found

    I get error on Windows startup. I have iCloud installed as well as other apple software.
    error:
    there was a problem starting c:\users\tom\appData\local\Apps\Apple Computer\xvgtv.dll The specified module could not be found.

    I get error on Windows startup. I have iCloud installed as well as other apple software.
    error:
    there was a problem starting c:\users\tom\appData\local\Apps\Apple Computer\xvgtv.dll The specified module could not be found.

  • My husband gave me his iPod touch, even after resetting all settings, and even though I have a user name and password whenever I need to update apps it shows his previous user name,  and is asking for his password.  How do I fix that?

    My husband gave me his iPod touch, even after resetting all settings, and even though I have a user name and password, whenever I need to update apps it shows his previous user name,  and is asking for his password.  How do I fix that?

    dom59 wrote:
    Ok, when I go into my Apple ID account, everything looks right.  It does show my user name.  It's only on the iPod that it shows my husband's previous user name, and it asks for his password.  Everything in iTunes and my account looks right.  The issue only seems to be with the actual device, iPod Touch 4th gen.
    There is more than one way to access the Apps Store and the iTunes store.  One is via iTunes on your computer, and the other is via the apps on your iPod.
    Just because you are logged in on your computer does not mean you are logged in on your iPod.
    The reason your husband's user name comes up is because he was the last one to log on.  You can change that by going to Settings>Store.  Tap the Apple ID, Tap Sign Out, Tap Sign In, Tap Use Existing Appel ID, enter your e-mail address and Apple ID password, and tap OK.

  • App Store always shows Motion needs updating...

    I've had this problem for months now.  The App Store always shows Motion needs updating.  But I have updated Motion (I check to make sure I have the current version). 
    I've ignored this problem up until now because Motion works fine and I do have the current version.  I figured that sooner or later Apple would issue some fix, or that it would disappear on a future Motion or OS update.  Well, I just updated to Mountain Lion yesterday, and I've updated Motion at least a couple of times, and the problem continues.
    And now it's getting stuck in a loop showing I need to update to 5.0.7, even though I've updated.  But now when I look in the update section of the App Store, it shows that it is possible to update (even though I have the current version).  If I click "Update" again, it starts downloading and then starts endlessly installing it, but never finishes.
    Any idea what's going on here?  Any suggestions?
    Thanks!

    I did speak with Apple support last night.  I uninstalled & reinstalled, and now I have the current version and it is working fine. 
    However, I'm still having the same problem I've been having for months:  The App Store shows that I need to update Motion, even though I already have the current version.  I don't know what is causing that, especially after I uninstalled and reinstalled.

  • I have an apple developer account to make a new app, but I need to give access to the designer without sharing my payment info or allowing him to have access to my icloud, apps or itunes account. There is some way to have another password?

    I have an apple developer account to make a new app, but I need to give access to the designer without sharing my payment info or allowing him to have access to my icloud, apps or itunes account. There is some way to have another password?

    The designer is usually someone who just handles the user interface portion of the code. The developer would handle core functionality. I assumed you were the developer and the designer was the designer. You are the client and your "designer" is the developer.
    Ideally, you should create a business account so that you can add someone to your team. That is the way it is supposed to work. Otherwise, you will have to ask for the final source code so that you can build and submit the app yourself. You should always have the source code regardless. You should always perform the submission under your own account too. Otherwise, it is the developer's app, not yours.
    Sharing accounts is against the Apple Developer agreement anyway. The App Store Gold Rush is over. Now it is mostly zombie apps and competing fraudsters. You don't want to give someone access to your iTunes account. You really don't want to give someone access to your bank account either.
    The best solution would be to convert your account to a business account. You may be able to have the developer submit the app and then transfer it to you.

  • App Store always hangs

    Hi
    My app store always hangs if i try to install new software. I am able to go directly to the updates section and install from there yet if i try to search for apps to insall or follow go directly to a apps page to install it always shows the beachball.
    I would like to install an application but am stuck as this is the only way it seems.
    Anyone had a similar problem ?

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, or by a peripheral device.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • OAS v10.1.2.3 REP-51018: Need database user authentication

    Hi all,
    I have an Forms/Reports 10g application, and when I call a report, I always get the "REP-51018: Need database user authentication" when using IE8.   It works fine with version 19, 20 and 21 of Firefox.   As IE8 is the corporate browser, calling reports need to work within IE8.
    First, some pertinent information:
    Server:
    - Windows Server 2003 Standard Edition with SP2
    - OAS v10.1.2.0.2 upgraded to v10.1.2.3
               => Of note, reports did work with JInitiator on v10.1.2.0.2, but for several reasons, we need to move to v10.1.2.3 and use JPI.
    - Server is a VM created by VMWare.
    Client:
    - Windows XP Pro v2002 with SP3 (moving to Windows 7 soon)
    - IE8
    - Firefox (for developers)
    I have applied several ideas from several threads within this forums and documentation from other sites (Oracle being one of them), but to no avail. Here is a list of a couple of them that were pertinent to my problem:
    need java been frmrwinteg.jar (especially the sections from Francois Degrelle and Steve Cosner)
    10.1.2.3 problem with frmrwinteg.jar
    Upgrade to patchset 3 10.1.2.3 from 10.1.2.0.2 causes Java errors (I have used this thread to fix the Java issues that I had initially)
    https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?returnToSrId=&_afrLoop=483184561714826&srnum=&type=DO… (Doc Id. 564522.1) (I have tried Option 2 only as the FrmReportsInteg.java is not provided.)
    https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=483273286061582&_afrWindowMode=0&_adf.ctrl-s…
    http://www.oracle.com/technetwork/developer-tools/forms/documentation/frmwebshowdoc-rep-10gr2-1-128932.pdf
    It is getting very frustrating!  I have performed this same upgrade, on different platforms, between 10 and 12 times with no issues what-so-ever!  The strange part is that, for this upgrade (that I'm having difficulties with), I needed to sign the frmwebutil.jar and frmrwinteg.jar files; I never needed to do this for the other upgrades, except for the jacob.jar file, of course!
    From the formsweb.cfg file, here is the configuration area that I'm using:
    [VailWUStd]
    width=950
    height=650
    IE=native
    HTMLbeforeForm=<SCRIPT>window.onbeforeunload = unloadMess; function unloadMess() {mess = "Clicking 'ok' will terminate all Vailtech applications!"; return mess;}</SCRIPT>
    baseHTMLJInitiator=webutiljpi.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    # Used for Sun JRE/JPI Dynamic CLSID
    jpi_classid=clsid:CAFEEFAC-0016-0000-0041-ABCDEFFEDCBA
    jpi_codebase=/forms/java/jre-6u41-windows-i586.exe
    jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_41
    jpi_download_page=/forms/java/jre-6u41-windows-i586.exe
    form=E:\tax\vailtechMenu.fmx
    userid=
    archive=frmall.jar,VailtechAppIcons.jar,frmrwinteg.jar
    lookAndFeel=oracle
    colorScheme=Titanium
    imageBase=codebase
    networkRetries=5
    # Webutil:
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    # WebUtilLogging=console
    # WebUtilLoggingDetail=detailed
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    And from the Java Console, here is the section related to the FRMREPORTSINTEG bean:
    FrmReportsInteg1: Debugging true
    FrmReportsInteg1: Adding new userid string "VAILTECH/*********@taxg2"                                                                -- I did hide the password here.
    FrmReportsInteg1: Default cookie domain:
    FrmReportsInteg1: set RW_AUTH10g
    FrmReportsInteg1: Arguments: encryptionKey=reports9i; Reports version=RW10g
    FrmReportsInteg1: Cookie value for RW10g is: VAILTECH/M0NKEYS@taxg2;1372248145539:30
    FrmReportsInteg1: Encoded cookie  value is: d1z0Y+lWJGiRKapq55Lu6X39JxTgt66lxhymsfggYosY5IfpZurc
    FrmReportsInteg1: Complete cookie string is: userid=d1z0Y+lWJGiRKapq55Lu6X39JxTgt66lxhymsfggYosY5IfpZurc
    FrmReportsInteg1: Added domain " " to cookie
    FrmReportsInteg1: Generated Cookie String: userid=d1z0Y+lWJGiRKapq55Lu6X39JxTgt66lxhymsfggYosY5IfpZurc; domain= ; path=/
    FrmReportsInteg1: IE Cookie Set
    FrmReportsInteg1: Setting domain to city.a.ottawa.ca
    FrmReportsInteg1: Domain provided is not empty and is evaluated right now
    FrmReportsInteg1: First period found at 4
    FrmReportsInteg1: Second period found at 6
    FrmReportsInteg1: Cookie domain now is: city.a.ottawa.ca
    As you can see, everything looks fine!  (well, I think it is!!)   I'm just out of ideas!   I even re-installed OAS v10.1.2.0.2 and applied the v10.1.2.3 upgrade, TWICE, but again, to no avail!!
    Any help would be greatly appreciated!
    Thx!
    Cheers,
    Steph

    Hi DB,
    I am refering to the thread you had in Re: Help pages problem for Arabic on R12.1.1 could you tell if you fixed this error
    Regards
    Taher

  • HT5622 Do you always need a credit card to verify your account

    Do you always need a credit card to verify your account

    You can set your account to have no bank card.
    This user, mountaingoatgirl, explains how to get a None option in your account details in the iTunes app on a Mac or PC. -
    https://discussions.apple.com/message/24907941

  • Calling EJB from app client

    Hello, everybody,
    I'm very new at EJB and I'm trying to learn it.
    I have created Enterprise Application using Netbeans IDE, I have EJB and APP client. What I want is to connect to my MySql database and get some info from table.
    For e.g. Login and Password.
    How can I call EJB from my client app which connects to my database and gets information I need?

    What server you are using?
    if you use jboss AS ,here is a simple Main class how to connect EJB and access ejb methods:
    package com.david.ejb.client;
    import java.util.Properties;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import javax.rmi.PortableRemoteObject;
    import com.david.ejb.domain.Person;
    import com.david.ejb.domain.PersonRemote;
    public class Main {
         public static void main(String[] args) {
              try {
                   Context ctx = getInitialContext();
                   Object obj = ctx.lookup("PersonSessionRemote/remote");
                PersonRemote pr=(PersonRemote)PortableRemoteObject.narrow(obj, PersonRemote.class);
                Person p=new Person();
                p.setName("david");
                pr.addPerson(p);
                pr.findPerson(1);
                   // System.out.print(br.find(pk).getAuthor_name());
              } catch (Exception ex) {
                   ex.printStackTrace();
         private static Context getInitialContext() throws NamingException {
              Properties p = new Properties();
              p.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.NamingContextFactory");
              p.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
              p.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099");
              return new InitialContext(p);
    }Person is ant @Entity and PersonRemote is remote interfaces, to connect database you have to make datasource file at jboss-4.2.3.GA\server\default\deploy
    simle mysql-ds.xml looks like this:
    datasources>
       <local-tx-datasource>
          <jndi-name>some name</jndi-name>
          <connection-url>jdbc:mysql://localhost:3306/dbname</connection-url>
          <driver-class>com.mysql.jdbc.Driver</driver-class>
          <user-name>root</user-name>
          <password>root password</password>
          <min-pool-size>5</min-pool-size>
          <max-pool-size>100</max-pool-size>
          <idle-timeout-minutes>15</idle-timeout-minutes>
          <exception-sorter-class-name>com.mysql.jdbc.integration.jboss.ExtendedMysqlExceptionSorter</exception-sorter-class-name>
          <valid-connection-checker-class-name>com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker</valid-connection-checker-class-name>
       </local-tx-datasource>
    </datasources>also at resources/META-INF directory you must have persistence.xml like this
    <persistence>
         <persistence-unit name="SimpleEjb">
              <jta-data-source>java:/some name</jta-data-source>
              <properties>
                   <property name="hibernate.hbm2ddl.auto" value="update" />
                   <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
                   <property name="hibernate.show_sql" value="true"/>
                   <property name="hibernate.format_sql" value="true"/>
              </properties>
         </persistence-unit>
    </persistence>

  • What is the absolute client permission needed to receive Unix commands?

    The ARD error "This task is not authorized on (computerName)" is forcing me to allow almost all the privileges in the Remote Management section of client computer's Sharing System Preferences. I've already had to add:
    "open and quit applications"
    "change settings"
    "delete and replace items"
    "restart and shutdown" (see this Apple document's suggestion for Unix commands)
    "copy items"
    It makes no sense to my why 'Generate reports' must also be added, but clicking it off makes the error return. I'm just triggering a Unix command that goes something like "echo 1" and runs as root on the one test computer (and potentially dozens, so it wouldn't be pretty changing settings in that many) If it helps, the ARD host is 10.6.7 with ARD 3.4 (installed via the App Store a couple weeks ago) and the clients are 10.4.11 and 10.5.8.
    I'm preparing documentation for ARD and some clients installing our software will not warm to the idea of widening up the permissions footprint. Potentially dozens of computers will need to be retweaked, even if they wouldn't have to leave their seat.
    We also will need to deploy a pkg installer, so some of those may need to remain checked, but ...
    What is the absolute client permission needed to receive Unix commands?
    Thanks

    Have you tried sending it as User: Root
    To my knowledge with that setting you do not need any client permissions as a unix command used as Root overides any permission set. If this is something you need to do often I do know for a fact you can make the report task up use send as Root and tell it to save as template. After this you will be able use the templte to make things a bet quicker. I believe in oder to do this you must enable root user open Directory Utility in order to do this. Keep in mind root has full permissions and any command you enter with unix will be executed as such. This is a word around in the way that the normal client users do not need to have permissions enabled, also having root available at times is handy in stick situations.

  • Is there an app or way for multiple users to access contact info?

    We are a small business that maintains a contact list of leads and clients in a MS word file. We can access those word files via our iphones, but only view them. Is there an app or way to have one person in the office maintain a database of leads and clients that a few users can access via iphone and simply touch the phone number to call them or touch the address for directions/map?
    We know we could each input the info in each of our phones independently, but that is dumb - given someone in the office maintains such info as part of their job and updates it weekly/monthly whatever. Do you see what I mean? I cannot believe there is nothing out there for this.
    Basically we are looking for a continuously updatable, multiple user, remotely accessible, interactive contact database with name, address, and phone number. I think that is what I would call it.

    I can access phone numbers directly from our client list in word.
    And that solves your quest looking for "a continuously updatable, multiple user, remotely accessible, interactive contact database with name, address, and phone number"?
    Wow... I never know Microsoft Word could do so much!

  • Multi-language support for user-specified text strings used in the forms

    multi-language support for user-specified text strings used in the forms
    Instead of creating multiple forms, 1 in each different language, for the same service, is there any workaround?

    Hoan - is your question what are the considerations when creating multiligual catalogs? If so, I can tell you that at other clients I have seen them use a single catalog for one or two languages. For the two langugages, such as Spanish/English, you can create a single catalog with both of them. Once you get to more than two languages, the catalog would get unweildy and is therefore not suggested.

Maybe you are looking for

  • DYNPRO_SEND_IN_BACKGROUND when submitting a background job, when creating a

    Hi. We create sales orders via EDI.   When certain sales orders are created, we execute user exists on the Sales Order save.  During the User Exit, we submit/create (job_open_adk function, the submit command, and the job_close_adk function) a backgro

  • Archive table -Procedure

    Hello Experts, I have developed a store procedure to archive of old data for a huge table. Before deleting a row from the table, inserts the same row in another table. I need to schedule the same through dbms_job for daily execution. CREATE OR REPLAC

  • Moving Files in the cloud.

    How do I move a file already uploaded into an existing folder in the creative cloud? I dont see the icons shown in the instructional video.

  • Trouble with new iPod Shuffle

    I just replaced my old iPod shuffle with a brand new iPod Shuffle.   When I try to sync with iTunes it says I need to upgrade to iTunes 10.0 or later but when I try to upgrade iTunes it tells me I need Mac OS X 10.5 or later. I just want my iPod to w

  • BODS SOAP Web Service Connection error RUN-248005

    Hi Experts, I need help connecting SOAP web service to BODS. We have configured the initial set up by importing the functions from the WSDL that was provided to us. The WSDL provided us with a request and reply schema as follows: We then created the