weblogic-10.x

Force release the connection in weblogic 10.3.4

怎甘沉沦 提交于 2019-12-22 07:19:05
问题 I am getting following error in my managed server console on oracle soa server(11g). -------------------- <Apr 14, 2011 10:51:37 AM SGT> <Warning> <JDBC> <BEA-001153> <Forcibly releasing inactive connection "weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection@14267" back into the connect ion pool "JDBC Data Source-0", currently reserved by: java.lang.Exception at weblogic.jdbc.common.internal.ConnectionEnv.setup(ConnectionEnv.java:318) at weblogic.common.resourcepool

How to purge/delete message from weblogic JMS queue

情到浓时终转凉″ 提交于 2019-12-21 12:37:59
问题 Is there and way (apart from consuming the message) I can purge/delete message programmatically from JMS queue. Even if it is possible by wlst command line tool, it will be of much help. 回答1: You can use JMX to purge the queue, either from Java or from WLST (Python). You can find the MBean definitions for WLS 10.0 on http://download.oracle.com/docs/cd/E11035_01/wls100/wlsmbeanref/core/index.html. Here is a basic Java example (don't forget to put weblogic.jar in the CLASSPATH): import java

How to set up WebLogic 10.3.3. security for JAX_WS web services?

余生长醉 提交于 2019-12-21 06:46:35
问题 I have quite simple task to accomplish - I have to set up the security for web services ( basic authentication with hardcoded in WLES user id and password). I set the web.xml (see code fragment below) but I have tough time configuring WebLogic. I added IdentityAssertionAuthenticator Authentication Provider, set it as Required, modified DefaultAuthenticator as Optional and I went to deployed application's security and set the role to "thisIsUser" and at some point it worked, but not anymore (I

Weblogic 10.3 issues with spring 3.1.0 jsp compilation

馋奶兔 提交于 2019-12-21 06:08:22
问题 I have spring-webmvc 3.1.0.release version in my web-inf/lib folder of my warfile, but when the app is deployed to weblogic i am getting compilation errors. weblogic is using spring 2.x version which comes bundled with weblogic 10.3.x to compile the jsps. because of which i am getting compile time errors like setDynamicAttribute(null, String, String) is undefined for the type ErrorsTag I tried using prefer-application-packages tag in weblogic.xml but it didn't work. How do i resolve this?

Weblogic 10.3 issues with spring 3.1.0 jsp compilation

柔情痞子 提交于 2019-12-21 06:07:04
问题 I have spring-webmvc 3.1.0.release version in my web-inf/lib folder of my warfile, but when the app is deployed to weblogic i am getting compilation errors. weblogic is using spring 2.x version which comes bundled with weblogic 10.3.x to compile the jsps. because of which i am getting compile time errors like setDynamicAttribute(null, String, String) is undefined for the type ErrorsTag I tried using prefer-application-packages tag in weblogic.xml but it didn't work. How do i resolve this?

JSF1064 “Unable to find or serve resource” warning on jsf 2.0

我怕爱的太早我们不能终老 提交于 2019-12-20 23:31:14
问题 I'm working on an Enterprise project with Java EE 5 and JSF 2.0 (Mojarra 2.0.3) on Weblogic 10.3.3 I don't have an error, but a very annoying warning in my console when going through my application. Whenever I perform a redirect in JSF, I get a warning in my console of the following form: Nov 7, 2011 5:36:46 PM com.sun.faces.application.resource.ResourceHandlerImpl logMissingResource WARNING: JSF1064: Unable to find or serve resource, images/jquery-theme/ui-icons_cc0000_256x240.png. Nov 7,

Temporary Directories in WebLogic 10

折月煮酒 提交于 2019-12-20 11:17:32
问题 Whenever, WL is stopped it doesn't delete its temporary directories .. i.e. domains/mydomain/servers/myserver/tmp/_WL_TEMP_APP_DOWNLOADS /domains/mydomain/servers/myserver/tmp/_WL_user/ /domains/mydomain/servers/myserver/stage and because of this, when we deploy new application, it doesn't deploy some JSP or some classes and it keeps the old version of those files. resulting in lots of business errors + runtime error. Is it a known issue ? How can we tackle it? 回答1: In general WL will cache

Adding custom object to JNDI on Weblogic 10

南楼画角 提交于 2019-12-20 09:47:12
问题 Is it possible to add a custom object (String or URL) to JNDI using Weblogic Server Administration Console (Weblogic 10.0) or by editing server's configuration file (config.xml)? 回答1: I don't think so. Quoting Load objects in the JNDI tree: Using the Administration Console, you can load WebLogic Server J2EE services and components, such as RMI, JMS, EJBs, and JDBC Data Sources, in the JNDI tree. And indeed, I couldn't find a way to add a String or URL using the console. AFAIK, the standard

Method not implemented when calling a WebService on Weblogic 10.3

自作多情 提交于 2019-12-20 03:16:52
问题 I have developed a Web Service Client to connect with a web service deployed on Weblogic 10.3. When trying to instantiate a client object always get the same exception java.lang.UnsupportedOperationException: Method not implemented. at java.net.URLStreamHandler.openConnection(URLStreamHandler.java:80) at java.net.URL.openConnection(URL.java:992) Looking on the method implementation from URLStreamHandler I found it just throw the Exception protected URLConnection openConnection(URL u, Proxy p)

Using Servlet 3.0 with Weblogic 10.3

ⅰ亾dé卋堺 提交于 2019-12-19 08:58:52
问题 I am working on a form-based authentication and using following statements. I have realized on the way of implementation that HttpServletRequest->login method comes with servlet 3.0.(with help of stackoverflow users) HttpServletRequest request = getHttpServletRequest(); request.login() So I am using weblogic as an AppServer, I have prepared a war file without any compilation error and it works at glassfish 3.1 appserver. But since weblogic 10.3 has implicit support 2.5 it overwrites Servlet 3