RE: [JBoss-user] Httpsession clustering synch?

2002-11-05 Thread Sacha Labourey
OK, now that we know what is your environment, can you explain a little bit more your problem i.e. if server a is in use, then I start server b, server b won't have the session ;) Cheers, Sacha -Message d'origine- De : [EMAIL PROTECTED]

Re: [JBoss-user] Httpsession clustering synch?

2002-11-05 Thread Jules Gosnell
Sacha, JBoss/Jetty's current default session distribution is an attribute-by-attribute native JG based impl, not the whole-session-at-a-time jbossha-based one. So this is a problem in my code - you can relax :-) Rick, Could you send me the server.logs for both servers showing startup,

[JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction?

2002-11-05 Thread Victor Batista
Hello! I am developing two entity beans which have a relatinship 1-N (One User can have Many Roles). I have also a Facade session bean to handle the business operations. I have declared the Transaction property of my beans (Entity and session) as Supports. The methods which insert

Re: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction?

2002-11-05 Thread julien viet
yes they have. --- Victor Batista [EMAIL PROTECTED] a écrit : Hello! I am developing two entity beans which have a relatinship 1-N (One User can have Many Roles). I have also a Facade session bean to handle the business operations. I have declared the Transaction property of

RE: [JBoss-user] Httpsession clustering synch?

2002-11-05 Thread Sacha Labourey
Ah, ok, I thought he was using the JBoss' one. Anyway, I was interested in the problem and wasn't able to understand the scenario. Did you? ;) -Message d'origine- De : [EMAIL PROTECTED] [mailto:jboss-user-admin;lists.sourceforge.net]De la part de Jules Gosnell Envoyé : mardi, 5

Re: [JBoss-user] Httpsession clustering synch?

2002-11-05 Thread Jules Gosnell
I think it is simply that a new node is not correctly initialising it's state from the existing state of the cluster. - Rick ? I use the native JG setState()? stuff to do this, but it is a while since I looked at it... Hopefully the server logs should throw some light on it. Jules Sacha

Re: [JBoss-user] User Monitoring

2002-11-05 Thread Emerson Cargnin - SICREDI Serviços
or take a look at http://www.opensymphony.com/clickstream/ there's others framework's worth of using too... Greg Turner wrote: One option is to check out the for pay software, AppSure, from JBoss partner www.alignmentsoftware.com. I've seen a demo and its well worth consideration. Luttrell,

Re: [JBoss-user] Httpsession clustering synch?

2002-11-05 Thread Rick LaBanca
I'll try this when I get back to work today. I think it is simply that a new node is not correctly initialising it's state from the existing state of the cluster. - Rick ? Yes that's it. Things like this that are handy to know, I wasn't sure if this was the intended behavior in the first place

[JBoss-user] Jetty falling over using DatabaseServerLoginModule with unauthorised user

2002-11-05 Thread Jonathan . O'Connor
I have finally got a WAR that has secured pages using JAAS. When I use UsersRolesLoginModule, it correctly goes to my error page with a 403 error if I login with a user who does not have the right role. Now, I have changed to using the DatabaseServerLoginModule, and it works correctly if I

RE: [JBoss-user] Httpsession clustering synch?

2002-11-05 Thread Sacha Labourey
But now that I do, I will try your debug idea and see what I can get for logs. BTW I am very glad to hear the sessions are updated with attribute granularity! Session level would kill my app I think! it really depends. Some MVC framework use a single HTTPSession attribute to store all the

[JBoss-user] update of .jar files in lib directory

2002-11-05 Thread hans albers
Hi there! How can I tell JBoss to reload the .jar files in the lib directory. Is a restart of the JBoss server necessary? Hans _ Messenger  -  Wer in Echtzeit kommunizieren will, lädt den MSN Messenger. Cool, kostenlos und mit

RE: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction?

2002-11-05 Thread Herve Tchepannou
Title: RE: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction? Is this a requirement of EJB standard or just due to JBoss implementation? -Original Message- From: julien viet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 05, 2002 6:16 AM To:

Re: [JBoss-user] JBoss-3.0.4 released

2002-11-05 Thread Scott M Stark
What class contains the change? Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: LaBanca, Rick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 9:59 AM Subject: RE: [JBoss-user]

Re: [JBoss-user] DatabaseServerLoginModule

