We were having a problem where we were trying to deploy a webapp on glassfish 2.1; the app itself was compiled with Java 1.6 and glassfish was being launched with Java 1.5. It should be noted that in this case we were trying to launch glassfish from within IntelliJ IDEA.
If you're having the same problem, go into your {glassfish home}/config/asenv.conf and check to see whether this value is pointing to an earlier version of the JDK. It should be:
Hope this helps someone
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(37)
-
▼
June
(10)
- Daisy CMS - connecting a JMS listener to the repos...
- Daisy CMS - customising the footer of the editor p...
- Daisy CMS - allowing attributes in the SimpleDocum...
- JSF - ensuring your [xhtml] pages load with a text...
- Eclipse Galileo (3.5): Creating and running a JSF ...
- Using Eclipse Galileo to develop JSF applications ...
- SVN Web view - looking at older revisions
- Notes on setting up mod_proxy on apache 2.2 for pr...
- Addressing stability issues when running Eclipse 3...
- Forcing glassfish 2.1 to start-up with JDK1.6 (OSX)
-
▼
June
(10)
3 comments:
Thanks you !!!
u saved my life....
simples things... that can waste your time during hours and hours...
;)
but in fact it doesn't work........
NOOOOOOAAAAAAAAAAAAAAAAAAAAAA
Fred - sorry to hear it didn't work for you. I know we managed to get IntelliJ/Glassfish working on JDK1.6. Are you still having the problem or did you solve it?
Post a Comment