Re: [JBoss-user] Re: Does jboss support cmp inherit?

2003-12-15 Thread Alexey Loubyansky
I can't understand what you are trying to achieve. But there is nothing in ejb-jar.xml that configures inheritance. forge wrote: Thanks. Alex I only don't know how to configure ejb-jar.xml to implement inherit. Can you give me a sample? Regards, Forge --

[JBoss-user] Re: blob field in cmp

2003-12-15 Thread Alexey Loubyansky
I thought you used jboss.xml. Do you use CMP1.1? What is the exception? PS: please, keep it on jboss-user forge wrote: Hello, Alex I couldn't find jboss in server/default/conf directory, but there is a standardjboss.xml. And I found the following lines in it: org.jboss.ejb.plugins.cmp.jdbc.JDBCS

2nd Try : [JBoss-user] ?

2003-12-15 Thread Muraly R
At 17:07 15/12/2003 +0530, Muraly R wrote: Hi Gurus, I am trying to set-up a development environment for my project. The objective is to deploy the archive in the exploded format. The problem I am facing currently is with the above tag. I have two '-service.xml' files which

RE: [JBoss-user] JBoss On Linux

2003-12-15 Thread Finn, Michael
Title: RE: [JBoss-user] JBoss On Linux Generally, you'll see a message when you try to log in indicating the no more descriptors condition. I would think something gets written to /var/log/messages. I would recommend starting at the system level and determine the PIDs associated with the hea

Re: [JBoss-user] Unclear report of conflicting Class-Versions

2003-12-15 Thread Mark Lassau
So, if you are happy for all jars/ears to use the same version of the common classes, then add them to jboss\server\\lib (Note that you have to reboot jBoss to upgrade these.) If not, I think you can specify jars to use their own ClassLoader (I've not done this) - search mail list and forums for

[JBoss-user] Re: Does jboss support cmp inherit?

2003-12-15 Thread forge
Thanks. Alex I only don't know how to configure ejb-jar.xml to implement inherit. Can you give me a sample? Regards, Forge --http://www.eyou.com --Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ ÒÆ¶¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢...ÒÚÓÊδ¾¡ --http://vip.eyou.com --¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû

[JBoss-user] InitialContext timeout

2003-12-15 Thread Patrick Peralta
When I try to create an InitialContext for a server that is down, the timeout seems to take a very long time. I have some clients that never seem to time out. Is there a way to specify the timeout when trying to lookup a bean through the initial context? Here is a use case. Note that the timeout

Re: [JBoss-user] MDB transaction help

2003-12-15 Thread Brian Styles
Hi again, a little more investigation and I think I've answered my own questions. You can easily fag one MDB as a singleton - that's what the "configuration-name" tag in jboss.xml is for. For example: Mailer queue/mail Singleton Message Driven Bean You can

RE: [JBoss-user] JSP precompilation

2003-12-15 Thread Kavitha Ranga
Hello, I have got the servlet-mapping statements for each of the JSP in my web.xml (via the ant compile of the JSP pages). I removed the JSP pages from my war file(no longer deploy them).I have put the .java and .class files of the JSP pages under tomcat-4.1.x/work/ MainEngine/localhost/MyApp/

Re: [JBoss-user] MDB transaction help

2003-12-15 Thread Brian Styles
Hi Adrian, I'd like to thank you and Bob for the replies. That all makes sense, thanks very much. However, I'm a little unsure as how to progress. A) Can I keep my other MDBs as non-singleton and just flag the one I want to be a singleton or is it a case of all or nothing. B) If I can flag on

Re: [JBoss-user] MDB transaction help

2003-12-15 Thread Adrian Brock
On Mon, 2003-12-15 at 19:09, Bob Cotton wrote: > "Brian Styles" <[EMAIL PROTECTED]> writes: > > > > Now because my mail server requires it, I have to do pop > > authentication before I can send a message. > > > > However what I'm noticing is that sometimes when I use the mdb to send > > lots of e

Re: [JBoss-user] New getting started guide draft for 3.2 available

2003-12-15 Thread Peter Ondruska
Actually good point. I paid one year subscription in summer. Got one update since (about one month later). Nothing since then. Hopefully that was not the last update. Original Message Follows From: Vladyslav Kosulin <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Su

[JBoss-user] Server Hanging on Startup

2003-12-15 Thread Rich Reese
Hey everyone, I am having problems with my JBoss-3.2.1 server coming up. It all of a sudden started hanging on the following: 09:59:28,443 INFO [DefaultPartition] Initializing 09:59:28,473 INFO [ClusterPartition] Created 09:59:28,473 INFO [HASessionStateService] Creating 09:59:28,503 INFO

Re: [JBoss-user] MDB transaction help

2003-12-15 Thread Bob Cotton
"Brian Styles" <[EMAIL PROTECTED]> writes: > Now because my mail server requires it, I have to do pop > authentication before I can send a message. > > However what I'm noticing is that sometimes when I use the mdb to send > lots of emails at one time, the onMesage gets called for each one > simu

Re: [JBoss-user] Design advice

