Eclipse IDE to AWS - Editor will not connect - eclipse

I am able to connect to my database, so credentials are working.
I cannot get the editor to connect, here is my error message.
Could anyone help please, I don't fully understand what the error message means.
Unable to open the server editor: Unsupported solution stack: 64bit Amazon
Linux 2018.03 v2.8.1 running PHP 7.2
Unsupported solution stack: 64bit Amazon Linux 2018.03 v2.8.1 running PHP 7.2

Looking at the source code for this tool, this error message is thrown if your solution stack isn't running Tomcat 6, 7, or 8.

I had the same problem.
The issue was that I selected Java as the platform when creating a new environment.
I created another one with Tomcat as the environment and Eclipse now connects with no problem.

Related

Jprofiler and WebSphere 8 Integration Issue

I'm having some issues getting JProfiler connected to a remote WebSphere 8.5.5 instance that is running on Linux. When I start JProfiler on my Windows 10 machine I select the "Profile an application server, locally or remotely" and select the option to integrate with IBM WebSphere 8.x Application Server.
The part I'm having an issue with is the "Specify the remote address" section of setting up the profile. The setup says I need the profiling agent running on target JVM. I download the tar file from the JProfiler website and extract it on Linux machine and run jpenable as it says I should but I get this message.
"No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 1.6 and at most 11. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM."
I have made edits to the arguments file that came with the JProfiler in order to remedy this issue but I just can't seem to get JProfiler to see the IBM Java that WebSphere is using on this machine. I have tried using the INSTALL_JAVA_HOME_OVERRIDE variable in the arguments file by putting the full path to the WebSphere Java install. I have tried using the INSTALL4J_JAVA_PREFIX variable and I have created a INSTALL4J_JAVA_HOME variable in the arguments file and put the full path to the WebSphere Java.
Any help would be appreciated greatly appreciated in getting me around this issue. I have verified that WebSphere is using Java version 1.8.0_171.
but I just can't seem to get JProfiler to see the IBM Java that WebSphere is using on this machine.
That's because IBM JVMs are not supported for attach mode.
The setup says I need the profiling agent running on target JVM.
Generally, this is achieved by adding an -agentpath VM parameter to the profiled VM. The remote address that you are asked for in the wizard will be added as an option to that parameter. The wizard will then modify the server config file and add the complete VM parameter, so you don't have to it manually.
More information is available at
https://www.ej-technologies.com/resources/jprofiler/help/doc/main/profiling.html

Can't launch MySQL Workbench v6.3.8

I've seen similar posts regarding this issue on the site, but none of the posted resolutions worked for me. When I attempt to launch MySQL Workbench, nothing happens on-screen & 2 application log errors are generated. One is a very generic KERNEL32 event, and the other is .NET related:
Application: MySQLWorkbench.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException Stack: at MySQL.GUI.Workbench.Program.Main(System.String[])
Most of the resolutions I've found online relate to missing prerequisites, which include
.NET Framework 4.5
Visual C++ Redistributable for Visual Studio 2015
I have installed both of these on the machine but am still seeing the same behavior. Can anyone suggest anything else to try?
Upgrading to MySQL Workbench 6.3.9 resolved the issue
i installed MySQL Workbench 8.0.19 and I encountered the same error. When I installed the following package, my problem was solved and MySQL Workbench started.
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
(My operating system is 64 bit and I downloaded-> x64: vc_redist.x64.exe)

Terminating Flask's Internal Server in Eclipse ( Aptana Pydev)

I am using Aptana plugin in eclipse Luna. Pydev is already there in Aptana.
I am doing flask development using flask's internal web server (Werkzeug/0.10.1 Python/2.7.6).
When i run my project everything goes well but when i terminate run, my app server remain active.
It keeps serving and when i run my project again it gives me following socket error.
socket.error: [Errno 98] Address already in use
Previously i was using pydev without aptana and it was working fine. Now for every run i am killing process manually which is very annoying.
I am using ubuntu and virtualenv.
How can i overcome this issue ?
Thanks
I found solution after reading this thread.
Trick is while running your application pass use_reloader=False.
app.run("0.0.0.0", 5051, debug=True, use_reloader=False)

GlassFish Server 4.0 start error with JDK

I'm using NetBeans 7.3.1 with GlassFish Server 4
When I try to run a(any) project I get the following error.
Starting GlassFish Server
GlassFish Server Server start failed. Cant create start proccess.
C:\Users\ENES\Documents\NetBeansProjects\Tezmaksan\nbproject\build-impl.xml:1041: Deployment error: GlassFish Server Server start failed. Cant create start proccess.
See the server log for details.
BUILD FAILED (total time: 2 seconds)
I don't know where the log file is, I couldn't find it.
When I go bin directory of GlassFish and run startserv.bat, it looks like working because localhost:8080/ and localhost:4848/ are working. But my application still can't start.
When I go localhost:8080/Tezmaksan/ there is this error there
HTTP Status 500 - Internal Server Error
type Exception report
messageInternal Server Error
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.0 logs.
GlassFish Server Open Source Edition 4.0
I have last verison of JDK (1.7u25) installed and when I check from NetBeans it is selected for GlassFish. I'm using x64 Windows 7. I didn't have this problem 2-3 months ago, it just popped out. I tried uninstalling and reinstalling NetBeans, GlassFish and JDK and problem is still there.
Thanks for your helps
I got the solution after searching through the web.
Adding an option to a NetBeans setting file will do it.
Open NETBEANS_DIRECTORY/etc/netbeans.conf
Search for "netbeans_default_options"
Then add "--locale en"
So it will look like from this
netbeans_default_options="-J-client...
to this
netbeans_default_options="--locale en -J-client...
restart NetBeans, problem solved.

GlassFish Server works on Netbeans 7.2 but not on 7.3

I have just installed Netbeans 7.3. Prepared a sample web application.
But Glassfish does not start.
Error message is "....\nbproject\build-impl.xml:1036: Deployment error: GlassFish Server 3+ Server start failed. Cant create start proccess.
See the server log for details."
Unfortunately nothing in the server log.
I deleted domains folder and server then recreated. Nothing changed. :(
Is it a bug related to http://netbeans.org/bugzilla/show_bug.cgi?id=217228 ?
Any solution?
My system is 64 Bit Windows 7 with Turkish locale.
Web application is Primefaces based, JSF 2.1
I think this is about language settings.
You can change localization settings in the netBeans configuration file($NETBEANSHOME/etc/netbeans.conf).
Just add "--locale en" to end of the "netbeans_default_options" line.
Also you can start glassfish with asaadmin tool with following these steps.
1- execute C:\Program Files\glassfish-3.1.2.2\bin\asaadmin.bat
2- start-domain