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: matt@newatlanta.com
Subject: Re: [ServletExec] Java Web Services on SE 5.0
Michael,
Sorry that you had to rename some files to get our batch files to work.
I guess Axis is a moving target, and we'll need to get the examples        
updated.
I'm glad to know that you were able to move past that obstacle.

As for the "one line reference to something obvious"... when the 
documentation that comes with that example says:

---
If you are using ServletExec AS then you will also need to update obj.conf,

httpd.conf or servletexec.properties so that URLs that begin with               
"/axis/"

will be directed to ServletExec.
---


You can totally ignore that sentence if you are using SE 5.x or higher.
That sentence only applies to SE 4.x AS and older, because with those 
older versions of SE AS, it was alway neccessary to tell the webserver 
the routing "rules".

In other words, when the webserver gets the request, it needs to decide 
"should this request be passed over to SE, or should I the webserver 
serve it?".


With SE 4.x and older, the webserver answered that question by comparing 
the request URL against a listing of aliases (context paths, suffix 
aliases, etc...).
Such a listing had to be in a webserver configuration file.
But with SE 5.x the webserver gets the answer to that question by 
letting the SE AS native adapter answer it, and the way that the SE 
adapter answers it is to open a socket to the instance and ask it "is 
this request meant for you?".

So with SE 5.x, just ignore that sentence.
We'll need to update that documentation also.



No, you don't just create a folder called axis under webapps, and just 
put the code there.
You need to deploy a webapp using the SE admin pages.
So... you're having trouble accessing the SE admin pages?

What is the full and complete URL that you are using?
Since you mentioned that you are using:
Start | Programs | New Atlanta | ServletExec 5.0 AS | ServletExec Admin

I'm guessing that the URL that gets requested is:

http://localhost/servletexec/admin

right?

If so, and that does not work, then what happens if you create a simple 
helloWorld.html file, drop it into the doc root of your IIS website and 
then request it like this:
http://localhost/helloWorld.html


is it served?

If yes, then maybe go through all the steps given in SE FAQ #7:
http://www.newatlanta.com/c/products/servletexec/self_help/faq/detail?faqId=7

and let me know what you find.

If no, then what if you use some other hostname?
Maybe "localhost" is disabled on your server machine.

On what port does your website listen?
Is it port 80?

Matt McGinty
Software Engineer
New Atlanta Communications, LLC
http://www.newatlanta.com 



Kelly, Michael (DSI) wrote:

> I’m trying to deploy a web service on an existing SE instance and am 
> running into trouble – probably due to ignorance.
>
> I collected an example from your web site for deploying a web service 
> on SE 5.0 (see 
> http://www.newatlanta.com/products/servletexec/self_help/webservices.jsp, 

> Example 3)
>
> First of all as I followed the example, I downloaded Axis 1.2.1. The 
> name of some of the jar files have changed and you should probably 
> update your examples to make mention of this. For example 
> commons-discovery-0.2.jar is called commons-discovery-0.2.jar and 
> causes the bat files to fail. I created copies with the expected names 
> so the batch files would execute.
>
> I was able to get the step ‘Invoke bin\compile-bindings’, but the next 
> step lacked enough detail for me to execute it. This step says:
>
> - Configure the web application in ServletExec with a URL context of 
> "/axis/".
>
> If you are using ServletExec AS then you will also need to update 
> obj.conf,
>
> httpd.conf or servletexec.properties so that URLs that begin with          
"/axis/"
>
> will be directed to ServletExec.
>
> The whole reason I’m doing this example is because I don’t know how to 
> configure the web application, but the example passes it off as a one 
> line reference to something apparently obvious.
>
> I already have a working web site running and I want to install a web 
> service under the existing web site. The front end, IIS, picks up 
> requests addressed to a URL and passes the requests to port 8889 on 
> the same machine, where the SE instance is listening. The jsps are 
> correctly being read. What do I have to do to modify IIS or SE to 
> serve the examples web service?
>
> Do I create a folder called axis under webapps, and just put the code 
> there?
>
> -----------
>
> Also, some of the instructions I’ve read call for me to execute
>
> Start | Programs | New Atlanta | ServletExec 5.0 AS | ServletExec Admin
>
> But this brings up ‘page not found’ in a browser. How do I fix this?
>
>                                                                            
________________________________________________________________________________

>
> /Michael Kelly/
>
> /UPMC Health System/
>
> / /
>
> /Confidential University of Pittsburgh Medical Center information. Any 
> unauthorized or improper disclosure, copying, distribution, or use of 
> the contents of this document is prohibited. The information contained 
> in this E-Mail message is intended only for the personal and 
> confidential use of the recipient(s) named above. If you have received 
> this communication in error, please notify the sender immediately by 
> E-mail and delete the original message./
>

-------------------------------------------------------------------------
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