[JBoss-user] Re: blob field in cmp

2003-12-14 Thread forge
Thanks, Alexey.

Do you mean I should modify standardjaws.xml?

No, I didn't modify it.



I found following settings in jaws.xml:



nameDB2/name

mapping

   java-typejava.lang.Object/java-type

   jdbc-typeJAVA_OBJECT/jdbc-type

   sql-typeBLOB(2000)/sql-type

/mapping



Need I modify it?



Regards,

Forge







Message: 8

Date: Fri, 12 Dec 2003 14:09:04 +0200

From: Alexey Loubyansky [EMAIL PROTECTED]

Organization: JBoss Group Europe

To: [EMAIL PROTECTED]

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

Reply-To: [EMAIL PROTECTED]



It's absolutely ok. You just need to configure the mapping, i.e. 

jdbc-type and sql-type. Do you specify both yourself or use the defaults?








--http://www.eyou.com
--Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä  ÓïÒôÓʼþ  Òƶ¯ÊéÇ©  ÈÕÀú·þÎñ  ÍøÂç´æ´¢...ÒÚÓÊδ¾¡

--http://vip.eyou.com
--¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä  ×¢²áÄúÖÐÒâµÄÓû§Ãû




---
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 everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2003-12-14 Thread netanel weinberg
Hi!
my application is deployed w/o any errors.
   my dtd is :
   ?xml version=1.0?
   !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN
 http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd;
  i don't know what is wrong! can it be that JBOSS doesn't support that kind
of EJB-QL methods?

10x ahead.

- Original Message - 
From: Alexey Loubyansky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 12:13 PM
Subject: Re: [JBoss-user] problem with EJB-QL


 First of all, get your application deployed w/o errors. Perhaps, the DDs
 do not match their DTDs. What are the stacktraces?

 netanel weinberg wrote:

  Hello!
 
   i have a web application i built using EJB and i'm trying to make an
ejb-ql
  according to two parameters:
query
  query-method
method-namefindByCompanycode/method-name
method-params
  method-paramjava.lang.String/method-param
  method-paramjava.lang.String/method-param
/method-params
  /query-method
  ejb-ql
![CDATA[SELECT OBJECT(a) FROM Supplier AS a WHERE
(a.companycode
  = ?1) AND (a.suppliertype = ?2)]]
  /ejb-ql
/query
 
  but JBOSS 3.2.2 with Tomcat 4.1.27 embedded is returning me the
collection
  accoding to the first parameter only!
   what is wrong? is it a problem with the implemention in JBOSS?
 
  And Something else i'm been trying to move to CMP 2.0 and changed all my
  classes that been needed to abstract and changed my ejb-jar.xml to use
the
  dtd of cmp 2.0 but i get an error on deploying with JBOSS on deploy
  something about the JDBC factory and i don't know what is it problem!
it's
  the same problem i got when i tried to use lomboz to generate an ejb
for
  testing.
 
  10x ahead,
   netanel.
 
 
 
 
  ---
  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 everything from the bash shell to sys
admin.
  Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 



 ---
 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 everything from the bash shell to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
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 everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2003-12-14 Thread Sacha Labourey
No, as the delay was a feature as a consequence of the overloaded systems
at sf.net 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Rafal Kedziorski
 Sent: dimanche, 14 décembre 2003 01:14
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: [JBoss-user] JBoss 3.2.4 ...
 
 At 12:45 13.12.2003, Sacha Labourey wrote:
 Sometimes, anonymous CVS can have a 24h delay
 
 is there possibility to get an read-only access without delay?




---
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 everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78alloc_id371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2003-12-14 Thread Gary S. Cuozzo
Looks like you are using ejb1.1 dtd.  If you are using CMP2, try:
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd;

Hope that helps,
Gary.

On Sun, 2003-12-14 at 03:24, netanel weinberg wrote:
 Hi!
 my application is deployed w/o any errors.
