sajag patel

Greenhorn
+ Follow
since Dec 20, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sajag patel

We are experiencing problems running Tomcat 4.1.24 with Apache 2.0.47 and Oracle 9i all on Solaris 8 on Unix 3 boxes. We have 4 instances of Tomcat running with 1 instance of Apache. Here�s what we were experiencing:
1)When 50 concurrent users try logging in, the application would slow down tremendously and would sometimes even crash the oracle instance.
a)We did resolved this partially by adding (AbandonedTimeout = 60) to the server.xml file to our DefaultContext.
b)We are still experiencing slow downs or system hanging for a period of 1 or 2 minutes and then coming back real fast.
We have run an Oracle profiler and can�t seem to find any issues with it. We have checked to make sure all the connections are being closed through code. We have also checked the Tomcat server.xml file to make sure its configured right. We also ran top to watch the processes and memory nothing seems to be out of control. We are running out of ideas, can anyone suggest any ideas? Thanks.
20 years ago
Hi all,
Can anyone help me, and tell me why I am getting a javax.servlet.ServletException: No data read error.
Here's the code:
Connection c = null;
ResultSet rs = null;
CallableStatement cstmt = null;

try {
public static String GET_VALIDATEMESSAGE_STATEMENT = "call get_message(?, ?)";
cstmt = c.prepareCall(GET_VALIDATEMESSAGE_STATEMENT);
cstmt.registerOutParameter(2,OracleTypes.CURSOR);
cstmt.setInt(1, userID);
cstmt.execute();
if(!(cstmt.wasNull())){
rs = (ResultSet)cstmt.getObject(2);
while (rs.next()) {
System.out.println(rs.getString(1));
MessageCenter mes = new MessageCenter(rs.getString(1), rs.getString(2), rs.getString(3), rs.getString(4));
userMessages.add(mes);
}
}
rs.close();
//ps.close();
cstmt.close();
c.close();
Any help would be much appreciated.
Is it possible to use the attributes of the LDAP schema in queries in conjunction with sql queries?
For instance if I had a person node in LDAP with the following attributes: uid, uidnumber, uidpassword, firstName and lastname, and I wanted to query a table in oracle using the uidnumber attribute in the where clause?
In sql I qould write this as follows:
SELECT * FROM tableA
WHERE uidNumber IN
(SELECT Number from tablePerson)
Is it possible to do such a thing with LDAP?
21 years ago
Why do you need the Datebase to authorize, why not just use the LDAP to do this?
21 years ago
Thanks for the Reply Clayton. My problem was after the authentication, it would not retain the session. But I was able to fix it by placing all my variables into a hashtable, rather than placing the entire bean in the session. But if you have any idea as to why it will not maintain the bean in the session I would like to know. I think it may have to do with the packages that I imported to do the authentication, because when I take them out it works fine.
21 years ago
I am trying to prototpye an LDAP - Directory Server 6 login application. The Authenication and retrieval of the data from the directory Server seems to work fine, but it won't maintain the session. Any thought on this?
21 years ago
Thanks to Dan's and Marcus Green's Mock exams, I was well prepared for the exam. Thanks to everyone else who posted tips on this site.

sajag
21 years ago