weblogic-10.x

Hibernate/JPA inheritance issue on weblogic

Im getting a weird error when running my spring2.5.6,jpa(hibernate3.4) webapp in weblogic 10.3 [ERROR] Javassist Enhancement failed: com.xxx.domain.model.Scheme java.lang.NoSuchMethodError: pcGetManagedFieldCount at com.xxx.domain.model.Fund.<clinit>(Fund.java) at sun.misc.Unsafe.ensureClassInitialized(Native Method) ...

How do you generate WSDL using Maven2?

I am using jax ws wsgen tool in maven2. I need to deploy the webservice on weblogic10.1 wsgen is not generating the webservice.xml , weblogic-webservices.xml. Is there any way to generate these weblogic related artifacts using wsgen or by anyother tool by inuputting the wsdl. ...

Weblogic Bea 10.0 M1 and WorkManager

Hi there! I have to execute long running threads in a WebLogic Bea 10.0 M1 server environment. I tried to use WorkManagers for this. Using an own WorkManager allows me to specify my own thread timeout (MaxThreadStuckTime) instead of adjusting the timeout for the whole business application. My setup is as follows: weblogic-ejb-jar.xml:...

Modifying web.xml in weblogic 10.3

I have a web application that I am currently in the process of migrating from Oracle Application Server to Weblogic 10.3.1. The application uses a client-side filtering agent to validate a user before letting them enter their password. The agent would occasionally jam up and we would remove it by simply ripping its configuration out of t...

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...

Is it possible to run OSGi components within Weblogic 10.3?

Is it possible to run OSGi components within Weblogic 10.3? From what i have read it is not possible but im asking just to be 100% sure. There is no option to swap out WL 10.3 so there is no need to list any other application servers or OSGi containers. Thanx ...

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 ...

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. ...

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 ...

ADF Faces 11g ignores the template when it navigates to the same page

Hi, I'm using ADF Faces 11g\JDeveloper 11g to develop a web application and using Weblogic 10.3 to deploy it. I'm having some issues when I navigate to the same JSP page. Example: I have a page using a template: <f:view> <af:document id="d1"> <af:form id="f1"> <af:pageTemplate viewId="/base/te...

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_...

strange issue with JPA

Hello everyone, I have an strange issue here. I´ve got a JSF page which calls a webservice, in that call a Load entity is created. After that from the page I insert some Files, Load has a relation 1--> N with the files. After that I call the webservice to create a timer for making a few task with those services. If I do that way JPA ...

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...

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...

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 10.3.1 gives 'Dependency injection failure' warning when publishing code

Weblogic 10.3.1 gives me a "Dependency injection failure" when I publish my code; the publish itself succeeds. I am working via Eclipse. Basically I publish an ear with a web service aaa.MyWebServicePort that has a bean bbb.MyBean declared as local variable with the ejb 3.0 @EJB annotation. bbb.MyBean is also in the ear as well as a cl...

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. ...