Re: [JBoss-user] JAAS login failure logging in JBoss/Tomcat?

2003-07-09 Thread Ricardo Argüello
Hi, I'd like to write a custom subclass of the included database JAAS login module. I want to log the timestamp and IP address of the user attempting to log in. Maybe lock out the IP address for certain amount of time if the login fails more than 3 times, etc. What should I need to change in

[JBoss-user] [ANN] Sydney Training.

2003-07-09 Thread Greg Wilkins
Core Developers Network and Mort Bay Consulting are pleased to confirm the date and location of our first training session: The Open Source J2EE web tier. http://www.coredevelopers.net/services/training/august_sydney.jsp I'll be presenting the course over 3 days from the 25th August. The

[JBoss-user] Strange log message

2003-07-09 Thread Danny . Yates
Title: Message Hi guys, I've left JBoss running (idle) overnight, and I've come back to find this on the console: 18:10:54,448 INFO [Manager] local scavenging...18:20:53,995 INFO [Manager] local scavenging...18:23:20,246 ERROR [SubscribingInterceptor] could not get

Re: [JBoss-user] Q. on size of data marshalled!!!

2003-07-09 Thread Adrian Brock
Since you are using 1.3 it doesn't show the server stacktrace, all you get is what you posted before. Is there an exception logged on the server? What is the signature for localExecute? Regards, Adrian On Wed, 2003-07-09 at 05:33, Muraly R wrote: Hi Adrian, Thanks for the

Re: [JBoss-user] Entity Commands

2003-07-09 Thread Alexey Loubyansky
Hello Peter, at the moment, you can specify only the commands that create entities. The only way around is to add/implement this facility. Also, note, in 3.2.2 [create] entity commands got major refactoring. alex Tuesday, July 08, 2003, 11:06:55 PM, Peter Spiess wrote: PS If I understand how

Re: [JBoss-user] sar deployment question

2003-07-09 Thread David Jencks
I very much doubt this is a problem with the class-missing code since I've seen similar problems in various other circumstances. A way of reproducing the problem would be welcome. IMO these problems are caused by trying to roll back incomplete failed deployments. It is very hard to know just

Re: [JBoss-user] Module jms missing from jboss-head

2003-07-09 Thread Scott M Stark
The jms code is in the jboss-head/messaging directory obtained from the checkout of the jboss-head module. -- Scott Stark Chief Technology Officer JBoss Group, LLC Alwyn Schoeman wrote: Hi, I couldn't confirm this with viewcvs as jboss-head is

Re: [JBoss-user] Reentrancy Issues w/ 3.2.1 + Optimistic Locking

2003-07-09 Thread Alexey Loubyansky
Hello Javier, - if you change locking policy to pessimistic (in 3.2.1) does reentrance occur? - could you describe the situation when it occurs? - how do you configure optimistic locking? Thanks, alex Wednesday, July 09, 2003, 3:31:49 AM, Javier Soltero wrote: JS Hi, JS We're in the

[JBoss-user] Linkage error

2003-07-09 Thread Oisin Kim
Hello all, I have the same ejb-jar file deployed at different jndi locations: context_test1 and context_test2. Bascially the ejb jar files contain the same classes but have modified xml descriptors and separate databases. They deploy fine and I can see both applications using the web-console,

Re: [JBoss-user] Reentrancy Issues w/ 3.2.1 + Optimistic Locking

2003-07-09 Thread Simone Milani
Hi, Make sure that you configure your container like this: container-configuration extends=Instance Per Transaction CMP 2.x EntityBean container-nameOptimistic CMP 2.x EntityBean/container-name locking-policyorg.jboss.ejb.plugins.lock.JDBCOptimisticLock/locking-polic y

RE: [JBoss-user] Reentrancy Issues w/ 3.2.1 + Optimistic Locking

2003-07-09 Thread Javier Soltero
Alex, When we use pessimistic, we get tons of deadlocks. More even than what we were seeing in 3.0.6. The situation it occurs most times is when a value object is being retrieved from an entity bean. The value object in most cases is pulled with some CMR's as well but it fails on value objects

