Application Server Solutions for Microsoft IIS and ASP.NET
       solutions   products   partners   company   support   downloads         store
View Interest List Message Details
<< Back to Search Results

Date: 09/26/2005
From: kellymt@upmc.edu
Subject: RE: [ServletExec] Java Web Services on SE 5.0
> Yes, if localhost does not work for you, then yes... you'll need to
edit 
> the example so that it does not try to use localhost (or any other 
> hostname that fails to function for you).
> Or you might try to figure out why your localhost is disabled, and
then 
> take steps to re-enable it.
> 
I have no problem changing references to localhost and have done that.

> 
> If you place HelloWorld.jsp at C:/ServletExec AS/se-GIFT, and it is 
> served, then that seems very odd to me.
> The C:\ServletExec AS\se-GIFT\ folder would not be a document root
(for 
> any context) by default.
> 
Not really odd since we do not use the default as the document root. IIS
has been configured to send jsps to the GIFT ServletExec instance via
the following line in the webadapter.properties file in the
Inetpub/scripts directory...

servletexec.GIFT.hosts=128.147.226.48, test.gift-d.org
servletexec.GIFT.applications=/example
servletexec.GIFT.aliases=/servlet,.shtml,.jsp
servletexec.GIFT.pool-increment=5
servletexec.GIFT.pool-max-idle=10
servletexec.GIFT.instances=128.147.226.48:8888


And the command used to run the SE instance is
java -classpath ".<snipped code>"
-Djava.naming.factory.initial=com.newatlanta.servletexec.InitialContextF
actory ServletExec -name "GIFT" -home "C:\ServletExec            
AS\se-GIFT" -root
"C:\ServletExec AS\se-GIFT" -port 8888

So when IIS sends a request to SE for a GIFT jsp lookup, SE knows to
look for GIFT jsps at C:\ServletExec AS\se-GIFT because of the                  
'-root'
setting in the command line. Naturally other instances are running on
different ports and locate their jsps in other folders. 

This non standard behavior. When SE sets up the StartServletExec.bat
file for a new instance, I'm pretty sure that by default it makes the
root the Inetpub folder you suggested. We modified it so that we could
arrange our jsps and servlet code for the different instances under
different folders. Makes things a heck of a lot cleaner. And sometimes
we deploy SE on a machine that does not have IIS, and thus no Inetpub
folder.

And actually, we set our root to C:\ServletExec AS\se-GIFT\jsps but I
thought it would be easier to follow if I left out the jsps subfolder. 

> Are you sure you don't have a HelloWorld.jsp
> sitting at ...\Inetpub\GIFT\ ?
> 
See previous comment. 

> Anyway, I'm glad to know that you are able to access the SE admin
pages 
> when you use the right hostname.
> Take care.
> 
> Matt McGinty
> Software Engineer
> New Atlanta Communications, LLC
> http://www.newatlanta.com 
> 
So how do I 
'Configure the web-service web application in ServletExec with a URL
context of "/axis/"' for this configuration.

Failing to be able to explain this for my configuration, could you tell
me what this means in any configuration?


-------------------------------------------------------------------------
ServletExec-Interest. For archives and unsubscribe instructions, visit:

    http://www.newatlanta.com/servletexec-interest.jsp

Message Thread
Date Subject Author
09/26/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/26/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/26/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/26/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/26/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 jitesh.h.amin@lmco.com
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 jitesh.h.amin@lmco.com
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/27/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/27/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/28/2005 RE: [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
09/28/2005 Re: [ServletExec] Java Web Services on SE 5.0 matt@newatlanta.com
09/26/2005 [ServletExec] Java Web Services on SE 5.0 kellymt@upmc.edu
<< Back to Search Results


   
company media information terms of use privacy policy contact us