Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Weblogic 12.2.1.4 problem in the integration with Eclipse

Italo HerbertMay 4 2021
Good morning.
I am trying to integrate eclipse 2021-03 as weblogic 12.2.1.4. Both are installed and working perfectly separately.
When trying to integrate and add a new weblogic server I get the message: "The server is invalid. Error ocurred reading server credential. If the domaind was recreated, the server instance in Eclipse must also be recreated. Requeired classpath for credential detection is missing. Detection is disabled."
Thank you for any and all help.

Comments

Italo Herbert

Erro_Sever_Eclipse_Weblogic12-2-1-4.pngThis is the error.

dvohra21

Use the Oracle Enterprise Pack for Eclipse (12.2.1.4), instead of Eclipse. https://www.oracle.com/tools/downloads/oepe-v12214-downloads.html
Should integrate with weblogic 12.2.1.4.

Italo Herbert

Thank´s for return. But this version not run with spring boot 3, unfortunally.

dvohra21

What is run with Spring Boot? Spring Boot as Maven dependency could also be used in a Maven project in Oracle Enterprise Pack for Eclipse (12.2.1.4) .

Italo Herbert

I'm sorry. I expressed myself in a bad way. In this Eclipse version I can not install spring boot tools or sts ide tools. To me not appear this option.

dvohra21

Based on the error message, the domain was recreated, and the server should be recreated too.

Italo Herbert

Thanks for answering. But what should I understand how to recreate the server? How to proceed? I have already reinstalled the weblogic server and I still receive the message.

Italo Herbert

Thanks for reply. But does this also work for Eclise "Spring Tool Suite 4"? I already deleted the domain and recreated it, but nothing has changed, the error persists.

dvohra21

How is WebLogic Server is being configured.

With Spring Tool Suite 4 the WebLogic server needs to be configured:

1. Select Window>Show View>Servers in toolbar
2. Clink on lnk in Servers tab to create a new server
3. In New Server window select the Oracle>Oracle WebLogic Server, and configure

If Oracle>Oracle WebLogic Server is not listed in New Server, install it from Eclipse Marketplace.

CarlesSR

@italo-herbert did you manage to solve this? I'm stuck in exactly the same problem and I've tried everything.

Italo Herbert

Unfortunately, I still haven't been able to solve the problem.

CarlesSR

I think I solved it.
My setup was Eclipse 2021-12 running with JDK 17.0.1 and with OEPE 12.2.1.10 installed. I changed the running Java environment for Eclipse to JDK 16 and the problem persisted. I changed it to JDK 11 and... worked.
This is what I added to my eclipse.ini
image.pngThere seems to be some sort of incompatibility. What puzzles me is that looks like recent versions of Java are conflicting with the latest OEPE release. You would think Oracle would be careful about these integrations.
Hope it helps.

dvohra21
CarlesSR

I was trying to set up OEPE with the latest Eclipse version (2021-12/4.22). Eclipse has been requiring Java 11+ to run for some time now (since 2020-09).
According to the system requirements of OEPE, it needs Eclipse up to 4.8 (which dates back to 2018), JDK 8 and Windows 7. In my opinion, Oracle is getting behind in their OEPE support. Perhaps they don't want developers using Eclipse?

dvohra21

Perhaps they don't want developers using Eclipse?
Perhaps use WebLogic server, with Eclipse.

CarlesSR

If you're referring to using the integrated OEPE with the Eclipse Photon distribution, it's ok if you don't mind using an old version of Eclipse (4.8 from June 2018), but if you want (or need) to keep your IDE updated it is a problem. In fact, OEPE's system requirements list it as Windows 7 compatible only.
image.png

User_QB2SM

HI,
While integrating WebLogic server with eclipse in MacBook pro M1, I got the below error even after recreating the server and domain as well, any suggestions, please.
Screen Shot 2022-07-03 at 7.31.37 PM.png

User_U5K8W

Hi,
I detected the problem about this error.
You can review this oracle blog to discover an eclipse version that run correctly with OEPE for weblogic 14 and JDK 11:
https://blogs.oracle.com/weblogicserver/post/weblogic-server-14-in-eclipse-ide-for-java-ee-developers The problem is in other eclipse versions that run on Java 17+, in these versions is not possible to create a weblogic 12 or 14 server with JDK 8 or JDK 11, and in my case I have not been able to mount weblogic 14+JDK 11, not even following the guide in the blog, but a weblogic 12 or 14 with JDK 8 is running without problems.

User_F2FZ8

Hi Italo.
i am facing the same issue you had faced before, have you found any fix for it ? appreciate if you can help

Italo Herbert
Unfortunately, I still haven't been able to resolve the issue. I ended up going back to version 12.2.1.3. This did not show the problem.
User_CP3I0

Hi. Same error here and with the latest version of Eclipse (2022-12) it is even worse because this version needs Java JDK 17+
Any Help? Oracle?

CarlesSR

