Netbeans 8.0.1 does not recognize that GlassFish 4.1 is running - linux

On Linux (Gentoo) if I start GlassFish from Netbeans/Services area, the server will started, the admin site is reachable, but in Netbeans I get the following error message:
GlassFish Server 4.1 start failed.
Please check server admin user name and password properties.
Also please check the server log file for other possible causes.
and I can neither start again, nor terminate.
Any idea?

Well, I had the same situation but on Mac. After I updated to macOS Sierra. In my case was a block on the sites that use system proxy settings, where localhost, 127.0.0.1, are blocked.
Perhaps, your case es similar, but a proxy setting on you Linux (GENTO).
For mac this is the solution AppServer issues from Netbeans
Step 1: (Try to search for the same on Linux) Go to system preference >Network>Select your wifi connection>Advanced>select
proxies tab. There check 3 options 1) Auto proxy Discovery 2)Automatic
Proxy configuration 3) web proxy(http)
Step 2: Go to Netbeans>preferences>General> select use system proxy> reload> test connection You may get connection successful. If
connection gets successful, Now Clean & build your Applications in
netbeans and press run .
I hope this help you and give you an idea.

Related

How to configure Xdebug for multiple users on a local machine?

I have a new installation of Centos 7 running cPanel and WHM on an AWS EC2 instance. All software is the latest versions.
I used WHM to setup 5 users, which in turn creates linux users with their own home directory and their own public_html directories. Then I have enabled MATE Desktop and Tigervnc so each developer can connect to the machine in a vnc session.
So basically this setup is 5 linux users with their own apache vhosts, running their IDE on the same local server.
I then installed Xdebug using pecl and now I want to setup VSCode on each persons account to use Xdebug. I am also using opcache.
When trying to use VSCode, it seems like we can get the debugger to work, but there is no output in the console of VSCode. I installed the php-debugger extension in VSCode.
Also we seem to have a problem with VSCode not able to handle include/require statements. It always says that they cannot be found. But the files are indeed there and indeed have the correct permissions to be read/written.
I am not really sure how to configure Xdebug and VSCode to get them to work for all local developers with VSCode. Will what I am doing even work? Do I need remote connections? Do I need a DBGp proxy? Does Xdebug only allow one debugging session at a time? Do I need to install Xdebug for each user?
Can anyone provide some directions on how to set this up?
Thanks
Will what I am doing even work?
Likely :-)
Do I need remote connections?
On the Xdebug side, it does not matter whether it's "remote" or on the same machine, in both cases a TCP/IP connection is used. The "remote" in "remote debugger" was always a bad choice of words by the Xdebug developer (me).
Do I need a DBGp proxy?
You don't need it. What you need to be able to do is to have each user initiate a debugging session to their own IDE. As everything runs on the same machine, you can't just reuse ports. Xdebug always connects to the same configured port (9003 by default).
There are two alternatives:
Use a the DBGp proxy to direct incoming connections from the Xdebug port to registered IDEs. Each of these IDEs will have registered their key with the proxy, so the proxy knows where to forward the request to. You will need to use a browser extension so that each developer can set their own unique IDE key as the Xdebug session (cookie) value.
Use Xdebug Cloud, which would handle the complicated proxy set-up for you, and the developers only have to set their IDE Key (or now, Cloud key) through the browser extension again, as well as in their IDE. Only PhpStorm supports this for now. There is configuration documentation available.
Does Xdebug only allow one debugging session at a time?
No. Xdebug supports one debugging connection per PHP request, but IDEs might not accept more than one incoming connection. Both PhpStorm and VS Code's Debug Plugin don't have this problem.
Do I need to install Xdebug for each user?
No. Xdebug is installed as part of PHP, and as you've only got one PHP installation, having Xdebug available as part of the is enough.

How should I configure openproject?

