« Why do things have to be so bloody hard???? | Main | Well, at least I've answered one question »

I'm not sure exactly why WebLogic Workshop bothers to make things customisable

It just makes things break!!

(Followup at end)

I'm mucking around with the workflow side now, and I spent a very good hour with the customer rep modelling the business workflow that we are going to implement. After the customer leaves, I start making improvements to the design by extracting common pieces to a sub-process, and so. Then, all of a sudden, it doesn't want to build anymore.

So... here's a simple, five step way to break your process project.

  1. Create a new Process Project.
  2. Add a Client Request control to the project.
  3. Add a Client Response control to the project.
  4. Open the client Request Control. Change the method name to 'invoke' (instead of 'clientRequest').
  5. Attempt to build the project.


ERROR: DESCRIPTION: An unexpected exception occurred while attempting to generate the Enterprise Java Beans or JMS Message Queues required for this Web Service. Error: com.bea.wlw.runtime.core.dispatcher.DispCache$CacheException:Unable to generate beans. See workshop.log for details
SUGGESTION: An unexpected error occurred. Please contact support@bea.com for further assistance.

Umm. Yes. I can see why they put in a way to change the method that doesn't work. What I can't see is why changing the method name causes things to break.

----

Followup: I must have my bug attracting deodorant on today. Further exploration has demonstrated that it was my choice of method name that causes it to fail. If I use 'foobar' instead of 'invoke' at step 4, then it works.

This makes it a lot easier to understand why this bug slipped through; edge case scenario and all that. Still, that doesn't explain why it breaks, nor does it excuse the wonderfully useless error message.

Post a comment


About

This page contains a single entry from the blog posted on November 5, 2004 5:25 PM.

The previous post in this blog was Why do things have to be so bloody hard????.

The next post in this blog is Well, at least I've answered one question.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.35