CentOS 5 Server :: Start Jboss And Tomcat Automatically, When I Do Reboot The Server?

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


ADVERTISEMENT

Server :: Performance Tunning Of Apache-tomcat And Jboss Application Server?

Jul 2, 2010

Can anyone tell me in performance tunning of apache-tomcat and jboss application server?when I deploy some application in apache-tomcat the performance is say 100 users per second and incase of jboss it is even worst (35-40 users per second)i want to improve my performance 1000 uesrs per second..

View 1 Replies View Related

Server :: After Reboot Tomcat 5 Will Not Start On RHEL3

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

Server :: Trying To Get Radius To Start After Reboot Automatically

Sep 30, 2010

I have installed FreeRadius to a Debian Linux server.I have configured an account called Support to run the Radius as I didn't want Root to be the user to run this.I want Radius to start up automatically after the system is rebooted but I don't know how to do this. I am new to Linux so please bare with me. If the system is rebooted, is it possible for the Support account to be logged in automatically? Is there a script I can create to automatically login the Support account? This may not be secure but it has been requested. Also the main question is after a reboot can the Radius be configured to automatically start without the need for someone to login? So if the system is rebooted and then goes back to login prompt, can the Radius then be running?

I have had a good search about scripts but with my limited knowledge it isn't too easy.

After reading it also said something about using rc.radiusd which will automatically start Radius after a reboot, but again I cannot understand exactly what I need to do.Please can someone help out with this and let me know if I am on the right track? Will the start-my-radius.sh script work after the system is rebooted without someone actually login and how do I get it to work?Please explain clearly as this is all a bit technical for my liking and not understanding it well!

View 2 Replies View Related

Ubuntu Servers :: How To Start Automatically Vsftpd In Server After Reboot

Aug 5, 2010

how to start automatically vsftpd in my server after reboot?

View 5 Replies View Related

Ubuntu :: Automatically Start Lsyncd Daemon On Server Reboot?

Jun 14, 2011

My problem now is that lsyncd does not automatically start if the server reboots. I need lsyncd to start automatically also using the --delay 5 option.

I've had trouble finding any info on this other that some Japanese sites (I cant read japanese) using chkconfig, although it didn't work as I think chkconfig is depreciated anyway.

View 3 Replies View Related

CentOS 5 Server :: Reboot The Server With Centos 5.5 The SMB Deamon Doesn't Start?

Feb 22, 2011

when I reboot the server with centos 5.5 the SMB deamon doesn't start?

View 2 Replies View Related

Server :: How To Start And Stop Jboss Server?

Nov 12, 2010

how to start and stop jboss server i had done but it is saying permission denied.

View 2 Replies View Related

General :: JBoss Application Server Cannot Start

Jul 30, 2010

16:46:50,375 INFO [AbstractJBossASServerBase] Server Configuration:

JBOSS_HOME URL: file:/C:/jboss-6.0.0.20100721-M4/
Bootstrap: $JBOSS_HOMEserver/default/conf/bootstrap.xml
Common Base: $JBOSS_HOMEcommon/

[code]....

View 1 Replies View Related

CentOS 5 Server :: Set A Service To Start Up Automatically?

Apr 24, 2010

Ok, so I have installed apache 22, mysql5.0 and proftpd1.3. When I reboot my server, the above applications do not start up automatically, and I have been trying to figure out how with out much success. know that I need to make some changes inside the init.d directory on my CentOS Server.I am running CentOS 5.4 x86_64 build.I really am not sure how to accomplish the task or where to start.

View 4 Replies View Related

CentOS 5 Server :: How To Tell Qmail To Start Up Automatically

Aug 15, 2010

I am still pretty green when it comes to centos and linux in general. I have installed rpm and source packages before with little trouble by following the guides available on the support site and wiki for centos.I am running centos 5.4 on a virtual server.I followed the guide for installing vpopmail at URL...mailSince this is a VPS server I cannot install gnome and is why I opted for vpopmail + qmail.

The first issue I have is: I don't know how to tell qmail to start up automatically because after the install of qmail from source as the guide told me to, it did not place a startup files in the /etc/init.d, and I can't find any useful documentation on how to trouble shoot that.I try to use "chkconfig qmail on" and "chkconfig --level 345 qmail on" but both give me the error "error reading information on service qmail: No such file or directory"The version of qmail I am using is the latest 1.0.3, and the version of vpopmail is 5.5.

Vpopmail seems to be working just fine, as is the mysqlauth mod. I check the vpopmail database in mysql, and all the values I used for the domain and user show up there.The settings also show in the qmail configuration directory files for the domain.My first clue as to something being wrong was that when I send an email to the address I setup, I get nothing delivered on the server, but I also do not get any bounce backs or errors to tell me the details of what went wrong.At first I figured it was my firewall, so I disabled iptables.That did not fix it.I also tried disabling SElinux. That also made no difference.

View 10 Replies View Related

Server :: How To Start Jboss Portal In Command Mode?

Jun 28, 2010

How to start jboss portal in command mode???

View 1 Replies View Related

Server :: Start Or Stop Jboss At Boot Time?

Jan 3, 2011

how to start or stop Jboss at boot time?

View 1 Replies View Related

CentOS 5 Server :: Setup Shoutcast To Automatically Start?

Dec 23, 2009

how to setup shoutcast to automatically start when i start my server?

i have installed it on /root/shoutcast ; configuration file /root/shoutcast/shoutcast_config

View 1 Replies View Related

CentOS 5 Server :: Apache Automatically Start After Stopped It?

Jun 14, 2011

I installed apache 2.2 with centos 5.5. When I typed service httpd stop, apache stopped. Then in a minute, it automatic start again. I don't use crontab, and I tried 'chkconfig httpd off', but it still automatic start. I used 'ps -ef' to look process, I saw, httpd have PPID is 1, and then I find PID 1 have PPID 0.

