[Installation, Configuration & Deployment] - How to provide the bind address when running JBoss as a serv
by gpuckett
I am in the process of separating my production envrionment so I can implement load balancing. First I need to just get jBoss running on one machine and Apache and mySQL running on another. I am using the jBoss native executable (jBossSVC.exe) to run it as a service.
Since it now needs to talk to a "remote" server it can no longer use 127.0.0.1 as the bind address. So I need to provide the address for it to use.
If I run jBoss from the command prompt and use the -b xxx.xxx.xxx.xxx parm it runs fine. However, it must run as a service in the production envrionment. I can't figure out how to provide the bind address when running it as a service.
I have the following connector definition in my server.xml file:
| <!-- Define an AJP 1.3 Connector on port 8009 -->
| <Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
| emptySessionPath="true" enableLookups="false" redirectPort="8443"
| connectionTimeout="600000" maxThreads="500" />
|
Where does jboss.bind.address get set? Is there a parm I can set in a configuration file that sets this rather than using a command line argument?
Thanks
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268365#4268365
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268365
15 years, 1 month
[Tomcat Integration] - jboss adds
by chrlon
JBoss is looking for tmp files in the "wrong" directory. For example, in our case the tmp files are created in:
tmp/deploy/tmp6516248728899508581OurApp_Ear.ear-contents/OurApp_Web-exp.war/WEB-INF/jsp/
but jboss is looking for them in (note the extra "localhost" in path):
tmp/deploy/tmp6516248728899508581OurApp_Ear.ear-contents/OurApp_Web-exp.war/localhost/WEB-INF/jsp
wich results in:
| stat("/usr/local/jboss-4.2.2.GA/server/OurApp-node0/tmp/deploy/tmp6516248728899508581OurApp_Ear.ear-contents/OurApp_Web-exp.war/localhost/WEB-INF/jsp/something.jsp", 0x7f8c84bf3060) = -1 ENOENT (No such file or directory)
|
I.e. file not found and bad performance because JBoss will compile the jsp on every request.
How can we resolve this issue?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268361#4268361
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268361
15 years, 1 month
[jBPM Users] - Migrating from 3.2.6 to 4.X?
by gfargone
Hello,
We are using JBPM 3.2.6.SP1 in production. I have read here that process definitions are about 80% convertible going to JBPM 4. However, I have not found any information on migrating the underlying database.
Loosing all existing process data is not really a good incentive to convince our users to allow me to upgrade to 4.X.
It would be really nice to get the new EJB command interface which is far more functional than the 3.X branch has. I have wrappers around all calls to JBPM so that aspect of the upgrade may be the easiest. Reworking process definitions seems straight forward and we have only four distinct processes currently.
The greatest dilemma at this point is pending processes in the system.
Any ideas how the upgrade could be made without loosing all existing data?
Thank You,
Tamas
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268359#4268359
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268359
15 years, 1 month