I just upgraded to 2022-12 and the same problem arised again. The problem is that with 2022-12 you cannot take the workaround I used until 2022-09, which was using JDK 11 to run Eclipse. With JDK 11 you could use a Weblogic 12 installation with OEPE and manage it from within Eclipse. 2022-12 requires JDK 17 or higher, so I guess this is the end of the road for OEPE + Eclipse. I don't think Oracle will respond in any form given that this issue has been long time coming. Last OEPE version dates from 2020 and it added support for JDK 11, either they add support for JDK 17 or it's game over.
image.png

User_X5Q05

This solved it.

I was using Eclipse 2022-09 with Weblogic 14.

This is what I added to my eclipse.ini to JDK 11.

user-qwykh

I am using Eclipse Version: 2023-06 (4.28.0) and am trying to add Oracle WebLogic Server 12c R2 (12.2.1.4) the JDK 17 is required vm for this eclipse version, has anyone been successful in adding a weblogic 12c server?

Timo Hahn

@user-qwykh

Do you see the mentioned error?

If not you should open a new question providing information about your environment.

To my knowledge, WLS 12.2.1.4 doesn't run with JDK 17.

Timo

dvohra21

Current releases of Eclipse require Java 17 JRE/JDK or newer.

Oracle WebLogic Server 12c R2 (12.2.1.4) requires JDK 8.

These are not compatible versions.

JASMIN MEHTA

I also have exact same error when I followed the https://blogs.oracle.com/weblogicserver/post/weblogic-server-14-in-eclipse-ide-for-java-ee-developers

I recreated domain few times and also build the server again.

I am on Windows 10, using Eclipse Version: 2023-06 (4.28.0) - JDK17 and want to integrate with WebLogic 14 installed using - fmw_14.1.1.0.0_wls_lite_quick_generic.jar, on JDK 11.

Updating eclipse.ini to JDK 11 as per @User_X5Q05 didn't work either.

Did anyone find a solution for this ERROR:

The server is invalid. Error occurred reading server credential. If the domain was recreated, the server instance in Eclipse must also be recreated. Required classpath for credential detection is missing. Detection is disabled.

dvohra21

Are these the versions used?

This article describes how to integrate WebLogic Server (WLS) 14.1.1.0.0 running on Java SE 11 in the latest supported version of Eclipse IDE for Java EE Developers (Photon 2023-03) with Oracle Enterprise Pack for Eclipse (OEPE) 12.2.1.0.

Some versions listed are different.

WebLogic lite may not be supported - fmw_14.1.1.0.0_wls_lite_quick_generic.jar

Eclipse used is Eclipse Version: 2023-06, but supported mentions Eclipse Version: 2023-03.

Is OEPE used at all?

Max Gerasimov

Hello dvohra21, I work with Jasmin and we trying to resolve this error.

We followed the document posted by Stephen Felts on Oracle blogs: https://blogs.oracle.com/weblogicserver/post/weblogic-server-14-in-eclipse-ide-for-java-ee-developers

We installed WL14 downloading from Oracle website - the only version available there for WL14 is Generic Installer(608 MB) - fmw_14.1.1.0.0_wls_lite_quick_Disk1_1of1.zip, when unzipped we run fmw_14.1.1.0.0_wls_lite_quick_generic.jar - installed using JDK 11.0.11 with admin user. We configure domain running WL14 standalone tested after installation with no errors displaying console.

We downloaded Eclipse 2023-03 (4.27) and installed it by unzipping to directory as regular user. Then from Eclipse using Install New software we installed OEPE from http://download.oracle.com/otn_software/oepe/12.2.1.10/photon/repository/ . Eclipse restarted after that.

Then we try to add WL14 server from Eclipse using Add New Server and follow the steps, on the last step when adding domain - we have the same error from the Forum topic: The server is invalid. Error occurred reading server credential. If the domain was recreated, the server instance in Eclipse must also be recreated. Required classpath for credential detection is missing. Detection is disabled.

We did try to use Market place to install OEPE - it has the lower version 12.2.1.9 - but we have the same results.

Also, we did try to modify eclipse.ini adding -vm with JDK 11, but it did not work.

We run Eclipse as regular user and WL as admin user.

Please let us know if we are missing something.

Thank you.

Max Gerasimov

I did Eclipse 2022-09 ( install aslo OPME 12.2.1.10) with Weblogic 14 standalone both installed with JDK 11.0.11, but when I have added the lines in eclipse.ini

-vm
C:/Program Files/Java/jdk-11.0.11/bin

I can't add any servers to Eclipse - Server tab is empty.

Not working with JDK 11 , Eclipse 2022-09(4.25) and WL 14.1.1.0.0

Any suggestions?

Thank you.

Max Gerasimov

Hi @carlessr ,

I did install Eclipse 2022-09 (4.25) ( install add new software from Oralce OPME 12.2.1.10 ) . Installed Weblogic 14 standalone, both Eclipse and WL 14 nstalled with JDK 11.0.11. But got the same error.

Is it working for you with Eclipse 2022-09 (4.25) and WL12?

Thank you.

1 - 32

Post Details