[JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0
by Olivier_Debels
Hi,
I also stumbled on this problem and did find it interesting enough to share. It seems to be correlated with the use of commons-fileupload jar.
The starters kit is using commons-fileupload-1.0 jar. When trying to use commons-fileupload-1.1.1 jar you will get the exception "the request was rejected because no multipart boundary was found".
The reason here is that at deployment (using the gpd designer tool) the content type is filled in as 'multipart/form-data, boundary=AaB03x'. This will be correctly parsed by the 1.0 jar but not by the 1.1.1 jar. You need to convert it to 'multipart/form-data; boundary=AaB03x' in order to make it work with the 1.1.1 stuff (or stick with the 1.0 jar if you choose to do so...).
As for as I can see according to RFC1341 the 1.1.1 version of the jar is doing the right thing, so this is actually a bug in the designer when calling the upload servlet.
Olivier.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958426#3958426
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958426
19 years, 9 months
[EJB 3.0] - MDB deployment problem
by hoeft
Hi!
I'm getting an error message if I deploy my MDB. I'm have got an error since I declared some activation properties in a deployment descriptor.
The MDB-Code:
| @MessageDriven(activationConfig =
| {
| @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Topic"),
| @ActivationConfigProperty(propertyName="destination", propertyValue="topic/myTopic")
| })
| public class MyMDB implements MessageListener
| {
| public void onMessage(javax.jms.Message message) {
| //do something
| }
| }
|
|
My deployment descriptor:
| <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
| http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"
| version="3.0">
| <enterprise-beans>
| <message-driven>
| <ejb-name>MyMDB</ejb-name>
| <ejb-class>myPackage.MyMDB</ejb-class>
| <activation-config>
| <activation-config-property>
| <activation-config-property-name>
| user
| </activation-config-property-name>
| <activation-config-property-value>
| my_user
| </activation-config-property-value>
| </activation-config-property>
| <activation-config-property>
| <activation-config-property-name>
| password
| </activation-config-property-name>
| <activation-config-property-value>
| my_passwort
| </activation-config-property-value>
| </activation-config-property>
| </activation-config>
| </message-driven>
| </enterprise-beans>
| </ejb-jar>
|
If I deploy this, I'm getting the following error Message:
anonymous wrote :
| 12:08:13,436 WARN [ServiceController] Problem starting service jboss.j2ee:ear=MyEar.ear,jar=MyJar.jar,name=MyMDB,service=EJB3
| org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name='null' messaging-type=javax.jms.MessageListener properties={password=ActivationConfig
| Property(password=my_password), user=ActivationConfigProperty(user=my_user), destinationType=ActivationConfigProperty(destinationType=javax.jms.Topic)}; - nested throwable: (javax.manageme
| nt.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.)
| at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
| at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:310)
| at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:195)
| at org.jboss.ejb3.mdb.MDB.startProxies(MDB.java:279)
| at org.jboss.ejb3.mdb.MDB.start(MDB.java:218)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:99)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy50.start(Unknown Source)
| at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:82)
| at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:439)
| at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:486)
| at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:139)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
| at $Proxy0.start(Unknown Source)
| at org.jboss.system.ServiceController.start(ServiceController.java:417)
| at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy34.start(Unknown Source)
| at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.ws.server.WebServiceDeployer.start(WebServiceDeployer.java:117)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy35.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:997)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
| at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
| at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
| at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
| at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
| at $Proxy6.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
| Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='null' is not registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
| at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
| at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:305)
| ... 100 more
|
I'm using JBOSS 4.0.4.GA
Any suggestions?
Meinert
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958424#3958424
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958424
19 years, 9 months
[JBoss Seam] - General conversation question
by cdanielw
I have a question on a, at least for me, very common use-case.
First a disclaimer: I haven?t got my hands dirty with Seam yet. I?m more in the process of figuring out whether it fits my needs ? I?ve only read the documentation, browsed through the forums, blog posts etc. However, what I?ve seen so far looks very, very interesting. The idea of using stateful components really looks like it could help me overcome the biggest gripes I have with JSF (and other web-frameworks as well, for that matter).
In order to keep things a bit less abstract, let?s take an application for managing persons and organizations as an example.
The ?person? side of the application has the following functionality:
? Find a person
? Show overview of a selected person
? Edit general details of the person
? Manage the email addresses of the person
? Select which organizations the person works for
The ?organization? side functionality:
? Find an organization
? Show overview of a selected organization
? Edit general details of the organization
? Manage a list of countries the organization where the organization operates
So, the idea is that first an object is selected from a search result list (person or organization in this case), an overview of the object is displayed with functionality for manipulating the object (editing the name of the person, adding an email address to the person), in a non-wizard manner.
Usually, the overview pages take the object identifier from the request parameter as this allows the overview pages to be bookmarked (e.g. /viewPerson.jsf?personId=42).
So far so good ? now the problem is to propagate the selected person/organization through the manipulation actions. Here there are a number of options:
? Keep including the object identifier among the request parameters. This used to be my default way of handling this when using action based frameworks. However, JSF isn?t making this approach easy.
? Put the object itself in the session ? problems with LazyInitializationException ;-)
? Put the object identifier in the session.
When using JSF, I usually end up with the last solution.
So, after all this blabbering, my question is this: Can the conversational scope of Seam be of help in situations like this?
The problem, as I see it, is that there is no natural end of the conversation. Maybe it makes sense to start the conversation when showing the person/organization overview. However, a user might select a person, add an email address and then jump straight to organization interface.
Any ideas, suggestions or clarifications would be greatly appreciated :-)
Cheers,
Daniel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958422#3958422
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958422
19 years, 9 months
[JBoss Getting Started Documentation] - can't deploy the demos
by fruti
Hi I followed the receipt for deploying Seam 1.0.1 with JBoss 4.0.4.GA-Patch exactly according to "Getting Started" and it doesn't work unfortunately. Please what am I missing, can't get through like this..THANKS VERY MUCH
regards fruti
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Exception while invoking expression #{blog.hitCount.hit}
javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
javax.faces.el.EvaluationException: Exception while invoking expression #{blog.hitCount.hit}
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
org.jboss.seam.core.Pages.callAction(Pages.java:161)
org.jboss.seam.core.Pages.callAction(Pages.java:139)
org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128)
org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98)
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50)
org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38)
org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
from the LOG FILE:
2006-07-17 11:55:43,437 ERROR [org.apache.myfaces.util.LocaleUtils] Locale name null or empty, ignoring
2006-07-17 11:55:56,234 ERROR [STDERR] java.lang.reflect.InvocationTargetException
2006-07-17 11:55:56,234 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2006-07-17 11:55:56,234 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2006-07-17 11:55:56,234 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2006-07-17 11:55:56,234 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.Component.unwrap(Component.java:1350)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1276)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:450)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.core.Pages.callAction(Pages.java:161)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.core.Pages.callAction(Pages.java:139)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
2006-07-17 11:55:56,234 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
2006-07-17 11:55:56,234 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
2006-07-17 11:55:56,234 ERROR [STDERR] Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object;
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51)
2006-07-17 11:55:56,234 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39)
2006-07-17 11:55:56,234 ERROR [STDERR] at actions.BlogService$$EnhancerByCGLIB$$1ebeb37a.getBlog()
2006-07-17 11:55:56,234 ERROR [STDERR] ... 43 more
2006-07-17 11:55:56,234 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-blog].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
javax.faces.el.EvaluationException: Exception while invoking expression #{blog.hitCount.hit}
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
at org.jboss.seam.core.Pages.callAction(Pages.java:161)
at org.jboss.seam.core.Pages.callAction(Pages.java:139)
at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128)
at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50)
at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38)
at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: exception invoking: getBlog
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:43)
at org.jboss.seam.Component.callComponentMethod(Component.java:1334)
at org.jboss.seam.Component.unwrap(Component.java:1350)
at org.jboss.seam.Component.getInstance(Component.java:1276)
at org.jboss.seam.Component.getInstance(Component.java:1246)
at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569)
at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:450)
at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
... 27 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
... 37 more
Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object;
at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37)
at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51)
at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39)
at actions.BlogService$$EnhancerByCGLIB$$1ebeb37a.getBlog()
... 43 more
2006-07-17 11:56:39,187 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-07-17 11:56:39,203 DEBUG [org.jboss.seam.contexts.Lifecycle] >>> Begin web request
2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.contexts.Lifecycle] Session started
2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.Component] instantiating Seam component: localeSelector
2006-07-17 11:56:39,203 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-07-17 11:56:39,203 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] committing transaction after phase: RESTORE_VIEW(1)
2006-07-17 11:56:39,203 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-07-17 11:56:39,203 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager
2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.core.Manager] No stored conversation
2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.contexts.Contexts] found in application context: org.jboss.seam.core.init
2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(2)
2006-07-17 11:56:39,203 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-07-17 11:56:39,203 DEBUG [org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener] beginning transaction prior to phase: RENDER_RESPONSE(6)
2006-07-17 11:56:39,203 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-07-17 11:56:39,203 DEBUG [org.jboss.seam.jsf.SeamVariableResolver] resolving name: blog
2006-07-17 11:56:39,203 DEBUG [org.jboss.seam.Component] instantiating Seam component: blog
2006-07-17 11:56:39,203 ERROR [STDERR] java.lang.reflect.InvocationTargetException
2006-07-17 11:56:39,203 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2006-07-17 11:56:39,203 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2006-07-17 11:56:39,203 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2006-07-17 11:56:39,203 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.Component.callComponentMethod(Component.java:1334)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.Component.unwrap(Component.java:1350)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1276)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.Component.getInstance(Component.java:1246)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:450)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.core.Pages.callAction(Pages.java:161)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.core.Pages.callAction(Pages.java:139)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
2006-07-17 11:56:39,203 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
2006-07-17 11:56:39,203 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
2006-07-17 11:56:39,203 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
2006-07-17 11:56:39,218 ERROR [STDERR] Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object;
2006-07-17 11:56:39,218 ERROR [STDERR] at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37)
2006-07-17 11:56:39,218 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51)
2006-07-17 11:56:39,218 ERROR [STDERR] at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39)
2006-07-17 11:56:39,218 ERROR [STDERR] at actions.BlogService$$EnhancerByCGLIB$$1ebeb37a.getBlog()
2006-07-17 11:56:39,218 ERROR [STDERR] ... 43 more
2006-07-17 11:56:39,218 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-blog].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
javax.faces.el.EvaluationException: Exception while invoking expression #{blog.hitCount.hit}
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:165)
at org.jboss.seam.core.Pages.callAction(Pages.java:161)
at org.jboss.seam.core.Pages.callAction(Pages.java:139)
at org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128)
at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98)
at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50)
at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.beforePhase(SeamExtendedManagedPersistencePhaseListener.java:38)
at org.apache.myfaces.lifecycle.LifecycleImpl.informPhaseListenersBefore(LifecycleImpl.java:520)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:342)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: exception invoking: getBlog
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:43)
at org.jboss.seam.Component.callComponentMethod(Component.java:1334)
at org.jboss.seam.Component.unwrap(Component.java:1350)
at org.jboss.seam.Component.getInstance(Component.java:1276)
at org.jboss.seam.Component.getInstance(Component.java:1246)
at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44)
at org.apache.myfaces.el.ValueBindingImpl$ELVariableResolver.resolveVariable(ValueBindingImpl.java:569)
at org.apache.commons.el.NamedValue.evaluate(NamedValue.java:124)
at org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBindingImpl.java:450)
at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:180)
at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114)
... 27 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:13)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:32)
... 37 more
Caused by: java.lang.NoSuchMethodError: javax.interceptor.InvocationContext.getTarget()Ljava/lang/Object;
at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:37)
at org.jboss.seam.interceptors.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:51)
at org.jboss.seam.interceptors.JavaBeanInterceptor.intercept(JavaBeanInterceptor.java:39)
at actions.BlogService$$EnhancerByCGLIB$$1ebeb37a.getBlog()
... 43 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958420#3958420
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958420
19 years, 9 months
[JCA/JBoss] - Receive object in jboss
by sailu
Hi,
we are creating Receiver object like this
QueueReceiver qReceiver = qSesTemp.createReceiver(qTemp, selectorTag);
it is creating object like this in Jboss
org.jboss.resource.adapter.jms.JmsQueueReceiver@1247c45
But in case of weblogic the object is
weblogic.jms.client.JMSConsumer@1c65037
My problem is receiver is not able to receive any message in jboss.
the same code is working in weblogic but in case of jboss it is not able to receive the message.
My receive method is
qConTemp.start();
if(timeOutInSeconds == 0)
timeOutInSeconds = 60;
Message message = qReceiver.receive(timeOutInSeconds * 1000);
it is waiting up to given time and simply throwing exception
and the message is comming null
but in weblogic it is working
can any one help me .
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958419#3958419
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958419
19 years, 9 months