I've been told that Sun java is what's installed on the server I'm using. java 
-version gives me:
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Server VM (build 10.0-b22, mixed mode)

I don't see why I'm getting this error, which appears to the the root cause.

Caused by: java.lang.NoSuchMethodError: method java.util.Collections.emptySet 
with signature ()Ljava.util.Set; was not found.
   at com.google.inject.spi.SourceProviders.<clinit>(SourceProviders.java:37)
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   at com.google.inject.BinderImpl.<clinit>(BinderImpl.java:54)
   at java.lang.Class.initializeClass(libgcj.so.7rh)
   at com.google.inject.Guice.createInjector(Guice.java:75)
   at com.google.inject.Guice.createInjector(Guice.java:53)
   at com.google.inject.Guice.createInjector(Guice.java:43)
   at 
org.apache.roller.weblogger.business.GuiceWebloggerProvider.<init>(GuiceWebloggerProvider.java:53)

Also, what should the libgcj.so be?

-Tim
________________________________________
From: Dave [EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 10:47 AM
To: [email protected]
Subject: Re: Oracle configuration problem

On Tue, May 27, 2008 at 10:20 AM, Timothy Mizas
<[EMAIL PROTECTED]> wrote:
> Well, I've been able to get my test app to connect to the roller database and 
> query from the table. Now roller.log is giving me:
>
> FATAL 2008-05-27 10:39:29,658 RollerContext:contextInitialized - Roller 
> Weblogger bootstrap failed
> org.apache.roller.weblogger.business.BootstrapException: Error instantiating 
> default provider: org.apache.roller.weblogger.business.GuiceWebloggerProvider
> ...
> --- ROOT CAUSE ---
> java.lang.RuntimeException: Error instantiating backend module 
> org.apache.roller.weblogger.business.jpa.JPAWebloggerModule
>   at 
> org.apache.roller.weblogger.business.GuiceWebloggerProvider.<init>(GuiceWebloggerProvider.java:56)
>   at java.lang.Class.newInstance(libgcj.so.7rh)

That libgcj.so reference indicates that you are not using Sun Java and
that is probably the problem. Install Java SE 5 JDK, make sure it's
first in path and try again.

- Dave

Reply via email to