Re: [JBoss-user] sybase-service.xml with jconnect4_2 in JBoss-3.0.4

2002-12-11 Thread Muraly R
Hi David, Thanks a TON!!! The suggestion helped to resolve the issue. Cheers Muraly At 12:35 11/12/2002 -0500, you wrote: change jboss.security:name=JaasSecurityManager to jboss.security:service=JaasSecurityManager or start with an example file shipped with 3.0.4 which has t

[JBoss-user] new release of xPetStore

2002-12-11 Thread Herve Tchepannou
I'm proud to announce the lattest release of xPetStore application. xPetStore is a refactored version of Sun PetStore application that shows how to use xDoclet to build WODRA( Write Once, Deploy and Run Anywhere) J2EE application This version has ben tested with JBoss and WebLogic WebSite: http://

[JBoss-user] env-entry

2002-12-11 Thread Tom Coleman
My 3.2.0 beta2 build squawks when parsing tags in the web.xml file in a web archive during deployment. This tag is required per the 2.3 Servlet spec. Is this correct behavior for JBoss? Do these tags belong in jboss-web.xml instead? --

Re: [JBoss-user] Re: Ordered Collection from a CMR?

2002-12-11 Thread Hunter Hillegas
Yeah, this is something I wish was either in the spec or included as an extra JBoss option... I'm sure it would be a welcome feature addition... If you have some extra time, maybe you could code it up into JBoss 4.0? > From: Jason Essington <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Dat

[JBoss-user] Re: Ordered Collection from a CMR?

2002-12-11 Thread Jason Essington
On Wednesday, December 11, 2002, at 05:49 PM, Jason Essington wrote: Does JBoss have a way to order the Collection (or Set) returned by a Container Managed Relationship? Is there a way I can specify a JBossQL order by for the get...() method in my cmr? If not, how do I go about creating the

[JBoss-user] Ordered Collection from a CMR?

2002-12-11 Thread Jason Essington
Does JBoss have a way to order the Collection (or Set) returned by a Container Managed Relationship? Is there a way I can specify a JBossQL order by for the get...() method in my cmr? If not, how do I go about creating the finder to get the required beans since there are no getX/setX methods f

[JBoss-user] Clustered Http Session Locks

2002-12-11 Thread João Clemente
On Wed, 11 Dec 2002 10:41:27 +0100 "Sacha Labourey" <[EMAIL PROTECTED]> wrote: > Then a CTRL+BREAK (or signal -3) for a thread stack dump would be really > helpful. Jules, maybe you have a bug when the session has timeout on of the > node that is in a specific state. Just an idea. I've done som

Re: [JBoss-user] Oracle on JBoss

2002-12-11 Thread David Jencks
You can't specify that autocommit should be off in the *-service.xml file. However, inside a managed transaction (one controlled automatically by the container or through UserTransaction) all work is done as one transaction. Some versions of the jdbc wrappers report that autocommit is on in this

RE: [JBoss-user] Testing EJB's

2002-12-11 Thread Fred Hartman
There is an example in the jboss/testsuite/buid.xml of an ANT target that starts up JBoss, runs JUnit tests and then shutsdown JBoss. Note that this stuff hangs on Windows because of pause commands in the bat files launched in the background (unless fixed in the last couple weeks) and the shutdown

[JBoss-user] Oracle on JBoss

2002-12-11 Thread Karl Koster
I know this has been covered in the past. But, I have searched the forums, I purchased the documentation, and cannot find an answer. I know Oracle's thin driver is broken as far as LOB's are concerned. I there a way, however, to configure the driver int the *-service.xml file to shut off autocom

RE: [JBoss-user] JNDIView and Hypersonic manager in 3.2.0b2/jetty?

2002-12-11 Thread Rupp,Heiko
Hi again, > Sorry, I was not clear / omitted this ... I am using the > 8080/jmx-console now (the colored one as opposed to the > "text-only on port > 8082) and that is where I don't get the expected behaviour. I meanwhile found out, that the database manager of Hypersonic DB sometimes pops up an

Re: [JBoss-user] JBoss with JCA(Firebird)]

2002-12-11 Thread David Jencks
Looks ok to me. I suggest you ask on [EMAIL PROTECTED] I don't use windows and the firebird security works a little differently there than in linux/unix. Please include the exact jaybird (firebird driver) and firebird versions. Has he tried jaybird from recent cvs? thanks david jencks On 20

Re: [JBoss-user] sybase-service.xml with jconnect4_2 in JBoss-3.0.4

2002-12-11 Thread David Jencks
change jboss.security:name=JaasSecurityManager to jboss.security:service=JaasSecurityManager or start with an example file shipped with 3.0.4 which has this change already. david jencks On 2002.12.11 12:15:27 -0500 Muraly R wrote: > Hi, > I am using JBoss-3.0.4. > I have my sybase-service.xm

Re: [JBoss-user] Testing EJB's

2002-12-11 Thread Dain Sundstrom
If you want to test in JBoss, you will need to have JBoss running somehow. Unless you are running on a very old machine, the JBoss start up should be start fairly quickly (under 30 sec). I usually just leave a JBoss instance running, and test over and over again. -dain On Wednesday, December

[JBoss-user] sybase-service.xml with jconnect4_2 in JBoss-3.0.4

2002-12-11 Thread Muraly R
Hi, I am using JBoss-3.0.4. I have my sybase-service.xml placed in default\deploy folder. But during startup I get the following Error message. ERROR 11/Dec/2002 22:29:23 [main] (Logger.java:185): scanner.URLDeploymentScanner - MBeanException: Exception in MBean operation 'checkIncompleteDeployme

Re: [JBoss-user] Testing EJB's

2002-12-11 Thread Jim Crossley
Thanks, Dain. At first, I was encouraged by your reply, so I checked out the source, but it doesn't address my needs. At least, the branch I checked out (3.0 and jboss-head) could not run the testsuite successfully without first firing up JBoss. I want to be able to test my CMP's in an in-memory

[JBoss-user] JBoss with JCA(Firebird)]

2002-12-11 Thread Emerson Cargnin - SICREDI Serviços
I have a friend that told me about an error when using jboss with firebird database. he's getting the following error : . 2002-12-10 13:54:22,820 INFO [org.firebirdsql.jca.FBManagedConnectionFactory] Could not get a db connection! org.firebirdsql.gds.GDSException: Your user name and password a

Re: [JBoss-user] EJB Commit Option A Cache Question

2002-12-11 Thread Dain Sundstrom
On Wednesday, December 11, 2002, at 03:30 AM, Sacha Labourey wrote: I think it's normal for JBoss to continue to issue queries for the pks, after which it uses the associated cache data. Why do you think that? The commit option A says that the cache is always in synch with the DB. Consequen

[JBoss-user] Jetty / JSP / content-type

2002-12-11 Thread Alex Loubyansky
Hello guys, I am having problems with content type using JSP and Jetty. In the result, I want to get a page in Cp1251. Currently, in my JSPs I write only: <%@ page language="java" contentType="text/html"%> And it worked fine with Jetty 4.0.4. But now with 4.2.4rc0 the content is the same but my b

Re: [JBoss-user] Connectionfactory

2002-12-11 Thread David Jencks
I'm not sure what you are asking. The name of the class implementing ConnectionFactory is supplied by the adapter supplier in ra.xml, but is actually not used for anything. The jndi name an instance is bound under is specified by the jndiname attribute, as you can see by consulting any of the num

RE: [JBoss-user] EJB Commit Option A Cache Question

2002-12-11 Thread Sacha Labourey
> Because as Dain already stated, "JBoss does not have an in memory query > engine" (actually, I think he said it when the same question was asked > in the Persistence & CMP forum). It uses the database to work out what > entities to return in a finder (by returning just the pks), and then > uses t

Re: AW: [JBoss-user] How to do simple Inheritance with EntityBeans

2002-12-11 Thread Stephen Coy
Hi, For some reason, the standard Cloudscape mapping is using a jdbc-type of LONGVARCHAR for java.lang.String data. JBoss now uses the set/getCharacterStream API's for LONGVARCHAR data, and it looks like Cloudscape does not support this. MySQL has a similar problem. Try changing the jdbc-t

Re: It Works (WAS: [JBoss-user] Another Commit Option A Cache Question :))

2002-12-11 Thread Lennart Petersson
Yeah... absolutely no problems with JBoss. Head On Nail, Sacha that was the actual case never touched the entity so it wasn't put in cache. Sorry for noise. /L onsdagen den 11 december 2002 kl 11.46 skrev Sacha Labourey: Hello, Ok I did the testing with 3.0.5RC1 with both JAWS and JBo

