How do i enforce application security on the entity beans?
For e.g How do i prevent an entity from loading if the user doing the lookup is
not authorized to view the enity?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937452#3937452
Reply to the post :
ht
I figured out the problem. My Entity was extending an abstract class using
@MappedSuperClass. The entity class implements Serializable but the parent
class didn't. Once i implemented serializable everything worked fine.
View the original post :
http://www.jboss.com/index.html?module=bb&op=view
I have an entity bean that is accessed via a session bean.
Then there is a java application that print the attributes of the entity bean
after getting the pojo from the session bean. When i print the values in the
session bean i get the values but when i print it in the java app i am getting
nul
I have the same issue. Did you solve the problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935879#3935879
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935879
---
I changed the jboss-3.2.6\server\default\deploy\jbossweb-tomcat50.sar\server.xml and
included the following
. The reason for doing this is to do jsp development in jboss. But when i
access the jsp page i get the following error
org.apache.jasper.JasperException: Unable to compile class for JSP
My application runs under jboss 3.2.3. I am communicating to a different app running
on Websphere through RMI. Whenever websphere is restarted the rmi communication from
my app is not working. I have to restart my app to make the RMI communication work.
Can anyone explain this behavior?
View th
Can you share the code
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846781#3846781
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846781
---
This SF.Net email is s
Can i use the httpconnectionfactory and org.jboss.naming.HttpNamingContextFactory
from the MDB to send messages to a remote Queue? If yes, Can someone tell me how to
configure it?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843672#3843672
Reply to the po
Fixed it. jboss.xml was not in the right format.
It was missing the jboss tag at the start
Thanks everyone for your replies
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843628#3843628
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&
I modified jboss-destinations-service.xml to add my queue. Here is log.
Take look at the timestamp. The queue gets deployed before the bean. But still it
looks for the wrong destination and throwing an exception
09:01:56,437 INFO [vfa] Bound to JNDI name: queue/vfa
09:01:56,437 INFO [vfa] Start
I have a Simple MDB which logs the message from a queue. When i deploy the bean, it
looks like its ignoring the destination i have given and it creates a temporary queue
and listens for messages from the queue.
The MDB
| public class AFMessageProcessorBean implements MessageDrivenBean, Message
I am getting a NullPointerException when trying to execute the following piece of code.
System.setProperty("java.naming.factory.initial","org.jboss.naming.HttpNamingContextFactory");
System.setProperty("java.naming.provider.url","http://localhost/invoker/JNDIFactory/";);
12 matches
Mail list logo