my dtd is :
?xml version=1.0?
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
 JavaBeans 1.1//EN
  http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd;
   i don't know what is wrong! can it be that JBOSS doesn't support that kind
 of EJB-QL methods?
 
 10x ahead.
 
 - Original Message - 
 From: Alexey Loubyansky [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, December 12, 2003 12:13 PM
 Subject: Re: [JBoss-user] problem with EJB-QL
 
 
  First of all, get your application deployed w/o errors. Perhaps, the DDs
  do not match their DTDs. What are the stacktraces?
 
  netanel weinberg wrote:
 
   Hello!
  
i have a web application i built using EJB and i'm trying to make an
 ejb-ql
   according to two parameters:
 query
   query-method
 method-namefindByCompanycode/method-name
 method-params
   method-paramjava.lang.String/method-param
   method-paramjava.lang.String/method-param
 /method-params
   /query-method
   ejb-ql
 ![CDATA[SELECT OBJECT(a) FROM Supplier AS a WHERE
 (a.companycode
   = ?1) AND (a.suppliertype = ?2)]]
   /ejb-ql
 /query
  
   but JBOSS 3.2.2 with Tomcat 4.1.27 embedded is returning me the
 collection
   accoding to the first parameter only!
what is wrong? is it a problem with the implemention in JBOSS?
  
   And Something else i'm been trying to move to CMP 2.0 and changed all my
   classes that been needed to abstract and changed my ejb-jar.xml to use
 the
   dtd of cmp 2.0 but i get an error on deploying with JBOSS on deploy
   something about the JDBC factory and i don't know what is it problem!
 it's
   the same problem i got when i tried to use lomboz to generate an ejb
 for
   testing.
  
   10x ahead,
netanel.
  
  
  
  
   ---
   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 everything from the bash shell to sys
 admin.
   Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
 
 
 
  ---
  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 everything from the bash shell to sys admin.
  Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
 ---
 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 everything from the bash shell to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
Gary S. Cuozzo [EMAIL PROTECTED]
Innovation Software Group, LLC



---
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 everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2003-12-14 Thread netanel weinberg
but i'm using cmp 1.1
'cause when i tried to move to cmp 2.0
JBOSS 3.2.2 gve me some erros about the JDBCFactory and etc...
can it be that JBOSS 3.2.2 doesn't support finder method in CMP with two
parameters??

- Original Message - 
From: Gary S. Cuozzo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 14, 2003 3:39 PM
Subject: Re: [JBoss-user] problem with EJB-QL


 Looks like you are using ejb1.1 dtd.  If you are using CMP2, try:
 !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
 JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd;

 Hope that helps,
 Gary.

 On Sun, 2003-12-14 at 03:24, netanel weinberg wrote:
  Hi!
  my application is deployed w/o any errors.
 my dtd is :
 ?xml version=1.0?
 !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
  JavaBeans 1.1//EN
 
http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd;
i don't know what is wrong! can it be that JBOSS doesn't support that
kind
  of EJB-QL methods?
 
  10x ahead.
 
  - Original Message - 
  From: Alexey Loubyansky [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, December 12, 2003 12:13 PM
  Subject: Re: [JBoss-user] problem with EJB-QL
 
 
   First of all, get your application deployed w/o errors. Perhaps, the
DDs
   do not match their DTDs. What are the stacktraces?
  
   netanel weinberg wrote:
  
Hello!
   
 i have a web application i built using EJB and i'm trying to make
an
  ejb-ql
according to two parameters:
  query
query-method
  method-namefindByCompanycode/method-name
  method-params
method-paramjava.lang.String/method-param
method-paramjava.lang.String/method-param
  /method-params
/query-method
ejb-ql
  ![CDATA[SELECT OBJECT(a) FROM Supplier AS a WHERE
  (a.companycode
= ?1) AND (a.suppliertype = ?2)]]
/ejb-ql
  /query
   
but JBOSS 3.2.2 with Tomcat 4.1.27 embedded is returning me the
  collection
accoding to the first parameter only!
 what is wrong? is it a problem with the implemention in JBOSS?
   
And Something else i'm been trying to move to CMP 2.0 and changed
all my
classes that been needed to abstract and changed my ejb-jar.xml to
use
  the
dtd of cmp 2.0 but i get an error on deploying with JBOSS on deploy
something about the JDBC factory and i don't know what is it
problem!
  it's
the same problem i got when i tried to use lomboz to generate an ejb
  for
testing.
   
10x ahead,
 netanel.
   
   
   
   
---
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 everything from the bash shell to sys
  admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
   
   
  
  
  
   ---
   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 everything from the bash shell to sys
admin.
   Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 
 
  ---
  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 everything from the bash shell to sys
admin.
  Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 -- 
 Gary S. Cuozzo [EMAIL PROTECTED]
 Innovation Software Group, LLC



 ---
 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 everything from the bash shell to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user




---
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 everything from the bash shell to sys admin.
Click now! 

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

2003-12-14 Thread Gary S. Cuozzo
I misread your first message and thought you had switched to CMP2. 
Sorry about that.

Have you looked at the SQL JBoss is using to see what is generated?  Is
it correct?


On Sun, 2003-12-14 at 09:14, netanel weinberg wrote:
 but i'm using cmp 1.1
 'cause when i tried to move to cmp 2.0
 JBOSS 3.2.2 gve me some erros about the JDBCFactory and etc...
 can it be that JBOSS 3.2.2 doesn't support finder method in CMP with two
 parameters??
 
 - Original Message - 
 From: Gary S. Cuozzo [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, December 14, 2003 3:39 PM
 Subject: Re: [JBoss-user] problem with EJB-QL
 
 
  Looks like you are using ejb1.1 dtd.  If you are using CMP2, try:
  !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
  JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd;
 
  Hope that helps,
  Gary.
 
  On Sun, 2003-12-14 at 03:24, netanel weinberg wrote:
   Hi!
   my application is deployed w/o any errors.
  my dtd is :
  ?xml version=1.0?
  !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
   JavaBeans 1.1//EN
  
 http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd;
 i don't know what is wrong! can it be that JBOSS doesn't support that
 kind
   of EJB-QL methods?
  
   10x ahead.
  
   - Original Message - 
   From: Alexey Loubyansky [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Friday, December 12, 2003 12:13 PM
   Subject: Re: [JBoss-user] problem with EJB-QL
  
  
First of all, get your application deployed w/o errors. Perhaps, the
 DDs
do not match their DTDs. What are the stacktraces?
   
netanel weinberg wrote:
   
 Hello!

  i have a web application i built using EJB and i'm trying to make
 an
   ejb-ql
 according to two parameters:
   query
 query-method
   method-namefindByCompanycode/method-name
   method-params
 method-paramjava.lang.String/method-param
 method-paramjava.lang.String/method-param
   /method-params
 /query-method
 ejb-ql
   ![CDATA[SELECT OBJECT(a) FROM Supplier AS a WHERE
   (a.companycode
 = ?1) AND (a.suppliertype = ?2)]]
 /ejb-ql
   /query

 but JBOSS 3.2.2 with Tomcat 4.1.27 embedded is returning me the
   collection
 accoding to the first parameter only!
  what is wrong? is it a problem with the implemention in JBOSS?

 And Something else i'm been trying to move to CMP 2.0 and changed
 all my
 classes that been needed to abstract and changed my ejb-jar.xml to
 use
   the
 dtd of cmp 2.0 but i get an error on deploying with JBOSS on deploy
 something about the JDBC factory and i don't know what is it
 problem!
   it's
 the same problem i got when i tried to use lomboz to generate an ejb
   for
 testing.

 10x ahead,
  netanel.




 ---
 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 everything from the bash shell to sys
   admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user


   
   
   
---
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 everything from the bash shell to sys
 admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
  
  
   ---
   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 everything from the bash shell to sys
 admin.
   Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
  -- 
  Gary S. Cuozzo [EMAIL PROTECTED]
  Innovation Software Group, LLC
 
 
 
  ---
  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 everything from the bash shell to sys admin.
  Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  JBoss-user mailing list
 

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

2003-12-14 Thread Bjorn Weis
Hello Christofer!

I think, the reason that JBoss take the older version of your class, is that
the UnifiedClassLoader3 only load the first class if two or more of the same
class in different jars exists. You are right, an error or a warn message
should better be outputed, to avoid getting gray hair ;-).

In my EJB-Application there is a common class part, this is in every
jar-file included. That works, but it is an discrepancy of the first phrase,
while in my case all classes are identical. It should also work, if you add
the common classes to the classpath of your JBoss (as far as I know the
deploy directory is not part of the classpath!).

See you
Bjorn


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Christofer
 Dutz
 Sent: Saturday, December 13, 2003 11:59 AM
 To: [EMAIL PROTECTED]
 Subject: [JBoss-user] Unclear report of conflicting Class-Versions


 Hi,

 I was having a problem for the last week, which caused me go get gray
 hair with only 25 years of age. I am developing several Components of a
 bigger EJB-Application. Some Components are finished and there are some
 I am still working on. My problem now was that Jboss complained about an
 object not beeing serialisable even if it deffinetly was. After
 searching a while I finaly found the solution: I used an older version
 of the value-object classes in another component (totaly independant jar
 file in the deploy directory) and in this jar the objects weren't
 serialisable.

 If I would like to instanciate an object of a class within another
 jar-file (in the deploy directory), I get class not found exceptions ...
 how can this problem occur then? Could the error message jboss outputs
 be extended to make users aware of this possibility?

 Chris





 ---
 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 everything from the bash shell to sys admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user



---
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 everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


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

2003-12-14 Thread netanel weinberg
How can i see the sql jboss is using to see what is generated?

- Original Message - 
From: Gary S. Cuozzo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, December 14, 2003 4:35 PM
Subject: Re: [JBoss-user] problem with EJB-QL


 I misread your first message and thought you had switched to CMP2.
 Sorry about that.

 Have you looked at the SQL JBoss is using to see what is generated?  Is
 it correct?


 On Sun, 2003-12-14 at 09:14, netanel weinberg wrote:
  but i'm using cmp 1.1
  'cause when i tried to move to cmp 2.0
  JBOSS 3.2.2 gve me some erros about the JDBCFactory and etc...
  can it be that JBOSS 3.2.2 doesn't support finder method in CMP with two
  parameters??
 
  - Original Message - 
  From: Gary S. Cuozzo [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Sunday, December 14, 2003 3:39 PM
  Subject: Re: [JBoss-user] problem with EJB-QL
 
 
   Looks like you are using ejb1.1 dtd.  If you are using CMP2, try:
   !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
   JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd;
  
   Hope that helps,
   Gary.
  
   On Sun, 2003-12-14 at 03:24, netanel weinberg wrote:
Hi!
my application is deployed w/o any errors.
   my dtd is :
   ?xml version=1.0?
   !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD
Enterprise
JavaBeans 1.1//EN
   
  http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd;
  i don't know what is wrong! can it be that JBOSS doesn't support
that
  kind
of EJB-QL methods?
   
10x ahead.
   
- Original Message - 
From: Alexey Loubyansky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 12, 2003 12:13 PM
Subject: Re: [JBoss-user] problem with EJB-QL
   
   
 First of all, get your application deployed w/o errors. Perhaps,
the
  DDs
 do not match their DTDs. What are the stacktraces?

 netanel weinberg wrote:

  Hello!
 
   i have a web application i built using EJB and i'm trying to
make
  an
ejb-ql
  according to two parameters:
query
  query-method
method-namefindByCompanycode/method-name
method-params
  method-paramjava.lang.String/method-param
  method-paramjava.lang.String/method-param
/method-params
  /query-method
  ejb-ql
![CDATA[SELECT OBJECT(a) FROM Supplier AS a WHERE
(a.companycode
  = ?1) AND (a.suppliertype = ?2)]]
  /ejb-ql
/query
 
  but JBOSS 3.2.2 with Tomcat 4.1.27 embedded is returning me the
collection
  accoding to the first parameter only!
   what is wrong? is it a problem with the implemention in JBOSS?
 
  And Something else i'm been trying to move to CMP 2.0 and
changed
  all my
  classes that been needed to abstract and changed my ejb-jar.xml
to
  use
the
  dtd of cmp 2.0 but i get an error on deploying with JBOSS on
deploy
  something about the JDBC factory and i don't know what is it
  problem!
it's
  the same problem i got when i tried to use lomboz to generate an
ejb
for
  testing.
 
  10x ahead,
   netanel.
 
 
 
 
  ---
  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 everything from the bash shell to
sys
admin.
  Click now!
http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 



 ---
 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 everything from the bash shell to sys
  admin.
 Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
   
   
   
   
---
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 everything from the bash shell to sys
  admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
   -- 
   Gary S. Cuozzo [EMAIL PROTECTED]
   Innovation Software Group, LLC
  
  
  
   

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

2003-12-14 Thread Gary S. Cuozzo
I think the jboss_dir/config/log/server.log file should default to
DEBUG log level and should have the SQL queries in it.  If not, you can
edit the jboss_dir/config/conf/log4j.xml file and set either the
CONSOLE or FILE appenders to DEBUG mode.  I think you have to restart
JBoss to see the effect.


On Sun, 2003-12-14 at 10:33, netanel weinberg wrote:
 How can i see the sql jboss is using to see what is generated?
 
 - Original Message - 
 From: Gary S. Cuozzo [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, December 14, 2003 4:35 PM
 Subject: Re: [JBoss-user] problem with EJB-QL
 
 
  I misread your first message and thought you had switched to CMP2.
  Sorry about that.
 
  Have you looked at the SQL JBoss is using to see what is generated?  Is
  it correct?
 
 
  On Sun, 2003-12-14 at 09:14, netanel weinberg wrote:
   but i'm using cmp 1.1
   'cause when i tried to move to cmp 2.0
   JBOSS 3.2.2 gve me some erros about the JDBCFactory and etc...
   can it be that JBOSS 3.2.2 doesn't support finder method in CMP with two
   parameters??
  
   - Original Message - 
   From: Gary S. Cuozzo [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Sunday, December 14, 2003 3:39 PM
   Subject: Re: [JBoss-user] problem with EJB-QL
  
  
Looks like you are using ejb1.1 dtd.  If you are using CMP2, try:
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd;
   
Hope that helps,
Gary.
   
On Sun, 2003-12-14 at 03:24, netanel weinberg wrote:
 Hi!
 my application is deployed w/o any errors.
my dtd is :
?xml version=1.0?
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD
 Enterprise
 JavaBeans 1.1//EN

   http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd;
   i don't know what is wrong! can it be that JBOSS doesn't support
 that
   kind
 of EJB-QL methods?

 10x ahead.

 - Original Message - 
 From: Alexey Loubyansky [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, December 12, 2003 12:13 PM
 Subject: Re: [JBoss-user] problem with EJB-QL


  First of all, get your application deployed w/o errors. Perhaps,
 the
   DDs
  do not match their DTDs. What are the stacktraces?
 
  netanel weinberg wrote:
 
   Hello!
  
i have a web application i built using EJB and i'm trying to
 make
   an
 ejb-ql
   according to two parameters:
 query
   query-method
 method-namefindByCompanycode/method-name
 method-params
   method-paramjava.lang.String/method-param
   method-paramjava.lang.String/method-param
 /method-params
   /query-method
   ejb-ql
 ![CDATA[SELECT OBJECT(a) FROM Supplier AS a WHERE
 (a.companycode
   = ?1) AND (a.suppliertype = ?2)]]
   /ejb-ql
 /query
  
   but JBOSS 3.2.2 with Tomcat 4.1.27 embedded is returning me the
 collection
   accoding to the first parameter only!
what is wrong? is it a problem with the implemention in JBOSS?
  
   And Something else i'm been trying to move to CMP 2.0 and
 changed
   all my
   classes that been needed to abstract and changed my ejb-jar.xml
 to
   use
 the
   dtd of cmp 2.0 but i get an error on deploying with JBOSS on
 deploy
   something about the JDBC factory and i don't know what is it
   problem!
 it's
   the same problem i got when i tried to use lomboz to generate an
 ejb
 for
   testing.
  
   10x ahead,
netanel.
  
  
  
  
   ---
   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 everything from the bash shell to
 sys
 admin.
   Click now!
 http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
   ___
   JBoss-user mailing list
   [EMAIL PROTECTED]
   https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
 
 
 
  ---
  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 everything from the bash shell to sys
   admin.
  Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user




 ---
 This SF.net email is sponsored by: IBM Linux 

[JBoss-user] mbean test strategy

2003-12-14 Thread Stefan Groschupf
Hi,

is there a strategy how to test mbeans in jboss?
Someone know a docu or similar resources? Google does know nothing about 
this issue.

Thanks
Stefan
--
open technology: http://www.media-style.com
open source: http://www.weta-group.net
open discussion: http://www.text-mining.org




---
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 everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] JBoss On HPUX

2003-12-14 Thread Stephen Coy
Also, make sure that you pass:

	-XdoCloseWithReadPending

when running any java application that uses sockets (such as JBoss or 
Tomcat) under HPUX, otherwise you will get weird hangs.

Steve Coy

On 13/12/2003, at 1:45 PM, Sasidharan, Manoj wrote:

Hello All,

JDK 1.3.1

We are trying to use JBoss 3.2.2 on HPUX11. The server comes up, but 
the
application does not get deployed correctly.

Everything works fine on a Sun Solaris and Windows box.

Thanks in advance for taking some time to help us with this issue.

wwr
MS
---
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 everything from the bash shell to sys 
admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
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 everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user