weblogic

ejb-jar.xml : Allowed Methods for container-transaction tag

Hi, Are we allowed to specify a method name with an access modifier of 'protected' or 'private' inside the <container-transaction><method></method></contaner-transaction> tag ? Below is a sample of the ejb-jar.xml: <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1"> ...

Multiple JSTL Versions in Weblogic J2EE App

Hello! Thanks in advance for taking a look :) I'm hard at work on a J2EE web app (in JDeveloper) and recently added some functionality that required JSTL, and I've hit a little bit of a snag. Whenever I try to deploy my war on Weblogic 11g, I get the following error on the console: [02:05:43 AM] Must choose only one of libraries: ...

How to make WebLogic create sub-folder under server/logs directory?

Hi All We all know that WebLogic server creates logs directory under DOMAIN_HOME/servers/SERVER_NAME directory at server start up. But now I want WebLogic to create my application specific logs directory like below at the server startup. DOMAIN_HOME/servers/SERVER_NAME/logs/myAppLogs/ Where to do the configuration change for this? T...

How to migrate Weblogic's config.xml to multiple machines?

Hi all, our development team develops a J2EE application that runs on Weblogic 10.3. Each development machine runs its own copy of Weblogic 10.3 application server. The development environment's Weblogic domain was initially created on one machine and then copied onto all the machines using Weblogic's configuration tool (bea10/wlserver_...

Is it possible in Weblogic to create readonly JDBC datasource?

I am using Weblogic web server. Please let me know, how can i create a readonly JDBC datasource ,or should i handle this in my Java code ? ...

Eclipse WTP: "The import ___ cannot be resolved for" error in a JSP file for a class defined in project

A Visual Studio user struggling w/ Eclipse... I imported a set of servlets/JSPs into a project in Oracle Workshop for Weblogic. /page.jsp has the following import statement: import="com.foo.bar.*" Eclipse is displaying an error "The import com cannot be resolved". The class that implements the above import in /WEB-INF/src but I don...

Practical usage of the T3 File Service

In the BEA WLS console, it's possible to define "T3 File Service". After googling about it, I was unable any practical info. Is it something useful ? EDIT: Deprecated since 6.1 ... a complete overview here , it's sad that no real alternative is provided. ...

How to "copy" a JMS message to 2 destinations?

I have a requirement that a single JMS message sent by a client must be delivered reliably (exactly-once) to two systems. These 2 systems are not HA-enabled, so the best suggestion that I came up with is to: create single queue where client posts to set up two "intermediate" queues use a custom "DuplicatorMDB" that will read messages f...

Blob into Oracle: about 15% are filled with \00

Under Weblogic 10, I am using Hibernate to store data into several tables with BLOBs. It's always worked fine but the customer found specific circumstances where 15% of the BLOBs have the correct size but only contain null characters. I can't figure out what makes it good or full of emptiness. The BLOB type I am using does a: public vo...

How to use thread pool in WebLogic 8?

How is it possible to get/use/return a thread from an execute queue ( = thread pool) in WebLogic 8.1.6? ...

Error using jaxb external bindings customization

I use the wsdlc tool (weblogic 10.3.1) to generate classes from wsdl. I have the following external jaxb bindings customization file: <jaxb:bindings xmlns="http://java.sun.com/xml/ns/jaxb" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-...

Add items to application (WAR) classpath in WebLogic 10?

My shop has been running Oracle's Application Server for several years. As such, before we knew better, we have developed a norm of having application config files stored outside of the WAR file and the app-specific config directory is added to each application using an Oracle-specific deployment descriptor. This deployment descriptor al...

NameNotFoundException when calling a EJB in Weblogic 10.3

I have a EJB defined as this: package com.foo; @Stateless (mappedName="HelloWorld") public class HelloWorldBean implements HelloWorld, HelloWorldLocal .... When it's deployed to Weblogic (WL), it gets the name myBean. I'm not sure if this is important. I try to call the bean with this code: Hashtable ht = new Hashtable(); ht.put(Co...

What is weblogic.socket.Muxer?

Does any of you understand what weblogic.socket.Muxer is used for in WebLogic 8.1? Often in thread dumps I see stack traces similar to this: "ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" id=20 idx=0x68 tid=26709 prio=5 alive, in native, blocked, daemon -- Blocked trying to get lock: java/lang/String@0x2b673d373c50[fat loc...

lost update issue...

on my server is a weblogic cluster ejb2 application. There is this table in the DB where other users will concurrently create, update and delete. On my clients machines is a rich client java application. How do i send delta updates of the changes and yet still maintain a consistent always correct view of the table? (hence no lost updat...

Ant's global property WEBLOGIC_HOME in eclipse

Ant in Eclipse has the global property WEBLOGIC_HOME but while it gives a correct tooltip in the editor it doesn't work in a build script, e.g. <taskdef name="wsdlc" classname="weblogic.wsee.tools.anttasks.WsdlcTask" classpath="${WEBLOGIC_HOME}\server\lib\weblogic.jar" /> gives: build failed: wsdlctask cannot be found. When I replace...

Error starting weblogic in eclipse

When I start a Weblogic Server 11gR1 (10.3.1) in the server tab in Eclipse (3.4.2) I immediately get an error popup: Starting ... has encounterd a problem. Server ... failed to start. However the starting continues and the server ends up in RUNNING mode after some 8 seconds. No ears deployed, fresh domain and/or server instance. It used...

Writing custom session store for Weblogic

I want to store JSP session data in a custom store (the one I specify) in WebLogic server. Is there any interface or base class that I can implement or an filter that I can write that can I can plug-in through configuration and which enables me to store session data in my store? I have done some initial search but couldn't find any entry...

Exception with EAR in WebLogic 9.2 and Xerces144.jar

Hi, I am using an application where I have placed xerces144.jar file within WEB-INF/lib folder of war file inside an EAR file. When I deploy this EAR file to WebLogic Server and start the application, I am getting the following exception. We are using Spring MVC. However, if I deploy the same application using just the WAR file every thi...

Limit the number of parallel processing of a servlet

We have a servlet which occupies more virtual memory on the server as it downloads files . For this reason, we would like to limit the concurrent requests to this server say for example we would only want 10 requests processed in parallel. We would want other requests wait in the queue. Can a custom thread pool be created, and configur...