RE: [JBoss-user] Reentrancy Issues w/ 3.2.1 + Optimistic Locking

2003-07-09 Thread Javier Soltero
Thanks, I'm about to try that. Can you (or someone else?) elaborate on why OL requires the use of instance per tx? Will I still get caching from commit option A? -Original Message- From: Simone Milani [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 7:32 AM To: [EMAIL

RE: [JBoss-user] Linkage error

2003-07-09 Thread Danny . Yates
Hi, By default, JBoss uses a slightly confusing concept called the UnifiedClassLoader. Package your JAR file inside an EAR file and then add a line to your jboss-app.xml to create a private classloader and get the behaviour you are expecting. The line to add is:

Re: [JBoss-user] Q. on size of data marshalled!!!

2003-07-09 Thread Muraly R
Hi Adrian, Thanks for pointing me in the right direction... I went to the JBoss server log and the RMI server log(pasted below are the expections). In JBoss server log there is an java.lang.ArrayStoreException. But I am not able to understand the exact cause of this. If you find anything that may

Re: [JBoss-user] Reentrancy Issues w/ 3.2.1 + Optimistic Locking

2003-07-09 Thread Simone Milani
Will I still get caching from commit option A? AFAIK you will only get caching inside a single transaction. Simone -Original Message- From: Simone Milani [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 7:32 AM To: [EMAIL PROTECTED] Hi, Make sure that you configure

Re[2]: [JBoss-user] Reentrancy Issues w/ 3.2.1 + Optimistic Locking

2003-07-09 Thread Alexey Loubyansky
Hello Javier, you should use Instance Per Transaction for OL, as Simone wrote. And to answer your question, commit option A won't work with it. IPT is used because it is the only correct way to allow access to the same entity instances from different transactions. alex Wednesday, July 09,

AW: [JBoss-user] Linkage error

2003-07-09 Thread Janardhan Burugupalli
use ear deployment ...pack each jar file in a separate ear file and deploy ..this works -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag von Oisin Kim Gesendet: Mittwoch, 9. Juli 2003 15:23 An: [EMAIL PROTECTED] Betreff: [JBoss-user] Linkage error Hello

Re: [JBoss-user] constraining session bean pool

2003-07-09 Thread Erik Price
Brian Wallis wrote: On Wed, 9 Jul 2003 10:44, Bill Burke wrote: there is a strict max size setting. Forget the config name. I think it is StrictMaxSizetrue/StrictMaxSize Thanks everyone, I do appreciate the help. However, it doesn't seem to have the effect I was hoping for: When I

RE: [JBoss-user] Linkage error

2003-07-09 Thread Oisin Kim
Thanks Danny and Janardhan, I totally agree with you (Danny) regarding how this may seem confusing to mere mortals ;-) Is there a way to change either the behaviour of the classloader or do this same setting for the deployment of ejb-jars and other j2ee components - it seems very silly to add a

Re: [JBoss-user] Linkage error

2003-07-09 Thread Scott M Stark
3.2 allows for control of the class loading behavior at the ejb-jar, war, sar and ear levels and this is defined in the various dtds in the dist under docs/dtds. The META-INF/jboss.xml config for the ejb-jar would be something like: ?xml version='1.0' encoding='UTF-8' ? !DOCTYPE jboss PUBLIC

Re: [JBoss-user] constraining session bean pool

2003-07-09 Thread Scott M Stark
This is only working for stateless beans and mdbs currently. Its a known issue as there is a unit test which fails because of this. Its on my todo to fix for the 3.2.2RC2 release. -- Scott Stark Chief Technology Officer JBoss Group, LLC Erik Price

Re: [JBoss-user] Q. on size of data marshalled!!!

