Victor, I read you posting regarding issues running two jrun servers on
a machine. Did you ever get any response? For some reason I can no
longer post to the newsgroup. Anyway, I've managed to get two jrun
servers going on my redhat6.2 box, one for production and one for
development. Only the production instance is linked to apache - I got
socket address bind errors when I tried two. So we access deveopment
directly from it's web server port. I changed all port numbers to be
separate (+=10) as is evidenced by the diff below. Now occasionally,
web clients cannot access the development server - essentially they need
to do a refresh before they can hit the page. I see this message in my
/var/log/messages file:
Mar 21 06:55:38 penguin inetd[424]: auth/tcp: bind: Address already
in use
Any clues as to what this might be? Thanks, BenG.
--
# diff default/local.properties develop/local.properties
5c5
< jrun.server.displayname=JRun Default Server
---
> jrun.server.displayname=JRun Develop Server
62c62
< control.endpoint.main.port=50001
---
> control.endpoint.main.port=50011
116c116
< jcp.endpoint.main.port=8143
---
> jcp.endpoint.main.port=8153
131c131
< web.endpoint.main.port=8142
---
> web.endpoint.main.port=8152
148c148
< zeus.endpoint.main.port=9100
---
> zeus.endpoint.main.port=9110
276c276
< servlet.webapps=beta12,beta13
---
> servlet.webapps=pdev
321c321
< ejb.javaargs=-Dejipt.classServer.host=127.0.0.1
-Dejipt.classServer.port=2323 -Dejipt.homePort=2333
-Djava.security.policy={jrun.rootdir}/lib/jrun.policy
-Dejipt.home={jrun.rootdir} -Dejipt.ejbDirectory={jrun.server.rootdir}
---
> ejb.javaargs=-Dejipt.classServer.host=127.0.0.1
-Dejipt.classServer.port=2333 -Dejipt.homePort=2343
-Djava.security.policy={jrun.rootdir}/lib/jrun.policy
-Dejipt.home={jrun.rootdir} -Dejipt.ejbDirectory={jrun.server.rootdir}
324d323
< #ejb.services=ejb,jms
326,339c325,327
<
< #webapp.mapping./=
< #.rootdir=/home/BenG/Src/doms-pdev/packages/pdev
< #.class={webapp.service-class}
<
< # 3/14/2001, BenG
< ranConnector=yes
<snip snip>
--
Ben Groeneveld
Information Concepts, Inc., 115 N.W. Oregon, Suite 30, Bend, OR 97701
Mailto:[EMAIL PROTECTED], phone:541.388.3611, cell:208.520.6488
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists