[JBoss-user] JMS publisher/subscriber question

2003-06-25 Thread Michael Klem
Is it considered ok to create a queue session to be the publisher and subscriber to the same queue? I receive messages on one queue (A) and move them to another queue (B). When a message arrives on B, the message listener acts on the message. The queue object I use for B is the publisher and

[JBoss-user] Limiting the number of beans returned in the home interfaces multi-entity find methods

2003-06-25 Thread Allan Kamau
I would like to limit the number of EJB object references returned by an entity's home interface's finder method(s) through the corresponding finder method(s) ejb-ql statement. This is my situation. I am developing a module that would process a user defined number of entity EJB that satisfy a

[JBoss-user] Limiting the number of beans returned in the home interfaces multi-entity find methods

2003-06-25 Thread Allan Kamau
I would like to limit the number of EJB object references returned by an entity's home interface's finder method(s) through the corresponding finder method(s) ejb-ql statement. This is my situation. I am developing a module that would process a user defined number of entity EJB that satisfy a

RE: [JBoss-user] creating virtual host on the fly

2003-06-25 Thread Bavo De Ridder
Regarding the documentation. On the online store site, they mention 3.0.7 as the documented version. Is that correct? I am running 3.2 and am not really interested in buying something meant for 3.0.7, no matter how low the price is. B. --- 2003-01-07 07:49:34 DEBUG [org.geek.Bootstrap] Init

Re: [JBoss-user] creating virtual host on the fly

2003-06-25 Thread Ionel Gardais
Hi, I can't find the specified file even by searching by hand in the CVS tree. For information, this jboss-web.xml : ?xml version=1.0 encoding=UTF-8 ? !DOCTYPE jboss-web PUBLIC -//JBoss//DTD Web Application 2.3V2//EN http://www.jboss.org/j2ee/dtd/jboss-web_3_2.dtd; jboss-web

[JBoss-user] problem with file lookup from session bean

2003-06-25 Thread Arun
Hi, We are using jboss-3.2.1_tomcat-4.1.24 for deploying stateless session bean(AcctManageEJB.java, home,interface and impl).From the session bean we are trying to lookup for a class file(myEIS.class,not a datasource) using jndi lookup and later call a function within the class from the session

RE: [JBoss-user] Run a class onStartup

2003-06-25 Thread Danny . Yates
Sorry! You said that you didn't have documentation about this specification, so I figured that was what you were after... -- Danny Yates -Original Message- From: Edgar Silva [mailto:[EMAIL PROTECTED] Sent: 24 June 2003 23:34 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Run a

RE: [JBoss-user] problem with file lookup from session bean

2003-06-25 Thread Danny . Yates
Hi, Since you're using the Sun FS JNDI implementation, you should provide a PROVIDER_URL which points to the root of the disk-based JNDI tree. Also, there's unlikely to be a java:comp/env environment in this tree - you should just reference things using their file path relative to the

[JBoss-user] problem with Timer service in Jboss 3.2.1_tomcat4.1.24

2003-06-25 Thread Marco.Mistroni
hi all, i am trying to use the Timer service in Jboss, but i am encountering problems. i have added following line mbean code=javax.management.timer.Timer name=DefaultDomain:service=timer/ in the jbossdirserver\default\conf\jboss-service.xml when i start jboss, i got following

Re: [JBoss-user] problem accessing an inner class from an MBean

2003-06-25 Thread George Icriverzi
The CService is packaged in a sar archive along with the jboss-service.xml descriptor. The sar is put in a jar, and in the jar I have also other classes and descriptors. The jar, application.xml and jboss-app.xml are packaged in an ear. Anyway the jboss-app.xml is empty, and application.xml

Re: [JBoss-user] creating virtual host on the fly

2003-06-25 Thread Scott M Stark
The May subscription update included a 3.2.1 draft of the book. The initial standalone version of the 3.2.1 book will be put out this week and will include the updated cmp2 docs. -- Scott Stark Chief Technology Officer JBoss Group, LLC Bavo De

RE: [JBoss-user] problem with Timer service in Jboss 3.2.1_tomcat4.1.24

