[JBoss-user] [JCA/JBoss] - Re: DataSource doesn't scale

2006-01-16 Thread scswarga
After all the tuning we applied to JBoss 4.0.3SP1, it was 7 times slower and the throughput was about 7 times lesser when compared to to using Tomcat alone. We will now be using Servlets with our own JDBC Connection Pooling. All our profiling has pointed the hotspot as getting the connection from

[JBoss-user] [JCA/JBoss] - Re: DataSource doesn't scale

2006-01-13 Thread scswarga
Here is the rest of the stack trace. I had profiled the application using OptimizeIt earlier and it was spending 80-90% of its time in trying to acquire a connection from the datasource. I had even bumped up min/max connection to be more than the concurrent requests and it still did not help. Th

[JBoss-user] [JCA/JBoss] - Re: DataSource doesn't scale

2006-01-12 Thread scswarga
Thanks for your response, Scott. The only other place the connection from the datasource is being used is in our Custom Login Module. The connection from the datasource is being used for authenticating the user as part of the methods that need to be overridden to use JBossSX. We get the connecti

[JBoss-user] [JCA/JBoss] - Re: DataSource doesn't scale

2006-01-11 Thread scswarga
The bottleneck is in waiting for getting the connection from the datasource when accessing an Enity Bean finder method which is the first call in the corresponding session bean. The below stack is just one of the waits in the thread dump. "http-0.0.0.0-80-81" daemon prio=5 tid=0x27101890 nid=0x3

[JBoss-user] [JCA/JBoss] - DataSource doesn't scale

2006-01-05 Thread scswarga
I am using JBoss 4.0.3SP1 with Mysql Connector/J 3.1.12 I have been load testing our application and the bottleneck has been in getting the connection from the datasource. It spends lots of time in trying to run execute() method in classes like org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityComma

[JBoss-user] [JBoss.NET] - Re: NoSuchFieldError when deploying .wsr

2005-08-26 Thread scswarga
I am getting the same error while deploying my application after migrating from JBoss 3.2.5 to JBoss 4.0.2. However, even with the error I am able to invoke my web services mapped to my session beans. Please let me know if you got rid of the error you are getting during deployment. Satish View

[JBoss-user] [Security & JAAS/JBoss] - Re: j_security_check error using apache with tomcat

2005-08-18 Thread scswarga
The bug appears to be on JBoss 3.2.7 as well. The request was placed with apache under http://issues.apache.org/bugzilla/show_bug.cgi?id=36108. There is an option with resin to use the j_uri parameter as the uri to redirect to on successful authentication (refer to http://www.novatoyouthsoccer.o

[JBoss-user] [Security & JAAS/JBoss] - Re: j_security_check error using apache with tomcat

2005-08-12 Thread scswarga
I did not get a response for the j_security_check problem. I fixed the problem by changing the org.jboss.web.tomcat.tc4.authenticator.FormAuthenticator in tomcat to get the j_uri parameter from the request object when the savedRequestURI is null. I made a request to apache to have it fixed and w

[JBoss-user] [Security & JAAS/JBoss] - j_security_check error using apache with tomcat

2005-08-09 Thread scswarga
I am using Apache with jboss 3.2.5. I have my JJP connector setup and have mod_jk configured. We wish to host the login page on apache and post to j_security. I have been getting an inconstent behavior on Tomcat. The appliaction lets me login succesfully the first time. However. on subsequent lo

[JBoss-user] [Security & JAAS/JBoss] - Re: j_security_check error using apache with tomcat

2005-08-09 Thread scswarga
I was debugging further and observed that the savedRequestURL from the org.jboss.web.tomcat.tc4.authenticator.FormAuthenticator was null. For the first j_security_check, the user was succesfully redirected to the secured web page. But on subsequent logins, the savedRequestURL is returning null.

[JBoss-user] [Persistence & CMP/JBoss] - Auto Key Sequence problem - Entity does not get the generate

2005-06-09 Thread scswarga
I am using JBoss 3.2.7 with MySQL 4.1.9 & Connector/J 3.1. I use auto increment on the MySQL database. I have applied the entity command using xdoclet * @jboss.entity-command name="mysql-get-generated-keys" The record gets created correctly in the database. However, the entity local returned fr

[JBoss-user] [Persistence & CMP/JBoss] - Auto Increment in MySQL throws EntityNotFoundException

2005-05-17 Thread scswarga
I am using XDoclet and MySQL 4.1.7. I was able to create a record for the related entity. However, when I try to invoke the primary key method on the local returned by the create method, I get an EntityNotFoundException. Here is the example: //Class level tag for the entity bean /* * @jboss.ent

[JBoss-user] [EJB/JBoss] - Re: CMP - Local EJBs are making distinct calls to the databa

2005-04-20 Thread scswarga
More info: I am using CMRs. and value objects using the @ejb.relation and @ejb.value-object xdoclet tags. Example: /* * @ejb.relation * name="customer-user" * role-name="CustomerUserRelationshipRole" * cascade-delete="no" * target-ejb="User" * target-role-name=

[JBoss-user] [EJB/JBoss] - CMP - Local EJBs are making distinct calls to the database w

2005-04-19 Thread scswarga
I am using JBoss 3.2.5 (xdoclet based) with MySQL 4.1 I have been load testing my application and have found that separate database calls are being made to retrieve the persistent field values. The ejb finders are making a single call to retrieve all the field values. Is there a way to make the lo