Tanveer Mehmood

Ranch Hand
+ Follow
since Feb 23, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Tanveer Mehmood

I'm using Jbuilder4. HTML form collects information from user and mails it using servlet. When I invoke the servlet, it gives me error as follows
Error: 500 Location: /servlet/com.TechSupport
An error occured while attempting to access the mail server.
While my message is my own coded one...
I am desperate to run this servlet. Please let me know the easy-to-configure mail server and code changes required.
Looking for an earliest reply...
Tanveer
23 years ago
Thanks Mark.
Tanveer
23 years ago
I am looking for a best host for java. Can somebody tell me the one???
Tanveer
23 years ago
Page cannot be displayed.... I encounter this error when I type http://127.0.0.1, and I'm not behind the firewall even. When I type http://localhost:8080 in address bar, dialog appears and asks me "Work Offline or Try Again". Is there anything wrong with my tomcat configuration. It starts fine when I type "tomcat run" in command window. But when I stop tomcat (shutdown) it generates lots of exception.
All examples which come with tomcat work fine. So whats wrong??? Where should I place my servlets and html contents will be my next question.
I'm stucked up.... Please help me. Waiting for an earliest reply.
Tanveer.
23 years ago
Where should I place my servlets and JSPs with tomcat to run??? Also, what should be the location of HTML files... and depending on that location what would be right call to invoke that servlet or jsp(http://localhost???)
Hoping for early and comprehensive reply.
Tanveer
23 years ago
Here is an improved version of my efforts.
Things have been sorted out a bit.... but when I run tomcat (tomcat run). It starts up. It doesn't generate any error. Print something like...
USING CLASSPATH C:\tomcat\tc\classes\ ............. etc
2001-05-16 06:12:59 - ContextManager: Adding context ctx(/examples)......etc
2001-05-16 06:12:59 - ContextManager Adding context....
.............
.........
........ etc
But when I type http://localhost:8080 in my browser, it says "Unable to connect to internet". I tried it with all the possible options, i.e. startup, tomcat run, tomcat start, the only difference being that it starts in separate window.
And here is my autoexec....
path=c:\jdk1.3\bin;c:\windows;c:\windows\command;
set JAVA_HOME=C:\JDK1.3
set TOMCAT_HOME=C:\tomcat\tc
set ANT_HOME=C:\tomcat\tc
Can somebody help me out plzzzzzzzzzzzzz.
Tanveer
23 years ago
Hello,
This end of life now. I put one complete day in it but didn't succeed. Now please, please, please help me out.
When I run it like c:\tomcat\jakarta-tomcat\bin\tomcat run, it gives me this....
Using CLASSPATH: C:\tomcat\jakarta-tomcat\classes
Exception in thread "main" java.lang.NoClassDefFoundError: \lib\tools/jar
When I run it like :\tomcat\jakarta-tomcat\bin\startup, it gives me this...
Using CLASSPATH:C:\tomcat\jakarta-tomcat\classes;C:\JDK1.3\lib\tools.jar
Starting tomcat in new window.
But when I type http://localhost:8080/, windows dialog box appears to ask "connect to internet?"
While here is my autoexec.bat
path=c:\jdk1.3\bin;c:\windows;c:\windows\command
set JAVA_HOME=C:\JDK1.3
set TOMCAT_HOME=C:\tomcat\jakarta-tomcat
set ANT_HOME=C:\tomcat\jakarta-tomcat
Please help....
One more thing, I saw in some thread that somebody had a problem of xml.jar. I also don't have xml.jar. Is it a problem.
Tanveer
23 years ago
Hello,
This end of life now. I put one complete day in it but didn't succeed. Now please, please, please help me out.
When I run it like c:\tomcat\jakarta-tomcat\bin\tomcat run, it gives me this....
Using CLASSPATH: C:\tomcat\jakarta-tomcat\classes
Exception in thread "main" java.lang.NoClassDefFoundError: \lib\tools/jar
When I run it like :\tomcat\jakarta-tomcat\bin\startup, it gives me this...
Using CLASSPATH:C:\tomcat\jakarta-tomcat\classes;C:\JDK1.3\lib\tools.jar
Starting tomcat in new window.
But when I type http://localhost:8080/, windows dialog box appears to ask "connect to internet?"
While here is my autoexec.bat
path=c:\jdk1.3\bin;c:\windows;c:\windows\command
set JAVA_HOME=C:\JDK1.3
set TOMCAT_HOME=C:\tomcat\jakarta-tomcat
set ANT_HOME=C:\tomcat\jakarta-tomcat
Please help....
Tanveer
23 years ago
Hello everybody,
I explored lots of threads regarding tomcat's configuration explored the web as well but tired now... can some body give a complete autoexec.bat file to run tomcat. I've following directories
c:\jdk1.3\bin
c:\tomcat\jakarta-tomcat
Tanveer
23 years ago
Hi buddies,
I installed apache, edited httpd.conf with servername "localhost" but when i run this "apache.exe" it gives me error.
COMMAND:
c:\proram files\apache group\apache\apache
ERROR:
httpd: cannot determine to server local host name
Use sername to set it explicitly
An earliest reply required please.
Tanveer
23 years ago
Hello buddies,
I'm an absolute beginner to servlets and trying to configure Tomcat. Following is my autoexec.bat...
set JAVA_HOME=C:\JDK1.3
set ANT_HOME=C:\program files\apache group\jakarta-tomcat
set TOMCAT_HOME=C:\program files\apache group\jakarta-tomcat
When I run this works good. But when I run "startup.bat" from bin of tomcat directory...its says...Bad Command or File...
Looking for an earliest reply...
Tanveer
23 years ago
Best source for exception handling is JQPlus, it has 56 questions in it. Customize a test with Exception Handling section only. Check the comments after finishing with that test. It clear your all the doubts and fears.
Best of luck for your exam.
Tanveer
24 years ago
Sandeep you need a bit of work on shift operators. Anyways, I selected first two.....
Ooooooooops!!! Thx sandeep.....you're right third one will not give same as first two. I was confusing it with 16/2power2. But remeber, a bit work on operators is still required...
Tanveer
Hi all,
Is there any difference b/w the following three options, in a situation where you've to select 2 correct out of 3.
1. 16 >> 2;
2. 16 >>> 2;
3. 16/2^2;
Well one difference could be that first two are acceptable to compiler while third one not. But there is hardly any other difference I think....
Tanveer
Hello Everybody,
I passed my exam with 81% today and very satisfied. I want to thank everybody on javaranch for their co-operation. This really is an excellent place to learn and preparation.
Special thanks to JQPlus team. An excellent tool I must say. It took me about 5 months with steady preparation and one tough week with JQPlus. I would recommend skim of Khalid Mughal's book first, detalid study of book then and last tough week with JQPlus.
Wish you all, all the best aiming for exam.
Tanveer
24 years ago