weblogic

Weblogic EAR Classloading

I am deploying an EAR in a WebLogic node with many jars defined in the bootstrap (startWeblogicServer.bat) class-path. The problem is that my ear and the bootstrap contain different versions of the same jars, not only that but certain jars contain extracted third party libraries which also differ in version from the WebLogic bootstrap ...

Jar placement for Web Apps using WebLogic

This seems like an elementary question, but I want to make sure that we're doing things right. We're making webapps using Spring MVC and serving them using WebLogic. Where should jars be placed in this setup? We have talked about placing business logic into jars that would live in the server classpath and app-specific jars would be pac...

weblogic context lookup error : java.rmi.UnmarshalException: error unmarshalling arguments

Hi, We are facing an issue in our production env. We have searched the net high and low and we were not able to come up with any answers. This error(stacktrace below) occurs when an ejb lookup is made from managed server 1 to manager server 2. Virtual ip is used for the lookup. It occurs intermittently and at random intervals. We are no...

When is it appropriate to use an EAR and when should your apps be in WARs?

We have many Spring web applications to make on a WebLogic server and are curious about when WARs should go in an EAR and when they should just exist as WARs. Occassionally, the WARs will need to access common logic JARs, but I don't see why these would need to go into an EAR when they could just be packaged into the WARs. From what I u...

Sniffing/capturing all traffic between Apache and Weblogic on Solaris

We have an application where an embedded device talks to weblogic via Apache. Weblogic and Apache are on the same Solaris server, and we are using the weblogic module for Apache. The communication works over http It does not work over https, although the problem does not appear to be directly related to https (the SSL session is negoti...

Is there a way to detect the undeployment of an EJB?

Hi, I need to do some clean up (release open ports,etc.) before my EJB Session Bean is being undeployed, is there a way to detect this? The EJB is running on Weblogic 10.0. ...

Get JTA transaction timeout value in WebLogic

Is there a way to get JTA transaction timeout value? UserTransaction interface has only setTransactionTimeout method. Is there a specific way of getting its value in WebLogic? ...

Sun T5440: Weblogic start take too long

Hi all, We are using weblogic 10.1 on T5440 servers but the start time takes too long as compared with V890 servers. But after start the cpu performance is excellent. For example weblogic server start takes 15-20 min. on a v890 server bu the same weblogic server starts in ~50 min on T5440. Did you face the same problem? Or do you h...

How to specify "Copy this application onto every target of me" option while deploying using WLST deploy() command?

I want to remove dependency on the location of EAR file while deploying it into WebLogic Server using WLST scripts. While doing manually we can select the radio button - Copy this application onto every target for me in the Source accessibility section of Install Application Assistant. Now the question is: how to achieve the same usin...

Need to run Seam Webservice on Weblogic

HI, I am having a webservice running successfully on JBoss App Server. However, when I try deploying the webservice example on Weblogic 10.0 MP1 after making the necessary changes I get the message that "No business interface, component interface or web service endpoint interface found for Session Bean". In the generated EAR file there ...

Where will WebLogic look for files by default?

Hi All, I have a web application deployed in WebLogic. In one of my java file, I tried to read PleaseNote.txt as following: File file = new File("PleaseNote.txt"); Now WebLogic is taking PleaseNote.txt from its domain directory.My question is: [1] Why it is domain directory? Why not the directory where my java file which has the abo...

Spring 2.5.1 and Xfire 1.2.6 - NoSuchMethodError: <init>

Hi all, Trying to integrate Spring 2.5.5 with Xfire 1.2.6, I'm attempting to inject one of my beans into my service but it's failing on initialisation with the following exception: java.lang.NoSuchMethodError: <init> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:420) at org.spr...

Weblogic 10.0: advantages with database connectivity and gotchas?

What advantages (if any) does Weblogic 10.0 provide in terms of database connectivity (to any database) over open source or commercial alternatives? Are there any Weblogic specific gotchas with using a Weblogic database connection? I'm a J2/JEE, Weblogic newbie so please excuse the simple questions. ...

Order of JAR loading inside EAR's APP-INF/lib

Will adding a MANIFEST.MF file with Class-Path attribute to META-INF directory inside EAR influence the order of loading of JARs located in APP-INF/lib under WebLogic 8.1? ...

How do you configure WorkManagers in WebLogic 10.3?

I would like to use a WorkManager to schedule some parallel jobs on a WebLogic 10.3 app server. http://java.sun.com/javaee/5/docs/api/javax/resource/spi/work/WorkManager.html I'm finding the Oracle/BEA documentation a bit fragmented and hard to follow and it does not have good examples for using WorkManagers from EJB 3.0. Specifically...

JMS queue in Weblogic10 EJB2 session bean able to send but not to receive

I try to receive a JMS message in an EJB2 (legacy sucks ;-) stateless session bean, in weblogic 10.0.1, with bean managed transactions. Queue definition from jms folder looks like <uniform-distributed-queue name="ReqQueue"> <default-targeting-enabled>true</default-targeting-enabled> <delivery-params-overrides> <delivery-mode>Non...

How do I refresh jsp's on weblogic

I'm running an exploded war on weblogic 10.0 in production mode. I want to modify a jsp without having to fully redeploy the application. I can't seem to achieve this using the weblogic.Deployer with a partial redployment - see: http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs100/deployment/redeploy.html#wp1025739 This must ...

How to connect to a Weblogic JMS queue using t3s?

I want the last of these lines in a standalone application to pass with no exceptions thrown: Properties props = new Properties(); props.setProperty("java.naming.factory.initial", "weblogic.jndi.WLInitialContextFactory"); props.setProperty("java.naming.provider.url", "t3s://localho...

correct CA not accepted by weblogic 8.1

I have a very strange problemen when connecting to an https url: [Security:090548]The certificate chain received from services.rdc.nl - 217.115.224.68 contained a V3 CA certificate which was missing the basic constraints extension There is almost no information availible about this error code. When testing the url with OpenSSL, all c...

ALSB automation

One of the elegant things about WebLogic is WLST (Weblogic Scripting). Is it possible to script actions done in ALSB (Aqualogic Service Bus)? For example: Exporting resources from the bus. ...