How can I determine in Java running local or weblogic server deployment

Using JDeveloper 11.1.1.4.0

I need to determine in my Java code, if I run my application locally (JDeveloper/Weblogic) or if the application runs on a Weblogic Server deployed. The code will be used to determine where to place the files in the test on PC the verses where to place the files when they are deployed. For example (c:\temp or/usr2/download).

Thank you
Troy

Hello

well one way is to identify using weblogic here system properties is the example to get the name of application weblogic managed server that runs in java http://www.baigzeeshan.com/2011/11/oracle-adf-how-to-get-managed-server.html

check out other properties like http://docs.oracle.com/cd/E13222_01/wls/docs90/config_scripting/config_WLS.html#1019588 well

Zitouni

Tags: Java

Similar Questions

  • How can I determine if Java is resident/active on my computer and how do I turn it off?

    My concern about Java is the current focus by the Government on the possible access of malware via Java. I can not find Java in the "Add/Remove Programs" list, but am not sure if this really ensures that the Java program is resident or not.

    If Java does not appear in Add / Remove Programs, you have not installed it.

  • How can I determine if my Airport run 5G?

    How can I determine if my Airport run 5G?

    hammerx48 wrote:

    How can I determine if my Airport run 5G?

    When you say "5G" maybe did you mean 5 GHz instead?

  • I want to run an update on my iPod Touch, but I get a warning "it buying things... that have not been transferred to your iTunes library." How can I determine what those are?

    I want to run an update on my iPod Touch, but I get a warning "it buying things... that have not been transferred to your iTunes library." How can I determine what those are? Does he want me back up my Touch before update?

    Just sync or backup and they will go to the iTunes library.

  • How can I determine if I am running XP Pro 32-bit or 64-bit?

    How can I determine if I am running XP Pro 32-bit or 64-bit?

    How can I determine if I am running XP Pro 32-bit or 64-bit?

    In general, with Windows XP, if you have to ask what architecture you are running: you are running Windows XP 32-bit.

    http://Windows.Microsoft.com/en-us/Windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

    1. Click Start.
    2. Do right click my computer and then click Properties.
      If you don't see "x 64 Edition" in the list, then you are running 32-bit Windows XP.
      If "x 64 Edition" is listed under system, you are running the 64 bit version of Windows XP.

    Another surefire Tip: If your system is fully patched and you have SP3 - you run 32-bit.  64-bit has only until a SP2.

  • How can I determine if I have firefox 64?

    How can I determine if I have firefox 64-bit?

    Hello

    I had a look on the details of the user agent for your version of Firefox, and it indicates that you are using a 64-bit version of Windows, but Firefox makes use of a subsystem called WoW64, which allows him to run a 32-bit version of the software as Firefox.

    There are currently no 64 bit version of Firefox, but there is a version that is in beta version (you can download it here) and the developer edition of Firefox (which you can download here). Please note that these are not fully completed versions of Firefox you may encounter a couple of issues that would be otherwise corrected before the code skips to the release.

    I hope this helps, but if not, please come back here and we can look at another solution for you.

  • How can I determine that something is signed doorwindow?

    What does digitally signed average? How can I determine that something is signed doorwindow?

    If you try to find out if there is any unsigned drivers installed on your system, click on start, run and type "sigverif" without the quotes in the Run dialog box. Click on 'OK '. The rest is self-explanatory.

    Good luck.

  • I disabled MS Security Essentials that I use another antivirus - but I like to keep the firewall. How can I determine if it is effective?

    * Original title: Microsoft Firewall

    I read that Windows has a built-in firewall. I disabled MS Security Essentials that I use another antivirus - but I like to keep the firewall. How can I determine if it is effective? If this is not the case, how can I activate it?

    (Moved to programs)

    You cannot run the Windows Firewall and any other 3rd party firewall at the same time. By default, most if not all AV software (competent) devs teams to automatically disable the Windows Firewall when their own is installed to avoid unnecessary conflicts that would occur if both have been enabled at the same time.

    If you want to have the Windows Firewall, you will need to uninstall your antivirus (if it comes with a firewall) 3rd party. If this isn't the case, then you can keep the Windows Firewall is turned on, because it's good.

  • How can I determine that trusted root certificates in the Certification authorities are all valid

    I was looking in the Lenovo Superfish Adware (I have her, much less a Lenovo) and I read an article in PC world who said Superfish installs a root certificate self-produced in the Windows certificate store for trusted root Certification authorities, and then quit all SSL certificates, presented by the HTTPS sites with its own certificate :

    http://www.PCWorld.com/article/2886278/how-to-remove-the-dangerous-SUPERFISH-adware-presintalled-on-Lenovo-PCs.html

    This led me to run certmgr.msc (Certificate Manager) on my PC to see what certificates were in CAs roots of trust and to my surprise there are 321 certificates listed. How can I determine that all these certificates are all valid?

    I use Kaspersky Internet Security 2015 and Windows Defender and update the definitions and conduct analyses regularly, with negative results. I have no problem at all with my PC, I'm just worried.

    Hello Josagan,

    Thanks for posting your question on the Microsoft community.

    I understand your concern.

    This request fits better to the MSDN forums since it is linked to the development of Windows.

    I suggest you post your question on the following MSDN forum.
    https://social.msdn.Microsoft.com/forums/IE/en-us/home?Forum=iewebdevelopment

    Thank you

  • How can you determine if JavaScript is on your computer and your work?

    Need to take an online driving course and said that I need Java Script.  How can I determine that I am present?

    Hello

    Open windows control panel, open programs and features, and then check if Java is displayed.  If not, you can download the installation program here.

    Kind regards

    DP - K

  • How can I determine the number of contacts that I have

    How can I determine the number of contacts that I currently have on my iphone

    I don't know of a way on the iPhone, but if you have a Mac, you can go to the Contacts (platform) app and scroll to the bottom where you will find the total.

    Same for iCloud.com on your browser, go to the app, scroll down.

  • How can I get Firefox to run KIOSK mode on Android phone? I'm trying to use rKiosk, but failed. I am running 10.0.3 on the phone.

    How can I get Firefox to run KIOSK mode on Android phone? I'm trying to use rKiosk, but failed. I am running 10.0.3 on the phone.

    rKiosk is not designed for mobile Firefox. You will need to do your own hacking to get what you want.

  • How can I determine the size of the files and photo albums?

    How can I determine the size of the files and photo albums?

    It is not really in any way, nor is it necessary-what you trying to accomplish?

    LN

  • How can I determine what profile Firefox 5 is currently using?

    How can I determine what profile Firefox 5 is currently using?

    Help > troubleshooting information > profile directory: opens showing the file

    Copy and paste this code in the Code field in the ' tools > error Console " and click on evaluate to see the location of the profile folder.

    alert(Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("ProfD", Components.interfaces.nsIFile).path);
    
  • How can I determine the model of my air to buy a new drive if my oem drive failed?

    My air drive is dead and I need to order a new drive.  How can I determine my air without the drive model?

    Thank you

    C

    I guess you could always turn inside and read the model number is printed on the bottom...

Maybe you are looking for

  • I need keystrokes to import and export bookmarks

    I'm blind and use programs output speech to run my windows 8.1 machine and of course impossible to use a traditional mouse. I arrow and tab through each accessible section of the menu of bookmarks, but also with key applications and could find no way

  • My iphone 5 c receive text messages?

    My iphone has recently decided not to receive messages from certain numbers text.  I can send to these numbers, they are not blocked in my phone, I turned off and restarted my phone, I reset my phone.  What are my next steps.  There seems not to be a

  • battery not recognized

    my battery after a long period (> 2 years) unused (worked fine the last time when it is used) is not more recognized after insertion. It says battery not detected. someone has experienced this problem before & was able to remedy? research on the net,

  • error message in windows xp reads... Windows-no disk _

    .. .reads... Windows-no diskException Processing Message c0000013 parameters 75b6bf7c 4 75b6bf7cThis message arrives soon I loading windows and stay even when I press on cancel it keep coming back...don't know what that means or do about it... need a

  • Save an AVI with Windows Movie Maker

    When I try to record an AVI with Windows Movie Maker saves the file with what I wanted, but then, instead of stopping, he continues to play the part of the beginning of the file, I tried to do, sometimes 3èmes once3 and with a table of contents as th