2003-06-25 Thread Adrian Brock
Put it before the URLDeploymentScanner MBean and this message will go away. Adrian Brock Director of Support Back Office JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL

Re: [JBoss-user] JMS Singleton - DLQ

2003-06-25 Thread Magesh Prabhu
Thanks a lot Scott. It just works the way it is configured.. I have another requirement: When I rollback the transaction in MessageDrivenBean using messageDrivenContext.setRollbackOnly(); JBoss tries to resend it 10 more times and after it has exhausted 10 times, it sends it to the

[JBoss-user] Get your software done

2003-06-25 Thread nfs_ nfs
Having trouble completing a project or want to get a complete project done at a short notice. We have lot of professional coders who are available to work for you. All you have to do is post the description of the project; price your willing to pay and the deadline date. You'll be amazed at the

Re: [JBoss-user] CMR exception (bug?)

2003-06-25 Thread Alexey Loubyansky
Hello Louis, the exception is thrown from create method. It is the result of checking whether the instance already exists. It selects primary key columns. Not foreign key. Does JBossCMP create tables in the db? Check the primary key configuration. alex Wednesday, June 25, 2003, 2:26:32 AM,

Re: [JBoss-user] Limiting the number of beans returned in the home interfaces multi-entity find methods

2003-06-25 Thread Alexey Loubyansky
Hello Allan, in JBoss-3.2 you can use jboss-qlSELECT OBJECT(o) FROM MyBean o OFFSET ?1 LIMIT ?2/jboss-ql alex Wednesday, June 25, 2003, 8:46:04 AM, Allan Kamau wrote: AK I would like to limit the number of EJB object AK references returned by an entity's home interface's AK finder method(s)

Re: [JBoss-user] M$ Soap 3.0 toolkit and JBoss.net interop

