[Installation, Configuration & Deployment] - Re: JBOSS runs as a service, but will not autostart
by PeterJ
Yes, I understand all that, but "weird" things happen when services start automatically at startup. What I am suspecting is that the OS does attempt to start the service, but it is crashing for some reason. I imagine there is an OS log file somewhere that might give some clues on the issue, but I would not know offhand. And even if I knew where that log was on Ubuntu , such knowledge might not help you on CentOS. So the best alternative is to have the script "echo" so info.
If you are using one of the jboss_init_*.sh scripts, then you will see this:
| JBOSS_CONSOLE=${JBOSS_CONSOLE:-"/dev/null"}
| . . .
| eval $JBOSS_CMD_START >${JBOSS_CONSOLE} 2>&1 &
in which case all you have to do is change the /dev/null to something a little more permanent ;-) Or set JBOSS_CONSOLE earlier script - there are some 'if' statements earlier in the script that ensure the files is accessible, so set it before those statements. And of course test manually first.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257964#4257964
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257964
16 years, 6 months
[JBoss Cache Users] - Classloader Issues
by schamarthi
Hi,
I am working on a web application that uses Spring (3.0.0.M3), JPA, Hibernate Provider deployed in Jboss Portal. (2.7.2 - Jboss Core 4.2.3).
I want to use Jboss Cache in my application at business layer and also for S3 objects.
I have created CacheMgr Spring Initializing Bean which binds Cache Object to Jndi during init method.
I have placed the following jars in WEB-INF/lib folder
jgroups.jar
jboss-cache-core.jar
So it rightly complained about Jboss Util Marshalling classes and I have included jboss-common-core.jar file.
But this jar file is breaking my other parts of the application. Weirdly Its complaining about DataSources defined in my spring context file which is working fine without the CacheMgr bean.
Did any one encountered the similar issue ? I was strugging with this for last one week, any help is greatly appreciated.
thx in advance,
Srinivas
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257962#4257962
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257962
16 years, 6 months