PDA

View Full Version : Spring.Web with Mono and Fedora 5


Ted Husted
06-28-2006, 06:05 PM
I'd be interested in getting Spring.Web running under Fedora 5.

My first quick attempt ended with

----

Server error in '/' application
Failed to load httpHandler type `Spring.Web.Support.PageHandlerFactory, Spring.Web'
Description: Error processing request.

Error Message: HTTP 500. Failed to load httpHandler type `Spring.Web.Support.PageHandlerFactory, Spring.Web'

-----

Though, I was impressed by how little effort it took me to at least expose an error message :)

So far, all I did was:

0) Start with our basic Fedora 5 server
1) Download and unzip the mono.zip and webserver.zip RPM distributions (1.1.13.6) from http://www.mono-project.com/Downloads
2) Install it all in one fell swoop with rpm -iVh *.rpm
3) Follow the notes at http://www.mono-project.com/Xsp to get the simple server running
4) Checked out my working Web application from Subversion (as we do for IIS) under the "test" folder used by #3
5) Tried to open the application at http://zippy:8080/wqd/ (then reupped the server and tried again)

We use the Fedora 5 server to run JIRA and Confluence under Tomcat, and to host Subversion. It would be great to also use it as a test-site for the ASP.NET apps.

-Ted.

Mark Pollack
06-28-2006, 09:53 PM
Hi Ted,

Good to hear from you again. I've pinged Aleks on this one, he will take a look tomorrow, but I think it will take a bit of work to get Spring.Web working with mono because there are a some hacks that use reflection to access private/protected methods/member variables that are specific to the MS ASP.NET implementation. One tidbit I can point you to regarding Spring.NET and mono is this post - http://forum.springframework.net/showthread.php?t=490 regarding registration of the validation parser.

Cheers,
Mark

Ted Husted
06-29-2006, 09:32 PM
Yes, I saw that. Of course, right now, I don't think I'm even up to the part where anything gets parsed :)

I wonder if there should be a mono forum, or page on the wiki, since they threads are already getting spread all over the place.

-Ted.

Mark Pollack
06-29-2006, 09:50 PM
Hi,

I've made a mono forum - it can only help in organizing the efforts for mono. Thanks for the suggestion.

Cheers,
Mark

veerabhadra
07-17-2006, 01:02 PM
Hi all,
Can any one tell me where to configuare the object tag to validate the webcontrols inside the webform.

sakkew
01-27-2008, 06:28 PM
I have the same problem running the examples using Mono 1.2.6 and xsp2 on Win x64. Any ideas?

Failed to load httpHandler type `Spring.Web.Services.WebServiceHandlerFactory, Spring.Web'

Description: Error processing request.

Error Message: HTTP 500. System.Web.HttpException: Failed to load httpHandler type `Spring.Web.Services.WebServiceHandlerFactory, Spring.Web'

Stack Trace:

System.Web.HttpException: Failed to load httpHandler type `Spring.Web.Services.WebServiceHandlerFactory, Spring.Web'
at System.Web.Configuration.HttpHandlerAction.LoadTyp e (System.String type_name) [0x00000]
at System.Web.Configuration.HttpHandlerAction.GetHand lerInstance () [0x00000]
at System.Web.Configuration.HttpHandlersSection.Locat eHandler (System.String verb, System.String filepath) [0x00000]
at System.Web.HttpApplication.LocateHandler (System.String verb, System.String url) [0x00000]
at System.Web.HttpApplication.GetHandler (System.Web.HttpContext context) [0x00000]
at System.Web.HttpApplication+<>c__CompilerGenerated5.MoveNext () [0x00000]

Mark Pollack
01-28-2008, 08:11 PM
Hi,

Claiming nothing more than google skills, you might try to put the spring .dlls inside the bin directory (as compared to bin/debug)

http://lists.ximian.com/archives/public/mono-list/2006-June/031838.html

Cheers,
Mark