Avatar of mhaave
mhaaveFlag for Norway asked on

Glassfish running on IBM i5?


I'm just curious to know if anyone has testet glassfish v3 on an IBM i5 server V610, and made it work? I have tried it, but can't make it work. From QSH I get the following:

> asadmin start-domain                                    
Waiting for DAS to start .Error starting domain: domain1.
The server exited prematurely with exit code 1.          
Before it died, it produced the following output:        
`ççzNä     Ä     ¢£  åÔÖ £   ¢z@   ¤                    
 £@  £@¥    %ä¢                                          
.... Lots of garbage ..
Command start-domain failed.

I had to add the line "AS_JAVA=/QIBM/ProdData/Java400/jdk6" to the asenv.conf, or it gave me error on wrong Java version.
I can not see any errors in the server.log, but attach the log anyway.

Would be very happy if someone could give me the answer on this one.

Operating SystemsJava

Avatar of undefined
Last Comment

8/22/2022 - Mon

The log file says that it was successfulyl launched. Are you still getting the error after adding the AS_JAVA property?

Yes, the output described is after adding the AS_JAVA property. Before adding the AS_JAVA, the error was simply Wrong Java version.

Are there any other log files?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes

No, only server.log is present.

What happens if you start it with --watchdog or --verbose options?


I figured out a problem in the standard setup for domain1. A JVM system value is "-client". It seems the JVM for OS400 doesn't recognize this value. Removing it from the domain.xml made a big difference. Now the server starts, allthough the admin-console fails with "javax.xml.transform.TransformerFactoryConfigurationError: Provider com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl not found". Will test a few more options, and see what happens.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

BTW: --watchdog is not recognized as a valid option for "asadmin start-domain"

> Provider com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl not found"

it's probably some version incompatibility, since you are usign a newer version of java. Try to download another provider and set it in the command line

java -Djavax.xml.transform.TransformerFactory=<your transformer>

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

No problem. I suggest you ask a moderator to PAQ this question and refund the points to you.
Your help has saved me hundreds of hours of internet surfing.