weblogic

How can I add domain root to the WebLogic AdminServer classpath?

How can I add the domain root path to the Oracle WebLogic 11g (10.3.2) AdminServer classpath? (Note that I am not running the Node Manager.) Which WebLogic startup script sets environment variable WEBLOGIC_CLASSPATH? Is this the variable to which I should add the domain root? ...

JRockit Mission Control does not capture Spring Bean methods invocations

Hi, I am trying to profile my Spring Web app running on WebLogic 9.2 JRockit Mission Control 4.0 works perfectly except it doesn't capture Spring Beans method invocations. Are there any tricks to make it work? ...

weblogic-10.3.2 + xfire-1.2.6 ClassCast exception

Unnable to deploy and start application on weblogic with xfire dependency lib wstx-asl-3.2.0.jar. Exception occurs: Caused by: java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:137) at ...

Generate multiple clients with weblogic clientgen without iterate all them in ant build.xml

I use clientgen ant task shipped with weblogic to generate web-service clients. Currently I have one different clientgen statement for each wsdl. Is there any possibility do not iterate each wsdl? It will be perfect just set directory where all wsdl live for one clientget statement. ...

ValidationException class version mismatch

I have a simple EJB application that I can deploy and test on a local WebLogic instance (v10.3.0.0) without problems. I need to deploy this on a remote WL server (v10.3.3.0), and test it from a local machine. Deployment is successful, but when I try to run any of the clients from JDeveloper, I get this error: <2010.06.02. 16:08:36 CEST>...

Weblogic server lib VS instance libext

Hello, I use weblogic 10. Its provide an Oracle JDBC driver 10.2.0.2 (in the server/lib on weblogic home). Actually someone at work put a long time ago a 10.2.0.3 driver in instance libext folder. But in production we got a jdbc driver stack (nullpointer :O) and by reverse engineering it seems we are using driver 10.2.0.2. We know th...

EJB and asynchronous processing

I need to execute some stuff asynchronously after a EJB method is called. This need seems to be fulfilled in EJB 3.1 but unfortunately we're not there yet and have to use 3.0 version. What would you suggest as the simplest way and are there caveats? I can think of the following approaches: JMS (maybe overkill) TimerService (looks sim...

Dynamicly select datasource for entities runtime

I have an entity bean that will represent an expected result over multiple databases/datasources and can also be different queries executed, but same result always comming back. So the bean is re-used over different datasources that should be able to be dynamicly selected. Is it possible with JPA to select during runtime the data source...

JAX-WS, Weblogic interoperability problem - No start attachment specified in the Multipart/Related document

Hi all! I'm trying to use JAX-WS on WebLogic 10.3 as a WS Client consuming a Web Service on a WebLogic 9.2 server. The problem I have is that when I add an attachment part in a SOAPHandler, the JAX-WS implementation does not include a Start parameter in the Content-Type header. Apparently this should not be needed, but the WS implement...

Seam + hibernate + jsf on weblogic

I'm making a little project with Seam, Hibernate and JSF. This project run on JBoss 5.1. My boss wants to deploy this project on WebLogic. I read on the seam documentation that seam and WebLogic don't work fine together. I would like to know if I can use Hibernate (with JPA) and JSF on WebLogic and what framework (struts, spring?) I ca...

ClassCastException When Calling an EJB Remotely that Exists on Same Server

I have 2 ejbs. Ejb-A that calls Ejb-B. They are not in the same Ear. For portability Ejb-B may or may not exist on the same server. (There is an external property file that has the provider URLs of Ejb-B. I have no control over this.) Example Code: in Ejb-A EjbBDelegate delegateB = EjbBDelegateHelper.getRemoteDelegate(); // lookup f...

Deploying spring message driven pojo on weblogic 8.1

Hello, I am trying to deploy a spring message message driven POJO on weblogic 8.1. It is a simple POJO, and it works fine being run outside of an application server, but the messages do not seem to be picked up at all. I have created empty home and remote interfaces, as well as a container bean class that contains an instance of the poj...

Root cause of weblogic.jms.common.TransactionRolledBackException

What is the most likely root cause of the following exception: [weblogic.jms.common.TransactionRolledBackException: Attempt to resume an inactive transaction: BEA1-72F9873FF02A158778E0:error resuming transacted session's internal transaction]; attempts will be made to (re-)start message delivery (auto reconnect mode). ...

Weblogic dynamic class loading

Does someone found a way to use (for development) a "dynamic" class loader for weblogic 8 or 10 ? I am looking for an hot, jar / classes, classloader reload mecanism. For tomcat 4 -> 6, i use since several years an old, but very convenient, Dev class loader : http://www.eclipsetotale.com/tomcatPlugin.html So, i am looking for an anal...

what is the difference between google app engine and weblogic server?

hi, can you please explain me the difference between google app engine and weblogic server? ...

wldeploy problem - remote deploy not working

Hi I have the following ant configuration for remote deployment to weblogic. <target name="deploy"> <wldeploy name="${ant.project.name}.ear" user="${wls.username}" password="${wls.password}" adminurl="t3://${wls.hostname}:${wls.port}" action="deploy" source="myApp.ear" targets="${wls.server.name}" stage="true" verbose="true" uploa...

Creating an application instance specific cache for Java/WebLogic Web Services

Hi all, I'm new to both J2EE and WebLogic. I'd trying to determine the best way to implement a non-distributed cache (one cache per application instance) in a Java Web Services application running on WebLogic 10.3. I need to cache several different POJO's. There will be multiple WebLogic instances running on each server in a cluster. W...

Which script gets invoked from my eclipse when starting weblogic server?

I setup weblogic to run on my Mac. I am trying to start weblogic from eclipse on port 80 but it doesn't start. I can start the server using sudo on a terminal. I am not able to figure out which script gets called when I start the server from eclipse? The error that I am getting is: There are 1 nested errors: weblogic.management....

Publishing EJB's local interface in weblogic

Hi, is there a way to lookup an EJB in weblogic if it implements only local interface? If I use this @Remote public interface TestSessionRemote { public void businessMethod(); } @Stateless(mappedName = "A") public class TestSessionBean implements TestSessionRemote { public void businessMethod() { } } the EJB can ...

Getting the URL of the Calling Application

When using JAX-RS is there a way of getting information about who is calling the webservice? Can we get the ip or url of the calling application? If so how do you do it? Thanks ...