Windows 2003 Server - Web service problem
#1
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
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
#4
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?
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?
#5
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
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
#6
Scooby Regular
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
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
I can probably knock a script up that can do this.
Mail me at david@wallis2000.co.uk
David
#7
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
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
Trending Topics
Thread
Thread Starter
Forum
Replies
Last Post
hardcoreimpreza
Computer & Technology Related
21
11 October 2015 03:40 PM