Dave,
I tried Java 5 and deploying a directory with no luck.
As the roller war created from the apache-roller-4.0.zip download works and
the errors indicated a problem with the RollerPU I swapped the
roller-business.jar and openjpa-0.9.7-incubating.jar files from that version
in C:\glassfish\domains\domain1\applications\j2ee-modules\roller\WEB-INF\lib
with those from the war compiled from the source code. I now get a 503 error
instaed of a 404.
Now there no errors seen in roller.log and the error in the server log is
now:
[#|2008-02-26T16:17:34.593-0500|SEVERE|sun-appserver9.1|javax.enterprise.sys
tem.container.web|_ThreadID=14;_ThreadName=pool-1-thread-4;_RequestID=af00c1
bd-35ae-47c1-af42-3b11116816a3;|WebModule[/roller]PWC1275: Exception sending
context initialized event to listener instance of class
org.apache.roller.weblogger.ui.core.RollerContext
java.lang.NoSuchMethodError:
org.apache.roller.weblogger.business.WeblogManager.getPage(Ljava/lang/String
;)Lorg/apache/roller/weblogger/pojos/WeblogTemplate;
at
org.apache.roller.weblogger.ui.rendering.velocity.RollerResourceLoader.getRe
sourceStream(RollerResourceLoader.java:80)
at org.apache.velocity.Template.process(Template.java:93)
I looked through the code but can't see where the problem might be. Any
ideas?
John.
-----Original Message-----
From: Dave [mailto:[EMAIL PROTECTED]
Sent: Monday, February 25, 2008 10:23 PM
To: [email protected]
Subject: Re: Compiling Roller code
On Mon, Feb 25, 2008 at 4:39 PM, John Langan <[EMAIL PROTECTED]> wrote:
> Dave,
> Thanks for the help. I've downloaded from the archive you indicated but I
> still get a 404 message when I try to deploy the war file in Glassfish
with
> the error messages below. If I deploy a war file created from the Roller
> apache-roller-4.0.zip download everything works fine and I can see the
blogs
> I have created. So my I am only getting the errors when I compile the
source
> code.
> Version: Roller 4.0
> Application Server: Glassfish V2
> Database: Oracle
> Java: Java 6 update 4
> OS: Windows XP
Hmm... that's a bit of a mystery to me. I build and run Roller 4.0 and
Roller 4.1 on Glassfish V2 just about everyday. Here are a couple of
things to try:
* try running with Java 5. I'm pretty sure I've never run Roller on Java 6.
* try deploying as a directory instead of a WAR
- Dave