IBM Liberty Runtime Server.xml File Error - eclipse

I am getting errors as follows in the Liberty Runtime server.xml in Eclipse, I could not solve it.
Multiple annotations found at this line:
No grammar constraints (DTD or XML Schema).
Referenced file contains errors (file:/C:/Users/lenovo/eclipse-workspace/.metadata/.plugins/com.ibm.ws.st.core/Liberty Runtime/server.xsd). For more information, right click on the message in the Problems View and select "Show Details.
I used versions below
Eclipse version: 2022-03
IBM liberty Developer Tools 22.2
IBM Liberty server runtime environment-22.0.0.11
Windows 10
I unistalled eclipse, IBM Liberty Developer tools and IBM liberty server runtime environment and installed again eclipse and IBM Liberty Developer tools and IBM liberty server runtime environment (same versions) but problem still continues.

Related

Eclipse Mars throwing Noclassdeffounderror when adding server runtime configuration

I am using Eclipse Mars for SAP cloud application development. I added the SAP plug ins successfully. Now when I am adding a Java Web as a server runtime using the Java Web Sdk, it is throwing an error "server error Java /sql /time". When I see the log file it says Noclassdeffounderror for Java. Sql. Time. Could anyone help.
Regards,
Nayeem
Eclipse Mars is tremendously outdated. You should use Oxygen for SAP Cloud development and fulfill all necessary prerequisites for it.

Apache Tomcat v8.5 icon missing from list in Eclipse's New Server Run Time Environment

Here is the information about my Development Environment:
-Eclipse Java EE IDE for Web Developers.(Version: Neon Release (4.6.0))
(Build id: 20160613-1800)
-Java SE Dev Kit 8u102
-JRE 1.8.0_102
Trial version SAP HANA Cloud Platform Cockpit
Please forgive me if the question sounds naive but I'm been a .NET Developer for past few years, and I'm trying to learn SAP Hana Cloud technology.
I've learned that you have to develop code on Eclipse Java EE IDE for Web Developers in order deploy to the Trial version SAP HANA Cloud Platform
I was trying to use Tomcat 8.5 in my local development environment.
How can I add the the Apache Tomcat v8.5 icon taht is missing from the list within the "New Server Run Time Environment"?
The version of Eclipse WTP that supports Tomcat 8.5 is not out yet and is expected in the 1st maintenance release.
If you need it sooner, you can find instructions on how to get it to run in this bug report: https://bugs.eclipse.org/bugs/show_bug.cgi?id=494936

Debugging Bluemix remotely from Eclipse

I tried to do remote debug of a Bluemix application in Eclipse. I enabled application debug. Then I did debug to Server but my Bluemix server didn't appear in the list. A local Liberty server appears and I can debug on that but not on my Bluemix server. I tried to create a new server with the same address in the dialogue but then it complains that the server and space already exists. Is this a known bug or am I doing something wrong?
Cheers
W
Liberty remote debugging is working fine with Eclipse plugin, so I suppose you are doing something wrong.
Have you successfully installed Bluemix Eclipse tool?
Check you followed the steps reported in this guide
https://www.ng.bluemix.net/docs/manageapps/eclipsetools/eclipsetools.html
And then follow these steps to enable remote debugging.
https://developer.ibm.com/bluemix/2015/09/25/remote-debug-java-applications-on-bluemix/
The latest March 2016 refresh release has addressed the general debug mode issues, including the problem with IBM JDK in debug mode. You'll need to update both the IBM Eclipse Tools for Bluemix and also the Eclipse Tools for Cloud Foundry (see https://developer.ibm.com/wasdev/downloads/#asset/tools-IBM_Eclipse_Tools_for_Bluemix for detailed installation instructions). Therefore, I would recommend to do a fresh install with Mars SR2 JEE Package to see if the debug problem is resolved.

How to use WebSphere 8.5 in Eclipse

I am not familiar with the IBM product. I am currently use Tomcat as the server for my localhost. Now I would like to test in WebSphere 8.5. But in Eclipse, I could only choose Tomcat as my server. I would like to ask how to install and test in WebSphere 8.5. My eclipse version is indigo.
You will need to install WebSphere Developer Tools in Eclipse via Marketplace (search for WebSphere developer tools indigo).
Then you will need to get runtime, if you dont have it:
for full version download WebSphere Application Server v8.5.5.x for Developers (which is free),
or you can use WebSphere Liberty Profile (a new lightweight version that supports Java EE 7, but doesn't contain some old WebSphere programming extensions).

Error Adding IBM Websphere Application Server V8.5 into Eclipse SpringSource Tool Suite v2.9.1

I tried to add the IBM WAS V8.5 to SpringSource Tool Suite v2.9.1 but it failed with following error message:
Missing lib/features folder when i select the C:\Program Files\IBM\WebSphere\AppServer path in eclipse (SpringSource Tool Suite v2.9.1).
I had installed the IBM Websphere WAS Liberty Profile Adapter into eclipse(SpringSource Tool Suite v2.9.1).
Please help.
I had solved the problem but manually install the tools.