weblogic12c

Weblogic12c deployment EJB ambiguous error

我们两清 提交于 2019-12-11 09:36:19
问题 I'm trying to deploy the application in Weblogic 12c. During deployment, I'm getting the below error weblogic.management.DeploymentException: weblogic.application.naming.ReferenceResolutionException: [J2EE:160092]Error: The ejb-link "BeanClass" declared in the ejb-ref or ejb-local-ref "...BeanClassService/beanClass" in the module "....EJB.jar" is ambiguous. Qualify this ejb-link to remove the ambiguity. Code: IBeanClass.java @Local public interface IBeanClass {} BeanClass.java @Stateless(name

weblogic.ejbc compiler is deprecated : EJB Application deployment in WebLogic 12c

柔情痞子 提交于 2019-12-11 08:02:24
问题 I'm using EJB 2.1, jdk 1.6 with Weblogic 11g for application development. Latest I have been process of deploying application in WebLogic 12c. As I understood from online source, I need to have jdk 1.7 and higher to run application in weblogic 12c. I also getting below error, when I compile EJB 2.1 with JDK 1.7 or higher. DEPRECATED: The weblogic.ejbc compiler is deprecated and will be removed in a future version of WebLogic Server. Please use weblogic.appc instead. java.lang

OC4J to WebLogic 12c migration and security configuration questions

佐手、 提交于 2019-12-11 05:59:05
问题 In OC4J, we were using a custom JAAS LoginModule. I've created a SqlAuthenticator that replicates that same logic, and that seems to work. For our app, when I go to the login page and enter the wrong password, it sends me to the login failed page. That part's fine. However, when I enter the correct password, WebLogic just sends me back to the welcome page, with no message. I can't find anything in the log files to help me out. I'm guessing that it's an authorization problem, as opposed to

How to enable TLS version 1.2 in web logic for outgoing https transactions

允我心安 提交于 2019-12-11 04:20:02
问题 I am working on one project which require TLS version 1.2 to be enabled on web logic server for outgoing https transactions. I tried using below properties in web logic startup script : Weblogic.security.SSL.minimumProtocolVersion=TLSv1.2 Or Weblogic.security.SSL.protocolVersion=TLS But when I ran some test I was able to see TLSv1 still getting used in the clientHello message in weblogic SSL logs. We tried every permutation and combination to start the TLS handshake with TLSv1.2 but no

Failed to connect from jdeveloper to weblogic server jsr 160 failed

纵然是瞬间 提交于 2019-12-11 03:25:19
问题 I'm trying to connect from Jdeveloper to a remote Weblogic server. This is what I get when testing the connection. Some say that one should disable jdeveloper's proxy settings. I did so, and it didn't change anything. Any help ! 回答1: Try to run your JDeveloper as administrator (it's a common 'mistake' for Windows users). If that doesn't work you should read this blog post: http://sathyam-soa.blogspot.be/2012/06/jdeveloper-11g-cannot-establish-app.html 回答2: Add the server's host name in the

How to apply interceptors and filters to restful services on Weblogic 12c

徘徊边缘 提交于 2019-12-11 02:48:26
问题 I understand that Weblogic 12c v12.2.1 uses Jersey as a JAX-RS implementation. So I followed the instructions on this page but I haven't succeeded to declare an interceptor whether by using name binding or dynamic binding (i.e. more info in the mentioned link) My application is working normally because I can actually call the restful services, but I can't apply filters or interceptors, they are never involved in the process. I didn't edit web.xml at all, all I have is an javax.ws.rs.core

java.lang.NoSuchMethodError during Elastic search start

和自甴很熟 提交于 2019-12-11 01:04:25
问题 I am getting the following error while deploying in my EAR. The exception is coming during Elastic search connection. In my EAR I have using guava version 18. Which is the recommended version for ES 2.0+ ( I am using ES 2.3.3) weblogic.application.ModuleException: java.lang.NoSuchMethodError: com.google.common.util.concurrent.MoreExecutors.directExecutor()Ljava/util/concurrent/Executor; at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140) at

Unable to install breakpoint in Eclipse: Absent Line Number Information

倾然丶 夕夏残阳落幕 提交于 2019-12-10 23:22:39
问题 I have a Java 1.6.0 web application that I am developing using a Kepler Version 2 Eclipse development environment. I am using an Oracle Weblogic Server Administration Console 12c. I'm running the app locally - and trying to debug it. Instead of stopping at any of the breakpoints I've set - I get the following error: When I installed the application to Weblogic, I ran the Weblogic console and then installed the application by adding the ear file. I thought I did everything exactly the same as

Null EntityManager/EJB Injected into MDB

杀马特。学长 韩版系。学妹 提交于 2019-12-10 18:33:32
问题 I have a message-driven bean (MDB) deployed to WebLogic 12.1.3. I tried to inject an entity manager into the MDB using the @PersistenceContext annotation, but the entity manager is null. I also tried injecting a simple stateless session bean and it too is null. However, the MessageDrivenContext is injected correctly. What am I missing? From what I can tell searching SO and Google, you should be able to inject EJBs and entity managers into MDBs. I am able to inject them into other parts of the

Spring Boot + Eclipse + Weblogic 12.2.1

半城伤御伤魂 提交于 2019-12-10 16:24:00
问题 I'm having an issue when I deploy a spring boot application in weblogic 12.2.1 through Eclipse Neon. This are the components Simple spring boot application with web dependency. Eclipse neon Weblogic 12.2.1.1 embed in eclipse The error is: weblogic.management.DeploymentException: java.lang.ClassNotFoundException: org.springframework.security.oauth2.client.token.AccessTokenRequest at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:132) at weblogic.application