Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring error

 
Ram Sudheer Mandava
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I deployed a .ear file then I am getting the following error. Some times i am able to login into the site but some times it is giving error

500 Internal Server Error

Application error occurred during request processing.



Details: org.springframework.beans.factory.BeanCreationException: error creating bean with name
Exception id:[622F695BAB020076000012DB0011C0C6000496AFF10B379]

Thanks in advance
 
Sunil Tiwari
Ranch Hand
Posts: 49
Clojure Redhat Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Ram!

Can you put more details about the error here?
An exception trace will be great to understand the issue.

Sunil
 
Ram Sudheer Mandava
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm getting the following error but there is a property "primarySearchInterface" in KeywordSearch.java file and in aspects-config.xml I have written

<bean id="keywordSearch" class="com.endeca.spring.aspect.KeywordSearch">
<property name="primarySearchInterface">
<jee:jndi-lookup jndi-name="ENEQuery_PrimarySearchKey"/>
</bean? </property>

ERROR


Application error occurred during request processing.
Details: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'keywordSearch' defined in ServletContext resource [/WEB-INF/aspects-config.xml]:
Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException:
Invalid property 'primarySearchInterface' of bean class [com.endeca.spring.aspect.KeywordSearch]:
Bean property 'primarySearchInterface' is not writable or has an invalid setter method.
Does the parameter type of the setter match the return type of the getter?
Exception id: [622F695BAB02005A000020560011C0C60004970A910503E3]
 
kalai sundar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out http://ourownjava.com/endeca for Oracle Endeca articles and blogs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic