Debian :: Access Tomcat On WAN
Mar 9, 2016
I've assign to access our tomcat server outside WAN, My problem is I've never used debian or linux distro before sad right? , Here's the situation right now.
1. Tomcat is already running thru local, we can access anytime.
2. Our Dev team is the one who install and configure the Tomcat
3. Tomcat is assigned thru port 8088
4. 8088 is already open (I've tried using this port thru IP camera and we successfully open it)
5. When we switch over to our tomcat we cant open the port 8088
how to access our tomcat from WAN?
View 0 Replies
ADVERTISEMENT
May 24, 2010
On my Ubuntu 10.04 lucid lynx server edition machine I have an Apache http server listening on port 80 and today I installed the Funambol server which added an Apache Tomcat server listening on port 8080. From within my lan I can reach both servers, but from outside the lan I can only reach the http server on port 80 and not the Funambol server on port 8080. I get a time out message instead.
In my router I have setup port forwarding, such that both ports 80 and 8080 get forwarded to my server machine. Must Tomcat be told to listen to external requests? Is my server listening on port 8080 only for requests inside the lan? Or is there some authorization that fails when I try to visit from outside my lan?
Here is some netstat output, I don't know if the differences between the 80 line and the 8080 line are relevant:
Code:
remon@compaq:~$ sudo netstat -nlp | grep 80
tcp 0 0 0.0.0.0:8009 0.0.0.0:* LISTEN 1778/java
[Code]....
View 9 Replies
View Related
Feb 11, 2010
We need to only allow access to a web page only to some ips. We want to do this via Apache but it seems like the standard way of denying all and allowing some ips doesn't work because we mount a webapp using tomcat.
The sites-enabled file looks like this:
Code:
NameVirtualHost *:443
<VirtualHost *:443>
ServerName web.address.com:443
ErrorLog /var/log/apache2/app_ssl_error.log
[Code]....
View 2 Replies
View Related
Jan 13, 2010
I am up and running. Symptom: webapp/servlet deployed to Tomcat, utilizes JDBC driver for MySQL connectivity. Upon launching application in browser and performing action requiring database interaction, exception thrown, server log:
[Code]...
View 1 Replies
View Related
Jul 29, 2009
I am having trouble getting my FC10 with tomcat visible to the outside world. first off i am somewhat new to linux. I am running vmware workstation to host my linux web server. i have my VMWare setup to use my second NIC solely. it is bridged and the tcp/ip is disable from the host. i can ping the ip address but cant access tomcat on port 8080 from the outside. i can hit it fine from inside fedora. i have configured my router (wrt54gs with DD-WRT firmware) for port forwarding. so basically i think that the problem is somewhere in between the host and the vmware configuring allowing the port to be forwarded through.
View 2 Replies
View Related
Nov 10, 2010
I've been trying to forward some ports using iptables for some time now, but still haven't figured out how to get it to work..What i'm trying to accomplish is to forward all traffic from port 80 to port 8080, and all traffic from port 443 to port 8443, this because i would like to run tomcat as a non-root user, and the original ports can only be used as root.. I've currently setup my iptables like this:
# Generated by iptables-save v1.4.2 on Wed Nov 10 16:44:45 2010
*nat
:PREROUTING ACCEPT [39350:6120333]
[code].....
View 2 Replies
View Related
Jul 12, 2010
I recently installed Debian 5.0.5 (lenny) on an extra PC that I had lying around:
Intel P4 3.4 GHz
4GB DDR2
NVidia 7600 GT - 256 MB
I want to turn this PC into a Linux server for hosting a basic JSP web application with PostgreSQL as the back-end database.
I installed PostgreSQL and it runs fine however I'm having some issues installing Tomcat 6. I followed a guide that I found online, and everything seemed fine when I was following the steps however I wasn't able to verify that the server was running by viewing the default tomcat page. [url]
Is there much difference in using Tomcat 5 vs Tomcat 6? I'll probably try Tomcat 5.5 tonight.
Installer Guide: [url]
I'd also like to setup a simple email server, and I'd like to know roughly what's required to do this.
View 4 Replies
View Related
Mar 13, 2009
I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....
View 2 Replies
View Related
Sep 1, 2010
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]
View 1 Replies
View Related
May 30, 2011
i keep reading about hostapd but i never figured out how to get the daemon working properly, heck i haven't figured out how to get the ethernet card ti bridge to the wlan card through command line
ps the wireless interface i want to set up as an access point is an SMC usb card that uses the zd1211rw firmware, i checked and it supports AP mode.i was told that you don't have to put the card into master mode all you have to do is configure the hostapd.conf daemon correctly and start the daemon, it will automatically brodcast an ap without an further configurations.
View 2 Replies
View Related
Jan 18, 2010
I'm trying to access a .jsp page that is located on my apache/tomcat server from the web. I changed the connection port of tomcat to port 80 and changed my doc root from the default "webapps" to my normal web directory. However, whenever I try to visit the page, I only see the code of the page.
If you would like to see what I am talking about, feel free to see it for yourself:
[URL]
View 1 Replies
View Related
Dec 19, 2010
i have changed the permissions of tomcat folder stiill firstly,i did this
[whacko@localhost local]$ /usr/local/tomcat/bin/startup.sh
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
[code]...
View 14 Replies
View Related
Jan 20, 2011
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?
View 1 Replies
View Related
Dec 21, 2010
I have ubuntu server version 10.04.1 on my machine. I am running tomcat version 6.0.24 wich came bundeled with the system.I have found a newer version here:[URL]As you can see at the bottom, version 6.0.28 is available.However I can't get apt-get to fetch it. Here is a copy of my sources.list. As you can se the repository is there.
Code:
#
# deb cdrom:[Ubuntu-Server 10.04.1 LTS _Lucid Lynx_ - Release amd64 (20100816.2)]/ lucid main restricted
[code]....
View 5 Replies
View Related
Feb 28, 2010
I installed Tomcat6.0.24 on my system(from their site not from repos) and i needed to add a manaager account ,
Code:
<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>
[code]...
View 3 Replies
View Related
Apr 4, 2010
I am quite new to the slackware world and still discovering its amazing charm..can anyone help me how can I install and configure Tomcat in my slack box.I just want to run simple servlet programs.
View 13 Replies
View Related
Nov 20, 2009
Trying to start Tomcat6, I get the following in catalina.out
dl failure on line 696Error: failed /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so, because /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so: cannot enable executable stack as shared object requires: Permission denied
View 3 Replies
View Related
Jan 26, 2011
I just installed Tomcat 7.0 on openSuse 11.3 by mean:
Code:
tar -zxvf apache-tomcat-7.0.6.tar.gz
And I can to start it manually. But I need to start it automatically as "system service" in some runlevels.
install Tomcat 7.0 as system service?
View 4 Replies
View Related
Oct 8, 2009
On my tomcat6 log I have the following:
Code:
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_16/jre/lib/i386/server:/usr/java/jdk1.6.0_16/jre/lib/i386:/usr/java/jdk1.6.0_16/jre/../lib/i386:
[Code]....
Why doesn't tomcat recognizes the /usr/lib64/libapr-1.so.0 or /usr/lib64/libapr-1.so.0.3.3?
View 6 Replies
View Related
Jan 9, 2010
I am trying to run my tomcat 5.5 at startup.. I went to System-->Preferences-->Startup applications and entered the command to launch my script: /bin/sh /home/marco/apache-tomcat-5.5/bin/catalina.sh run
But when i restart ubuntu, my tomcat does not run and i dont know where to find the proper logs to see what happened.
View 2 Replies
View Related
Feb 22, 2010
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:
Code:
worker.list=worker1
worker.testWorker.port=8009
worker.testWorker.host=localhost
worker.testWorker.type=ajp13
View 1 Replies
View Related
Apr 11, 2010
I am stuck with an issue related to domain hosting. Currently i have an application hosted in my own server using a static ip from a service provider. I got a domain name from another domain provider. Everything went in right way till when i click my url in browser using internet through another system. I am able to see my application when i use my ip address, where as when i use my domain name its not working.
[Code]....
View 2 Replies
View Related
Jan 21, 2009
I have a Apache web server and a separate tomcat 5 server. I can run the jsp-exaples just fine using HTTP. However using HTTPS fails. For some reason it appears HTTPS is not forwarding to the connector, I get 404 not found, returned.If I simply try https://apache_server_ip I successfully connect to the default Apache page.According to this page it should just work. Apache should do the ssl encryption/decryption and tomcat operate as normal.
View 1 Replies
View Related
Jan 23, 2010
Anyone who can help me with good tutorials to learn Apache tomcat Administration? any ebook or material?
View 1 Replies
View Related
May 11, 2010
I succesfully extract it and run it. This code is shown
Problems: [url]
View 6 Replies
View Related
Aug 5, 2011
I am trying to install tomcat on my centos 5.6 box(vm) and it is giving me failure for make operation.
[panther@localhost unix]$ make
(cd native; make all)
make[1]: Entering directory
`/home/panther/apache-tomcat-7.0.19/bin/commons-daemon-1.0.6-native-src/unix/native'
gcc -g -O2 -DOS_LINUX -DDSO_DLFCN -DCPU="i386" -Wall -Wstrict-prototypes
[Code].....
View 3 Replies
View Related
May 13, 2010
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?
View 1 Replies
View Related
Jun 4, 2009
I have used same Hardware and OS platfrom for web server benchmarking and i have used similar php and jsp scripts for Apache and Tomcat. For this testing i have used apache ab benchmarking toolFrom this statistics i would like to clarify the performances about Apache and Tomcat.
1. why Tomcat have taken too much of time to finish this 10 million requests to compare with Apache?
2. why this huge different for "Request per Second"?
3. To Tomcat i have increased multi thread level 300 and JVM memory usage upto 2048mb(but performances not increased), rather than these, is there any other performance tune-up settings for Tomcat?
4. from these statistics, can i come to the conclusion that apache is the best?
5.do u feel that ab tool favouring to Apache?
View 1 Replies
View Related
May 1, 2011
I'm configuring a web server using Apache and Tomcat. I use Apache 2 and various instances of Tomcat5 and Tomcat6..I try that Apache serves the static data and tomcat the dynamic (Apache receives all requests, sending tomcat only the dynamic)I see that Apache and Tomcat can be connected using http or ajp Can any tell me:
- What connector should I use: ajp, http,...?
- How can I say Apache to serve the static data and Tomcat the dynamic?Due to I have many instances of Tomcat, connectins http and https, https with client certificates, and due to the port configuration:
- Is there any way to configure Apache-tomcat without the use of ports in tomcat (a differect connector)?
View 3 Replies
View Related
Mar 16, 2010
I need to install apache tomcat on centos 5.3...How can i do it
View 4 Replies
View Related