When i start tomcat6 (on a SLES 11 box) two times without a stop in between, rctomcat6 status results into dead state.
I checked the rctomcat6 start script, in this case when the tomcat6 is already running and a rctomcat6 start is done, it display a msg that "process already running", but it continues in the start function further down & executes the TOMCAT_SCRIPT(dtomcat6) script with the start argument. And after that pid in the tomcat6.pid file gets changed but the process keeps running with the old pid, and hence when we do a rctomcat6 status, it results into dead state(bcoz it doesn't find any process running with that pid).
I think it shouldn't execute the TOMCAT_SCRIPT in this case, so in case when checkpid is success(in start function), i put an exit after the echo msg " process already running", this solves the problem, but is this the correct solution ?
function start() { echo -n "Starting Tomcat ($CATALINA_BASE)" if [ -f "/var/lock/subsys/${NAME}" ] ; then if [ -f "/var/run/${NAME}.pid" ]; then
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?
I manually rotated my catalina.out file, and now the file jumps to 30+Mb and when I try to view it, less tells me it might be a binary file. It sure appears to have binary data in it, about 30meg of it.
I did the rotate via a copy: copy catalina.out to another file cat /dev/null > catalina.out
I have tried using echo: echo "" > catalina.out ...also with the same result.
This application isn't something I can just bounce when necessary. It kind of appears that the original file is still there - sort of. But is it not readable text anymore.
SunOS 5.10 tomcat 5.5.26 (version required by app vendor)
I want to install tomcat so i followed the steps mentioned in below link: [URL] After going through the steps i checked for
Code:
./startup.sh
but it showed me the error
Code:
touch: cannot touch `/usr/share/apache-tomcat-6.0.32-src/logs/catalina.out': No such file or directory /usr/share/apache-tomcat-6.0.32-src/bin/catalina.sh: line 372: /usr/share/apache-tomcat-6.0.32-src/logs/catalina.out: No such file or directory
when i went through my "/usr/share/apache-tomcat-6.0.32-src/" there was no "logs" folder so i tried
Code:
find / -name catalina.out
but it returned nothing.BTW i have installed "apache-tomcat-6.0.32-src", "java-1.6.0". Please if any one could look into the problem and provide me the solution to error mentioned above and why there is no "logs" directory in "/usr/share/apache-tomcat-6.0.32-src/".
I am trying to setup Ubuntu with Apache2+Tomcat6. I can get the site up and running, however when I have a jsp file it does not execute, instead it just prints the full jsp to browser.
I am checking if there is a configuration issue that may be missed.
sudo /etc/init.d/tomcat6 status # shows fine
/etc/apache2/sites-available has a file for my site containing valid DocumentRoot
/home/user/sitename/webapps/examples /home/user/sitename/webapps/examples/jsp /home/user/sitename/webapps/examples/jsp/sample.jsp contains below text <%= "hello" %>
When above page is visited in browser, it shows full html tags instead of displaying the output. It displays static pages fine.
I've been trying to figure out how to access tomcat6 pages outside of the computer actually running the tomcat6 server. I can access the tomcat6 web pages fine on the computer running the server, but I can't seem get to it on another. I'm probably not setting it up correctly or something, but I've attempted to access the tomcat6 server by following this form:
I'm trying to do a standard mod_jk setup--get apache to forward requests to Tomcat. I must admit that I'm not so familiar with the details of mod_jk, but I got this working before when I had used tomcat 6 directly from apache's website, but now that I've switched to the version in Ubuntu's repositories I can't get it working.
The log for mod_jk says:
Code: [Mon Mar 15 23:59:41 2010] [5575:3004840816] [error] ajp_send_request::jk_ajp_common.c (1359): (ajp13_worker) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=111) [Mon Mar 15 23:59:41 2010] [5575:3004840816] [error]
I am new to ubuntu server. Currently I am running Ubuntu 9.10 server edition. I installed tomcat6 downloaded from apache site and started. But can't run the war file and cant even shut it down. I am running tomcat with default port 8080 and 8005 for shutdown port. I have reinstalled tomcat over and over again. Ubuntu desktop version is running on my pc, everything fine there.
I have ubuntu 10.04LTS server. Open jdk and tomcat6 installed from synaptic package manager. I run different war files on tomcat6. I downloaded apache-continuum-1.3.7.war. I followed the instructions on apache continuum web site. [URL]
I have newly installed Ubuntu server 9.10 in my server machine.And it has tomcat6 in itself.My friend have built a Java software in Fedora ,and he wants to move it to the new server.But problem is the directory structure is different between two systems.He has to either change his directory setting in his software or change the default tomcat6 ROOT directory. But I have not find any configuration file can do this job(change the tomcat default ROOT directory ).
I've installed Sun Java, tomcat6 and tomcat6-admin on 10.04 server 64-bit. By default, tomcat is configured to run as the tomcat6 user. Everything runs just fine on tcp/8080 as initially configured. Modifying the connector port in /etc/tomcat6/server.xml to anything below 1024 (e.g. port 80) results in:
This all begs the question... do you *really* have to run tomcat as root to bind to a well-known port? I.e. is there really no way for tomcat to start as root, bind to a privileged port and then drop privs?
I've just installed Ubuntu 10.04 LTS Server with LAMP. Tomcat6 appears to function properly. BUT, I cannot gain access to the 'manager webapp'. I've updated tomcat-users.xml:
i installed tomecat6 in Linux server i deployed xyz.war file and jkmonunt in Apache this is for out side usage recently i deployed one more war abc.war i din't mount in apache this is internel application usage purpuse in my application i tried to call this abc.war (http://X.X.X.X:8080/abc/abc.war) but i am unable to access this folder i checked the iptable rules i gave access permission in 8080 port.
alright I have seen some threads on this but they are all old and seem to predate the "wisdom" of the "all" architecture on all the bloody ubuntu packages.
I went to the tomcat website which doesn't even have deb packages. Then I thought to search the ubuntu package repository, nothing seems to have i386 packages for me to install and then get the libs with getlibs. I HAVE to have a 32bit version of tomcat to run orkweb so I can record my phone calls on my voip line.
what would be really great is if anyone has or knows how to build a 64-bit war file for orktrack and orkweb since I have the source code
I succesfully integrated apache2 and tomcat6 using Ubuntu 10.10 server. The deal is that I can't use different Virtualhosts mapped to different tomcat projects. All tomcat "projects" are in /var/lib/tomcat6/webapps/. I couldn't configure apache virtualhost to use a project different than ROOT (/var/lib/tomcat6/webapps/ROOT/). All HTTP requests are redirected to /var/lib/tomcat6/webapps/ROOT/.
on a newly installed opensuse 11.4 x86_64 I am unable to find the settings to switch keyboard layout from english to german to french or any other language .it used to be in the system settings Keyboard-->Keyboard layouts -->> activate german btw french etc...
I recently created a SUSE Linux Enterprise 11 SP1 VM at susestudio. I am a total SUSE novice...I seem to be missing several commands from the command line... in particular I do not have the ability to run man.If I try to man anything I getbash: man: command not foundI checked, and the man-pages package was not installed, so I did download and install, (and rebooted) but still no luck running man
I work on opensuse 11.2 on my core 2 quad. Although I have 8GiB ram, in the system monitor I see 3.5GiB. I really need 8GiB ram, why a part of the ram is missing?
After upgrading to the above, I find that some plasmoids are missing: RSS Now, Dictionary, Calculator (of the ones I use). The most important one for me is RSS Now, indeed there is no RSS plasmoid at all offered anymore. Downloading new plasmoids doesn't offer anything, and I can't find it on kde-looks either. Has anyone else noticed this, and how I can get RSS Now and the other back?
What is the best way to install GMP onto my OpenSuSE 11.4_64 box? I see gmp-devel is listed in the repo for download, but I need binary gmp. I'm guessing I'll have to use something like SuSE build service or compile from source.
I installed openSUSE a couple of weeks ago but didn't use it until 2 days ago. It was the latest version when I installed it.To my surprise there wasn't a gcc or pppoe installed. Or at least there wasn't a command line begging with ppp.I tried to install them both with rpms. I think I got them both, just they don't work very well. In particular rp-pppoe doesn't work at all. It says that there's no modem on eth0, which is very true there's only a eth cable. gcc seems to work but I'm not sure I installed all the dependencies.I can't use yast because of lack of internet. I have to reboot to windows and download rpms.Can you give me a work around? At least for the pppoe then it might fix itself. Can I have some EXACT links to rpms or another solution?
I have openSuse 11.2 with KDE 4.3.1 desktop. I accidentally closed my taskbar and now I can't get it to reappear. I already tried to run kicker (Alt + F2), but that didn't work.
Looks like somewhere down the line the pmda's for pcp fell out of the distro? The pmcd config (in /var/lib/pcp/config/pmcd/pmcd.conf) shows that pmcd expects 2 pmda's.
bypass:/var/lib/mooty # cat /var/lib/pcp/config/pmcd/pmcd.conf # Performance Metrics Domain Specifications # # This file is automatically generated during the build # Name Id IPC IPC Params File/Cmd pmcd 2 dso pmcd_init /var/lib/pcp/pmdas/pmcd/pmda_pmcd.so linux 60 dso linux_init /var/lib/pcp/pmdas/linux/pmda_linux.so
Yet the whole /var/lib/pcp/pmdas directory is missing.
I run a molecular biology lab and we like to run the "Molecule" GL screensaver in order to look cool (I know it doesn't actually save screens, and it wastes energy, but you know..). I'm about to install Opensuse 11.3 on all 24 of our laptops and I find that the number of GL screensavers installed as standard is greatly reduced from previous Opensuse releases. Any idea where I can get the "Molecule" and other screensavers?
I am running KDE and have the following relevant packages installed: kdeartwork4-screensaver xscreensaver xscreensaver-data xscreensaver-data-extra gnome-screensaver gnome-screensaver-extra This apparently gives me just 8 GL screensavers - there used to be a great many more?
A couple of weeks ago I installed openSUSE 11.3/KDE 4.4.4 over openSUSE 11.0/KDE 3.5. It went well except for what turned out to be a glitch with the KDE default Plasma Desktop Workspace, which prevented the system from shutting down (the screen would go blank and then nothing would happen). Changing the Activity in the Desktop Settings to Folder View got rid of the glitch, returning everything to normal.
The printer icon/widget is now a question mark "?." I can't say for certain when this happened.Clicking on the widget produces the message, "KDEint could not launch 'opt/kde3/bin/startprint'."The command for the widget is 'opt/kde3/bin/startprint %U'.The file opt/kde3/bin/startprint no longer exists.What additional information, if any, might be needed, and what can be done to get this widget working again?