Ubuntu :: Tomcat Webapp Unable To Start?
Jul 10, 2011
I am running Server 11.04 / Tomcat 7.0.16 / Sysaid ( webapp )
I have configured the Java environment, tomcat is up and running and moved the sysaid.war to the webapps folder in tomcat.
I got to http://127.0.0.1:8080 - verify that sysaid is listed as an app, it is. The .war has extracted in the webapps folder but fails to start.
Everytime I try to start it I get:
"FAIL - Application at context path /sysaid can not be started"..
Anyone have thoughts regarding the fail to run the app? I have hit up sysaid forums, but no luck through searching and or replys at this time...
View 1 Replies
ADVERTISEMENT
Apr 13, 2011
I know it might seem a stupid question, but i'm gettin' nuts over avoiding webapp auto startup on Tomcat restart.i have a server, used for developing. Its tomcat has a bunch of webapps deployed. MOst of them are old/kept just for the sake of it, and I would like to avoid TC to start them on start / restart. How do I prevent a context to autostart on service start / restart?
I would like to go in the config files and selectively choose the apps to start. When tomcat is started, if anyone needs an app to be started, i would like to do it from the manager. But when I restart TC, i would like my choices to be up and running only.
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
Feb 2, 2011
I got jdk, jre, tomcat, eclipse installed correctly (I'm sure about that)I can start tomcat and works fine, and eclipse too.but whenever I try to run server through eclipse (server->run) I got following message:
Code:
WARNING: Failed to create work directory [/home/kossel/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/work/Catalina/localhost/_] for context []
Feb 2, 2011 6:08:23 PM org.apache.jasper.EmbeddedServletOptions <init>[code]....
did ls -ln workspace I get:
Code:
drwxr-xr-x 4 1000 1000 4096 2011-02-02 16:34 Servers looks has permission right?
View 1 Replies
View Related
Nov 18, 2010
I'm having some trouble with Tomcat 6 after upgrading to 10.10. During the upgrade process, the installer hung while dealing with Tomcat 6, which required me to kill the upgrade and do some clean up, and then re-run `apt-get upgrade` again to get things going. This left some weirdness (like the MOTD for both 10.10 and 10.04 being shown on login), but otherwise things are OK. The only remaining problem I have is Tomcat; it simply won't start when the server is booted. The information I have:
Tomcat 6 runs normally when started with `sudo /etc/init.d/tomcat6 start`. No errors are thrown, everything works as expected.I used `rcconf` to try removing and reinstalling the rc scripts, this didn't help. I manually deleted all the rc scripts, then used `rcconf` again. The scripts all seem symlinked correctly to `/etc/init.d/tomcat6`, but it's just not coming up on boot. I ran `sudo grep "tomcat" /var/log/*.log` to see if something is appearing in the logs, but nothing of interest is there.
How can I verify that Ubuntu is even trying to start Tomcat? As this is a development box, I am not adverse to a quick + dirty solution if there's some either simple way of getting it started at boot. I'm thinking the next Ubuntu release will see me blow away the server and start it fresh, but right now I'd just like a working box
View 7 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
Nov 21, 2009
I have installed Tomcat 5.5 on a server with Centos 5.2. I can start Tomcat from command line with:
/var/lib/tomcat5/bin/catalina.sh start but if I add the command to /etc/rc.local Tomcat don't start on boot, I need to login and manually start. I have add other services to the /etc/rc.local file (mysql and apache) and all start with no problem. Only Tomcat failed to start on boot.
I added the JAVA_HOME to /root/.bashrc:
export JAVA_HOME=/usr/lib/jdk
export PATH=$JAVA_HOME/bin:$PATH
export CATALINA_HOME=/var/lib/tomcat5
export CATALINA_BASE=/var/lib/tomcat5
I have tried many different things I found on the net, but nothing worked for me.
View 4 Replies
View Related
May 9, 2011
Friends currently we are accessing tomcat manager using web page ]
http://localhost:8080 ,
is it possible to start the tomcat manager using command prompt!
View 4 Replies
View Related
Aug 5, 2010
I am trying to start remote tomcat server, it's not working as expected. I like to mansion that..I am able to stop tomcat server remotly. Below command i am using
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh start
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/startup.sh
Both are not working..when i run this script locally it's working file
same way when i run tomcat stop command it's working fine.
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/catalina.sh stop
ssh -t remoteserver sudo sh /opt/tomcat/6.0.29/apache-tomcat/bin/shutdown.sh
I check log file also..when i am executing tomcat start there is no log entry in log file
Using CATALINA_BASE: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
Using CATALINA_HOME: /opt/tomcat/6.0.29/apache-tomcat-6.0.29
[code]....
View 14 Replies
View Related
Mar 20, 2011
We have three production websites running on RHEL 3 AS running tomcat 5. After a reboot last night Tomcat will not start and has the following in the catalina.out log:
Mar 20, 2011 4:09:31 PM org.apache.commons.digester.Digester startElement
SEVERE: Begin event threw error
java.lang.NoClassDefFoundError: org/apache/naming/resources/ProxyDirContext
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308) .....
I have spoken with our Java Developers and they seem to think it is something up between httpd and tomcat at an OS level. Since Tomcat is not starting and giving an error that it is all ready running, I think you have a stale lock file. Look for the file /var/run/tomcat5.pid and cat or less it to see what the PID number is. If it matches the error, then delete the file and try to start Tomcat again. It should start this time.
Most common problem with Tomcat5. Try following :
1) Search PID in /tmp, if found delete it or else stop your tomcat.
2) Undeploy your application
3) Check out this link [URL] to know what causing tomcat to generate this error.
If none of them work then check your application configuration settings. [URL]. When I do start tomcat it appears to start:
[root@RPSI-2 san00]# service tomcat5 start
Starting tomcat5: Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JAVA_HOME: /usr/java/jdk1.6.0
[root@RPSI-2 san00]#
But then I try to find if it is running via ps -ef | grep tomcat5, I only receive my query. I perform the same query on Java and it also only returns my query.
View 8 Replies
View Related
Jun 22, 2011
I want to use tomcat on my laptop,I am using ubuntu11.04.I tried so many times but unable to create directory under tomcat.Even though I have already installed tomcat and at the same time I see this at mozilla firefox by t still unable to create directory please tell me how to configure tomcat step by step
View 1 Replies
View Related
Jun 30, 2009
I am trying to launch a java web application automatically when the server starts from rc.local. Logged in as root with a console I can call the jar directly "java -jar /apps/web/fitapp.jar &" everything starts no problems. Once I add the same command to rc.local and reboot the webapp fails to start. Re-directing the output shows "Unable to access jarfile fitapp.jar". I've tried setting java environment variables (using in the rc.local, and in root's profile (bash), but that error persists.
View 2 Replies
View Related
Nov 28, 2013
I have a machine where I dabble a bit with mono and .NET in my spare time. It's running Jessie and upgraded mono to 3.0.6 from 2.x and MonoDevelop to 4.0.
Rebuilt my webapp after upping the target platform to Mono .NET 4.5 and it works fine in the debugger.
When copying the app to the production folder (on the same machine) it will no longer start and apache's error log says:
Code: Select allSystem.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionA
ttribute' from assembly 'System.Web'.
at Mono.WebServer.VPathToHost.CreateHost (Mono.WebServer.ApplicationServer server, Mono
.WebServer.WebSource webSource) [0x00000] in <filename unknown>:0
at Mono.WebServer.ApplicationServer.GetApplicationForPath (System.String vhost, Int32 p
ort, System.String path, Boolean defaultToRoot) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) Mono.WebServer.ApplicationServer:GetApplication
ForPath (string,int,string,bool)
[Code] ....
I understand from posts like this one: [URL] .....
...that Microsoft moved the ExtensionAttribute from System.Core.dll to mscorlib.dll in .NET 4.5. And that a [TypeForwardedTo] attribute is supposed to make this transparent.
I get this - but have no clue to how to make my webapp work? It does so under the debugger so it obviously does some magic.
View 2 Replies
View Related
Sep 9, 2009
I have one server with Jboss and Tomcat installed, I have to start these servers manually everytime I do reboot the server.How I could do to start Jboss and Tomcat automatically, when I do reboot the server?
View 1 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 25, 2010
Today I decided to install XDM instead of GDM. During installation I was asked which display system should Ubuntu use. I chose GDM - that was my mistake. Then I ran "dpkg-reconfigure gdm" and chose XDM. After restart my system was unable to load - progress bar was running and running and running. I pressed ctrl-alt-backspace and saw "starting x-display-manager". That's all, after that nothing happened. After that I renamed /etc/init/gdm.conf to gdm.conf.DISABLED and tried to load Ubuntu. It started with some big, old-stylish login screen and after that GDM was loaded again. "sudo xdm" seems to be working as nothing appears after that command.
View 9 Replies
View Related
Oct 10, 2010
I am having trouble starting SKIM in KUbuntu 10.10 and thus unable to type Chiense characters.
I have followed the instructions listed here [url]
But when I try to start SKIM through K Menu -> Utilities -> SKIM, it fails. I have no idea how to proceed from here.
I've also read this thread [url] and I'm stuck again at the part 'start SKIM'.
I can start SCIM (K Menu -> Settings -> SCIM), but it doesn't seem to have any effect when I invoke the trigger.
And so does the iBus Keyboard Input Methods application (K Menu -> Settings -> Key Board Input Methods) that I am able to start but have no effect too.
Under Settings, there is also another application called Input Method Switcher (K Menu -> Settings -> Input Method Switcher) which fail to start too.
So what can I do to be able to type in Chinese under KUbuntu? I remember setting it up in Ubuntu 9.04 is really easy.
View 2 Replies
View Related
Feb 15, 2011
I recently installed meerkat; when I try to start gdm from the terminal window with code...
View 6 Replies
View Related
Mar 22, 2011
cupsd has ceased starting at boot time. It is checked off in System->Administration->BootUp Manager, and it runs fine from the command line. But not at boot.This is not the problem reported here.I suspect there are a couple more processes that have stopped running, but their absence hasn't been obvious yet.FWIW, I'm running 10.04 with the 2.6.35-22 kernel.
View 2 Replies
View Related
Mar 28, 2011
When I boot up, right before the login screen appears, everything freezes, and I have no choice but to turn the computer off manually.
The first time it happened, I had just downloaded a HUGE update (hadn't been online with ubuntu in a long time), and the computer was probably installing the updates when it crashed, and then, the problem I described above.
I tried to boot up in recovery mode, but at some point the computer couldn't come further. I don't think it crashed, I think it was working, but nothing happened. At the time it got stuck the last command line read: [ 7.451509] udev[514]: starting version 163
In addition to ubuntu, I also run windows 7 on the computer.
View 4 Replies
View Related
Jun 22, 2011
sudden unable to start a terminal or logging in to my computer using ssh.Pressing Alt+f2 and typing xterm does not work.Also pressing ctrl+alt+f1 and trying to log in I get logged out immediately. Still gnome seems to be working fine. I have another user on my computer and that one is able to log in to my computerusing ssh, which I think is strange. btw. Did not see anything in the log files (maybe not looking in the right places?
View 1 Replies
View Related
Jan 23, 2010
I have a strange problem with my MINI Ubuntu. I am able to shutdown -h now and restart with power button, as long as I don't install pm-utils. If I install pm-utils, the computer turns of after shutdown -h now, but will not wake up after I press the power button. Light goes on, drives are running, but no BEEP.
View 1 Replies
View Related
Mar 1, 2010
don't know exactly where to put this. I'm having problem with gammu smsd, following error occurred when issuing command "gammu-smsd --config /etc/gammu-smsdrc":
"Error connecting to database: Access denied for user 'root'@'localhost' (using password: NO)"
but database login credential is correct. Following are my gammu configs. located at /etc:
gammu-smsdrc
# Configuration file for Gammu SMS Daemon
# Gammu library configuration, see gammurc(5)
[gammu]
# Please configure this!
[Code]...
View 1 Replies
View Related
Jul 11, 2010
I was trying to install Ubuntu 10.04 on my Sony VAIO Laptop, for the full specs, it's here. I have Windows 7 Ultimate 64-bit, I downloaded the latest version of Wubi. I copied the Wubi executable to the directory where I downloaded the ISO file of Ubuntu 10.04 (32-bit). Everything went fine, I was able to install it properly. Then I after restarting my computer and selecting Ubuntu on the Boot Menu, the only thing that I can see is just a blank screen. I tried hard rebooting a lot of times and still, nothing happens.
what is the possible solution to the "blank screen" issue that I'm experiencing?
View 3 Replies
View Related
Jul 13, 2010
I have installed moblock, moblock-control and mobloquer from the AUR, however I am unable to start moblock. Mobloquer launches fine, and will update the blocklists fine. However, upon clicking "start" I receive the following;
Problematic Deamon status: 1 Moblock is not running* what do i do??? please help me i have tryed loging in as root and i maked it for compleat removal? then i reinstalled it but it still gives me the same error
it was working until i changed my MAC on wlan0 when i go to MoBlock status: this is what it says
Code:
Current IPv4 iptables rules (this may take a while):
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
4 381 blockcontrol_in all -- * * 0.0.0.0/0 0.0.0.0/0 state NEW mark match !0x14
0 0 ACCEPT tcp -- * * 192.168.1.1 0.0.0.0/0 tcp flags:!0x17/0x02
[Code]...
View 2 Replies
View Related
Dec 12, 2010
I can't start the desktop effects.
View 9 Replies
View Related
Feb 5, 2011
I have system problem about my Ubuntu 10.04 system. after I boot my Ubuntu, The login box is missing from gnome screen. I could not login my graphic system. I can use the command line by ctrl+alt+f1. I used sudo /etc/init.d/gdm start try to restart the xwindows the output isgdm already started I try to
stop gdm
start gdm
then the xwindows restarted, but still missing the login box I also try to use
dpkg-reconfigure xserver-xorg
reconfigure the server, but unfortunately there is no change after I restart the genome, I could still not see the login box I am confirm that there are additional spaces on my laptop. I can also enter the graphic system on safe mode by startx command.
View 2 Replies
View Related
Jul 17, 2011
i noticed that my cpu is running on full scale all the time and tried to install inducator-cpufreq to get it under control.The problem is that thr indicator doesn't show up.I installed is from ppa:
Code:
sudo add-apt-repository ppa:anton-sudak/indicators
sudo apt-get update && sudo apt-get install indicator-cpufreq
and tried to run it by simply executing indicator-cpufreq.If i try to run it from terminal it gives me the following errors:
Code:
nigggo@nigggo-desktop:/$ sudo indicator-cpufreq
Traceback (most recent call last):
File "/usr/bin/indicator-cpufreq", line 81, in <module>
ind = MyIndicator()
[code]....
What am i doing wrong? I am running natty x64 with latest kernel and stuff...
View 3 Replies
View Related
Jun 15, 2010
My /dev/sda1 has problem and we are unable to start my FC5, how to bypass it .. ?
View 3 Replies
View Related