Re: [JBoss-user] When should CMP be used?

2001-06-30 Thread Tobias Frech
Hi Jim! CMP should be used whenever possible. You don't have to code your data access then and won't make any mistakes in this code. Also it might be easier to port to another database. BUT there are some problems with CMP, you don't have full control over what is happening. Somehow you answered y

[JBoss-user] How to send events to clients

2001-06-30 Thread E. Bouma
Hi all, I want to use JBoss as a kind of gameserver. This means that lots of clients should be able to connect to jboss and have some kind of permanent connection. Jboss should be able to pass events to the clients. Normal behaviour of an AS does not allow this I believe. What is the best way

[JBoss-user] apache+tomcat+jobbs

2001-06-30 Thread Richard Bottoms
>[EMAIL PROTECTED] wrote >In fact, I thought it was in response to you I attached a link to an older >message on how to integrate JBoss/Tomcat & Apache. Got it working. The mod_jk.so file download seems to be corrupted so I compiled it from source. It took a few additional changes to httpd.conf

Re: [JBoss-user] How to send events to clients

2001-06-30 Thread bcd
On Sat, Jun 30, 2001 at 10:42:00AM -, E. Bouma wrote: > Hi all, > > I want to use JBoss as a kind of gameserver. This means that lots of clients > should be able to connect to jboss and have some kind of permanent > connection. Jboss should be able to pass events to the clients. Normal > b

[JBoss-user] Taking backups

2001-06-30 Thread bcd
What is a workable way of taking regular backups of the database in a JBoss application? I am assuming I can't just merrily copy the database while it is working. Is it possible to put JBoss into some kind of "idle" mode so that it temporarily halts all transactions (and flushes any unwritten data

RE: [JBoss-user] Taking backups

2001-06-30 Thread marc fleury
interesting, there isn't a way to stop the incoming flux of transactional threads. You can shutdown the container applications but that is different. One of the things I wanted to do for jboss3.0 is an interceptor that "freezes" threads (wait()) and notifies you when all the threads are gone so

Re: [JBoss-user] apache+tomcat+jobbs

2001-06-30 Thread Richard Bottoms
BTW the correct URL for the HOWTO is: http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html r.b. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Minerva question

2001-06-30 Thread Liz Sommers
I want to use the Minerva connection pool for my servlets. How do I do this if I am not planning to use EJB's? Thanks Liz Sommers [EMAIL PROTECTED] Like an old desperado, going to paint the town beige. ___ JBoss-user mailing list [EMAIL PROTECTED] h

[JBoss-user] Could not create the finder (in jaws.xml)

2001-06-30 Thread nathan frund
Howdy, I'm new to both EJB and JBoss and boy, do I have a problem. I've been over the documentation on the JBoss web site for days and through the mailing list archive from top to bottom but didn't find anyone else having this specific problem. I can't get certain custom finders to work. This

Re: [JBoss-user] cgi

2001-06-30 Thread David Green
Ah, neat, that's something I've been wondering how to do :) The only thing stopping us from using JBoss/Tomcat for everything in our development environment is the lack of cgi support. Didn't think of writing a CGIServlet. David Green On Fri, 29 Jun 2001, Richard Bottoms wrote: > Just came acro

RE: [JBoss-user] Taking backups

2001-06-30 Thread David Green
Sounds like more of a database-specific question than a JBoss question. For instance, with Progress, I think it's possible to halt updates to the actual database files, all updates are temporarily stored in .ai (after image files), which can be applied after the backup is complete. Even if JBoss

Re: [JBoss-user] Taking backups

2001-06-30 Thread bcd
On Sat, Jun 30, 2001 at 10:21:35AM -0400, David Green wrote: > Sounds like more of a database-specific question than a JBoss question. > For instance, with Progress, I think it's possible to halt updates to the > actual database files, all updates are temporarily stored in .ai (after > image files

[JBoss-user] Entity beans and rows in tables

2001-06-30 Thread bcd
>From reading the EJB spec and a number of other documents, I have gained the impression that (one table row == one entity bean) if I want to use CMP. I am currently in the progress of reading the J2EE Blueprints, and in a discussion on the cons of using entity beans, the following is said: "(..

[JBoss-user] Auto-Deploys Deploys Twice....

2001-06-30 Thread Ferguson, Doug
Has anyone noticed autodeploy running throught the destroy/deploy process twice everytime you drop in a new ear I never noticed it happen for jars.. But that could be a coincidence. It only seems to happend on win2k. My linux box just runs through all the steps once. Cheers, d. _

Re: [JBoss-user] cgi

2001-06-30 Thread Richard Bottoms
At 10:12 AM 6/30/01 -0400, you wrote: >Ah, neat, that's something I've been wondering how to do :) The only thing >stopping us from using JBoss/Tomcat for everything in our development >environment is the lack of cgi support. Didn't think of writing a >CGIServlet. > >David Green Perl is still ve

