Can not run the program "keytool": java.io.IOException

Hello

I would like to follow the procedure to change the password
glassfish server hosting APEX earphone
using the change key word subcommand of past, but the keytool utility
not found:

GlassFish@ahost:/opt/glassfish3/GlassFish/Domains/mydom01/config >/opt/glassfish3/bin/asadmin
/ opt/glassfish3/bin/asadmin
Use "exit" to exit and online 'help' for help.
asadmin > change of master-password mydom01
Enter the current password > changeit

Enter the new password > changedit

Re-enter the new password > changedit

Can not run the program "keytool": java.io.IOException: error = 2, no such file or directory
Past change key word command failed.
asadmin >
Multimode command failed.
GlassFish@ahost:/opt/glassfish3/GlassFish/Domains/mydom01/config > what java
/ usr/bin/Java
GlassFish@ahost:/opt/glassfish3/GlassFish/Domains/mydom01/config >

Glassfish entire works well outside it.

keytool could be found in/usr/java/latest/bin/keytool.

We need to have that in the path? There is no requirement in the
Installation Guide for this, nor did the RPM installation adjust the system
path accordingly.

I hope someone can tell my how things should be in regards to keytool?

Thank you, Tom

Hi Tom,

the procedure to change the password for the listener of glassfish server hosting APEX

... more like a topic related to GlassFish for me. I guess you will get the best answers to these questions in a GlassFish related forum...

For what it's worth, I'll try my best even when:

Can not run the program "keytool": java.io.IOException: error = 2, no such file or directory

This seems to be a pretty clear error message: keytool , which probably is used to manage keys for users of GlassFish, was not found. This means, you are either running on an operating system that is not officially certified for GlassFish, or you GlassFish has not been configured correctly.
You have run

GlassFish@ahost:/opt/glassfish3/GlassFish/Domains/mydom01/config > which java
/ usr/bin/Java

... which means that you assume your GlassFish runs without being set JAVA_HOME. If that's true, I'm install you GlassFish correctly from this setting.
Anyway, you have also discovered that

keytool could be found in/usr/java/latest/bin/keytool.

... that is not + / usr / bin + and probably not in the way of global search of the user on whose behalf your GlassFish is running. Then, you can either create a link [*] for c++ / usr/bin/keytool + do (finally) to + / usr/java/more late/bin/keytool +, or you setup JAVA_HOME to be + / usr/java/last +.
[*] Note that depending on your operating system, there may be more than one stage of indirection, for example my Ubuntu a + / usr/bin/java + pointing on + / etc/alternatives/java + which points on + / usr/lib/jvm/java-6-Sun/jre/bin/java + where + / usr/lib/jvm/java-6-Sun / + points to the directory containing the real JDK to use. You will probably find something like this on your system. My Ubuntu box has a link for + / usr/bin/keytool +, so I get when running "what keytool.

We need to have that in the path? There is no requirement in the installation guide for that, nor the RPM installation has adjusted the path system accordingly.

Again, this is not a forum of GlassFish.

I hope my advice helps you solve your problem. If they are not, please choose the appropriate forum for your next post on this topic. And I guess, giving additional information about your OS and how you manage your JDK (and which version you use) help people here to help you.

Thank you

Udo

Tags: Database

