I want to setup tomcat and apache to run on SSL. I did set up apache to run with ssl and tomcat (wo ssl). Tomcat is on 8081 and apache is on standard HTTP/HTTPS ports. Now I installed JK module and I want to access "host-manager" application on tomcat with ssl, but when I try https://localhost/host-manager/ I get 503 error and when I try [URL]. I get 404 error. Here's my /etc/apache2/sites-available/default conf:
Code: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> .....
Here is /etc/apache2/mods-enabled/jk.load:
Code: LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so JkWorkersFile /etc/apache2/workers.properties JkLogFile /var/log/apache2/mod_jk.log JkLogLevel info JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories JkRequestLogFormat "%w %V %T" and here is workers.properties:
I am trying to setup Tomcat on CentOS 5.2,This is that ive done so far...Installed Apache, which works fine and I get the "Apache 2 Test Page powered by CentOS" Did this
I installed the Tomcat5.5, but when i test the port 8080 didn't work, where i can edit to work it properly? and then help me how to setup apache to tomcat? specific command, directory where i can edit and configure the scripts? and where i can put the web application file?
I have FC13 with apache up and running. I need to run tomcat to do some dynamic web with eclipse, I checked my setup and noticed that I already have tomcat5 in add/remove software as installed bu can not find any etc/tomcat and not able to find how to test. I went through the FC13 documentaion, nothing is mentioned abou apache tomcat setup finalizing and testing that ships with FC13 it works. I googled and found some docs around setup tomcat6 or tomcat 5 but not how finalize the one shipped with FC13.
I virtualised backtrack on windows 7, and set up the network connection to bridged mode, but my networking still fails. dhclient eth0, outputs many DHCPDISCOVER but no DHCP offers.
I installed eclipse and tomcat with package manager. Eclipse and tomcat are running but i can't see tomcat in the eclipse. I just see 'Basic' folder. That is a screenshot [URL]
I'm trying to share the internet connection from my Ubuntu 11.04 desktop to one of my laptops (Mac OS X) using an ad-hoc network. Really I don't care what kind of AP the desktop broadcasts as long as I can share the internet connection. According to the documentation on the hardware the adapter supports ad-hoc. However I am getting the 8B06 error below.
The problem: iwconfig wlan0 mode ad-hoc yields -> Error for wireless request "Set Mode" (8B06) :
those are the IP addresses of the servers and their respective hostnames so if i send a request for anything to just undernets.lan it will fail because there is no record for that. so i added this to the bottom of the zone record
Code: IN CNAME amanda
thinking that a blank would refer to the top of the zone
here is my named.conf.local which is called in my named.conf
Code: zone "undernets.lan" { type master; file "/etc/bind/undernets.db"; }; zone "0.168.192.in-addr.arpa" {
[Code]....
i want to be able to lookup undernets.lan and it give me the IP address of amanda.undernets.lan
xdm which refuses to load a window manager. I run Debian squeeze. xdm tries to execute /etc/X11/xdm/Xsession, which is actually an empty file, and fails with the error 'too many open files'. Afterwards xdm terminates the session and executes Xreset. Here the entries from the log:
Sat May 22 11:27:19 2010 xdm info (pid 2246): sourcing /etc/X11/xdm/Xsetup Sat May 22 11:27:23 2010 xdm info (pid 2246): sourcing /etc/X11/xdm/Xstartup Sat May 22 11:27:23 2010 xdm info (pid 2275): executing session /etc/X11/xdm/Xsession
[code]....
I was unable to find anything valuable concerning this problem. This is kind of annoying because I always have to switch to a console, stop X and startx X manually using startx. Then everything works out just fine. Unfortunately I am not yet that familiar with the setup process of X.
Did a new install of F14 on a T61 Thinkpad w/ Motorola DSL router (ATT supplied). The install was smooth and had no indications of problems.
When I went to use the browser, it showed a functional Fedora website. But if I try to go to goggle or any other web address, the browser complains that it can't resolve the web address.?
I installed karmic, then damn small linux - the DSL's loader would not recognize my xubntu automatically, so I got GRUB 1.97 on xubuntu and it recognized my DSL and added it to the menu with 3 alternative resolution options.
Now, xubuntu starts fine, but when I start DSL in any of the modes, I get the following output:
1. 'vga=normal is deprecated use gfxpayload=text before linux command' comes up in the same font as GRUB menu is displayed - but only for a split second, I had to video it to read it!
2. Uncompressing linux... ok, booting the kernel - similarly, disappears before you can read it, and the computer reboots.
Below are my /etc/default/grub and /boot/grub/grub.cfg.
Does all that mean I want to edit /boot/grub/grub.cfg even though I apparently must not?
NB I have some problems with my hard drive, I have to fdisk it a lot but that's probably because my laptop has a dead BIOS battery - I'm having to fdisk it every time I boot up etc. I'm a bit lost with this to be honest! Anyway, please forget the hard drive note unless you seriously suspect it's at fault for GRUB problems.
I am trying to set up an Apache frontend server followed by a Tomcat server. Tomcat needs to run as an https service. I will have two services, both accessible independently, if desired.This login module is a webapp, running inside Tomcat.
Question: Do I configure the Tomcat on port 8443 (I want to run it as a non-root) and do nothing with Apache or do I run on the standard port 8080 and configure Apache? If Tomcat, is it server.xml? (connector?) If Apache, is it httpd.conf?
I know that tomcat is the higher level server, and catalina is the servlet container. What is the difference between tomcat.log and catalina.out? Which one would tell if tomcat was down, which one would tell if catalina was down, and what is the difference?
Before I go any further I must admit that I'm pretty rubbish at setting these up, so please be gentle!
Now my problem; I have a normal desktop pc (I don't want to set it up as a server) but when I check the hardness of my set up with Gibson Research Centre, it fails. It can see ports 22,23,80,443 as closed but still visible.....? I have never had this happen to me before and struggling my way through yast firewall tool, I can find no easy way of sorting this out.
Every time I need to start or stop Tomcat, I am navigating to:
/Tomcat_Dir/bin
and once I am in the folder I enter:
./Startup.sh
And to stop the server, I navigate to the same directory and enter:
./Shutdown.sh
I was wondering if there was a way in Linux to alias the above described process, so that from any location in the filesystem, I can simply type in something like
StartTomcat or StopTomcat to perform the Startup and Shutdown of the web-server?
I'm developing some small application runs on tomcat 6This web application just query data from MySQLBut I'm concern about performanceHow can I check how many request It can serve as well ?I'm thinking about to change the application to runs on httpd (will write in PHP)Normally, how many request httpd can handle for simple database query ?
I am trying to configure tomcat on port 8443 using the following document [URL] instead of changing the port to 433 i kept it as 8443.i set the ip tables as follows
/sbin/iptables -A INPUT -i eth0 -p tcp --destination-port 8443 -j ACCEPT /sbin/iptables -A INPUT -i eth0 -s 10.200.2.0/24 -p tcp --destination-port 8443 -j ACCEPT service iptables save
restarted the tomcat service tomcat works on http://10.200.2.191:8080/ but it doesn't on https://10.200.2.191:8443 i did a little investigation of my own using nmap and found that the port 8443 is not open instead of making changes in the firewall table
I am having problems getting my fedora 13 system to recognize my apache tomcat lib which contains lots of jar files needed to compile servlets and jsp based Java programs; i have set the classpath env variable code...
I have installed tomcat6 on Ubuntu. It starts it automatically at the startup. I do not want it to start automatically, I want to start it manually because I use same 8080 port for different servers. If tomcat is already started on 8080, it becomes problem.
How do I stop Ubuntu from not starting tomcat automatically at startup.
I am trying to start remote tomcat server, it's not working as expected. I like to mansion that..I am able to stop tomcat server remotly. Below command i am using
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh start ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/startup.sh
Both are not working..when i run this script locally it's working file
same way when i run tomcat stop command it's working fine. ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh stop ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/shutdown.sh
I check log file also..when i am executing tomcat start there is no log entry in log file
Using CATALINA_BASE: /opt/tomcat/6.0.29/apache-tomcat-6.0.29 Using CATALINA_HOME: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
Below is an example output of what I see when I run the 'ls' command on some directories in linux (this is from a tomcat/common/lib directory). However I'm not clear on why some of the filenames are appearing inside [square brackets]
I have Linux server with cent OS.I have installed tomacat6.0 and postgresSQL8.3 on it.The thing is i wanna know whether the tomcat and postgresSQL is running or not using the script.