Hello everyone I would like some help on the installation of openproject; I tell you right away that I have tried them all and the result is always the same when I try to access from the browser with http: // ip address the error message is always the following:
"" "" Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache / 2.4.41 (Ubuntu) Server at 54.172.171.10 Port 80 "" ""
I wonder I performed the installation as per the procedure from the official website. Here guide https://www.openproject.org/docs/installation-and-operations/installation/packaged/#ubuntu-2004
Not happy, I also decided to follow some videos on youtube and magically both the installation and the browser access succeed. Here video https://www.youtube.com/results?search_query=how+install+and+configure+openproject
I also state that I have enabled all ports both inbound and outbound
Also I am wondering, if the installation includes apache and postgresql installed during the openproject installation process, why am I getting apache not available error? Finally, I add that no error occurred during the installation and the linux distribution was virgin as soon as it was installed and updated from all the repositories with all the dependencies necessary for the installation of openproject
Hope someone can help me solve

How To get Maximo 7.6.1 log in page after Installation

I am new to Maximo 7.6.1 installation. Have installed DB2, WAS 11.01 and Maximo 7.6.1 . All of them on the same personal laptop running Windows 10.
Installations successful (except for the final ear deployment). DB2 and WAS are successfully installed. On rebooting the laptop, I get following different logins db2admin,
maximo ,
maxdb76
My question is using which url I can access/ or get the login page of Maximo.
Try modifying this url based on your setup.
You may need to specify a port after hostname (e.g. :9080) if one is configured and specifying localhost or your IP address (found by running ipconfig from the command line) can help rule out any issues with hostname.
You said, "except for the final ear deployment" ... but it is that final EAR deployment that makes Maximo run when you start the app server you deploy it to. Once it is deployed and running, you should be able to access the Maximo login page by browsing to http://localhost:9080/maximo or https://localhost:9443/maximo.

REDHAWK_DEV domain connection fails on ubuntu 16.04, redhawk 2.0.6

I'm trying to connect my computer to a local redhawk domain. After running omniorb4-nameserver and omniorb-eventservice services I enter the IDE and go to "launch domain" option. Then the domain manager starts successfully, but I can't connect to it. The following message appears:
Failed to connect to Domain REDHAWK_DEV
org.eclipse.core.runtime.CoreException: Error while executing callable. Caused by org.omg.CORBA.ORBPackage.InvalidName
I've already tried to erase the log files in /var/lib/omniorb and /var/lib/omniEvents, stop and start the omniorb4-nameserver abd omniorb-eventservice event services. Nothing worked. My /etc/omniORB.cfg follows the instructions in https://redhawksdr.github.io/Documentation/mainch2.html#x4-160002.3.
A similar question was proposed in REDHAWK_DEV FAILED on 2.0.0, CentOS 6.7, without any useful answer so far.
Any help is appreciated
Thanks
Check that "nameclt resolve REDHAWK_DEV/REDHAWK_DEV" results in an IOR, and that "catior IOR:XXXXX" shows an okay IP address for that IOR. This will at least determine if the domain manager is actually registering in the naming service.
Also take a look through Appendix H of the REDHAWK Manual for other troubleshooting steps.
It turns out my proxy server was blocking even local connections.
To solve the problem I had to edit /etc/environment, adding the line
no_proxy="127.0.0.1,127.0.1.1", which were the local IP's I was using, and reboot.

unable to validate weblogic domain

I am new to JSF, was setting up my first workspace in Eclipse Helios and Weblogic 10.0 server, I am getting 'Stopped, Unable to validate weblogic domain' while trying to start the server. Same problem persists while trying to add a new domain.
Please help.
I am using WebLogic server 12c and the steps to resolve this issue is:
Start Weblogic server(I started through command prompt)
Go to Weblogic console page (login with admin credentials)
Domain Structure >> Select your domain (i was having base_domain)
Click on the Security tab
Check Anonymous Admin Lookup enabled. (by default its unchecked)
Save (save the changes)
** Restart the server (preferably through admin console)
Now, Start the server through eclipse. It should work.!!
Regards,
Maris
And here is the resolution :
Go to Window Tab -> Preferences -> General -> Network Connections
Change the Active provider to "Direct". The default is usually Native. and that's it. Close and restart eclipse.
It happened to me as well, I even reinstalled weblogic again, after a bit of research I decided to kill all of the Java(TM) Platform SE Binary process via Task Manager and restarted the Server.
That's all It took to resolve the issue.
I tested this on Weblogic 10.3.6. Luck!!

Resources