I need to verify a couple of things. First, has anyone determined
whether Glassfish will run on IBM i 6.1? I have Java 6 installed (the
IBM version) and I deployed using the multiplatform zip file. When I
attempt to start the latest V3 zip, I get the following:
$
cd
/usr/local/glassfishv3
$
bin/asadmin domain-start
domain1
java.lang.NoClassDefFoundError:
com/sun/enterprise/admin/cli/AsadminMain
at
java.lang.Throwable.<init>(Throwable.java:196)
at
java.lang.Error.<init>(Error.java:49)
at
java.lang.LinkageError.<init>(LinkageError.java:36)
at
java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:40
)
This looks like a classpath issue but I didn't see anything in the docs
about setting a classpath.
So, taking the V2.1.1 jar approach I ran this:
export
JAVA_HOME=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit
$
java -Xmx256m -jar
glassfish-installer-v2.1.1-b31g-aix.jar
Exception in thread "main" java.lang.NoClassDefFoundError: glassfish
Caused by: java.lang.ClassNotFoundException: glassfish
at java.net.URLClassLoader.findClass(URLClassLoader.java:421)
at java.lang.ClassLoader.loadClass(ClassLoader.java:643)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
at java.lang.ClassLoader.loadClass(ClassLoader.java:609)
Fixing either issue (the V3 or 2.1.1) would be helpful. Perhaps someone
has had experience with IBM i ? I used the AIX jar because it is the
most likely compatible version to the environment (PASE) that I could
find. Java -version returns:
java
-version
java version
"1.6.0"
Java(TM) SE Runtime Environment (build
pap3260sr6-20090925_01(SR6))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 OS/400 ppc-32
jvmap3260sr6-2009101
4 (JIT enabled, AOT
enabled)
J9VM -
20090923_042924
JIT -
r9_20090902_1330ifx1
GC -
20090817_AA)
JCL -
20090924_01
Thanks,
Pete