[JBoss Seam] - Seam 2 and RichFaces 3.1.0
by pettersonfp
Hello,
Does anybody here already setup the seam 2 with RichFaces 3.1?
I'm having this exception:
java.lang.IllegalArgumentException: argument type mismatch
...
...
Caused by: javax.faces.FacesException: java.lang.IllegalArgumentException: argument type mismatch
...
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at org.apache.commons.digester.Digester.createSAXException(Digester.java:2792)
...
...
11:35:57,677 ERROR [[/vcpontual]] Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
javax.faces.FacesException: org.ajax4jsf.framework.renderer.ChameleonRenderKitFactory
Best Regards,
Petterson
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087980#4087980
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087980
18 years, 9 months
[JBoss Seam] - Re: Call scheduled method from another scheduled method
by motte79
Hello !
Is this known as bug now ? Could anyone post the JIRA issue nbr/link ?
I've an similar problem: I try to implments a retry-mechanism for an asynchronous task. This is implemented as follows ..
The retry is not processed in an asynchron way as expected .. (?)
| @Stateless
| @AutoCreate
| @Name(AlertingEngineTask.NAME)
| public class AlertingEngineTaskBean implements AlertingEngineTask {
|
| ...........
|
| @Asynchronous
| public void recieve(Info info) {
| try {
|
| .........
|
| } catch (Throwable th) {
| retry (info);
| }
| }
|
| ...........
|
| private void retry(Info info) throws LogPermanentErrorsException {
| retry ++ ;
|
| if (retry > 4)
| throw new LogPermanentErrorsException();
| AlertingEngineTask task = (AlertingEngineTask)
| Component.getInstance(this.getClass(), ScopeType.EVENT, true);
| task.setRetry(getRetry());
| task.recieve(info);
| }
|
| }
|
I'm using seam 2.0.0.BETA1
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087976#4087976
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087976
18 years, 9 months
[EJB 3.0] - Unable to inject jndi dependency: env/.../queue into propert
by ejb3workshop
Deploying the beans without defining the queues via the services succeeds, but during the execution the following errors are reported on the second node :
anonymous wrote :
| 15:46:02,000 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.1.GA/server/all/farm/ThunderheadEJB.jar
| 15:48:28,703 INFO [BatchJobProcessor] Instantiating BatchJobProcessors
| 15:48:28,718 ERROR [JmsServerSession] Unexpected error delivering message org.jboss.mq.SpyMapMessage {
| Header {
| jmsDestination : QUEUE.BatchJobProcessors
| jmsDeliveryMode : 2
| jmsExpiration : 0
| jmsPriority : 4
| jmsMessageID : ID:13-11906453102031
| jmsTimeStamp : 1190645310203
| jmsCorrelationID: null
| jmsReplyTo : null
| jmsType : null
| jmsRedelivered : false
| jmsProperties : {}
| jmsPropReadWrite: false
| msgReadOnly : true
| producerClientId: ID:13
| }
| }
| java.lang.RuntimeException: Unable to inject jndi dependency: env/com.thunderhead.backend.BatchJobProcessor/queue into property com.thunderhead.backend.BatchJobProcessor.queue: queue not bound
| at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:76)
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:88)
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:83)
| at org.jboss.injection.JndiPropertyInjector.inject(JndiPropertyInjector.java:55)
| at org.jboss.ejb3.AbstractPool.create(AbstractPool.java:111)
| at org.jboss.ejb3.StrictMaxPool.get(StrictMaxPool.java:141)
| at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:245)
| at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:268)
| at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:138)
| at $Proxy98.onMessage(Unknown Source)
| at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:178)
| at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:891)
| at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:170)
| at org.jboss.mq.SpySession.run(SpySession.java:323)
| at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:237)
| at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
| at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
| at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
| at java.lang.Thread.run(Thread.java:619)
| Caused by: javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: queue not bound]
| at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1069)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:702)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
| at org.jboss.injection.JndiPropertyInjector.lookup(JndiPropertyInjector.java:69)
| ... 20 more
| Caused by: javax.naming.NameNotFoundException: queue not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
| at javax.naming.InitialContext.lookup(InitialContext.java:392)
| at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1063)
| ... 23 more
| 15:48:28,859 INFO [BatchJobProcessor] Instantiating BatchJobProcessors
| 15:48:28,859 ERROR [JmsServerSession] Unexpected error delivering message org.jboss.mq.SpyMapMessage {
| Header {
| jmsDestination : QUEUE.BatchJobProcessors
| jmsDeliveryMode : 2
| jmsExpiration : 0
| jmsPriority : 4
| jmsMessageID : ID:13-11906453102031
| jmsTimeStamp : 1190645310203
| jmsCorrelationID: null
| jmsReplyTo : null
| jmsType : null
| jmsRedelivered : true
| jmsProperties : {JMS_JBOSS_REDELIVERY_COUNT=1}
| jmsPropReadWrite: false
| msgReadOnly : true
| producerClientId: ID:13
| }
| }
| java.lang.RuntimeException: Unable to inject jndi dependency: env/com.thunderhead.backend.BatchJobProcessor/queue into property com.thunderhead.backend.BatchJobProcessor.queue: queue not bound
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087974#4087974
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087974
18 years, 9 months
[JBoss Seam] - DataSource problem in spring example of Seam 2.0.0cr01
by dapeng
Hi,
just downloaded the Seam 2.0.0cr01 today and wanted to try out the spring example. I used the ant script (need to add tomcat.deploy goal in the build.xml myself) to build the war file, which was still copied to the jboss.home instead of tomcat.home as specified in build.properties. I manually copied the war from jboss to tomcat and get following error upong startup.
FATAL: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//loca
| lhost/,J2EEApplication=none,J2EEServer=none
| 24.09.2007 16:31:17 org.apache.catalina.startup.HostConfig deployDirectory
| FATAL: Error deploying web application directory ROOT
| java.lang.RuntimeException: org.jboss.deployers.spi.IncompleteDeploymentExceptio
| n: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| persistence.units:unitName=bookingDatabase -> java.lang.RuntimeException: You ha
| ve not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence co
| ntext named: bookingDatabase
|
|
| at org.jboss.embedded.tomcat.WebinfScanner.lifecycleEvent(WebinfScanner.
| java:92)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
| eSupport.java:117)
| at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
| 239)
| at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
| .java:791)
| at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77
| 1)
| at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
|
| at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
| a:920)
| at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.j
| ava:883)
| at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492
| )
| at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
| at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
| :311)
| at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
| eSupport.java:117)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
|
| at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
| at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
|
| at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
| )
| at org.apache.catalina.core.StandardService.start(StandardService.java:5
| 16)
| at org.apache.catalina.core.StandardServer.start(StandardServer.java:710
| )
| at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
| at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
| Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of inc
| omplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
|
| *** CONTEXTS IN ERROR: Name -> Error
|
| persistence.units:unitName=bookingDatabase -> java.lang.RuntimeException: You ha
| ve not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence co
| ntext named: bookingDatabase
|
|
| at org.jboss.embedded.DeploymentGroup.checkIncomplete(DeploymentGroup.ja
| va:151)
| at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:129)
| at org.jboss.embedded.tomcat.WebinfScanner.lifecycleEvent(WebinfScanner.
| java:88)
| ... 24 more
I am only able to get the example run after I have added <non-jta-data-source>java:/MySqlDS</non-jta-data-source> into persistence.xml and defined MySqlDS datasource in embedded JBoss.
Obviously the application is working with the HSQL datasource defined locally in spring context and not the MySQL one configured in embedded jboss. Is it a bug? What can I do to get rid of the unnecessary data source reference.
regards
Dapeng
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087973#4087973
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087973
18 years, 9 months