users@glassfish.java.net

power pc + open jdk + glassfish

From: <forums_at_java.net>
Date: Tue, 10 May 2011 20:01:44 -0500 (CDT)

 I try to start glassfish on embedded powerpc using open jdk 1.6 build 22
and I got the following error.

[root_at_hana-009 bin]# ./asadmin start-domain CLASSPATH=
./../glassfish/modules/admin-cli.jar Commands: [start-domain] asadmin
extension directory: /usr/local/glassfish3/glassfish/lib/asadmin Prepare
Process program options Parsing program options Parse command options params:
{} operands: [] Prevalidate command options Inject command options Validate
command options Not using local password asadmin --host localhost --port 4848
--interactive=true --echo=false --terse=false start-domain --verbose=false
--upgrade=false --debug=false Execute command Respawn args: [--host,
localhost, --port, 4848, --secure=false, --terse=false, --echo=false,
--interactive=true, start-domain, --verbose=false, --debug=false,
--domaindir, /usr/local/glassfish3/glassfish/domains, domain1]
java.io.IOException: Invalid argument         at
sun.nio.ch.FileChannelImpl.lock0(Native Method)         at
sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:886)         at
java.nio.channels.FileChannel.tryLock(FileChannel.java:973)         at
java.util.logging.FileHandler.initOutputFiles(Unknown Source)         at
java.util.logging.FileHandler.init(Unknown Source)         at
java.util.logging.FileHandler.<init>(Unknown Source)         at
com.sun.enterprise.admin.launcher.GFLauncherLogger.addLogFileHandler(GFLauncherLogger.java:96)
        at
com.sun.enterprise.admin.launcher.GFLauncher.setup(GFLauncher.java:177)    
    at
com.sun.enterprise.admin.cli.StartDomainCommand.createLauncher(StartDomainCommand.java:190)
        at
com.sun.enterprise.admin.cli.StartDomainCommand.executeCommand(StartDomainCommand.java:102)
        at
com.sun.enterprise.admin.cli.CLICommand.execute(CLICommand.java:263)      
  at
com.sun.enterprise.admin.cli.AsadminMain.executeCommand(AsadminMain.java:295)
        at
com.sun.enterprise.admin.cli.AsadminMain.main(AsadminMain.java:227) Time
spent in master password extraction: 5242 msec /0.0.0.0 : 4848 --> FREE
hana-009/127.0.0.1 : 4848 --> FREE localhost/127.0.0.1 : 4848 --> FREE
Waiting for domain1 to start Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid .Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid .Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid .Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid .Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid .Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid .Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for pid
file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check for
pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid Check
for pid file: /usr/local/glassfish3/glassfish/domains/domain1/config/pid
Check for pid file:
/usr/local/glassfish3/glassfish/domains/domain1/config/pid ^C[root_at_hana-009
bin]#  


--
[Message sent by forum member 'daniil_k']
View Post: http://forums.java.net/node/800908