Onkar Shendge

Greenhorn
+ Follow
since May 29, 2002
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 Onkar Shendge

Siteminder webagent has bad character configuration on the local config and on the policy server. If you can remove characters that you want to allow in the URL, you can fix this issue.
14 years ago
I faced similar problem with client generated by WSDL2Java tool in Axis 1.1 . It got solved after creating client through WSDL2Java tool in Axis 1.3

You need to call your web service method in following way.

...Stub stub = new ...Stub();
stub.<WSMethod>(...)

Onkar.
17 years ago
Finalization is for an Object where as ShutdownHook is for JVM shutdown. The difference is that there could be n number of Object finalization instances per JVM but only one Shutdown instance per JVM.
I hope I made it clear.

Originally posted by Pawan preet:
Hi Ranchers,
What is the actual use of finalization process?
Can we use finalize() method for any purpose?
I know only this much that finalization is a process that is executed just before Garbage Collection.

Instead i have used ..> Runtime.getRuntime().addShutdownHook <.. like code for saving my data just before the program stopped due to some exception thrown.

Please give your comments.


Sincerely,
Pawan

18 years ago
Please share the stacktrace.
18 years ago
What kind of error do you get when you try to upload more than 10MB and 25MB on Jrun 3.0 and 3.1 respectively.

Since you are writting your own code, there shouldn't be upper limit as such. What must be blocking you is browser side timeout or server side timeout. please share the error that you are getting.
18 years ago
If I am not wrong Document object of DOM is memory representation if xml document. It is not wrapper on the physical file. So if you want your changes to be reflected in the file, you need to save the file explicitly.
18 years ago
"AAAAAAAAAA"+System.getProperty("java.io.tmpdir") gets converted to single String object and then it is passed as an argument to the constructor.
Here 3 String objects will be created -
1. "AAAAAAAAAA"
2. System.getProperty("java.io.tmpdir")
3. concatination of "AAAAAAAAAA"+System.getProperty("java.io.tmpdir")

Where as append will avoid creation of unnecessory String objects.
Only following two String objects in this case.
1. "AAAAAAAAAA"
2. System.getProperty("java.io.tmpdir")
18 years ago
Yes Hari, you are right, System.gc() doesn't force.

I think there is basic problem, the object won't get garbage collected unless it is de-referenced. If you can still access the object that means it is not de-referenced and it is not garbage collected.

Btw what type of error you are talking about? Is it run time or compile time?
Generally production environments are tuned for performance, by switching off Hot deployment, keeping logger level to ERROR or WARN, security features are turned on, precompine JSP etc.
Where as in development environment you will see opposite, hot deployment is ON, debug levels are set to DEBUG, security features are off (if possible). This reduces development time segnificantly.
Bottom line is that production environments are tuned for performance but development environments are tuned for developer friendlyness than performance.


Please provide links/informations so I can get more information on the same.

Thanks.[/qb]<hr></blockquote>
[ November 14, 2005: Message edited by: onkarshendge ]
18 years ago
I think here problem is that you are trying use package which is used by java for its own classes.
Try using some other package name
21 years ago
Go through following link. It has similar implementation. Only additional thing you need to do here is capture events of poped up window.
http://developer.netscape.com/docs/manuals/js/client/jsref/handlers.htm#1120635
Thanks,
Onkar Shendge
[ May 29, 2002: Message edited by: onkarshendge ]
[ August 21, 2002: Message edited by: onkarshendge ]