Hi! Environment : Weblogic 451 We have configured weblogic tasks that do specific tasks for us. Now, It was working fine all these days and One fine day, It Just halted without giving any error. So question is: Is there some way to know whether a specific task has halted? Note: We have configured around 15 such tasks (which is good for background processing) and all other were working fine when this particular task halted. Any inputs would be of great help. Thanks in Advance. Regards, Nilesh.
Thank You for your Response. Now, apart from this concurrent access problem,The Bean locking can also occur due to the high load? Say, I have max number of possible instances of a Entitybean as 1000. but I am processing 2000 records , from multiple clients. (Assume that it's a common routine like a scheduler which gets executed for each client accessing the same set of records), Is it that such a situation can lead to bean locking?
Hi! Environment : Weblogic 4.5.1 We are facing bean locking problems lately (no, not because of deadlock).. I read that BEA uses Pessimistic locking approach. In the simplest case, Meaning that User1 has fetched data (say for reading) and at the same time, user 2 also needs data for reading, then until and unless user1 is finished, user2 wont get this data and the bean would remain locked. Now, Question: 1) How do I know whether user1 has finished? ( I am assuming it has started a transaction of its own); Might be end of that procedure (say in a session bean to retrieve data from that specific entity say company based on company id?) 2) Is there a way to change this pessimistic locking to optimistic locking a) Programmatically a.1=> This could be like including time stamp or version. Any other way ? b) At appserver level (any other option then Upgradation ) Your help would be highly appreciated. Thanks in Advance. Regards, Nilesh.
Hi, Is it for sure that the sequence doesnot matter? because while searching for examples and objectives, I did came across texts which mentioned about memorizing the sequence in which the elements appear in dtd's.. If not, thats good.. Any confirmation would be very helpful.. Regards, Nilesh.
Hi!, Some very basic questions: 1) This exam is for J2EE v1.4. 2) Which App Server does every one recomments for exam? might be Sun's J2EE SDK (link mentioned in earlier posts) or tomcat?? 3) How much amount of "practical experience" or "practice" is actually required for the exam? Now, there is no limit to this, but say two categories: a) Total theoretical b) With some experience on previous version say Worked on J2EE 1.0 Thank you in advance for your inputs. Regards, Nilesh.
Thanks for response. However, How do I know whether the cache is enabled or it is coming from cache? I am using weblogic 4.5.1. The problem is : we have a servlet. From the servlet, It finds an entity bean based on id. (somehow session has it). checks whether the status of the found bean (record) is "cancel" and throws an "application exception" (kind of validation). However, At the end of this operation, the lastediteddate of the table gets updated to system date. This is due to execution of a trigger which says: on insert/update of table, update last edited date to sysdate. This means, the trigger gets fired. But the code does not do any update ("Set" methods). Thanks in advance for clarifying my doubt. Regards, Nilesh.
Hi! a trivial question: Does accessing a quering method say myentity.getStatus() would cause the DB trigger(insert/update) to be fired? <snip> myentity = myentityhome.findby(id); myentity.getStatus(); <snip> Regards, Nilesh.