2003-12-15 Thread Nicholas
I have been very successful with CMP, but all those additional features you are looking for (transactions, cache, security) are well supported by Hibernate. I would even hazard a guess that Hibernate may be a faster learning curve if you are doing this sort of thing for the first time. //Nicholas

[JBoss-user] MDB transaction help

2003-12-15 Thread Brian Styles
Hi all, I was sending my emails with a little mail utility class that I had. My application is a web app, so things like - forgot password etc, would use the little mail util app. However I found that because this wasn't aysnchronous, the user could be left hanging on a web page for along time

Re: [JBoss-user] New getting started guide draft for 3.2 available

2003-12-15 Thread Vladyslav Kosulin
marc fleury wrote: Please give your feedback on the forums, Thanks, Mark. Looks good for me. When can we expect to see the updated for-pay docs? Vlad --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or jus

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread Alexey Loubyansky
http://java.sun.com/dtd/ejb-jar_2_0.dtd http://java.sun.com/products/ejb/docs.html netanel weinberg wrote: is there any spec. of something like that of ejb-jar.xml for cmp 2.0 so i can look on 'cause i've tried once and JBOSS gave alot of erros about the JDBC factory and something... -

Re: [JBoss-user] JMS Clustering

2003-12-15 Thread Bruce Slawson
Excelent. Thanks, Adrian. Bruce On Dec 15, 2003, at 3:05 AM, Adrian Brock wrote: The mbean definition of the remote provider can go where you like in either a -service.xml or a -ds.xml, the important thing is making the mbean name unique and specifying the relevent url for the remote jnp naming

[JBoss-user] Design advice

2003-12-15 Thread harm
Hi all, We are starting to migrate our datamodel from Lotus Domino databases to JBoss. At this time we are looking into using Entity Beans (CMP 2.0) for this purpose. But we are also looking into Hibernate. Our underlying database is MySQL. Especially, we might need inheritance mapping which

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread netanel weinberg
is there any spec. of something like that of ejb-jar.xml for cmp 2.0 so i can look on 'cause i've tried once and JBOSS gave alot of erros about the JDBC factory and something... - Original Message - From: "Alexey Loubyansky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, Decemb

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread Alexey Loubyansky
Yes, since you're going to use CMP2.0 netanel weinberg wrote: should i transfer all my classes and set/get methods to be abstract? - Original Message - From: "Alexey Loubyansky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 4:38 PM Subject: Re: [JBoss-user]

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread netanel weinberg
should i transfer all my classes and set/get methods to be abstract? - Original Message - From: "Alexey Loubyansky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 4:38 PM Subject: Re: [JBoss-user] problem with ejb-ql > Why don't you try with > > "-//Sun M

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread Alexey Loubyansky
Why don't you try with http://java.sun.com/dtd/ejb-jar_2_0.dtd";> ? netanel weinberg wrote: I don't know what do about my problem with my ejb-ql finder method! it giving me back a collection according to only one parameter and not according to both of them. plz look at the attached file and te

Re: [JBoss-user] Does jboss support cmp inherit?

2003-12-15 Thread Bill Burke
The EJB spec nor JBoss CMP supports Object/Database mappings with inheritance. You can have the bean class or interface classes use inheritance, but the database mapping does not support inheritance. Try hibernate. It is a much cleaner O/R mapping. Bill forge wrote: Hello, I have three

[JBoss-user] problem with ejb-ql

2003-12-15 Thread netanel weinberg
I don't know what do about my problem with my ejb-ql finder method! it giving me back a collection according to only one parameter and not according to both of them. plz look at the attached file and tell if if u can find a problem with the ejb-ql finder method with the two parameters. 10x ahead,

Re: [JBoss-user] question about ejb-ql

2003-12-15 Thread Alexey Loubyansky
You can but it is not required. netanel weinberg wrote: When im creating a CMP EJB with ejb-ql, should i define the ejb and/or the ejb-ql methods in the JBOSS's xml files too except for the ejb-jar.xml file? --- This SF.net email is sponsored

Re: [JBoss-user] Does jboss support cmp inherit?

2003-12-15 Thread Alexey Loubyansky
First of all, what do you mean by iheritance in CMP? forge wrote: Hello, I have three entity beans, UserEB, AdvancedUserEB and AnonymouseUserEB. Both AdvancedUserEB and AnonymouseUserEB inherit from UserEB. I created them in WAS5 and they ran well. Don't they run in JBoss? What is the probl

Re: [JBoss-user] problem with EJB-QL

2003-12-15 Thread Alexey Loubyansky
EJBQL is introduced in CMP2.0. It means it won't work with 1.1. jboss.xml and jbosscmp-jdbc.xml are optional. The number of parameters are not limited. netanel weinberg wrote: Hi! my application is deployed w/o any errors. my dtd is : http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>

Re: [JBoss-user] Re: blob field in cmp

2003-12-15 Thread Alexey Loubyansky
Can you try with JBossCMP engine instead of JAWS? Just use org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager in jboss.xml forge wrote: Thanks, Alexey. Do you mean I should modify standardjaws.xml? No, I didn't modify it. I found following settings in jaws.xml: DB2 java.lang

