weblogic

JSF 2 sample app / tutorial to deploy on Weblogic 10.3.3 ?

I am trying to make JSF 2 application (with annotation support like @ManagedBean etc) work on Weblogic 10.3.3 but having problems (as listed here). I was wondering whether Oracle supplied any tutorial or sample application with Weblogic 10.3.3 release that I didn't notice. Has anyone successfully deployed a JSF 2 application on weblogic ...

Organising domain in WebLogic

Hi, I’m working with a client that has its WebLogic (version is 11g) domains organised in terms of usegage – so one for production, one for test, one for dev, and all applications have to share a single domain. It has a lot of applications/domain (around 20 in all). I’ve not seen this done before and was wondering how common it is. I...

How to make facelets work?

I have created a new web project and enabled its JSF and Facelets capabilities on MyEclipse, then I deployed it over weblogic. Everything look fine but it does not work for me, it seems that the view-handler is not called at all. What is wrong with it? Could anyone help me? This is my web.xml: <?xml version="1.0" encoding="UTF-8"?> <we...

Where do I put weblogic-application.xml in my Maven 2 project?

Where do I put weblogic-application.xml in my Maven 2 project so that Maven places it in META_INF in the target EAR artifact? ...

ejb3-using-2-persistence-units-within-a-transaction

I am having problems connecting to 2 persistence units from within the same transaction using following tech stack, WLS 10.3.x, Eclipselink 2.1, Oracle 11g JDBC driver, Informix 10 JDBC driver Using inputs from this SO post I made the oracle datasource XA compliant and the Informix ds "Emulate 2-phase commit" and things started to work...

JasperReports NoClassDefFoundError exception on net.sf.jasperreports.engine.util.JRStyledTextParser

When trying to export on WebLogic 11g, it throws NoClassDefFound exception. I checked the application WAR and jasperreports-3.7.4.jar is included in WEB-INF/lib folder. What is the error? StackTrace java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/util/JRStyledTextParser at net.sf.jasperreports.engine.fill.JRBaseF...

JRockit vs HotSpot classloading issue - META-INF/services

According to the javadoc of javax.xml.validation.SchemaFactory#newInstance, I can specify which implementation of SchemaFactory I want, by placing a file in META-INF/services called javax.xml.validation.SchemaFactory with the required class (in my case org.apache.xerces.jaxp.validation.XMLSchemaFactory). This works fine when I run Weblo...

How do I disable javelin jsp-recompiler in weblogic 10.3?

How do I disable weblogic's javelin recompiler? It seems to be using some version of JDK5 source level, and I believe that this can be disabled in weblogic 10 in favor of regular JDK6. Does anyone know how to do this? ...

Using XQuery implementation of WebLogic

I planning to using XQuery in J2EE web application running on WebLogic 11g. I know WebLogic has XQuery implementation but couldn't find any link on how to use them. I am looking for sample & package/class I need to start with. ...

Weblogic 11g URL Rewrite

I have a client running a WebLogic 11g install on a Windows Server machine who wishes to implement Apache-style mod_rewrite-like functionality to translate requests for http://easyurl.com to http://super.complicated.com/with/this/junk?here=and_more. I have scoured the Internet for advice, but all I can find are other people who are askin...

Can I use Weblogic 10.3 to build applications that run on WebLogic server 9.2?

I have WebLogic 10.3 installed (Server, Workshop and Portal). However, some of the legacy service applications are deployed on WebLogic 9.2. I have noticed that after using Ant to build the service library, I get an EBJ stub named ABCD_be9p7l_EOImpl_1030_WLStub.class. Building it from WebLogic 9.2 gives ABCD_be9p7l_EOImpl_922_WLStub.clas...

Problem deploying Spring application on WebLogic

We're trying to to run an application using Spring on Weblogic 10.3.3. This, apparently, should be straightforward, and just involves ensuring various additional jars (notably pitchfork) are in the library directory for weblogic, and getting the config right. Unfortunately, when we try to deploy, we keep experiencing the error: java.lan...

Is Class.forName prohibited inside the J2EE container in general and weblogic in particular?

I have performance problem while doing first API call to my J2EE applications. So I wanted to do Class.forName to preload the classes while doing application initialization. But I heard that it is prohibited by J2EE standard/BEA implementation (I might be completely wrong). Is it so? Are there any other limitation of doing forName in J2E...

Using JMX to read ejb manifest jar and ejb-jar.xml in ejb jar inside ear

Hello, I have an ear deployed on weblogic console. I need to check contents of manifest file and ejb-jar.xml of a jar that is present in the deployed ear. Currently I am using the code below to access jar inside ear deployed : Hashtable env = new Hashtable(5); env.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFac...

Weblogic EJB deployement: classes in jar inside ear are not accessible

I'm trying to deploy an ear containing an ejb application into a weblogic 9.2 server. This ear is created using maven (itself using the ear ant task). Maven produces the following structure: myApp.ear - META-INF - application - MANIFEST.MF - dependency-1.jar - dependency-2.jar - ... - dependency-n.jar - myEjb.jar The mani...

Log4j logging problem with 2 ears in Weblogic

Hi, I'm deploying 2 ears in Weblogic 10, A and B. In both of them I have a "log4j.properties" file. At the startup, when the first ear is loading, the logs are to the right file "A.log", but when the second ear is loading, all logs are going to the "B.log" file, even logs related to the first ear. I missed something... any idea ? Thank...

MQ With WLS Foreign Server

hi, I am facing two issues when i try to connect to MQ which is deployed on a Remote Server from Weblogic Server(WLS) by creating a Foreign Server. 1. When I try to connect to MQ Queuemanager in Bindings mode(after importing the .Bindings file) i keep getting the below error in WLS console: java.lang.UnsatisfiedLinkError: no mqjbnd05...

How to check if application was deployed on a specific managed server?

I use following wlst command in order to check if application was already deployed before: oldApplication = find(name=d['name'], type='AppDeployment') But it does not show that application was deployed on a specific server. How can I find that application was deployed on a specific managed server? ...

How can I monitor DB calls in weblogic?

How do I find which DB call is currently executed by my weblogic server? ...

OSB WLS Initialisation issue

hi, facing some strange behavior in OSB, i have configured WLS with MQ in client mode, i am doing some minor test to check the connection, i have created a proxy service to read the message from Q1 and a Business Service(BS) to route it to Q2. The issue is the proxy is able to read the message but the BS is throwing this: JMSPool BEA...