2002-11-05 Thread Scott M Stark
Turn on DEBUG level messages by editing the conf/lo4j.xml file and removing the param name=Threshold value=INFO/ from the FILE appender and then look of the following msgs: Binding security/securityMgr to NullSecurityManager Linking security/securityMgr to JNDI name: x Most likely the

[JBoss-user] Build failed from CVS

2002-11-05 Thread Michael I Angerman
C:\work\jboss-all\buildbuild Calling ..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property _buildmagic:init:local-properties: [copy] Copying 1 file to C:\work\jboss-all\build BUILD FAILED

Re: [JBoss-user] changes in login-config.xml no effect

2002-11-05 Thread Scott M Stark
The login-config.xml file is currently only read on startup so if the server has not been restarted the changes won't be seen. If this is not the case then the security domain name is not mapping to the expected entry and is most likely defauting to other. Scott Stark

Re: [JBoss-user] update of .jar files in lib directory

2002-11-05 Thread Scott M Stark
jars in lib ar not monitored for changes and in general cannot be updated as they are shared across many components that would have to be restarted to propely recycle the classes. Restart is required to pickup changes. Jars that are changing should be associated with a component in the deploy

Re: [JBoss-user] MBean Question

2002-11-05 Thread Scott M Stark
Its the definition of how JMX standard mbeans are identified. Its a pure naming convention that requires there be an interface XMbean for class X. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Greg

Re: [JBoss-user] Error logging

2002-11-05 Thread Scott M Stark
Add the following to the log4j.xml file: appender name=ERRS class=org.jboss.logging.appender.DailyRollingFileAppender param name=File value=${jboss.server.home.dir}/log/error.log/ param name=Append value=false/ ... /appender category name=STDERR appender-ref ref=ERRS/

Re: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction?

2002-11-05 Thread Dain Sundstrom
It is in the spec. It would be easy to support iterating outside of the spec, but you would get an inconsistent database on a writeable database. -dain Herve Tchepannou wrote: Is this a requirement of EJB standard or just due to JBoss implementation? -Original Message- From: julien

[JBoss-user] IllegalStateException: The iterator of a CMR collection may onlybe used within the transction in which it was created

2002-11-05 Thread Alexey Yudichev
Title: IllegalStateException: The iterator of a CMR collection may only be used within the transction in which it was created Jboss 3.0.4, CMP2.0 bean, simple business method is called by remote client. Method declaration is: public String getSizeAsString(Locale locale) { try { int size

Re: [JBoss-user] MBean Question

2002-11-05 Thread Greg Turner
Thanks. But that was not the question. The question was whether or not XMBean had to be in same package as X. The answer turns out to be yes, but the manual from the advanced training says no. The incorrect info in the manual was the source of my confusion. Scott M Stark wrote: Its the

Re: [JBoss-user] Build failed from CVS

2002-11-05 Thread Bruce Scharlau
At 07:03 05/11/2002 -0800, you wrote: C:\work\jboss-all\buildbuild Calling ..\tools\bin\ant.bat -logger org.apache.tools.ant.NoBannerLogger Buildfile: build.xml _buildmagic:init: Trying to override old definition of task property _buildmagic:init:local-properties: [copy] Copying 1 file

RE: [JBoss-user] Httpsession clustering synch?

2002-11-05 Thread LaBanca, Rick
Sounds like trouble, if it's big. We are exploring and think the optimal will turn out to be sessions containing keys/timestamps to act as kind of cache dirty flags, and pull the full data from a central source. -Original Message- From: Jules Gosnell [mailto:jules;mortbay.com] Sent:

Re: [JBoss-user] MacOS X + Norton Personal Firewall

2002-11-05 Thread Marius Kotsbak
Please do not reply to an existing message with a new topic. This links it to the subject Entity Bean Performance... On tir, 2002-11-05 at 03:44, Frank Morton wrote: I upgraded to MacOS X 10.2.1 and Norton Personal Firewall Software 2.0.0 and begin to have strange problems that kind of acted

RE: [JBoss-user] Httpsession clustering synch?

2002-11-05 Thread LaBanca, Rick
I haven't done the full log idea yet, but here is one line from the standard log that looks interesting 2002-11-05 12:32:38,083 INFO [org.mortbay.j2ee.session.JGStore] could not retrieve current sessions from JavaGroups I'll do your enhancement to the logs next. -Original Message-

Re: [JBoss-user] Error when building jboss

2002-11-05 Thread Stephen Davidson
[EMAIL PROTECTED] wrote: Stephen Davidson wrote: Greetings. I am having the EXACT same problem, but with JBoss v3.2 NOTE: I was able to build and run 3.0.0 and 3.0.1 successfully. My System; SuSE Linux 8.0 JDK 1.4.1 I posted a message earlier, but there was no response. I am considering

Re: [JBoss-user] Error when building jboss

2002-11-05 Thread Joao Pedro Clemente
What do you mean, install the bins? Shouldn't the build scripts be calling what it needs from the downloaded bin directory? Or is there a new package I need to install on my system in order to get this to compile? I think he meant use the binaries, the already compiled versions of JBoss,

[JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuning Help)

2002-11-05 Thread Luttrell, Peter
The "Entity Bean Performance Tuning Help" thread went off in various different directions. The thread begged a sample and a little more detail as to what was slow. I've identified the problem to be (CMRs) and provided a full sample (attached). Lets rehash what i'm testing: The code

RE: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuning Help)

2002-11-05 Thread Herve Tchepannou
1. What's the read-ahead/strategy of findAll() ? Since you want to get all the beans value object, it should be set to on-find, otherwhise, you are going to have the N+1 finder problem 2. Since you're populating the ValueObject with the content of your CMR fields, because each access to

Re: [JBoss-user] Entity Bean Performance Tuning Help

2002-11-05 Thread Stephen Coy
Hi, Have you tried your tests out on 3.0.4 yet? Some CMR performance optimisations made it into 3.0.4, because we desperately needed them for our own application. Steve Coy On Wednesday, November 6, 2002, at 06:37 AM, Luttrell, Peter wrote: Nope it's defiantly cached. The first time it

[JBoss-user] Order of deployment

2002-11-05 Thread Dushyant Shrivastava
HI, I have an application ear which comprises of a jar and a sar. Following is the dependency AnotherJar - sar jar AnotherJar is deployed seperately outside the ear at this stage, but I am keen to include it within the ear as well! Now I need

Re: [JBoss-user] Order of deployment

2002-11-05 Thread Azfar Kazmi
I never needed it myself but following seems to be relevant: --Azfar - Original Message - From: Jim Crossley [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 25, 2002 12:45 PM Subject: Re: [JBoss-user] Can my ant-task wait for JBoss to deploy? Use ant's get task to hit

Re: [JBoss-user] Order of deployment

2002-11-05 Thread David Jencks
x.ear y.sar another.jar z.jar should do what you want. You can put jars as well as classes in a .sar. at the same level (in a .ear) you should get the .sar or *-service.xml deployed before a .jar. You do need to list the .sar in a jboss-app.xml dd next to application.xml in the

RE: [JBoss-user] DatabaseServerLoginModule

2002-11-05 Thread Contact
Scott: Thanks so much for the tip, jboss-web.xml visibility was a big part of the problem here. I am indeed much closer now - but not quite there yet. My only remaining problem is with the hashAlgorithm. Everything is working perfectly as long as I have a clear password in the database and I do

[JBoss-user]

2002-11-05 Thread
Öйú·þÎñÈ«ÇòרҵµÄÓòÃû×¢²áÌṩÉÌ£¬ÏÖÍƳöÖ÷»ú¡¢ÓòÃû×¢²áÓŻݷþÎñ£º ¡°ÌØ»Ý1+1ÆóÒµÉÏÍøÌײ͡±ÊÇÖйú·þÎñÆ÷ÍøÂçÓÐÏÞ¹«Ë¾ÎªÄúÍƳöµÄ³¬Öµ·þÎñ£¬ ¡°ÏÈ·þÎñ£¬ºóÊÕ·Ñ£¡¡±ÄÚÈÝ°üÀ¨£º 30M asp cgi,php +ACCESS Êý¾Ý¿â,Ë͹ú¼Ê¶¥¼¶ÓòÃûÒ»¸ö 250Ôª/Äê (ËÍÎå¸öÓÊÏä) 100M asp cgi,php +ACCESS

[JBoss-user] JBoss 3.0.* with Resin 2.1.*

2002-11-05 Thread otisg
Hello, I have not been able to find any documents/emails/posts that describe how to set up JBoss 3.0.* with Resin 2.1.*. I have set up Resin 2.1.1 and JBoss 2.4.4 before, but since JBoss 3 directory layout is so different I thought I'd ask here first before spending a day figuring this out. If