[JBoss-user] [JCA/JBoss] - Re: SQLException is comming

2006-07-05 Thread wdfink
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

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Mapping of a special Date for CMP and using it for a finder

2006-07-04 Thread wdfink
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

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: using others DBMS in jboss

2006-07-04 Thread wdfink
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.getConne

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: using others DBMS in jboss

2006-07-04 Thread wdfink
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=postin

[JBoss-user] [EJB/JBoss] - Re: actual table-name is not taken while creating SQL query

2006-06-26 Thread wdfink
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&

[JBoss-user] [Clustering/JBoss] - Re: Cluster configuration/troubleshooting

2006-05-31 Thread wdfink
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 v

[JBoss-user] [Clustering/JBoss] - EntityBean locking (pessimistic) in a cluster

2006-05-22 Thread wdfink
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 activ

[JBoss-user] [Installation, Configuration & Deployment] - Re: JBoss DataSource

2006-05-19 Thread wdfink
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 over

[JBoss-user] [Clustering/JBoss] - Re: No effect if change HAJNDI Port/RmiPort with ServiceBind

2006-05-17 Thread wdfink
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=v

[JBoss-user] [Clustering/JBoss] - Re: No effect if change HAJNDI Port/RmiPort with ServiceBind

2006-05-16 Thread wdfink
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=394411

[JBoss-user] [Clustering/JBoss] - Re: No effect if change HAJNDI Port/RmiPort with ServiceBind

2006-05-16 Thread wdfink
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

[JBoss-user] [Clustering/JBoss] - No effect if change HAJNDI Port/RmiPort with ServiceBindingM

2006-05-16 Thread wdfink
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 | | | | |

[JBoss-user] [Beginners Corner] - Re: Help on DATE format error

2004-11-08 Thread wdfink
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 | |

[JBoss-user] [Beginners Corner] - Re: Help on DATE format error

2004-11-08 Thread wdfink
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.jb

[JBoss-user] [Beginners Corner] - Re: Problem with log4j jar in jboss start

2004-11-05 Thread wdfink
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

[JBoss-user] [Beginners Corner] - Re: Setting cron jobs in jboss

2004-11-04 Thread wdfink
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

[JBoss-user] [Beginners Corner] - Re: Problem with log4j jar in jboss start

2004-11-04 Thread wdfink
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-user] [Beginners Corner] - Re: Is it safe to update xalan, xercesImpl and xml-apis jar

2004-10-27 Thread wdfink
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#3852

[JBoss-user] [Beginners Corner] - Re: Evaluating JBoss Application Server on Windows and Linux

2004-10-26 Thread wdfink
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

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Cannot read from DLQ with JDBC persistence

2004-10-26 Thread wdfink
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

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Cannot read from DLQ with JDBC persistence

2004-10-26 Thread wdfink
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 jm

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Is Hypersonic DB the default storage for JBoss JMS ?

2004-10-26 Thread wdfink
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 .

[JBoss-user] [Messaging, JMS & JBossMQ] - Message delivering during shutdown JBoss 3.2.4

2004-10-26 Thread wdfink
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 listener