You are in a good shape, the error you are seeing came from
NVelocityViewEngine, which means that you are already have apache and the web.config
setup properly.
My first thought would be to check for the casing of the
index.vm and/or the home directory. Then, checking what the current directory
is for apache and testing that.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mircea
Jivoin
Sent: Thursday, October 12, 2006 3:17 AM
To: [email protected]
Subject: [Castle-users] MonoRail with Mono on Linux problem
Hi all,
Recently I've installed on a machine Fedora Core 4 linux and installed and
configured the mono with appache2.
I've copied a test app crated in VS that works fine on windows under Cassini
web server.
When I run it on linux it gives me this error:
Server error in '/' application
Description: Error processing request.
Error Message: HTTP 500.
Stack Trace:
NVelocity.Exception.ResourceNotFoundException: Resource could not be located: home/index.vm
at Castle.MonoRail.Framework.Views.NVelocity.CustomTemplate.Process () [0x00000]
at Castle.MonoRail.Framework.Views.NVelocity.CustomResourceManager.GetResource (System.String resourceName, ResourceType resourceType, System.String encoding) [0x00000]
at NVelocity.Runtime.RuntimeInstance.GetTemplate ( System.String name, System.String encoding) [0x00000]
at NVelocity.Runtime.RuntimeInstance.GetTemplate (System.String name) [0x00000]
at NVelocity.App.VelocityEngine.GetTemplate (System.String name) [0x00000]
at Castle.MonoRail.Framework.Views.NVelocity.NVelocityViewEngine.Process (IRailsEngineContext context, Castle.MonoRail.Framework.Controller controller, System.String viewName) [0x00000]
|
this I added in my httpd.conf
LoadModule mono_module modules/mod_mono.so
AddHandler mono .rails .aspx .ashx .asmx .ascx .asax .config .ascx
MonoRunXSP True
Alias / "/web/MyApp"
AddMonoApplications default "/:/web/MyApp"
<Location />
SetHandler mono
</Location>
<Location /mono>
SetHandler mono-ctrl
Order deny,allow
Deny from all
Allow from 192.168.100.20
</Location>
do I need to configure something else?
Thanks,
Mircea
|
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
CastleProject-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/castleproject-users