Problem start JavaService with JMX agent

My application start ok in console with password authenticate set to true. I have the password file configured correctly under my login account. however, when I start my application with the Windows Service created by JavaService, it failed with the authentication option. I am pretty sure it's the password file permission failed it. but don't know the workaround. Here is the setting for JavaService setting:
JavaService -install MyServer "C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll" -Xrs -Xms67108864 -Xmx524288000 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8004 -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.password.file=C:\JConsoleAccess\jmxremote.password -Djava.class.path=[JarFiles]; -start com.MyServer -params D:\MyServer\bin\Config.ini -stop com.ShutdownThread -current d:\myserver\bin -shutdown 90 -description "My Application Server"
Note: if I set authenticate option to false, it works just fine.

Hi,
I think your problem might be due to a file read access problem due to the fact that you're running
a Java service probably as SYSTEM but your jmxremote.password file was created with another
USER and SYSTEM cannot read it. Run "cacls C:\JConsoleAccess\jmxremote.password" in order
to check the privileges of the password file.
Have a look also at "How to secure the password file on Windows systems?" in the JConsole FAQ:
http://java.sun.com/javase/6/docs/technotes/guides/management/faq.html#win3
Regards,
Luis-Miguel Alventosa - JMX/JConsole dev team - http://blogs.sun.com/lmalventosa

