Re: CFMX: how to access a servlet?? (again)

2002-11-13 Thread Marcello Frutig
Sean,

I've found that after stop/starting Apache, without touching CFMX, the JRun/Apache 
connector keeps working as expected. I've seen this using Linux.

I would expect, and in fact prefer, the same behaviour with JRun/IIS connector. I 
don't see as a good thing to have to start IIS before CFMX. I'm wondering if there is 
a config parameter for JRun/IIS connector that could change this. Maybe it's a bug, or 
an improvement that should be considered.

Thanks,
Marcello.

On Tuesday, Nov 12, 2002, at 06:12 US/Pacific, Marcello Frutig wrote:
 there is no need to create any special mapping on the external web 
 server to have CFMX serving servlets called via a url like 
 http://host/myMapping/MySerlvet. Just install the CFMX JRun Connector 
 and all the servlet mappings defined on WEB-INF/web.xml are processed 
 by the connector, as expected.

OK, well, that probably explains why more people hadn't reported the 
problem :)

 I figured out that we just need to make sure that the external web 
 server is (re)started before CFMX.

Interesting. If anything, I would expect the web server would need to 
be restarted *after* CFMX was restarted so that the JRun connector 
could re-establish its connection to CF (well, JRun Inside). Perhaps on 
Windows, IIS needs restarting first but on Solaris Apache needs 
restarting afterward? (which is what we do)

Anyway, I'm glad you have a solution.

SOAP is not so much a means of transmitting data
  but a mechanism for calling COM objects over the Web.
-- not Microsoft (surprisingly!)


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com



Re: CFMX: how to access a servlet?? (again)

2002-11-13 Thread Sean A Corfield
On Wednesday, Nov 13, 2002, at 09:40 US/Pacific, Marcello Frutig wrote:
 I would expect, and in fact prefer, the same behaviour with JRun/IIS 
 connector. I don't see as a good thing to have to start IIS before 
 CFMX. I'm wondering if there is a config parameter for JRun/IIS 
 connector that could change this. Maybe it's a bug, or an improvement 
 that should be considered.

I don't know enough about IIS to comment. Anyone?

Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.corfield.org/blog/

Introducing Macromedia Contribute. Web publishing for everyone.
Learn more at http://www.macromedia.com/contribute

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: CFMX: how to access a servlet?? (again)

2002-11-12 Thread Marcello Frutig
Sean,

there is no need to create any special mapping on the external web server to have CFMX 
serving servlets called via a url like http://host/myMapping/MySerlvet. Just install 
the CFMX JRun Connector and all the servlet mappings defined on WEB-INF/web.xml are 
processed by the connector, as expected.

I figured out that we just need to make sure that the external web server is 
(re)started before CFMX.

Regards,
Marcello.

On Monday, Nov 11, 2002, at 08:19 US/Pacific, Marcello Frutig wrote:
 afaik your suggestion only applies to IIS application mappings, which 
 is based on file extensions.

Then I guess you need to create a mapping of /servlet to the jrun.dll? 
(I'm not very familiar with IIS)

 The same is probably occurring with the JRun Connector for Apache.

I'm sure you can easily configure Apache to map /servlet to JRun.

 When using the CFMX internal web server, the servlet mappings declared 
 on the web.xml config file are being processed as expected, and it's 
 possible to call a servlet using a url like 
 http://host:8500/myMapping/MySerlvet.

Yes, those are the internal web server equivalent of what you need to 
do to IIS (or Apache).

SOAP is not so much a means of transmitting data
  but a mechanism for calling COM objects over the Web.
-- not Microsoft (surprisingly!)


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm



Re: CFMX: how to access a servlet?? (again)

2002-11-12 Thread Sean A Corfield
On Tuesday, Nov 12, 2002, at 06:12 US/Pacific, Marcello Frutig wrote:
 there is no need to create any special mapping on the external web 
 server to have CFMX serving servlets called via a url like 
 http://host/myMapping/MySerlvet. Just install the CFMX JRun Connector 
 and all the servlet mappings defined on WEB-INF/web.xml are processed 
 by the connector, as expected.

OK, well, that probably explains why more people hadn't reported the 
problem :)

 I figured out that we just need to make sure that the external web 
 server is (re)started before CFMX.

