SSLHandshakeException republish error with WebSphere 8.5 using Eclipse Mars - websphere

I am using WebSphere Developer Tools for Eclipse on Mars SR1. I am trying to republish my application on a remote WebSphere 8.5 server. I am running into a SSLHandshakeException error when I try to do an incremental publish.
A "Problem Occurred" dialog pops up with the following details:
The publish encountered some problems and the application may not have
been installed or it may have been successfully installed but was
unable to start. Removal of the following application is completed:
WebAppEAR Removal of the following application is completed:
WebAppEAR Failure uploading archive to server: Upload retry limit
exceeded for file
C:\Users\Administrator\workspace.metadata.plugins\com.ibm.etools.wrd.websphere.core\tmp1455916474993\TestEAR.ear.
Exception: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h:
PKIX path building failed:
java.security.cert.CertPathBuilderException: PKIXCertPathBuilderImpl
could not build a valid CertPath.;
The only way I can republish my application is to remove it from the server and re-add it.

This is currently a known problem with using WebSphere Application Server on Eclipse Mars with WebSphere Developer Tools. The technote below explains what's causing this problem and a few ways work around it.
IBM Technote: http://www-01.ibm.com/support/docview.wss?uid=swg21976357
Essentially, in Mars SR1 an EPP logging plugin was added, which conflicts with WebSphere Developer Tools. This affects the republishing on WAS V7, V8 and V85 using a secure profile with non-loose configuration (Run server with resources on Server). This includes remote servers, which always run with non-loose configuration and local servers that have that option enabled.
If you choose to disable the EPP logging plugin, please refer to the link below for the latest updates. Also, for those who are using Mars v2 now, please be aware the VM argument has changed slightly after Aeri v2 was introduced.
https://wiki.eclipse.org/EPP/Logging
Also, if you are using an existing workspace and the plugin wasn't disabled, you will have to delete the plugin directory manually. The folder is called "org.eclipse.epp.logging.aeri.ide.server" and it is located here: "workspace/.metadata/.plugins/".

It happens to me whenever I use add or remove projects option to remove the projects and add it back again. When we remove the project from server using eclipse sometimes it won't get remove from actual server. So when we add back again we get this exception. So make sure the project is uninstalled from server admin console when you remove it from server. If it is not, then uninstall forcefully from admin console.

Related

EMP system configuration 11.2.5 Deploy to application application server error

Last two days am facing an error while installing Oracle Essbase installation. I followed below steps
I have already installed the oracle database 12c.
I have download the file from this link https://www.oracle.com/middleware/technologies/epm-hyperion-foundation-services-downloads.html
I have selected configuration -> Hyperion foundation -> Configure common settings, configure the database, Deploy to the application server
Configure common settings, configure database installed successfully.
Deploy to the application server is showing an error
for reference I have added a screenshot, please help me to figure out this issue.

Is SonarLint 3.2.0 compatible with sonarqube 6.2?

I am trying to connect to a remote sonarqube 6.2 server from Sonarlint 3.2 plugin in eclipse neon. I am able to connect to my local server http://localhost:9000.
But When I am trying to hit the remote sonar server I am getting below error:
Fail to request https://xxxxxxxxxxxxxx:xxxx/xxx/api/system/status
Please advise.
I ran into this problem myself using SonarLint 3.1 and SonarQube 6.7.
In IntelliJ I kept running into this error message
Failed to connect to the server. Please check the configuration.
Error: Fail to request https://<SONARQUBE>/api/system/status
However I could access that URL through my browser without any issues.
When you WireShark the requests coming from the browser and the IDE you can see that the cypher suite is quite different and that the IDE plugin gets a TLS handshake failure.
That lead me to discover that Java still ships with limited strength cryptographic functions. That’s either because of US export policy or because nobody has gotten around to fixing it. The internet isn’t quite sure.
Either way, you can download the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files from Oracle: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
Once I installed those onto the IntelliJ JVM, I no longer got the underlying TLS handshake failure when trying to connect to SonarQube and the connection works.

WebSphere Server Error equires the WebSphere Application Server Version 6.1 Feature Pack for Web Services installed on the server

I am getting bellow error when starting the server WAS 6.1. which has web service component. Based on the error message i could understand i need to install feature pack to fix this error.
Publishing failed
WebSphere Server Error
WebSphere Server Error
The project, , requires the WebSphere Application Server Version 6.1 Feature Pack for Web Services installed on the server.
The WebSphere Application Server profile also needs to be augmented with Feature Pack for Web Services enabled.
To get the feature pack, see http://www.ibm.com/software/webservers/appserv/was/support/
but which version of feature pack should i patch it with.
Thanks for your help.
If you're going to continue to use WAS 6.1, which has been withdrawn from service for a few years, you should use the last published WAS fixpack and the last published Web Services Feature Pack. That's 6.1.0.47 and 6.1.0.45 respectively which should be pretty clear from the link in your error message.
But really you should get off of 6.1 as a priority.

Visual Studio webdeploy fail even when connection is validated?

I am trying to deploy my webapp VS2015 RC1 DNX 451. Even when I validate connection and run publish I get error
Severity Code Description Project File
Error Error Code: ERROR_USER_UNAUTHORIZED
Error More Information: Connected to the remote computer ("crocus.arvixe.com") using the Web Management Service, but could not authorize. Make sure that you are using the correct user name and password, that the site you are connecting to exists, and that the credentials represent a user who has permissions to access the site. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_USER_UNAUTHORIZED.
Error Error: The remote server returned an error: (401) Unauthorized.
Googling the issue and even trying to view host forum just says make sure username and password is correct. I am getting nowhere trying various settings. Any ideas how to debug the issue?
I am using Arvixe.com as host.
You should contact Arvixe.com. They likely have some odd configuration on their servers but I would suspect they can help you resolve the issue.
Arvixe does not support Web Deploy anymore. Once they move you to their new servers Web Deploy won't be available to you. In Visual Studio you can set up a Publish with FTP instead of Web Deploy. If you're used to Web Deploy publishing your database changes, then you'll need to do those yourself with SQL scripts. Entity Frameworks has an option to produce a SQL script for a migration, so you can use that to publish your EF database changes.

sql Plugin not working in Production Server and it could not find the jdbc drivers

I have created a plugin for connecting to sql thru jdbc driver in my development server. I tried to install the plugin thru update site , but i doesnt work for me for some reason.then copied the plugin into the "domino\workspace\applications\eclipse\plugins" folder in my server. and the connection is successfull. Then i copied the same plugin in my production server, but the connection fails, it throws error saying "it could not find the driver". what could be the reason?
Extension library version is different in Development and production server. Later i upgraded my production server with latest version of extension library and the problem is solved.

Resources