weblogic

Weblogic 10.3.1.0 is using com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar... I want to use commons-net-2.0.jar from my code

Weblogic 10.3.1.0 is using com.bea.core.apache.commons.net_1.0.0.0_1-4-1.jar... I want to use commons-net-2.0.jar from my code. How can I force it to use the newer JAR in my code only? ...

Weblogic forces recompile of EJBs when migrating from 9.2.1 to 9.2.3

I have a few EJBs compiled with Weblogic's EJBC complient with Weblogic 9.2.1. Our customer uses Weblogic 9.2.3. During server start Weblogic gives the following message: <BEA-010087> <The EJB deployment named: YYY.jar is being recompiled within the WebLogic Server. Please consult the server logs if there are any errors. It is also poss...

JMS transport v/s MQ transport

hi, I am using Oracle Service Bus(OSB) as the MOM, and the destination URI is a IBM MQ queue. I just want to know which would be the preferred transport. OSB provides 2 adapters for the same, JMS adapter and MQ adapter for transport. Does any one knows what are the PROS and CONS of the same. TIA ...

What is Foreign JMS provider? What is the typical role of Weblogic in a JMS application?

Currently I am working on a JMS application. But I use plain JMS API and Property file for configurations. My application is running in Weblogic and connects to MQ series server of my client. Recently I got to know I can use Weblogic for JMS configurations. Please explain. What is "Foreign JMS provider"? Is Weblogic also a JMS serve...

canceling timers during weblogic shutdown

hi all i have an EAR project which runs on weblogic i have some timers in my application and i want to cancel them when i redeploy my EAR project. I have tried using PhaseListener but i could not access to my web module classes in phase listener. how could i do this task? thanks in advance ...

How to turn on debug and trace logging for weblogic ?

I understand there are very many ways to do this- just not very clear to me which ones I should use. Some of the answers on google dont work and the docs on the site are murky to me. thanks ...

Why isn't this EJBQL query validated by JBoss 5?

Hello, I am migrating an existing application from Weblogic server 9 to JBoss 5. My problem is with a query that has a character condition in the WHERE clause, like this one: SELECT DISTINCT OBJECT(myObject) FROM MyObject myObject WHERE myObject.myAttribute = 'F' ... which I believe was working with WLS now leads to an aborted dep...

Maximum <jsp:include> depth.

We're using an application build using Weblogic Workshop 10.3 and running on weblogic server 10.3. I'm trying to display a tree of data using recursive calls to a jsp page using <jsp:include>. The problem I'm having is that after about 3-4 layers deep the page doesn't get rendered anymore. Log statements around the JSP include show th...

What are the downsides of using non-managed threads in a managed environment?

What are the disadvantages of creating my own threads inside a managed environment like a weblogic application server? I have always used managed threads (using the WorkManager api) whenever i am working inside an application server. However I am unclear on the disadvantages or issues that might be caused by using non-managed threads ins...

ALSB: How to turn off XML validation for incoming messages?

Hello! Having an ALSB application with a link from another internal application, is it possible to turn XML validation on that link off? I'm looking to ways to improve performance, and the validation of messages from a well-tested application certainly feels like unnecessary. ...

Get OracleXADataSource using InitialContext

Hi everyone, i'm developing an application running on WebLogic 10 and of course in java. Ok, the thing is that i'm using oracle.jdbc.xa.client.OracleXADataSource to manage the transactions, and i'm also trying to set the OracleXADataSource object with InitialContext like this: InitialContext ctx = new InitialContext(); Oracle...

2 way SSL not working on log off of outlook webmail 2003

In my project, we are opening Outlook webmail 2003 in a iframe. Recently we configured weblogic for 2 way SSL. The 2 way SSL configuration is working fine and SSL handshake between Client and Server is working in normal case. But after user clicks on Webmail log out button. Page not found error is displayed for all the subsequent reque...

Can multiple projects have the same context-root?

I am going to build a many web services using weblogic and JAX-RS. To keep things simple I was going to place each service in its own project. But the problem I seem to be having is with setting the context-root for each project. Can multiple projects that are deployed on the save weblogic server have the same context-root? ...

How to use @PostConstruct to create timers in a stateless bean EJB3?

I want to create a timer EJB3 when a stateless bean is created in the pool. But if I use @PostConstruct I get the exception: java.lang.IllegalStateException: [EJB:010193]Illegal call to EJBContext method. The bean is in "null" state. It cannot perform 'getting the Timer Service' action(s). Refer to the EJB specification for more details...

Deploying a rails app on Weblogic

Have been using the Apache successfully but there's a sudden need of migrating the app and deploying it on Weblogic. Any issues I should be aware of? And is Weblogic Rails 'friendly'? Thanks! ...

Weblogic Subject propagation - Where is subject stored?

Need to understand how subject is stored and propagated in weblogic. Once authenticated, where is subject stored in HTTP layer ? Internally is it stored in HTTPSession ? Same way, where is it stored in EJB layer ? Have an application, where a lot of principals are updated in the subject in HTTP & EJB layer. At some corner cases, getti...

Building Tuxedo Adapter for Weblogic

Hi, We are trying to build a Tuxedo adapter in Weblogic 11g to connect to Tuxedo 6.5. Does anyone know any good tutorial out there that can show us how to do this ? We found a some tutorials in Oracle website but unfortunately the tutorial files are not downloadable (broken links): https://tuxedo-connector.samplecode.oracle.com/index....

Error invoking servlet, but other resources get loaded - Flex + Java Application

Hi, I have written a RIA using flex for the front-end and Java servlet for the back end which actually makes calls to a web-service to do some processing. The welcome page is a html page which is served from the web-logic 8.1 server that the app is hosted on. The welcome page loads and the flash content loads. Even a 'xml' file contai...

How can I use use endorsed jars for one part of application and classpath jars for another?

In a environment the following jars have been endorsed because a particular module for SingleSignOn uses these versions of jars: - • xercesImpl-2.9.1.jar • serializer-2.9.1.jar • xml-apis-2.9.1.jar • xalan-2.7.1.jar • resolver-2.9.1.jar These endorsed jars are creating a problem as now these jars are used for parsing and not the corre...

JSF 2 annotations not working on weblogic 10.3.3

I have installed JSF 2 support on Weblogic 10.3.3 version using these instructions: When I run a sample application which basically calls a bean action like #{someBean.someMethod} and that bean is declared SomeBean.java with annotation @ManagedBean and @SessionScoped (I am sure its not some capitalization error - I am aware the Some...