vikram Kesav

Ranch Hand
+ Follow
since Jul 11, 2008
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 vikram Kesav

Hello Ranchers,

I want to know what is the Difference in Encapsulation and abstraction or these are same?

What are the features available in java to implement these concept.

Thanks in advance.
13 years ago
Hello Ranchers,

I need Real time example and real use of Anonymous Inner Class in java projects.

I know the definition of Anonymous Inner Class and use in AWT but not able to visualize its usage in Java specially in J2EE application.

Thanks in advance.


13 years ago
You can check in eclipse plug in Center site-

Go through - http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-809.html
13 years ago
Check also for any recursive call in your application if any.
Nullify object after its uses.
13 years ago
Are you sure that something somewhere (your connection pool, for example) isn't executing
another query on the given statement? _Something_ is closing that result set, either it's
explicitly closed, or it's being closed by the fact that the statement has either had
another query executed on it, or the statement itself has been closed, either explicitly
or by the Connection that created it being closed.

See everytime you execute the statement, all open resultsets will be closed. There is no way around that.

So, you will have to read the entire resultset and save the results, then loop through those results, setting of the query again for the "next level down/up" and, once again, reading in the entire result set etc.

Else, you need to create a new statement object instead of PrepareStatement.
Read this -
"A ResultSet object is automatically closed when the Statement object that generated it is closed, re-executed, or used to retrieve the next result from a sequence of multiple results."

Just make sure....Do you have any of the below jar file in your classpath.

What IDE you are using? try to set axis jars classpath on command prompt and run WSDL2Java command from there.


Information on class org.apache.axis.wsdl.WSDL2Java:

Containing JAR files:
axis.jar
axis-1.0.jar
axis-1.1.jar
axis-1.2.1.jar
axis-1.2.jar
axis-1.3.jar
axis-1.4.jar
axis-1.4.jar
axis-1.1-beta.jar
axis-1.2-RC1.jar
axis-1.2-RC2.jar
axis-1.2-RC3.jar
axis-1.2-alpha-1.jar
axis-1.2-beta-2.jar
axis-1.2-beta-3.jar

13 years ago
Dump the HashMap into a TreeMap:

Map hashMap= new HashMap();
Map sortedMap = new TreeMap(hashMap);
13 years ago
try to set following values -

System.setProperty("http.proxyHost", "");
System.setProperty("http.proxyPort", "");
System.setProperty("http.proxyUser", "");
System.setProperty("http.proxyPassword", "");

Let me know error if any.
13 years ago
Can you paste error message and let me know the WSDL link if it is not password protected.
13 years ago
Just check whether the file in readonly mode.
13 years ago
Try to set in request instead of session.
Or invalidate session once you displayed message or your work is done on that page, i am assuming that you are saving only messages in session not any other information.
13 years ago