Paymon Asadinia

Greenhorn
+ Follow
since Jan 11, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Paymon Asadinia

from what I recall the size is '2MB'.

<SCJP-SCWCD-SCBCD>
14 years ago
Here is the root cause in your stack trace;

"Caused by: java.lang.ClassNotFoundException"
Check your classpath, The class(es) in question can not be loaded;
"import synch.*" start here. I hope this helps.
make sure you have all the service packs installed for weblogic 8.1
Hi,

I believe that your package declaration is incorrect in the import statement here "javax.rmi.RemoteException". It should be java.rmi.RemoteException.

SCJP (2)
SCWCD
SCBCD(In Progress)


Hi,

From what I understand the way that Entity Beans stay in sync with underlying datastores(i.e. a database), is via couple of the Container Callbacks namely ejbLoad() and ejbStore(). One can be sure that the container always calls ejbLoad after each ejbActivate(), and ejbStore after
each ejbPassivate(), based on the spec, container may call the two mentioned callbacks at any other time or in any order for that matter.
Now lets say that you'd want to have an Entity Bean with BMT demarcation, You'd put your code into ejbLaod() callback method, perhaps around JDBC code. Since there is no guarantee that ejbLoad() will be called when you'd expect it to, your TX may never complete. This is why it is illegal to have bean managed transaction with Entity Beans.

SCJP (2)
SCWCD
SCBCD (In Progress)



Hi David,

Yes, Prehaps I should have been a bit more careful with my diction.
Nevertheless, I did mention that it would be considered a "(best practice)" to save the reference to the bean's context.




Hi,

have you guys put all this information in the tomcat config file yet,
like the jdbc driver, name of your database, etc? I didn't seem to notice in your posts that, this was mentioned. just a thought

SCJP, SCWCD, SCBCD(In Progress)


You must save the sessionContext (or any other bean contexts), This is the only way that your bean can be aware of it's environment. If you fail to do so, you won't get another chance to refrence it later. This is a must
for the bean provider. (best practice).


SCJP,SCWCD SCBCD(in progress)

[ January 13, 2005: Message edited by: schrodinger's cat ]
[ January 13, 2005: Message edited by: schrodinger's cat ]