Merlin M Koppula

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

Recent posts by Merlin M Koppula

Hi,
If you used setpci for configuring internal modems on Linux, can you tell me if (and how) I can use setpci to set IRQ for the PCI card.
I have internal modem 56FW-92 from BestData which is hardware flow controlled. My lspci -vv output shows IRQ 0 for the Communication controler. I wanted to set it to IRQ 10
I have been trying to configure this modem since two days and has been very frustrating.. Any help is very much appriciated..
Thanks.
22 years ago
Can someone tell me which modems work well with Linux?
I currently have only winmodem on my machine. I contacted some vendors in my area (BestBuy, Circuit City, SamsClub..) None of them seem to have modems that work with Linux.
They do have external modems. Does every external modem work with Linux?
Thanks.
22 years ago
I run web server and I want to make my pages visible on the internet under MyDomainName.com.
What is the cheapest way?
I currently have service from an ISP. But it has dynamic IP. Companies like Verisign, register.com with whom I can register a domain name, do they offer dynamic DNS services?
If they dont, and if I register domain name from someone and buy dynamic DNS service from someone else, (since my actual IP is with the company that is offering dynamic DNS service) every hit to my site is routed thru this company and is a performance overhead?
Can you suggest a good company that offer these kinds of services at a reasonable price?
Thanks.
22 years ago
Just my 2 cents about "imposter coders"
Anyone who only does new development or who only maintains others code all their life is not having an alround experience.
However, maintaing someone elses code also require a lot of talent which a lot of people dont realize. In fact, a lot of times writing new code is a lot more easier than mending an already written code. you can code an application in your own style. But, when you make a correction to an existing code, you have to understand the application, you have to understand the code (from the source if you dont have the documentation), you have to stick to the original style of coding so that it wouldn't look like a patch work and doesnt confuse the next developer.
I think every developer will (and should) have their share of 'imposter coding'.
Hope this helps.
22 years ago
Mine did. If you running on ix86, you can verify if the memory was installed correctly by pressing one of the function keys (I thinkk F7) wich will take you to the system configuration screen. I think this has nothing to do with Linux. If you see the added memory in this screen, Linux will automatically detect the memory.
Thanks.
22 years ago
Congrats. Good score.
I was looking in coreservlets.com site, I found only html version of the coreservlets book. Will you please tell me where you got its pdf format?
Thanks.
I downloaded jsdk1.4.0 and it is working now. For some reason, Tomcat 4.0 gives a segment fault error with jdk1.3.02.
Tim, I checked the value of ulimit before. It was already unlimited. I also tried with 2048. So, I didn't think that was the problem.
Thank you every one
22 years ago
Roopa,
JDK upgrade did the trick. I downloaded jsdk1.4 (few hours of download) and it worked right away!
Thank you for your help
Two more questions..
1. Did you setup https (SSL)? If you did, can tell me the steps that you followed?
2. Are you serving static pages thru Apache? How about SSL on Apache?
Thank you.
Roopa,
Thank you for your replies..
Here is the problem:
I digged into the shell scripts and found that the startup script actually sets the environment variables and calls the script catalina.sh. Again, catalina.sh sets some more variables and finally invokes the Java program
org.apache.catalina.startup.Bootstrap with argument "start".
But, in the script, the java program is redirecting all the output and error into catalina.out and trying to run the program in the background. So, I was not seeing any of the errors in the screen. Any segment fault errors are not captured in the log file.
I echoed all the variable values right before the Java program to see what parameters and arguments are passed to the Java program and tried to run the program in the foreground. Then I noticed that there is infact a Segmentation fault error as soon as the script is trying to run the Java program.
Here is the actual Java program that is being run with all the arguments. Please see and compare with how it is being run on you installation. Please tell me the actual parameters and arguments that are being passed on your installation for the Java program: org.apache.catalina.startup.Bootstrap
Here is the Java program with all the arguments on my system:
/usr/lib/java/bin/java
-Djava.endorsed.dirs="/home/koppula/jakarta-tomcat-4.0.2/bin:/home/koppula/jakarta-tomcat-4.0.2/common/lib"
-classpath "/usr/lib/java/lib/tools.jar:/home/koppula/jakarta-tomcat-4.0.2/common/lib/servlet.jar:/home/koppula/jakarta-tomcat-4.0.2/bin/bootstrap.jar"
-Dcatalina.base="/home/koppula/jakarta-tomcat-4.0.2" \
-Dcatalina.home="/home/koppula/jakarta-tomcat-4.0.2" \
-Djava.io.tmpdir="/home/koppula/jakarta-tomcat-4.0.2/temp" \
org.apache.catalina.startup.Bootstrap start
Please see if I am missing anything..
I think it is not a problem with my Java installation. Because I am able to run other Java programs with my JDK. I did not install JDK 1.4 because it is about 40 MB and I can not download with my 56K modem.
I greatly appriciate your help.
I narrowed down the error in startup.sh and catalina.sh and found that I was getting a Segmentation fault error when the script is trying to run the actual java program
org.apache.catalina.startup.Bootstrap with one argument "start"
The actual line that is being executed is below:
/usr/lib/java/bin/java
-Djava.endorsed.dirs="/home/koppula/jakarta-tomcat-4.0.2/bin:/home/koppula/jakarta-tomcat-4.0.2/common/lib"
-classpath "/usr/lib/java/lib/tools.jar:/home/koppula/jakarta-tomcat-4.0.2/common/lib/servlet.jar:/home/koppula/jakarta-tomcat-4.0.2/bin/bootstrap.jar"
-Dcatalina.base="/home/koppula/jakarta-tomcat-4.0.2" \
-Dcatalina.home="/home/koppula/jakarta-tomcat-4.0.2" \
-Djava.io.tmpdir="/home/koppula/jakarta-tomcat-4.0.2/temp" \
org.apache.catalina.startup.Bootstrap start
I was able to run other java programs with the JDK that I installed (at /usr/lib/java). So, I think it is not a problem with the Java installation.
Is the script passing the right arguments to the Java program? The only argument that is being passed in the script is "start"?
Any help is appriciated..
22 years ago
If anyone had similar problems with Tomcat installation on SuSe linux, please post here.
I also get segment violation error when I try to shut down (does this happen if I try to shutdown when it is not actually running?)
I initially posted my question in Linux forum also hoping that some Linux developer might have encountered similar issue and solved it. But till now, no luck.
I greatly appriciate your help.
22 years ago
I have SuSe Linux 7.2
I downloaded JDK 1.3.1_02 and Tomcat 4.02.
I set the paths accordingly for JAVA_HOME and CATALINA_HOME.
Set CLASSPATH to $JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet.jar
When I started Tomcat using startup.sh, I do not get any error messages. It gives the usual startup messages. Also, there are no messages loged in $CATALINA_HOME/logs/catalina.log.
Does it mean that Tomcat has started?
However, when I try to connect to http://localhost:8080 I get the error: cannot connect to host 8080.
1. How do I know if Tomcat has started. Which Linux processes does it kick off? What should I see in ps -ef?
2. I installed Tomcat and run startup.sh as my own userid. Do I need to startup as specific user?
3. Am I missing something in CLASSPATH?
Please help..
I have SuSe Linux 7.2
I downloaded JDK 1.3.1_02 and Tomcat 4.02.
I set the paths accordingly for JAVA_HOME and CATALINA_HOME.
Set CLASSPATH to $JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet.jar
When I started Tomcat using startup.sh, I do not get any error messages. It gives the usual startup messages. Also, there are no messages loged in $CATALINA_HOME/logs/catalina.log.
Does it mean that Tomcat has started?
However, when I try to connect to http://localhost:8080 I get the error: cannot connect to host 8080.
1. How do I know if Tomcat has started. Which Linux processes does it kick off? What should I see in ps -ef?
2. I installed Tomcat and run startup.sh as my own userid. Do I need to startup as specific user?
3. Am I missing something in CLASSPATH?
Please help..
22 years ago
Thank you for your replies.
I now downloaded JDK 1.3.1_02 and Tomcat 4.02.
I set the paths accordingly for JAVA_HOME and CATALINA_HOME.
Set CLASSPATH to $JAVA_HOME/lib/tools.jar:$CATALINA_HOME/common/lib/servlet.jar
When I started Tomcat using startup.sh, I do not get any error messages. It gives the usual startup messages. Also, there are no messages loged in $CATALINA_HOME/logs/catalina.log.
Does it mean that Tomcat has started?
However, when I try to connect to http://localhost:8080 I get the error: cannot connect to host 8080.
1. How do I know if Tomcat has started. Which Linux processes does it kick off? What should I see in ps -ef?
2. I installed Tomcat and run startup.sh as my own userid. Do I need to startup as specific user?
Please help..
22 years ago