2003-07-09 Thread Scott M Stark
This means that an array element being read from the stream is not of the type of the array. Attempting to read an Integer into a String[] would cause this for example. It could also be class loader issue due which seems to exist as seen by the IllegalAccess error. --

[JBoss-user] Re: MBeanServer addNotificationListener

2003-07-09 Thread Eric Jain
For the record: I was unable to get notifications to work with XMBeans. Solution: Managed resources *must* extend NotificationBroadcasterSupport. Implementing NotificationBroadcaster won't do the trick; see ModelMBeanInvoker line 132 (JBoss 3.2.1). -- Eric Jain Do you have an example, there

Re: [JBoss-user] constraining session bean pool

2003-07-09 Thread Erik Price
Scott M Stark wrote: This is only working for stateless beans and mdbs currently. Its a known issue as there is a unit test which fails because of this. Its on my todo to fix for the 3.2.2RC2 release. No problem! It's just a learning exercise. Thanks for sparing me a bug hunt, Scott.

[JBoss-user] Release schedule for 3.2.2?

2003-07-09 Thread Gavin Matthews
Hi, I'm in the process of upgrading to 3.2.2 but I need to get fixes that went in after 3.2.2RC1. I looked around sourceforge and jboss.org for a release schedule for 3.2.2 but I couldn't find one (is it documented anywhere?) What are the current estimates for 3.2.2RC2 the release date for

Re: [JBoss-user] Module jms missing from jboss-head

2003-07-09 Thread Alwyn Schoeman
Ok, but why do build/build.sh still fail on trying to build jboss-head/jms? Or is it possible that my build system is out of date? On Wed, Jul 09, 2003 at 06:34:04AM -0700, Scott M Stark wrote: The jms code is in the jboss-head/messaging directory obtained from the checkout of the jboss-head

[JBoss-user] Services Binding Management

2003-07-09 Thread Brian Wallis
(JBoss 3.0.7) Almost does what I want. But I want to configure other things apart from service bindings, ie: JCA deployments. I have a -service.xml file that defines the connection properties for a JCA that connects to an external system. I'd like to package this all together with the app

Re: [JBoss-user] Release schedule for 3.2.2?

2003-07-09 Thread Scott M Stark
3.2.2RC2 next week, 3.2.2 towards the end of the month. -- Scott Stark Chief Technology Officer JBoss Group, LLC Gavin Matthews wrote: Hi, I'm in the process of upgrading to 3.2.2 but I need to get fixes that went in after 3.2.2RC1. I looked

Re: [JBoss-user] Module jms missing from jboss-head

2003-07-09 Thread Scott M Stark
The jms module is the next generation of messaging and is being built in jboss-head. You probably need a fresh checkout of jboss-head to pickup its content definition as these are not retrieved by an update. -- Scott Stark Chief Technology Officer JBoss Group, LLC

Re: [JBoss-user] Services Binding Management

2003-07-09 Thread Scott M Stark
Attribute values of the form: attribute name=MaxSize${OPENCI.MAXCONS}/attribute are already expanded by default. Nested references within an attribute value that are not Text elements like this are not: attribute name=ManagedConnectionFactoryProperties properties

Re: [JBoss-user] JAAS login failure logging in JBoss/Tomcat?

2003-07-09 Thread Scott M Stark
Override the validatePassword method to log any validation failure. The internet address is not available to the login module so this has to be handled in a filter or valve. -- Scott Stark Chief Technology Officer JBoss Group, LLC Ricardo Argüello

Re: [JBoss-user] Services Binding Management

2003-07-09 Thread Guy Rouillier
Have you thought of using something like jConfig at http://www.jconfig.org? Philosophically like the Windows registry - you can keep your setting separately from your JAR/EAR/SAR etc. With jConfig, you can choose your data source - XML file, database, etc. Brian Wallis wrote: (JBoss 3.0.7)

[JBoss-user] JAVA PROJECT FOR $100

2003-07-09 Thread nfs_ nfs
http://www.thesoftwareobjects.com/CoderBidDetails?prod=22check=false _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail