How can JAZN admin tool manage application realms?

I am using the JAZN XML provider for the OC4J server realm and for another realm packaged in an application EAR file, i.e.:
server realm: j2ee/home/config/jazn-data.xml
application realm: j2ee/home/application-deployments/<app name>/jazn-data.xml (unpackaged from the EAR file).
As far as I can tell, the JAZN admin tool (java -jar jazn.jar ....) can only manage one of these at a time, and ONLY the one coded into j2ee/home/config/jazn.xml.
QUESTIONS:
1) Is there a way to manage the application realm via the JAZN admin tool without first modifying the jazn.xml file? For obvious reasons, modifying that file in an active OC4J installation is not a viable option.
2) I have not tried managing these yet with the Oracle Enterprise Manager. Does that tool have the same limitation (i.e. can't manage the application realm)?
OBSERVATION:
1) The JAZN admin tool is hardcoded to use the path "/j2ee/home/config/jazn.xml" for its config file. This is pretty weak! You could at least have a command line argument to tell which jazn.xml file to use.

Scott,
There is a way to manage application realms using the JAZN admin tool - unfortunately, we didn't document it in this release. Thanks for bringing this to our attention and we'll fix it in the docs.
Generally, it is recommended to use OEM, which will indeed let you manage application realms.
If you want to use the JAZN admin tool, you'll need to do the following:
1. Create an application-specific "jazn.xml" file which simply points to the local jazn-data.xml file or equivalent. (See the global/server jazn-data.xml for reference).
2. Make sure that the local (app specific) jazn-data.xml file has the RealmLoginModule defined towards the end. (See the global/server jazn-data.xml for reference).
3. Bring up the JAZN admin tool defining the application jazn.xml. Ex:
"java -Doracle.security.jazn.config=application-deployments/callerInfo/jazn.xml -jar jazn.jar -listusers"
Thanks,
-Lee

