File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CMP problem

 
Joe Rage
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
joe
 
Logan Owen
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

LoDown
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic