prashant komaragiri

Ranch Hand
+ Follow
since Jan 23, 2001
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 prashant komaragiri

Hi Ppls,
i have been trying to access a bean Using Local Interfaces, i got this
error :
javax.naming.CommunicationException. Root exception is
java.lang.ClassNotFoundE
xception: org.jboss.ejb.plugins.local.LocalHomeProxy (no security
manager: RMI c
lass loader disabled)

the same thing works fine if i use remote interfaces but doesn't work
for local interfaces.Any Solutions ?
Thanks in Advance,
Prashant
20 years ago
Its a Black bear.. cause there is a zoo bang at the north pole and the Black Bear is in that zoo
20 years ago
Hello Ppls,
I am getting this error while connecting from a web application running in Tomcat in linux.
one particular test i did was to check for the socket
connection and as well as check for the database connection, in this case
i could open the socket but could not open the database connection :
here is the code :
<%
out.println("Checking For Sockets listening on For IP *.*.*.* port
*");
try {
Socket socket = new Socket("*.*.*.*",*);
out.println(" yes Success : " + socket);
socket.close();
}
catch(Exception e) {
out.println(e.getMessage());
}
%>
<%
out.println("Testing Connection :");
try {
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Connection connection =
DriverManager.getConnection("jdbc:microsoft:sqlserver://*.*.*.*:*;DatabaseName=databasename","username","password");
out.println("Connection Successful" + connection);
connection.close();
}
catch(Exception e) {
out.println("Exception Raised"+e);
out.println(e.getMessage());
}

%>

JSP Output :
Checking For Sockets listening on For IP *.*.*.* port * yes Success :
Socket[addr=/*.*.*.*,port=*,localport=36812]
Testing Connection : Exception Raisedjava.sql.SQLException:
[Microsoft][SQLServer JDBC Driver]Error establishing socket.
[Microsoft][SQLServer JDBC Driver]Error establishing socket.

Any Solutions,Thanks in advance,
Regards,
Prashant
HI all,
i want to know how to read a string containing comma seperated values.in short i want something equivalent to StringTokenizer in Sql.
Thanks in advance.
Prashant Komaragiri
Alx ,Thanks , Great Job .
Prashant
Hi Lakshmeenarayana,
Iam checking the mail from outlook .And Looking at source of the mail throug view source,it does'nt contain anything related to session.
Prashant
21 years ago
JSP
Hi Guys,
Thanks for the reply.
* No iam not passing username through query string.
* I have put userid in session and check for the user id in the page .i.e if user id is null then go to UserLogin.Still its getting redirected to login page
Prashant
21 years ago
JSP
Hi All,
I am testing my site .Say if i log on to site as 'A' and send an auto mail to myself contining the link of some page in site.Then if i click this link it should first redirect me to Login page, but it is taking me as User 'A' and directly showing the page.How to prvent this?
Prashant
21 years ago
JSP

Originally posted by Bosun Bello:
It seems like the DB does not support something. You may need to post some more code.


Hi Bosun
That is the Query which iam executing. The query is working fine in MS Access 2000 Sql Window.This query iam Executing through a jsp page Using tomcat.
Prashant
Hi,
I am trying to execute this query
SELECT Format(Appointments.AppointmentStartDateTime, "mm/dd/yyyy h") + ':00:00' As ModeDateTime From Appointments
after executing it gave the following error :
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters.
My Back End is Access and iam using jdbc-odbc bridge.
Any solutions ?
Prashant
ok
I got the solution , this i got it from orielly's book - java servlet programming.Thing which i did wrong was not creating the image before hand.
prashant
22 years ago
Hi,
I have an application where in i need to develop dynamic chart image from a servlet.i tried it using awt and GIFEncoder but it wont create an image until the entire content is drawn and displayed, this would mean that a window will pop up on the server side for a brief moment,this is not a proper solution.Is there any alternate solution for this ?
Thanks in advance.
Prashant
22 years ago
Hi,
I am looking for freeware java class file obfuscator, i have gone thru some of the obfuscators but they could not do for the classes which implements Serializable.
Thanks in advance.
prashant
22 years ago
Hi Tim,
I am using tomcat 3.2 , but i didn't get any information about this in documentation.
22 years ago
JSP
Hi,
Can anyone give a complete description on how to perform precompile on a jsp using jspc and explain how to use it(call it). Thanks in advance.
Prashant
22 years ago
JSP