Similar Messages

  • Problem using SSL with JMX

    Hi ,
    I am trying to implement SSL with JMX. I took the example of Luis Miguel Alventosa to see how it works. I imported all the classes, password a access properties file. When I am able to start the MyApp server in the example. But when I am trying to run MyClient, it is giving me the following exception
    Initialize the environment map
    Create an RMI connector client and connect it to the RMI connector server
    Exception in thread "main" java.rmi.ConnectIOException: Exception creating connection to: <IP>; nested exception is:
         java.net.SocketException: Default SSL context init failed: null
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
         at sun.rmi.server.UnicastRef.newCall(Unknown Source)
         at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
         at com.example.MyClient.main(MyClient.java:30)
    Caused by: java.net.SocketException: Default SSL context init failed: null
         at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown Source)
         at javax.rmi.ssl.SslRMIClientSocketFactory.createSocket(Unknown Source)
         ... 6 moreHere is the MyApp code I used
    package com.example;
    import java.lang.management.*;
    import java.rmi.registry.*;
    import java.util.*;
    import javax.management.*;
    import javax.management.remote.*;
    import javax.management.remote.rmi.*;
    import javax.rmi.ssl.*;
    public class MyApp {
        public static void main(String[] args) throws Exception {
            // Ensure cryptographically strong random number generator used
            // to choose the object number - see java.rmi.server.ObjID
            System.setProperty("java.rmi.server.randomIDs", "true");
            // Start a secure RMI registry on port 3000.
            System.out.println("Create a secure RMI registry on port 3000");
            SslRMIClientSocketFactory csf = new SslRMIClientSocketFactory();
            SslRMIServerSocketFactory ssf = new SslRMIServerSocketFactory(null, null, true);
            Registry registry = LocateRegistry.createRegistry(3000, csf, ssf);
            // Retrieve the PlatformMBeanServer.
            System.out.println("Get the platform's MBean server");
            MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
            // Environment map.
            System.out.println("Initialize the environment map");
            Map<String,Object> env = new HashMap<String,Object>();
            // Provide the password file used by the connector server to
            // perform user authentication. The password file is a properties
            // based text file specifying username/password pairs.
            env.put("jmx.remote.x.password.file", "password.properties");
            // Provide the access level file used by the connector server to
            // perform user authorization. The access level file is a properties
            // based text file specifying username/access level pairs where
            // access level is either "readonly" or "readwrite" access to the
            // MBeanServer operations.
            env.put("jmx.remote.x.access.file", "access.properties");
            // Create and start an RMI connector server.
            // As specified in the JMXServiceURL the RMIServer stub will be
            // registered in the RMI registry running in the local host on
            // port 3000 with the name "jmxrmi". This is the same name the
            // out-of-the-box management agent uses to register the RMIServer
            // stub too.
            // JMXServiceURL = "service:jmx:rmi:///jndi/rmi://:3000/jmxrmi"
            System.out.println("Create and start an RMI connector server");
            JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://");
            RMIJRMPServerImpl server = new RMIJRMPServerImpl(3000, csf, ssf, env);
            RMIConnectorServer cs = new RMIConnectorServer(url, env, server, mbs);
            cs.start();
            registry.bind("jmxrmi", server);
            System.out.println("Waiting for incoming connections...");
    }Here is the MyClient
    package com.example;
    import java.rmi.registry.*;
    import java.util.*;
    import javax.management.*;
    import javax.management.remote.rmi.*;
    import javax.rmi.ssl.SslRMIClientSocketFactory;
    public class MyClient {
        public static void main(String[] args) throws Exception {
            // Environment map
            System.out.println("\nInitialize the environment map");
            Map<String,Object> env = new HashMap<String,Object>();
            // Provide the credentials required by the server to successfully
            // perform user authentication
            String[] credentials = new String[] { "username" , "password" };
            env.put("jmx.remote.credentials", credentials);
            // Create an RMI connector client and
            // connect it to the RMI connector server
            System.out.println("\nCreate an RMI connector client and " +
                    "connect it to the RMI connector server");
            SslRMIClientSocketFactory csf = new SslRMIClientSocketFactory();
            Registry registry = LocateRegistry.getRegistry(null, 3000, csf);
            RMIServer stub = (RMIServer) registry.lookup("jmxrmi");
            RMIConnector jmxc = new RMIConnector(stub, env);
            jmxc.connect(env);
            // Get an MBeanServerConnection
            System.out.println("\nGet an MBeanServerConnection");
            MBeanServerConnection mbsc = jmxc.getMBeanServerConnection();
            // Get domains from MBeanServer
            System.out.println("\nDomains:");
            String domains[] = mbsc.getDomains();
            for (int i = 0; i < domains.length; i++) {
                System.out.println("\tDomain[" + i + "] = " + domains);
    // Get MBean count
    System.out.println("\nMBean count = " + mbsc.getMBeanCount());
    // Close MBeanServer connection
    System.out.println("\nClose the connection to the server");
    jmxc.close();
    System.out.println("\nBye! Bye!");
    Here is the password.properties
    monitorRole mrpasswd
    controlRole crpasswdand access.properties
    monitorRole readonly
    controlRole readwriteI used the following jvm parameters to run the apps
    -Djavax.net.ssl.keyStore=.keystore -Djavax.net.ssl.keyStorePassword=keypass -Djavax.net.ssl.trustStore=proxytruststore -Djavax.net.ssl.trustStorePassword=trustpassI really don't know where I am doing the mistake. Can anyone please give any idea ? For security I didnt disclosed the IP of my mechine in the error, insted I replace it with <IP>

    Hi,
    I assume you did create a keystore and trustore, right?
    Could you verify that the paths to these files you give in your java options
    are correct?
    You could also try to activate debug traces - in particular security traces - see
    at the end of this blog:
    http://blogs.sun.com/jmxetc/entry/troubleshooting_connection_problems_in_jconsole
    This may help you diagnose what is going wrong.
    Hope this helps,
    -- daniel
    JMX, SNMP, Java, etc...
    http://blogs.sun.com/jmxetc

  • Problem starting servers with nodemanager

    Hi,
    I'm following the Oracle By Example:
    [http://www.oracle.com/technology/obe/fusion_middleware/wls103/InstallConfig/admin_mngd_srvr/admin_ms_using_nm.htm]
    I have installed on Windows (not on Linux), but that shouldn't make much difference.
    Now look at what I got on Step 10 of the OBE:
    OUTPUT
    D:\oracle\Middleware\user_projects\domains\dizzyworld\bin>startManagedWebLogic.cmd dizzy1 http://localhost:7001
    JAVA Memory arguments: -Xms256m -Xmx512m -Xns128m -Xgcprio:pausetime -XpauseTarget:200ms
    WLS Start Mode=Production
    CLASSPATH=D:\oracle\MIDDLE~1\patch_wls1032\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\oracle\MIDDLE~1\JROCKI~1.5-3\lib\to
    ols.jar;D:\oracle\MIDDLE~1\utils\config\10.3\config-launch.jar;D:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\oracle\MIDDLE~1\W
    LSERV~1.3\server\lib\weblogic.jar;D:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.2.0.jar;D:\oracle\MIDDLE~1\WLSERV~1.3\ser
    ver\lib\webservices.jar;D:\oracle\MIDDLE~1\modules\ORGAPA~1.0/lib/ant-all.jar;D:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:
    \oracle\MIDDLE~1\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar;D:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;D:\oracle\MIDDLE~1\pa
    tch_wls1032\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\oracle\MIDDLE~1\JROCKI~1.5-3\lib\tools.jar;D:\oracle\MIDDLE~1\util
    s\config\10.3\config-launch.jar;D:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.j
    ar;D:\oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.2.0.jar;D:\oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\orac
    le\MIDDLE~1\modules\ORGAPA~1.0/lib/ant-all.jar;D:\oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;.;C:\Program Files\Java\jre6\lib\
    ext\QTJava.zip
    PATH=D:\oracle\MIDDLE~1\patch_wls1032\profiles\default\native;D:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\oracle\MIDDLE~1\WLSERV~1
    .3\server\bin;D:\oracle\MIDDLE~1\modules\ORGAPA~1.0\bin;D:\oracle\MIDDLE~1\JROCKI~1.5-3\jre\bin;D:\oracle\MIDDLE~1\JROCKI~1.5-3\bin;D:\oracl
    e\MIDDLE~1\patch_wls1032\profiles\default\native;D:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\oracle\MIDDLE~1\WLSERV~1.3\server\bin
    ;D:\oracle\MIDDLE~1\modules\ORGAPA~1.0\bin;D:\oracle\MIDDLE~1\JROCKI~1.5-3\jre\bin;D:\oracle\MIDDLE~1\JROCKI~1.5-3\bin;D:\app\alsemgpa\produ
    ct\11.2.0\dbhome_2\bin;D:\oracle\product\11.1.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Win
    dowsPowerShell\v1.0\;C:\Program Files\Microsoft Application Virtualization Client;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program File
    s\Windows Imaging\;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\QuickTime\QTSystem\;D:\oracle\MIDDLE~1\WLSERV~1.3\s
    erver\native\win\32\oci920_8;D:\oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    [INFO ][memory ] GC mode: Garbage collection optimized for throughput, initial strategy: Generational Parallel Mark & Sweep
    [INFO ][memory ] heap size: 65536K, maximal heap size: 1048576K, nursery size: 32768K
    [INFO ][memory ] s-end: GC beforeK-after K (heap K), pause ms
    [INFO ][memory ] s/start - start time of collection (seconds since jvm start)
    [INFO ][memory ] end - end time of collection (seconds since jvm start)
    [INFO ][memory ] before - memory used by objects before collection (KB)
    [INFO ][memory ] after - memory used by objects after collection (KB)
    [INFO ][memory ] heap - size of heap after collection (KB)
    [INFO ][memory ] pause - total sum of pauses during collection (milliseconds)
    [INFO ][memory ] run with -Xverbose:gcpause to see individual pauses
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    BEA JRockit(R) (build R27.6.5-32_o-121899-1.6.0_14-20091001-2107-windows-ia32, compiled mode)
    Redirecting output from WLS window to D:\oracle\MIDDLE~1\USER_P~1\domains\DIZZYW~1\servers\AdminServer\logs\garbage.log
    Het proces heeft geen toegang tot het bestand omdat het door een ander
    proces wordt gebruikt.
    D:\oracle\Middleware\user_projects\domains\dizzyworld\bin>
    The last line says in Dutch "The process has no access to the file because it is being used by another process". I don't know if that is relevant.
    Question
    Now when I go back to my admin console, I don't see dizzy1 server RUNNING, it has status SHUTDOWN. Screen refresh doesn't help either.
    Any suggestions ??
    Edited by: PaulAlsemgeest on Apr 12, 2010 9:43 AM
    Edited by: PaulAlsemgeest on Apr 12, 2010 9:44 AM
    Edited by: PaulAlsemgeest on Apr 12, 2010 9:44 AM
    Edited by: PaulAlsemgeest on Apr 12, 2010 9:45 AM
    Edited by: PaulAlsemgeest on Apr 12, 2010 9:45 AM

    user12115898 wrote:
    Try to see if anything is running on that port ( the port you specified for dizzy1) also try to see if anything is running with the name dizzy1 on that box. Because sometime it happens that console doesnt update so if anything is running on that box with the same name or on that port, then kill it and try to restart it again.Hi,
    I did an netstat -na > checkports.log
    The server dizzy1 has been configured with Listen Port 7003 and SSL Listen Port 7004. Both are not in the checkports.log.
    What I did see in my nodemanager.log was:
    Domains file not found: D:\oracle\MIDDLE~1\WLSERV~1.3\common\NODEMA~1\nodemanager.domains, this is strange, because the file is really there.
    And when I try to start server dizzy1, the Console gives the
    Messages
    -  Warning For server dizzy1, the Node Manager associated with machine dizzyMachine1 is not reachable.
    - Warning All of the servers selected are currently in a state which is incompatible with this operation or are not associated with a running Node Manager or you are not authorized to perform the action requested. No action will be performed.
    Any further help greatly appreciated.

  • Problem starting server with nodemanager

    Hello,
    I have a cluster running on JRockit on Windows 2003 sever and everything works fine when I start nodes from command line, but when I try to start cluster nodes from admin console through node managers in the log file I get:
    =================
    <Jul 21, 2006 10:50:57 AM> <Info> <NodeManager> <Starting WebLogic server with command line: C:\bea\JROCKI~1\jre\bin\java -Dweblogic.Name=Alfa1 -Djava.security.policy=C:\bea\WEBLOG~1\server\lib\weblogic.policy -Dweblogic.management.server=http://141.146.8.111:7001 -Djava.library.path=C:\bea\WEBLOG~1\server\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\bea\WEBLOG~1\server\native\win\32;C:\bea\WEBLOG~1\server\bin;C:\bea\JROCKI~1\jre\bin;C:\bea\JROCKI~1\bin;C:\bea\WEBLOG~1\server\native\win\32\oci920_8;c:\program files\imagemagick-6.2.8-q16;C:\Program Files\Support Tools\;C:\Program Files\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\ -Djava.class.path=.;C:\bea\patch_weblogic910\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\JROCKI~1\lib\tools.jar;C:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;C:\bea\WEBLOG~1\server\lib\weblogic.jar;C:\bea\WEBLOG~1\server\lib\webservices.jar -Dweblogic.system.BootIdentityFile=C:\bea\user_projects\domains\alfa_domain2\servers\Alfa1\data\nodemanager\boot.properties -Dweblogic.nodemanager.ServiceEnabled=true -Dweblogic.security.SSL.ignoreHostnameVerification=false -Dweblogic.ReverseDNSAllowed=false weblogic.Server >
    <Jul 21, 2006 10:50:57 AM> <Info> <NodeManager> <Working directory is "C:\bea\user_projects\domains\alfa_domain2">
    <Jul 21, 2006 10:50:57 AM> <Info> <NodeManager> <Server output log file is "C:\bea\user_projects\domains\alfa_domain2\servers\Alfa1\logs\Alfa1.out">
    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -jrockit     to select the "jrockit" VM
    -client     to select the "client" VM
    -server     to select the "server" VM [synonym for the "jrockit" VM]
    The default VM is jrockit.
    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
    A ; separated list of directories, JAR archives,
    and ZIP archives to search for class files.
    -D<name>=<value>
    set a system property
    -verbose[:class|gc|jni]
    enable verbose output
    -version print product version and exit
    -version:<value>
    require the specified version to run
    -showversion print product version and continue
    -jre-restrict-search | -jre-no-restrict-search
    include/exclude user private JREs in the version search
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    -agentlib:<libname>[=<options>]
    load native agent library <libname>, e.g. -agentlib:hprof
    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
    load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
    load Java programming language agent, see java.lang.instrument
    <Jul 21, 2006 10:50:59 AM> <Info> <NodeManager> <Server failed during startup so will not be restarted>
    ==============
    It seems that node manager appends system PATH to the java.library.path of the server it is trying to start. The problem is spaces in the system PATH:
    -Djava.library.path=C:\bea\WEBLOG~1\server\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\bea\WEBLOG~1\server\native\win\32;C:\bea\WEBLOG~1\server\bin;C:\bea\JROCKI~1\jre\bin;C:\bea\JROCKI~1\bin;C:\bea\WEBLOG~1\server\native\win\32\oci920_8;c:\program files\imagemagick-6.2.8-q16;C:\Program Files\Support Tools\;C:\Program Files\Windows Resource Kits\Tools\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
    java expects another option after space.
    How do I make nodemanager not to append system path to server's java.library.path?
    Is there a way to make node manager start server nodes with java.library.path value in quotation marks?
    P.S. I'm running node manager as windows service. I saw a post that solves this problem by starting node manager from command line but this solution is not sufficient.

    Gediminas Aleknavicius skrev:
    How do I make nodemanager not to append system path to server's java.library.path?Hi!
    This news group is about JRockit. People here tend not to know that
    much about non-JRockit products (like nodemanager). Try some WLx forum,
    they should be able to answer your question!
    Regards //Johan

  • Problem starting OpenOffice with KDE [Solved]

    I just did a clean Arch install witk KDE desktop. After I installed OpenOffice with
    pacman -Sy openoffice-base
    when I try to start openoffice I get the following error message
    "The application cannot be started. An internal error occurred."
    I tried to reinstall OpenOffice but that didn't help.
    Any ideas whats going wrong? OpenOffice worked fine with Gnome before I did a clean install.
    -A-

    this problem is caused as some files on the install or somewhere else got assigned root permissions so that is the problem. i deleted the folder and everything recreated ok.
    I have the same problem, but deleting ~/.openoffice.org2 haven't solved the problem, so I looked up this forum for other solutions and nothing helped.
    From other topic: That's not a java problem, I think.
    Any ideas?

  • Problem starting MySql with MAMP

    I have installed Mysql 5.2 and the SqlPerPane in System preference shows the Sql server is running. I also installed MAMP to manage MySql but it start Apache but not Mysql. I get the following error:
    100527 05:15:44 mysqld_safe Starting mysqld daemon with databases from /Library/Application Support/appsolute/MAMP PRO/db/mysql
    100527 5:15:45 [Warning] The syntax '--skip-locking' is deprecated and will be removed in a future release. Please use --skip-external-locking instead.
    100527 5:15:45 [Warning] Setting lowercase_tablenames=2 because file system for /Library/Application Support/appsolute/MAMP PRO/db/mysql/ is case insensitive
    100527 5:15:45 [Note] Plugin 'FEDERATED' is disabled.
    100527 5:15:45 [Note] Plugin 'ndbcluster' is disabled.
    /Applications/MAMP/Library/libexec/mysqld: Table 'mysql.plugin' doesn't exist
    100527 5:15:45 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
    100527 5:15:45 InnoDB: Started; log sequence number 0 44243
    100527 5:15:45 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
    100527 05:15:45 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended
    Is there to MySql? any Idea how to manage the running one or how to fix the problem?

    MAMP includes both Apache and MySQL as separate applications. It won't manage another install of MySQL.

  • Problem starting adminserver with WLST and Nodemanager

    I have a domain with one cluster containing 4 managed servers. Now I want to start the adminserver with WLST using the Nodemanager. (I know there are other/beter ways but in this situation I need to do it with Nodemanager).
    The problem is that the Nodemanager doesn't add the right memory arguments to the start command of the admin server.
    This is what I do:
    nmConnect(usernaam,password,host,port,domain)
    nmstart(adminserver)
    This does start the adminserver only without the proper memory arguments.
    I tried:
    using a startup.properties file in the directory <domain-dir> \servers\<server-name> \data\nodemanager with the following arguments: -Xms1024m -Xmx1024m
    and
    Puting the memory arguments in the "Server Start" properties in the config.xml (This works fine for the managedservers)
    How can I solve this?

    The nmstart command has a properties argument. Have you tried that?
    nmStart([serverName], [domainDir], [props], [writer])
    <Richard Greeven> wrote in message news:[email protected]..
    I have a domain with one cluster containing 4 managed servers. Now I want to
    start the adminserver with WLST using the Nodemanager. (I know there are
    other/beter ways but in this situation I need to do it with Nodemanager).
    The problem is that the Nodemanager doesn't add the right memory arguments
    to the start command of the admin server.
    This is what I do:
    nmConnect(usernaam,password,host,port,domain)
    nmstart(adminserver)
    This does start the adminserver only without the proper memory arguments.
    I tried:
    using a startup.properties file in the directory <domain-dir>
    \servers\<server-name> \data\nodemanager with the following
    arguments: -Xms1024m -Xmx1024m
    and
    Puting the memory arguments in the "Server Start" properties in the
    config.xml (This works fine for the managedservers)
    How can I solve this?

  • Problems : Starting up with CDE and Opening terminal window in JDS

    Hi
    I installed Solaris 10 GA on the system having 2.8 GHz Dual Xeon processor with EM64T.
    Installation process was fine and completed. But, I have two problems with CDE and JDS.
    Firstly, in JDS, the graphical login comes up, works fine. After I login (as root or anyone), sometimes terminal window does not start up correctly. The windows for terminal apprear, but there is no display. Thus, I cannot use the terminal in JDS, while the other menus on launch panel (e.g. StarOffice) seem to work properly.
    Secondly, in CDE, I can login, the hourglass pointer appears and changes to arrow pointer. But then, there are no items except only the pointer and wallpaper.
    Both problems do not happen at every login time. when the problems happen, I have to reboot (in CDE/JDS) or re-login (in JDS). After some rebooting or re-login, things work fine again.
    Can everybody help me?
    Thanks

    I am not Adobe staff, but I have never heard of an "online upgrade". When I purchased my CS6 upgrade  from Adobe, they sent me an email with the serial.
    Who did you go through to get this upgrade?

  • Problem Starting SAP with Oracle

    Dear Experts,
    Our production system rebooted due to some electricity issue and since then we are not able to start SAP. We are on oracle 10g and AIX OS. We have done all the options but no avail.
    Following is screen output when I run command : "startsap".
    startsap
    Checking ABC Database
    ABAP Database is not available via R3trans
    Starting SAP-Collector Daemon
    This is Saposcol Version COLL 20.94 700 - AIX v10.35 5L-64 bit 070123*
    Usage:  saposcol -l: Start OS Collector*
            saposcol -k: Stop  OS Collector*
            saposcol -d: OS Collector Dialog Mode*
            saposcol -s: OS Collector Status*
    The OS Collector (PID 884754) is already running .....*
    saposcol already running
    Running /usr/sap/ABC/SYS/exe/run/startdb
    Trying to start ABC database ...
    Log file: /home/ABCadm/startdb.log
    No SQLNet V2 connect to ABC available.*
    Check that the listener is running: "lsnrctl status".
    Start the listener as user oraABC: "lsnrctl start".
    /usr/sap/ABC/SYS/exe/run/startdb: Terminating with error code 14
    DB startup failed
    prodserver:ABCadm 2>
    Any help & advice to solve this issue will be appreciated.

    Hi Mark
    As I am Novice user, however I have check /oracle/SID/ directory for .sapenv.,  .dbenv. files but I didn't find any file.
    Then I have executed "env" command as a "root", Output is written below.
    env
    _=/usr/bin/env
    MABCATH=/usr/dt/man:/usr/share/man
    SESSIONTYPE=dt
    DTDATABASESEARCHPATH=//.dt/types,/etc/dt/appconfig/types/%L,/etc/dt/appconfig/types/C,/usr/dt/appconfig/types/%L,/usr/dt/appconfig/types/C
    LANG=en_US
    LOGIN=root
    G_BROKEN_FILENAMES=1
    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/dt/bin:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin
    DTUSERSESSION=root-192.168.0.180-0
    XMICONBMSEARCHPATH=//.dt/icons/%B%M.bm://.dt/icons/%B%M.pm://.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
    SESSION_SVR=atpserver
    LC__FASTMSG=true
    WINDOWID=23068728
    IC_DOCUMENT_SERVER_TYPE=STANDALONE
    EDITOR=/usr/dt/bin/dtpad
    LOGNAME=root
    MAIL=/var/spool/mail/root
    DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix     StartDtscreenFlame
    StartDtscreenHop StartDtscreenImage StartDtscreenLife     StartDtscreenRotor
    StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank
    IC_DOCUMENT_SERVER_MACHINE_NAME=standalone
    LOCPATH=/usr/lib/nls/loc
    TERMINAL_EMULATOR=dtterm
    USER=root
    AUTHSTATE=compat
    SAPINST_JRE_HOME=/usr/java14_64/jre
    XFORCE_INTERNET=True
    DEFAULT_BROWSER=Mozilla
    DISPLAY=192.168.0.180:0.0
    SHELL=/usr/bin/ksh
    ODMDIR=/etc/objrepos
    JAVA_HOME=/usr/java14_64
    DTAPPSEARCHPATH=//.dt/appmanager:/etc/dt/appconfig/appmanager/%L:/etc/dt/appconfig/appmanager/C:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
    HOME=/
    IC_DOCUMENT_SERVER_PORT=64111
    IC_DOCUMENT_DIRECTORY=/opt/IBM/aix
    XMICONSEARCHPATH=//.dt/icons/%B%M.pm://.dt/icons/%B%M.bm://.dt/icons/%B:/etc/dt/appconfig/icons/%L/%B%M.pm:/etc/dt/appconfig/icons/%L/%B%M.bm:/etc/dt/appconfig/icons/%L/%B:/etc/dt/appconfig/icons/C/%B%M.pm:/etc/dt/appconfig/icons/C/%B%M.bm:/etc/dt/appconfig/icons/C/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
    TERM=dtterm
    PWD=/
    TZ=INDST+5:30
    XMBINDDIR=/usr/dt/lib/bindings
    DTHELPSEARCHPATH=//.dt/help/root-192.168.0.180-0/%H://.dt/help/root-192.168.0.18-0/%H.sdl://.dt/help/root-192.168.0.18-0/%H.hv://.dt/help/%H://.dt/help/%H.sdl://.dt/help/%H.hv:/etc/dt/appconfig/help/%L/%H:/etc/dt/appconfig/help/%L/%H.sdl:/etc/dt/appconfig/help/%L/%H.hv:/etc/dt/appconfig/help/C/%H:/etc/dt/appconfig/help/C/%H.sdl:/etc/dt/appconfig/help/C/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
    NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat:/usr/dt/nls/msg/%L/%N.cat:/usr/dt/lib/nls/msg/%L/%N.cat:/usr/dt/lib/nls/msg/%l/%t/%c/%N.cat:/usr/dt/lib/nls/msg/%l/%c/%N.cat
    If you need I will send you output of  "env" command as a "ora<SID>" & <SID>adm
    Thanks for all your support

  • Problem starting HotSync with Antivirus Program in XP

    Couldn't start my HotSync program, running XP. 
    Found that it had to be "approved" by my anti-virus program.
    That fixed it.
    Mackerel1
    Post relates to: Zire 31

    Thanks for that information. What anti-virus program are you using? So if others experiencing what you have they know to do what you did.
    Post relates to: Treo 800w (Sprint)

  • Problem with the Agent

    Following a problem I had with saving to a shared location on windows nt using RMAN. (see note 145843.1 in metalink, also see bottom of this text)
    When I got to the stage of assigning the service to the domain administrator the agent failed. Can anyone shed any light on the situation on to why it is doing whats its doing.
    Thanks to all
    Note 145843.1
    Doc ID: Note:145843.1 Type: BULLETIN
    Last Revision Date: 21-OCT-2005 Status: PUBLISHED
    PURPOSE
    Following are step-by-step instructions for configuring RMAN to write
    to mapped (shared/networked) drive(s) on Windows NT, 2000 or 2003.
    SCOPE & APPLICATION
    RMAN users who are familiar with basic RMAN functionality
    as well as database configuration on the Windows Platform.
    WRITING FILES TO A MAPPED DRIVE WITH RMAN
    The problem of backing up to a mapped network drive using the SYSTEM account
    is a security issue. By default, Oracle requires the SYSTEM user to have
    privileges to write to the drives. Microsoft considers granting SYSTEM owned
    service access to a shared drive a security issue.
    However, there is a workaround that allows Oracle to access a shared drive.
    The Oracle services are originally configured to log on using the SYSTEM
    account. The SYSTEM account should not be granted access to the shared drive,
    therefore the Oracle services for the TARGET DB need to be reconfigured to
    logon using an Administrator account (preferably a Domain Administrator).
    THE STEPS NEEDED TO RESOLVE THIS ISSUE
    1. On the machine where you wish to write the files to, create a shared drive
    granting the user 'Administrator' FULL Control.
    Note: For reference below, this Administrator will use the password 'test',
    this will be referred to as the "Destination" machine.
    2. On the machine with the TARGET DB, verify the Administrator user has the
    same password of the user that shared the drive on the destination machine.
    In the example here, the password would be 'test'.
    3. Map a network drive on the TARGET machine to the shared drive on the
    destination machine. When mapping this drive, use the Administrator
    user with the password 'test'.
    4. On the TARGET machine, BOTH the OracleTNSListener Service and the
    OracleService<SID> services must be configured to start using the
    Administrator/test account.
    (As discussed above, Oracle uses the Local System account by default.)
    a. Go to the Control Panel and then open up the Services panel.
    b. Double click on the appropriate service
    (TNSListener or OracleService<SID>).
    c. Change the "Log on as" user from the "Local System Account" to
    ShowDoc https://metalink.oracle.com/metalink/plsql/f?p=130:14:176254058330...
    2 of 3 12/06/2008 08:48
    "This Account".
    d. Specify the service to log on as the Administrator user.
    c. Click on "OK".
    5. Shutdown the TARGET database and stop and start the services on the Target
    machine. Restart the TARGET database.
    6. You should now be able to use RMAN from the Catalog machine to copy the
    datafiles. In the RMAN script, specify the drive letter that you mapped
    in step 3.
    Special Windows 2003 Update :
    As Windows 2003 has a changed access behavior compared to Windows 2000,
    the solution is a little restrict :
    Don't use local drive letters for mapping network shares.
    Workaround is to use UNC locations directly, e.g. backup to \\B\share
    Since this is in fact an absolute location this is always the same for any
    node in the network.
    So whether accessed from node A or node B, \\B\share is always the shared
    location on B.
    FINAL NOTES
    It is recommended to use the Domain Administrator account to ensure that
    passwords are the same across the various machines. If there is no domain,
    use the local Administrator account and ensure that the passwords are the same
    for this account across all of the machines.
    If your backups are to be automated using the AT command, it is best to start
    up the SCHEDULE service under the same Administrator account that the
    OracleService<SID> and the OracleTNSListener services use.
    In the event that you HAVE to use a user account for the Oracle Services,
    rather then using the SYSTEM account, you can create a batch file that
    reconnects the shared drives at system startup. The batch file runs
    automatically as a service when the server starts and would establish the
    connection to the shared drives, regardless of which user logs into the
    system. This process of creating the batch file is outlined in the Microsoft's
    Knowledgebase article Q243486 - "How to Run a Batch File Before Logging on
    to Your Computer." The batch file is not supported by Oracle and is only
    mentioned here as an alternative way to reconnect the shared drives.
    COMMON MISTAKES
    If the OracleService<SID> and OracleTNSListener services are not configured
    to use the same account as the shared drive, you can expect the following
    errors:
    RMAN-10035: exception raised in RPC: ORA-19504: failed to create file
    "<file name>"
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 5) Access is denied.
    ORA-19600: input file is datafile 1(<path and file name of Datafile 1>)
    ORA-19601: output file is datafile-copy 0(<path and file name of file
    to be created>)
    RMAN-10031: ORA-19624 occurred during call to
    DBMS_BACKUP_RESTORE.COPYDATAFILE
    If the mapped drive is created on the CATALOG machine and NOT on the TARGET
    machine, you can expect the following errors.
    RMAN-10035: exception raised in RPC: ORA-19504: failed to create file
    "<file name>"
    ORA-27040: skgfrcre: create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    ORA-19600: input file is datafile 1 (<path and file name of Datafile 1>)
    ORA-19601: output file is datafile-copy 0 (<path and file name of file to
    be created>)
    RMAN-10031: ORA-19624 occurred during call to
    DBMS_BACKUP_RESTORE.COPYDATAFILE

    If there's more information required, Please do not hesitate to send a post. I check this post Daily.

  • My phone battery can only last an hour. Problem started a week ago while I was in Argentina. I am back in the country now, this morning I left the house with a full battery and when I got to work the phone had shut down. Phone is 7 months old. Why?

    Dear Apple Family,
    I have been using an iPhone since I lost interest with Nokia phones. I fell in love with Apple's innovation, design and technology.  However, I am beginning to lose interest wth the product as well.
    I have an iPhone 5, my phone's battery can only last an hour and the phone is 7 month old.  The problem started last week while I was in Argentina. I had a bad holiday due to this, as I could not make use of the technology because my phone was off most of the time and I had nowehere to charge except to go back to the hotel.  I could not even share pictures on Instagram.  Has anyone ever experienced such a problem?  If so, why and how was the problem fixed?  I am starting to engage in a debate that I have been trying to avoid with my friends.  They say that Samsung is striving and I now tend to agree, and if the problem persists I will gladly join the Samsung family. They seem to make reliable phones.  Sadly, I never experienced this problem with iPhone 3GS & iPhone 4S.
    With Gratitude,
    Thapelo

    Hello,
    If you're in a country where there's an apple shop (unfortunately not mine), go check it and ask the employee about it: he's gonna check your Iphone on a "device"
    I've got an iphone 5 and it's working very well with me but I have to admit that its battery lasts (slower) than my Ipad 2.
    Still i can help with some tips that may improve your iohone's battery by an hour in addition (hopefully):
    - close all apps by multitasking....
    - do NOT keep the brightness to the max
    Believe me you're gonna regret changing your phone to a samsung
    Hope i've helped and sorry for my bad english (has english as 3rd language)

  • My wireless keyboard no longer connects with my iMac since changing the batteries. It now shows as not connected, not paired and not configured. A friend recently connected his iPad to the iMac and since then the problem started. Any ideas to resolve this

    My wireless keyboard no longer connects with my iMac since changing the batteries. It now shows as not connected, not paired and not configured. A friend recently connected his iPad to the iMac and since then the problem started. Any ideas to resolve this?

    a friend told me that he wants my os x cd for my macbook pro to upgrade his imac.
    The discs that come with your Mac are "machine specfic" and cannot be used on another Mac.

  • I am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unable to do so with my iMac. This problem started suddenly and the error message i get is error 5.7.8. Please Help

    I  am having problems with my outlook 2011. While i am able to check and SEND email on all my other devices ( Ipad, iphone, Macbook), I am unablesend any email with my iMac ( i can recieve email) . This problem started suddenly and the error message i get is error 5.7.8. I have read the threads on line and went into settings, even created a new profile, nothing helps...Please advice..is this something to do with my keychain Access?

    As Outlook is not an Apple product, you will find more helpers familiar with Outlook here:
    Office for Mac forums

  • Having problems with Facebook on my ipad2. Updated operating system. Problem started before that and continues. Can't click on like or make comments. Sent email to Facebook. Their response was that they don't answer individual emails but read them. Sigh!

    Stated above, I have issues with Facebook and my iPad 2. I have updated the operating system, but the problem started before that. Can't click on like or enter comments. Problem started about a week ago. Sent email to Facebook and they responded that they don't answer individual emails but read them. Lots help that was.

    Facebook is basically broken, at least as far as it pertains to mobile browsers. THey changed something in their coding and now mobile browsers don't work with facebook. ANd their app, well their app has been less than stellar for a long time.
    Unfortunately, it's up to facebook to fix things, not apple. All you can do is find work arounds. Look for third party apps, I have one called Facely HD which seems to work reasonably well (even though it does seem to not see all posts). There may be others that work better. You can also simply not access facebook on your mobile until they fix it.
    It's all on them and users can only be patient or find other ways to work around it.

Maybe you are looking for

  • Bridge CS4 HTML Gallery

    All of a sudden, the HTML Gallery option in Output/Web Gallery is gone! It's still available on my laptop, so I can still access it. But where did it go and how can I get it back? I made the mistake of updating the CS4 products...maybe that was it. A

  • Need to change size of I-beam and cross for accessibility

    I am visually impaired and use Acrobat Pro for my job.  I have gotten to the point that I can no longer see the I-beam or cross as they move around the page.  I have resolved this at the OS (Windows 7) level and have larger and thicker pointers that

  • How do i set a security code for my credit card

    How do i set a new security code for my credit card?  My daughter is going over her set limit & i need to change the code again. I paid 19.99 last time to get her old i pod setup that is no longer working.  Do i have to pay apple support again or is

  • Parts of my screen won't work...?

    Only some parts of my screen don't work. This only happens on certain parts of my ipod, though. For example, on the "mail" and "playlist" menus, some apps, and on my vertical keyboard, I can't select certain things when I tap them. I have tried resta

  • Useing toplink jpa in jdev11 and mysql4,but meet the DatabaseException

    Hello everyone,I'm useing toplink jpa in jdev11 and mysql4.I create a class from database success.Then I use "Java Service Facade" to create a class called JavaServiceFacade sucess.Then I add some code: System.out.println(javaServiceFacade.queryCnati