weblogic

With EJB 2.1, is declaring references to resources in ejb-jar.xml required?

I'm using Weblogic 9.2 with a lot of MDBs. These MDBs access JDBC DataSources and write to both locally and externally managed JMS Destinations using local and foreign XAConnectionFactorys, respectively. Each MDB demarcates a container-managed JTA transaction that should be distributed amongst all of these resources. Below is an excerpt...

JPA Logging in WebLogic 11g (10.3.1)

How do you enable debug logging for OpenJPA when running an application in WebLogic 11g? I tried the steps given by http://stackoverflow.com/questions/792741/logging-jpa-sql-with-weblogic-10-3, but no OpenJPA log statements appear in the server log. I have also poured over the WebLogic documentation regarding the configuration of loggi...

Configuring JMS over a Weblogic Cluster

I have a setup of 2 WLS managed servers configured as part of a WLS cluster. 1) The requirement is to send requests to another system and receive responses using JMS as interface. 2) The request could originate from either of the Managed Servers. So the corresponding response should reach the managed server which originated the request...

WebLogic "Exceeded stated content length" Error

Hi, 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() : jav...

How to access SessionFactory of Hibernate using JNDI in WEBLOGIC 9.2 server?

We are using Weblogoic9.2.3 & DB is Oracle10.2.0.3. How can we access Hibernate SessionFactory using JNDI? ...

Where are JMS messages stored in WebLogic 9.2 server?

Hi All I would like to know at what location WebLogic 9.2 server stores JMS messages on disk. Regards Chaitanya ...

Work managers threads constraint and page cannot be displayed

Hi, We have a memory intensive processing for certain functionality and we would like to limit the number of parallel requests to this processing. We are able to configure by using "Work Managers" in WebLogic and putting a limit on the number of threads for that servlet. For example, if we put maximim thread limit as 3, then if there ar...

HTTP Session Timeout with WebLogic

How do I find the HTTP timeout set on the WebLogic 8.1 application server? ...

deployment jax-ws on weblogic fails

Hi, my beaweblogic did not startup successfully. Do you have an idea? Thanks failed to preload on startup in Web application: "/app". javax.xml.ws.WebServiceException: weblogic.wsee.wsdl.WsdlException: Unable to find namespace for prefix 'tns'. This is used in element [part: null] at weblogic.wsee.jaxws.framework.jaxrpc.server....

How to log session ID in weblogic's access log

Is it possible to log the session ID in the access log of WebLogic 8.1.6? ...

Performance testing application for bottle necks using production data

I have been tasked with looking for a performance testing solution for one of our Java applications running on a Weblogic server. The requirement is to record production requests (both GET and POST including POST data) and then run these requests in a performance test environment with a copy of the production database. The reasons for u...

How to Request-Response JMS with JMeter + Weblogic

I'm sending a message to a Queue using JMeter. At the end of the process (3 MDBs talking among them) a response message is sent to a second Queue. Using JMeter Request Only everything goes fine, but my interest is to collect the time taken to a message reach the second Queue. Using JMeter with Request Response and the second Queue JNDI...

weblogic 10.3: EJB JAR is getting deployed as "Library" and not "EJB"

In Weblogic 10.3, the JAR containing the EJB below along with the persistence file, is deployed. But Weblogic deploys it as Type "Library" instead of an "EJB", which is not what I want. package com.sajee; import javax.persistence.*; @Entity @Table(name="REGISTRAR") public class Registrar implements java.io.Serializable { privat...

Weblogic connection pool

I'm trying to create a connection pool in weblogic (8.1) and getting the following exception: <BEA-001129> <Received exception while creating connection for pool "testPool": 7> I have no clue about that number (7). How can I solve the problem? ...

Where is Bea Weblogic Work Folder

I know that this may be a trivial question but I really cannot find the work folder in Oracle BEA weblogic 10.3. Unlike the Apache Tomcat where it is clearly in the work directory usually under WEB-INF. I already researched it on JavaRanch and it said that the directory is at: \bea\user_projects\domains\YOUR_DOMAIN_NAME\servers\AdminSe...

WebLogic 10 WLST command to stop a deployment

Is there a WLST command to stop a Weblogig deployment? (i.e. the opposite of the nmStart() command) If so, what is it? I am changing database passwords and I want to shutdown all deployments so all connections will close. Currently I have to log into the console to shut everything down and I am looking for a quicker way. ...

Weblogic 503 errors on EVERY OTHER startup

We are having a rather frustrating issue wherein WebLogic takes its usual 3-5 minutes to deploy our application to a development machine (running Ubuntu 9.10 in my case) and then instantly gives us a 503 error when trying to access our application. The odd part is that stopping the server and starting it always fixes the issue with no c...

How can I install one Web Application in two context roots in Weblogic 10g?

How can I install one Web Application in two context roots in Weblogic 10g? ...

Encrypting SALTEDHASHED weblogic password in java

How to encrypt SALTEDHASHED password (used by Weblogic) in java? I need to be able to hash passwords in exactly the same way as WebLogic's authenticator does. Preferably without using WebLogic's library. 30 minutes later.. I've read some documentation and if I don't know the value of the salt I can't encrypt the password in the same wa...

When is Spring + Tomcat not powerful enough?

I've been reading/learning more about Spring lately, and how one would use Spring in combination with other open-source tools like Tomcat and Hibernate. I'm evaluating whether or not Spring MVC could be a possible replacement technology for the project I work on, which uses WebLogic and a LOT of custom-rolled J2EE code. The thing is, I'v...