Fedora :: Unable To Start Tomcat 6 While Running Liferay?
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
ADVERTISEMENT
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
View Related
Aug 20, 2010
I know Ubuntu has changed the startup system in 10.04 and I am wondering how to go about starting my liferay server at boot (instead of starting manually).
There's already a startup script, can I setup a symlink to somewhere to have it start automatically?
I've tried searching through documentation and google but most of it applies to older versions of Ubuntu.
View 3 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
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
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
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
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
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
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
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 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
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
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
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
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
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
Jan 18, 2010
I had a liferay portal running under windows XP and it worked fine. I decided to migrate system to linux (ubuntu 9.10) and now the portal doesnt launch. Here are my doubts:
* In windows I didnt install tomcat. Launching the /liferay-portal-5.5.2/tomcat-5.5.27/bin/startup.bat it worked fine. Is it mandatory to install tomcat in the linux system in order to work?
* When I launch /liferay-portal-5.5.2/tomcat-5.5.27/bin/startup.sh I didnt get any error, but portal doesnt launch and nothing happens. This are the lines when launching:
Code:
root@wserver:/home/PATH/liferay-portal-5.2.2/tomcat-5.5.27/bin# ./startup.sh
Using CATALINA_BASE: /home/PATH/liferay-portal-5.2.2/tomcat-5.5.27
Using CATALINA_HOME: /home/PATH/liferay-portal-5.2.2/tomcat-5.5.27
[code]....
UPDATE: Reviewing the tomcat logs I saw that apache was running in port 80 and it created a conflict. I have disabled apache on boot and launched again the statup.sh:
org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-80
INFO: Failed shutdown of Apache Portable Runtime
using netstat -tul port 80 doesnt appear as used, only ports ipp, postgresql, smtp, 5433, 8005, 5433 and 53585
View 3 Replies
View Related
Apr 18, 2010
I've written up a tutorial to get the latest community edition of Liferay up and running on an existing open-source Glassfish Server. All instructions are completed over SSH on an Ubuntu 9.10 Server install with MySql database. Takes about 15min to run all the commands (network and processor dependent)If you'd like to give it a go I've posted the instructions here: How to install Liferay on the Glassfish Application Server over SSH
View 1 Replies
View Related
Jun 10, 2011
Last time I installed the ATI graphics driver on my PC, it was'nt working fine so I uninstalled that driver. I restarted the PC after uninstalling the driver but then, when PC boots and start running the services the screen just hangs and I don't get into the desktop.
I tried to run the xfs service using service xfs restart and also gdm service using service gdm restart, but in both the cases it shows that Unrecognized Service. So, I think it means that the package for xfs and gdm service is not available in my PC. Is that so?
I tried to get into the desktop by running startx but it gave the following error :-
Fatal Server Error: no screen found
consult the fedora project support at [URL] for help.
check the log file at "/var/log/Xorg.0.log" for additional information.
giving up
xinit: connection refused (errno 111): unable to connect to X server
xinit: no such process (errno 3): server error.
View 1 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
Sep 13, 2009
i upgrade system from fedora10 to 11 when i start the system i got following error Unable to keep input method running giving up to bring the process up because main input method process for SCIM rapidly died many time.See .imsettings.log for more details
[Code]...
IM-Settings-Daemon[2595]: CRITICAL **: Giving up to bring the process up because Main Input Method process for SCIM rapidly died many times. See .imsettings.log for more details.
View 2 Replies
View Related
Jul 30, 2009
I have fedora 10 and vista in my system. however,all was working fine ,but suddenly today when i tried to boot into fedora , i found that the avahi demon was not starting , and when the systemn booted , a message was shown that thre wasn't enough memeory space , and a blacjk scereen was shown , then i booted into vista and tried t acess the linux partiotion by Explore 2f software... At first it showed not enough memory space , but on rescanning the partition,it is showing the /boot folder.So how do i delete some data in fedora ?
View 1 Replies
View Related
Jun 28, 2010
I can start my webservers sometimes, but not at everytime. After restarting the system, again I can start my web server as usual. Whether it is a problem of fedora9 or web servers?
View 1 Replies
View Related
Jun 1, 2011
I am not able to get evolution to start up. I have tried removing the .evolution and .gconf/apps/evolution and, uninstalling and re-installing evolution and the most i could get is the initial config screen to setup the mail account. After i do all of that, the window disappears and does not come back. Does anyone know how to start up evolution?
View 3 Replies
View Related
Sep 23, 2009
I am trying to start FTp service both from Terminal and Cpanel interface but unable to start. it says cannot start ftpd service. contact administartor
It's Redhat Linux can anybody help me to fix this issue?
View 5 Replies
View Related