Glassfish 4.x doesn't work on Windows 8.1 - intellij-idea

i've been trying lately to run my web application on Glassfish, i tried with netbeans and intellij and both show the same error :
could not start Glassfish server :DAS port is occupied while server is not running
or
Could not start GlassFish Server: Administrator port is occupied by null
i'm sure that the port 4848 is not occupied (8080 too)
And when running intellij on Windows 7, it worked, so what's the problem when running it on Windows 8.1?

I guess its a permission problem. You should check if the windows user you are using has the right permissions to start and modify GlassFish files.
Check the permissions of your domain folder (probably <GLASSFISH_INSTALLATION>\glassfish\domains\domain1), you should have all permissions (total control) on this folder. If this doesn't help, you may have to check the permissions of the whole <GLASSFISH_INSTALLATION> folder.
Other things to check:
Windows Firewall
check if ports are really free: netstat -aon | find ":4848"

Related

Apache - CentOS 8 - Can't view hosted webpage except from the local server

The Issue: I have disabled SELinux entirely. We have Apache running on a CentOS 8 VM. We have a simple information page running on the server. It displays great when we are on that VM in Gnome using either 127.0.0.1, locahost, or it's actual IP address. However, we cannot view this page from the same subnet or any subnet. The message we get in our browsers when off that server is "server took too long to respond". I am thinking there is some small little thing we must be missing in the Apache config. We even have Webmin on there to make the administration easier. I have never had this problem with CentOS 5/6/7 previously. I know that CentOS 8 is the last release as RHEL has bought it, and they want to see CentOS killed off.
Actions Taken:
Disabled SE Linux entirely to eliminate it being a firewall issue.
Installed Webmin to have access to the Apache administration module making looking for any issue easier.
Tested from the server itself in Gnome which the page comes up.
Tested from other computers on the same subnet, off the same switch.
Tested from other subnet computers.

FreeNAS VM's not starting

I am running FreeNAS 11.1-U5 at home. I have everything configured and have created VM's for Windows Server, Ubuntu, pfSense, FreePBX. I was able to install Windows and Ubuntu, but shortly after (a few hours after installing them), and after turning them off through the FreeNAS GUI, they have stopped turning on. FreeNAS reports at the top of the GUI that the start was successful, but the VM details still read "stopped".
I have run the VM's before and have the required settings in my CMOS configured for the Host (FreeNAS machine). Restarting the host will fix the problem for a while and it will let me work with the VM's, but I cannot keep restarting FreeNAS. Can anyone tell me why this happens and how to fix it please?

Wamp is not working after Windows 10 upgrade

WampServer worked fine on my computer running Windows 8.1. I've upgraded to Windows 10, and now Wamp is not working. The WAMP icon is red. I've looked into the Internet Information Services and found that World Wide Web Services folder was unchecked. I went to services.msc and the World Wide Web Publishing Service is missing from the list. Took off skype from port80. I've tried changing the port address in httpd.conf to 8090 and 9080. I tested port80 through WAMP - Apache interface and found out that "Your port 80 is not actually used". I'm not very good at using the command prompt. I don't know how to ensure that Apache uses port 80. I'm asking if this the problem and how to fix it. Or at least how to get WAMP working again. Thanks!
If you had WAMPServer installed before you upgraded to Windows 10 then the solution is simple. The problem is that the W10 upgrade does not know about the Apache and MYSQL (wampmysqld and wampapache) services, and therefore does not re-register them.
All you have to do is this using the wampmanager menus
wampmanager -> MYSQL -> Service -> Install Service
wampmanager -> Apache -> Service -> Install Service
Its probably a good idea to the exit WAMPServer and then restart it, but not usually necessary.
I tried several ways to make it run but it didn't. Suddenly, I selected a different version of PHP from WAMP tray and it did the trick. May be it will help many out there facing this issue.

red5 server installer

I installed Red5 Server and when I run http://localhost:5080 it shows that red5 is installed successfully. But when I try to run installer folder, it gives error as follow:
Host: localhost >Trying to connect
Net status: NetConnection.Connect.Rejected
Net status: NetConnection.Connect.Closed
Trying to connect to war location
I had installed it on Linux box and was facing the same problem when accessing URL from remote machine browser using IP. the problem was in my firewall settings, it needs two ports basically, Port - 5080 to open on http and Port - 1935. I had opened the port 5080 but 1935. after opening up the later i was able to access it.
Hope this helps you.
type http://your_ip:_port to your browser
ip: your specified while installation of red5
port: your specified port number in installation
you will see installer link, click on, then choose each Demo and click Install
after both installation progress, check your red5 installation directory for installed demos.Also you will be able to launch demos in http://your_ip:port/demos/ page.
NOTE: I assume that you started red5 service on pc, otherwise go services.msc and start red5 service before these

Cannot re-install apache 2.2 services on XP through xampp

I'm trying to experiment with xampp. After having some space issues, I wanted to move my xampp install onto another drive (d:). However I have the apache 2.2 services in XP services which are still pointing to my original c: install. I only see how to start and stop. I'm hoping just removing the service will fix my issues.
So the question is two-part 1) how do i remove the service 2) based on this info can i simply reinstall afterwards to get the services running?
thanks
In a command prompt execute:
sc delete service
Where service be Apache and mysql.
Then go into your xampp control panel and check the little svc boxes. That will make them services again.
Be sure to run the "setup_xampp.bat" script in the root of your xampp server! You must do this each time your servers change directory (this feature is useful if you put your servers on a USB drive).
Good luck :)