yes I am running roller 4.0.1 on glassfish v3. The only thing i had to
change is to disable OpenJPA sql query caching to circumvent a CNFE
(which has been fixed in roller trunk already).
http://old.nabble.com/Roller-4.0-%2B-GlassFish-v3-Prelude:-OpenJPA-strangeness-%28CNFE:-org.apache.openjpa.util.CacheMap%29-td20533394s12275.html
regards,
--
Michael Bien
http://michael-bien.com/
On 01/12/2010 08:17 PM, Johan Rylander wrote:
I only get:
java.lang.NoClassDefFoundError: Could not initialize class
com.opensymphony.xwork2.util.DomHelper$DOMBuilder
on Glassfish (Suns Glassfish on Mac OS 10.6 aka Snow Leopard and latest roller)
I did fiddle around with the other versions of Glassfish and also puttings jars
in Glassfish own lib dirs but only got a little bit further. Besides, I would
like to actually know what the cause is but have not found time yet to actually
do it.
Any others that have tried? Tomcat went fine but I would like to use an ejb
server for other things. And for learning.
Cheers
/Johan R
On 11 jan 2010, at 09.38, Kim Tiedemann wrote:
Hi Dave,
Thanks for your reply - no there was not any mismatch... I checked it
multiple times and even had someone else to check it.
It seems that you cannot (at least not when you're deploying to
glassfish v3) name the jndi differently. When I named it jdbc/rollerdb
like the default - it works...
So now I have a running roller 4.0.1 on Glassfish v3 :-)
I have written a blog entry about the stuff I had to do to get it
running on Glassfish v3:
http://www.tiede.dk:8080/roller/kim/entry/installing_roller_4_0_1
Cheers
Kim
On Mon, Jan 11, 2010 at 5:07 AM, Dave<snoopd...@gmail.com> wrote:
This mailing list does not accept attachments so I cannot see your
Glassfish setup, but I'm going to guess that there is some mismatch
between what you have named the DataSource in Glassfish and what
Roller expects.
I don't know if there is anything special you'll need to do for
Glassfish V3. I lost interest in Glassfish about a year ago, or maybe
I should say Glassfish lost interest in me ;-)
Any Glassfish V3 users out there want to advise Kim?
- Dave
On Thu, Jan 7, 2010 at 6:12 AM, Kim Tiedemann<kimti...@gmail.com> wrote:
Hi all,
I am having a problem installing the Roller 4.0.1 on Glassfish v3.
The problem is jndi: I get the following exception in the log:
FATAL 2010-01-07 12:02:56,658 RollerContext:contextInitialized -
Roller Weblogger startup failed during app preparation
org.apache.roller.weblogger.business.startup.StartupException: ERROR:
cannot locate JNDI DataSource [java:comp/env/jdbc/roller]. Likely
problem: no DataSource or datasource is misconfigured.
So roller cannot find the jndi datasource.
In glassfish I have added a connection pool and a jdbc ressource named
jdbc/roller as can be seen in the attached file.
Is there anything I should configure differently when using glassfish v3?
Thanks in advance
Cheers
Kim