The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
69 views

SSL-encrypted proxy server for war files in CentOS 7

How can I configure a CentOS 7 web server to serve only SSL-encrypted content from war files, with tomcat running behind a proxy server? I imagine this involves using firewalld, https, and tomcat. ...
0
votes
0answers
24 views

web container options for war file in CentOS 7

I know that Tomcat and NginX are both able to host web applications that are defined by war files. But can httpd also host a war-file-based web application on a CentOS 7 server? If so, how would you ...
0
votes
0answers
17 views

deploying a war file to a remote centos 7 server

If tomcat is installed in a remote centos 7 dedicated web server, and a war file is placed in the webapps folder, how would you set things up so that http requests originating all over the internet ...
1
vote
1answer
16 views

Confusion regarding generating self signed certificate for application portal developed using liferay

We have a Application Portal developed using Liferay bundled with tomcat. There are two application servers running liferay and we use httpd as a front-end which forwards requests to application ...
1
vote
0answers
21 views

Creating Self signed certificate for tomcat 6

I am trying to configure self signed certificate for our tomcat server. For that initially I created the keystore certificate file using keytool . The command I tried for this is keytool -genkey ...
0
votes
2answers
53 views

Tomcat 8 doesn't start

Upgraded tomcat 6 to 8 on Centos 7. I get this error in logs: /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: ...
0
votes
0answers
29 views

Tomcat7 cluster don't replicates session

I have a Ubuntu with 2 Tomcat7 with a cluster configurations. The balancer is Apache MOD_JK. SERVER.XML: <Engine name="Catalina" defaultHost="localhost" jvmRoute="no0"> <Cluster ...
0
votes
1answer
30 views

Understanding tomcat logs

I am working in Application support for a Java based application as a support engineer. I would like to understand tomcat debug logs so that i can resolve the issues at my end and do not have to ...
0
votes
3answers
265 views

Run an SQL script to create a Database via Linux Terminal

I am logging into my web server remotely using SSH and I'm wondering if there is a way that I can execute an sql script I have residing in a directory on that server in order to create a new database, ...
1
vote
0answers
101 views

Tomcat unable to create file in dir owned by same group

I have a server running Tomcat, and I need Tomcat to create a file in a particular folder. Tomcat (technically a Java app) runs as the user 'tomcat', as evidenced by top: #top 1251 tomcat 20 0 ...
0
votes
0answers
23 views

Likewise (AD integration) with MS SQLJDBC

Unfortunately this is a very specific question for someone with knowledge of Likewise (not programming) -- In a RHEL/Centos running Likewise, has anyone been successful using Microsoft JDBC in Tomcat ...
0
votes
1answer
394 views

Installing TOMCAT on AIX 7.1

After installing a lot of packages I finally got ./configure to work, just to get a horrible message Host support:- checking C flags dependant on host system type... failed configure: error: ...
0
votes
1answer
458 views

Tomcat: no xmx/xms value set, where is the heap value being defined?

I have a Tomcat 7 install running with Java 1.7 on a Linux 2.6 server, and jinfo shows no xmx or xms values. ps output shows nothing set for xmx/xms on the command line for the java process. Tomcat ...
2
votes
1answer
106 views

Make sense of this strace output

Can anyone make sense of this strace output? [pid 25302] read(34, "}B\311\204\n\250\347$\220\266kRb\304a^^\2504\303k\235\227T\223\16\231\306\277\254\256\306", 32) = 32 It's from a Linux system ...
0
votes
0answers
31 views

If a buggy application underperforms, it it possible server tuning could have no affect?

To set the stage, imagine if you will: A read-heavy Tomcat Application with MySQL on Red Hat Enterprise Linux with some problematic Java Class files which resulted in the application performing a ...
2
votes
1answer
152 views

IPTables Port Redirection Should Have Broken Apache But Didn't

I have a Load Balance set up in Apache httpd: <VirtualHost *:80> DocumentRoot /var/www/html ServerName xxx.xxx.xxx.com ProxyRequests Off ...
2
votes
1answer
1k views

AUTHBIND: Unable to authbind with tomcat 6 on redhat host

I have a redhat linux server with tomcat 6.0.39 installed. Before I deploy any web application and open my server to the public I would like to learn how to run tomcat startup script with my tomcat ...
0
votes
0answers
35 views

Getting messages: INFO: Unknown message 0

In my tomcat catalina logs i am getting INFO: Unknown message errors. Please have a look at below logs. How to debug this issue, why this is happening. Can anyone please help me on this? Apr 28, 2014 ...
1
vote
2answers
3k views

Running tomcat under tomcat service account in CentOS

I'm installing tomcat on a CentOS box for use as an application server. My system admin created a tomcat user service account under which to run tomcat. I'm generally following instructions on this ...
0
votes
2answers
177 views

Centralized logs for tomcat logs

We have 20 centos server and on each server we have 5 tomcats running. All time developer comes for logs so we are planning to keep all tomcat logs one URL so that Developer comes to that URL and ...
2
votes
1answer
143 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
3answers
2k views

Apache Tomcat not working

I am a Linux beginner and 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 ...
2
votes
1answer
406 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 ...
0
votes
0answers
271 views

Tomcat fake start on startup with init.d

I have my tomcat (tomee) installation at /opt/tomee and I can correctly launch it with: $ /opt/tomee/bin/startup.sh Using CATALINA_BASE: /opt/tomee Using CATALINA_HOME: /opt/tomee Using ...
1
vote
0answers
55 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
3k 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
239 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 ...
1
vote
1answer
349 views

Debian package of Tomee plus

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 ...
1
vote
2answers
213 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
287 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
224 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 ...
1
vote
1answer
568 views

How can I force the IP address & hostname to only be exposed as domain.com on a Tomcat Server?

I have a web server which is running on CentOS 6 on top of Tomcat7. Everything works fine, however, there are many ways that users can access the server. For instance: IP Address domain.com ...
1
vote
1answer
698 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 ...
1
vote
1answer
3k 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 ...
1
vote
1answer
315 views

installing apache httpd server on RHEL-6

I have 5 systems running Apache tomcat server, for load balancing i need to install Apache httpd server, how should I do this, please provide me some useful links and your opinions on this. I am ...
0
votes
1answer
348 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: ...
2
votes
4answers
107 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 ...
4
votes
3answers
13k 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
562 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 ...
1
vote
1answer
192 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 ...
1
vote
3answers
293 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
349 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 ...
1
vote
2answers
2k 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
365 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
1k 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
493 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
2k views

Virtual hosting a tomcat webapp in Apache on RHEL 5.0

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: ...