Thanks pfurbacher!!!
Type: Posts; User: A Kumar; Keyword(s):
Thanks pfurbacher!!!
Hi ,
"http://static.springsource.org/autorepo/docs/spring/3.2.0.M1/api/org/springframework/jdbc/core/JdbcTemplate.html#setQueryTimeout(int)"
Is this seconds or milliseconds?
Regards
public MyStoredProcedure(DataSource dataSource, String storedProc) {
// Set the DataSource and the stored procedure name to be called.
super(dataSource, storedProc);
...
Hi,
I have a class that extends StoredProcedure class of Spring API..for calling a Stored proc
How can i set a timeout for my stored proc call
setQueryTimeout in constructor is not...
Hi,
I have a webapp that i need to extend to support a Asynch call to DB..
Is there any feature available in the Spring framework that ican extend,..for this..
Regards
Thanks Kapil,
But the class where i would need the context doesnt extend any of these claases onor does it have any means of getting Servlet context directy..
So i figured it out by...
Hi,
I have a web application ...(struts+spring dao)
In this action class i extend dispatchaction support and get the web application context from where i get the DAO bean..(ctx.getBean(""))
...
<init>(Ljava/lang/Object;Ljava/lang/String;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V not found]: java.lang.NoSuchMethodError:...
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java(Compiled Code))
at...
Hi,
Is a bean of class SimpleMappingExceptionResolver enough for defining exception pages similiar to what we have in struts-config.xml...
Regards
Will this work be an affective replacement to the file...usage....
and can i do away wholly with the files....
Yes...the problem is with the synchronization...of the files..
and in a way it kind of acts like a cache.....
its a WAS 5.1 cluster nodes
Hi,
This is not a specific spring problem..
I have a DAO class that has to store data in a file to a database..
But the problem is i am not able to have the updated data ...since the appln...
Hi,
The classloader policy is parent_last...
Regards
classes are local to each ...war....but they have the same names
and the bean ids are same in the config files across the wars
I will have a look at this...
I had put the System.out.pritnln statements in handleRequest method of both the controller beans...
in http version.... " In HTTP BEAN instance "
in https version.... " In HTTPS BEAN instance...
I agree that there should be 2 objects of same type in each within its own app class loader
But the problem i face is....
When i hit the http
it goes through the NonSecureMapping bean and...
The web.xml in both the cases is same
<web-app>
<servlet>
<servlet-name>ProdServlet</servlet-name>
<servlet-class>org.....DispatcherServlet</servlet-class>
</servlet>...
Initially i had only the https version..at that time...it was hitting through the https controller bean.....
and later the http version came into the picture....but under a diff context...
Hi,
even though the codebase is the same...the apps are deployed under different context
http://www.yourdomain.com/someapp
https://www.yourdomain.com/someapphttps
Regards
i cant share the code...but i will generally explain the structure
Dates.ear
sample.war (for http)
sample_https.war (for https)
Spring config file with the beans...
nope ..the ear starts fine and both the wars are deployed successfully......
the spring config file & web.xml is the same in both the cases.......
only that when i hit the https:..it hits the...
Yes true enough....each should hv diff instances....
But my spring jars are at ear level..and this ear has 2 wars...
in each war...the name of the beans....in spring file...and web.xml is also...
Hi,
If there are 2 diff wars in a single server and the bean (singleton) ids are same across the wars ...what happens during the access of the bean??
Which bean would be invoked?????
Regards
I have a web appln with spring beans....
I have 2 wars of the same code piece....one is configured for http and another https
The app gets deployed succesffully the bean names are same...i...