Similar Messages

  • How can I communicate with other applications from my Java application?

    Hello,
    I need help about how can i communicate with other application(say textpad.exe/wordpad.exe/MS word.exe) from my Java program.
    More precisely, I need to know how i can get the current position of the cursor whether it is in any .txt/.doc files, then I may write some text in my java application and click a button and then my program will append the line(string) in that position of the file which is running under another appliction(Notepade.exe/MSword.exe).
    Please provide me some help.

    I may be wrong (and anyone, please correct me if so), but Java may not be the best tool for something such as this. I envision that you'd have to make some OS calls such as calls to the user32.dll, and while this can be done through the JNI, you'd still have to have a C or C++ program doing the dirty work.

  • JAZN Admin tool - what username and password??

    I need to use the JAZN Admin tool that comes with JDeveloper to configure security for the embedded OC4J. I have specified JAAS as the policy provider by adding the following lines to jre/lib/security/java.security:
    auth.policy.provider=oracle.security.jazn.spi.PolicyProvider
    login.configuration.provider=oracle.security.jazn.spi.LoginConfigProvider
    However, I don't know what user name and password to specify when attempting to invoke a JAZN command, such as "java -jar jazn.jar -listusers". What is the default username & password that is included in the JDeveloper 10g installation? Or do I have to manually configure a username/password? If so how?
    Thanks in advance!
    Steve

    See https://forums.adobe.com/thread/1619850

  • How can i let my java application closes the other opened windows

    how can i let my java application closes the other opened windows: like any other Microsoft Internet Explorer windows ... provided that my java application is not the one i used to open those other windows.... thanks in advance

    you'll have to use JNI to access the windowAPI
    then you need a list of window handles ... I think there was a function called getWindow and in order to close them you use sendMessage .... for details check out msdn (microsoft developer network)
    somwhere I saw a tool called JUtil, which might help you getting started on accessing the win api from java
    regards
    Spieler

  • How can i see the "manage devices" in my itunes account? because i want to remove a device from using my apple id. tnx so much

    how can i see the "manage devices" in my itunes account? because i want to remove a device from using my apple id. tnx so much

    Thanks pvonk, I will try downloanding the book from the Iphone right now.......
    Just tried to download and it wants me to buy it again?  Is there some way around this?  I guess I thought that was the whole point of the cloud, buy it once and access from any of your devices right?
    Also, I have logged into the icloud.com as suggested and will plink around there for a bit and try to understand.  It is just all so dang different that what I am used to; Apple's way, that is.
    Thanks again for the Icloud tip and if you know of a way to download without making a 2nd purchase I would sure love to hear it!
    Geez. one other thing (I guess I am complaining) but I bought more space in the cloud, they took my cash fast enough but have not yet increase the size of my storage space yet?  Is Apple sometimes slow to get internal stuff done?

  • How can I run a java-application on starting of Windows 2000

    How can I run a java-application without any user on starting of Windows 2000?
    For example, if the computer is restarted and nobody enter into it yet, my java-application should run anyway.
    How can I do that?

    Hi, you have to put it in a Windows service.
    To do this you have a program, Srvany.exe that allow to insert a .exe or .bat program in a Windows service.
    For example, i develop a program, TomcatGuardian and i put it in a service because i need to run it in a server without Administrator logged in.
    Regards,
    Ivan.

  • The Ipad2 Application Data folder is taking up huge space in C: Drive. How can I shift the User Application data for iPad2 to another Drive?

    The Ipad2 Application Data folder is taking up huge space in C: Drive. How can I shift the User Application data for iPad2 to another Drive?

    Thanks a lot for the response. Yes, I am checking my C: drive data thoroughly now, including the hidden folders, to ascertain if something else can be moved, as per your suggestion.

  • How can we handle in flex application if the server is down?

    how can we handle in flex application if the server is down?

    You and me both. 
    As ambiguous as the original question was, I think he was just asking how to handle a server exception and I would suggest generally just using a Alert.show("your specific message (eg.  The server is currently unavailable)") in the place where you handle the fault return from your service or http call.  I'm sure there are more complicated messaging frameworks or approaches, but that seems to be enough for my apps.

  • How can i share the pages application with another computer?

    How can U share the pages application with another computer?

    Just make sure it is for you or your family.
    If you purchased Pages through the Mac App Store, then just login on the other computer using the same Apple I.D. and you can install it at no extra charge.
    Peter

  • How can i get a java application

    how can i get a java application on my mac pro?

    I'm not sure I understand the question. If the application is a standalone applet, you download it as you would any other application or file. If the applet is embedded in a web site, just go to the appropriate web page.
    If you can provide more specifics about what it is you are trying to download/accomplish, perhaps we can be of more specific assistance.
    Regards.

  • How can I show TOOL display on tool bar?

    How can I show TOOL display on tool bar?

    I have looked around, but I cannot find anything to make the Tools button appear or disappear.
    Last two ideas I have:
    sign in with your Adobe ID
    uninstall Reader using http://labs.adobe.com/downloads/acrobatcleaner.html then reinstall the latest version (11.0.10 or 10.1.13)

  • How can I debug webdynpro java application?

    hi,
    How can I debug webdynpro java application?
    Thanks

    Check this document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0cb32c5-36a7-2910-2c9b-ba4a5bbdbb56
    Also check this sdn thread Re: DeBugginng The WebDynPro Application particularly shailesh kumar posting
    /padmanaban
    Edited by: Padmanaban on Sep 26, 2008 1:55 AM

  • How can i change the default application to vlc player for playing any videos on my macbook?

    How can i change the default application to vlc player for playing any videos on my macbook?

    1. Control click the file you want to open.
    2. Click Get Info.
    3. Under open with, pick the App you want to be default.
    4. Click Change All Button.
    5. Confirm your decision.
    You have to do this with every file that has a different extension. You can't change the default for every file with a different extension in a single operation.

  • How can i get tool tips to show on slideshow thumbnails?

    How can i get tool tips to show on slideshow thumbnails? I used the widget "blank" composition for a slideshow then i placed the tooltips widget composition over them and made them transparent, but that prevents a user from clicking on the thumbnails... Any ideas?

    I also want to note, i tried putting in tool tips as well as alt. text but only the first thumbnail is included in the HTML...I went through the code and it all my text is missing. I have to manually edit the html in edge reflow or dreamweaver. Muse should fix this - and i know "this is in the wrong section" and not in bugs and new ideas but it relates to my first post...

  • How can I deploy the WAR application in the Tomcat

    How can I deploy the WAR application in the Tomcat. Do I have to do any manifest file.
    Thanks
    S. Nikov

    First of all, which version of Tomcat are you using?
    Deploying a WAR file in Tomcat is very easy. Just put the WAR file in the %TOMCAT_HOME%\webapps directory and start Tomcat. It will automatically find the WAR.
    Please read the Tomcat documentation: start Tomcat and point your browser to http://localhost:8080
    Jesper

Maybe you are looking for

  • How can i download applications for my mac

    How can i download applications for my mac for free

  • Migrating from Linux Mail to Exchange 2013

    Is there any official documents of the Best Practices of migrating Linux Mail (Exim) to Exchange 2013? I appreciate any help that I can receive. Thanks in advance. My best regards.

  • Unable to view files or web pages

    Hello, Can anyone help me out? I am using OS X 10.4.11 and I cant open certain files such as .docx nor can I view certain web pages. Thank you...

  • Hp design jet 4500 no print from printer

    Unit asking for starter print heads, installed and ran purge ok. Came to a ready state and started the print head alignment. You could see from the start that only a small portion of the black was printing and nothing else. I had previously cleaned p

  • Problem with Session Beans in JSP

    Hi,           I'm testing Weblogic for our company's IT department and just ran into a           strange error. I wrote a simple JSP script to use a bean that works fine           except when trying to set the bean scope to session. I looked at the t