|
|
Annotation Overrides in a Cluster
Chris Hogue's Blog |
March 22, 2007 8:34 AM
|
Comments (4)
Previously I wrote about annotation overrides--a technology available with Workshop for WebLogic 9.2 that allows you to override control annotation values at deploy time and runtime. For an introduction to the feature check out that previous post.
At the end I set out a section of things to watch out for, but there's another step to be aware of when deploying these to a cluster. Because the console is sitting on the admin server, a couple of the J2EE Libraries have to be targeted to the admin server of the cluster for it to be able to recognize the annotation manifest. Specifically, you'll need to target the weblogic-controls-1.0 and beehive-netui-1.0 J2EE Libraries. Without doing this you will see the same error described in the earlier post:
"javax.enterprise.deploy.model.exceptions.DDBeanCreateException: [J2EE Deployment SPI:260142]The descriptor at 'META-INF/annotation-manifest.xml' in module 'ServicesWeb.war' is not recognized, and could not be parsed."
You shouldn't need to (and normally wouldn't want to ) target the whole application to the admin server. Let us know how it goes...
Comments
Comments are listed in date ascending order (oldest first) | Post Comment
-
Hi Chris, I am getting the above error as you described. I have deployed weblogic-contorls-1.0-war, beehive-netui-1.0-war, beehive-controls-1.0-war, wls-commonslogging-bridge-war to WLS directly. My application gives error when I try to lookup test endpoints from console. The application works fine when deployed from weblogic workshop. The error comes only when I use the ear or war file exported from workshop to manually deploy to weblogic 9.2.2. Server restart also did not help. Please help.
Posted by: consultvaibhav on October 16, 2007 at 10:41 AM
-
Can you say more about your setup? Is the application a WLP application? Or a straight Workshop application? Are you deploying it to a cluster? If so, have the libraries been targeted to the Admin server?
Posted by: hogue on October 16, 2007 at 12:34 PM
-
I've got the same error on my server.
My application is a Workshop application and the application is deployed on a cluster. Per your post, I've targeted weblogic-controls-1.0 and beehive-netui-1.0 to the Admin server but I've got the same error.
I've exploded the EAR file but keep the WAR file intact.
Can you help?
Posted by: vtran05 on January 29, 2008 at 1:46 PM
-
It's going to be dependent on the application which libraries need to be targeted to the admin server. Have you targeted the beehive-controls library as well?
The next bet would be to pick each library and target it to see which one it needs.
Hope this helps.
Posted by: hogue on January 29, 2008 at 2:39 PM
|
|