RE: [jboss-user] JSF 1.2 Kickstart app on Jboss Portal / App Server
by Brian McGovern
Sorry for bumping this- Im hoping someone will see and be able to help?
-----Original Message-----
From: jboss-user-bounces(a)lists.jboss.org [mailto:jboss-user-bounces@lists.jboss.org]On Behalf Of Brian McGovern
Sent: Monday, October 16, 2006 2:01 PM
To: jboss-user(a)lists.jboss.org
Subject: [jboss-user] JSF 1.2 Kickstart app on Jboss Portal / App Server
Hi, Hoping someone can help here.
I'm using jboss 2.4 app / portal server bundled and can deploy the JSF portlet from the Getting Started guide in the portal container no problem. But I need to not only have portlets in the portal container but also webapps in the application server. I have read that is where JSF can come in handy and have multiple behaviors based on environment.
So I found a good JSF1.2 example here that uses facelets: http://blog.exadel.com/?p=23 to get around Jboss' servlet container (tomcat) limitation of servlet 2.4. I can deploy this as an app on Tomcat 5.0 in a stand alone env. But the 5.5.17 version of tomcat bundled inside of jboss bails out. It throws ClassCastExceptions all over the place
Bottom line, can anyone tell me definatively if JSF 1.2 apps will run on jboss-app server? if so.. how?
Thanks
-Brian
19 years, 8 months
[JBossWS] - Security exception for service endpoint
by abozzetto
Hi,
I have deployed a web service using service end point.
The services were deployed correctly. The services works fine with RMI. But when I try to invoke it from client app by setting Call.USERNAME_PROPERTY and Call.PASSWORD_PROPERTY, it throws up a security exception as below.
| java.rmi.AccessException: SecurityException; nested exception is:
| java.lang.SecurityException: Insufficient method permissions, principal=f.fabi, ejbName=EuclideManager, method=getPatients, interface=SERVICE_ENDPOINT, requiredRoles=[], principalRoles=[807C, 807O, 807, 807H, Administrator, 807B, 807I, 807F, 8070, 807G, 807A, VEDITUTTO, 807E, create, 8073, 807S, 807D]
|
this is my login-config.xml
| <application-policy name = "solinfo">
| <authentication>
| <login-module code = "it.solinfo.euclide.jaas.SSOLoginModule"
| flag = "required">
| <module-option name = "principalClass">it.solinfo.euclide.jaas.SSOPrincipal</module-option>
| <module-option name = "context">/META-INF/SSOapplicationContext.xml</module-option>
| </login-module>
| </authentication>
| </application-policy>
|
|
and my ejb-jar.xml
| <session >
| <description><![CDATA[EuclideManager interfaccia generica con parametri String]]></description>
| <display-name>EuclideManager</display-name>
|
| <ejb-name>EuclideManager</ejb-name>
|
| <home>it.solinfo.euclide.ejb.EuclideManagerHome</home>
| <remote>it.solinfo.euclide.ejb.EuclideManager</remote>
| <service-endpoint>it.solinfo.euclide.ws.EuclideManagerWSIntf</service-endpoint>
| <ejb-class>it.solinfo.euclide.ejb.EuclideManagerBean</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
|
| <env-entry>
| <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
| <env-entry-type>java.lang.String</env-entry-type>
| <env-entry-value><![CDATA[/META-INF/applicationContext.xml]]></env-entry-value>
| </env-entry>
|
| </session>
|
|
this my jboss.xml
| <security-domain>java:/jaas/solinfo</security-domain>
| .....
|
| <session>
| <ejb-name>EuclideManager</ejb-name>
| <jndi-name>EuclideManager</jndi-name>
|
| <clustered>true</clustered>
| <cluster-config>
| <partition-name>EuclidePartition</partition-name>
| <home-load-balance-policy>org.jboss.ha.framework.interfaces.RoundRobin</home-load-balance-policy>
| <bean-load-balance-policy>org.jboss.ha.framework.interfaces.RoundRobin</bean-load-balance-policy>
| </cluster-config>
|
| <method-attributes>
| </method-attributes>
| <port-component>
| <port-component-name>EuclideManagerWSIntf</port-component-name>
| <port-component-uri>/EuclideEJB/EuclideManager</port-component-uri>
| <auth-method>BASIC</auth-method>
| </port-component>
| </session>
|
|
bye
Thanks a lot
Andrea Bozzetto
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978823#3978823
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978823
19 years, 8 months