[JBoss Seam] - Re: beginner can't figure out how to change URL from home.se
by fernando_jmt
This is not a Seam stuff, but I'll give you some hints to figure out (maybe you should read more about JSF ).
It depends what you have configured in your web.xml.
By instance, if you are using facelets, you should have this:
| <context-param>
| <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
| <param-value>.xhtml</param-value>
| </context-param>
|
Now, the Faces Servlet is configured to use *.seam whether you have this:
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.seam</url-pattern>
| </servlet-mapping>
|
This means when you write a page like home.xhtml in your app. and in the browser you type: http://domain/helloworld/home.seam
This will open the JSF managed view for home.xhtml.
So, if you wanna change .seam to .html , you should change:
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.html</url-pattern>
| </servlet-mapping>
|
Then all *.html extensions will call the respective .xhtml JSF managed view.
HTH.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021167#4021167
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021167
19Â years, 2Â months
[JBoss Seam] - concurrent access to SFSB using SEAM Remoting
by zdaler
We encountered a problem accessing a simple SFSB from a javascript call using seam remoting.
Concurrent js calls to a single conversational SFSB produces multiple instances of SFSB each being added to a newly created conversation context which is not what one would expect.
We reproduced it with a minor modification to the chatroom example.
We simply changed the sendMessage function (in ChatRoomAction.java) like this (adding a 10s delay to simulate a long process) :
public void sendMessage(String message) {
| publish( new ChatroomEvent("message", username, message) );
| try {
| Thread.sleep(10000) ;
| } catch (InterruptedException e) {
| e.printStackTrace();
| }
| }
|
This breaks the chatroom example : repeated inputs lead to the creation of new "chatroomAction" SFSBs that don't hold the user object (and are located within new conversation contexts).
This is the ouput in the chatroom :
anonymous wrote : testuser connected.
| testuser> a
| null> a
| testuser> a
| null> a
|
Thanks for any help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021160#4021160
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021160
19Â years, 2Â months
[JBoss Portal] - Re: WSRP in JBoss 2.6 Alpha 2
by chris.laprunï¼ jboss.com
"ravindra reddy" wrote : when i am trying to see the protlets available for vignette in management portlet, system is generating this error in server .
|
Last time I checked Vignette's producer, the provided registration information for the vignette producer did not correspond to a real registration and their producer requires valid registration to work. You need to obtain valid registration information from Vignette in order to work with their producer.
"ravindra reddy" wrote : do i need to include anything related to 'netunity' in "wsrp-services.wsdl" file.
No. wsrp-services.wsdl is only used to configure Portal's producer. It doesn't impact consumers at all.
"ravindra reddy" wrote :
| ERROR [ServiceObjectFactory] Cannot create service
| | org.jboss.ws.metadata.wsdl.WSDLException: java.net.ConnectException: Connection timed out: connect
This seems to indicate a network issue. Either the producer is down (which happens regularly) or there is something wrong on your network connection (you indicated using the proxy options, maybe your proxy configuration is incorrect?).
Hope this helps.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4021158#4021158
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4021158
19Â years, 2Â months