[JBoss-user] JBoss 3.0.* with Resin 2.1.*
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 anyone has any experiences/hints to share, I'm all eyes! Thanks, Otis Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] 企业上网建站空间域名
Öйú·þÎñÈ«ÇòרҵµÄÓòÃû×¢²áÌṩÉÌ£¬ÏÖÍƳöÖ÷»ú¡¢ÓòÃû×¢²áÓŻݷþÎñ£º ¡°ÌØ»Ý1+1ÆóÒµÉÏÍøÌײ͡±ÊÇÖйú·þÎñÆ÷ÍøÂçÓÐÏÞ¹«Ë¾ÎªÄúÍƳöµÄ³¬Öµ·þÎñ£¬ ¡°ÏÈ·þÎñ£¬ºóÊÕ·Ñ£¡¡±ÄÚÈÝ°üÀ¨£º 30M asp cgi,php +ACCESS Êý¾Ý¿â,Ë͹ú¼Ê¶¥¼¶ÓòÃûÒ»¸ö 250Ôª/Äê (ËÍÎå¸öÓÊÏä) 100M asp cgi,php +ACCESS Êý¾Ý¿â,Ë͹ú¼Ê¶¥¼¶ÓòÃûÒ»¸ö£¬Ö»Ðè 350Ôª/Äê(ËÍÁù¸öÓÊÏä) 200N asp cgi,php +ACCESS Êý¾Ý¿â,Ë͹ú¼Ê¶¥¼¶ÓòÃûÒ»¸ö,Ö»Ðè 600Ôª/Äê ÌØ»Ý1+1ÉÏÍøÌײÍÊÇÆóÒµÉÏÍø£¬ÆóÒµÉÌÎñ»¯µÄÀíÏëÑ¡Ôñ£¬ÏÖÕý»ð±¬Ñ¡¹ºÖÐ ¿ìËÙ¶ÈÉêÇë(Çëµã»÷£©£º http://www.linemail.net/host/index.asp = °Ù¶È¾º¼Û¡¢ÐÂÀËÅÅÃû¡¢ËѺüÅÅÃû¡¢ÍøÒ×ÅÅÃûµÈ·þÎñ£¬Ê¹ÄúµÄÍøÕ¾ÖªÃû¶È´ó´óÌá ¸ß¡£ÏµÁг¬ÖµÔùËÍ·þÎñ£¬²»¿É²»¿´£¡ ÂíÉÏÉêÇë: http://www.linemail.net/special/index.asp == »¶Ó·ÃÎÊÎÒ˾ÍøÕ¾½øÒ»²½Á˽⣺ http://www.linemail.net ÁªÏµµç»°:0592-2180338 QQ:93767793 --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] DatabaseServerLoginModule
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 not add the hashAlgorithm and hashEncoding s to the following section of my login-config.xml. As soon as I put an MD5'ed password in the database and add the hasAlgorithm and hashEncoding options, it stops working (with typical invalid password Error msg). java:/SecurityPool select password from users where username=? select role, rolegroup from roles where username=? MD5 base64 I am using JBoss 3.0.4 with a MySQL database. The database contains the password in MD5 encrypted format and I have verified the query by hand from a mysql prompt (to verify it returns expected MD5 encrypted password). What else do I need to do to make this encryption work? Does my princiaplsQuery need to be modified? As uunderstand from the Quick Start Guide, the hashAlgorithm will cause the clear text password retrieved from the CallBackHandler to be MD5'ed before it's passed for comparison. Since the database contains and MD5 encrypted password, these should match with the query as is? Am I missing something else? Thanks again. -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin@;lists.sourceforge.net] On Behalf Of Scott M Stark Sent: Tuesday, November 05, 2002 7:51 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] DatabaseServerLoginModule Turn on DEBUG level messages by editing the conf/lo4j.xml file and removing the 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 war/WEB-INF/jboss-web.xml file is not being seen. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 9:37 AM Subject: Re: [JBoss-user] DatabaseServerLoginModule > Then why am I not seeing any output in the console or logfiles > indicating that authentication is even occuring, let alone having any problems? Is there something in some other file that I need to modify to turn this on? I have verified the queries against my schema via mysql by hand - there doe not appear to be any problem there. I just don't think that authentication is really being processed in my environment - although the login.html is presented as expected - just not really validated against anything (always appears to return success regardless of input). > > Todd --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Order of deployment
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 .ear (I think this is true of 3.0x, it is certainly true of 3.2 and 4) david jencks On 2002.11.05 21:36:59 -0500 Dushyant Shrivastava wrote: > HI, > I have an application ear which comprises of a jar and a sar. Following > is the dependency > > AnotherJar <- sar> 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 to make sure that the sar is deployed first and the then the > jar(both are inside the ear). Is there anyway to do this besides naming > them as such : 1.sar, 2.jar?? > > also if I put AnotherJar inside the ear as well, I would need to make > sure that it is deployed first before the sar! My colleague and myself > have observed that if a jar and sar is packaged into an EAR, that the sar > is deployed first and then the jar. Is this a standard behaviour. Is it a > safe assumption to make that this would always be the case! If not how > can I make sure that certain order of deployment is followed! > > Any help is much appreciated > > P.S: I am using JBoss 3.0.2 , JDK 1.4.1, ANT 1.4.1 > > Dushy > > __ > DUSHYANT SHRIVASTAVA > Software Engineer > > YAMBAY > > tel +61 (0) 8 9323 6999 > mob +61 (0) 402 902 652 > fax +61 (0) 8 9325 2688 > web www.yambay.com > > Yambay Technologies Pty Ltd > 7th Floor, The Victoria, 14-16 Victoria Ave, Perth. WA, 6000, Australia > >_ > > This message and any files transmitted with it are confidential and are > intended solely for the use of those persons to > whom the message is addressed. If you have received this message in > error, please destroy and delete this > message from your computer. Any unauthorised form of reproduction of this > message or any files transmitted with > it is strictly prohibited. yambay does not make any warranty concerning > the security of any information electronically > transmitted and disclaims all liability for the proper and complete > transmission of any information contained or purportedly > contained in this message, nor for any delay in its receipt. If you > receive this message in error please notify the sender. > >_ > > > > > > > > > > > > class=988423002-06112002>HI, > I have an > application ear which comprises of a jar and a sar. Following is the > dependency > class=988423002-06112002> > AnotherJar > <- sar > class=988423002-06112002> > AnotherJar is > > deployed seperately outside the ear at this stage, but I am keen to > include it > within the ear as well! > class=988423002-06112002> > Now I need to > make > sure that the sar is deployed first and the then the jar(both are inside > the > ear). Is there anyway to do this besides naming them as such : 1.sar, > 2.jar?? > class=988423002-06112002> > also if I put > > AnotherJar inside the ear as well, I would need to make sure that it is > deployed > first before the sar! My colleague and myself have observed that if a jar > and > sar is packaged into an EAR, that the sar is deployed first and then the > jar. Is > this a standard behaviour. Is it a safe assumption to make that this > would > always be the case! If not how can I make sure that certain order of > deployment > is followed! > class=988423002-06112002> > Any help is > much > appreciated > class=988423002-06112002> > P.S: I am > using > JBoss 3.0.2 , JDK 1.4.1, ANT 1.4.1 > class=988423002-06112002> > class=988423002-06112002>Dushy > __DUSHYANT > > SHRIVASTAVASoftware > EngineerYAMBAYtel > +61 (0) 8 > 9323 6999mob +61 (0) 402 902 652fax > +61 > (0) 8 9325 2688web www.yambay.com > face=Arial color=#80 size=2>Yambay Technologies Pty Ltd7th Floor, > The > Victoria, 14-16 Victoria Ave, Perth. WA, 6000, > >Australia_This > > message and any files transmitted with it are confidential and are > intended > solely for the use of those persons towhom the message is addressed. > If you > have received this message in error, please destroy and delete > thismessage > from your computer. Any unauthorised form of reproduction of this message > or any > files transmitted withit is strictly prohibited. yambay does not make > any > warranty concerning the security of any information > electronicallytransmitted and disclaims all
Re: [JBoss-user] Order of deployment
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 task to hit the jmx-console. The URL should look like this: > > http://localhost:8080/jmx-console/HtmlAdaptor?action=invokeOpByName&name=jbo ss.system:service%3DMainDeployer&methodName=deploy&argType=java.lang.String& arg=${deploy.target} > > Your deploy.target property should look something like this: > file:/the/path/to/your/app.ear > > The task is synchronous, so upon its return, your app will be > deployed. That way, your test target may depend on your deploy target. > > Good luck, > Jim > > Thorbjørn Ravn Andersen wrote: > > I would like for my "ant deploy" task - which currently just copies > > files into server/default/deploy - to wait until JBoss has finished > > deploying and is ready to serve again, as I have a status page I would > > like to be automatically checked to confirm that things are ok, before > > continuing. Jetty reports a 404 until things are fully deployed :( > > > > Can this be done? Or can I make Jetty wait to serve the request until > > the whole system is ready again? > > > > [If this is in the pay-documentation, please say so. My work does not > > have a credit card :( ] > > > > Thorbjørn Ravn Andersen Scandiatransplant > > Skejby Sygehus, indgang 3 > > +45 89 49 53 01 DK-8200 Århus N > > http://biobase.dk/~tra - Original Message - From: Dushyant Shrivastava To: [EMAIL PROTECTED] Sent: Tuesday, November 05, 2002 6:36 PM Subject: [JBoss-user] Order of deployment HI, I have an application ear which comprises of a jar and a sar. Following is the dependency AnotherJar <- sar
[JBoss-user] Order of deployment
HI, I have an application ear which comprises of a jar and a sar. Following is the dependency AnotherJar <- sar
Re: [JBoss-user] Entity Bean Performance Tuning Help
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 takes almost 12,000ms to build the beans. Yes that is 10 times slower...course it does have to initiate the db connections, and the db isn't very fast. .peter -Original Message- From: Dain Sundstrom [mailto:dain@;daingroup.com] Sent: Monday, November 04, 2002 7:09 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Entity Bean Performance Tuning Help Luttrell, Peter wrote: It is faster. I tried it in response to danch's message early in the thread. Thus I have the same question (which no one commented on): "Time ~1200ms is a lot better then the original 2200, but can this still be acceptable for reading ~10 fields from 750ejbs that are 100% cached?" Here is the email in this thread reporting the results: I think you will get the same answer, run a profiler and find out what is taking the 1200 ms. It should be obvious. If you can't fix whatever is taking all the time, come back and complain about "x" being really slow. My guess is the data isn't cached and it is taking 1199 ms to get it from the database and 1 ms to build the value object. -dain --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuning Help)
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 the CMR fields will call their findByPrimaryKey() to load them. Me, I always load CMR when needed. If they are always needed, then I use de Dependant Value Class 3. Internal/External ValueObject creation. This make sense because in the external, each call of a getter from the ValueObject passes via the beanProxy (+ interceptors), where in the internal case you are already in the bean, then no overhead of the beanProxy 4. It may be interesting to see the result if you load all the 1000 beans, but return just a page of 25 ValueObjects, which is how most web-pages works to avoid those performance problems - then, make sure that the read-ahead strategy of the findAll() is set to on-load -Original Message-From: Luttrell, Peter [mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 05, 2002 4:00 PMTo: '[EMAIL PROTECTED]'Subject: [JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuning Help) 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 runs inside of a SSB with a transaction on each method vs servlet (struts action) + manual transaction as in the real app. I use hypersonic vs oracle in my real app. calls findAll() dumps out the time iterates through each calling all methods and building a valueobject. this should cache all results (checkout my jboss.xml) iterates through each calling all methods and building a valueobject (a 2nd time) dumps out the time iterates through each and calling 1 method on ejb, which builds the valueobject internally dumps out the time I'm mostly concerned with the last time, as it's what i do in my real case...because it's the fastest. The entitybean has 2 CMRs. The read-all+fields time for 1000 cached beans using internal valueobject generation takes about 670ms. But with 1 cmr it only takes 350ms. And with No cmrs it only takes 150ms. [if you want slightly modified code, let me know]. Now 150ms is great! But 350 isn't. It's more then double. Is this acceptable? Add a few more and it's unusable for a lot of applications. Arguably cmp EntityBeans were worthless till ejb2.0 and CMRs came along. But to actually use them in JBoss is suicide for performance. The attached sample has a test class called "Test", which can be run with -c to generate 1000 test rows. Also included is an ant script which builds the test beans and deploys them to jboss, if you set your jboss.install path in build.properties. Here the actual output from my last test run: 14:31:36,312 INFO [STDOUT] creating 1000 Blobs...14:31:43,968 INFO [STDOUT] Creation complete, took 7656ms.14:31:46,328 INFO [STDOUT] testing retrival speed...14:31:46,328 INFO [STDOUT] Initial Retrival, beans may or maynot be in cache.14:31:46,375 INFO [STDOUT] finder took 47ms.14:31:49,140 INFO [STDOUT] External ValueObject creation took 2765ms for 1000 objects.14:31:49,859 INFO [STDOUT] Internal ValueObject creation took 719ms for 1000 objects.14:31:49,859 INFO [STDOUT] Secondary Retrival, beans are in cache.14:31:50,125 INFO [STDOUT] finder took 266ms.14:31:52,765 INFO [STDOUT] External ValueObject creation took 2640ms for 1000 objects.14:31:53,437 INFO [STDOUT] Internal ValueObject creation took 672ms for 1000 objects. These results also beg the question of why the interceptor stack takes so long to transversion, hense the extra 2000ms for 1000s ejbs, but lets leave that for a seperate thread. .peter This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us wi
[JBoss-user] CMRs are Slow (was: Entity Bean Performance Tuning Help)
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 runs inside of a SSB with a transaction on each method vs servlet (struts action) + manual transaction as in the real app. I use hypersonic vs oracle in my real app. calls findAll() dumps out the time iterates through each calling all methods and building a valueobject. this should cache all results (checkout my jboss.xml) iterates through each calling all methods and building a valueobject (a 2nd time) dumps out the time iterates through each and calling 1 method on ejb, which builds the valueobject internally dumps out the time I'm mostly concerned with the last time, as it's what i do in my real case...because it's the fastest. The entitybean has 2 CMRs. The read-all+fields time for 1000 cached beans using internal valueobject generation takes about 670ms. But with 1 cmr it only takes 350ms. And with No cmrs it only takes 150ms. [if you want slightly modified code, let me know]. Now 150ms is great! But 350 isn't. It's more then double. Is this acceptable? Add a few more and it's unusable for a lot of applications. Arguably cmp EntityBeans were worthless till ejb2.0 and CMRs came along. But to actually use them in JBoss is suicide for performance. The attached sample has a test class called "Test", which can be run with -c to generate 1000 test rows. Also included is an ant script which builds the test beans and deploys them to jboss, if you set your jboss.install path in build.properties. Here the actual output from my last test run: 14:31:36,312 INFO [STDOUT] creating 1000 Blobs...14:31:43,968 INFO [STDOUT] Creation complete, took 7656ms.14:31:46,328 INFO [STDOUT] testing retrival speed...14:31:46,328 INFO [STDOUT] Initial Retrival, beans may or maynot be in cache.14:31:46,375 INFO [STDOUT] finder took 47ms.14:31:49,140 INFO [STDOUT] External ValueObject creation took 2765ms for 1000 objects.14:31:49,859 INFO [STDOUT] Internal ValueObject creation took 719ms for 1000 objects.14:31:49,859 INFO [STDOUT] Secondary Retrival, beans are in cache.14:31:50,125 INFO [STDOUT] finder took 266ms.14:31:52,765 INFO [STDOUT] External ValueObject creation took 2640ms for 1000 objects.14:31:53,437 INFO [STDOUT] Internal ValueObject creation took 672ms for 1000 objects. These results also beg the question of why the interceptor stack takes so long to transversion, hense the extra 2000ms for 1000s ejbs, but lets leave that for a seperate thread. .peter This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. entitybean-withcmr-perf-test.zip Description: Binary data
RE: [JBoss-user] Entity Bean Performance Tuning Help
Nope it's defiantly cached. The first time it takes almost 12,000ms to build the beans. Yes that is 10 times slower...course it does have to initiate the db connections, and the db isn't very fast. .peter -Original Message- From: Dain Sundstrom [mailto:dain@;daingroup.com] Sent: Monday, November 04, 2002 7:09 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Entity Bean Performance Tuning Help Luttrell, Peter wrote: > It is faster. I tried it in response to danch's message early in the thread. > > Thus I have the same question (which no one commented on): "Time ~1200ms is > a lot better then the original 2200, but can this still be acceptable for > reading ~10 fields from 750ejbs that are 100% cached?" > > Here is the email in this thread reporting the results: I think you will get the same answer, run a profiler and find out what is taking the 1200 ms. It should be obvious. If you can't fix whatever is taking all the time, come back and complain about "x" being really slow. My guess is the data isn't cached and it is taking 1199 ms to get it from the database and 1 ms to build the value object. -dain --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Error when building jboss
> 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, instead of trying to compile the sources... --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Error when building jboss
[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 posting a bug. Currently I am running a pre-release custom version of JBoss3.0.1, but would like to upgrade to get some of the many bug fixes and performance enhancements that have since been applied. -Steve Hi Steve, Try to install the bins, that's what I definitely did to make it work... good luck Greetings; 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? Perplexed, Steve -- Java/J2EE Developer/Systems Integrator 214-724-7741 --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Httpsession clustering synch?
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- > From: Jules Gosnell [mailto:jules@;mortbay.com] > Sent: Tuesday, November 05, 2002 6:40 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Httpsession clustering synch? > > > 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 Labourey wrote: > > >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 novembre 2002 11:38 > >>À : [EMAIL PROTECTED] > >>Objet : Re: [JBoss-user] Httpsession clustering synch? > >> > >> > >>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, > >>deployment of the app and the failed session access. > >> > >>If you are running 3.0.4, find the configuration of the session > >>interceptor stack in your > jbossweb.sar/META-INF/jboss-service.xml and > >>insert, near the top, an org.mortbay.j2ee.session.DebugInterceptor > >>before you create these logs. This will echo out all session > >>interactions and give me a much better chance of seeing > what is going on. > >> > >>Cheers, > >> > >>Jules > >> > >> > >>Sacha Labourey wrote: > >> > >>>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] > [mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Rick > LaBanca > Envoyé : mardi, 5 novembre 2002 02:35 > À : [EMAIL PROTECTED] > Objet : Re: [JBoss-user] Httpsession clustering synch? > > > redhat 7.3, jdk 1.4 (sun), jboss 3.0.4 > > Clustering enabled per the clustering doc (copy the > cluster xml file, > jbossha sar, javagroups jar, tag added) > > The test is with precompiled jsp's (so essentially servlets). > > What I am doing now for my simple test is this. I have two > servers clustered > this way. On a third windows box, I have a little utility that > lets me map a > local port to another ip:port, that allows me to switch over > manually. So I > use server A, kick the utility over to B and test. > Everything seems fine > except for this one case. > > Again, it's not clear how it's supposed to work, is it supposed > to synch up > servers coming online after activity has already occurred? > > rick > > > - Original Message - > From: "Jules Gosnell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, November 04, 2002 7:51 PM > Subject: Re: [JBoss-user] Httpsession clustering synch? > > > >OS > >JVM > >JBoss version > >What have you done to enable httpsession clustering > >How are you load-balancing/failing-over between the http nodes > >Are you testing using servlets or JSPs > >etc > > > >Jules > > > >Rick LaBanca wrote: > > > >>Sorry, thought the clustering was abstracted, using > jetty. I'm just at > >> > the > > >>point where I'm not sure of the intended operation. As for > >> > more detail, > I'm > > >>not sure what would be useful. I have it rigged so I can > >> > switch between > two > > >>servers, the only two together. Going to server B won't > get me the > >> > session > > >>info. If I instead start both, then fool with a's > session, b is OK. > >> > >>- Original Message - > >>From: "Jules Gosnell" <[EMAIL PROTECTED]> > >>To: <[EMAIL PROTECTED]> > >>Sent: Monday, November 04, 2002 4:43 PM > >>Subject: Re: [JBoss-user] Httpsession clustering synch? > >> > >> > >> > >>>Jetty or Tomcat - more detail please. > >>> > >>>Jules > >>> > >>>LaBanca, Rick wrote: > >>> > It appears clustering session works
Re: [JBoss-user] MacOS X + Norton Personal Firewall
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 like a resource problem. > Port 8080 would just stop responding. Restarting > JBoss wouldn't do any good, but rebooting the system > made the problem go away for a few hours. > > After trying many different things, the problem has finally > gone away after adding localhost (127.0.0.1) to the firewall > allowing access to port 8080. > > Thought I'd pass it along as more people seem to be > using MacOS X. > > > > > --- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Httpsession clustering synch?
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: Tuesday, November 05, 2002 9:10 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Httpsession clustering synch? > > > Sacha Labourey wrote: > > >>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 session state. In this case, the granularity > is very relative > >;) > > > > I shall have to take this into account in the next iteration > > Jules > > > > > > > > >--- > >This sf.net email is sponsored by: See the NEW Palm > >Tungsten T handheld. Power & Color in a compact size! > >http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > >___ > >JBoss-user mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > __ > __ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus > service working > around the clock, around the globe, visit http://www.messagelabs.com > __ > __ > > > --- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Build failed from CVS
At 07:03 05/11/2002 -0800, you wrote: C:\work\jboss-all\build>build 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 file:C:/work/jboss-all/build/../tools/etc/buildfragments/tools.ent:29: taskdef class xdoclet.modules .jmx.JMXDocletTask cannot be found Windows XP Pro, Patch Level One Jdk 1.4.1 Ant 1.5 Has anyone seen this error message before ? Thanks, Michael the tools.ent file mentioned looks for lib jars with this format: xdoclet/xdoclet.jar when it really wants them to be like this: xdoclet-xdoclet if you go through the file mentioned and do a search replace for '-' and switch them to '/' then it will build. cheers, Bruce Dr. Bruce Scharlau Dept. of Computing Science University of Aberdeen Aberdeen AB24 3UE 01224 272193 http://www.csd.abdn.ac.uk/~bscharla mailto:scharlau@;csd.abdn.ac.uk --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MBean Question
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 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 Turner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 8:21 AM Subject: [JBoss-user] MBean Question I have an MBean which I deploy as a sar file with no problems provided I put the MBean class and its interface in the same package. However, if I move the interface into a separate package, and taking care that the MBean class and interface are in the sar file, JBoss throws an exception, complaining that my class does not expose an MBean interface. I'm running JBoss 3.2 on Win2000. Is this a bug, or is there something else that needs to be put into the deployment descriptor to ensure that the interface is recognized ? Thanks Greg --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-927-2543
[JBoss-user] IllegalStateException: The iterator of a CMR collection may onlybe used within the transction in which it was created
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 = 0; 316: for (Iterator i = getSlides().iterator(); i.hasNext(); ) { size+=((Slide)i.next()).getSize(); } size+=getXml(false, false, -1, locale).toString().getBytes("UTF-8").length; return new DecimalFormat("0.00").format((double)size/1024D); }catch (UnsupportedEncodingException ex) { throw new EJBException(ex); } } From time to time (not every time, approx one time for 20 invocations) I get the exception below. All transaction attributes for all beans in application declared as: SMIL * Required Looks pretty much like a bug because of reproduce instability. 2002-11-05 17:54:20,987 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException: java.lang.IllegalStateException: The iterator of a CMR collection may only be used within the transction in which it was created at org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet$1.verifyIteratorIsValid(RelationSet.java:309) at org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet$1.hasNext(RelationSet.java:269) at com.tw.mms.ejb.SMILBean.getSizeAsString(SMILBean.java:316) at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1194) at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:95) at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:297) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:90) at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163) at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:107) at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:69) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:107) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:178) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204) at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493) at org.jboss.ejb.Container.invoke(Container.java:712) at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382) at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:144) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:536) Best wishes, Alexei Yudichev
Re: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction?
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 viet [mailto:julien_viet@;yahoo.fr] Sent: Tuesday, November 05, 2002 6:16 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction? 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 my beans > (Entity and session) as > "Supports". The methods which insert or update data > are declared as > "Required". I don't want read-only operations to be > executed inside > transactions. > I have one method (getUser) which returns a VO with > the User data and calls > the relation method (getRoles() which returns a > Collection of Roles). As > this is a read operation, I don't want a transaction > to handle this method. > Although I am having one exception when I try to > iterate the list of roles > returned by the getRoles method > > > java.lang.IllegalStateException: A CMR collection > may only be used within > the transction in which it was created > > > Does CMR collections have to be accessed inside > transactions? > > Thanks in advance, > Victor Batista > > > > > > --- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact > size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ___ 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: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Dain Sundstrom Chief Architect JBossCMP JBoss Group, LLC --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Error logging
Add the following to the log4j.xml file: ... Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 12:07 AM Subject: [JBoss-user] Error logging > Is it possible to create any error.log file for System.err.println() > commands in server/default/log folder? > > Is there any available configuration file? > > Thanks > > Vassilis > > > --- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MBean Question
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 Turner" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 8:21 AM Subject: [JBoss-user] MBean Question > I have an MBean which I deploy as a sar file with no problems provided I > put the MBean class and its interface in the same package. However, if > I move the interface into a separate package, and taking care that the > MBean class and interface are in the sar file, JBoss throws an > exception, complaining that my class does not expose an MBean interface. > I'm running JBoss 3.2 on Win2000. Is this a bug, or is there something > else that needs to be put into the deployment descriptor to ensure that > the interface is recognized ? > > Thanks > > Greg > > > > --- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] update of .jar files in lib directory
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 directory. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "hans albers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 05, 2002 6:17 AM Subject: [JBoss-user] update of .jar files in lib directory > 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 3D Emoticons: http://messenger.msn.de > > > > --- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] changes in login-config.xml no effect
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 Chief Technology Officer JBoss Group, LLC - Original Message - From: "hans albers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 05, 2002 1:56 AM Subject: [JBoss-user] changes in login-config.xml no effect > JBoss 3.0.4 > > If I change my login-config.xml so that my security-domain > has to uses another login-modul (I swap the names of the > security-domains), JBoss always uses the modul that was used > at the start. > > What's wrong? > > Hans > > > > > > _ > MSN Groups & Chat - Freunde finden - leicht gemacht > http://groups.msn.com/people/ > > > > --- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Build failed from CVS
C:\work\jboss-all\build>build 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 file:C:/work/jboss-all/build/../tools/etc/buildfragments/tools.ent:29: taskdef class xdoclet.modules .jmx.JMXDocletTask cannot be found Windows XP Pro, Patch Level One Jdk 1.4.1 Ant 1.5 Has anyone seen this error message before ? Thanks, Michael __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] DatabaseServerLoginModule
Turn on DEBUG level messages by editing the conf/lo4j.xml file and removing the 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 war/WEB-INF/jboss-web.xml file is not being seen. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 9:37 AM Subject: Re: [JBoss-user] DatabaseServerLoginModule > Then why am I not seeing any output in the console or logfiles indicating that >authentication is even occuring, let alone having any problems? Is there something in some other file that I need to modify to turn this on? I have verified the queries against my schema via mysql by hand - there doe not appear to be any problem there. I just don't think that authentication is really being processed in my environment - although the login.html is presented as expected - just not really validated against anything (always appears to return success regardless of input). > > Todd --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss-3.0.4 released
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] JBoss-3.0.4 released > > Warning to some, my 3.0.4 won't talk to 3.0.2 because a serialversionid > changed somewhere down the line. Maybe there was a warning somewhere in the > release notes but didn't find it! > > Scott, is there any desire someday to make revs talk to each other at least > within one release? It sure makes gradual rollout tough! > > Rick > > > > -Original Message- > > From: Scott M Stark [mailto:scottmstark@;attbi.com] > > Sent: Sunday, November 03, 2002 2:36 AM > > To: [EMAIL PROTECTED]; > > [EMAIL PROTECTED] > > Subject: [JBoss-user] JBoss-3.0.4 released > > > > > > JBoss-3.0.4 has been released to SourceForge and in addition > > to the default > > Jetty web container includes bundled versions of Tomcat-4.0.6 > > and Tomcat-4.1.12. > > > > The releases may be downloaded from: > > http://sourceforge.net/project/showfiles.php?group_id=22866 > > > > The release notes are available here: > > http://sourceforge.net/project/shownotes.php?release_id=120145 > > > > > > Scott Stark > > Chief Technology Officer > > JBoss Group, LLC > > > > > > > > --- > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > Las Vegas (supported by COMDEX), the only Apache event to be > > fully supported by the ASF. http://www.apachecon.com > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > --- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction?
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: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction? 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 my beans > (Entity and session) as > "Supports". The methods which insert or update data > are declared as > "Required". I don't want read-only operations to be > executed inside > transactions. > I have one method (getUser) which returns a VO with > the User data and calls > the relation method (getRoles() which returns a > Collection of Roles). As > this is a read operation, I don't want a transaction > to handle this method. > Although I am having one exception when I try to > iterate the list of roles > returned by the getRoles method > > > java.lang.IllegalStateException: A CMR collection > may only be used within > the transction in which it was created > > > Does CMR collections have to be accessed inside > transactions? > > Thanks in advance, > Victor Batista > > > > > > --- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact > size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ___ 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: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] update of .jar files in lib directory
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 3D Emoticons: http://messenger.msn.de --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Httpsession clustering synch?
Sacha Labourey wrote: 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 session state. In this case, the granularity is very relative ;) I shall have to take this into account in the next iteration Jules --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Httpsession clustering synch?
> 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 session state. In this case, the granularity is very relative ;) --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Jetty falling over using DatabaseServerLoginModule with unauthorised user
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 login with a user who has the correct role. It also works correctly, (it displays an error page) if I try logging in an unknown user or if I give a bad password. But when I give a valid user/password for a user who lacks the correct role, JBoss 3.0.3 spits out a stack trace: 13:37:53,542 WARN [jbossweb] WARNING: AUTH FAILURE: role for aidan 13:37:53,582 WARN [jbossweb] WARNING: Exception for /security-test/restricted/Welcome.jsp org.apache.jasper.JasperException: No output directory: String index out of range: -1 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:536) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:284) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:577) at org.mortbay.http.HttpContext.handle(HttpContext.java:1674) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:544) at org.mortbay.http.HttpResponse.sendError(HttpResponse.java:360) at org.mortbay.http.SecurityConstraint.check(SecurityConstraint.java:391) at org.mortbay.http.HttpContext.checkSecurityContstraints(HttpContext.java:1433) at org.mortbay.jetty.servlet.WebApplicationContext.checkSecurityContstraints(WebApplicationContext.java:1210) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:225) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:577) at org.mortbay.http.HttpContext.handle(HttpContext.java:1674) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:544) at org.mortbay.http.HttpContext.handle(HttpContext.java:1624) at org.mortbay.http.HttpServer.service(HttpServer.java:875) at org.jboss.jetty.Jetty.service(Jetty.java:541) at org.mortbay.http.HttpConnection.service(HttpConnection.java:785) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:935) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:802) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:200) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:294) at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743) at java.lang.Thread.run(Thread.java:536) 13:37:53,682 WARN [jbossweb] WARNING: Error 500 while serving error page for 403 Any clues would be welcome. Ciao, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Httpsession clustering synch?
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 and it was really my first question. I'm reluctant to post until I know that. 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! rick rick - Original Message - From: "Jules Gosnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 05, 2002 6:39 AM Subject: Re: [JBoss-user] Httpsession clustering synch? > 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 Labourey wrote: > > >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 novembre 2002 11:38 > >>À : [EMAIL PROTECTED] > >>Objet : Re: [JBoss-user] Httpsession clustering synch? > >> > >> > >>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, > >>deployment of the app and the failed session access. > >> > >>If you are running 3.0.4, find the configuration of the session > >>interceptor stack in your jbossweb.sar/META-INF/jboss-service.xml and > >>insert, near the top, an org.mortbay.j2ee.session.DebugInterceptor > >>before you create these logs. This will echo out all session > >>interactions and give me a much better chance of seeing what is going on. > >> > >>Cheers, > >> > >>Jules > >> > >> > >>Sacha Labourey wrote: > >> > >>>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] > [mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Rick > LaBanca > Envoyé : mardi, 5 novembre 2002 02:35 > À : [EMAIL PROTECTED] > Objet : Re: [JBoss-user] Httpsession clustering synch? > > > redhat 7.3, jdk 1.4 (sun), jboss 3.0.4 > > Clustering enabled per the clustering doc (copy the cluster xml file, > jbossha sar, javagroups jar, tag added) > > The test is with precompiled jsp's (so essentially servlets). > > What I am doing now for my simple test is this. I have two > servers clustered > this way. On a third windows box, I have a little utility that > lets me map a > local port to another ip:port, that allows me to switch over > manually. So I > use server A, kick the utility over to B and test. Everything seems fine > except for this one case. > > Again, it's not clear how it's supposed to work, is it supposed > to synch up > servers coming online after activity has already occurred? > > rick > > > - Original Message - > From: "Jules Gosnell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, November 04, 2002 7:51 PM > Subject: Re: [JBoss-user] Httpsession clustering synch? > > > >OS > >JVM > >JBoss version > >What have you done to enable httpsession clustering > >How are you load-balancing/failing-over between the http nodes > >Are you testing using servlets or JSPs > >etc > > > >Jules > > > >Rick LaBanca wrote: > > > >>Sorry, thought the clustering was abstracted, using jetty. I'm just at > >> > the > > >>point where I'm not sure of the intended operation. As for > >> > more detail, > I'm > > >>not sure what would be useful. I have it rigged so I can > >> > switch between > two > > >>servers, the only two together. Going to server B won't get me the > >> > session > > >>info. If I instead start both, then fool with a's session, b is OK. > >> > >>- Original Message - > >>From: "Jules Gosnell" <[EMAIL PROTECTED]> > >>To: <[EMAIL PROTECTED]> > >>Sent: Monday, November 04, 2002 4:43 PM >
Re: [JBoss-user] User Monitoring
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, Peter wrote: My sysadmin has one large grip with JBoss: There is no way to tell who is using a webapp at a particular time, which he claims is possible with Weblogic. I'm using Jetty, if i turn on the metrics, i can ascertain how many sessions are active (not timed out). Does anyone know how i can figure out what the userPrincipal is for the httpsessions? Or does anyone have any other ideas on how to monitor Who is using Jboss? Other then the obvious one, which is write a bunch of custom code that updates some custom monitor through filters or interceptors or manually? thanks. .peter This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. -- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-927-2543 -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx| --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Httpsession clustering synch?
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 Labourey wrote: 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 novembre 2002 11:38 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] Httpsession clustering synch? 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, deployment of the app and the failed session access. If you are running 3.0.4, find the configuration of the session interceptor stack in your jbossweb.sar/META-INF/jboss-service.xml and insert, near the top, an org.mortbay.j2ee.session.DebugInterceptor before you create these logs. This will echo out all session interactions and give me a much better chance of seeing what is going on. Cheers, Jules Sacha Labourey wrote: 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] [mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Rick LaBanca Envoyé : mardi, 5 novembre 2002 02:35 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] Httpsession clustering synch? redhat 7.3, jdk 1.4 (sun), jboss 3.0.4 Clustering enabled per the clustering doc (copy the cluster xml file, jbossha sar, javagroups jar, tag added) The test is with precompiled jsp's (so essentially servlets). What I am doing now for my simple test is this. I have two servers clustered this way. On a third windows box, I have a little utility that lets me map a local port to another ip:port, that allows me to switch over manually. So I use server A, kick the utility over to B and test. Everything seems fine except for this one case. Again, it's not clear how it's supposed to work, is it supposed to synch up servers coming online after activity has already occurred? rick - Original Message - From: "Jules Gosnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 7:51 PM Subject: Re: [JBoss-user] Httpsession clustering synch? OS JVM JBoss version What have you done to enable httpsession clustering How are you load-balancing/failing-over between the http nodes Are you testing using servlets or JSPs etc Jules Rick LaBanca wrote: Sorry, thought the clustering was abstracted, using jetty. I'm just at the point where I'm not sure of the intended operation. As for more detail, I'm not sure what would be useful. I have it rigged so I can switch between two servers, the only two together. Going to server B won't get me the session info. If I instead start both, then fool with a's session, b is OK. - Original Message - From: "Jules Gosnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 4:43 PM Subject: Re: [JBoss-user] Httpsession clustering synch? Jetty or Tomcat - more detail please. Jules LaBanca, Rick wrote: It appears clustering session works well, except for one condition. If server a is in use, then I start server b, server b won't have the session info (I guess it wasn't around to hear it). Is this just the limits of the javagroups type session persistence? (Or maybe I still have a setting botched somewhere) Rick --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___
RE: [JBoss-user] Httpsession clustering synch?
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 novembre 2002 11:38 > À : [EMAIL PROTECTED] > Objet : Re: [JBoss-user] Httpsession clustering synch? > > > 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, > deployment of the app and the failed session access. > > If you are running 3.0.4, find the configuration of the session > interceptor stack in your jbossweb.sar/META-INF/jboss-service.xml and > insert, near the top, an org.mortbay.j2ee.session.DebugInterceptor > before you create these logs. This will echo out all session > interactions and give me a much better chance of seeing what is going on. > > Cheers, > > Jules > > > Sacha Labourey wrote: > > >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] > >>[mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Rick > >>LaBanca > >>Envoyé : mardi, 5 novembre 2002 02:35 > >>À : [EMAIL PROTECTED] > >>Objet : Re: [JBoss-user] Httpsession clustering synch? > >> > >> > >>redhat 7.3, jdk 1.4 (sun), jboss 3.0.4 > >> > >>Clustering enabled per the clustering doc (copy the cluster xml file, > >>jbossha sar, javagroups jar, tag added) > >> > >>The test is with precompiled jsp's (so essentially servlets). > >> > >>What I am doing now for my simple test is this. I have two > >>servers clustered > >>this way. On a third windows box, I have a little utility that > >>lets me map a > >>local port to another ip:port, that allows me to switch over > >>manually. So I > >>use server A, kick the utility over to B and test. Everything seems fine > >>except for this one case. > >> > >>Again, it's not clear how it's supposed to work, is it supposed > >>to synch up > >>servers coming online after activity has already occurred? > >> > >>rick > >> > >> > >>- Original Message - > >>From: "Jules Gosnell" <[EMAIL PROTECTED]> > >>To: <[EMAIL PROTECTED]> > >>Sent: Monday, November 04, 2002 7:51 PM > >>Subject: Re: [JBoss-user] Httpsession clustering synch? > >> > >> > >>>OS > >>>JVM > >>>JBoss version > >>>What have you done to enable httpsession clustering > >>>How are you load-balancing/failing-over between the http nodes > >>>Are you testing using servlets or JSPs > >>>etc > >>> > >>>Jules > >>> > >>>Rick LaBanca wrote: > >>> > Sorry, thought the clustering was abstracted, using jetty. I'm just at > > >>the > >> > point where I'm not sure of the intended operation. As for > > >>more detail, > >>I'm > >> > not sure what would be useful. I have it rigged so I can > > >>switch between > >>two > >> > servers, the only two together. Going to server B won't get me the > > >>session > >> > info. If I instead start both, then fool with a's session, b is OK. > > - Original Message - > From: "Jules Gosnell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, November 04, 2002 4:43 PM > Subject: Re: [JBoss-user] Httpsession clustering synch? > > > > >Jetty or Tomcat - more detail please. > > > >Jules > > > >LaBanca, Rick wrote: > > > >>It appears clustering session works well, except for one > >> > >>condition. If > >> > >>server a is in use, then I start server b, server b won't have the > >> > session > > >>info (I guess it wasn't around to hear it). Is this just the > >> > >>limits of > >> > the > > >>javagroups type session persistence? (Or maybe I still have > a setting > >>botched somewhere) > >> > >>Rick > >> > >> > >>--- > >>This SF.net email is sponsored by: ApacheCon, November 18-21 in > >>Las Vegas (supported by COMDEX), the only Apache event to be > >>fully supported by the ASF. http://www.apachecon.com > >>___ > >>JBoss-user mailing list > >>[EMAIL PROTECTED] > >>https://lists.sourceforge.net/lists/listinfo/jboss-user > >> > > > > > > > > > >--- > >This SF.net email is sponsored by: ApacheCon, November 18-21 in > >Las Vegas (supported by COMDEX), the only Apache event to be > >fully supported by the ASF. http://www.a
Re: [JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction?
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 my beans > (Entity and session) as > "Supports". The methods which insert or update data > are declared as > "Required". I don't want read-only operations to be > executed inside > transactions. > I have one method (getUser) which returns a VO with > the User data and calls > the relation method (getRoles() which returns a > Collection of Roles). As > this is a read operation, I don't want a transaction > to handle this method. > Although I am having one exception when I try to > iterate the list of roles > returned by the getRoles method > > > java.lang.IllegalStateException: A CMR collection > may only be used within > the transction in which it was created > > > Does CMR collections have to be accessed inside > transactions? > > Thanks in advance, > Victor Batista > > > > > > --- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact > size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ___ 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: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Does CMR Collections have to be accessed (iterated) inside a transaction?
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 or update data are declared as "Required". I don't want read-only operations to be executed inside transactions. I have one method (getUser) which returns a VO with the User data and calls the relation method (getRoles() which returns a Collection of Roles). As this is a read operation, I don't want a transaction to handle this method. Although I am having one exception when I try to iterate the list of roles returned by the getRoles method java.lang.IllegalStateException: A CMR collection may only be used within the transction in which it was created Does CMR collections have to be accessed inside transactions? Thanks in advance, Victor Batista --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss & IBM AS 400
Stephen Davidson wrote: > IBM has been regularly upgrading stuff, and I -think- the > older AS400s only had JDK 1.1.8 and 1.2. > There are later versions out for the AS400, but I am not sure > how late. JDK 1.4 is available for V5R2. Benjamin --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Httpsession clustering synch?
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, deployment of the app and the failed session access. If you are running 3.0.4, find the configuration of the session interceptor stack in your jbossweb.sar/META-INF/jboss-service.xml and insert, near the top, an org.mortbay.j2ee.session.DebugInterceptor before you create these logs. This will echo out all session interactions and give me a much better chance of seeing what is going on. Cheers, Jules Sacha Labourey wrote: 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] [mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Rick LaBanca Envoyé : mardi, 5 novembre 2002 02:35 À : [EMAIL PROTECTED] Objet : Re: [JBoss-user] Httpsession clustering synch? redhat 7.3, jdk 1.4 (sun), jboss 3.0.4 Clustering enabled per the clustering doc (copy the cluster xml file, jbossha sar, javagroups jar, tag added) The test is with precompiled jsp's (so essentially servlets). What I am doing now for my simple test is this. I have two servers clustered this way. On a third windows box, I have a little utility that lets me map a local port to another ip:port, that allows me to switch over manually. So I use server A, kick the utility over to B and test. Everything seems fine except for this one case. Again, it's not clear how it's supposed to work, is it supposed to synch up servers coming online after activity has already occurred? rick - Original Message - From: "Jules Gosnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 7:51 PM Subject: Re: [JBoss-user] Httpsession clustering synch? OS JVM JBoss version What have you done to enable httpsession clustering How are you load-balancing/failing-over between the http nodes Are you testing using servlets or JSPs etc Jules Rick LaBanca wrote: Sorry, thought the clustering was abstracted, using jetty. I'm just at the point where I'm not sure of the intended operation. As for more detail, I'm not sure what would be useful. I have it rigged so I can switch between two servers, the only two together. Going to server B won't get me the session info. If I instead start both, then fool with a's session, b is OK. - Original Message - From: "Jules Gosnell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 4:43 PM Subject: Re: [JBoss-user] Httpsession clustering synch? Jetty or Tomcat - more detail please. Jules LaBanca, Rick wrote: It appears clustering session works well, except for one condition. If server a is in use, then I start server b, server b won't have the session info (I guess it wasn't around to hear it). Is this just the limits of the javagroups type session persistence? (Or maybe I still have a setting botched somewhere) Rick --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the
[JBoss-user] changes in login-config.xml no effect
JBoss 3.0.4 If I change my login-config.xml so that my security-domain has to uses another login-modul (I swap the names of the security-domains), JBoss always uses the modul that was used at the start. What's wrong? Hans _ MSN Groups & Chat - Freunde finden - leicht gemacht http://groups.msn.com/people/ --- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Httpsession clustering synch?
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] > [mailto:jboss-user-admin@;lists.sourceforge.net]De la part de Rick > LaBanca > Envoyé : mardi, 5 novembre 2002 02:35 > À : [EMAIL PROTECTED] > Objet : Re: [JBoss-user] Httpsession clustering synch? > > > redhat 7.3, jdk 1.4 (sun), jboss 3.0.4 > > Clustering enabled per the clustering doc (copy the cluster xml file, > jbossha sar, javagroups jar, tag added) > > The test is with precompiled jsp's (so essentially servlets). > > What I am doing now for my simple test is this. I have two > servers clustered > this way. On a third windows box, I have a little utility that > lets me map a > local port to another ip:port, that allows me to switch over > manually. So I > use server A, kick the utility over to B and test. Everything seems fine > except for this one case. > > Again, it's not clear how it's supposed to work, is it supposed > to synch up > servers coming online after activity has already occurred? > > rick > > > - Original Message - > From: "Jules Gosnell" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, November 04, 2002 7:51 PM > Subject: Re: [JBoss-user] Httpsession clustering synch? > > > > > > OS > > JVM > > JBoss version > > What have you done to enable httpsession clustering > > How are you load-balancing/failing-over between the http nodes > > Are you testing using servlets or JSPs > > etc > > > > Jules > > > > Rick LaBanca wrote: > > > Sorry, thought the clustering was abstracted, using jetty. I'm just at > the > > > point where I'm not sure of the intended operation. As for > more detail, > I'm > > > not sure what would be useful. I have it rigged so I can > switch between > two > > > servers, the only two together. Going to server B won't get me the > session > > > info. If I instead start both, then fool with a's session, b is OK. > > > > > > - Original Message - > > > From: "Jules Gosnell" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Monday, November 04, 2002 4:43 PM > > > Subject: Re: [JBoss-user] Httpsession clustering synch? > > > > > > > > > > > >>Jetty or Tomcat - more detail please. > > >> > > >>Jules > > >> > > >>LaBanca, Rick wrote: > > >> > > >>>It appears clustering session works well, except for one > condition. If > > >>>server a is in use, then I start server b, server b won't have the > > >> > > > session > > > > > >>>info (I guess it wasn't around to hear it). Is this just the > limits of > > >> > > > the > > > > > >>>javagroups type session persistence? (Or maybe I still have a setting > > >>>botched somewhere) > > >>> > > >>>Rick > > >>> > > >>> > > >>>--- > > >>>This SF.net email is sponsored by: ApacheCon, November 18-21 in > > >>>Las Vegas (supported by COMDEX), the only Apache event to be > > >>>fully supported by the ASF. http://www.apachecon.com > > >>>___ > > >>>JBoss-user mailing list > > >>>[EMAIL PROTECTED] > > >>>https://lists.sourceforge.net/lists/listinfo/jboss-user > > >> > > >> > > >> > > >> > > >> > > >>--- > > >>This SF.net email is sponsored by: ApacheCon, November 18-21 in > > >>Las Vegas (supported by COMDEX), the only Apache event to be > > >>fully supported by the ASF. http://www.apachecon.com > > >>___ > > >>JBoss-user mailing list > > >>[EMAIL PROTECTED] > > >>https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > > > > > > --- > > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > > Las Vegas (supported by COMDEX), the only Apache event to be > > > fully supported by the ASF. http://www.apachecon.com > > > ___ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > > > --- > > This SF.net email is sponsored by: ApacheCon, November 18-21 in > > Las Vegas (supported by COMDEX), the only Apache event to be > > fully supported by the ASF. http://www.apachecon.com > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > --- > This SF.net email is sponsored by: ApacheCon, November 18-21 in > Las Vegas (supported by COMDEX), the only Apache event to be > fully supported by the ASF. http://www.apachecon.com > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.