General :: Tomcat Stops Running When Exit The Terminal
Jul 10, 2011
I am trying to run Tomcat on Ubuntu System from a remote host. However, when I exit the terminal, Tomcat process shuts down.
The command I am using to run it is
nohup ./startup.sh &
View 1 Replies
ADVERTISEMENT
Apr 11, 2010
I noticed that if I have "exit" in a bash script file., e.g. script.sh,that when the word "exit" is reached, and the script file being executed is not in the PATH nvironment, i.e. ". script.sh", the whole konsole shell profile is exited! What gives here? Is there another command compatible to "exit" to prevent this, or will I just have the leave the "." part in the PATH enviroment, which is, to my understanding, is not recommended? I desire for a "goto" function in bash script files
View 11 Replies
View Related
Jun 23, 2011
I have Linux server with cent OS.I have installed tomacat6.0 and postgresSQL8.3 on it.The thing is i wanna know whether the tomcat and postgresSQL is running or not using the script.
View 1 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
Jul 19, 2009
After "yum install emacs" & "yum install emacs-ess", I was able to install emacs on my X86_64 running Fedora 10.
If I run one session of emacs everything works fine.
Once I start a second session and try to resize or move the emacs window, the system stops responding.
View 1 Replies
View Related
May 31, 2010
I'm trying to get a Tomcat server running using the Java VM -server option on Ubuntu Karmic 9.10 (I'm using the official Karmic AMI on EC2: ami-bb709dd2)
I install Tomcat:
Code:
sudo apt-get -y install tomcat6
I set up a bit of configuration in /etc/default/tomcat6:
Code:
JAVA_OPTS="-Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"
I can start Tomcat with no problems:
Code:
sudo /etc/init.d/tomcat6 restart
However, if I add the -server option into the JAVA_OPTS variable, like so:
Code:
JAVA_OPTS="-server -Djava.awt.headless=true -Xms1024m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=384m"
I get this:
Code:
$ sudo /etc/init.d/tomcat6 restart
* Stopping Tomcat servlet engine tomcat6
...done.
* Starting Tomcat servlet engine tomcat6
Invalid option -server
Cannot parse command line arguments
How do I set the -server option correctly?
View 1 Replies
View Related
May 26, 2010
after executing the commands
1. ./startup.sh
2. tail -f ../logs/catalina.out
the following error comes on the terminal
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(Abs tractAutowireCapableBeanFactory.java:1245)
[code]....
View 5 Replies
View Related
Jul 20, 2010
I am having a problem.I use Ubuntu 10.04 server edition.Two computers on LAN one with Public Ip A other with local (Class C IP)say it BWith a third computer in same subnet I can access a TomCat application running on B as http://Ip of B:8080/applicationI want to use A as a Reverse Proxy for this application to be reachable from internet.So on Googling I came across some thing known as mod_ajp I enabled that on my Server A asa2enmod proxya2enmod proxy_ajpa2enmod headersbut after that I am not able to understand as how do I define vhost to be able to forward HTTP request which come on A as www.myserver.com/appto B which I can see internally as http://Ip of B:8080/application so Tomcat on B handles this.
View 4 Replies
View Related
Jul 11, 2011
I am struggling with some issues Apache-tomcat is running fine, and port:8080 is also LISTEN but when am tiring to access the tomcat web_page is not up ,why ?
View 2 Replies
View Related
Feb 19, 2010
command will just execute and exit with a status of "0" -"Every command returns an exit status (sometimes referred to as a return status ). A successful command returns a 0, while an unsuccessful one returns a non-zero value that usually may be interpreted as an error code. Well-behaved UNIX commands, programs, and utilities return a 0 exit code upon successful completion, though there are some exceptions."[URL]With the command . . .
Code:
# dosfsck -v /dev/sdb
it could be very helpful (and decide my next move) to see the exit code as 0, 1, or 2 . the man page suggests the command exit code will specify if the message I get - "Cluster size is zero" (I think it is a "1")is a recoverable or fixable error by the utility. or is non-recoverable - a pretty nifty feature if I understand this right. [URL] is there anything like this script COMMAND_LAST used in the following link. [URL] that can be entered in the terminal window after - or at end of - my dosfsck command or any command. just to see if it has a 0, 1, or 2 status ?
View 2 Replies
View Related
Jan 14, 2011
Due to a ton of research I believe I now understand the output of ps, top, and free better than ever, and also have a relatively decent grasp on memory management (virtual address space, etc.) than I ever did before. With that being said, my server is super low on available memory and I can't make 1+1=2 on why it is. I suspect it's Tomcat/JVM (which I admittedly know precious little about). I am rebuilding this server (for a number of reasons) and plan to install 8GB but solving this mystery is key to supporting/promoting my design plans.
Relevant info So, I have very little memory left, I am swapping pretty hardcore, and even though I suspect it's the Tomcat/JVM stuff, it sure doesn't look like it from the memory tools. For that matter though it looks like "nothing" is using memory, or certainly not enough to cause such a low memory problem. The server was rebooted 24 days or so ago because it actually ran out of all virtual memory. How do I solve this mystery? Am I using the wrong tools? Am I misunderstanding my tools? What can I do to track down the processes depleting my memory?
View 5 Replies
View Related
Oct 9, 2010
I want to build a NAS like mini pc to be used as a simple tomcat server (for running Jira and perhaps experimenting a bit) and as a GIT server. What kind of system requirements would I have?
Would something like this:[URL]../nas/n...sed-nas-part-2 be sufficient? And if I'd virtualized everything via VMWares would that make a lot of difference?
View 2 Replies
View Related
May 5, 2009
My first time installing centos server and adding it to xp home network. I am new to setting up my own network in general. I have a home windows wired ethernet xp network (simple linxs router) with 2 xp boxes and one centos5 box all connected to the same router. I just set up the centos box running tomcat on port 8080. I need to do two very basic things at this point, but am not sure what I need to do:
What do I need to do so I can:
1. Connect in firefox on one of my xp boxes and call the tomcat server running on my centos box?
2. Be able to ftp to centos box from either of my xp boxes?
View 2 Replies
View Related
Apr 10, 2010
I have a scenario where I am executing some child shell scripts in background (using &)through a master parent script.
Is there a way I can capture the exit status of each individual child script after the execution is completed.
View 7 Replies
View Related
Dec 4, 2010
It's called TextRipper and it creates indexable and editable text files from any image. Feel free to copy TextRipper; it's licenced under GPL. My troubles are with cracking passworded pdf's. (As you can see, I meant any when I said any image.)
I can't find a way for the user to cancel the decryption process by exiting the script without pdfcrack orphaning. Line 349 works the rest of the time; the concerned process is line 228. I believe it's a piping/subshell problem. At least that's how I've been going at it in vain.
I've made portability a priority and that the comments still require updating.
Code:
If the result is one output file, TextRipper will open it for you in OpenOffice Writer.
Otherwise all txt output files (editable and indexable) will be in the original file's directory." 0 0
View 14 Replies
View Related
Jan 31, 2010
I hope this is an easy question to answer, how do update my nVidia drivers? Can I add a repository so it automatically updates? I have downloaded the latest verson from the nvidia website. When I so a "sudo ./NVIDIA-Linux-x86_64-190.53-pkg2.run" I get "Error: You appear to be running an X server; please exit X before installing"
View 1 Replies
View Related
May 9, 2010
I have a C program that can run disconnected ( like most ), is there a programmatical way to tel if the program is running without a terminal? Example:nohup my-program &What I want is to modify the program so it can be used as a HUB interface. It does Peer to Peer communication and I want to make it a server function with a command line option.Currently if I disconnect the program, it will loop on the read for stdin, I need to be able to detect that and go into 'HUB' mode.
View 4 Replies
View Related
Jan 10, 2010
Recently I gained interest in running command from the terminal, like rhythmbox-client --play-pause and vlc --open, but I could not find the vlc's pause command under vlc. there's a way I can have a terminal display the commands that run when I do some action. For example, when I click on pause in vlc, the terminal should show me what command it used to pause vlc. What's the closest ting I can get to this?
View 1 Replies
View Related
Mar 14, 2011
This is my first post and I am new on Mac OSX. I have create an app using python/py2app.
App is working fine but I need little modification.
1. My app name is test.app. Inside I have Contents/MacOS/test(executable)
2. I rename test(executable) as launch.
3. I create a simple bash script with name test(set executable permission) in Contents/MacOS directory inside app.
4. This script set same environment vars and finally execute launch executable.
5. This works but problem is that a terminal window comes up when launching app.
Is it possible to run the script(test) in such a way that it should not show terminal window?
View 1 Replies
View Related
Apr 5, 2011
I would like to hear about a (telnet) terminal for Linux that can run VB scripts. The need is for configuration of a target board. I like secureCRT very much, but I can not use it from a Linux workstation.
View 4 Replies
View Related
Sep 3, 2009
I've used the following script here: [URL] to upgrade Alsa to 1.0.21 in Ubuntu 8.04. Now whenever I run:
Code:
sudo shutdown -h <time> or sudo reboot from the terminal I get a rather annoying beep sound. What's even more annoying is if I use the shutdown command to specify a time I get a beep every 10 minutes or so.
I've tried disabling the terminal beep in the terminal profile, disabling the beep in System/Preferences/Sound, adding "blacklist pcspkr" to /etc/modprobe.d/blacklist, and running gconf-editor from the terminal and setting /desktop/gnome/peripherals/keyboard/bell_mode to 'off' rather than 'on'.
View 6 Replies
View Related
Aug 4, 2010
I am running Linux Mint 9..I play xbox live and run it through my laptops wireless network connection so i dont have to pay 100 dollars for the usb wireless adapter for the xbox. In windows 7 this is easy to configure so that when i turn my laptop on and then xbox it automatically connects.
View 10 Replies
View Related
Dec 17, 2010
I am using DreamLinux. I have pinned a program, that runs in terminal, to the launcher in the panel on desktop. The program's executable file (name: feap) is located in /home/User/feap2.2 After I added the launcher to the panel that runs the file in terminal, the program asks for the input file (text file with alot of commands) when run. By default the program accepts the files that are located in the same directory i.e. /feap2.2 , so I placed the input file in the same directory.
However when I run the program from the panel, and give the input file name, it says no such file exists. Then I gave the file name with full path, but problem was not solved. I have tried alot e.g. placed the input file at other locations, but all in vain. I have set all input file permissions to be accessible by User as well. I will be much relieved if someone suggests where to place the input file for the such program running in the terminal launched from panels?
P.S: If I open terminal, go to the directory (/home/User/feap2.2), run the program's exe file, and then give the file name, it accepts the input file and it give results.
View 1 Replies
View Related
May 16, 2015
I am having a problem which I am having a hard time finding out about. To start I am running Debian 8.0 on a laptop through an external Seagate 2TB HDD that I connect via USB 3.0. My problem, basically, is when ever I use Linux for an extended period, for what ever reason, some of my icons disappear and my terminal breaks. More specifically, say I were to try to shut down the computer at the time of the problem the icons and text telling me which option is which, in xfce4, are gone. Then if I click on the would be shut down button it just goes to a black screen with a white underscore and hangs there. This symptom is probably due to the fact that commands in the linux terminal stop working. As in, if I were to type ls it tells me there is no command (something like that) and tells me some folder directory that I think is where bash is located. I wish I could be more specific with some of these details.
Anyway the only way for me to "fix" it is to just do a hard shut down, then upon reboot it clears the orphaned nodes. Also, before, when I installed linux several weeks before I never noticed this issue, if it was ever present. However, now that I have seen it, I have since tried re-installs of debian to no avail. I have a feeling it could be the external hard drive, but that notion is not based on any evidence.
View 2 Replies
View Related
Jul 11, 2010
Have strange problem when I get asked for my password in the terminal, the keyboard stops working, below is a sample of the terminal window.peter@peter-desktop:~$ sudo ufw status[sudo] password for peter:When I press the keyboard nothing happens.
View 2 Replies
View Related
Jul 11, 2010
Have strange problem when I get asked for my password in the terminal.Using Ubuntu Lucid 10.04. I was typing : sudo ufw status. When the keyboard asked me for my password then when I went to type in my password nothing typed.When I press the keyboard nothing happens. Just started today.
View 1 Replies
View Related
Apr 17, 2011
I am unsure if this is a hardware problem or a linux problem. My machine is only 3 months old so it is not the fan. I didn't have problems until recently, and after the latest kernel update it got worse - having to restart more frequently.
I do not experience the fan turning off in windows. I use thinkfan when I have to but it isn't a very good program for an every day basis. The fact I can force start the fan with thinkfan when it turns off leads me to believe it is a kernel issue.
View 4 Replies
View Related
Apr 24, 2011
I was looking for a way to send email to the outside world and installed mutt, and noticed that when my pc starts port :25 smtp is up, so I figured that I could send email to the outside, after a few seconds it shuts down.... what could that be? and do I need to install a full flesh mail server in order to send outbound email?
View 6 Replies
View Related
May 5, 2010
Im running a virtual linux server on a low-end system, and i wold like to configure the server to boot in terminal window and not to the Gnome log in window, this is because of the low specs on the hardware.
View 5 Replies
View Related
Mar 26, 2010
I am working on a Dell Inspiron 9400 with 9.10 installed and (thus far) working quite well. However, when I type in a command into Terminal (I was trying to install Amarok), the terminal asks for my password and the entire keyboard stops working. As in, I can hit any numerical or letter key, and nothing happens in the terminal but the blinking cursor. The specific command was "sudo apt-get install amarok", and then it asks for my password, and I'm not able to make an entry.
I've tried changing to a couple of the different Dell laptop keyboards in System>Preferences, but again, before typing the command into the terminal, everything is working fine (inside AND outside of the terminal). After the password prompt comes up and the keyboard stops working in terminal, all the character keys still work fine still outside of the terminal.
View 3 Replies
View Related