[JBoss-user] [JCA/JBoss] - Re: SQLException is comming
Looks like a permission problem with your database. Do you use JMS? If no you can delete the jboss/server/deploy//jms directory. otherwise check your DS configuration. Do you change the DefaultDS from hypersonic to an other? Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955404#3955404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955404 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Mapping of a special Date for CMP and using it for a finder
In a CMP2.x Entity we have a special DateTime Object. In the jbosscmp-jdbc.xml deploymentdescriptor I add the following Element: | | com.orga.jaf.date.Date | java.sql.Timestamp | com.orga.jaf.date.DateMapper | | | com.orga.jaf.date.DateTime | java.sql.Timestamp | com.orga.jaf.date.DateTimeMapper | | | All getter and setter methods are public abstract void setXXX(DateTime date); | public abstract DateTime getXXX(); | This part works as I expected! But when I add a finder that has such a DateTime object in the WHERE clause the following Exception is thrown at deploy time: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement for EJB 'LcAccount': SELECT OBJECT(o) FROM LcAccount o WHERE o.lcDateFrom = ?2 AND o.account.accountId = ?1; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "o.lcDateFrom" at line 1, column 43. | Was expecting one of: | "NOT" ... | "(" ... | ... | ... | "CONCAT" ... | "SUBSTRING" ... | ... | ... | ... | ... | ... | "LENGTH" ... | "LOCATE" ... | "ABS" ... | "SQRT" ... | "MOD" ... | "+" ... | "-" ... | ... | ... | ... | ) | Any ideas? Is it not posible to use own datatypes in a finder? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955381#3955381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955381 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: using others DBMS in jboss
When you use BMP you have to create your own connection like : | public class MyEntity implements EntityBean { | private Connection getConnection() { | Context ctx=new InitialContext(); | DataSource ds=(DataSource)ctx.lookup("java:/myEntityConnection"); | return(ds.getConnection(); | } | | pubic void ejbStore() throws EJBException { | Connection con=null; | try { | con=getConnection(); | ... your Code | }finnaly{ | if(con!=null) { | con.close(); | } | } | } | This code should work, I test it a long time ago ;-) I use CMP 2.x, it's easier to implement and the performance is fortunately the same as BMP. Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955256#3955256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955256 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: using others DBMS in jboss
What kind of Exception? During deploy or when you use it? In which EJB do you use the DB-Connection? Session or Entity? Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955232#3955232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955232 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: actual table-name is not taken while creating SQL query
I can't see a mistake. Do you pack the EAR/JAR correct (not missing the jboss config) How do you create the descriptor? xdoclet? Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953384#3953384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953384 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Cluster configuration/troubleshooting
How do you set the InitialContext ? | Hashtable environment=new Hashtable(); | environment.put(InitialContext.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); | environment.put(InitialContext.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces"); | // Autodiscovery via mcast | environment.put("jnp.discoveryGroup","230.0.0.4"); // depends on your JBoss configuration | environment.put("jnp.discoveryPort","1102"); | // direct known systems | //environment.put(InitialContext.PROVIDER_URL,"jboss1:1100,jboss2:1100"); | javax.naming.InitialContext initialContext = new javax.naming.InitialContext(environment); | Looks like this? It works for me! - which client is connected to what server? - which EJBs will be clustered? set flag clustered true in the deploy descriptor think about the jboss configuration name "Standard Stateless SessionBean" or "Clustered Stateless SessionBean" - the jboss.xml contains correct entries (I'm quite sure about EJB-Names, but what about JNDI-Names? Do I need them both?) What means both? (Remote and Local is your decision) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947976#3947976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947976 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - EntityBean locking (pessimistic) in a cluster
Hi, I have a problem with the pessimistic locking in a JBoss-cluster, a CMP-Entity is not locked if it runs on a different node. Here the szenario: one SessionBean control the Entity (SessionFascade), do an Entity.setXX() something other stuff. run the same SessionBean call at 3clients (2 active JBoss nodes in the cluster) The first setXX() at node A works the second setXX() at node B works (why this, IMO has to wait for node A)? the third setXX() again at node A waits until the first SessionBean ends with commit If I run without clustering the behavior is IMO correct the second call is waiting until the first call commits. In a cluster this works only local at each node!? I think it's a missconfiguration, here is my bean configuration of standardjboss.xml which is used: | Clustered CMP 2.x EntityBean | false | clustered-entity-rmi-invoker | false | false | | org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor | org.jboss.ejb.plugins.CleanShutdownInterceptor | org.jboss.ejb.plugins.LogInterceptor | org.jboss.ejb.plugins.SecurityInterceptor | org.jboss.ejb.plugins.TxInterceptorCMT | org.jboss.ejb.plugins.CallValidationInterceptor | org.jboss.ejb.plugins.EntityCreationInterceptor | org.jboss.ejb.plugins.EntityLockInterceptor | org.jboss.ejb.plugins.EntityInstanceInterceptor | org.jboss.ejb.plugins.EntityReentranceInterceptor | org.jboss.resource.connectionmanager.CachedConnectionInterceptor | org.jboss.ejb.plugins.EntitySynchronizationInterceptor | | org.jboss.cache.invalidation.triggers.EntityBeanCacheBatchInvalidatorInterceptor | org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor | | org.jboss.ejb.plugins.EntityInstancePool | | org.jboss.ejb.plugins.InvalidableEntityInstanceCache | org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager | org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock | | org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy | | 50 | 100 | 300 | 600 | 400 | 60 | 1 | 0.75 | | | | 100 | | A | | ${jboss.partition.name:DefaultPartition} | | thanks for reply Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945333#3945333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945333 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss DataSource
Hi, have a short look in the docs/examples/jca there is a oracle-ds.xml. The XA document is for a twophase commit connection, the other for a normal. Then change the Databasename in JBOSS/server/default/conf/standardjboss-cmp.xml from DefaultDS to your DS Name in the oracle...-ds.xml. Or overwite the Default in your deploymentdescriptor which is in the deployed ear/jar file. Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944984#3944984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944984 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: No effect if change HAJNDI Port/RmiPort with ServiceBind
No, this ports are not in use. If I start without bindings 1100 and 1101 are used. If I start with bindings 11100 and 11101 should be used, but they dont. If I edit the cluster-service.xml directly everything works fine Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944252#3944252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944252 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: No effect if change HAJNDI Port/RmiPort with ServiceBind
the other kind of mapping also dosn't work. My config sample is from the original sample-bindings.xml of 4.0.4CR2. In other Topics they discus similar problems, but it was solved in a earlier version?! Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944110#3944110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944110 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: No effect if change HAJNDI Port/RmiPort with ServiceBind
Sorry, using JBoss 4.0.4CR2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943808#3943808 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943808 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - No effect if change HAJNDI Port/RmiPort with ServiceBindingM
Hello, we change the ports of JBoss to run multiple instances on one system by copying the samples-bindings.xml and change it. Every ports are changed (controlled with jmx-console) except HAJNDI Port/RmiPort. Here is the code from ...-bindings.xml | | | | | 11101 | | | | | | | | | | | | | The RMIObjectPort and the AutoDiscovery are changes correct, only the 1100 and 1101 Ports are still in use and not changed to 11100, 11101. Any idea? Wolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943807#3943807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943807 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Help on DATE format error
Sorry, I'm not familiar with the SUN 'Duke Bankaccount' example. But the result of you deployment for EJB must have an ejb-jar.xml, jboss.xml and jaws.xml in the META-INF of the EJB.jar file ejb-jar.xml: EntityBean | | xxxDate | jaws.xml: | EntityBean | | | xxxDate | yyyDate | | In the .java code of AccountEJB an attribute like java.sql.Timestamp and the Table a coresponding column, see XML-files. Have a short look into jboss.../server/default/conf/standardjaws.xml, here you will find the mapping: | mySQL | | java.util.Date | DATE | DATETIME | | I think this can be your problem ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854280#3854280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854280 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Help on DATE format error
Hi, looks like an Configuration/Mapping or Programmers fail. I'm not working with MySQL. But it seems that the DB has a incompatible datatype. For more you must post the mapping (if you change) the JBoss version and a pice of your DeployDesc and code... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854253#3854253 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854253 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Problem with log4j jar in jboss start
Hi, the CLASSPATH mean the JBoss starter Classpath that is assembled in the run.sh/bat script, see output during start. The effect is the same which Frito describes. JBoss found an incompatible log4j.jar (can be a different name!!) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854055#3854055 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854055 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Setting cron jobs in jboss
Hi, what you mean with 'how can I set cron jobs...'? If you want to start a Job at an appointed time you have two ways to do it: 1) write a Client and start it with cron 2) use EJB Spec. 2.0 and work with javax.ejb.Timer View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853856#3853856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853856 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Problem with log4j jar in jboss start
Hi, can you start the JBoss when you have the extracted zip-archive without any changes? If it dosn't work have a look to th CLASSPATH, any other log4j.jar ?? Wolf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853855#3853855 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853855 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Is it safe to update xalan, xercesImpl and xml-apis jar
Hi, if you want save, the best way (IMO) is to put all in an EAR-File. So your application work with the necassary XSLT and JBoss and other applications in the same JBoss AS runs with different.. Wolf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852916#3852916 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852916 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Evaluating JBoss Application Server on Windows and Linux
Hi Richard, IMO the O'Reilly Book Enterprise Java Bean from Richard Monson-Haefel ist a good book to start with. Maybe http://docs.jboss.org/ejb3/tutorial can help with examples. I dont't know how good it is for beginners. I have begun with JBoss 2.2.2 and older EJB's 1.0/1.1 tutorials from JBoss cu Wolf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852794#3852794 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852794 --- 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] [Messaging, JMS & JBossMQ] - Re: Cannot read from DLQ with JDBC persistence
Hi guyug, here is my code that works fine in my client | private void deleteQueueEntry(String jmsMessageID) throws JMSException,NamingException { | QueueConnection qc=de.intermoves.pbseasyzds.admin.Session.getJMSQueueConnection(); | Queue jmsq=de.intermoves.pbseasyzds.admin.Session.getJMSQueue((String)this.queue.getSelectedKey()); | QueueSession session = qc.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE); | QueueReceiver recv = session.createReceiver(jmsq,"JMSMessageID='"+jmsMessageID+"'"); | session.setMessageListener(new MessageListener() { | public void onMessage(Message msg) { | if(log4j.isDebugEnabled()) log4j.debug("Loesche JMS Message "+msg); | } | }); | qc.start(); | recv.receive(1000); // Message aus der Queue lesen wenn noch vorhanden | qc.stop(); | session.close(); | qc.close(); | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852792#3852792 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852792 --- 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] [Messaging, JMS & JBossMQ] - Re: Cannot read from DLQ with JDBC persistence
hi, I use a Client with the QueueBrowse function to read the DLQ. And I have no Problems, her a pice of my code (from a swing client): | try { | QueueConnection qc=de.intermoves.pbseasyzds.admin.Session.getJMSQueueConnection(); | Queue jmsq=de.intermoves.pbseasyzds.admin.Session.getJMSQueue(queueName); | QueueSession session = qc.createQueueSession(false,QueueSession.AUTO_ACKNOWLEDGE); | | DefaultListModel model=new DefaultListModel(); | for(Enumeration e=session.createBrowser(jmsq).getEnumeration();e.hasMoreElements();){ | Message msg=(Message)e.nextElement(); | model.addElement(msg); | } | this.queueEntries.setModel(model); | | session.close(); | qc.close(); | }catch(JMSException e) { | log4j.error("Fehler JMS",e); | }catch(NamingException e) { | log4j.error("Fehler JNDI",e); | } | in which way you read the DLQ entries? Wolf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852776#3852776 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852776 --- 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] [Messaging, JMS & JBossMQ] - Re: Is Hypersonic DB the default storage for JBoss JMS ?
Hi, I think yes, if you using JBoss 3.2.x in the directory ./server/default/deploy/jms the file hsqldb-jdbc2-service.xml sets the persistance to a HSQLDB named 'DefaultDS' witch is configured in ./sever/default/deploy/hsqldb-ds.xml. If you want to use other persistance some examples are in the ./docs/examples/jms directory. with kind regardsWolf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852772#3852772 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852772 --- 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] [Messaging, JMS & JBossMQ] - Message delivering during shutdown JBoss 3.2.4
We are using JBossMQ in catalog management project and during our load tests we have observed the following behaviour. On a shutdown of JBoss with JBossMQ a queue message is delivered more than ONCE. For reproduction we use the following szenario: One JBoss, no cluster One sender, many listeners are attached to the queue JBoss 3.2.6 downloaded zip unpack... and start (with default configuration) If I send a message and one listener executes the onMessage method while I start the JBoss shutdown then ALL listeners receive this message with a new message redelivered count. Is that a programmers fault or a bug ? thanks for reply Wolf The JBoss logging message was: | 14:54:31,089 WARN [org.jboss.mq.server.BasicQueue] Error during stop - removing subscriber Subscription[subId=-2147483648connection=Connect | ionToken:ID:5/0cc260fa86d1fa11b7396a035c117fa7 destination=QUEUE.testQueue messageSelector=null Local Create] | javax.jms.InvalidDestinationException: The subscription was registered with a destination that does not exist ! | at org.jboss.mq.server.ClientConsumer.removeSubscription(ClientConsumer.java:246) | at org.jboss.mq.server.BasicQueue.stop(BasicQueue.java:640) | at org.jboss.mq.server.JMSQueue.close(JMSQueue.java:152) | at org.jboss.mq.server.JMSDestinationManager.closeDestination(JMSDestinationManager.java:806) | at org.jboss.mq.server.jmx.DestinationMBeanSupport.stopService(DestinationMBeanSupport.java:138) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:319) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:223) | at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) | at $Proxy18.stop(Unknown Source) | at org.jboss.system.ServiceController.stop(ServiceController.java:449) | at org.jboss.system.ServiceController.stop(ServiceController.java:440) | at org.jboss.system.ServiceController.stop(ServiceController.java:440) | at org.jboss.system.ServiceController.stop(ServiceController.java:440) | at org.jboss.system.ServiceController.stop(ServiceController.java:440) | at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.stop(Unknown Source) | at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:285) | at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:492) | at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:475) | at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:362) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(M