Re: [JBoss-user] JBoss 3.2.4 ...

2003-12-15 Thread Alexey Loubyansky
Pozhalusto! Rafal Kedziorski wrote: Privjet Alexey, it's working. thx. Rafal --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn e

[JBoss-user] question about ejb-ql

2003-12-15 Thread netanel weinberg
When im creating a CMP EJB with ejb-ql, should i define the ejb and/or the ejb-ql methods in the JBOSS's xml files too except for the ejb-jar.xml file? --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or ju

[JBoss-user] question about ejb-ql

2003-12-15 Thread netanel weinberg
When im creating a CMP EJB with ejb-ql, should i define the ejb and/or the ejb-ql methods in the JBOSS's xml files too except for the ejb-jar.xml file? --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or ju

Re: [JBoss-user] problem with EJB-QL

2003-12-15 Thread netanel weinberg
When im creating a CMP EJB with ejb-ql, should i define the ejb and/or the ejb-ql methods in the JBOSS's xml files too except for the ejb-jar.xml file? --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or ju

[JBoss-user] question about ejb-ql

2003-12-15 Thread netanel weinberg
When im creating a CMP EJB with ejb-ql, should i define the ejb and/or the ejb-ql methods in the JBOSS's xml files too except for the ejb-jar.xml file? --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or ju

Re: [JBoss-user] problem with EJB-QL

2003-12-15 Thread netanel weinberg
i don't get any errors, the find method from some reason returns the finder method query like it was according to only one parameter - Original Message - From: "Rupp, Heiko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 2:34 PM Subject: RE: [JBoss-user] proble

[JBoss-user] Xdoclet jboss tag question

2003-12-15 Thread Brian Styles
Hi all, In my session beans I am currently using the xdoclet "resource-manager" to link my session beans to other services such as MDBs. For example: * @jboss.resource-manager * res-man-name="${jndi.queue.mymdb}" * res-man-jndi-name="${jboss.queue.mymdb}" However, I see that there is als

RE: [JBoss-user] problem with EJB-QL

2003-12-15 Thread Rupp, Heiko
Hi, what errors do you get? We use lots of finders with more than one parameter and didn't have problems with them so far. Heiko > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > netanel weinberg > Sent: Monday, December 15, 2003 12:17 PM > To: [E

[JBoss-user] ?

2003-12-15 Thread Muraly R
Hi Gurus, I am trying to set-up a development environment for my project. The objective is to deploy the archive in the exploded format. The problem I am facing currently is with the above tag. I have two '-service.xml' files which has classpath set to the arichive. The tag used for setting th

Re: [JBoss-user] Importance of org.jboss.resource.connectionmanager.CachedConnectionInterceptor

2003-12-15 Thread Adrian Brock
On Fri, 2003-12-12 at 10:00, Shashi Kiran wrote: >Hi All, > > Can anybody tell me the importance of > org.jboss.resource.connectionmanager.CachedConnectionInterceptor in > standardJboss.xml. And will the removal of this interceptor has any affect > on the normal behaviors of the beans. > It

Re: [JBoss-user] problem with EJB-QL

2003-12-15 Thread netanel weinberg
does anybody knows if it can be that JBOSS 3.2.2 doesn't support finder method with two parameters in EJB-QL? like that: findByCompanycode java.lang.String java.lang.String 10x a

Re: [JBoss-user] JMS Clustering

2003-12-15 Thread Adrian Brock
The mbean definition of the remote provider can go where you like in either a -service.xml or a -ds.xml, the important thing is making the mbean name unique and specifying the relevent url for the remote jnp naming. Server1JMSProvider org.jboss.jms.jndi.JBossMQProvider j

[JBoss-user] Deployment Error

2003-12-15 Thread ilPostino ilPostino
Hi all, I'm currently experiencing a problem deploying an application on JBoss. I'm getting the following error. Can anyone please help. Thanks in advance Regards, ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope ration 'checkIncompleteDeployments()' Cause: Incomplete Dep

[JBoss-user] Deployment Error

2003-12-15 Thread ilPostino ilPostino
ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope ration 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss.jca:

[JBoss-user] Does jboss support cmp inherit?

2003-12-15 Thread forge
Hello, I have three entity beans, UserEB, AdvancedUserEB and AnonymouseUserEB. Both AdvancedUserEB and AnonymouseUserEB inherit from UserEB. I created them in WAS5 and they ran well. Now I'm porting them to jboss3.2.3, but I cant find how to create inheriting CMPs in jboss. Can anyone

Re: [JBoss-user] JBoss 3.2.4 ...

2003-12-15 Thread Rafal Kedziorski
Privjet Alexey, it's working. thx. Rafal At 17:51 12.12.2003, Alexey Loubyansky wrote: Rafal Kedziorski wrote: At 17:30 12.12.2003, Alexey Loubyansky wrote: Yes, I have. I try on monday update or new check out. It's absolutely ok. I will test myself also. There is an issue with ORDER BY. Curre