View 1 Replies View Related

General :: Start The Tomcat Server Remotely?

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

CentOS 5 Server :: How To Setup Tomcat On 5.2

May 6, 2009

I am trying to setup Tomcat on CentOS 5.2,This is that ive done so far...Installed Apache, which works fine and I get the "Apache 2 Test Page powered by CentOS" Did this

yum install tomcat5 tomcat5-common-lib tomcat5-jasper tomcat5-jsp-2.0-api tomcat5-server-lib tomcat5-servlet-2.4-api

View 3 Replies View Related

Server :: How To Set HTTPD To Stop Automatically On Reboot

Oct 14, 2010

By default httpd will automatically start when reboot..?? Is there any command to stop it automatically when reboot??

View 5 Replies View Related

CentOS 5 Server :: Apache-Tomcat Not Working?

Feb 5, 2009

I've installed Apache Tomcat--6 and even jdk1.6.I've even created a tomcat.sh file to start the serverautomatically and it includes the Environment variables also ($CATALINA_HOME & JAVA_HOME) for automatic startup.Next when i'm using http://localhost:8080 to call the server it shows unable to connect.I've tried changing the port no of tomcat in server.xml file. but still its not working.

-->Then i tried using--telnet localhost comand--it shows Trying 127.0.0.1...

telnet: connect to address 127.0.0.1: Connection refused

telnet: Unable to connect to remote host: Connection refused

Here I'[m stuck i don't understand how do i make the localhost work.

-->If I'm giving telnet localhost 25 the sendmail server is working.But the 80 and 8080 ports are not getting configured.

-->I've tried adding the port and its name in /etc/services file but still its not working.

-->When I'm giving the command--/sbin/chkconfig --list--->Its shows: xinetd based services:

...
...

telnet on.what should i do to get my tomcat server work properly.

View 2 Replies View Related

Ubuntu :: Start Synergy On Startup Wont Start Automatically On Server

Oct 13, 2010

Im trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:

[code]...

but still no dice.

View 9 Replies View Related

CentOS 5 Server :: Upgrade Tomcat 5 To 6 (CentOs 5.2) ?

Feb 25, 2009

I have installed CentOS 5.2, apache tomcat 5 already included, How can I upgrade tomcat to version 6 ?

View 1 Replies View Related

CentOS 5 Server :: Ipt_Sysrqd To Reboot A Server By Ping

Apr 26, 2009

I see this site: [url]

That explain how to reboot a freeze system by remote with only make a ping in other machine.

Well I want to know if that module is compatible with my centos 5 because it appear that run in kernel 2.6.X. is compatible ?

View 2 Replies View Related

CentOS 5 Networking :: XP Boxes - Tomcat Server Running On Port 8080

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

Ubuntu :: OpenVPN Server Won't Start After Reboot

Jul 15, 2010

I had recently setup an OpenVPN server on x64 10.04 via the guide found at: [url]

Everything was working perfectly, all clients were able to connect etc.

Today I needed to reboot for a completely unrelated issue - only to find that upon logging in, openVPN was no longer running.

When I tried to execute 'sudo /etc/init.d/openvpn start' I'm presented with an interesting message...

This *used* to say Server. I've double checked all the configs and scripts used in the config and they all check out OK. I purged and reinstalled openVPN to no avail...

View 2 Replies View Related

Server :: Dovecot Failed To Start After Reboot

Mar 19, 2011

Few days ago we had a server maintenance. The system was shutdown, we fix the CPU fan, and start the system again. But somehow when the system starts, our IMAP server - dovecot is not running. It just sit like a rock. Because the machine had a CPanel/WHM, I tried to restart dovecot using cpanel and got a message:

Code:

That was not really useful....

When I tried to restart dovecot using command line, I got nothing. really nothing.

Code:

How to find out what happens to my IMAP/dovecot? And anyway to make it run again?

I'm using CentOS 5.5 X64 with dovecot 1.2.16

View 5 Replies View Related

CentOS 5 :: Tomcat 5.5 Does Not Start At Boot?

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

Server :: Start Squid Service Automatically?

Mar 14, 2011

When ever I reboot my server I always turn on the squid service. Is there any way that without giving command

Code:
#service squid start
my squid service should automatically start ?

View 7 Replies View Related

Ubuntu Servers :: VMWare Server Does Not Start After Reboot

Nov 30, 2010

Ok so I followed the instructions here [url] and this works great for the install however if the machine is rebooted the VMWare server refuses to start back up stating that it knows that its installed but it was not installed with the right installer.

This is on a Dell Server I can't remember the model right now but its got Dual PIII in it. I'm running Ubuntu Server 32bit 10.10 on the box as well. Thank you in advance for your assistance with this. Once I get this first server figured out I'll get my other one fired back up.

View 2 Replies View Related

General :: Reboot The Server The Process Doesn't Start?

Mar 5, 2011

I need help adding a nohup command in this command line: su - rhx12 -c "/rhythx/rhythx/bin start /rhythx/rhyth" When I execute the script using root on the command line it works fine. But, when I reboot the server the process doesn't start. This script will go into the etc/init.d and rc2.d directory.

#!/bin/bash
case $i in
start)
su - rhx12 -c "/rhythx/rhythx/bin start /rhythx/rhythx"
;;

[Code]...

View 2 Replies View Related

General :: How To Start Postgresql Server Automatically When Boot?

Aug 5, 2010

I'm wondering how I start it automatically when I boot up the ubuntu 10.04? especially, when I created the user "postgres", I set a password to it. every time I issued "su - postgres" command, I need to give it a password.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved