Richard,
Thanks much for your response.  What you say makes sense and I agree that
there is some flakiness here.  I was hoping to avoid restarting Jboss
because it takes so long.  But, what can you do?  I'm going to give it a try
first thing tomorrow.

I'll let you know how it goes.

Regards,
Philip

----- Original Message -----
From: "Richard Berger" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, January 21, 2004 4:17 PM
Subject: RE: jboss deployment question


I would suggest checking whether that file (layouts/html/default.vm)
exists in the deploy/jetspeed.ear/jetspeed.war/templates/vm directory.
I am guessing it is no longer there.  The reason that it disappeared is
probably due to your deployment approach.  With Jboss 3.2.3, I have been
deploying as follows (it is probably not the best way, but it works):

1) Case 1 - No .java changes
A) I use the "hotdeploy" ant target - seems to work fine

2) Case 2 - .java changes
A) I stop the Jboss server
B) I create a war file with the "war" ant target
C) I delete all the files under
Jboss..../default/deploy/jetspeed.ear/jetspeed.war
D) I unwar (extract) all the files from the .war created into the above
directory
E) Restart Jboss

I am sure there is a better way, but I am finding Jetspeed 1.4 a little
flakey on Jboss 3.2.3 (at least as it relates to castor.jar and
hsqldb.jar files - I still can't successfully start Jetspeed when
running Jboss inside Eclipse - and I am able to do that with no problems
using WebLogic 8.1 instead of Jboss 3.2.3).

Good luck,
RB



Twenty Years | One Mission | Accelerating Business Processes


Richard Berger
Action Technologies, Inc.
VP, Product Management
510.748.1017 (Office)
510.769.0596 (Fax)
www.actiontech.com

NOTE: The opinions expressed herein are those of the writer and not
necessarily those of Action Technologies, Inc. or its employees or its
affiliates.
-----Original Message-----
From: PSW [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 9:20 AM
To: [EMAIL PROTECTED]
Subject: jboss deployment question

Hi there,

I'm new to Jetspeed and the list and couldn't find an answer to my
question in the archives.

I'm using Jetspeed 1.4 on Jboss 3.2.2 (Tomcat)4.1.

When I deploy Jetspeed and start the server, all works fine.  However,
when I redeploy, the server goes through the motions of reloading the
war (deleting tmp files and recreating them, and such), I get the
following error.

_______________
Horrible Exception:
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'layouts/html/default.vm'
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(Re
sourceManagerImpl.java:501)
at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(Res
ourceManagerImpl.java:384)
at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.
java:814)
at
org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleto
njava:355)
at
org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:482)
at
org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
rethrown as org.apache.turbine.util.TurbineException: Error rendering
Velocity template: layouts/html/default.vm: Unable to find resource
'layouts/html/default.vm'
at
org.apache.turbine.services.velocity.TurbineVelocityService.renderingErr
or(TurbineVelocityService.java:533)
at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeReques
t(TurbineVelocityService.java:499)
at
org.apache.turbine.services.velocity.TurbineVelocityService.handleReques
t(TurbineVelocityService.java:336)
at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(Turbi
neVelocity.java:143)
at
org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild(Velocity
DirectLayout.java:106)
at org.apache.turbine.modules.Layout.build(Layout.java:91)
...
..
.



The strange thing is that I don't even have to make any changes, I only
have to 'touch jetspeed.war' and try it again after it reloads the
deployment.  I've been using Jboss for other things and I've never seen
this behavior, so, I'm hoping someone on the list might have some
thoughts on the subject.

Thanks very much.
PSW



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to