Kaustubh Patil

Ranch Hand
+ Follow
since Aug 13, 2001
Merit badge: grant badges
For More
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 Kaustubh Patil

Any help as why is this happening ???
12 years ago
JSF
Well, approximately 2 - 4 seconds. Its different on different setups though.
12 years ago
JSF
I have a primefaces datatable on my view and the first column is a h:link which links to the detailed view of the entity that the row represents. The problem is when I click on the h:link the text vanishes before the control is passed on to the details page. Is this a known problem ? Is this a problem with JSF or Primefaces ?

I am using Primefaces 2.1 version and JSF 2.0.4-b05 version.

Any help would be lot appreciated.
12 years ago
JSF
Experts ?? any clues why is this happening ?
13 years ago
I am using powermock to mock some native command invocation using process builder. the strange thing is these test pass sometimes and fail sometimes giving a NPE. Is this a powermock issue or some gotcha in the program.

the snippet of the class under test is..

and the unit test case is ..

I get an error on execution an the test case fails..


Note : I do not get this error on all executions. Sometimes it passes and sometimes it fails. I am not able to understand this behavior.
Also, I have camouflaged some variable names because of the copyright issues.. Please bear !!




13 years ago

I started reading about DWR few days back. Its strikingly different from the usual web-app technologies I have worked on till date (read as huge amount of Struts). One question that invariably comes to mind is can DWR really replace MVC ?
One may argue about the usability of MVC but the more mature frameworks like Struts and JSF give lots of tools in the MVC. Validation, interpretors(struts2) etc..

From whatever I have understood about DWR from my little reading and if I can put it down in few words is that its nothing but say 'RPC over HTTP'. so, Can we really replace a MVC architecture with DWR ?
quite an interesting discussion...

I started reading about DWR few days back. Its strikingly different from the usual web-app technologies I have worked on till date (read as huge amount of Struts). One question that invariably comes to mind is can DWR really replace MVC ?
One may argue about the usability of MVC but the more mature frameworks like Struts and JSF give lots of tools in the MVC. Validation, interpretors(struts2) etc..

From whatever I have understood about DWR from my little reading and if I can put it down in few words is that its nothing but say 'RPC over HTTP'. so, Can we really replace a MVC architecture with DWR ?
I am trying to use the weblogic.Admin to start and stop a managed server, which I have created in my own domain. When stopping the server is there any option to specify the Domain for the server apart from the server name ? I find in the options that there is a way to specify the target server but no way to specify the domain
14 years ago
Hi,
I am getting the following exception when a bean is trying to lookup UserTransaction from the initial context
This is just part of the trace


and the code that looks up is


When I list all the JNDI entries there is this entry
14 years ago
do you see anything in the eclipse logs ? The logs might be here,
<your workspace folder>\.metadata\.log
14 years ago
Thats right Jai. But I am trying to avoid adding <depends> tag for each and every EJB. I like have dozens of entity beans.
14 years ago
Thanks Peter.
That was helpful. I was scouting around trying to figure how do I resolve all the dependencies for my service and wanted to deploy it after server has deployed everything else. the deploy.last subdirectory tip probably would do the trick. One thing though, I have some EJBs that I am deploying which depend on this service and I want them to get deployed after this service executes.
Can I put the ejb jar in the deploy.last ? but would still be not sure about the order of deployment between the service and the EJBs.
14 years ago
OK.. so I figured that writing your own MBean service is one way to do it. I am taking all the classes as strings and in the service executing the methods by using reflection.

I dont know if there is any other way to do it. Comments welcome...
14 years ago
Let me try to comprehend this...

Ami,
Your problem seems more or less with the eclipse workspace rather than jboss. Check if the file you are editing is read-only. If you have mapped your eclipse project source directory to some folder in source control tool etc.. etc..

regarding the server not starting.. I am not getting why are you not able to start it. As Peter said, tell the exact steps you did to start the server.
14 years ago
I have some classes that do the initial setup for the application. I was using weblogic where I could set the names of the classes and the order in which they should execute in the server instance.

How do I do this with jBoss ?
14 years ago