Douglas Mendonca

Greenhorn
+ Follow
since Mar 26, 2010
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 Douglas Mendonca

Hi guys, I tried to deploy the rampart module in Tomcat and I face this error:



I search this class and I found in apache-tomcat-7.0.12\webapps\axis2\WEB-INF\lib\axis2-kernel-1.6.0.jar

My versions:
rampart-1.6.0
apache-tomcat-7.0.12
axis2-1.6.0

My steps:
1. I copied all jar from rampart-1.6.0\lib to apache-tomcat-7.0.12\webapps\axis2\WEB-INF\lib\
2. I copied the rampart-1.6.0.mar to apache-tomcat-7.0.12\webapps\axis2\WEB-INF\modules

But I tried start tomcat, the same error alway appear:


What am I doing wrong?

Thanks!
12 years ago
Hello, I have this field in my class command class:

Then I use the @Valid in my @ActionMapping, example:


Everything works fine, but I have one problem: when the "login" is null, the validator return the NotNull and the Size validation, how can I do to the validation stop in the first error? In this case the NotNull.

Ps: Sorry my bad english.

Thanks!
Hello, how can call a remote ejb from different servers using annotation @EJB?

Server A
remoteEJB-1

Server B
remoteEJB-2

I have a code that its working, but I want to replace this lookup code by @EJB annotation, its possible?
My actual code (its working):


My jndi.properties is working fine with the code above:


I tried this and didn't work:


Any sugestion?

Peter Johnson wrote:I have not found any way in Eclipse, or in subversion for that matter, to prevent a user from checking in code that does not meet the coding guidelines. For my team, I demand that all checked in code either has no warnings or that any warnings are clearly documented in the code as to why the guidelines could not be followed. Of course, they can always check stuff in anyway but then they will incur my wrath. Most people fix their code mainly to prevent the yellow flags from showing up in the editor.

One possibility is if you use Maven for builds, have it generate the various code review reports and publish them on a web site. Then violators will be caught fairly quickly because everyone can see the coding flaws.

Moral of the story: do not discount peer pressure!



Thanks a lot Peter, currently we use Hudson for this purpose, a very good tool by the way. I will continue my quest.

Rob Prime wrote:Moving to our IDEs forum.



Thanks! Any idea guys?
Currently we use three (PMD, FindBugs and Checkstyle) Eclipse tools to make a painless code review.

We want to avoid that the developer commit the code with no error regarding this tools in Eclipse. This is possible? Has anyone do something like that?

ps: Sorry my bad english