[JBoss Seam] - Pbm with missing contexts
by guib
Hi,
First of all, I'm using Jboss Seam 1.2.1.
I've made an application wich uses a Servlet to "catch" multipart request wich contains voice messages. My Servlet extends ResourceServlet and is declared in the web.xml file.
But, in this servlet I can't access to contexts : there are not active. I've added this in components.xml file :
anonymous wrote : <web:context-filter url-pattern="/deposit/postRelease.record" />
and this in web.xml :
anonymous wrote :
| <servlet-name>Recording Servlet</servlet-name>
| <servlet-class>
| com.eservglobal.mailis.vxml.deposit.MailisRecordingServlet
| </servlet-class>
| <load-on-startup>1</load-on-startup>
|
|
| <servlet-mapping>
| <servlet-name>Recording Servlet</servlet-name>
| <url-pattern>/deposit/postRelease.record</url-pattern>
| </servlet-mapping>
In this case its works fine.
But, at the end of my servlet doPost method I want to forward to another page wich needs context too. So I did :
anonymous wrote : RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/deposit/postRelease.seam");
| dispatcher.forward(req, res);
Is it the right method to use ?
Why my context is not active in this new page ?
How can I fix this problem.
Thx to all.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058029#4058029
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058029
18Â years, 10Â months
[JBoss Seam] - Re: Web service interface stable in 1.3.0 ALPHA?
by avbentem
Not trying to criticize the good work that is being done with Seam, but just curious as ever: can anyone comment on the choice to add a conversationId element in the Soap header? This is documented as:
anonymous wrote : So how are conversations propagated between web service requests? Seam uses a SOAP header element present in both the SOAP request and response messages to carry the conversation ID from the consumer to the service, and back again.
The downside is:
anonymous wrote : Unfortunately, because web services may be consumed by a variety of web service clients written in a variety of languages, it is up to the developer to implement conversation ID propagation between individual web services that are intended to be used within the scope of a single conversation.
The Sun JAX-WS reference implementation supports statefull web services by using a different endpoint reference for each client. The good thing about this is that, for example, .NET 3.0 clients seem to support this out of the box as well.
It seems JBossWS 2.1 supports this through WS-Adressing as well; for example JBoss' Heiko Braun wrote: "WS-Addressing is the right way to build conversational web services".
Someone's question in the WS forum about future support for StatefulWebServiceManager has not yet been answered: JBossWS JAX-WS question using stateful. I cannot find any reference to this in JIRA either.
Thanks,
Arjan.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058028#4058028
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058028
18Â years, 10Â months
[JBoss Portal] - deploy a application use jsf(sun) under the jboss portal 2.6
by rongbino
hi
i have program a application used jsf baseed on the sun's
when i deploy the war to the jboss protal, it's error like this :
16:06:25,760 ERROR [STDERR] 2007-6-27 16:06:25 com.sun.faces.config.ConfigureLis
tener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b09-FCS) for co
ntext 'psv'
16:06:26,354 ERROR [STDERR] 2007-6-27 16:06:26 com.sun.faces.spi.InjectionProvid
erFactory createInstance
WARN: JSF1033: Resource injection is DISABLED.
16:06:26,901 ERROR [STDERR] 2007-6-27 16:06:26 com.sun.faces.config.ConfigureLis
tener configure
ERROR: can't instance the class component-family: javax.faces.Command renderer-type: org.apac
he.myfaces.Button renderer-class: org.apache.myfaces.renderkit.html.ext.HtmlButt
onRenderer?
16:06:26,901 ERROR [STDERR] java.lang.ClassCastException: org.apache.myfaces.ren
i search the error from internet, i know jboss portal use jsf too, but it's base on the myface.
how to resovle the problem??? please help me !!!
rongbin from china
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058022#4058022
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058022
18Â years, 10Â months