any suggestions?
Type: Posts; User: kasim; Keyword(s):
any suggestions?
Getting follwing error when I run junit test case report through ant srcipt:
Cannot activate SimpleNamingContextBuilder: there is already a JNDI provider registered. Note that JNDI is a JVM-wide...
context place holder is defined as:
<context:property-placeholder
location="classpath:/property/globalContext.properties,
...
Invalid bean definition with name 'CacheRegionManagerFactory' defined in class path resource [com/bgc/ecm/core/caching/cacheRegionManager-ctx.xml]: Could not resolve placeholder 'appRoot'
...
This error occurs when the JVM runs out of space in the permanent generation heap. The memory in the Virtual Machine is divided into a number of regions. One of these regions is PermGen. It's an area...
<junit printsummary="on" fork="yes" forkmode="once"
haltonerror="false" haltonfailure="false"
failureproperty="junit.failure" showoutput="false" maxmemory="1024m">
...
Hi, I am getting following error.
Configuration problem: Failed to import bean definitions from URL location [classpath:/esw-web-ctx.xml] Offending resource: class path resource ...
Hi,
I have removed exsiting spring.jar and updated new spring.jar file through eclipse java build path-> lib, add library. But when i run the Tomcat server I am getting following error:
INFO:...
any info on this please
Hi,
1)
I have used JSF1.2, now i am planning to migrate to JSF2.0. I had used following code for integration JSF to Spring IOC in faces-config.xml:
<managed-property>
...
you mean no need of specifying hbm file? how it will identify the hbm file if I have 10 hbm files? will it impact on perfomance?
If I do mapping directory location then I am getting following error:
My *cfg.xml file:
How to solve with MappingNotFoundException?
only soln is give complete path for: <mapping...
http://static.springsource.org/spring/docs/2.0.x/reference/orm.html#orm-hibernate
I have found solution:
But I need to copy my conf folder to WEB-INf/classes/conf location, otherwise it throws file not found exception. Is there any way to solve this, ie without copying conf...
Still i amgetting same error:
my session factory given as:
any suggestion on this?
Hi
I am extending HibernateDaoSupport and using LocalSessionFactoryBean with latest Spring and Hibernate application.
<bean id="factory"...
Hi
I have seen many thread in search engine for mapping file not found for hbm file.
i am extending Hibernatedaosupport and in cfg file i have mapped hbm file. All my java files are under src...
can inform me instead of this portlet request, what are the path i need to give if i am using simple spring mvc(istead of portlet)
document.assetsForm.action="...
sorry for making confusion, let me clear the points:
at present my jsp is:
<html>
<head><title>Spring Training</title></head>
<body>
<SCRIPT language="JavaScript">
function submitform()
can i display without using JSTL tag?
im using
public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception
{
it displays as:
values from controller: ${key}
Hi
I need to display the values in JSP from the controller classs, i have specified as:
<html>
<H2> Congratulations.....successfully done.......
<h3>values from controller: ${key}</h3>...
when hit a submit button it needs to call controller which intern calls DAO and comes back and displays new jsp.
i have javascript function, when i hit the submit button, it calls onSubmit() from...
Hi
i need to call spring controller from my java script function.
how can i call the controller from java script?