Questions tagged [tomcat]
The tomcat tag has no usage guidance.
175
questions
2
votes
1answer
2k views
Why store program code in /var/cache?
I have inherited a Java / Tomcat stack, running on Ubuntu.
It has crashed and I am trying to restart it. The program code seems to be using a config file which I have found on the file system.
The ...
1
vote
4answers
18k views
Apache Tomcat not working
I have CentOS 6.4 installed on VMware. Recently installed Java SE8 and Apache Tomcat server but I cant't connect to the server by using `localhost:8080' browser says Unable to Connect. I have also ...
2
votes
1answer
4k views
How to redirect Tomcat logs back to catalina.out instead of syslog?
In the release notes for openSUSE 13.1, developers proudly stated that Tomcat logs are no longer being written into catalina.out, but rather written to syslog. I saw similar behaviour with new ...
1
vote
1answer
76 views
Assistance applying poorly packaged patches?
I manage a handful of servers running the various roles of a Ahsay online backup solution.
A few times a year the software is updated and I need to apply patches on my servers.
Annoyingly the ...
0
votes
1answer
4k views
Install java, tomcat7 or tomcat6 on RHEL5 centos5
I wish to install tomcat7 on centos5 sticking on yum but I have
--> Finished Dependency Resolution
java-1.6.0-sun-compat-1.6.0.03-1jpp.i586 from jpackage-generic-nonfree has depsolving problems
--&...
1
vote
1answer
3k views
service killed at ssh hangup [duplicate]
If I use ssh to run some command in background, that command gets killed as soon an ssh hangs up:
ssh localhost -t "bash -c '(for i in 1 2 3 4 5; do sleep \$i;done)&'"; ps x|grep sleep
This will ...
2
votes
1answer
1k views
Debian package of Tomee plus [closed]
I'm looking for Debian package of Tomee plus but I have not found anything. Also, I would like to know if it is possible to download the package( on windows) then be installed on Debian or I have to ...
2
votes
2answers
3k views
How to determine what user was used to start Apache Tomcat last (or last few times)
On a Mac, or a Linux Tomcat install, how do I determine what user was used last to start Tomcat? Is there information in the logs somewhere to that effect?
Assume that startup.sh and shutdown.sh are ...
2
votes
1answer
1k views
Running Apache with Tomcat
I was wondering if it's possible to run a Tomcat server within Apache whilst also running PHP servers under other virtual host instances? And if so, how is this done?
Basically, I'm trying to run an ...
2
votes
1answer
487 views
GlassFish/Tomcat security issue between domain users in linux server (alternate docroot issue)
Let's suppose we give to different users(clients) different domains (one domain for one user) in our glassfish application server for their work. This glassfish works in centos 6 server. Every user ...
2
votes
1answer
3k views
ssh with sudo doesn't start services
I want to run command with sudo through ssh without disabling "requiretty" sudo option.
According to /etc/sudoers:
#
# Disable "ssh hostname sudo <cmd>", because it will show the password in ...
3
votes
1answer
11k views
Can't start Tomcat on Ubuntu
I installed Tomcat on Ubuntu. Then I created a new user. Then did:
liferay@web-svr:~/liferay-portal-6.1.1-ce-ga2/tomcat-7.0.27/bin$ chmod +x *.sh
Afterwards, I added JAVA_HOME and PATH in bash like ...
0
votes
1answer
899 views
Start and stop tomcat through ant script which is running in cygwin
I am trying to start and stop my tomcat through ant build.xml as follows,
I am running the ant script in cygwin , i get the following error
D:\build-cygwin-copy_converted.xml:53: Execute failed: java....
2
votes
4answers
220 views
any feature on linux like Perfermance Counter on Windows servers?
I have a tomcat web application, when invoking an unstable remote API, I want to get realtime http request time at any time. On windows server, I can use Performance Counter, does centos provide ...
5
votes
3answers
35k views
How can I redirect ports 80 and 443 to 8080 and 8443 with iptables?
I'm looking at the documentation for a Tomcat 6 webapp called DSpace, specifically in regardds to running Running DSpace on Standard Ports (80 for http:// and 443 for https://)
I am trying to use "...
0
votes
1answer
999 views
Autorun Tomcat in Linux Mandriva - java.io.IOException: invalid argument
Here's the autorun script, which i use -
#!/bin/sh
# description: Tomcat start/stop script
# chkconfig:
TOMCAT_PATH=/java/apache-tomcat-7.0.32/bin
TOMCAT_START=$TOMCAT_PATH/startup....
2
votes
1answer
501 views
tomcat: symbolic link in a loop
linux-trra:/usr/local> $CATALINA_HOME
bash: /home/anisha/openGTS17Nov/apache-tomcat-7.0.32/: is a directory
linux-trra:/usr/local # ln -s $CATALINA_HOME tomcat
linux-trra:/usr/local # file tomcat ...
2
votes
3answers
1k views
How do you set a program as a service in Linux (Debian) but have it switched off by default?
When you install Alfresco, it gives you an option of having it installed as a service or not.
If you install it as a service, the service starts up on booting but since it's using Tomcat it's too ...
1
vote
1answer
1k views
How to start java application after machine reboot?
I'm wondering if there is easier way to start java application (just tomcat server) after machine has been rebooted?
Possible answers:
Add the application as a service and then add it using ...
4
votes
2answers
10k views
Java version for Tomcat
I want to run my Tomcat with Java 7 but all I found about configuring it doesn't work. The management interface of Tomcat shows 1.6.0_24-b24 as Java version. The JAVA_HOME variable is empty.
% echo $...
1
vote
2answers
910 views
apache, tomcat context path
I have Tomcat and Apache installed in CentOS 5.
They're integrated with a help of mod_jk.so.
They both display the same in http://www.tource.com/cms/admin and http://www.tource.com:8080/cms/admin
...
2
votes
1answer
2k views
How to checkout Tomcat by SVN?
I try:
svn co http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/
But received error:
svn: E170000: Unrecognized URL scheme for
'http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk'
Is it ...
2
votes
1answer
969 views
Run an application under Tomcat
I have an application that needs to run under Tomcat.
I have installed Tomcat but I don't know where can I put the directory of the project.
2
votes
2answers
3k views
Virtual hosting a tomcat webapp in Apache on RHEL 5.0 [closed]
I am in a hosting fix! I have developed a web app for my organisation that allows sharing, interacting, etc. I want to DEPLOY IT ON LAN. BUT...
I don't want the end user to type: 10.21.34.56:8080/...
0
votes
1answer
279 views
Apache and Tomcat integration [closed]
I am trying to integrate apache and tomcat. I thus want apache to forward requests to tomcat.
I am using the mod_jk module for apache to achieve this.
So far I am trying to get tomcat to auto-gen the ...