RE: [JBoss-user] Taking backups

2001-06-30 Thread RRokytskyy
> I am not burdened with legacy software and I am doing a design from > scratch so I can pretty much make all the decisions. I want to make > sure I do it properly from the start :-) So, you can try the Firebird (InterBase) database. Because of the versioning mechanism, you can do backups when ot

Re: [JBoss-user] Taking backups

2001-06-30 Thread Ole Husgaard
Hi, [EMAIL PROTECTED] wrote: > I'm not sure how transactions are implemented in Java. I'm paranoid > enough, however, to think that it is possible that a Java transaction > implementation uses several DB-native transactions per one of its own > transactions. If so, then attacking this only at the

Re: [JBoss-user] Entity beans and rows in tables

2001-06-30 Thread Ole Husgaard
Hi, I think that both these statements are true. EJB1.1 CMP says: one table row == one entity bean And common sense (as well as most experts of component oriented development) says that: (one table row == one entity bean) means "no good" due to interbean call overhead and no advantage. T

RE: [JBoss-user] Entity beans and rows in tables

2001-06-30 Thread Dain Sundstrom
In EJB 2.0, they have added local interfaces to address the overhead issue. Local interfaces are similar to the remote interface except it can't be remoted, and parameters are not serialized (pass by ref), which is one of the most expensive parts of a remote interface (other then the wire time). J

Re: [JBoss-user] apache+tomcat+jobbs

2001-06-30 Thread Grim Shieldsson
mod_jk.so is very sensitive to it's compile conditions. It doesn't work on Mandrake at all. If you have something slightly different on your system, at least for linux, it will not work. I found this out madly going through the tomcat list archives etc. It was not a fun thing to discover :) *LO

Re: [JBoss-user] Taking backups

2001-06-30 Thread Grim Shieldsson
Your normal database backup routines should do just fine, since from a certain point of view, JBoss is just a client. I've done plenty of hot backups before, this should be no different. --- [EMAIL PROTECTED] wrote: > What is a workable way of taking regular backups of the database in a > JBoss

Re: [JBoss-user] Security in Jboss ( JaasSecurityManager ) - question to developers. Maybe RFE

2001-06-30 Thread Konstantin Priblouda
--- Scott M Stark <[EMAIL PROTECTED]> wrote: > The only issue with this is that the > JaasSecurityManager is not considered > a public API for which compatability between > releases is a consideration. > Your subclass of JaasSecurityManager may not work in > latter releases. > The public API for u

Re: [JBoss-user] Taking backups

2001-06-30 Thread Grim Shieldsson
--- [EMAIL PROTECTED] wrote: > On Sat, Jun 30, 2001 at 10:21:35AM -0400, David Green wrote: > > Sounds like more of a database-specific question than a JBoss > question. > > For instance, with Progress, I think it's possible to halt updates > to the > > actual database files, all updates are tempo

[JBoss-user] Class Cast Exception with JBossMQ

2001-06-30 Thread Hunter Hillegas
I have a MDB listening on a queue. A SSB sends an ObjectMessage (a Vector) to the Queue. The MDB gets the message and sends an email. The email is sent properly but each time I get a Class Cast Exception, it seems where I cast javax.jms.Message to javax.jms.ObjectMessage. Still, it is an ObjectMes

Re: [JBoss-user] Class Cast Exception with JBossMQ

