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: [ServletExec] Java Web Services on SE 5.0
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.




<html xmlns:o="urn:schemas-microsoft-com:office:office"            
xmlns:w="urn:schemas-microsoft-com:office:word"                       
xmlns:st1="urn:schemas-microsoft-com:office:smarttags"                
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html;                       
charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered               
medium)">
<o:SmartTagType                                                              
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType                                                              
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceName"/>
<o:SmartTagType                                                              
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceType"/>
<o:SmartTagType                                                              
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType                                                              
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>I&#8217;m trying to deploy a web service on an   
existing SE
instance and am running into trouble &#8211; probably due to ignorance.     
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>I collected an example from your web site for        
deploying a
web service on SE 5.0 (see <a
href="http://www.newatlanta.com/products/servletexec/self_help/webservices.
jsp">http://www.newatlanta.com/products/servletexec/self_help/webservice
s.jsp</a>,
Example 3)<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>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.                
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>I was able to get the step &#8216;Invoke
bin\compile-bindings&#8217;, but the next step lacked enough detail for me  
to
execute it. This step                                                           
says:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>&nbsp; - Configure the web application in        
ServletExec with a
URL context of                                                                  
&quot;/axis/&quot;.<o:p></o:p></span></font><
/p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; If you are using      
<st1:place w:st="on"><st1:City
w:st="on">ServletExec</st1:City> <st1:State               
w:st="on">AS</st1:State></st1:place>
then you will also need to update                                               
obj.conf,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; httpd.conf or         
servletexec.properties so
that URLs that begin with                                                       
&quot;/axis/&quot;<o:p></o:p></span></font></
p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp; will be directed to   
ServletExec.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>The whole reason I&#8217;m doing this example is 
because I don&#8217;t
know how to configure the web application, but the example passes it off as a
one line reference to something apparently obvious.                             
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>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?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>Do I create a folder called axis under webapps, and  
just put
the code there?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>-----------&
lt;o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-family:Arial'>Also, some of the instructions I&#8217;ve read   
call for me
to execute <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'>Start | Programs | New <st1:place                            
w:st="on"><st1:City                                             
w:st="on">Atlanta</st1:City></st1:place>
| ServletExec 5.0 AS | ServletExec                                              
Admin<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></
p>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'>But this brings up &#8216;page not found&#8217; in a    
browser. How do I
fix this?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal><font size=2 face=Arial><span                 
style='font-size:10.0pt;
font-f
amily:Arial'><o:p>&nbsp;</o:p></span></font>
</p>

<p class=MsoNormal style='text-autospace:none'><font size=2  
color="#505050"
face="Courier New"><span                                        
style='font-size:10.0pt;font-family:"Courier New";
color:#505050'>_________________________________________________________
_______________________<o:p></o:p></span></font></p&g
t;

<p class=MsoNormal style='text-autospace:none'><font size=2  
color="#505050"
face="Courier New"><span                                        
style='font-size:10.0pt;font-family:"Courier New";
color:#505050'><o:p>&nbsp;</o:p></span></font&g
t;</p>

<p class=MsoNormal                                                           
style='text-autospace:none'><i><font size=2               
color="#505050"
face="Courier New"><span                                        
style='font-size:10.0pt;font-family:"Courier New";
color:#505050;font-style:italic'>Michael                                
Kelly<o:p></o:p></span></font></i></p>

<p class=MsoNormal                                                           
style='text-autospace:none'><i><font size=2               
color="#505050"
face="Courier New"><span                                        
style='font-size:10.0pt;font-family:"Courier New";
color:#505050;font-style:italic'>UPMC Health                            
System<o:p></o:p></span></font></i></p>

<p class=MsoNormal                                                           
style='text-autospace:none'><i><font size=2               
color="#505050"
face="Courier New"><span                                        
style='font-size:10.0pt;font-family:"Courier New";
color:#505050;font-s
tyle:italic'><o:p>&nbsp;</o:p></span></font>
</i></p>

<p class=MsoNormal><i><font size=2 color="#505050"     
face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier                          
New";color:#505050;font-style:
italic'>Confidential <st1:place                                      
w:st="on"><st1:PlaceType                                        
w:st="on">University</st1:PlaceType>
of <st1:PlaceName w:st="on">Pittsburgh Medical                  
Center</st1:PlaceName></st1:place>
information.&nbsp; Any unauthorized or improper disclosure, copying,
distribution, or use of the contents of this document is prohibited.&nbsp;  
The
information contained in this E-Mail message is intended only for the personal
and confidential use of the recipient(s) named above.&nbsp; If you have
received this communication in error, please notify the sender immediately by
E-mail and delete the original message.</span></font><font       
color="#505050"><span
style='color:#505050'><o:p></o:p></span></font
></i></p>

<p class=MsoNormal><font size=3 face="Times New                   
Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></
p>

</div>

</body>

</html>

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