[JBoss-user] [EJB 3.0] - Entity bean security
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 : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937452 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB POJO has returned null values when returned to the c
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=viewtopic&p=3936906#3936906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936906 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - EJB POJO has returned null values when returned to the clien
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 null values. BTW i am using 4.0.4 CR2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935882#3935882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935882 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: EJB3.0 OBJECT cannot be acquired in JSP.
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 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JSP Development in Jboss
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 | | Generated servlet error: | C:\jboss-3.2.6\server\default\work\jboss.web\localhost\facility\org\apache\jsp\list_jsp.java:3: package javax.servlet does not exist | import javax.servlet.*; | ^ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852244#3852244 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852244 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - RMI Connection Caching
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 the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847568#3847568 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847568 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Secure the Invokers
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 sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - HTTPConnectionFactory and MDB
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 post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843672 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB -Problems Recieving Messages
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&mode=reply&p=3843628 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: MDB -Problems Recieving Messages
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] Started jboss.mq.destination:service=Queue,name=vfa 09:01:56,997 INFO [EjbModule] Deploying AFMessageProcessorEJB 09:01:57,168 WARN [JMSContainerInvoker] destination not found: queue/AFMessageProcessorEJB reason: javax.naming.NameNotFoundException: AFMessageProcessorEJB not bound 09:01:57,168 WARN [JMSContainerInvoker] creating a new temporary destination: queue/AFMessageProcessorEJB 09:01:57,178 INFO [AFMessageProcessorEJB] Bound to JNDI name: queue/AFMessageProcessorEJB 09:01:57,178 INFO [AFMessageProcessorEJB] Started jboss.mq.destination:service=Queue,name=AFMessageProcessorEJB 09:01:57,258 INFO [DLQHandler] Started null 09:01:57,258 INFO [JMSContainerInvoker] Started jboss.j2ee:binding=message-driven-bean,jndiName=local/AFMessageProcessorEJB,plugin=invoker,service=EJB 09:01:57,258 INFO [MessageDrivenInstancePool] Started jboss.j2ee:jndiName=local/AFMessageProcessorEJB,plugin=pool,service=EJB 09:01:57,258 INFO [MessageDrivenContainer] Started jboss.j2ee:jndiName=local/AFMessageProcessorEJB,service=EJB 09:01:57,258 INFO [EjbModule] Started jboss.j2ee:module=afmsgproc.jar,service=EjbModule 09:01:57,258 INFO [EJBDeployer] Deployed: file:/C:/TEMP/jboss-3.2.3/server/all/deploy/afmsgproc.jar 09:01:57,308 INFO [MainDeployer] Deployed package: file:/C:/TEMP/jboss-3.2.3/server/all/deploy/afmsgproc.jar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843620#3843620 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843620 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - MDB -Problems Recieving Messages
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, MessageListener{ |private final static Logger log = Logger.getLogger("com.vfa.assetfusion.queue.AFMessageProcessor"); |private MessageDrivenContext ctx = null; | |public void setMessageDrivenContext(MessageDrivenContext ctx){ | this.ctx = ctx; |} | | |public void ejbCreate(){ |} |public void ejbRemove(){ | this.ctx = null; |} | |public void onMessage(Message msg){ | log.debug("onMessage"); | try{ | TextMessage tm = (TextMessage) msg; | String text = tm.getText(); | log.debug("I am from the MDB"); | } | catch(JMSException e){ | log.error("onMessage error", e); | } |} | } | Jboss.xml | | | | AFMessageProcessorEJB | queue/test | | ejb-jar.xml | | http://java.sun.com/dtd/ejb-jar_2_0.dtd";> | | | | AFMessageProcessorEJB | com.vfa.assetfusion.queue.AFMessageProcessorBean | MessageFormat = 'Version 3.4' | Container | auto-acknowledge | | | javax.jms.Queue | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843613#3843613 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843613 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JNDI over Http
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/";); System.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces"); InitialContext iniCtx = new InitialContext(); javax.naming.NamingException: Failed to retrieve Naming interface. Root exception is java.lang.NullPointerException at org.jboss.invocation.http.interfaces.Util.configureHttpsHostVerifier(Util.java:145) at org.jboss.naming.HttpNamingContextFactory.getNamingServer(HttpNamingContextFactory.java:111) at org.jboss.naming.HttpNamingContextFactory.getInitialContext(HttpNamingContextFactory.java:65) at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:660) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241) at javax.naming.InitialContext.init(InitialContext.java:217) at javax.naming.InitialContext.(InitialContext.java:173) at com.vfa.assetfusion.MessageClient.main(MessageClient.java:54) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842763#3842763 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842763 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user