File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes CMP problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "CMP problem" Watch "CMP problem" New topic

CMP problem

Joe Rage

Joined: Nov 18, 2004
Posts: 3
I created an app that uses cmp. When I deploy my app on my computer, it works fine. However, I tried to deploy it on another computer and received this exception:

Thanks for any help.
Logan Owen

Joined: Dec 01, 2004
Posts: 24
I really have no idea what cmp is...but just looking at the error, it looks like you can't connect to the SQL server, so it is returning a null resultset, or something similar. Make sure that you have registered the data source, and that is accessible/working to/on the 2nd computer.

Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.

I'm closing this thread. Please continue in the duplicate post.

Logan, CMP stands for "Container Managed Persistence".

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: CMP problem
It's not a secret anymore!