If user who doesnt have access to a portal trying access it, I am getting Access denied: HTTP 403 Forbidden response error page. I need change that to a custom jsp page. I tried in the way described in refernce guide. I set the pproperties,
| <property>
| <name>control.portal.access_denied</name>
| <value>jsp</value>
| </property>
|
and
| <property>
| <name>control.portal.resource_uri</name>
| <value>/WEB-INF/jsp/error/portal.jsp</value>
| </property>
|
But its also not working. I am using JBoss 2.6.3
Any help is appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133443#4133443
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133443
Hi,
We are currently having a standalone java program that acts as a Socket Server to a C++ client. Our application needs to support various client requests and involved extensive thread management. We wanted a better implementation. I was wondering whether JBoss Remoting is a solution for this situation.
As I am a new user, I read through the example code but it uses a Java Client. Is there a way I can make JBoss expose a Socket Server URL and have a C++ client connect to it?
Any example code snippet would be really helpful. Thanks in advance.
Regards,
Haresh Kumar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133437#4133437
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133437
Hello!
I would like to know how I could access from a ManagedBean to the remote interface of a Session Bean. The structure of my ear file is de folowing:
| -Prototipo.ear
| -META-INF
| - MANIFEST.MF
| - application.xml
| - jboss-app.xml
| -PrototipoEJB.jar
| -entity
| -ProyectoCMP.class
| -META-INF
| -MANIFEST.MF
| -ejb-jar.xml
| -persistence.xml
| -session
| -GestorProyectosBean
| -GestorProyectosHome
| -GestorProyectosRemote
| -PrototipoWeb
| -META-INF
| -MANIFEST.MF
| -WEB-INF
| -classes
| -ManagedBean.class
| -lib
| -faces-config.xml
| -web.xml
|
In the class ManagedBean I would acces to the session bean GestorProyectosRemote but I don't know how. I try to import the package session.GestorProyectosRemote but this doesn't work.
I'm using JBoss 4.2.2GA + EJB3.0. In the ejb-jar.xml file there aren't any definition of a bean.This is not necesary for EJB3 doesn't true? This is teh content of ejb-jar.xml
| <?xml version="1.0" encoding="utf-8"?>
| <ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd">
| </ejb-jar>
|
How I can access to the Remote interface of my sessionBean (GestorProyectosRemote)?
Thanks,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4133434#4133434
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4133434