Im developing a REST web service using spring boot version 2.6.5 and spring framework 5.x and trying to deploy it on oracle weblogic server version 12.1.3 and java version 11 however im facing errors in the deployment stage on the weblogic console .
Any advice how can i fix this issue ?
Thank you in advance
upgrade to WebLogic server 12.2.1.4 should fix the issue
Related
Is it possible to run Spring boot 2.x on Jboss EAP 6.4.x?
After deploying I can't reach the service.
I get 404 when trying to reach the service.
Thanks in advance!
I have already answer to my question.
You can't use Spring boot 2 with Jboss 6.x because Spring Boot is build on Spring 5 and Spring 5 does not support Servlet 3.0 which is used in Jboss 6.x.
Spring 5 supports Servlet 3.1 and above
Pivotal Spring cloud config service doesnt work with Java 11 and spring boot 2.1.1.RELEASE and spring web: 5.1.3.RELEASE. I am getting "Error requesting access token". Any pointers to resolve this issue?
I don't believe that Spring Cloud Services is compatible with Spring Boot 2.1 or Java 11 at the time I write this.
Note: Version 2.0.x of the SCS client dependencies is not compatible with Spring Boot 2.1.x.
https://docs.pivotal.io/spring-cloud-services/2-0/common/client-dependencies.html#including-dependencies
I can't provide you any guarantees, but it probably a safe bet that it will support both of those at some point in the future. For now, use Spring Boot 2.0 & Java 8 for best results, or at least to sanity check that things are working as you'd expect.
Hope that helps!
In my application I am trying to implement latest Spring Framework 5.x but i am not sure that Spring 5.x is compatible with Oracle WebLogic 12c (12.2.1.3.0) or not as on UNIX environment we are having Java 8 and Oracle WebLogic 12c (12.2.1.3.0)?
Yes, it is possible. For reference please see: Spring Boot Weblogic 12c
I tested the Sparklr demo for Spring OAuth 2 on this server Jboss Enterprise 6.1.0 and I get a 404 for /oauth/token. The same war works great on tomcat 8, get a token back no problem.
Do you know how I can fix this server to work with Spring OAuth 2? Or why the same war behaves differently on the two different servers?
Here is the source for the Sparklr demo.
https://github.com/spring-projects/spring-security-oauth/tree/master/samples/oauth2/sparklr
I tried it on the new Jboss EAP 7.10 and Sparklr demo is working great. Fortunately we upgraded the jboss and this fixed it.
I am new to OSGi, and trying to configure Equinox/Felix on Weblogic Server. But nowhere can I find any information of any OSGi container embedded in Weblogic Server. So my questions are-
1. Has anyone configured Equinox or Felix with Weblogic Server? Is it supported?
2. SpringDM supports tomcat and jetty, does it support Weblogic too?
3. Can I deploy a Spring MVC application as a bundle without using SpringDM? OSGi container could be Felix/Equinox; and app server is Weblogic 10.3.3
Appreciate any help/samples/references to understand OSGi support in Weblogic.
Thanks in advance
-dee
please have a look to this question I've raised several months ago: WebLogic and OSGi. I also updated the question. Since version 12.1.2, Weblogic supports OSGi out of the box.