when I press on icon delete, confirm window is invoking, after I pressed "Yes" - invoking removeLogFile method, and in this moment modal form with id messageBoxLogFile (this form to show the result of deleting file) filling values from backing bean, but I need to fetch this values when deleteLogFile will be finished, and fill messageBoxLogFile form with values from logManager bean. What can I do? thanks
I'm using a maven licence plugin, I have one super pom and four submodules.
when I'm ivoking licence-plugin from super pom everything is ok, but when I'm trying to invoke plugin from submodules, licence could'nt find the header.txt file. How can I define the root path for submodules? any ideas? thanks
I need to execute this command
mvn release:prepare
in pom should be declared scm settings
-read only url to repository
- read and write url
I'm using Git, How maven release will retrieve the Git's branch, or may be I should define branch explicit somewhere. I don't know how to configure scm in pom.xml using Git. Any advise ? thanks
If you have installed mySQL Server as service, check MyComputer -> right click ->control -> and find there Mysql, then check that service is running
Or you can start Client command line, if everything will be ok, then you Server is running
I have a problem, with retrieving entity, I'm using Spring MVC + Hibernate.
I have a DAO layer
mapping....
Spring MVC controller
and I have got an error
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.orm.hibernate3.HibernateSystemException: identifier of an instance of jtforum.entites.Rank was altered from 1 to 1; nested exception is org.hibernate.HibernateException: identifier of an instance of jtforum.entites.Rank was altered from 1 to 1
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
root cause
org.springframework.orm.hibernate3.HibernateSystemException: identifier of an instance of jtforum.entites.Rank was altered from 1 to 1; nested exception is org.hibernate.HibernateException: identifier of an instance of jtforum.entites.Rank was altered from 1 to 1
org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:679)
org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412)
org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:411)
org.springframework.orm.hibernate3.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:374)
org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:912)
org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:904)
jtforum.dao.RankDAO.getAllRank(RankDAO.java:21)
ru.jt.forum.web.controller.RegistrationController.populateRank(RegistrationController.java:53)
I don't know what to do, for the first glance everything is ok,thanks
P.s. sorry for my English