Re: [JBoss-user] EJB Commit Option A Cache Question

2002-12-11 Thread Lennart Petersson
findByPrimaryKey is the one finder that can be handled directly by the cached, all other finders has to go to database to get a list of pks. /L onsdagen den 11 december 2002 kl 11.52 skrev Stephen Coy: On Wednesday, December 11, 2002, at 08:30 PM, Sacha Labourey wrote: I think it's normal

AW: [JBoss-user] How to do simple Inheritance with EntityBeans

2002-12-11 Thread Scheil, Sven
Hi Stephen, I had problems sending my reply to the mailing list. So I put you in cc. Are you using a jdbc type of JAVA_OBJECT for any of your fields by any chance? [Scheil, Sven] no Prior to 3.0.4, JBoss would serialise these types, when it's really the driver's domain to map them to cust

Re: [JBoss-user] EJB Commit Option A Cache Question

2002-12-11 Thread Stephen Coy
On Wednesday, December 11, 2002, at 08:30 PM, Sacha Labourey wrote: I think it's normal for JBoss to continue to issue queries for the pks, after which it uses the associated cache data. Why do you think that? The commit option A says that the cache is always in synch with the DB. Conseque

[JBoss-user] Oh, all those things that happens...

2002-12-11 Thread Lennart Petersson
Suddenly only ONE of my ejb-components was deployed when I started JBoss what the f... scratched my head for a while until I suddenly saw a META-INF dir in the deploy dir... aah... I did extract the xml-files for one component during a bug-tracking and that was the component t

It Works (WAS: [JBoss-user] Another Commit Option A Cache Question :))

2002-12-11 Thread Sacha Labourey
Hello, Ok I did the testing with 3.0.5RC1 with both JAWS and JBossCMP and it works correctly: cache is checked first. Though, remember that simply calling findByPrimaryKey while the entity is not yet in cache will *not* populate the cache: you have to make a remote.getWhatever() to populate the ca

Re: [JBoss-user] Another Commit Option A Cache Question :)

2002-12-11 Thread Lennart Petersson
I'm looking at i right now... JBoss code seems ok... has to be some shit in ours :( Will be back, /L onsdagen den 11 december 2002 kl 10.30 skrev Sacha Labourey: OK, so I agree: either it checks the cache or it is a bug ;) --- This sf.net

RE: [JBoss-user] yet HttpSession problems (Was:Anyone succesfully using session clusters?)

2002-12-11 Thread Sacha Labourey
... > (now, I took a break to eat some thing. Then got back and...) > Invoked servlet in A. No reply (endless loop in request). Other > things (jmx-manager) worked ok! Then a CTRL+BREAK (or signal -3) for a thread stack dump would be really helpful. Jules, maybe you have a bug when the session has

RE: [JBoss-user] EJB Commit Option A Cache Question

2002-12-11 Thread Sacha Labourey
> > > I think it's normal for JBoss to continue to issue queries for the pks, > > after which it uses the associated cache data. Why do you think that? The commit option A says that the cache is always in synch with the DB. Consequently, it should first try to find the entity in cache. If it is in

RE: [JBoss-user] Another Commit Option A Cache Question :)

2002-12-11 Thread Sacha Labourey
OK, so I agree: either it checks the cache or it is a bug ;) > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Dain > Sundstrom > Envoyé : mardi, 10 décembre 2002 17:35 > À : [EMAIL PROTECTED] > Cc : Sacha Labourey > Objet : Re: [JBoss-user] Another C

[JBoss-user] Re: [JBoss-dev] CMP Bi directional Relationship problem in Jboss 3.0.4

2002-12-11 Thread Alex Loubyansky
Hello Dulshan, I'm moving you to jboss-user list. DDS> Is there some thing wrong in the way I'm doing it in the Jboss. I would say you do it wrong in WL either. There is no need to declare two relationships. Just remove one of them. In case of unidirectional relationships you don't declare abstr

Re: [JBoss-user] JBoss CMP/Sybase limitation

2002-12-11 Thread Alex Loubyansky
Hello Robert, have tried tuning read-ahead? alex Tuesday, December 10, 2002, 9:32:01 PM, you wrote: RM> Hi - RM> Sybase ASE has a limitation of 250 ANDs/ORs in a select. It also has a RM> limitation of 250 elements inside of an IN. We've encountered a problem RM> with the way that JBoss CMP