weblogic12c

Issue with RequestDispatcher including JSP programmatically in Weblogic 12c

。_饼干妹妹 提交于 2020-02-01 22:50:29
问题 I'm struggling with the following situation: In our current web application running on Tomcat 7.0.64, we manage to include a JSP page via Java with the help of an own class CharArrayWriterResponse implementing HttpServletResponseWrapper . The reason for doing so is that we wrap the resulting HTML into JSON needed for an AJAX Response. Dependencies: <dependency> <groupId>javax</groupId> <artifactId>javaee-web-api</artifactId> <version>7.0</version> <scope>provided</scope> </dependency>

javax.naming.NameNotFoundException: While trying to lookup 'jdbc.teradata' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/teradata'

被刻印的时光 ゝ 提交于 2020-01-26 03:39:13
问题 However I could open up the required remote port for Teradata , I am getting this error, is it because the required jdbc driver library is missing in the Weblogic in which I am deploying my Application. Please advise, you can find complete error below. Because of this failure consecutive Spring Autowired Components are also failing. Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'teradataDataSource' defined in ServletContext resource [

Has anyone configured Kerberos SSO on Web Logic 12.1.2 with JDK 1.7 on Win 2012 R2 successfully or on Web Logic 12.2.1 with JDK 1.8 on Win 2012 R2

妖精的绣舞 提交于 2020-01-25 06:27:49
问题 This is a related problem described here in the link Has anyone configured Kerberos SSO on Web Logic 12.1.2 with JDK 1.7 on Win 2012 successfully?. Is this problem resolved? I am facing the exact same problem on the Weblogic server version 12.1.3.0 running on Windows Server 2012 R2 on jdk 7u79. When I remove aes256-cts-hmac-sha1-96 from the krb5.ini file and generate a keytab file using ktab or ktpass utility, I get the error message in weblogic server saying : com.bea.security.utils.kerberos

WLST query (List deployed applications and hosts together)

北城余情 提交于 2020-01-16 14:40:36
问题 I have two WLST queries. I execute it through WebLogic Scripting Tool console. These queries are: 1) List of deployed applications and status: connect('weblogic','password','t3://localhost:7001') cd('AppDeployments') deplymentsList=cmo.getAppDeployments() for app in deplymentsList: domainConfig() cd ('/AppDeployments/'+app.getName()+'/Targets') mytargets = ls(returnMap='true') domainRuntime() cd('AppRuntimeStateRuntime') cd('AppRuntimeStateRuntime') for targetinst in mytargets: curstate4=cmo

WLST query (List deployed applications and hosts together)

旧街凉风 提交于 2020-01-16 14:40:21
问题 I have two WLST queries. I execute it through WebLogic Scripting Tool console. These queries are: 1) List of deployed applications and status: connect('weblogic','password','t3://localhost:7001') cd('AppDeployments') deplymentsList=cmo.getAppDeployments() for app in deplymentsList: domainConfig() cd ('/AppDeployments/'+app.getName()+'/Targets') mytargets = ls(returnMap='true') domainRuntime() cd('AppRuntimeStateRuntime') cd('AppRuntimeStateRuntime') for targetinst in mytargets: curstate4=cmo

ClassLoader.getResources returning an empty Enumeration on a Weblogic/Spring application

可紊 提交于 2020-01-13 05:57:11
问题 I've an EAR application deployed on Weblogic 12.2 using Spring 4.0.4 and facing a strange behaviour: Spring can´t find the base package due to Weblogic's classloader which return an empty Enumeration for Spring's code: cl.getResources("my/base/pkg") It's under a context which injects some @Autowired beans on my MDB. (so, due to it, the beans aren´t injected) but if I put the below code into a sample MDB into the same application, it works: Thread.currentThread().getContextClassLoader()

Does Weblogic12c support jersey 2.x?

橙三吉。 提交于 2020-01-13 05:41:47
问题 I have upgraded my web application to JAX-RS 2.0. The web application seems to work fine on Apache Tomcat. However, it does not get deployed on Weblogic 12c (or even 10.3.6). I am not sure if there is a proper support by weblogic and I believe it requires some configuration and class loader filtering to override the default JAX-RS 1.1 implementation ? Any idea how to achieve this and make my web application run on WLS 12c ? 回答1: WebLogic 12c is Java EE 6 certified and so, implements JAX-RS 1

Error adding enforce-valid-basic-auth-credentials to config.xml

时光毁灭记忆、已成空白 提交于 2020-01-11 13:23:11
问题 I tried adding <enforce-valid-basic-auth-credentials>false</enforce-valid-basic-auth-credentials> inside the <security-configuration> tag in config.xml of weblogic server 12.1.3 After I add this line my weblogic server goes to shutdown whenever i start up my server. is there something wrong? I have attached my config.xml contents below <domain-version>12.1.3.0.0</domain-version> <security-configuration> <name>mdm_domain</name> <realm> <sec:authentication-provider xsi:type="wls:default

Are Guava-11.0.2.jar conflicting with com.google.common_1.0.0.0_0-6.jar?

烈酒焚心 提交于 2020-01-11 10:04:07
问题 I have a problem to deploy an application on weblogic server, after a discussion here on stackoverflow i realized that the problem is that weblogic 12c is using a lib file com.google.common_1.0.0.0_0-6.jar , and my application is using Guava-11.0.2.jar, and it sound for me like they are conflicting, tried to search on google but i have no idea what to do, whats the proper solution to solve it? 回答1: I came across the same problem, what I did was, I replaced the com.google.common_1.0.0.0_0-6

Max post size in WebLogic 12.2.1

一个人想着一个人 提交于 2020-01-11 07:32:54
问题 I have a probleme with WebLogic 12.2.1, after migrating from version 10.3.2 to version 12.2.1, I realized that I could have an authentication with a post larger than 4096 (it's a new constraint in WLO 12.1.2, reference: https://docs.oracle.com/middleware/1212/wls/WLUPG/compat.htm#WLUPG473 ) the solution is to put an explicit value in the weblogic.xml, but this is not supported and i don't see any difference. weblogic.xml: <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web