Prabha Dhandapani

Ranch Hand
+ Follow
since Sep 11, 2003
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 Prabha Dhandapani

Thanks for the response Jeanne!

The adminsitrators are ok with any solution to start and stop the service remotely as long as they dont have to give the user running the ant script to do this does not need admninstrator rights on the server or giving adminstrator rights to the user but the password is not visible in the ant script or anywhere in the properties.

The administrators are ok with executing any .exe or script , etc on the server locally once we connect to the server (Windows 2003 server).

Thanks,
Prabha
16 years ago
What is the best solution to remotely start and stop the apache service (running as a windows service) from an ANT script. I looked into the exec tag to run it by executing cmd.exe.

We had apache running on Windows 2000 server where we called the sc.exe directly from the ant script to stop and start the apache service. However, we recently migrated to Windows 2003 which has more security at teh OS level so a non administrator user cannot start the sc.exe remotely. What are the other options that can be used to start and stop the apache server from the build script.

Can someone please provide sample ant code to do this ASAP?

Please note that apache is running on a remote server.

Many thanks in advance!
16 years ago
Hello all,

I need to design a Java API for sending of jobs(XMLS files, HTML files, etc) to third party job boards as a batch process . I would appreciate if someone can share your design thoughts and the efficient tools and technologies that I can make use of for this process.Would also appreciate if someone can point me to some books that talk about designs for these kinda processes.

Many Thanks,
Prabha
18 years ago
Once I get the above TreeMap sorted, I need to bubble sort it which I dont Know how to do for a TreeMap.

19 years ago
sorry I missed some lines...


The result that I am expecting is:

Key Value
A 1
D 1
K 3
S 10

Note:Values are not unique and I need to sort it based on Values only.

1)I am putting all the key/Value pairs into TreeMap tree.
2)Passing this tree to TreeSort
3)TreeSort sorts it and I put the sorted result into another TreeMap called sortedMap.

I dont know if this is the right way to do it...Would appreciate very much if somebody can help me.This is very very urgent.

Many Thx in advance,
Prabha
19 years ago
Thanks for the response!

But I have a need to seperately show the Key and Values.

So Here is my code and it is not working...I am getting NullPointerException.Would appreciate if somebody can give me a good solution.


The result that I am expecting is:

Key Value
A 1
D 1
K 3
S 10

Note:Values are not unique and I need to sort it based on Values only.

1)I am putting all the key/Value pairs into TreeMap tree.
2)Passing this tree to TreeSort
3)TreeSort sorts it and I put the sorted result into another TreeMap called sortedMap.

I dont know if this is the right way to do it...Would appreciate very much if somebody can help me.This is very very urgent.

Many Thx in advance,
Prabha
19 years ago
Hi everyone,

I have a Set with the follwing key/values:



I need to bubble sort the above Set using Comparator and the result should be:



My code is as follows and I am noe sure what I am mising here...I am getting a ClassCastException




Would appreciate very much if ranchers can rescue me as this is very urgent .

Many Thx in Advance,
Prabha
19 years ago
Hello everybody,

I have Oracle9.0.1 installed on my machine and also JBoss...When I start JBoss, it says that port 8080 already in use.I found out that my Oracle TNSListener is using this port...Is there a way for me to change this to some other port...This is very very urgent...I am looking for ranchers to rescue me !!!

Thx,
Prabha
Hello everybody,

I have an HTML form populated with data from the database as pairs of key-description by a Struts Action class. I also have a textbox. I want the key value into the text box when it is clicked.How do I do this?I hope my question is clear...Is JavaScript the only way to do it? b'coz i will be passing the textbox value to a Struts ActionClass for further processing.Any help ASAP would be appreciated.Looking for help!

Thanks,
Prabha
19 years ago
Hello all,

When I try to run a page in IE, the only thing I can see in the JBoss Log file is this:



Can anybody tell me what this means and why am I getting only this???Please help ASAP

Thanks,
Prabha
19 years ago
Hello all,

I have a struts ActionClass, Action Form and then I am using cocoon too...Whenever I try to do some changes in the config file or any thing in the app,when I try running the page in IE, I dont see anything on the browser or the console...The only thing I see in the JBoss log file is



Can somebody help me with this???It is very urgent!!!

Many Thanks in advance.
Prabha
19 years ago
Hello everybody,

I get the following servlet Exception when I start the server(JBoss 3.2.4) in eclipse(3.0.0)


Can anybody tell me what this means and how to resolve it? This is very very urgent and would apprecite any help ASAP.

Many Thanx in advance,
Prabha
19 years ago
Hello everybody,
When I try to run something in eclipse( JBoss Server), I get this error:




Can somebody help me with this? This is very very urgent!Seeking help ASAP...

Many Thanks,
Prabha
19 years ago
Hello all,

I have a servlet exception thrown inside eclipse when I start the JBoss Server.The exception is:




What does this exception mean? Is this something to do with the path for the tld???Somebody please help me resolve this! Help ASAP would be very much appreciated.

Thanks,
Prabha
Hello Jeanne,

Thanks for ur reply...I tried this but the problem still seems to exist...Is there anything else that I can do to get this resolved? This is very urgent...Any help ASAP would be great!

Thanks,
Prabha