You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Robert van Wingerden <r....@portinfolink.com> on 2005/10/17 17:36:17 UTC

Same formbean-name in two different applications in same container.

Hi,

 

We have two web-applications running in the same J2EE-container.

In the first app we have a form-bean named XXXForm configured in the
struts-config.xml.

The second app has a form-bean stored under the same name (XXXForm), but
with different properties in its configuration file.

 

For three weeks the two applications co-exist with no problems. 

Today we had to restart the container and it seems that the properties
of the two formbeans have been interchanged.

 

Has anybody run into this strange behavior before? 

Help would be appreciated.

 

Thanks...

 

Additional Information:

-         We work with an extension of STRUTS called JHeadStart.

-         J2EE-container: OC4J;

-         Stacktrace: (The isAuthorised property is mapped under the
same formBean-name in another application)

>>

Internal Error Occurred 

No property [isAuthorised] in class [class package.....Party] 

com.interface21.beans.FatalBeanException: No property [isAuthorised] in
class [class package.....Party] at
com.interface21.beans.CachedIntrospectionResults.getPropertyDescriptor(C
achedIntrospectionResults.java:130) at
com.interface21.beans.BeanWrapperImpl.getPropertyDescriptor(BeanWrapperI
mpl.java:351) at
com.interface21.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.j
ava:299) at
oracle.jheadstart.model.toplink.handler.DataObjectImpl.getAttribute(Data
ObjectImpl.java:619) at
oracle.jheadstart.util.DataObjectHelper.getAttribute(DataObjectHelper.ja
va:194) at
oracle.jheadstart.util.DataObjectHelper.addNewAttributes(DataObjectHelpe
r.java:510) at
package......util.DataObjectUtils.createChangedAttributesMap(DataObjectU
tils.java:50) at
package.....util.DataObjectUtils.createChangedAttributesMap(DataObjectUt
ils.java:81) at
package......actions.ServiceProcessWebFacadeCaller.storeDataChanges(Serv
iceProcessWebFacadeCaller.java:425) at
package......actions.ServiceProcessWebFacadeCaller.retrieveParameterData
Changes(ServiceProcessWebFacadeCaller.java:358) at
package......actions.ServiceProcessWebFacadeCaller.execute(ServiceProces
sWebFacadeCaller.java:132) at
package......VipMvlWebFacadeCaller.execute(VipMvlWebFacadeCaller.java:52
) at package.....portal.actions.PilAction.execute(PilAction.java:70) at
oracle.jheadstart.controller.struts.action.JhsAction.execute(JhsAction.j
ava:251) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:484) at
oracle.jheadstart.controller.struts.JhsRequestProcessor.processActionPer
form(JhsRequestProcessor.java:352) at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
274) at
oracle.jheadstart.controller.struts.JhsRequestProcessor.process(JhsReque
stProcessor.java:636) at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at
oracle.jheadstart.controller.struts.JhsActionServlet.process(JhsActionSe
rvlet.java:146) at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChai
n.java:65) at
package......filter.ServiceAuthorizationFilter.doFilter(ServiceAuthoriza
tionFilter.java:109) at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestD
ispatcher.java:604) at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Servle
tRequestDispatcher.java:317) at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHa
ndler.java:790) at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:20
8) at
com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:12
5) at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Releasab
leResourcePooledExecutor.java:192) at
java.lang.Thread.run(Thread.java:534) 

>>