[JBoss-user] [Messaging, JMS & JBossMQ] - question about JMS Queue info in jbossmq-destinations-servic
I have some code which writes data to Queue and MDB reads from that Queue. I don't have Queue entry in jbossmq-destinations-service.xml. So when I start JBoss server I get following in log file. anonymous wrote : | WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not found: queue/CustErrQueue reason: javax.naming.NameNotFoundException: CustErrQueue not bound | WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating a new temporary destination: queue/CustErrQueue | INFO [org.jboss.mq.server.jmx.Queue.VDNMDB] Bound to JNDI name: queue/CustErrQueue | I was reading this http://docs.jboss.org/jbossas/getting_started/v4/html/mdb.html What I think is: if we don't specify queue information in jbossmq-destinations-service.xml, Jboss will still create the queue. Am I correct here? In which case I would put queue info in jbossmq-destinations-service.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934029#3934029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934029 --- 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/JBoss] - Re: EJB not bound :
The issue was resolved.Didn't realized that it was case of EJB calling EJB. The code was: SomeEJB.someMethod() --> DAO.getCustomer() --> CustomerEJB So I put element in ejb-jar.xml for "SomeEJB" and error was gone. Thanks for all replies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916726#3916726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916726 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB not bound :
I am getting this error when I started migrating my project from JBoss 3.2.5 to 4.0.2 All the EJBs in the application are local. In JBoss 3.2.5 | JNDI name | public static final String CUST_LOCAL_HOME = "local/CustomerEJB"; | | ejb-jar.xml | | CUSTOMER table | CustomerEJB | com.xyz.components.customer.LocalCustomerHome | com.xyz.components.customer.LocalCustomer | com.xyz.components.customer.CustomerEJB | Container | java.lang.String | -1 | 2.x | Customer | CustID | | | CustID | | | No JBoss.xml | | | EJB Access code: | LocalCustomerHome custHome = (LocalCustomerHome)servicelocator.getLocalHome(JNDINames.CUST_LOCAL_HOME); | LocalCustomer custObj = custHome.create(myCustVO); | | For project we have xyzEJB.jar with all EJB and related classes xyz.war has all classes in xyzEJB.jar + web stuff such as JSP,.html, tld,etc. I made following changes for JBoss 4.0.2 | JNDI name | public static final String CUST_LOCAL_HOME = "java:comp/env/CustomerEJB"; | | ejb-jar.xml same as above | | No JBoss.xml | | Added following in web.xml for each EJB | | CustomerEJB | Entity | com.xyz.components.customer.LocalCustomerHome | com.xyz.components.customer.LocalCustomer | CustomerEJB | | | EJB Access code: | same as above. | For JBoss 4.0.2, I excluded all the EJBs (3 files for each EJB) from xyz.war file. So xyz.war will not have any EJBs now. Somebody told me that we can get these kinds of errors if: 1) we have duplicate classes in xyz.war & xyzEJB.jar file (I checked that I don't have any) 2) some classes which should be xhyEJB.jar are in xyz.jar instead. e.g.in CustomerEJB create() has myCustVO , so CustVo.class should be in xyzEJB.jar not in zyz.jar. I haven't tried the option 2 yet. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915349#3915349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915349 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB not bound :
I already have the chages mentioned in the link you sent. Still no luck... It just this one entity bean which is having problem, for the rest of the Entity & Session beans project is working fine. Thanks is advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915163#3915163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915163 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - EJB not bound :
We migrated our application from Jboss 3.2.5 to 4.0.2. All EJBs in application are local, Added in web.xml and all JNDI names are java:comp/env/xyzEJB For all other EJBs, application is working fine except following one and gives error : "NameNotFoundException: CustomerEJB not bound" error. I checked the http://localhost:8080/jmx-console/ | "Global JNDI Namespace" | +- local (class: org.jnp.interfaces.NamingContext) | | +- [EMAIL PROTECTED] (proxy: $Proxy103 implements interface com.xyz.customer.LocalCustomerHome) | So this indicates that ejb-ref for CustomerEJB is fine. Then why am I getting NameNotFoundException Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914974#3914974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914974 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: saving j_username as session/request parameter
Few questions: 1. Where do I put cotext.xml file? 2. Where do I put the FormAuthValve class? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891459#3891459 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891459 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - saving j_username as session/request parameter
I am using Form-Based authentication with DatabaseServerLoginModule. After authentication I want to save the j_username in request/session parameter.(has some business logic that needs to use this j_username) Do I need to do similar to this? http://wiki.jboss.org/wiki/Wiki.jsp?page=CustomizingSecurityUsingValves If yes how to proceed with the same. I am using JBoss 3.2.5 Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891314#3891314 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891314 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user