Ricardo Llontop

Greenhorn
+ Follow
since Apr 18, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Ricardo Llontop

I ask for a tool that allow create a graphic control or how create a controls that permit create uml graphic inside an project.

I want to do graphic like emul2: webpage

There's a current tool??? Thanks.
13 years ago
Hi, I have a error in Jboss 7.0.2 "Arc", spring webflow 2.3.0.RELEASE with richfaces 4.0.0.Final(Myfaces 2.1.1):

12:34:19,729 SEVERE [org.apache.myfaces.renderkit.ErrorPageWriter] (http--127.0.0.1-8080-2) An exception occurred: javax.faces.FacesException: java.io.FileNotFoundException: /sections/login/header.xhtml Not Found in ExternalContext as a Resource


when i run my login.xhtml page:

The code of header.xhtml is:

the web.xml file :

The stucture file is like this:
+WEB-INF
+--flows
+---inscripcion
------inscripcion-flow.xhtml
------inscripcion.xhtml
------login.xhtml
+---sections
+-----inscripcion
+-----login
-------header.xhtml
-------siderbarLeft.xhtml
+---template
Why is this error?, I attached my Jboss Prompt
https://rapidshare.com/files/817066879/log12.zip
Thnks.
13 years ago
Solved,
the error is in transportes-webflow.xml

constructor-arg ref="entityManagerFactory", is for jpa orm, I use hibernate (org.springframework.orm.hibernate3.HibernateTransactionManager), with sessionFactory, only change this and work:

sorry for the problems, thkns.
13 years ago

Mark Spritzler wrote:When you get a Spring exception, the best way to read it is to scroll to the bottom and work your way up looking for the first caused by. That will give you your actual real problem. While you did not post your entire stack trace here for us to scroll to the bottom.

I can guess that near the bottom it says in the root caused by

No bean named 'entityManagerFactory' is defined.

Mark



Well I know this, this is my promt in rapishare, because I can't attached file txt or zip here.
https://rapidshare.com/files/335929555/prompt-jboss.zip
Everything work fine I have only that error.
Thanks.
13 years ago
Hi, I have a error like this working with webflow 2.3.0.RELEASE and richfaces 4.0.0.Final in jboss 7.0.1.FINAL:

12:16:46,989 INFO [stdout] (MSC service thread 1-7) 2011-09-20 12:16:46,987 [MSC service thread 1-7] ERROR (FrameworkServlet.java:314) � Context initialization failed 12:16:46,989 INFO [stdout] (MSC service thread 1-7) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowExecutor': Cannot create inner bean '(inner bean)' of type [org.springframework.webflow.config.FlowExecutionListenerLoaderFactoryBean] while setting bean property 'flowExecutionListenerLoader'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1':Cannot resolve reference to bean 'jpaFlowExecutionListener' while setting bean property 'listeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaFlowExecutionListener' defined in ServletContext resource [/WEB-INF/spring/transportes-webflow.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' is defined.


Well I suppose that the error is because I have the Hibernate configuracion in META-INF like this:
META-INF/spring/spring-master.xml
META-INF/spring/spring-hibernate.xml
META-INF/spring/spring-datasource.xml
META-INF/spring/jdbc.properties

and the webflow configuration in WEB-INF:
WEB-INF/spring/transportes-webflow.xml
13 years ago
Jboss 7 give me that error when I deployed my maven-war.(SpringWebFlow-Hibernate)

What's the error?, because in Jboss 6 i don't have it.
13 years ago
Hi i have a issued from my configuration of spring mvc:
my web.xml
My spring-servlet.xml
My spring-web-transportes.xml
and my InscripcionController:
And finally my page.jsp:
The Jboss AS6 gave the WARNING:
and display the page error.jsp. What I do wrong???, plsssss!!!, thanks.
13 years ago
I have my pom.xml


Even i exclude the slf4j-api in hibernate-core, and hibernate-entitymanager, I take the error:

I check the maven repositories and I found that the slf4-api-1.5.8.jar don't be exclude, I view in the dependecy hierarchy and this don't have dependency hierarchy.
I can't exclude slf4j-api-1.5.8.jar !!!, why?.
13 years ago
The book say:

and in the other relation put:

When I run this thw Junit lunch a error

How avoid this issued or this the book wrong??
Thanks Mark for reply, the only that I fail is that Junit roolback default true, I change this:
@TransactionConfiguration(transactionManager = "transactionManager", defaultRollback = false).

Thnks.

13 years ago
This is my spring-master.xml

my spring-datasource.xml

and my spring-hibernate.xml

My Dao Class and Imp :



I want to probe this by Junit like this:

Run this by Junit test and take this:

The database is create but the data id-generated,ayambo,toledo not inserted, the database is Postgresql 9.0.3, please?, What i do wrong???
Pdta: I now that hibernatetemplate is unused, but the configuration is ok??(Sorry for my bad english.)
13 years ago