| Author |
NoSuchMethodError in CMR
|
Mark Herschberg
Sheriff
Joined: Dec 04, 2000
Posts: 6037
|
|
I'm receiving a java.lang.NoSuchMethodError when I access a CMR method in one of my entity EJBs. To be more specific, I have a PrimaryMarket EJB that contains a relationship called "markets," which references a set of Market EJBs. When I invoke the method "getMarkets" from the PrimaryMarket EJB, the server (BEA WebLogic 7.0) generates the java.lang.NoSuchMethodError. I am using JBuilder 8 and already have tried cleaning/rebuilding/redeploying the project. Also, everything looks fine with the ejb-jar.xml and weblogic-cmp-rdbms-jar.xml, as my coworkers have the same files on their systems, and everything seems to work. Any help would be greatly appreciated, --Mark
|
 |
Karthik Guru
Ranch Hand
Joined: Mar 06, 2001
Posts: 1209
|
|
Since you are saying that all your colleagues are able to get it work, it has something to do with the temp files that are still sitting in the weblogic folders. By clean up, hope you mean that you did clean up the .wlnotdelete folder (that appears in my weblogic 6.1 version, not sure if that is the case with 7.0 too). I also notice a D:\bea\wlserver6.1\tmp_ejbkarthikguru7001 folder that gets created where i guess it stores the container generated implementation of the beans. In the past, I have had to clean up that folder as well.
|
 |
Mark Herschberg
Sheriff
Joined: Dec 04, 2000
Posts: 6037
|
|
Hi. Thanks for your reply. We did delete the tmp folder, but it keeps coming back. Any idea how to get rid of it for good? --Mark
|
 |
Giselle Dazzi
Ranch Hand
Joined: Apr 20, 2003
Posts: 168
|
|
|
Did you solve your problem ? What was the solution ? Im getting the same error msg, dont know what to do...
|
Giselle Dazzi<br />SCJP 1.4
|
 |
Mark Herschberg
Sheriff
Joined: Dec 04, 2000
Posts: 6037
|
|
I forgot how we solved it (or if we did--we might have sidestepped it). I've moved on to a new job, and honestly don't remember what happened. Sorry. --Mark
|
 |
HanMing Low
Ranch Hand
Joined: Oct 18, 2001
Posts: 196
|
|
Hi, It should be the temp directory. What are the temp directory you have deleted and it is dependent on the deployment method you have used. e.g. using hot deployment by copying the files to applications directory, you need to clear applications/yourdeployment directory yourserver/.wlnotdelete yourserver/stage + update the config.xml Hope this helps. Cheers. Han Ming
|
 |
 |
|
|
subject: NoSuchMethodError in CMR
|
|
|