Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Start Web Server Pro from Command Line without GUI
Peter K
#1 Posted : Monday, July 4, 2011 5:22:11 AM(UTC)
Groups: Member
Joined: 7/4/2011(UTC)
Posts: 4
Location: Linz, Austria

Hello,

I just wanted to ask whether it is possible to start Web Server Pro from Command Line without GUI as can be done using Cassini?

Best Regards,
Peter
Ultidev Team
#2 Posted : Monday, July 4, 2011 10:42:37 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Peter!

Sorry for the delayed response.

Yes, it is possible. "%ProgramFiles%\UltiDev\Web Server" folder has four UWS.InteractiveServer.XXX.exe executables: one for CLR2 (ASP.NET 1.x-3.5) and one for CLR4. Each come in AnyCPU and x86 flavors, latter used to run as a 32-bit process on x64 systems.

You can see a screen shot here. More screen shots are here.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Peter K
#3 Posted : Tuesday, July 5, 2011 7:17:25 AM(UTC)
Groups: Member
Joined: 7/4/2011(UTC)
Posts: 4
Location: Linz, Austria

Hi,

thanks for your reply. I already tested the Interactive Server and it works fine. However I'm looking for a way to start an application without the GUI of the interactive server.

Best Regards,
Peter
Ultidev Team
#4 Posted : Tuesday, July 5, 2011 8:39:04 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Peter,

UltiDev Cassini Web Server can't be started interactively without a UI - black "DOS" window will still be there (it can be minimized). Only when one registers an application with web server's service, then there is no UI - and that's true for both Cassini and UWS Pro. UWS Pro has the UWS.RegApp.exe utility for registering applications with UWS Pro service.

Please let us know if this information was helpful.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Peter K
#5 Posted : Tuesday, July 5, 2011 8:58:45 AM(UTC)
Groups: Member
Joined: 7/4/2011(UTC)
Posts: 4
Location: Linz, Austria

Hi,

It is possible to start Cassini from another process (e.g. a Java Process) without any additional UI, which is what we are doing in order to be able to manage several instances of Cassini and other Processes with one single Tool.

Best Regards,
Peter
Ultidev Team
#6 Posted : Tuesday, July 5, 2011 9:56:39 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Peter,

Could you please describe your use case a little more, especially reasons for not registering your applications with the UWS service? The reason we ask is that even if you need the application to run only when an interactive user tells it to run, you could still register/unregister your application with the service programmatically using .NET or COM API at that particular moment.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Peter K
#7 Posted : Tuesday, July 5, 2011 11:03:23 AM(UTC)
Groups: Member
Joined: 7/4/2011(UTC)
Posts: 4
Location: Linz, Austria

Hi,

We're using Cassini for a demo application where we start various processes (native, java, .net) from a single tool called "Launcher". There are several reasons for us not to register our applications with a running service:
-we don't want to rely on a service running to be able to start our .net applications
-possible trouble with user rights
-what if service crashes
-we do want to write all logs to locations defined by our Launcher and visualize these in our Launcher
-we need to pass additional parameters/environment settings to our .net applications

so launching Cassini directly from the Launcher without registration at the service seems to be the better and easier solution for us.

As this is all possible with Cassini that's the way it is implemented right now and a change to using the service is not an option for us at the moment.

Unfortunately Cassini sometimes crashes for reasons we didn't find out yet so I thought it would be a good idea to try UWS pro.

Best Regards,
Peter
Ultidev Team
#8 Posted : Tuesday, July 5, 2011 12:49:43 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Peter,

If you can hide DOS window, can you hide the UWS Pro UI window too?

Let us comment on the use case items:

-we don't want to rely on a service running to be able to start our .net applications
UltiDev: UWS service has Recovery options configured to assure it's restarted by the system even if it crashes.

-possible trouble with user rights
UltiDev: UWS Pro allows you to host applications inside a worker process that runs under Local System user account, which is virtually as powerful as administrator with elevated privileges.

-what if service crashes
UltiDev: as mentioned above, it's restarted by the system.

-we do want to write all logs to locations defined by our Launcher and visualize these in our Launcher
UltiDev: should be the same complexity for both service and interactive modes.

-we need to pass additional parameters/environment settings to our .net applications
UltiDev: consider using database-based settings instead of environment variables.

Would it help if we added a feature allowing UWS interactive window to start minimized?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.