Similar Questions

  • can not run the program in Windows 7 64 bit xp mode

    I have a problem running a program that runs perfectly OK under Vista 32 bit and XP with sp3, however do not work in virtual XP mode or on a WIN7 64 bit system.

    I uninstalled XP mode and made a new installation with no luck.

    Went into the tab compatibility properties and selected OS, he worked under.  (Which was XP sp3 and Vista SP1)  Did not work.

    In XP Mode, the program launches but does not see the USB stick files are on, he needs to interface with.

    In Win7, the program launches and can see the USB files are on... but wont interface with them.  Messsage says "another program can use this disk.

    As the program is running in XP systems, which prevent to in Virtual XP in Windows 7.

    Any help is appreciated!  Thanks in advance.

    Hello

    I suggest you to ask your question at the following link.

    Windows Virtual PC and XP Mode

  • Can not run the program "javac": CreateProcess = 2 error

    I installed the JDK 1.6 (updated 24) and JDE 6.0.
    I get the following error when I am trying to build a simple Hello World program.

    Building HelloWorldApp
    "C:\Program Research In Motion\BlackBerry JDE 4.7.0\bin\rapc.exe-silencieux import =".. \Program Files\Research in Motion\BlackBerry JDE 4.7.0\lib\net_rim_api.jar "codename = HelloWorldApp HelloWorldApp.rapc warnkey = 0 x 52424200; 0 x 52525400; 0 x 52435200 C:\BBWSDir\HelloWorldApp.java
    I/o Error: Cannot run program "javac": CreateProcess = 2 error, the system cannot find the file specified
    Error while building project

    And was take a look at this thread too. But it's still nothing change.
    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=46876#M46876

    Any solution?

    Is the Java JDK in your system path? If this isn't the case, you will get this error.

    Open a command window and type

    javac

    You should get a screen form helps the compiler.

  • Somehow, all my exe files are marked as Acrobat files - I can not run the software on my computer - when I start the computer none of startup programs because they are all trying to open in acrobat.

    Somehow, all my exe files are marked as Acrobat files - I can not run the software on my computer - when I start the computer none of startup programs because they are all trying to open in acrobat.

    See if anything here help: https://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html

  • Updated Windows and now I can not run other programs on my PC

    Updated Windows and now I can not run other programs on my PC!  What can I do?

    Hello

    ·          Update you installed before the problem?

    ·          Do you have a code error message when you try to run any program?

    If the issue took place recently, you can perform a system restore that will repair return the computer to the point while it was working fine.

    To restore the operating system to an earlier point in time, follow these steps:

    1. Click Start, type system restore in the search box, and then click System Restore in the list programs.
    If you are prompted for an administrator password or a confirmation, type your password or click on continue.

    2. in the System Restore dialog box, click on choose a different restore point and then click Next.

    3. in the list of restore points, click a restore point created before you started having the problem, and then click Next.

    4. click on finish.

    Note: When you perform the system restore to restore the computer to a previous state, programs and updates that you have installed are removed.

    How to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
    http://support.Microsoft.com/kb/936212

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • The desktop icon can not find the program

    I'm having a problem where when I click on my desktop icons they can not find the program that is associated with run.

    Most of them is related to sites Web that I often use, so I select Internet Explorer as the associated program then remember this radio button, but when I connect and get back in that I get the same error.

    I am running windows XP, I say this because I've posted this before, and I referred to a difficulty which will not work with this operating system.

    Any help would be appreciated.

    Hello JoseVasquez,

    Try the automatic solution of the following article:

    Article ID: 307859 - how to change or choose which program starts when you double-click a file in Windows XP
    http://support.Microsoft.com/kb/307859
     
    This should help to restore default associations in Windows XP.

    Thank you

    Marilyn

  • I had a fast PC program that keeps coming up as an error and I can not find the program on my PC?

    There is a Speedy PC Pro porgram on my computer keeps coming back as an error and I can not find the program or software

    any where on my computer to uninstall or remove. I don't know where it comes from. Please notify.

    If the "program not found" error message is associated with the Windows startup, another solution is to use the System Configuration tool and remove applications from the startup list.

    Here are the steps on how to do this:

    1. Move the cursor to the Start menu and then click on "Run".
    2. In the Open box, type msconfig
    3. Heat the Enter key
    4. Click the Startup tab
    5. Remove/disable all uninstalled applications in the startup list
    6. Move the cursor to the Start menu and then click on 'stop'. After that click on 'restart'.
  • I have can´t run the program after you install with creative cloud

    Hello!

    I have can´t run the program after you install with creative cloud, he do not appear the button to open it, but the status is installed, someonepeut help me with?

    Can you tell me what operating system you are using (windows/Mac) and some data on your computer (RAM, card graph, 64 or 32 bit,...)?

  • Can not find the program to burn DVD

    I used to burn and copy DVD, XP operating system. Now I can not find the program to do.
    Hope that I explain ok

    Thank you
    not mind too much techno

    Hey,.

    What program do you mean exactly?
    Nero or what else?

    For burning and copying of discs, I can recommend that the freeware CD Burner XP tools. It of really small and fast tool, never had any problems with it.

    Check this box!

  • Can not find the program "Mathematical Input Panel" in Win7 Home Premium edition

    Can not find the program "Mathematical Input Panel" in Win7 Home Premium edition

    On my Home Premium, it's in all programs > Accessories

    or easier to use the Start button immediately above "search programs and files" then type Math

  • I have age of empires 3 and I can not start the program.

    Hello

    I have age of empires 3 and I can not start the program.
    The program is installed, but once the autorun.exe appears (with the icons of the game, uninstall, website, out) I click on play and the game does not just start. My computing needs are fairly good for the game because I used to play the game on the same computer later.

    Thanks for your help

    David

    Bink is what plays the scenes cut in many games.

    Installation folder of AOE 3 the binkw32.dll should be in games.
    If it is then it is may be damaged and reinstall the game normally would set the
    problem.

    AutoPatcher.exe - I do not know because I never use auto-patchers with games.
    I have always to download the patch and install manually.
    However, my game has the RockallDLL.dll file.

    I don't really know a good site to lead you to these files.
    You can find a binkw32.dll in another game. Try doing a search of
    Program Files (x 86) (or another location if you install games to the default locations). If you have the file in another game you can copy into your AOE3
    folder of the master installation.

    There was a lot of discussion on these forums about AOE3 so a
    search of these forums may find another suggestion.
    You can also try the specific AOE3 forums-

    Age of Empires Forums - Forums

    Age of Empires III heaven Forum

    .

  • Computer says that CS6 is installed, but can not find the program

    Computer says that CS6 is installed, but can not find the program

    Hi Chuck,

    It seems that you have a 32-bit operating system installed and Premiere Pro is not a 32-bit application. This seems to be a problem in the creative cloud desktop application.

    Thank you

    Regalo

  • Can not run the demo of StarCraft or downloaded files

    It is not just drop the files basically downloaded everything as downloaded demos... I can't run the DEMO of StarCraft for example, even on here, if I download it. I must have a CD or a DVD-ROM... Its very annoying... Basically, I can't run everything that said (Type: file) he outside, implemented programs.

    Will you suggest try here...

    http://us.Blizzard.com/support/index.XML?locale=en_US&gameId=3

    --
    Gina Whipp
    2010 Microsoft MVP (access)

    Please post all responses on the forum where everyone can enjoy.

  • Can not run the trial version

    I downloaded the wizard and then clicked on the trial version of XI he then extract the files after downloading. But then he disappeared. How to run the program to convert pdf to word?  The trial version does not appear in my programs or on my desk

    Try to download without download assistant...  Use the following site but be sure to follow the instructions carefully or the download link on the page does not work

    Of Acrobat Pro/Standard XI and player:

    http://prodesigntools.com/Adobe-Acrobat-XI-Pro-standard-reader-direct-download-links.html

    To answer your question... Open the PDF in Adobe Acrobat and choose Save as-> Microsoft Word-> Word Document.

  • I installed ChatZilla and can not find the program to run it.

    I downloaded ChatZilla and then restart Firefox to install it. I went to tools to try to run but I can't find Chatzilla and I can not find Chatzilla files anywhere on my sistem. How can I start chatting?

    Thanks, this was really helpful

Maybe you are looking for

  • Photos - management share

    I shared a few photo albums. On iOS I can click people (not to be confused with faces) for which I shared with and can also add others. How do you do that in Photos on the Sierra?

  • Motorola Widget settings updated

    I'm having a hard time to modify the Widgets Motorola once they are in place. For example, if I want to delete one number for a contact in the contact widget or update the syndicated news feed. I guess I'm missing something obvious and it's my first

  • Sansa Clip CODEC used in original Firmware

    I want to know if sansa firmware using the mp3 decoder under license from Fraunhofer IIS, such as listed in the manual booklet. is this true? even with the iPod which using the same decoder...

  • Turn on Security Center is denied.

    Have installed and run Spybot Search & Destroy 1.6.2 and it detects a problem of registry in the following location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc\Start (no) W = 2 After Spybot 'remove' the issue, Security Center still t

  • Windows 7, freshly installed, can not load the drivers, no usb, no cd player, no internet

    Hey guys,. I just installed Windows 7 64 bit on Windows 7 - laptop OS, but did not not any possibility of installing drivers. USB 2.0 does not respond, ethernet cable - no drivers. How can I possibly have to load drivers for the laptop computer? I'll