users@glassfish.java.net

Glassfish on AIX error on startup

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 May 2008 11:47:16 PDT

Hello,
I am trying to run Glassfish on AIX. Everything installed properly but when I try to start the server using ./asadmin start-domain domain1 I get the following error:

[i]JVMJ9VM007E Command-line option unrecognised: -client
Could not create the Java virtual machine.

Usage: java [-options] class [args...]
           (to execute a class)
   or java [-jar] [-options] jarfile [args...]
           (to execute a jar file)

where options include:
    -cp -classpath <directories and zip/jar files separated by :>
              set search path for application classes and resources
    -D<name>=<value>
              set a system property
    -verbose[:class|gc|jni]
              enable verbose output
    -version print product version
    -version:<value>
        require the specified version to run
    -showversion print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
              include/exclude user private JREs in the version search
    -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
    -? -help print this help message
    -X print help on non-standard options
    -assert print help on assert options
[/i]

When I run java -version I get:

java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20051104)
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20051103 (JIT enabled)
J9VM - 20051027_03723_bHdSMR
JIT - 20051027_1437_r8
GC - 20051020_AA)
JCL - 20051102


I installed the glassfish-installer-v2ur2-b04-aix.jar version of glassfish.

Has anyone else received this error, if so what can be done to correct it?
Thanks in advance for any help you can provide.

Jon
[Message sent by forum member 'hoffmanjon' (hoffmanjon)]

http://forums.java.net/jive/thread.jspa?messageID=275788