https://jira.jboss.org/jira/browse/RAILO-400
If I'm using a 'global' install of Railo into Tomcat (i.e. added the
Railo jar's to catalina.properties' class path, servlets to the global
web.xml etc. is there a way to then move the MB servlets to each
webroot's WEB-INF/ folder ? If you know what I mean. I've only got
half a head around this J2EE stuff :-)
--
Tom
More seriously, it probably precludes any serious use of Railo with
Flex over AMF3, if I can only have one Railo-using virtual host using
Flex Remoting :-(
Yeah, there are other options (i.e. WSDL web services) but their not
as performant.
--
Tom
Okaaaay......
I don't seem to have a per-context web.xml.... can I just go ahead and
create one inside ......./WEB-INF/ ?
# ls -lah ...../railo-test/webroot/WEB-INF
total 4.5K
drwxr-xr-x 4 chivertont users 128 2009-08-27 15:27 .
drwxr-xr-x 5 chivertont users 216 2009-08-28 11:57 ..
drwxr-xr-x 2 chivertont users 200 2009-08-27 15:27 flex
-rw-r--r-- 1 chivertont users 96 2009-08-27 15:27 .htaccess
drwxr-xr-x 18 chivertont users 608 2009-08-28 13:05 railo
In which case, can I just take the server-wide one and strip
everything else out, or is there some template I should follow ?
> Do you use Apache for your virtual host? I will try to setup Apache/
Yes, as per Sean's 'multi web' blog posting,
http://corfield.org/blog/index.cfm/do/blog.entry/entry/Railo_on_Tomcat__multiweb
> play with it, if it works I will make a post on the Railo blog,
> promised. Please don't go back to WSDL, I could never get over it to
> have you forced doing so. ;)
Cheers Roland. This is just about the last road block :-)
> I have to admit though that I can't find information on the BlazeDS
> forums/community about the problem, actually there's not much to find
> about BlazeDS at all. I know that you are very active in several Adobe
> communities, do you know someone that leads the BlazeDS community?
I am afraid not. I guess Adobe have some 'magic' that makes BlazeDS
work better with their ColdFusion engine.
> Would be nice to establish some communication.
I think they'd probably respond well to that- have you tried posting
to their web-based forum ?
--
Tom
Could you post the per-host web.xml files ?
--
Tom
Aww, cheers Gert :-)
--
Tom
If I understand right, I only have to change Tomcat's global
conf/web.xml, right ? And then add the boot strap lines to each web's
services-config.xml ? Looks easy...
I don't see that buying much, as I still have to go and add some stuff
to some file.
In fact, it's even less intuitive because although the server is
creating the services-config.xml it's creating it without a needed
setting.
If the boot strap code could be rolled into Railo, then could Railo
correct the services-config.xml (the first time it is created) for us
? That would really rock.
Having said that, this is an improvement, another great example of
listening to your community.
--
Tom
I dunno about Resin etc. but the Tomcat install I am using to play
with here doesn't create the per-context WEB-INF/web.xml file at all,
so as an alternative, could Railo generate one that included a
per-context MessageBroker (if the file doesn't exist) ?
--
Tom