• Post Reply Bookmark Topic Watch Topic
  • New Topic

NoSuchMethodError in CMR

 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 168
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you solve your problem ? What was the solution ? Im getting the same error msg, dont know what to do...
 
Mark Herschberg
Sheriff
Posts: 6037
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!