Ubuntu Installation :: Tomcat6 Initializes JRE_HOME, But Scratches It Before Use?
Sep 15, 2010
hph@ubuntu:~$ sudo service tomcat6 stop
* Stopping Tomcat servlet engine tomcat6
hph@ubuntu:~$ sudo service tomcat6 start
* Starting Tomcat servlet engine tomcat6
Using CATALINA_BASE: /var/lib/tomcat6
Using CATALINA_HOME: /usr/share/tomcat6
Using CATALINA_TMPDIR: /tmp/tomcat6-tmp
[Code]...
View 1 Replies
ADVERTISEMENT
Jan 25, 2011
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:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
[code]....
but no matter what I use as username/password, I am unable to get in.
View 3 Replies
View Related
Apr 22, 2010
this computer (Yakumo model 331, 386 MB RAM) began running really slowly, crashing when multitasking, etc., but only in Ubuntu Karmic Koala. Kubuntu Karmic has no problem, nor does OpenSUSE. I finally figured out the problem when looking at system monitor: 0 bytes of swap! I have a 640 MB swap partition, which the other OS's are able to access, but Ubuntu no longer does unless I open a terminal and type in
Code:
sudo swapon /dev/sda6
If I do this, everything works fine until next time I boot up. Is there any way to fix this?
View 5 Replies
View Related
Nov 10, 2010
#include<stdio.h>
#include<stdlib.h>
int main()
[code]...
View 11 Replies
View Related
Jan 11, 2011
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.
View 1 Replies
View Related
Mar 16, 2010
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]
[Code].....
View 1 Replies
View Related
May 6, 2010
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.
View 2 Replies
View Related
May 3, 2011
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]
[Code]...
View 1 Replies
View Related
Jan 6, 2010
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 ).
View 3 Replies
View Related
Aug 4, 2010
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:
SEVERE: Error starting endpoint
java.net.BindException: Permission denied <null>:80
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?
View 6 Replies
View Related
Jan 17, 2011
I'm using tomcat6 on Ubuntu 10.10. How can each application run as a different UNIX user?
View 3 Replies
View Related
Dec 31, 2009
I have installed Tomcat6 succesfully from Yast. Now im wondering where is catalina.sh file located ?
Tomcat is running fine, but i'm needing that startup script for deploying web service directly from Netbeans IDE.
The default init script is found from /etc/init.d/tomcat6, so is catalina.sh included to this installation ?
I'm using Opensuse 11.2
View 4 Replies
View Related
Nov 12, 2010
why i can't access the Tomcat6 default website after i do the install ?
Code: ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://10.2.3.189/
The following error was encountered: Connection to 10.2.3.189 Failed
The system returned: (111) Connection refused
Code:
Setting up authbind (1.2.0build3) ...
root@SSV:~# /etc/init.d/tomcat6 restart
* Stopping Tomcat servlet engine tomcat6 [ OK ]
* Starting Tomcat servlet engine tomcat6 Using CATALINA_BASE: /var/lib/tomcat6
[Code].....
View 6 Replies
View Related
Dec 1, 2009
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:
[URL
Did I not set up the tomcat6 server correctly?
View 1 Replies
View Related
Apr 15, 2011
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
View 1 Replies
View Related
Feb 16, 2011
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
[Code]...,
View 1 Replies
View Related
May 26, 2011
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.
View 2 Replies
View Related
Jan 7, 2011
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/.
[Code]...
View 5 Replies
View Related
Feb 5, 2011
Package Installation error
Recently I get an error while installing any packages offline.
"Action would require the installation of packages from not authenticated source".
The key icon at top tight corner shows.
View 3 Replies
View Related
Jan 20, 2010
I'm trying to install Kubuntu 9.10 on my machine (I had the same problem with Kubuntu 9.04). The machine is:
- Core 2 Quad 6600
- Nvidia 7600 GS
- Two disk seagate 500 in mirroring raid software
When I try to install Kubuntu, after disk partition, my system dosn't see the CD. He tell me to insert disk into drive but I doesn't touch it. I resolved this mounting an external hard disk into /cdrom. After this, the installation continues until the step "select and install software". At this step, the installation procedure tell me an error. During this error, in the other console, I've this:
Code:
Jan 19 21:58:09 in-target: Alcuni pacchetti non possono essere installati. Questo può voler dire
Jan 19 21:58:09 in-target: che è stata richiesta una situazione impossibile oppure, se si sta
Jan 19 21:58:09 in-target: usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
[Code]....
View 3 Replies
View Related
Aug 15, 2010
I have installed Debian maybe 30 times over the years since about 2003, stable, testing and Sid on two different desktops and two different laptops. The only problem I have ever had is sometimes with a flaky daily build. It is one of my favorite distros.
BUT, I am totally frustrated is trying to install to a USB. I have followed the manual step by step about 6 times in the past two weeks. The result is always the same. The installation fails to find an installation iso image. Yes, I know the iso image and the hd-media vmlinuz and initrd.gz files are supposed to be the same version.
File: debian-testing-i386-netinst.iso from: [url]
Files: vmlinuz and initrd.gz from: [url]
The USB boots to a Language selection screen and proceeds through the Keyboard selection screen with no problems.
The next step which searches for an installation iso image fails.
Skipping that step and trying to load installer components from iso image also fails.
Searching the entire PC for an installation iso image also fails. (I even copied the netinst iso image to the HD root directory.)
View 6 Replies
View Related
Jun 22, 2011
I'm trying to perform an install of F14 (fresh install over F13), and it has been showing "running post-installation scripts" for 1 1/2 hours now. I am wondering if this is unusual and what the implications might be of power-cycling and rebooting. I'd note this is a fairly fast machine with 2 quad-core Xeons (I forget their model number).
View 1 Replies
View Related
Apr 30, 2010
Trying to get Fedora 12 installed normally on a laptop, but it's hanging at the aforementioned point during installation. The mouse cursor is movable and the system appears to be fully working. The progress bar isn't moving and there is nowhere to either shut down the PC or access the terminal?? I cannot check any progress or see any log of what the installation program is trying to do.
It's a P4 laptop with ~700mb of ram. This is a fresh install from the i386 DVD distro. Why is it so hard to get a running system in linux when Windows or Mac is ready to go in about an hour? I've spent a good 3 hours trying to find my way around this latest problem and I am SO close to giving up. What a waste of my time linux has been so far.
View 7 Replies
View Related
Mar 23, 2010
I was trying to update from 9.04 to 9.10.
During the installation, I kept getting tons of errors. Finally something came up saying that I had to abort the installation and it did some stuff. I tried running an application, but I got an error. So I restarted the system.
The normal screen came up where I had to choose the Ubuntu stuff (I'm new to Ubuntu) in the box. I noticed that it had gone to 8.10... which I had earlier before installing 9.04, which went great. So I chose the first on and the system failed to start. I rebooted and tried all the other options, but they all had errors. Now I'm booted to Windows.
I installed Ubuntu from a CD I created. But it is now outdated because it is 8.10, and I have already upgraded to 9.04. 9.04 to 9.10 is where stuff went wrong.
View 1 Replies
View Related
Apr 23, 2010
I tried to install 64bit 10.04 Release Candidate but it fails every time. I have been using 64bit 9.10 Karmic on this computer so it's suitable for installation.
I tried to install from USB stick and from CD but same error at the same point! It fails just befere it starts to ask your locations etc...
There must be something totally wrong on installer. Checksums are ok etc...
Errors seen with CD and USB stick installation: Pop up: "Istalltion failed The installer encountered an unrecoverable error. A desktop session will now be run so that you may investigate the problem or try installing again."
On command line I can see following error message on CD:
These errors with USB stick:
View 9 Replies
View Related
May 19, 2010
I just (for the first time ever) installed a version of Ubuntu. It is 10.04. I installed off of the Live Disk. I was having a great time until the first time I went to boot into it and I got the message
"Error: No such device: "long number" Grub Rescue> "
[Code]...
View 3 Replies
View Related
May 23, 2010
I just completed the ubuntu 10.04 installation using the windows' installer.After the installation, the system reboot. I chose "ubuntu" from the OS selection screen.A message appeared that the system would verify the installation parameters.
Suddently, a message was shown:
"no main file system chosen. Please solve this error from the partition menu."
And it wouldn't continue!
how can I find the partition menu and set the file system for the ubuntu?? An idea would be to enter the installation cd for windows (as if I would wanted to format the pc)...wouldn't then the partition menu appear?
View 4 Replies
View Related
Jun 24, 2010
Problem-PC automatically boots into a black screen with blinking cursor. No message or nothing
I have 4 HD. Primary drive has Windows Vista, Secondary no OS installed. Sata1 HD Ubuntu 10.04, Sata2 Windows 7. Prior to installing windows 7 all was perfect but once I did it, grub got all screwed up. The only way I can boot into grub is if I manually select my Sata1 which has Ubuntu on it and only then it allows me to select Linux or Windows OS. How can I change that so it can boot up normally as before? I'm assuming that grub was installed in the primary drive which has vista on it, but once I installed windows 7 it got deleted and when I tried reinstalling Ubuntu, the grub was not installed in the primary drive.
View 9 Replies
View Related
Aug 13, 2010
I am setting up a mail server. After installation of shorewall-common, shorewall-doc
Following this link http://flurdy.com/docs/postfix/
For setting up
It requires me to copy thge content of /usr/share/doc/shorewall-common/default-config/rules to /etc/shorewall
cp /usr/share/doc/shorewall-common/default-config/rules /etc/shorewall/
But i observed that the folder default-config is missing. I have purge it apt-get and reinstalled but still it does it have that folder. What could cause this thing and how can i go about it?
View 1 Replies
View Related
Sep 30, 2010
I am facing a disgusting problem. While I am trying to update my system using update manager It downloaded the files and then while it starts installation it shows the following message
Code:
(Reading database ... 60%dpkg: unrecoverable fatal error, aborting:
files list file for package 'linux-libc-dev' is missing final newline
[code]....
View 1 Replies
View Related