Fedora :: Accessing Tomcat6 Outside Of Running Computer?
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:
I am noticing problems accessing the firewall gui and mounting the second hard drive in my PC running Fedora 13. This is only when I am accessing the machine with VNC. If I am sitting in front of the physical machine, I have no problems at all. I would like VNC to behave more like I am sitting in front of the computer. Is there a way to do this? Thank you in advance for your feedback.
Today I noticed my sdl modem flashing away when I had no internet access programs active as far as I was aware. I did a 'ps ax' to see what was running. I saw nothing that warranted internet access. I didn't recognize the gvfsd-computer process and tried finding documentation about it on my system. I began to feel uncomfortable when I couldn't find anything showing what it was. Finally, I killed the process and the internet access immediately stopped. Research on the net showed that gvfsd-computer is a file browser. I find this very disturbing. Why was a file browser accessing my disk drive (the light was flashing) and why was it accessing the internet without my requesting such an action?
I was doing some research on SSDs in wikipedia. Then it was showing me links to like DRAM and SRAM. Then there was RAM which I was familiar with. Anyways down to the point.The way your computer works is. When you start up your computer. Whatever is read on the hardrive is put on your RAM memory right.? For temporary and when you start applications. It is put in your RAM from your drive to run faster. This is why having ALOT of ram is useful for having your computer running smoothly. Right?
I have been using Ubuntu for a couple of years, and I had some problems that nobody could fix, so I thought I would try Fedora.
If I want to automatically fix errors in Fedora (or Ubuntu) on the next boot the normal method is to type [code] sudo touch /forcefsck at a terminal prompt. In Ubuntu after I boot it up I can see on my computer screen that fsck is running, but with Fedora there is no indication on the screen that fsck is running.
Since I can't see it, how do I know that Fedora is actually running fsck?
I am using SSH forwarding for accessing particular ports of a distant computer no problem. I also want to access another computer`s ports as if they are local without individually forwarding ports. In a way this distant computer will become a local computer over the internet. So instead of having localforwarding in my SSH config I just want to be able to say that this IP adress will accept all the port connections, butall those connections will be forwarded to a distant computer over the internet.
I would like to have a server set up at home and be able to access it using a front end that I would boot from a USB drive. The reason I would do this is because at my university all of the computers are horribly slow, I have a server at home that is fast, I would sit down at one of the computers use a USB drive to boot up the computer and use it as a front end, the computer at home would be the backend. Is this doable? if so how?
I installed Lucid Lynx some days ago. Whenever I try to access Vista from GRUB, the computer restarts. I haven't changed anything about how the computer starts.
I am having a problem with my Fedora11, I am not sure wether it is software or hardware but this looks serious. My computer is running very slow and freezes up every few seconds. Every time I reboot I would get a kernel failure pop-up.
So i ran a srcds server (source) in the backround using &.ccess it again or atleast kill it" ./srcds_run -console -game garrysmod +maxplayers 52 -autoupdate &"
I've just added my wife as a seperate user on my desktop and have a question about shared network folders. So /etc/fstab mounts network folders from a second computer and until today I've mounted them to /home/David/NetworkData
This of course means that when my wife logs in she won't see them since they're not mounted to her home folder. So what folder should I use and what tricks so that we both have it visible and accessible in Places from the top menu?
I just got my Ubuntu 10.10 laptop to finally be able to access my Windows 7 Professional's shares, and I'd like to share how I got it working. Whenever I would go to Places > Network on Ubuntu, and then double click on my Windows computer (sometimes after finding it in Windows Network > {workgroup name}), it would immediately bring up a box saying "Password required for {computer name}". My Windows password wouldn't work here, but I didn't even want to be asked for a password. In Windows, under Network and Sharing Center > Choose homegroup and sharing options > Change advanced sharing settings..., Turn off password protected sharing was already selected.
So, I eventually found out that samba (the program Linux uses to talk with Microsoft's SMB network share protocol) has a bug of sorts. The format of the SMB packets coming from a clean Windows 7 is known by samba. However, if you install Windows Live Sign-In Assistant (which is provided through Microsoft Update) on Windows 7, the packets coming from Windows 7 are modified, and samba can not handle this. A patch has been written for samba, but Ubuntu's repositories (which has samba version 2:3.5.4~dfsg-1ubuntu8.1) does not yet have that patch.
Also, it seems Microsoft has stopped Windows Live Sign-In Assistant from appearing in Programs and Features. It doesn't appear even if you specifically download and install it separately. I did, however, notice that the installer calls itself Windows Live Essentials 2011. So I found that in Programs and Features, and uninstalled it. It asked which components I wanted to uninstall, and I selected all of them. Rebooted Windows, and now I can access the share no problem. I also grabbed the offending packet using Wireshark before and after that uninstall. The packet is indeed different. Specifically, without Windows Live Essentials 2011, there is no mechToken in the packet.
The current version of samba available is 3.5.6. I may try downloading and compiling that later, and see if it deals with the change that Windows Live Essentials 2011 makes OK. Also, it may be possible to get the share working without uninstalling every single Windows Live Essentials 2011 component. You may want to try that if you would like to keep a component.
i get some trouble setting up good environment in linux.i have problem regarding connecting php(under linux) to a sybase server(under windows)is there anyway connecting this two technologies?.
I have 32 gigabytes of my hard drive wasted with a vistool installation a flaky don't look at me wrong or I will brake and you will have to reinstall me stinking winbloze
simple I want to fly my radio controlled helicopter and both programs that configure the radio transmitter so it talks sense to the model are windoze only almost (the wrong driver for the interface cable came with it the driver crashed and scrambled the configuration of the transmitter) the lesson here is XP drivers DO NOT! work with Vis-Stool
One of them will run on .NET (for windoze) and wine (I have no idea of how to install .net for linux ) it just dose not talk to the interface cable witch has a linux kernel module and connects the cable to /dev/ttyUSB0
Is there a way to make /dev/ttyUSB0 show up as a COM4 in wine.
I get some trouble setting up good environment in linux.. i have problem regarding connecting php(under linux) to a sybase server(under windows),,, is there anyway connecting this two technologies?..
I installed Tomcat5.5.23 on CentOS5.2 running on Sun xVM Virtual Box2.1.2. When i try to view Tomcat( Running in Vitual Centos)'s home page in the web browser of Host( XP sp2) am getting the "Connection Time out" error.. How to resolve this problem.
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'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]
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 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.