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

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.

Related

.NET 6 webapp returns 503 error on random intervals

I published a simple .NET 6.0 web app with user authentication on my IIS 10.0 web server hosted on Azure.
The application read and write data from a SQL Server 2017 database hosted on another machine on the same virtual network of the web server.
Everything works fine but after a while, even though nobody is using the app, it stop working and send Http Error 503 Service Unavailable and I have to restart it every time from the application pool.
I enabled tracing on the event log, but I don't receive any message explaining this.
These are the application settings:
IIS application settings
I tried to follow these advices but none of them worked:
IIS HTTP Error 503. The service is unavailable
503 “Service Unavailable” error for all apps after installing .NET Core 2.2 Runtime & Hosting Bundle for Windows
.Net core Service Unavailable after Publish to IIS
On the same web server I have other applications but this problem appears only on this one. None of the other apps is using .NET 6, most use .NET Framework 4.7/4.8 and another couple .NET Core 3.1.
I also tried to publish the application on Azure WebApp service and it has the same problem.
1. If you're deploying on IIS, we can install DebugDiag Tools and then use the DebugDiag collection to crawl the dump logs.
2. If you are using the azure app service, it is recommended to get dump in the azure portal.
My Suggestion
Enable Failed Request Tracing, and find which request will cause the Http 503.
Maybe this 503 is not a problem with the code, and it is possible to find some useful information in the log.
Check the EventViewer, try to find the useful info about the application.
Download the DebugDiag Tools, use debugdiag collection to collect the dump file when the issue occured, and use the debugdiag analysis to analyze the dump file and check the stacktrace.
My suggestion can't tell you the root cause directly, but it will help you to find it. You are also welcome to update the useful stacktrace information in the future, and there will be more people to help you.
I'm currently having the issue but using MySQL on a remote server.
Azure WebApp, Azure VM (IIS 10) and AWS EC2.
Http Error 503 Service Unavailable when the database connection timesout or fails to connect and the AppPool failed to restart.
No crashes when debugging in VS via console app.
I changed the hosting model to out-of-process and this solved the issue.
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="outofprocess">

SSLHandshakeException republish error with WebSphere 8.5 using Eclipse Mars

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.

MQ 6.0 testing by UFT 12.02

I am trying to configure test automation project in UFT 12.02 for IBM Websphere MQ 6.0
I am facing the following error while connecting to MQ Queue Manager
(To run tests with IBM’s MQ client, make sure to install the MQ client on all machines running these tests.)
as per the above error description I need to install MQ client on my machine, but I cannot install it because IBM has been stopped supporting MQ 6.0 accordingly I didn't find it anywhere.
I have configured the same but in IBM RIT (Rational Integration Tester) and it was only required to configure the JAR files (com.ibm.mq.jar & connector.jar)
My question is; Is it applicable in UFT to configure only above two JAR files (just like IBM RIT) or it is necessary to install the MQ 6.0 Client?
And can I test the MQ 6.0 through UFT along with installing MQ 7.0 Client instead of 6.0, taking in consideration that the AUT is IBM Websphere MQ 6.0?
Also if applicable, can anyone provide the MQ Client download URL rather than IBM website?
Prior to V8.0 it was required to install the full client to receive support. Just grabbing the jar files worked but you risked IBM not supporting it if you wanted to open a PMR.
As of v8.0, IBM offers an all-Java client. I just provided the download instructions in another answer so instead of copying them, I'll link to that answer:
WMQ V8 Connection Factory setup on Tomcat using JNDI
One of the reasons this was not previously supported was that the old Java jars didn't have as much diagnostic function built in. IBM relied on the full client install for binary cient-side tracing, test programs, etc. The v8.0 stand-alone jars are really the way to go if you need an all-Java solution.
Note that support is based on the QMgr's license, not the client license (because that's free). If you are running a v6.0 QMgr other than the Linux Itanium version, then either you are paying a LOT of money for IBM Support or are running unsupported. If it is the latter, then you can't open a PMR anyway.
An unpatched v6.0 QMgr is effectively not secure. Even if you have applied the recommended security configurations, enough security-relevant APARS have now been discovered that you should consider an unpatched QMgr as being wide open.
As Tim notes in the comments, any version of MQ Client is supported with any version of MQ QMgr. Head over to the SupportPacs page and look for ones with names like MQC**. Pro tip - If you download a new client, it comes with XA transactionality enabled. No need to go grab the transactional client jar file (which put you out of license compliance anyway).

issue with IHS load balancer

I am wokring on websphere clusering (ND 8.5.5), and i want to use IHS (IBM HTTP SERVER) version 8.5.5 as load balancer but I can't find the download link of this version.
Do you guys have any idea where can i find it ?
IBM HTTP Server is a software that is included with the WAS license and can be downloaded in the same place as where you would get the installation files for your WAS server.
If you have Passport advantage with you WAS server you can download the IBM HTTP server from there as well. Note though that downloading software may be limited to only some users at your company. If so you need to contact your technical administrator at your company to either give you that access or let you know who can help you.
I have also found download links att IBMs IBM HTTP Server product page, but I have not gone all the way to test the download.
You need to download it form Passport advantage. It will be on set of files that have 'Supplement' in the file description. Download will contain IBM HTTP Server and WebSphere Plugin (installed via WebSphere Customization Toolkit). You will need to install both to be able to distribute workload to your cluster.
As far as I know IHS download from product page doesn't contain WCT and Plugin.
See also:
Installing IBM HTTP Server
Installing and configuring web server plug-ins
UPDATE
The Network deployment media contains IHS and plugin. Download the following files form Passport Advantage:
IBM WebSphere Application Server V8.5.5 Supplements (1 of 3) for Multiplatform Multilingual (CIK1VML)
IBM WebSphere Application Server V8.5.5 Supplements (2 of 3) for Multiplatform Multilingual (CIK1WML)
IBM WebSphere Application Server V8.5.5 Supplements (3 of 3) for Multiplatform Multilingual (CIK1XML )

Mule Anypoint Gateway for .NET platform not running as a service in windows 7 professional desktop

I am trying to use MSMQ queue inside Mule flow;Going by the docs here, I find we need to run Anypoint Gateway as a service. The service wont run and gives error:
"Error 1053: The service did not respond to the start or control request in a timely fashion"
System:windows 7 professional desktop 64 bit;
How to resolve the issue?
Info from System logs:
A timeout was reached (30000 milliseconds) while waiting for the Anypoint Gateway service to connect.
Info from Application logs:
The program AnyPoint-Gateway-Service.exe version 1.0.0.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
Error from MSI installer:
Product: Anypoint Gateway for Windows -- Error 1920. Service 'Anypoint Gateway' (MuleMSMQService) failed to start. Verify that you have sufficient privileges to start system services.
I have admin privileges to install any service and running on .NET 4.03 platform.
The Mule Doc says for a .NET 4.0 prerequisite.
But I resolved the above error by:
1.Updating to .NET 4.5 platform
2.Running the Anypoint-Gateway.exe as compatible for windows 7(tweaking the properties of exe).
3.Also check if you have admin rights.

Resources