Run Web application as Specific user - windows

On my application server machine ,I have done drive mapping using specific user.
But with web application running on Tomcat I am not able to access this drive because tomcat runs as a windows service and not with user which has the actual access to drive mapped.
So i want know how to run web application on tomcat server with specific user.

Run Tomcat as a Windows Service ( http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html ) and make sure that you set the user to run the service as isn't the standard SERVICE user or whatever.

Related

Start up or register a Windows Service without having to enter user credentials during start up or installation

We have written a Windows Service that is planned to be deployed to many or all client windows machines in a company. For technical reasons this service has to be run under the logged in user (i.e. not under LocalSystem or any Service Account).
Furthermore it's a requirement that our software has to be deployed using an installer that requires no user interaction (e.g. silent mode is fully supported).
We now face the problem that we are unable to install our service without having the user to provide it's credentials.
My question now is:
Is it possible somehow either during the installation process or in a start up script of the end user to have a service registered or started up without having to enter the users credentials?
If that is not possible (which I assume): Is it possible to start a process as a regular process and
have it register itself as a service at startup, so it appears in the Services panel?
Any help or idea is appreciated.

Docker Searching Active directory users

I am dockerizing an asp.net mvc app with base image microsoft/aspnet (framework 4.8). I am able to deploy the app in an Aws Ec2 instance and was able to launch the app successfully but search AD users module seems to be failing. C# Directory sevices is failing connect to Ldap service and getting service not found error. I am able to do this search using the same code from local Machine and from a console application hosted inside the server.
Any thoughts?

IBM Websphere 6.1 start up with limited user access

I have successfully installed IBM websphere on my windows 7 machine as administrator user.
Now, when I am trying to run the server using limited access user login, it is exiting with message .
However, when I try to run it using administrative login, server runs successfully.
Since my user Id is of limited access, what needs to be done for starting successfully the server with user login.
Do I need to first create a profile associated with user login.
If yes, then how to create new user profile.
Since IBM Websphere was installed as administrator user, its installation directory (c:/Program Files/IBM/Websphere/*) was not accessible by limited access user. Since log files were also in the same directory, system was not allowing to start the server.
Also, I needed admin access on my system for starting/stopping the server.
I got read-write access on the installation folder and then again tried to start server using command prompt (serverStatus.bat server1).
The server started successfully on ports 9060/9043.

How to find all web services running on my system?

Is there a way to find all the web services running in my system?specifically rest services if possible?I am using windows 7 system 64 bit.
Well, I think you are thinking in two different things...
The first is "services" running on your operating system (Windows 7), and a service could be more than a web service, for example your database or your application server.
The second, a web service is running (when it works fine) through a application server (JBoss, Weblogic, Glassfish), not in a operating system, so if you want to know your web services you must to log in into your application server and search them, or check in the folder of deployments to know about it.

how do i run appliaction as service in windows

i created a ruby application and its working fine but when i run it as service it giving trouble. actully i have mysql as a databse in my application and i am using it to store only name of the file and placing the physical file on sambha server now when i run my applioaction as as service it's not able to find the path of sambha server... any hlep...
What user account is running the service? Windows defaults to using the local SYSTEM account, which cannot/should not access the network. If you change the service to run under the "Network Service" or a specific user account, it may succeed.

Resources