[JBoss Seam] - Seam 2.0.1.CR2 seam-gen does not create a deployable project
by jsimone
I just downloaded the latest Seam 2.0.1.CR2 and have been looking at seam-gen. I noticed 2 things:
1. If I execute
seam create-project projname
then I can't override the default build.properties project name with the name projname. I tried setting
project.name=
but that resulted in a seam-gen error. I should be able to specify a name on the gen, no?
2. If I create a new project, then the project created is not a complete deployable project. I would think the least it would do is put up a page at the URL saying "Welcome to Seam". In the spirit of Ruby On Rails, this is what happens when a new ROR project is generated. In the current release when the empty project is deployed we get:
17:54:27,510 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:ear=joe1.ear,unitName=joe1
State: NOTYETINSTALLED
I Depend On:
jboss.jca:name=joe1Datasource,service=DataSourceBinding
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jca:name=joe1Datasource,service=DataSourceBinding
State: NOTYETINSTALLED
Depends On Me:
persistence.units:ear=joe1.ear,unitName=joe1
Thanks for listening!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124211#4124211
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124211
18 years, 3 months
[JBoss Seam] - Error: SessionBeanInterceptor.postConstruct
by reind
After adding a jboss-app.xml file to my ear/META-INF/ dir I've started seeing the following error when starting jboss 4.2.2:
anonymous wrote : java.lang.RuntimeException: @javax.annotation.PostConstruct annotated method has the wrong signature - public void org.jboss.seam.intercept.SessionBeanInterceptor.postConstruct(javax.interceptor.InvocationContext)
| at org.jboss.ejb3.interceptor.InterceptorInfoRepository$AnnotationInitialiser.resolveLifecycleMethod(InterceptorInfoRepository.java:741)
The javadoc says:
anonymous wrote : The method MUST NOT have any parameters except in the case of EJB interceptors in which case it takes an InvocationC ontext object as defined by the EJB specification.
http://java.sun.com/javaee/5/docs/api/javax/annotation/PostConstruct.html
So, it looks ok (well, obviously, as it worked without the jboss-app.xml). Any ideas what it could be? Perhaps related to the jars I've packaged?
| activation-1.1.jar
| antlr-2.7.6.jar
| asm-2.2.jar
| asm-attrs-1.5.3.jar
| avalon-framework-4.1.3.jar
| cglib-2.1_3.jar
| commons-beanutils-1.7.0.jar
| commons-codec-1.3.jar
| commons-collections-3.2.jar
| commons-digester-1.8.jar
| commons-el-1.0.jar
| commons-fileupload-1.0.jar
| commons-lang-2.1.jar
| commons-logging-1.1.jar
| commons-validator-1.3.1.jar
| dom4j-1.6.1-jboss.jar
| el-api-1.0.jar
| hibernate-3.2.4.sp1.jar
| hibernate-annotations-3.3.0.ga.jar
| hibernate-commons-annotations-3.0.0.ga.jar
| hibernate-entitymanager-3.3.1.ga.jar
| hibernate-validator-3.0.0.GA.jar
| javassist-3.3.ga.jar
| jboss-el-2.0.0.GA.jar
| jboss-seam-mail-2.0.0.GA.jar
| jboss-seam-ui-2.0.0.GA.jar
| jsf-facelets-1.1.14.jar
| jstl-1.1.0.jar
| jta-1.0.1B.jar
| logkit-1.0.1.jar
| mail-1.4.jar
| oro-2.0.8.jar
| postgresql-8.2-507.jdbc3.jar
| richfaces-api-3.1.2.SP1.jar
| richfaces-impl-3.1.2.SP1.jar
| richfaces-ui-3.1.2.SP1.jar
| slf4j-api-1.4.2.jar
| slf4j-jdk14-1.3.0.jar
| slf4j-log4j12-1.4.2.jar
| tomahawk-1.1.6.jar
|
My jboss-app.xml looks like:
<!DOCTYPE jboss-app
| PUBLIC "-//JBoss//DTD J2EE Application 4.2//EN"
| "http://www.jboss.org/j2ee/dtd/jboss-app_4_2.dtd">
|
| <jboss-app>
| <loader-repository>
| seam.jboss.org:loader=test.ear
| </loader-repository>
| </jboss-app>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124209#4124209
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124209
18 years, 3 months
[JBossWS] - Unable to create SAAJ meta-factory
by iyiguncevik
I implemented a small webservice from wsdl using JAX-WS. I'm trying to deploy it to JBOSS app server and getting the error below.
I didn't specify any bindings neither in sun-jaxws.xml nor in service implementation class with annotations. What could be the reason for this?
I use JBOSS 4.2.2_GA and JAXWS 2.1.3
anonymous wrote : SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.Error: javax.xml.soap.SOAPException: Unable to create SAAJ
| meta-factoryorg.jboss.ws.core.soap.SAAJMetaFactoryImpl
| java.lang.Error: javax.xml.soap.SOAPException: Unable to create SAAJ meta-factoryorg.jboss.ws.core.soap.SAAJMetaFactoryImpl
| at com.sun.xml.ws.api.SOAPVersion.(SOAPVersion.java:166)
| at com.sun.xml.ws.api.SOAPVersion.(SOAPVersion.java:68)
| at com.sun.xml.ws.api.BindingID.(BindingID.java:304)
| at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.createBinding(DeploymentDescriptorParser.java:281)
| at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:222)
| at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:133)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124206#4124206
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124206
18 years, 3 months