Re: [JBoss-user] Authentication Problem

2003-11-25 Thread Scott M Stark
The problem is the invalid dsJiniName module-option name in the RestaurantSecurityRealm config. This should be dsJndiName which defaults to java:/DefaultDS and hence hypersonic. -- Scott Stark Chief Technology Officer JBoss Group, LLC Jack Lauman wr

Re: [JBoss-user] Stateful Session Bean timeout

2003-11-25 Thread Scott M Stark
Its essentially the same container-cache-conf as for the entity bean. Lookup the "Standard Stateful SessionBean" in the conf/standardjboss.xml descriptor. -- Scott Stark Chief Technology Officer JBoss Group, LLC Pedro Salazar wrote: Greetings, I w

Re: [JBoss-user] JbossMQ error: 'User: null is NOT authenticated'

2003-11-25 Thread Scott M Stark
So the jbossmq login configuration still exists then. Create a bug report on sourceforge with more info on what your doing so we can try to look into what could be going on. -- Scott Stark Chief Technology Officer JBoss Group, LLC Panagiotis Korros

Re: [JBoss-user] apache + mod_jk + jboss*2 = no load balancing.

2003-11-25 Thread Scott M Stark
mod_jk supports load balancing. See: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/workershowto.html -- Scott Stark Chief Technology Officer JBoss Group, LLC Stephen Davidson wrote: Greetings. Unless I missed somthing in the mod_jk spec,

Re: [JBoss-user] Can we define the passivate timeout for entity beans? (performance)

2003-11-25 Thread Scott M Stark
Edit the conf/standardjboss.xml and change the container-cache-conf/cache-policy-conf org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy 50 100 300 2147483647 400 6

[JBoss-user] Re: [JBoss-dev] No GROUP BY in JBoss-QL?

2003-11-25 Thread Bill Burke
Unfortunately EJB QL only allows 1 item in the select statement so no GROUP BY. Use Hibernate. Bill Stefan Arentz wrote: I noticed that there is no GROUP BY in JBoss-QL. Is that for a reason? Looking at the source of the EJB-QL compiler, is this something that can be added by using the ORDER

Re: [JBoss-user] No GROUP BY in JBoss-QL?

2003-11-25 Thread Alexey Loubyansky
Stefan Arentz wrote: I noticed that there is no GROUP BY in JBoss-QL. Is that for a reason? It would be good to have it. Looking at the source of the EJB-QL compiler, is this something that can be added by using the ORDER BY code? The two are probably roughly the same? Be sure. -

Re: [JBoss-user] Setting up Stores on JBoss

2003-11-25 Thread Scott M Stark
The jboss-web.xml changes will be picked up when the web.xml is touched. The web container can be redeployed by updating its jboss-service.xml, but this will redeploy all web apps as well. -- Scott Stark Chief Technology Officer JBoss Group, LLC Bri

[JBoss-user] No GROUP BY in JBoss-QL?

2003-11-25 Thread Stefan Arentz
I noticed that there is no GROUP BY in JBoss-QL. Is that for a reason? Looking at the source of the EJB-QL compiler, is this something that can be added by using the ORDER BY code? The two are probably roughly the same? S. --- This SF.net

[JBoss-user] RE: [JBoss-dev] Tomcat session replication

2003-11-25 Thread marc fleury
Good job, But a clear job for AOP in JB4. The cache product is DYNAMITE. marcf > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Sacha Labourey > Sent: Sunday, November 23, 2003 6:17 PM > To: [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject:

Re: [JBoss-user] Optimistic locking and Commit Option A

2003-11-25 Thread julien viet
no, unless you have a distributed cache (am I not wrong on that ?) julien > Hi all, > I have just been reading through the docs about using optimistic > locking. > > According to the docs, to use optimistic locking, you must also use the > "instance per transaction" policy. > > However, the doc

Re: [JBoss-user] Optimistic locking and Commit Option A

2003-11-25 Thread Alexey Loubyansky
The read-only is applied to the specific bean/method as defined in the DDs. No inheritance rules. Pete Beck wrote: On Tue, 2003-11-25 at 11:26, Kevin Conner wrote: We stuck with the pessimistic locking and enabled read-only methods. The CMP engine grabs the lock for the duration of the method

Re: [JBoss-user] Optimistic locking and Commit Option A

2003-11-25 Thread Pete Beck
On Tue, 2003-11-25 at 11:26, Kevin Conner wrote: > We stuck with the pessimistic locking and enabled read-only methods. > The CMP engine grabs the lock for the duration of the method but > releases it afterwards. > > Kev > > BTW We are on a modified version of 3.0.2 but I think it still

Re: [JBoss-user] apache + mod_jk + jboss*2 = no load balancing.

2003-11-25 Thread Stephen Davidson
Greetings. Unless I missed somthing in the mod_jk spec, mod_jk does not do loadbalancing. A module called mod_backhand allows Apache to do load balancing. Apparently quite sophiscated. Regards, Steve Torsten Terp wrote: Hi, Im about to test the same setup (mod_jk load-balancing, no cluster, stic

[JBoss-user] Connection.setCatalog("DBNAME") does not work..... in postgresql

2003-11-25 Thread Maffeo Gaetano
Hi all, I am using JBOSS V3.2.2 with postgresql. My datasource require as necessary the database name and the setCatalog method of the connection class does not work. Why? How can i avoid such a problem? many thanks in advance gaetano --- Thi

[JBoss-user] cluster farm application behavior

2003-11-25 Thread Pedro Salazar
Greetings, If I have an application in the farm directory, if an jboss instance of the cluster is already active, what happens to the procedure of the init() methods of a servlet or a web service (it's a servlet) on a jboss instance that starts just now? Will the service run normally? Or the clust

[JBoss-user] Stateful Session Bean timeout

2003-11-25 Thread Pedro Salazar
Greetings, I would like to know if a stateful session bean timeout will always happen even if the application never goes down. I know that if a crash happens there is no persistent. However, I don't care if the application when restarts do the reload of all the information (from an entity bean). I

Re: [JBoss-user] ANSI SQL ?

2003-11-25 Thread Ricardo Argüello
Generally database metadata information (table names, column descriptions, etc) is vendor dependant, not ANSI SQL. If you need to access to metadata programatically try using the JDBC API: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/package-summary.html http://java.sun.com/j2se/1.4.2/docs/a

Re: [JBoss-user] JSP compilation

2003-11-25 Thread Anders Engström
On Tue, Nov 25, 2003 at 04:51:21PM +0100, Anders Engström wrote: > On Mon, Nov 24, 2003 at 04:27:44PM +, Matthew Oatham wrote: > > Hi, > > > > Is there any way to prevent JSP pages being recompiled everytime JBoss > > restarts? i.e I deploy the web app - run the jsp - restart JBoss and tr-run

Re: [JBoss-user] JSP compilation

2003-11-25 Thread Anders Engström
On Mon, Nov 24, 2003 at 04:27:44PM +, Matthew Oatham wrote: > Hi, > > Is there any way to prevent JSP pages being recompiled everytime JBoss > restarts? i.e I deploy the web app - run the jsp - restart JBoss and tr-run > a JSP - instead of using a cached copy of the jsp page it is re-compile

[JBoss-user] ANSI SQL ?

2003-11-25 Thread Ionel GARDAIS
Hi, How to know if an SQL command is ANSI compliant or db dependant ? I need to know this for SHOW TABLES and SHOW COLUMNS commands. thanks, ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://f

[JBoss-user] AW: [OT] reporting engines/tools

2003-11-25 Thread Darren Hartford
Hi Dudley, I've gone through the reporting jungle myself, and my recommendation is to look into the iReport/JasperReport combo. Using iReport's JRCustomDataSource you can write EJB connectors to help designing reports for EJB reporting instead of just SQL reporting (but it does SQL reporting ju

Re: [JBoss-user] apache + mod_jk + jboss*2 = no load balancing.

2003-11-25 Thread Bob Cotton
Make sure the tomcat config includes a jvmRoute="node1" in your for each of the nods. -Bob Mike Lindsey <[EMAIL PROTECTED]> writes: > I've got apache talking to a clustered jboss setup, using mod_jk, but > I cannot get the load balacing to work. I can force connections to a > spe

Re: [JBoss-user] commit options

2003-11-25 Thread Ionel GARDAIS
many many thanks ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: SF.net Giveback Program

Re: [JBoss-user] jmx-invoker-adaptor-server.sar vs. jmx-rmi-adaptor.sar - Bad For WebConsole ?

2003-11-25 Thread Scott M Stark
Add a link in JNDI from "jmx/invoker/RMIAdaptor" to "jmx/rmi/RMIAdaptor" by adding the following to the jmx-rmi-adaptor.sar/META-INF/jboss-service.xml: jmx/invoker/RMIAdaptor jmx/rmi/RMIAdaptor -- Scott Stark Chief Technology Officer JBoss Group, LLC xxx

[JBoss-user] Can we define the passivate timeout for entity beans? (performance)

2003-11-25 Thread Pedro Salazar
Greetings, I'm developing an application (web service) that should access to entity beans through some session beans. My entity beans when loading must load other entity beans too. This process takes about 50-70ms . If I cache that information, my business method should take only about 4-5ms. H

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Alexey Loubyansky
Yes. Rafal Kedziorski wrote: At 15:39 25.11.2003, Alexey Loubyansky wrote: Could you try with false? By default is this false. --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive?

Re: [JBoss-user] commit options

2003-11-25 Thread Nicholas
Imagine there is you with your EJBs executing transactions and queries against your database. At the same time, there are a few other applications doing the same thing, but using direct SQL and not your EJBs. (This is setting aside all new and sophisticated cache invalidation schemes) Option A: Th

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Rafal Kedziorski
At 15:39 25.11.2003, Alexey Loubyansky wrote: Could you try with false? By default is this false. Rafal Kedziorski wrote: hi, At 14:28 25.11.2003, Alexey Loubyansky wrote: Can you see that container loads data from the database while performing 3.? Other than primary key. We've checked this. We

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Rafal Kedziorski
At 15:24 25.11.2003, Alexey Loubyansky wrote: With commit option C instances are not cached between transactions. I know, but we have other experiences. See my other mail. Rafal Kedziorski wrote: At 14:28 25.11.2003, Alexey Loubyansky wrote: Can you see that container loads data from the databas

[JBoss-user] [OT] reporting engines/tools

2003-11-25 Thread Butt, Dudley
Hi all, Has anyone used any good reporting stuff recently? Please let me know. We're currently evaluating to get rid of our Crystal reports, just need to know some other options...THANX NOTICE: This message contains privileged and confidential information intended only for the person or

[JBoss-user] JMS benchmarking

2003-11-25 Thread Bill Burke
Anybody know of a good benchmarking suite for JMS? If so, are you willing at all to help port it to JBoss? Thanks, Bill -- Bill Burke Chief Architect JBoss Group LLC. --- This SF.net email is sponsored by: S

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Alexey Loubyansky
Could you try with false? Rafal Kedziorski wrote: hi, At 14:28 25.11.2003, Alexey Loubyansky wrote: Can you see that container loads data from the database while performing 3.? Other than primary key. We've checked this. We call in the first transaction out business method, which get's data

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Alexey Loubyansky
With commit option C instances are not cached between transactions. Rafal Kedziorski wrote: At 14:28 25.11.2003, Alexey Loubyansky wrote: Can you see that container loads data from the database while performing 3.? Other than primary key. We have to check this. It's possible to switch off ca

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Rafal Kedziorski
hi, At 14:28 25.11.2003, Alexey Loubyansky wrote: Can you see that container loads data from the database while performing 3.? Other than primary key. We've checked this. We call in the first transaction out business method, which get's data from folder table by primary key. In the logfile from

[JBoss-user] jmx-invoker-adaptor-server.sar vs. jmx-rmi-adaptor.sar - Bad For WebConsole ?

2003-11-25 Thread Nicholas
I noticed that after swapping out jmx-invoker-adaptor-server.sar for jmx-rmi-adaptor.sar, the web console is having trouble deploying. I am assuming they are related, but its a bit nebulous: 08:58:09,390 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:[EMAIL PROTECTED] 0

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Rafal Kedziorski
At 14:28 25.11.2003, Alexey Loubyansky wrote: Can you see that container loads data from the database while performing 3.? Other than primary key. We have to check this. It's possible to switch off caching? Rafal Kedziorski wrote: At 13:50 25.11.2003, Alexey Loubyansky wrote: Are 1. and 3. pef

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Alexey Loubyansky
Can you see that container loads data from the database while performing 3.? Other than primary key. Rafal Kedziorski wrote: At 13:50 25.11.2003, Alexey Loubyansky wrote: Are 1. and 3. peformed in the same transaction? If so, this is the expected behaviour. no. 1. is one transaction, 2. is o

RE: [JBoss-user] commit options

2003-11-25 Thread Rupp, Heiko
There were resently post on this ML explaining it. And I am sure that the (free) 3.0 Guide also explains them. If not, the CMP doc does. Heiko -- Heiko W. Rupp EMail: [EMAIL PROTECTED] Senior Consultant Telefon: +49 711 222 992 - 900 Cellent AG Finance Solutions

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Rafal Kedziorski
At 13:50 25.11.2003, Alexey Loubyansky wrote: Are 1. and 3. peformed in the same transaction? If so, this is the expected behaviour. no. 1. is one transaction, 2. is one transaction and 3. is one transaction. Rafal Kedziorski wrote: At 12:24 25.11.2003, Alexey Loubyansky wrote: Why do you think

[JBoss-user] commit options

2003-11-25 Thread Ionel GARDAIS
Hi, There have been some posts about use of commit options. What are the different commit-options made for ? When to use one or other commit-option ? = -- Regards, Ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Alexey Loubyansky
Are 1. and 3. peformed in the same transaction? If so, this is the expected behaviour. Rafal Kedziorski wrote: At 12:24 25.11.2003, Alexey Loubyansky wrote: Why do you think so? Cause we can see it. We have a folder table. We don't want that JBoss is caching entities from this table, cause w

RE: [JBoss-user] clustering vs. sticky session using SLSB

2003-11-25 Thread Sacha Labourey
web client or fat java client? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ECYSent: mercredi, 26. novembre 2003 04:40To: [EMAIL PROTECTED]Subject: [JBoss-user] clustering vs. sticky session using SLSB Sorry for this stupid question, but if I NEED loa

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Rafal Kedziorski
At 12:24 25.11.2003, Alexey Loubyansky wrote: Why do you think so? Cause we can see it. We have a folder table. We don't want that JBoss is caching entities from this table, cause we use SQL to make some updates in this table. Out container-configuration looks so: S

[JBoss-user] clustering vs. sticky session using SLSB

2003-11-25 Thread ECY
Sorry for this stupid question, but if I NEED load distribution and DOESN'T NEED fail-over feature (fault tolerance), do I have to cluster the jboss instances when using SLSB?   Or will load-balancer + sticky session be more appropriate for this scenario?   Thanks in advance!   Regards, Shoti

Re: [JBoss-user] Optimistic locking and Commit Option A

2003-11-25 Thread Kevin Conner
Alexey Loubyansky wrote: Let's get the world involved. Is this an invite? :-) My main interest in optimistic locking is to get rid of some deadlock problems we have experienced. We stuck with the pessimistic locking and enabled read-only methods. The CMP engine grabs the lock for the duration of

Re: [JBoss-user] Switch off caching ...

2003-11-25 Thread Alexey Loubyansky
Why do you think so? Rafal Kedziorski wrote: hi, it's possible to switch off caching in Entity Beans? We user Commit Option C, but JBoss is caching the entities. Regards, Rafal --- This SF.net email is sponsored by: SF.net Giveback Program.

Re: [JBoss-user] Optimistic locking and Commit Option A

2003-11-25 Thread Alexey Loubyansky
Let's get the world involved. Pete Beck wrote: Thanks Alex. My main interest in optimistic locking is to get rid of some deadlock problems we have experienced. But I think that using instance per transaction by itself will have the same effect anyway? Not really. This sounds a bit weird but you c

RE: [JBoss-user] Setting up Stores on JBoss

2003-11-25 Thread Brian McSweeney
Thanks Scott, Yep, have looked at this in the docs. Could you tell me though, will I need to restart JBoss each time I add a virtual host? Ie, do changes in the jboss-web.xml and jbossweb-tomcat41.sar\META-INF\jboss-service.xml get picked up on the fly? Thanks for your help, Brian -Origin

RE: [JBoss-user] JbossMQ error: 'User: null is NOT authenticated'

2003-11-25 Thread Panagiotis Korros
The result before the error is: jbossmq LoginConfiguration LoginModule Class: org.jboss.mq.sm.file.DynamicLoginModule ControlFlag: LoginModuleControlFlag: required Options:name=sm.objectname, value=jboss.mq:service=StateManager name=unauthenticatedIdentity, value=guest The result after the error i

Re: [JBoss-user] apache + mod_jk + jboss*2 = no load balancing.

2003-11-25 Thread Olve Hansen
On 25.11.2003 03:27 Mike Lindsey wrote: I've got apache talking to a clustered jboss setup, using mod_jk, but I cannot get the load balacing to work. I can force connections to a specific app server, but no matter what I do, I can't get the initial connection to hit a 'random' server. Not s

RE: [JBoss-user] apache + mod_jk + jboss*2 = no load balancing.

2003-11-25 Thread Torsten Terp
Hi, Im about to test the same setup (mod_jk load-balancing, no cluster, sticky sessions, jetty) would you mind sharing your config files and other usefull stuff for this setup? :-) Thanks... Torsten > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of An

[JBoss-user] Switch off caching ...

2003-11-25 Thread Rafal Kedziorski
hi, it's possible to switch off caching in Entity Beans? We user Commit Option C, but JBoss is caching the entities. Regards, Rafal --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more producti

Re: [JBoss-user] running jboss as non-root user

2003-11-25 Thread konf
Yes, you are right, I forgot it and I looked for some mistake in my configuration ... Thanks, Jiri Cituji z emailu od Ricardo Argüello <[EMAIL PROTECTED]>: > Jiri, > > Only root can open process that listen to TCP/IP ports lower than 1024. - This

Re: [JBoss-user] apache + mod_jk + jboss*2 = no load balancing.

2003-11-25 Thread Andrew May
We use a very similar mod_jk set-up and it seems to work. We don't have the cachesize setting though (what does that do?), and we have both lbfactor's set to 10 (for no particular reason - I'd expect 1 on both to behave the same). What we did find when we were testing this is by hand is that it

Re: [JBoss-user] running jboss as non-root user

2003-11-25 Thread Rupp, Heiko
Title: [JBoss-user] running jboss as non-root user > I would like to run jboss as non-root user (at unix). It works when his servlet> container runs on port 8080, but if I swith to port 80, I must run it as root.> Is it intent or do I something wrong? It is normal behaviour under Unix that

Re: [JBoss-user] running jboss as non-root user

2003-11-25 Thread Ricardo Argüello
Jiri, Only root can open process that listen to TCP/IP ports lower than 1024. Maybe this could help: "Tell iptables to forward incoming requests on port 80 to tomcat" (http://rimuhosting.com/support/jsphosting.jsp) --- Running Tomcat on

[JBoss-user] running jboss as non-root user

2003-11-25 Thread konf
Hallo, I would like to run jboss as non-root user (at unix). It works when his servlet container runs on port 8080, but if I swith to port 80, I must run it as root. Is it intent or do I something wrong? Thanks, Jiri - This mail sent through IMP:

[JBoss-user] URL Rewriting in Apache for Tomcat/Jetty

2003-11-25 Thread Jon Barnett
There have been a couple of questions about URL rewriting in the forums. It is an important topic when you want a web crawler to index your dynamic site as web crawlers normally will not index content on a website that looks like it is generated dynamically. The technical note provides an example