weblogic

Error 404--Not Found (while using apache and weblogic)

眉间皱痕 提交于 2020-01-04 08:11:14
问题 I have an application deployed in weblogic, and am using apche server.Normally, when I enter the url for the application, it should display a jsp (1) kind of please wait then this one will redirect to another jsp (2). the problem is when I enter the url of the application, it displays jsp (1) "please wait" and while redirecting it gives the error (Error 404--Not Found). What do you think the problem is ? 回答1: A 404 simply means that the URL is invalid or that the resource actually isn't there

application.xml is not generated correctly while saying “Run On Server” using Weblogic (beadep)

大城市里の小女人 提交于 2020-01-04 04:45:07
问题 I always encounter the following situation while "Run On Server" on my mavenized EAR project. Situation If I take the following steps on my EAR project: mvn clean install Run on Server ... will lead to: The application.xml generated by Maven will be correct: <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5"> <display

Obtaining an IntialContext from Weblogic without using clear text password

橙三吉。 提交于 2020-01-04 04:33:12
问题 I can obtain the Weblogic InitialContext from a JNDI Client using the following properties as the Environment parameters for InitialContext Hashtable jndiProps = new Hashtable(); jndiProps.put("java.naming.factory.initial", "t3://localhost:7001"); jndiProps.put("java.naming.provider.url", "weblogic.jndi.WLInitialContextFactory"); jndiProps.put("java.naming.security.principal", "weblogic"); jndiProps.put("java.naming.security.credentials", "weblogic"); InitialContext ctx = new InitialContext

How to set JPA EntityManagerFactory for persistence unit NOT to 'default'

半城伤御伤魂 提交于 2020-01-04 04:33:06
问题 Noramlly all the default configurations of Spring-boot are totally fine. But now I need to deploy my application to a Weblogic 12.2 Server and I am facing some issues regarding persistence. I just wondering how to set the JPA EntityManagerFactory for persistence unit NOT to 'default'. Because by startup of the application I can see those logs: 2017-05-23 08:16:34.608 INFO 30827 - j.LocalContainerEntityManagerFactoryBean []: Building JPA container EntityManagerFactory for persistence unit

How can I connect Jprofiler with weblogic managed servers?

安稳与你 提交于 2020-01-04 04:13:07
问题 I am trying to connect Jprofiler7 to remote weblogic10.3 managed servers. I am able to connect and see admin console threads and memory usage in JProfiler but not for application deployed on managed server. How can i achieve this? Thanks 回答1: I had the same problem with WebLogic 12C on windows with JProfiler9 and solved it as follows: Allow JProfiler to create startWebLogic_jprofiler.cmd by profiling WebLogic 12C, but don't attach the profiler at this point. Edit startManagedWebLogic.cmd and

Referencing CDI managed bean from Facelets error page

谁说我不能喝 提交于 2020-01-04 04:12:06
问题 I'm having a hard time trying to get a generic error-page to work in a (really simple) WAR project that uses JSF 2, Facelets and CDI. My application server is WebLogic 12c, which should support all of this out-of-the-box, but it fails to show the error page. When I deploy the exact same WAR to a Glassfish application server, it works. I'm leaning towards blaming WebLogic for being buggy in the CDI department, but could use some additional expertise to see if my approach is wrong. Here's what

What is annotation to override transaction timeout?

不羁的心 提交于 2020-01-04 02:34:06
问题 New to EE - trying to reconfigure Weblogic's default timeout of 30 seconds without having to write up a weblogic-ejb-jar.xml file. I've used only annotations now but the only thing that I have seen is in the DD here: <transaction-descriptor> <trans-timeout-seconds>1200</trans-timeout-seconds> </transaction-descriptor> Anyway to avoid have a descriptor file just for this? 回答1: I feel weird answering my own question but someone at work found this annotation. @ weblogic.javaee

Force Grails/Weblogic To Only Redirect Using HTTPS protocol

£可爱£侵袭症+ 提交于 2020-01-03 15:54:31
问题 I'm using Grails (2.2.2) on a project and my application issues undesirable http redirects instead of https redirects. We currently have an F5 load balancer in front of Oracle Weblogic. The F5 is offloading our SSL from Weblogic. The F5 only accepts https requests and Weblogic only accepts http requests. My Grails project uses the Spring Security and Spring Security CAS plugin. The problem typically occurs on a successful CAS login. Grails seems to always issue an HTTP redirect. My serverURL

Force Grails/Weblogic To Only Redirect Using HTTPS protocol

走远了吗. 提交于 2020-01-03 15:54:13
问题 I'm using Grails (2.2.2) on a project and my application issues undesirable http redirects instead of https redirects. We currently have an F5 load balancer in front of Oracle Weblogic. The F5 is offloading our SSL from Weblogic. The F5 only accepts https requests and Weblogic only accepts http requests. My Grails project uses the Spring Security and Spring Security CAS plugin. The problem typically occurs on a successful CAS login. Grails seems to always issue an HTTP redirect. My serverURL

WebLogic “Exceeded stated content length” Error

不想你离开。 提交于 2020-01-03 15:37:10
问题 I have a servlet filter that is generating "Exceeded stated content length" errors in WebLogic 10.0. I would appreciate any suggestions to fix this issue please. Details as follows. The servlet filter resizes images. This error is occurring then writing the contents a FileInputStream (from disk) to response.getOutputStream() : java.net.ProtocolException: Exceeded stated content length of 2228 at weblogic.servlet.internal.ChunkOutput.writeStream(ChunkOutput.java:411) See the end of this