[JBoss Seam] - Re: Security questions to the Seam team
by shane.bryzak@jboss.com
The issue described in JBSEAM-2165 was a valid issue which is now fixed, however there is still no guarantee as to how many times the authenticator method will be called. From the ref docs:
anonymous wrote : When writing an authenticator method, it is important that it is kept minimal and free from any side-effects. This is because there is no guarantee as to how many times the authenticator method will be called by the security API, and as such it may be invoked multiple times during a single request. Because of this, any special code that should execute upon a successful or failed authentication should be written by implementing an event observer. See the section on Security Events further down in this chapter for more information about which events are raised by Seam Security.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126846#4126846
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126846
18 years, 2 months
[Installation, Configuration & DEPLOYMENT] - InvocationLayer type=http does not start
by ajaygautam
The problem: Invocation layer does not start
| 2008-02-05 17:38:23,967 [main] ERROR URLDeploymentScanner - Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.system:service=ServiceBindingManager
| State: CONFIGURED
| I Depend On:
| jboss.mq:service=InvocationLayer,type=HTTP
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
| State: NOTYETINSTALLED
| Depends On Me:
| jboss.system:service=ServiceBindingManager
|
Setup:
JBoss 4.0.5.GA deployed in a cluster on 2 separate redhat linux machines.
Config:
Based on "default" server, with additions for clustering.
>From jboss-service.xml:
<mbean code="org.jboss.services.binding.ServiceBindingManager"
| name="jboss.system:service=ServiceBindingManager">
| <depends>jboss.mq:service=InvocationLayer,type=HTTP</depends>
| <attribute name="ServerName">kiodex-ports</attribute>
| <!-- NOTE: jboss.server.home.url == ENV_HOME -->
| <attribute name="StoreURL">${jboss.server.home.url}/conf/port-bindings.xml</attribute>
| <attribute name="StoreFactoryClassName">
| org.jboss.services.binding.XMLServicesStoreFactory
| </attribute>
| </mbean>
>From port-bindings.xml:
<!-- ********************* jbossmq-httpil.sar **************** -->
| <service-config name="jboss.mq:service=InvocationLayer,type=HTTP"
| delegateClass="org.jboss.services.binding.AttributeMappingDelegate"
| >
| <delegate-config portName="URLPort"/>
| <binding port="24050"/>
| </service-config>
Debugging effort
There is nothing in the log that indicates why InvocationLayer fails to start. Before starting the server, I made sure that port 24050 was not bound. Even with log level set to DEBUG for "org.jboss.services", the logs do not point to any possible issues.
One thing to note here is that this error happens only on one machine. The other machine on the cluster does not have this error in its logs.
I already tried google and forums search, but did not find anything useful.
I have been trying to find a reason for why this is failing for the past few hours. Any help / information / nudge in the right direction would be greatly appreciated.
Thanks in advance
Ajay
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126833#4126833
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126833
18 years, 2 months
[JBoss Seam] - Re: Need Form to Work Without
by neilac333
Here you go:
| <ui:define name="mainFormContent">
| <h1><span>Search</span></h1>
|
| <label for="nameBox" jsfc="h:outputLabel" value="Name"/>
| <input type="text" jsfc="h:inputText" id="nameBox" value="#{searchAction.name}"/>
| <br/>
| <label for="numberBox" jsfc="h:outputLabel" value="Number"/>
| <input type="text" jsfc="h:inputText" value="#{searchAction.number}" id="numberBox"/>
| <br/>
| <label for="keyWordsBox" jsfc="h:outputLabel" value="Key Words"/>
| <input type="text" jsfc="h:inputText" value="#{searchAction.keyWords}" id="keyWordsBox"/>
| <br/>
| <label for="technicalCategoryBox" jsfc="h:outputLabel" value="Technical Category"/>
| <input type="text" jsfc="h:inputText" value="#{searchAction.technicalCategory}" id="technicalCategoryBox"/>
| <br/>
| <label for="descriptionBox" jsfc="h:outputLabel" value="Description"/>
| <input type="text" jsfc="h:inputText" value="#{searchAction.description}" id="descriptionBox"/>
| <br/>
| <label for="resultsPerPage" jsfc="h:outputLabel" value="Results Per Page:"/>
| <select jsfc="h:selectOneMenu" id="resultsPerPage" value="#{searchAction.resultsPerPage}">
| <option jsfc="f:selectItem" id="five" itemLabel="5" itemValue="5"/>
| <option jsfc="f:selectItem" id="ten" itemLabel="10" itemValue="10"/>
| <option jsfc="f:selectItem" id="fifteen" itemLabel="15" itemValue="15"/>
| </select>
| <br/>
| <input type="button" jsfc="h:commandButton" styleClass="submitButton" id="submitButton"
| action="#{searchAction.doAdvancedSearch}" value="Search"/>
| <br/>
| <a4j:region id="searchResultsRegion">
| <a4j:status for="searchResultsRegion">
| <f:facet name="start">
| <h:graphicImage value="/images/spinner.gif" id="spinner" styleClass="spinner"/>
| </f:facet>
| </a4j:status>
| <rich:datascroller for="searchResults"
| rendered="#{not empty searchAction.searchResults}"
| scrollerListener="#{searchAction.doScroll}"
| fastControls="hide">
| </rich:datascroller>
| <rich:spacer id="scrollerTableSpacer" height="15"/>
| <table jsfc="rich:dataTable" id="searchResults"
| rows="#{searchAction.resultsPerPage}"
| value="#{searchAction.searchResultsDataModel}"
| var="result"
| rendered="#{not empty searchAction.searchResults}"
| onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
| onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'">
| <f:facet name="header">
| <rich:columnGroup>
| <h:column>
| <th jsfc="h:outputText" id="numberColumnHeader" value="Number"/>
| </h:column>
| <h:column>
| <th jsfc="h:outputText" id="nameColumnHeader" value="Name"/>
| </h:column>
| <h:column>
| <th jsfc="h:outputText" id="descriptionColumnHeader" value="Description"/>
| </h:column>
| </rich:columnGroup>
| </f:facet>
| <h:column><h:outputLink value="#{result.number}">#{result.number}</h:outputLink></h:column>
| <h:column>#{result.name}</h:column>
| <h:column>#{result.description}</h:column>
| </table>
| </a4j:region>
| <h:message id="noSearchResultsMessage" for="searchResults" styleClass="noSearchResultsMessage"/>
| </ui:define>
|
That is the portion of the Facelet that contains RichFaces components.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126832#4126832
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126832
18 years, 2 months