2003-06-25 Thread Simone Milani
I add a look at the sources for 3.2.1 and looks like there is no Xdoclet tag for that. Simone - Original Message - From: Neal Sanche [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:53 AM Subject: Re: [JBoss-user] M$ Soap 3.0 toolkit and JBoss.net interop I am

Re: [JBoss-user] M$ Soap 3.0 toolkit and JBoss.net interop

2003-06-25 Thread Simone Milani
Hi, I add a look at the sources for 3.2.1 and looks like there is no tag for that. Simone - Original Message - From: Neal Sanche [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 12:53 AM Subject: Re: [JBoss-user] M$ Soap 3.0 toolkit and JBoss.net interop I am

[JBoss-user] EJBQL = for dates

2003-06-25 Thread Simone Milani
Hi, I am trying to use = and = in my EJB-QL and I get the following error: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT OBJECT(o) FROM MDSKeyVector o WHERE o.className = ?1 AND o.currency = ?2 AND o.instance = ?3 AND o.process = ?4 AND o.location = ?5

Re: [JBoss-user] problem accessing an inner class from an MBean

2003-06-25 Thread Scott M Stark
Run the attached ListJar on the ear in question. -- Scott Stark Chief Technology Officer JBoss Group, LLC George Icriverzi wrote: The CService is packaged in a sar archive along with the jboss-service.xml descriptor. The sar is put in a jar, and

[JBoss-user] how to get TopicConnectionFactory in jboss 3.2.1 ?

2003-06-25 Thread Marco.Mistroni
hi all, i am receiving an exception while running following code for retrieving a topic connection factory TopicConnectionFactory tcf = (TopicConnectionFactory)ctx.lookup(ConnectionFactory); any reason why? i got above code from one JMS example in jboss on the

RE: [JBoss-user] JMS Singleton - DLQ

2003-06-25 Thread Adrian Brock
This works for me with the following jboss.xml (Branch_3_2 CVS rather than 3.2.1) ?xml version=1.0 encoding=UTF-8? !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS//EN http://www.jboss.org/j2ee/dtd/jboss.dtd; jboss invoker-proxy-bindings invoker-proxy-binding namemessage-bean/name

Re: [JBoss-user] StandardWrapperValve[default]: Servlet.service()for servlet default threw exception

2003-06-25 Thread Janardhan Burugupalli
HI All, I am getting the above exception which doent block anything but there should be some reason for this i am using jBoss3.2.1-tomcat4.1.24.. the error occurs when i click on a jnlp file which is deployed in the WorkClient.war file ..and starts downloading the jar files .

AW: [JBoss-user] EJBQL = for dates

2003-06-25 Thread Ingo Bruell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, you can not use '=' or '=' with attributes of type date only '=', '', '' and '' are allowed like the message said. If you need such behavior, you could combine them with an 'or' or 'and' operator. I am trying to use = and = in my EJB-QL and

RE: [JBoss-user] how to get TopicConnectionFactory in jboss 3.2.1 ?

2003-06-25 Thread Adrian Brock
Set RecursiveSearch to True in server/default/conf/jboss-service.xml Adrian Brock Director of Support Back Office JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL

[JBoss-user] Unable to passivate due to ctx lock

2003-06-25 Thread Magesh Prabhu
I'm getting this following warning. I went in to all my entity beans to check if I'm doing any naughtly stuff with entity context. Everything looks fine. Could anybody suggest me what could be the possible reason for this warning.. Thanks in advance, Magesh WARN [AbstractInstanceCache]

RE: [JBoss-user] how to get TopicConnectionFactory in jboss 3.2.1 ?

2003-06-25 Thread Marco.Mistroni
thanx adrian! it worked just fine. regards marco -Original Message- From: ext Adrian Brock [mailto:[EMAIL PROTECTED] Sent: 25 June, 2003 13:14 To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] how to get TopicConnectionFactory in jboss 3.2.1 ? Set RecursiveSearch to True

RE: [JBoss-user] Run a class onStartup

2003-06-25 Thread Marco.Mistroni
HI, at http://www.theserverside.com there are free chapters available of the book 'JMX in Action'.. u can check 'em out.. i have read almost all, and they are very useful... regards marco -Original Message- From: ext Astie, Sebastien [mailto:[EMAIL PROTECTED] Sent: 25

[JBoss-user] Tricky problem with Transaction type Required and RequiresNew

2003-06-25 Thread Jonathan . O'Connor
Hi, I have a stateless session bean marked as transaction required that was locking. Here's what it did: /** * @ejb.transaction type=Required */ public void runAuditedTask() { try { auditor.doStart(); // Transaction RequiresNew slsb1.doSomething(); //

[JBoss-user] execute some command at end of deployment/startup

2003-06-25 Thread Ittay Dror
Hello, I want to be able to run some code that calls EJBs at the end of my ear deployment. I've tried to do this by creating an MBean, and putting the code in its start() method. My problem is that the MBean starts before the EJBs are deployed. I've tried putting a depends on the object names

Re: [JBoss-user] Unable to passivate due to ctx lock

2003-06-25 Thread Magesh Prabhu
Alex, I'm using BMP's. The id's displayed in the warn message is valid. The record definitely exist in database. Cheers, Magesh On 6/25/03 12:01 PM, Alexey Loubyansky [EMAIL PROTECTED] wrote: Hello Magesh, Wednesday, June 25, 2003, 1:33:27 PM, Magesh Prabhu wrote: MP I'm getting this

Re: [JBoss-user] problem accessing an inner class from an MBean

2003-06-25 Thread George Icriverzi
The CService class is actually named CRLFactory (and the inner class is named CertScanner, though this is irrelevant) Scott M Stark wrote: Run the attached ListJar on the ear in question. import java.io.FileInputStream; import java.util.Enumeration; import java.util.Iterator; import

RE: [JBoss-user] WSDL Part names within messages.

2003-06-25 Thread Mark.Gargan
Title: Message Hi Dr. Jung, I was hoping you'd get back to me. Thanks again. I think I'll have a look at the BCEL and XJavadoc option. Thanks very much for your help, Mark. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jung , Dr.

Re: [JBoss-user] EJBQL = for dates

2003-06-25 Thread Simone Milani
Thanks, I guess another option would be to use JBoss-QL. Am I correct? Thanks Simone - Original Message - From: Ingo Bruell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:08 AM Subject: AW: [JBoss-user] EJBQL = for dates -BEGIN PGP SIGNED

Re: [JBoss-user] execute some command at end of deployment/startup

2003-06-25 Thread David Ward
Ittay, Implement a javax.servlet.ServletContextListener, add it to your web.xml of your war (if you have one, otherwise make one), and then you can put stuff in the contextInitialized(ServletContextEvent) and contextDestroyed(ServletContextEvent) methods. It's a good appserver agnostic

[JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Stefano Maestri
I'm trying to configure JBoss to use websphere MQ 5.3 (alias MQSeries 5.3). I read the thread on Jboss group abou and I configured JBoss addin this row in jboss file: jms-ds.xml: !-- The MQSeries provider loader -- mbean code=org.jboss.jms.jndi.JMSProviderLoader

RE: [JBoss-user] Tricky problem with Transaction type Required and RequiresNew

2003-06-25 Thread Adrian Brock
The example you show shouldn't block, but RequiresNew can block if you already hold a lock on the same thread. A simple example would be: Start Tx1 bean1.doSomething(); Required (locked to Tx1) bean1.doSomethingElse(); RequiresNew tries to lock in the new Tx but the lock is already held by Tx1

AW: [JBoss-user] EJBQL = for dates

2003-06-25 Thread Ingo Bruell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Simone, no, i think not. best regards Ingo Bruell - - --- [EMAIL PROTECTED] ICQ# 40377720 Oldenburg PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 169E E5FC GermanyPGP-Public-Key available at pgpkeys.mit.edu -BEGIN PGP

RE: [JBoss-user] EJBQL = for dates

2003-06-25 Thread Danny . Yates
Another option would be to reverse the sense of your comparison: (x = y) == (y x) Then you can use the standard operator. Dan. -- Danny Yates -Original Message- From: Simone Milani [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 13:42 To: [EMAIL PROTECTED] Subject: Re:

Re: [JBoss-user] execute some command at end of deployment/startup

2003-06-25 Thread Magesh Prabhu
Why dont you try a Startup Servlet which can have load-on-startup which will fire the init() method of the servlet after your ear deployment is complete. Cheers, Magesh On 6/25/03 1:00 PM, Ittay Dror [EMAIL PROTECTED] wrote: Hello, I want to be able to run some code that calls EJBs at the end

AW: [JBoss-user] WSDL Part names within messages.

2003-06-25 Thread Jung , Dr. Christoph
Title: Nachricht I would be quite interested in the results of your experiments given that we will rewrite EJBProvider for a more tight integration with the jboss invocation stack. CGJ -Ursprüngliche Nachricht-Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet:

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread thomas . cherel
I am wondering if the error you get is not because the connection mode used to connect to MQ is binding and JBoss will need to be on the same machine as the MQ queue manager as well as a lot of MQ dlls that must be in the path. Take a look at the following patch (753022) submitted to JBoss:

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Adrian Brock
I missed this post. What is the issue with the MDB not getting any messages from an XAConnection? Did you have time to debug it? Adrian Brock Director of Support Back Office JBoss Group, LLC -Original Message- From: [EMAIL

Re: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Stefano Maestri
On Wednesday 25 June 2003 15:28, [EMAIL PROTECTED] wrote: I am wondering if the error you get is not because the connection mode used to connect to MQ is binding and JBoss will need to be on the same machine as the MQ queue manager as well as a lot of MQ dlls that must be in the path. ehmm I

Re: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Stefano Maestri
On Wednesday 25 June 2003 15:47, Adrian Brock wrote: You don't show the full stacktrace, so I can't see the linked exception that is the cause. Here is the full stack trace. At the end of messagle Have you confirmed the MQSeries objects are bound into jboss's jndi? Are they bound where you

RE: [JBoss-user] Weird problems with Timer service in jboss 3.2.1

2003-06-25 Thread Adrian Brock
AllNotificationIDs is an attribute. Use MBeanServer.getAttribute(); You need to move the timer service before the URLDeploymentScanner to avoid the warning. Adrian Brock Director of Support Back Office JBoss Group, LLC -Original

Re: [JBoss-user] Cocoon and Jbos3.0.6 configuration

2003-06-25 Thread Ryan Hoegg
Hi, I got Cocoon 2.1 pre-M1 working on JBoss 3.0.7 with nothing like this kind of complication. You have to get accustomed to the new Cocoon build process (since we don't have a binary distribution anymore) but once its built I simply put my cocoon app into the cocoon WAR and drop it in

[JBoss-user] RE: problem with file lookup from session bean

2003-06-25 Thread Arun
Hi Dan, Thanks for the mail. I added the PROVIDER_URL. We are using jboss-3.2.1_tomcat-4.1.24. When we cast to the connectionFactory for lookup, We getting casting error as below, = 9:28:40,257 INFO [Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3_2_1

[JBoss-user] JBoss QL - Order By Boolean

2003-06-25 Thread Jason Calabrese
Hi everyone, I sent this yesterday, but I think it may have been missed. I have a bean that I need to create a finder for that orders by a boolean field, the db column is a MySQL TINYINT. It seems like JBoss does not support this. Is that true? Thanks, Jason

RE: [JBoss-user] creating virtual host on the fly

2003-06-25 Thread Brian Topping
-Original Message- From: Ionel Gardais [mailto:[EMAIL PROTECTED] Subject: Re: [JBoss-user] creating virtual host on the fly Does creating a virtual host is as simple as adding a second Host element in the jbossweb-tomcat.sar/META-INF/jboss-service.xml's server element ? Yes,

Re: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Stefano Maestri
On Wednesday 25 June 2003 16:25, Adrian Brock wrote: I missed this post. What is the issue with the MDB not getting any messages from an XAConnection? Did you have time to debug it? Is this question for me? If yes, my answer is : yes I have time tomorrow tomorrow (GMT time). But the problem

[JBoss-user] What do these warnings mean.

2003-06-25 Thread Magesh Prabhu
1) I'm getting the Following warning in the console. I've checked all my beans unsetEntityContext method to set the value to null. public void unsetEntityContext() { this.entityContext = null; } still I'm getting the following warning.. WARN [AbstractInstanceCache] Unable to passivate due

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Adrian Brock
I was expecting to see a Caused By: stacktrace, but I release now this a JMSException which doesn't show it. I guess you need to figure out how to bind MQSeries's jndi into jboss's jndi. Have you tried the external context mbean? There's an example of using the fscontext on this thread in the

RE: [JBoss-user] WSDL Part names within messages.

2003-06-25 Thread Mark.Gargan
Title: Message Sure thing I'll keep you posted with anything I come up with if I manage to get anything together. Thanks, Mark. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jung , Dr. ChristophSent: 25 June 2003 14:24To: '[EMAIL

[JBoss-user] @jboss-net: xdoclet module

2003-06-25 Thread Barlow, Dustin
Is there any plan to distribute the xdoclet-module-jboss-net.jar XDoclet ejbdoclet subtask module outside of the main jboss source tree? The module wasn't built on the main jboss build and it took me some time to find this module and to figure out that I could manually build it in the jboss-net

Re[2]: [JBoss-user] Unable to passivate due to ctx lock

2003-06-25 Thread Alexey Loubyansky
Magesh, I think, it is a bug in JBoss. alex Wednesday, June 25, 2003, 3:08:45 PM, Magesh Prabhu wrote: MP Alex, I'm using BMP's. MP The id's displayed in the warn message is valid. The record definitely exist in database. MP Cheers, MP Magesh MP On 6/25/03 12:01 PM, Alexey Loubyansky

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread thomas . cherel
Title: RE: [JBoss-user] JBoss 3.2 and MQSeries trouble I did not debug myself, but I got an answer from Hiram (Core Developers Network). Here is the quote from his answer. I did not get the time to investigate further or try some of Hiram suggestions. The JMS ASF spec is a little weak in

Re: [JBoss-user] @jboss-net: xdoclet module

2003-06-25 Thread David Ward
I think it would be a *great* idea to have this downloadable at jboss' sourceforge page. The jar could be available either: 1) As part of the jboss download (maybe in ${jboss.home}/lib or ${jboss.home}/docs/xdoclet/ or...) 2) As a separate download, but still contextual to each jboss release

[JBoss-user] flushAuthenticationCache in JBoss 3.0.7

2003-06-25 Thread Spencer
Currently, my web app uses LDAP to authenticate. When a user changes their password in LDAP, it does not get updated in the Auth Cache (which is expected behavior), so the old password is valid until the user logs in with the new password. I found the manual entry about flushing the

[JBoss-user] HttpSession access from LoginModule JBoss 3.0.7

2003-06-25 Thread Spencer
Is there anyway to access the HttpSession (in order to store something) from the LoginModule used in JBoss's authentication scheme? I have a servlet driving the login-try and login-page elements of the form-login of my web app. I'd like to be able to send messages to the user when a login

[JBoss-user] Setting up the source in Eclipse..

2003-06-25 Thread Mark.Gargan
Title: Message Hi folks, A while back I checked out the head and got it integrated with Eclipse so that I could remotely debug the version of jboss that was built from my checkout. Since then I've decided upon using jboss-3.2.1 with Tomcat-4.1.24. So I downloaded athe binary and also

Re[2]: [JBoss-user] CMR exception (bug?)

2003-06-25 Thread Alexey Loubyansky
Hello Louis, you mean foreign key field mapped to primary key? yes, it is supported. Make sure the database schema and mapping in jbosscmp-jdbc.xml are congruent. alex Wednesday, June 25, 2003, 8:48:42 PM, Louis Leung wrote: LL Thanks Alex for your help. The tables are not created by

[JBoss-user] HttpSession access from LoginModule JBoss 3.0.7

2003-06-25 Thread Spencer
Is there anyway to access the HttpSession (in order to store something) from the LoginModule used in JBoss's authentication scheme? I have a servlet driving the login-try and login-page elements of the form-login of my web app. I'd like to be able to send messages to the user when a login

[JBoss-user] JBoss-Net performance issues

2003-06-25 Thread Barlow, Dustin
I've been playing with the simple Hello jboss-net code included in the samples directory. I did some performance testing and the results are quite stunning. The test was simple. I used the included sample Axis test client to call the hello(String name) method but instead of passing it a short

Re: [JBoss-user] How can I restrict access from .jspp page extensions?

2003-06-25 Thread Scott M Stark
Use a web.xml security-constraint like the following: security-constraint web-resource-collection web-resource-nameWhatever I'm securing/web-resource-name url-pattern*.jspp/url-pattern http-methodGET/http-method http-methodPOST/http-method ...

[JBoss-user] JBoss.org, strange links...

2003-06-25 Thread wondersonic
Hello, I think the links: - JBoss IDE - XDoclet in the webpage: http://jboss.org/index.html?module=htmlop=userdisplayid=developers/project s/jboss point to the wrong webpages: - http://jboss.org/index.html?module=htmlop=userdisplayid=developers/project s/jboss/jetty -

[JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Tedone
Sorry guru for the [silly] question: I am having a discussion with people in my project regarding the container work with CMP entity beans. More specifically, we want to implement a Numerator table to assign numbers to several entities of our model. Suppose a client wants to assign a value to a

Re: [JBoss-user] jboss 3.2 datasource lookup error

2003-06-25 Thread David Jencks
On 2003.06.24 13:04 _/^ _/^ wrote: Hello: That syntax is not working. Are you at least getting a different error? Other than sybase-ds.xml and login-config.xml , I think there is more to edit/update in the setup files. not unless there are some errors somewhere. david jencks I am

Re: [JBoss-user] CMP and DataSource with Security Domain

2003-06-25 Thread David Jencks
Does it work if you use the jboss ConfiguredIdentityLoginModule instead of yours? david jencks On 2003.06.24 15:00 Mauricio De Diana wrote: Hi all, I have a datasource under a security domain. It is referenced from a CMP entity bean. When the bean is deployed, I get the following

RE: [JBoss-user] JBoss-Net performance issues

2003-06-25 Thread Bill Burke
I recent study put JBoss.net ahead of other J2EE vendors in performance. http://www.formsite.com/doculabs/atbench/index.html You're always going to get crappy performance. You're doing XML parsing don't forget instead of putting the bytes right on the stream. -Original Message- From:

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Garbelini
The concurrency issue is not that simple. I never understood how the EJB container deals with that completely. :-/ Anyway, I supose you are talking about PrimaryKey generation: I use the Sequence Blocks strategy from Floyd Marinescu´s book EJB Design Patterns. It consists of a CMP(in my case)

Re: [JBoss-user] CMR exception (bug?)

2003-06-25 Thread Louis Leung
I'm trying to run PurchaseOrder with 2 Local Enitities PurchaseOrder LineItems, with a 1:N relationship between them. LineItem Entity has a CMP field (masterOrder_orderId) which is part of primary key and is also maps the masterOrder relationship with PurchaseOrder. Alexey Loubyansky wrote:

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Tedone
Could you please forward some example? Thanks, Marco - Original Message - From: Marco Garbelini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 11:57 PM Subject: Re: [JBoss-user] Question about CMP entity The concurrency issue is not that simple. I never

[JBoss-user] Problems with EJB-QL in a finder method - 3.2.1

2003-06-25 Thread Marco Tedone
Hi, I'm trying to use a finder method which I defined with EJB-QL: The signature is as follows: public java.util.Collection findByEmailPassword(java.lang.String email, java.lang.String password) throws javax.ejb.FinderException; in the ejb-jar.xml file I have the following: query

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Garbelini
- Original Message - From: "Marco Tedone" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 8:19 PM Subject: Re: [JBoss-user] Question about CMP entity Could you please forward some example? You can use thissame bean to create ids for any entity, or create a

[JBoss-user] jboss-3.2.1_tomcat-4.1.24 jsp compilation errors on AIX

2003-06-25 Thread Sulik, Lori
Hiya folks, I've been searching for an answer to this problem, but have been unable to find a solution -- I'm hoping someone here can point me at the right direction.. My apologies if this has already been addressed, or if it's considered a n00b question... We're using jboss 3.2.1 with

Re: [JBoss-user] Question about CMP entity

2003-06-25 Thread Marco Tedone
Thank you Marco, I'm sure it will help. --Your omonimus - Original Message - From: Marco Garbelini To: [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 12:30 AM Subject: Re: [JBoss-user] Question about CMP entity - Original Message -

[JBoss-user] Dynamic MDB generation

2003-06-25 Thread Michael Klem
I am creating queues dynamically in my app. Is it possible to dynamically create an MDB for those queues? -- Michael Klem [EMAIL PROTECTED]626-296-3027 --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants:

[JBoss-user] CMR Problem

2003-06-25 Thread Jason Calabrese
I'm having a weird CMR problem with 3.2.0. I have a bean that a has 2 CMR fields that both target the same bean with different pk's. One of the CMR fields is a 1:1 relation and the other is the single side of a 1:M relation. The CMR fields can be read fine, but cause problems for ejbCreate.

RE: [JBoss-user] JBoss 3.2 and MQSeries trouble

2003-06-25 Thread Adrian Brock
You don't show the full stacktrace, so I can't see the linked exception that is the cause. Have you confirmed the MQSeries objects are bound into jboss's jndi? Are they bound where you would expect? Does MQSeries actually have queue/DLQ? When you get this working can you post the full solution.

AW: [JBoss-user] EJBQL = for dates

2003-06-25 Thread Scheidl, Dietmar
Hi, just rewrite it like: SELECT OBJECT(o) FROM MDSKeyVector o WHERE o.className = ?1 AND o.currency = ?2 AND o.instance = ?3 AND o.process = ?4 AND o.location = ?5 AND o.businessArea = ?6 AND o.name = ?7 AND ( o.asOfDate ?8 OR o.asOfDate = ?8 ) AND ( o.asOfDate ?9 OR o.asOfDate = ?9

[JBoss-user] Weird problems with Timer service in jboss 3.2.1

2003-06-25 Thread Marco.Mistroni
hi all, i am following a jboss example for using the Timer service, but i got strange behaviour. the examples assumes that u declare first hte following mbean in the jboss.jcl (i guess for jboss 3.2.1 is server\conf\jboss-service.xml) but for this declaration (in

[JBoss-user] Cocoon and Jbos3.0.6 configuration

2003-06-25 Thread Mitchell, Lincoln L.
I am trying to get cocoon (any version) working with Jbos-3.0.6 and have tried following the instruction mentioned on the apache site but to no avail as only Jboss 2 is mentioned. I also browsed the cocoon mailing list and it seems others have had this problem but I don't understand the