Interesting. If anything, I would expect the web server would need to 
be restarted *after* CFMX was restarted so that the JRun connector 
could re-establish its connection to CF (well, JRun Inside). Perhaps on 
Windows, IIS needs restarting first but on Solaris Apache needs 
restarting afterward? (which is what we do)

Anyway, I'm glad you have a solution.

SOAP is not so much a means of transmitting data
  but a mechanism for calling COM objects over the Web.
-- not Microsoft (surprisingly!)

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



Re: CFMX: how to access a servlet?? (again)

2002-11-11 Thread Marcello Frutig
Sean,

afaik your suggestion only applies to IIS application mappings, which is based on file 
extensions.

I think the problem here is that the CFMX JRun Connector for IIS is not intercepting 
urls like http://host/servlet/MyServlet and http://host/myMapping/MySerlvet. The same 
is probably occurring with the JRun Connector for Apache.

When using the CFMX internal web server, the servlet mappings declared on the web.xml 
config file are being processed as expected, and it's possible to call a servlet using 
a url like http://host:8500/myMapping/MySerlvet.

The same problem on MM forum: 
http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=3threadid=344321

Thanks,
Marcello.

On Friday, Nov 8, 2002, at 14:01 US/Pacific, Marcello Frutig wrote:
 How can I configure CFMX (probably the JRun connector) in order to 
 access a servlet using an external web server like IIS or Apache? I've 
 been trying with IIS but it's returning 404 - Not Found.

You need to tell IIS not to check for the file's existence.

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: CFMX: how to access a servlet?? (again)

2002-11-11 Thread Sean A Corfield
On Monday, Nov 11, 2002, at 08:19 US/Pacific, Marcello Frutig wrote:
 afaik your suggestion only applies to IIS application mappings, which 
 is based on file extensions.

Then I guess you need to create a mapping of /servlet to the jrun.dll? 
(I'm not very familiar with IIS)

 The same is probably occurring with the JRun Connector for Apache.

I'm sure you can easily configure Apache to map /servlet to JRun.

 When using the CFMX internal web server, the servlet mappings declared 
 on the web.xml config file are being processed as expected, and it's 
 possible to call a servlet using a url like 
 http://host:8500/myMapping/MySerlvet.

Yes, those are the internal web server equivalent of what you need to 
do to IIS (or Apache).

SOAP is not so much a means of transmitting data
  but a mechanism for calling COM objects over the Web.
-- not Microsoft (surprisingly!)

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



CFMX: how to access a servlet?? (again)

2002-11-08 Thread Marcello Frutig
Hello!

Using the CFMX's internal web server I can access a servlet with a URL like 
http://host:8500/servlet/MyServlet without problems. I can also declare a servlet 
mapping in the web.xml config file and access it with a URL like 
http://host:8500/myMapping/MySerlvet.

How can I configure CFMX (probably the JRun connector) in order to access a servlet 
using an external web server like IIS or Apache? I've been trying with IIS but it's 
returning 404 - Not Found.

Thanks in advance,
Marcello.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.



Re: CFMX: how to access a servlet?? (again)

2002-11-08 Thread Sean A Corfield
On Friday, Nov 8, 2002, at 14:01 US/Pacific, Marcello Frutig wrote:
 How can I configure CFMX (probably the JRun connector) in order to 
 access a servlet using an external web server like IIS or Apache? I've 
 been trying with IIS but it's returning 404 - Not Found.

You need to tell IIS not to check for the file's existence.

Sean A Corfield -- http://www.corfield.org/blog/

If you're not annoying somebody, you're not really alive.
-- Margaret Atwood

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm