What is the use of running JBoss as a Windows Service? [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there any advantage in running JBoss as a windows service rather than running from run.bat? I'm running JBoss 4.0.3.
I'm not very familiar with windows so if someone can explain what the use of a Windows Service is or what the Linux equivalent is it will be very helpful.

The major difference is when JBoss is started. Using run.bat implies that someone has to log on to launch it, which is not ideal for 24x7 server software. As a Windows Service, JBoss would start automatically as the PC boots, without the need for anyone to log in (or any other human intervention).
Find out more about the benefits (and peculiarities) of Windows Services in the Windows Services FAQ.

The main benefit from my view, is that jboss will start automatically when the os boots. Otherwise you must log in, at least, and even though it could start as a login start event.

Related

Running windows command from linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
EDIT:
To be precise i wanted to control a windows host from a Linux command line.
Like executing a command under windows through ssh session or telnet from linux.
Windows doesn't have any inbuilt sshd server like linux.
So i would like to know whether it is possible or not.
You do it with winexe the look at winexe.
The page says it is capable of of running command on Windows NT/2000/XP/2003 systems from GNU/Linux (and possibly also from other Unices capable of building the Samba 4 software package).
I can also tell you that after configuring the windows firewall properly it also works on Windows 7 and Windows server 2008.

Turned on IIS in windows features but can't start it either using search->inetmgr or administrative tools [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I installed Windows 7 Ultimate on a machine. I turned on IIS using turn windows features on or off. See below:
But I can't start IIS! If I type IIS manager in search window, I don't get any result. If I browse to administrative tool, IIS is not there! See below:
I have also rebooted several times. Please help.
Also did iisreset.
C:\Windows\system32>iisreset
Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted
C:\Windows\system32>
There is no iis.msc under c:\windows\system32\inetsrv
C:\Windows\System32\inetsrv>dir *.msc
Volume in drive C has no label.
Volume Serial Number is BA56-4174
Directory of C:\Windows\System32\inetsrv
File Not Found
Fixed it. Hadn't turned on IIS->Web Management Tools -> IIS Management Console.
I can't write comments yet :( - so sorry its in an answer space.
if you open up a dos shell, and type iisreset, does anything happen? I ask to see if IIS is infact running. Either way, try uninstalling then reinstalling IIS.
If you want we can chat in a chat room on here....

how to prevent tomcat from hacker? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Today I recognized that my tomcat 6.0 has been deployed a strange webapp called jFoler 0.9.
After looking around, I realize that this webapp can upload, download, delete file on the server and computer system also. It also can do some cmd control, so I think it's very dangerous to my company if this happens again.
So how can I protect my server against the hacker?
1 install firewall
2 place tomcat box behind firewall
3 configure firewall to only allow access to port 80 on the tomcat machine to external devices and non admin internal devices.

Full Apache config migration [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I searched alot and didn't find an applicable answer.
I have a working LAMP setup on Ubuntu machine and I have to migrate to a new server in a different country.
The old server is 11.10, the new server is 12.04LTS.
My problem is that I simply can not remember the steps I followed when I configured the current server which is not the basic LAMP install.
It is Apache with FastCGI, SuEXEC, a GD library, worker MPM and all sitting on top of a mhddfs system. There are also other configs I've changed and I can not recall what they are.
Because of the complexity of the setup, my attempts to migrate to the new server fail. I get permissions errors, cgi problems etc.
Therefore my question is :
Is there a sane way to simply tar a full backup of the current web server installation, including MySQL, Php amd the apache server with all configs, and then move it to the new machine?
I shall be forever thankful on any advise. So far non of thise I found here gave me an answer.
Thanks!

I am looking for an application to host web services on FreeBSD [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
My boss has asked me to look into applications to host web services on our FreeBSD machine. Previously I have only used visual studios to do web services so I am wondering what is the best applications on there to host them on in a unix environment?
Thanks for the help!
EDIT: Just to be clear, I am talking about something like this: http://axis.apache.org/axis2/java/core/ I am just not familiar with what is the most popular/most stable ect. on the unix side of things.
It depends on the application you want to host.
There are several ways to solve your task:
Use normal web-server (e.g. Apache, Nginx and so on)
Use specialized software with innate web-server capabilities (e.g. Twisted, Node.JS and so on).
You need to be more concrete to get concreter answer :)

Resources