[jboss-user] [JBoss Seam] - Seam && method binding almost right, Seam and value binding
wsollers
do-not-reply at jboss.com
Sun Aug 13 11:17:58 EDT 2006
Using JBOSS 4.0.4 from the jems installer, Seam nightly build.
Working on a project for the US Air Force using Seam. Seam will invoke the el method binding from a HTTP-POST but explodes on resolving the @destroy method after doing the business interface method invocation with this stack trace:
2006-08-12 22:26:25,844 WARN [org.jboss.seam.contexts.Contexts] Could not destroy component: workorderquery
java.lang.IllegalArgumentException: method not found: destroy for component: workorderquery (check that it is declared on the session bean business interface)
at org.jboss.seam.Component.callComponentMethod(Component.java:1489)
at org.jboss.seam.Component.callDestroyMethod(Component.java:1464)
at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:189)
at org.jboss.seam.contexts.Lifecycle.flushAndDestroyContexts(Lifecycle.java:654)
However if I use a value binding on an HTTP-POST things explode when the value binding is invoked with the following stack trace:
SEVERE: Error Rendering View[/secure/query/WorkOrderQuery.xhtml]
javax.faces.el.PropertyNotFoundException: /secure/query/WorkOrderQuery.xhtml @31,45 value="#{workorderquery.jon}": Bean: com.spss.ejb3interfaces.Query$$EnhancerByCGLIB$$6b9098ef_4, property: jon
at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58)
at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
The application is using an EAR packaging structured as follows:
Ear Root:
META-INF
application.xml ( annotated with ejb module for each of my jars as well as a java module for Seam )
spss-common.jar ( Common EJB3 interfaces IE crud interface may be used by multiple application modules, ancestors etc. )
spss-query-jar
... Other Biz Jars
jboss-seam.jar ( I pulled the latest nightly build )
jbpm-3.1.1.jar
war
WEB-INF
facelets ( pulled out of the latest nightly build dvdstore )
el* ( pulled out of the latest nightly build dvdstore )
The META-INF of all the jars I created have a class path entry for the common jar as well as an empty seam.properties file in the jar ROOT.
Everything works fine if I restructure the code so that the B-Interface resides in the same package as the ejb3. As the CGLib contructed proxy is built as a member of the package containing the interface
com.spss.ejb3interfaces.Query$$EnhancerByCGLIB$$6b9098ef_4 where the ejb3 actually resides in a different package.
Are the local business interfaces required to be in the same package and jar as the ejb3?
Code is as follows:
package com.spss.query;
@Stateful
@Scope(ScopeType.CONVERSATION)
@Name("workorderquery")
public class WorkOrderQuery extends AbstractPojo implements Query {
private String jon = "003";
/**
* @return Returns the jon.
*/
public String getJon() {
return this.jon;
}
/**
* @param jon The jon to set.
*/
public void setJon(String jon) {
this.jon = jon;
}
/*
* (non-Javadoc)
*
* @see com.spss.query.Query#query()
*/
public String query() {
return "SUCCESS";
}
@Remove @Destroy
public void destroy () {}
/* (non-Javadoc)
* @see com.spss.framework.AbstractBean#toString()
*/
@Override
public String toString() {
// TODO Auto-generated method stub
return null;
}
}
The interface Query is defined as :
package com.spss.ejb3interfaces;
import javax.ejb.Local;
/**
* @author WILLIAM_SOLLERS
*
*/
@Local
public interface Query {
public String query ();
}
Everything deploys and starts fine Seam finds all relevant components:
2006-08-12 22:25:40,356 DEBUG [org.jboss.deployment.EARDeployer] Extracted deployable content: spss-common.jar
...
2006-08-12 22:25:42,779 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
2006-08-12 22:25:42,779 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
2006-08-12 22:25:42,779 DEBUG [org.jboss.ejb3.EJB3Deployer] looking for nested deployments in : file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
2006-08-12 22:25:42,790 DEBUG [org.jboss.deployment.MainDeployer] resolveLibraries: jboss-seam.jar spss-data-conversion.jar spss-data-validation.jar
2006-08-12 22:25:42,790 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at spss-common.jar entry is jboss-seam.jar
2006-08-12 22:25:42,790 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at spss-common.jar entry is spss-data-conversion.jar
2006-08-12 22:25:42,790 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
2006-08-12 22:25:42,790 WARN [org.jboss.deployment.MainDeployer] Found non-jar deployer for spss-data-conversion.jar: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
2006-08-12 22:25:42,790 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at spss-common.jar entry is spss-data-validation.jar
2006-08-12 22:25:42,790 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
2006-08-12 22:25:42,790 WARN [org.jboss.deployment.MainDeployer] Found non-jar deployer for spss-data-validation.jar: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
2006-08-12 22:25:42,790 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
...
2006-08-12 22:26:03,030 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
2006-08-12 22:26:03,030 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] create: file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
2006-08-12 22:26:03,030 DEBUG [org.jboss.ejb3.EJB3Deployer] create, spss-common.jar
2006-08-12 22:26:03,040 DEBUG [org.jboss.ejb3.EJB3Deployer] Deploying: file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
2006-08-12 22:26:03,040 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EJB3,module=spss-common.jar
2006-08-12 22:26:03,040 DEBUG [org.jboss.ejb3.Ejb3Module] Creating jboss.j2ee:service=EJB3,module=spss-common.jar
2006-08-12 22:26:03,040 DEBUG [org.jboss.ejb3.security.JaccHelper] Initialising JACC Context for deployment: spss-common.jar
2006-08-12 22:26:03,040 DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found EJB3: ejbName=Dummy1, class=com.spss.Dummy1, type=STATELESS
2006-08-12 22:26:03,040 DEBUG [org.jboss.ejb3.ProxyDeployer] no declared remote bindings for : Dummy1
2006-08-12 22:26:03,070 INFO [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 30
2006-08-12 22:26:03,070 DEBUG [org.jboss.ejb3.Ejb3Module] Created jboss.j2ee:service=EJB3,module=spss-common.jar
2006-08-12 22:26:03,070 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EJB3,module=spss-common.jar dependents are: []
2006-08-12 22:26:03,070 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying spss-common.jar
...
2006-08-12 22:26:07,887 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
2006-08-12 22:26:07,887 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] start: file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.EJB3Deployer] start application, deploymentInfo: org.jboss.deployment.DeploymentInfo at 687fa910 { url=file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar }
deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer]
status: Starting
state: START_DEPLOYER
watch: file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
altDD: null
lastDeployed: 1155435942790
lastModified: 1155435940356
mbeans:
, short name: spss-common.jar, parent short name: ABOMv2.ear
2006-08-12 22:26:07,887 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB3,module=spss-common.jar
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.Ejb3Module] Starting jboss.j2ee:service=EJB3,module=spss-common.jar
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.EJBContainer] Initialising interceptors for Dummy1...
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.EJBContainer] Default interceptors: null
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.EJBContainer] Class interceptors: []
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.EJBContainer] All applicable interceptor classes: []
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
2006-08-12 22:26:07,887 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1,service=EJB3 with dependencies:
2006-08-12 22:26:07,887 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1,service=EJB3
2006-08-12 22:26:07,887 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: []
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Creating jboss.j2ee:ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1,service=EJB3
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Created jboss.j2ee:ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1,service=EJB3
2006-08-12 22:26:07,887 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1,service=EJB3 dependents are: []
2006-08-12 22:26:07,887 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1,service=EJB3
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting jboss.j2ee:ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1,service=EJB3
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.spss.Dummy1.delete() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@4ad14c
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.spss.Dummy1.create() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@1f2e41d
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.spss.Dummy1.retrieve() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@15e4dbe
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.spss.Dummy1.update() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@420e44
2006-08-12 22:26:07,887 DEBUG [org.jboss.ejb3.tx.UserTransactionImpl] new UserTx: org.jboss.ejb3.tx.UserTransactionImpl at 14b1fda
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.spss.Dummy1.delete() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@1183871
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.spss.Dummy1.create() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@12192a9
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.spss.Dummy1.retrieve() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@123ce3f
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public java.lang.String com.spss.Dummy1.update() - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@1b98cbb
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb3.security.JaccHelper] Dummy1 has no @SecurityDomain - skipping JACC configuration
2006-08-12 22:26:07,897 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: com.spss.Dummy1 ejbName: Dummy1
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] createTimerService: org.jboss.ejb.txtimer.TimerServiceImpl at 15ddf5
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Started jboss.j2ee:ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1,service=EJB3
2006-08-12 22:26:07,897 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1,service=EJB3 dependent components: []
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:service=EJB3,ear=ABOMv2.ear,jar=spss-common.jar,name=Dummy1
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb3.security.JaccHelper] JACC Policy Configuration for deployment has been put in service
2006-08-12 22:26:07,897 DEBUG [org.jboss.ejb3.Ejb3Module] Started jboss.j2ee:service=EJB3,module=spss-common.jar
2006-08-12 22:26:07,897 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EJB3,module=spss-common.jar dependent components: []
2006-08-12 22:26:07,897 INFO [org.jboss.ejb3.EJB3Deployer] Deployed: file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
2006-08-12 22:26:07,897 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: spss-common.jar
...
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: seam.properties
2006-08-12 22:26:15,539 INFO [org.jboss.seam.deployment.Scanner] scanning: /C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-common.jar
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] archive: C:\Program Files\jboss-4.0.4.GA-4\server\default\tmp\deploy\tmp64905ABOMv2.ear-contents\spss-common.jar
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/MANIFEST.MF
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/sample/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/sample/action/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/common/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/editchains/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/editors/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/ejb3interfaces/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/ksh/
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/sample/action/MessageActionHandler.class
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/Dummy1.class
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/common/Guid.class
2006-08-12 22:26:15,539 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/common/Keys.class
2006-08-12 22:26:15,579 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/editchains/ExampleEditChain.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/editchains/NullEditChain.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/editors/SpacesToZerosEditor.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/ejb3interfaces/BatchInterface.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/ejb3interfaces/Crud.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/ejb3interfaces/LocalInterface.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/ejb3interfaces/Login.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/ejb3interfaces/Query.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractBaseBean.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractBean$1.class
2006-08-12 22:26:15,589 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractBean$helper.class
2006-08-12 22:26:15,599 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractBean.class
2006-08-12 22:26:15,599 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractEntity$1.class
2006-08-12 22:26:15,599 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractEntity$helpNow.class
2006-08-12 22:26:15,599 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractEntity.class
2006-08-12 22:26:15,599 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractFileEntity.class
2006-08-12 22:26:15,599 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractFilePojo$1.class
2006-08-12 22:26:15,599 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractFilePojo$helpMe.class
2006-08-12 22:26:15,599 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractFilePojo.class
2006-08-12 22:26:15,599 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractPojo$1.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractPojo$helpNow.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/AbstractPojo.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/BaseBean.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/DMLAnswer.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/Describable.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/EditAnswer.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/EditArgument.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/Editor.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/EditorChain.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/ErrorMessage.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/Extractor.class
2006-08-12 22:26:15,609 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/ExtractorFactory.class
2006-08-12 22:26:15,619 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/FileBean.class
2006-08-12 22:26:15,619 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/framework/FlatFileParser.class
2006-08-12 22:26:15,619 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/i.class
2006-08-12 22:26:15,619 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/ksh/KSHArgument.class
2006-08-12 22:26:15,619 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/ksh/KSHExecutor.class
...
2006-08-12 22:26:15,929 INFO [org.jboss.seam.deployment.Scanner] scanning: /C:/Program Files/jboss-4.0.4.GA-4/server/default/tmp/deploy/tmp64905ABOMv2.ear-contents/spss-query.jar
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] archive: C:\Program Files\jboss-4.0.4.GA-4\server\default\tmp\deploy\tmp64905ABOMv2.ear-contents\spss-query.jar
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/MANIFEST.MF
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: com/
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/query/
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/ejb-jar.xml
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: META-INF/persistence.xml
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/query/AllQuery.class
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/query/OnHandBalance.class
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/query/WorkOrderQuery.class
2006-08-12 22:26:15,989 DEBUG [org.jboss.seam.deployment.Scanner] found: com/spss/query/WorkOrderQueryOrig.class
2006-08-12 22:26:15,999 DEBUG [org.jboss.seam.deployment.Scanner] found: seam.properties
...
2006-08-12 22:26:17,491 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/C:/Program Files/jboss-4.0.4.GA-4/server/default/deploy/ABOMv2.ear
...
2006-08-12 22:26:25,744 DEBUG [org.jboss.seam.Component] instantiating Seam component: workorderquery
2006-08-12 22:26:25,744 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
2006-08-12 22:26:25,744 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 1e14a78, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 2d8a59{ url=null ,addedOrder=0}
2006-08-12 22:26:25,744 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 1e14a78, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 1d60b6a{ url=null ,addedOrder=0}
2006-08-12 22:26:25,754 DEBUG [org.jboss.seam.Component] initializing new instance of: workorderquery
2006-08-12 22:26:25,774 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 1e14a78, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 8c0162{ url=null ,addedOrder=0}
2006-08-12 22:26:25,774 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 1e14a78, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 1aedcb3{ url=null ,addedOrder=0}
2006-08-12 22:26:25,774 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 1e14a78, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 11b8540{ url=null ,addedOrder=0}
2006-08-12 22:26:25,784 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolved name to Seam component
2006-08-12 22:26:25,784 ERROR [org.apache.myfaces.renderkit.RendererUtils] Property not found - called by component : 2006-08-12 22:26:25,784 ERROR [org.apache.myfaces.renderkit.RendererUtils] Property not found - called by component : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /secure/query/WorkOrderQuery.xhtml][Class: javax.faces.component.html.HtmlForm,Id: WorkOrderQuery][Class: javax.faces.component.html.HtmlInputText,Id: _id9]}
2006-08-12 22:26:25,794 ERROR [STDERR] Aug 12, 2006 10:26:25 PM com.sun.facelets.FaceletViewHandler handleRenderException
SEVERE: Error Rendering View[/secure/query/WorkOrderQuery.xhtml]
javax.faces.el.PropertyNotFoundException: /secure/query/WorkOrderQuery.xhtml @31,45 value="#{workorderquery.jon}": Bean: com.spss.ejb3interfaces.Query$$EnhancerByCGLIB$$6b9098ef_4, property: jon
at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58)
at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
at org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225)
at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:131)
at org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:49)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
...
If I move the base classes out of the common jar into the ejb3 jar and put the local interface in the same package & jar as the ejb3 then everything works as it should. This might be an ejb3 issue. The spec itself doesn't say that they MUST be colocated together. But it also says that they should extend the javax.ejb.EJBLocalInterface, does the @Local take care of that?
-William.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964846#3964846
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964846
More information about the jboss-user
mailing list