Hi
I want to make a deployed web-app the "home page" / "landing page" when my user navigates to JBoss home.
I know this has something to do with naming my webapp's WAR file "ROOT.war" - I notice that the default JBoss home page is /JBOSS_HOME/server/default/deploy/jboss-web.deployer/ROOT.war/ - Please advise as to whether I also need to create a "deployer" directory (I am unfamiliar with those) or whatever is the best practise.
Note: this webapp I want to deploy shall be the home page, with declarative security configured, and from there the user will be able to access other webapps that have been deployed (similar to the default JBoss home page).
Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090130#4090130
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090130
I have bean named Person an annotated as @Name("person") with attribute name with getters and setters.
On jsf:
<h:form>
<h:inputText value="#{person.name}" size="20"/>
<s:button type="submit" value="Export" action="#{actions.doExport}"/> </h:form>
On Actions:
@Name("actions")
public class Actions {
@In
public Person person;
public void doExport() {
log.info(new StringBuffer("On Actions.doExport ").toString());
log.info(new StringBuffer("Name entered by user ").append(person.getName()).toString());
}
When I enter name on inputText and submit form, an exception is thrown:
ERROR [SeamPhaseListener] uncaught exception
javax.el.ELException: org.jboss.seam.RequiredException: In attribute requires non-null value: actions.person
What I'm doing wrong?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090122#4090122
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090122
JBoss: 4.0.5 (Tomcat as servletcontainer)
classloader settings:
false
false
Hi,
when trying to access to a servlet, which uses JAAS for athentication, I get the error:
| 12:41:45,233 WARN [JAASRealm] Login exception authenticating username "xxx"
| javax.security.auth.login.LoginException: No ClassLoaders found for: com.liferay.portal.security.jaas.PortalLoginModule
|
My question is: How can I configure the classloader (or smth else), in this way, that the JAAS stuff finds the needed classes inside the corresponding .WAR?
The security-domain is defined inside the jboss-web.xml of the .WAR
and the authentication-policy entry is inside the default/conf/login-config.xml
Copy/move the missing .jars to the default/lib is not an option. :-|
thanks in advance,
Thomas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090121#4090121
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090121