I have a Glassfish 3.1 server set up running on my development machine, and I'm trying to write a Java application that uses the OpenMQ JMS server built into Glassfish. I'm using Eclipse EE 3.6 for development (and have to as the application I'm developing is a plug-in for a Eclipse framework application - no changing to NetBeans!).
The problem is that my development machine isn't connected to the internet, so I can't download the Glassfish adapter from within Eclipse as told to do so in pretty much every online tutorial and guide I've found.
Is it possible to download the adapter on another computer, transfer it to the development machine, and install it into Eclipse 'offline'? And if so, how?
If adapter is available as a eclipse plugin(it must be available, if it can be updated via eclipse plugin update site) you can just download and keep it # eclipse_home/plugin folder and restart the eclipse.
Related
I started an Ububtu VM on google cloud platform that contains a payara application server (a fork of Glassfish) and everything works great. The deployed app is a bunch of WAR files.
Now I would like to debug the live application with google cloud debugger.
I tried to implement the manual's instructions from here and added support for war files as described here.
Yet, whenever I tried to take a debug snapshot the live application using files from my local computer and the war files I uploaded to my application server the debugger kept a problem occurred. The problem was that the debugger said it can't find the file in the executable.
I also tried to upload the sources to my VM compile them and deploy them to the application server. It didn't also work.
Does anyone have a working scenario where I can deploy war files to a Glassfish/Payara server and debug it within a VM on Google cloud platform?
Could you test it on a 64-bit Debian Linux image with Java JDK version 7, 8 or, 9?
Those seems to be a requisite for GCE.
First thing's first: I'm trying to develop an web service that is integrated with third party JCE(using Security.addProvider to use that jar which is packed into my WAR), but somehow when I deploy the WAR on my Websphere 8(with Java 1.8), it keep telling me that it cannot find the specified algorithm(AES) that I need unless I drag the JCE into Websphere's JRE and change its java security configurations.
Since I have no idea about the root cause, so I installed light-weighted websphere using the Eclipse's plugin install manager. Then I start the light-weighted server, select my web project and set it to debug on this server. But the Next screen I saw is "Context Root Not Found", even I changed the URL to the servlet.
I'm not familiar with WAS and it's liberty plugin, but isn't it suppose to run my project on it? like the Tomcat? Can anyone tell me how to run my WAR in it, so I can debug it? please?
First off, it looks like there is a misunderstanding on what Liberty is. When you say "light-weighted server" I'm assuming you mean Liberty, which is accurate -- Liberty is indeed a light-weight server.
However, WebSphere traditional and Liberty are two different products/servers. Liberty is not a plugin for WebSphere traditional.
A Java EE application running on WAS should behave very similarly to an application running on Liberty, because they are both Java EE compliant application servers. Since debugging and developing an application on Liberty will be easier/faster than on WAS, I would recommend using Liberty.
To debug your application on Liberty using the Eclipse WDT plugin:
Open eclipse with the WebSphere Developer Tools (WDT) plugin installed (you can get WDT here).
Follow this article to create a server using WDT. You can skip the parts about creating a sample application since you already have one.
Open the "Servers" view (using Window->Show View->Other...->Servers) and find your server:
Right click the server and do Add and remove... then add your application to the server
Set a breakpoint in your application code in Eclipse
Start the server in debug mode (by pressing the bug icon shown in step 3)
In the Eclipse menu, select Debug->Debug As->Debug on Server:
I installed codenvy SDK in my linux machine from github:
https://github.com/codenvy/sdk
After starting the server localhost:8080
I tried to run the simple hello java console application.
But when I run this app, I am getting the following error. Can someone please help?
"Runner environment 'system:/java/standalone/simple/cli' is not available for workspace '1q2w3e' on infra 'community'."
AFAIK Codenvy SDK does not support console app, only web-apps. To support different types of applications in the SDK docker can be used. But I don't know how to use it in SDK.
By the way you can use hosted version of Codenvy which support console apps (will be started in the docker.) You should not configure docker to use it, but custom receipts are supported too.
Here is console hello world app created in my workspace with Codenvy wizard.
This URL is factory - feature that allow to share projects easily. To copy this project to your workspace click "Persist" button on the top of IDE. Or create your own with a project wizard.
Console apps already supported in cloud version, while there are some problems with Eclipse plugin and as you ran into with Codenvy SDK (Eclipse Che)
Raise an issue at codenvy SDK and/or ask on forum https://groups.google.com/a/codenvy.com/forum/#!forum/codenvy
Don't forget to reference this question.
I am missing MySQL and other connection profiles in eclipse so that JBoss server throws errors. Unable to post image because of reputation ;)
I do have only:
Generic JDBC
HSQLDB
Using Eclipse Kepler and jboss eap 6.1 - already established MySQL server on my PC.
First, if you are going to do any Java web application development on eclipse, please make sure you are using Eclipse IDE for Java EE Developers. This will get most relevant plugins already installed and prevents you from downloading any further plugins.
You can download additional connection profiles via the DTP (Data Tools Platform) plugin. Either via "Eclipse Marketplace", Search for DTP or "Install New Software...", Enter your eclipse version in the "Work with: " field (in this case "Kepler ") and look for the Database Development > Data Tools Platform Enablement Extender SDK"
I was earlier using eclipse juno on linux enviroment. Now I have shifted to windows and installed eclipse kepler. I have already installed apache tomcat6 and its running successfully in browser.I am trying to run jsp files in eclipse by making server but tomcat is not showing.
I followed this way
window
preferences
server
runtime enviroment
add
but apache is not showing at all.Please see the screenshot
EDIT
I have even tried to download additional adapters but in the list tomcat is not there.Please see the below screenshot
If the apache option is not showing up then you need to download the server adapter for Apache. You can go to that by going to
Your JSP -->>right click and run on server --->Manually define a new server--->Download additional server adapter.
I got the same error when i started with kepler was not able to configure my JBOSS server.
Recheck is it Eclipse IDE for Java EE Developers ?