weblogic-10.x

WebLogic 10.5.3 + Seam 2.2.1: Application does not start

穿精又带淫゛_ 提交于 2019-12-13 02:54:13
问题 we have a WAR packaged web application which works on a development machine. It consists of Java EE 5 + Seam 2.2.1 + Hibernate 3.3.1. It uses an Oracle 10g XE database and runs on the latest Tomcat 6 using JDK 1.6.0_24. The system is a 64bit Windows 7 Pro and uses Firefox 6. Now, we tried to migrate the application to Oracle WebLogic 10.3.5. We followed the Seam manual for specifying the datasource, deploying the JSF lib and configuring the necessary xml-Files. In parallel to that, we

Internet Explorer buggy when accessing a custom weblogic provider

浪子不回头ぞ 提交于 2019-12-13 02:49:12
问题 I've created a custom Weblogic Security Authentication Provider on version 10.3 that includes a custom login module to validate users. As part of the provider, I've implemented the ServletAuthenticationFilter and added one filter. The filter acts as a common log on page for all the applications within the domain. When we access any secured URLs by entering them in the address bar, this works fine in IE and Firefox. But when we bookmark the link in IE an odd thing happens. If I click the

How to make EJB Timer Persistent to false

回眸只為那壹抹淺笑 提交于 2019-12-13 02:15:12
问题 I am using EJB 3.0 Timers in my application. One thing about EJB Timers is that they are by default persistent which means that when ever there is server restart the Timers will automatically be invoked with out calling them again. I have a requirement that these timers should be manually be started when ever server is restarted . For this I know we need to change some attribute in config XML which I don't know exact. Where do I need to change the attribute to set persistent=false . I am

Need help understanding JNDI and a particular ClassCastException in J2EE

与世无争的帅哥 提交于 2019-12-12 12:27:22
问题 I have an enterprise application A and B deployed (in WLS 10.0). A is the "framework", B is a client app. The client issues the following calls: Object o = ctx.lookup(jndiName); // line 1 cf = (ConnectionFactory) o; // line 2 ConnectionFactory is an interface, defined as: public interface ConnectionFactory extends java.io.Serializable, javax.resource.Referenceable { ... } What happens is: If the jar containing the interface class is on the system classpath, line 2 is executed fine If the

WebLogic 10gR3 - UnsupportedEncodingException parsing Content-Type header for multipart/form-data

好久不见. 提交于 2019-12-12 11:03:10
问题 My application is receiving multi-part content through an HTTP POST, on WebLogic 10gR3. Whenever clients specify the charset attribute before other attributes on the Content-Type header (e.g. Content-Type: multipart/form-data; charset=utf-8; boundary=a_random_boundary ), WebLogic is throwing the following exception (caught in my managed server's log): Unsupported encoding: "utf-8; boundary=a_random_boundary" specified. java.io.UnsupportedEncodingException: Unsupported Encoding utf-8; boundary

Weblogic 10.3.3.0 application debugging with eclipse

混江龙づ霸主 提交于 2019-12-12 06:39:47
问题 Hello I saw some 11g tutorials with a Google search: http://saltnlight5.blogspot.com/2014/04/how-to-setup-remote-debug-with-weblogic.html http://java.dzone.com/articles/how-setup-remote-debug They both specify adding something like: JAVA_OPTIONS="$JAVA_OPTIONS -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y" Two questions I have is: One, at my work we have domains/domainName/bin/setDomainEnv.sh and in the same "domainName" directory another folder called servers, with a bunch of

Logback can't find all applications running on weblogic using insertFromJNDI

回眸只為那壹抹淺笑 提交于 2019-12-12 06:17:42
问题 I'm having a real struggle finding out whats wrong. I have a weblogic 10.3.5.0 server where I have deployed three apps. One yui app and two custom java-apps. These are located on a test server. The apps are working fine when you use them, but only yui is logging (logback 1.1.2). I have a identical app deployed locally where everything works as intended. I use inserFromJNDI in logback.xml and it loads: <?xml version="1.0" encoding="UTF-8"?> <configuration scan="true"> <insertFromJNDI env-entry

This class does not support SAAJ 1.3

泪湿孤枕 提交于 2019-12-12 03:56:24
问题 In trying to call a webservice from a portlet from Glassfish to a webservice hosted remotely on weblogic we are getting this error: Caused by: java.lang.UnsupportedOperationException: This class does not support SAAJ 1.3 at weblogic.webservice.core.soap.SOAPHeaderImpl.addHeaderElement(SOAPHeaderImpl.java:178) I added the webservicesclient.jar from WebLogic to the portlet WAR file. How is the best way to handle this problem? EDIT: Adding webservicesclient.jar was the wrong thing to do. I

Weblogic WLST connect() with blank username and password

只谈情不闲聊 提交于 2019-12-12 03:46:32
问题 I am trying to connect to a t3 url which I am told has a blank username and password but, I don't know how to pass an empty username and password in the connect() call. How can I do this? When I do connect('', '', 't3://hostname:port') , WLST tries to connect to the given url using username 'weblogic' which I don't know where it is getting from? --- UPDATE --- Please ignore the above... See Sandra's comment. The script I am trying to run is the one shown in WebLogic Server JMS WLST Script –

weblogic server script to deploy application programmatically

断了今生、忘了曾经 提交于 2019-12-12 03:26:35
问题 Am looking for an option to deploy application(EAR/WAR/JAR) on weblogic server through script, where the script is executed through Java main class. I have tried to achieve the same through Java like: private static final String wlUsername = "'weblogic'"; private static final String wlPassword = "'welcome1'"; private static void connect() { StringBuffer buffer = new StringBuffer(); buffer.append("connect("); buffer.append(wlUsername); buffer.append(","); buffer.append(wlPassword); buffer