Jayavardhan geepi

Ranch Hand
+ Follow
since Jul 21, 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
1
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 Jayavardhan geepi

HI.. I want to schedule maven build with deploy lifecycle using java or any scheduler.
Can anyone suggest me the approaches?
I tried executing commands using Runtime.

This works fine, but unable to close command prompt after build completes.
Tried chaining "exit" command, but it takes as "mvn validate exit" and maven throws exception that unrecognized lifecycle "exit".
11 years ago
Sorry. Found out the issue.
I had spring jars of version 2.5.6 on classpath and not 3.1.1.
After addding 3.1.1 jar to classpath, its resolved.
Thanks
11 years ago
I'm using Spring3.1.1 and in config file I'm using below namespace declarations.

But if I change the xsd value to 'spring-beans-2.5.xsd ' (in xsi:schemaLocation) it works fine.
But not with spring-beans-3.1.xsd.
Can someone please help? I'm using eclipse.

Thanks
11 years ago
sun web site says sealing provides Security, enforcing version consistency.. But I didn't understand how?
Can someone please give code example?
Thank
11 years ago
I came across addScalar("empid", Hibernate.String) which works as expected

gives me List<Emp>.
But, If I need List<String> (where each entry is empid) using same query , what should I do? Please help.
Clear.
Thanks Winston and Jesper.
Am I right here?..
I have, and I'm doing from inside 1st synchronized block of above example by Winston.
So, only someRead method is synchronized irrespective of on which instance it is called.
i.e even subsequent code has to wait until first call to someRead() is finished?
then, if I'm calling a method inside synchronized block, while the thread is inside that method, other thread also can call same method on same instance of class A as lock of that instance is not obtained in case2.
Correct me if I'm wrong.
Obtains lock of 'this' object, which is clear. But, if the thread obtains the lock of 'obj', how lock of object on which this method is called is obtained?
In other words, what is the difference?
Please explain.
Can some one please explain the difference between 32 bit jdk and 64 bit jdk?

Jay
12 years ago
Hi,
I'm able send PDF file in a SOAPMessage using SAAJ. I can execute the program without exception, but I'm not finding examples how to access those attachments on the other side.
Can someone post the example of accessing the attachments?

Regards,
Jay
12 years ago
Hi,
In a web app, I use Spring transaction management and using JTATransactionManager comes with Spring.
I'm using JBoss AS and I know that Jboss also has JTATransactionManager.
Apart from this, database itself will be having its own transaction management.
(Please correct me if I'm wrong)

I'm confused, which transaction manager takes effect , does any override another or all work together..
Please clarify.

Thanks,
Jay
12 years ago
Hi..
I have zipped few files and have set each ZipEntry's crc value to updated CRC with the corresponding file's checksum and I have logged those values.
But, If I unzip the zipped file and print the CRC for each zip entry, all are having value "-1".

Nothing has been changed in the zip file.

Can some one please brief what might be the reason?

Thanks,
12 years ago
Hi,

I tried to use resource injection in a servlet with name parameter set to jndi name (which works in manual look up) in JBoss 4.2.x.x.

It is not working. Properties are null at run time.