2001-06-30 Thread Francisco Andrades
I have no idea what your problem is . but al 6.30 you must draw a smile at the name of your package :) > [EmailBean] at > com.guerrillabroadcasting.groundswell.ejb.mdb.EmailBean.sendEmail(EmailBean. _ Do You Yahoo!? Get your

RE: [JBoss-user] Possible naming bug JBoss 2.2.2 with Tomcat 3.2.2

2001-06-30 Thread J. King
Ok. Let me explain this again because I am getting no love here. It seems to me that you cannot declare environment entries in 'web.xml' and have them used in JNDI by Tomcat applications (i.e. servlets, jsps, etc...). An environment entry in 'web.xml' looks something like this: ...

[JBoss-user] ejb's not deploying

2001-06-30 Thread G.L. Grobe
I put my ear file into the ~/jboss/deploy dir and it contains: xxx(xxx):/u/public/JBoss-2.2.2_Tomcat-3.2.2/jboss/deploy$ jar tvf acais-1.0.ear META-INF/ META-INF/ejb-jar.xml META-INF/MANIFEST.MF META-INF/application.xml acais-ejb.jar acais-web.war acais-client.jar --- Here is the JBoss outpu

Re: [JBoss-user] ejb's not deploying

2001-06-30 Thread Tahir Awan
Can you post your ejb-jar xml files here? Tahir - Original Message - From: "G.L. Grobe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 30, 2001 6:53 PM Subject: [JBoss-user] ejb's not deploying > I put my ear file into the ~/jboss/deploy dir and it contains: > > xxx(x

Re: [JBoss-user] ejb's not deploying

2001-06-30 Thread G.L. Grobe
Sure, here it is. It doesn't have great indentation because I couldn't put carriage returns between the tags, but it's more readable this way. -- http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";> A.C.A.I.S. A.C.A.I.S. Version 1.0 ConfigBuild com.neuroquest

Re: [JBoss-user] Taking backups

2001-06-30 Thread Peter Fagerlund
very good then - make a backup and leave it to the db to make a correct snapshot - but this thread suggest - to still have the capability to "change" a component in the system at any time - stopping/starting any traffic to and from all other components - throught a observeble mechanism ? ... /pet

Re: [JBoss-user] Security in Jboss ( JaasSecurityManager ) - question to developers. Maybe RFE

2001-06-30 Thread Scott M Stark
I'll look into supporting this use case. > > I think JAAS security manager definitely needs some > change. Let's assume situation, that call comes > with principal "null" and credential "null" - this can > be ( and is in my context ) legitimate user, with > some roles defined. > > My login m

Re: [JBoss-user] Possible naming bug JBoss 2.2.2 with Tomcat 3.2.2

2001-06-30 Thread Scott M Stark
JBoss-2.2.2/Tomcat-3.2.2 works with env-entry elements defined in the web.xml descriptor. There does appear to be a bug in the handling of env-entry elements with more than one intermediate context in the env-entry-name. There is no env-entry in jboss-web.dtd because they do not need a mapping to

[JBoss-user] JSPs with JBoss/Jetty

2001-06-30 Thread bcd
I'm trying to deploy "the simplest possible" JSP with JBoss/Jetty and something very basic seems to be eluding me. I put the JSP in a WAR, stuff in a relatively empty WEB-INF/web.xml and put the the WAR in the jboss/deploy directory. The JSPs become available, but they are shown as raw HTML in ste

Re: [JBoss-user] Taking backups

2001-06-30 Thread Grim Shieldsson
Hot swap of software components... NOW that would be interesting... I'm not sure how useful though. The system would still be down while the swap was happening.. unless you did some sort of queuing.. which might take less time then a full, stop-upgrade-start cycle. It would be interesting, and s

Re: [JBoss-user] ejb's not deploying

2001-06-30 Thread Tahir Awan
looked ok to me. I am sure you have gone through the ejb.jar to check if Build bean was compiled properly and is included in the jar? btw, are you able to deploy tomcat-test.ear? Tahir - Original Message - From: "G.L. Grobe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, Jun

Re: [JBoss-user] ejb's not deploying

2001-06-30 Thread G.L. Grobe
If I include my *.class files along w/ the directory structure in my j2ee-app.jar file, it loads ok ... but if I don't include the class files, and yet the class files do exists in my ejb.jar file which is in the app file, it will not load and I get the same results. > - Original Message

RE: [JBoss-user] Taking backups

2001-06-30 Thread marc fleury
|Hot swap of software components... NOW that would be interesting... I'm |not sure how useful though. The system would still be down while the Dynamic reconfiguration of flow of interceptors... the future... my eye is moving by himself REM? marcf |swap was happening.. unless you did some s

Re: [JBoss-user] ejb's not deploying

2001-06-30 Thread G.L. Grobe
Yeah, tomcat-test.ear deployed ok. The class files are in the ejb.jar file. And although I have the class files in the ejb.jar file, I also have to jar them in the j2ee.ear file in order for it them to deploy. It's like it's not seeing the ejb.jar file. Here's my applications.xml file. http://

Re: [JBoss-user] ejb's not deploying

2001-06-30 Thread Tahir Awan
That's kind of crazy. I am using the same version of jboss-tomcat and only have *.class files in .jar. .ear just contains ejb.jar and app.war, app.xml. Must be overlooking some thing. You should probably try to first deploy just the ejb.jar. Tahir - Original Message - From: "G.L. Grobe"

RE: [JBoss-user] Taking backups

2001-06-30 Thread Anatoly Akkerman
On Sat, 30 Jun 2001, marc fleury wrote: > |Hot swap of software components... NOW that would be interesting... I'm > |not sure how useful though. The system would still be down while the > > Dynamic reconfiguration of flow of interceptors... > > the future... > > my eye is moving by himself

RE: [JBoss-user] Possible naming bug JBoss 2.2.2 with Tomcat 3.2.2

2001-06-30 Thread J. King
Scott, Thank you very much. You have confirmed that I am not insane. Does anyone have any idea regarding the fix for the env-entry elements and implementation of war ENC content integration into JNDI (i.e. is it in 2.4?) j. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PRO