Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Windows 2003 Server - Web service problem

Thread Tools
 
Search this Thread
 
Old 20 February 2006, 10:11 PM
  #1  
tarmac terror
Scooby Regular
Thread Starter
iTrader: (2)
 
tarmac terror's Avatar
 
Join Date: May 2005
Location: Northern Ireland
Posts: 2,498
Received 0 Likes on 0 Posts
Default Windows 2003 Server - Web service problem

Please bear with me on this one I will try to explain as best as I can.

I have two Windows 2003 based servers, a database server running Oracle 10g (10.1.0) the other which runs a web service to push data out to and recover data from 35 remote staging servers by polling each of them once every hour.

The second server acts also as a web server serving up an interface which allows role based access to the data in the Oracle back end.

My problem is this - I administer all these servers remotely but the webserver is causing me a problem. If this server needs to be restarted I need to log on to enable the web service to be started.

My question essentially is, is there a means by which I can restart windows 2003 server and force a webservice to start without the need to be logged on to the server.

Thanks in advance,
TT
Old 20 February 2006, 10:23 PM
  #2  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
Default

Can you define what you mean by a "web service"?

Is this a custom application?
Old 20 February 2006, 10:54 PM
  #3  
tarmac terror
Scooby Regular
Thread Starter
iTrader: (2)
 
tarmac terror's Avatar
 
Join Date: May 2005
Location: Northern Ireland
Posts: 2,498
Received 0 Likes on 0 Posts
Default

A web service = a platform independent protocol for exchanging data between applications. In this case a custom application written in Java.

TT
Old 21 February 2006, 12:15 AM
  #4  
TopBanana
Scooby Regular
 
TopBanana's Avatar
 
Join Date: Jan 2001
Posts: 9,781
Likes: 0
Received 0 Likes on 0 Posts
Default

To restart the machine:
Open a computer management console, right-click on root note, connect to another computer. Right-click on root again, choose properties, advanced, startup and recovery. There is a button in the bottom-right to restart.
You can also use the SHUTDOWN command, i.e. SHUTDOWN -r -f -m machinename

You seem to have got the definition of web services wrong. A web service is an interface something else can call to pull information from, it can't ever 'push'. Is it a Windows service you need to start, or an interactive application, or an IIS website?
Old 21 February 2006, 07:27 PM
  #5  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
Default

I'm no expert on Java, but I'll try and answer...

I would think you could do this by converting the Java application to run as a Windows Service. You could then run this as a restricted user for a bit more security.

If the application is/needs interactive(ion), you would probably need to re-code it? Write another app as an interface to the Windows Service to interact?

Iirc, I heard something about jvm shuts itself down when a user logs out regardless of another app using it in a different session? Can't confirm this from experience..

Another possible way I thought of, is for Windows to auto login and run the application. Not very secure though.

hth
Old 21 February 2006, 08:46 PM
  #6  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Default

How do you start your web service?

I can probably knock a script up that can do this.

Mail me at david@wallis2000.co.uk

David
Old 22 February 2006, 09:48 PM
  #7  
tarmac terror
Scooby Regular
Thread Starter
iTrader: (2)
 
tarmac terror's Avatar
 
Join Date: May 2005
Location: Northern Ireland
Posts: 2,498
Received 0 Likes on 0 Posts
Default

the system is an inherited bag of nails.

Banana - you are quite right the web service is only used to bring back data. Push merge replication is used to distribute data to the staging servers.

David - I will drop you an email probably over the weekend with details.

Thanks all.

TT
Old 22 February 2006, 10:47 PM
  #8  
andys
Scooby Regular
 
andys's Avatar
 
Join Date: Jun 1999
Posts: 779
Likes: 0
Received 0 Likes on 0 Posts
Default

Are you using WDSL and UDDI?
Old 23 February 2006, 04:24 PM
  #9  
TopBanana
Scooby Regular
 
TopBanana's Avatar
 
Join Date: Jan 2001
Posts: 9,781
Likes: 0
Received 0 Likes on 0 Posts
Default

Does *anyone* actually use UDDI?
Old 23 February 2006, 06:54 PM
  #10  
tarmac terror
Scooby Regular
Thread Starter
iTrader: (2)
 
tarmac terror's Avatar
 
Join Date: May 2005
Location: Northern Ireland
Posts: 2,498
Received 0 Likes on 0 Posts
Default

wsdl
Old 23 February 2006, 09:39 PM
  #11  
KiwiGTI
Scooby Regular
 
KiwiGTI's Avatar
 
Join Date: Aug 2004
Posts: 4,631
Likes: 0
Received 0 Likes on 0 Posts
Default

`1
Old 24 February 2006, 10:46 AM
  #12  
andys
Scooby Regular
 
andys's Avatar
 
Join Date: Jun 1999
Posts: 779
Likes: 0
Received 0 Likes on 0 Posts
Default

Yep thanks for spotting the typo
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM
PetrolHeadKid
Driving Dynamics
10
05 October 2015 05:19 PM
WrxSti03
Drivetrain
11
29 September 2015 10:21 AM
techdw
ScoobyNet General
12
28 September 2015 07:09 AM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM



Quick Reply: Windows 2003 Server - Web service problem



All times are GMT +1. The time now is 04:28 AM.