<part host="c83-253-30-113.bredband.comhem.se" login="n=ljo" nick="ljo" reason="Read error: 110 (Connection timed out)" time="03:41:21.909+01:00"/>
<join host="p5B20D181.dip.t-dialin.net" login="n=wolf" nick="wolf77" time="09:51:21.422+01:00"/>
<join host="c83-253-30-113.bredband.comhem.se" login="n=ljo" nick="ljo" time="10:53:58.194+01:00"/>
<join host="i188127.upc-i.chello.nl" login="n=chatzill" nick="DiZzZz" time="10:55:04.424+01:00"/>
<message nick="DiZzZz" time="10:55:11.844+01:00">moin</message>
<message nick="wolf77" time="10:56:43.098+01:00">Moin</message>
<message nick="ljo" time="10:57:10.265+01:00">noin</message>
<message nick="ljo" time="10:57:14.05+01:00">m</message>
<part host="i188127.upc-i.chello.nl" login="n=chatzill" nick="DiZzZz" reason="Remote closed the connection" time="11:05:20.631+01:00"/>
<join host="kurobara.netvor.sk" login="i=umage" nick="ultramage" time="13:59:47.587+01:00"/>
<message nick="ultramage" time="14:01:32.059+01:00">hello, I'd like to ask whether it is possible to change the :8080 port that eXist uses to something else... because that port is already occupied on the server where I want to run it...</message>
<message nick="ljo" time="14:43:12.244+01:00">Yes, sure depending on your deployment it is either in server.xml (server.sh) or in web.xml (startup.sh).</message>
<message nick="ljo" time="14:44:08.791+01:00">Please search the mailing list if unsure where to find these.</message>
<join host="i188127.upc-i.chello.nl" login="n=chatzill" nick="DiZzZz" time="14:45:36.47+01:00"/>
<message nick="ultramage" time="14:49:48.553+01:00">o___o</message>
<message nick="ultramage" time="14:51:06.859+01:00">well, I did a fulltext search last time for the word 'port' and didn't find it, now I found it</message>
<message nick="ultramage" time="14:51:28.188+01:00"><listener protocol="http" port="8088"/></message>
<message nick="ultramage" time="14:51:47.494+01:00">but I think you misunderstood</message>
<message nick="ultramage" time="14:52:23.263+01:00">13 Apr 2008 15:52:05,762 [main] WARN (ThreadedServer.java [start]:518) - Failed to start: P1@0.0.0.0:8080 org.mortbay.util.MultiException[java.net.BindException: Address already in use]</message>
<message nick="ultramage" time="14:52:48.257+01:00">I have the feeling that port 8080 is hardcoded all over the codebase</message>
<message nick="ultramage" time="14:52:57.81+01:00">at least grep says so</message>
<message nick="ljo" time="15:05:46.293+01:00">I don't think so.</message>
<message nick="DiZzZz" time="15:06:56.419+01:00">sure it is not</message>
<message nick="ljo" time="15:09:08.408+01:00">ultramage, no problem running at any free selected port here. So you must do something wrong.</message>
<message nick="ultramage" time="15:10:28.797+01:00">so what's the 8080 port supposed to be?</message>
-<message nick="ultramage" time="15:10:59.729+01:00">
I went over the eXist page, and everywhere it says about "go to
<a href="http://url:8080">http://url:8080</a>
", as if there was no other choice
</message>
<message nick="ljo" time="15:11:13.828+01:00">Whatever you choose.</message>
<message nick="ultramage" time="15:11:45.03+01:00">I get the feeling it's some kind of bootstrapper that launches the server itself..</message>
<message nick="DiZzZz" time="15:12:00.852+01:00">at least I have all my instances running on different ports; 8013 for release 1.3 ; 8012 for release 1.2.x etc</message>
<message nick="DiZzZz" time="15:12:22.231+01:00">neatly proxied by apache httpd</message>
<message nick="DiZzZz" time="15:12:38.063+01:00">so really there is no problem</message>
<message nick="ljo" time="15:12:42.088+01:00">Did you check the apropriate config file i named above?</message>
<message nick="ultramage" time="15:12:51.15+01:00">hm :\</message>
<message nick="ultramage" time="15:13:12.559+01:00">I will try to locate web.xml, but I peeked into server.xml and there is no occurence of the string '8080' anywhere in there</message>
<message nick="ljo" time="15:14:22.564+01:00">Hey, wrong file for you then. It clearly states port="8088" in mine.</message>
<message nick="ultramage" time="15:14:37.475+01:00"><listener protocol="http" port="8088"/></message>
<message nick="ultramage" time="15:14:39.317+01:00">mine too</message>
<message nick="ultramage" time="15:15:05.313+01:00">yet when I run startup.sh, one of the startup components tries to use port 8080</message>
<message nick="DiZzZz" time="15:15:15.346+01:00">dude</message>
<message nick="ljo" time="15:15:23.247+01:00">So, you deploy startup use web.xml?</message>
<message nick="DiZzZz" time="15:16:03.191+01:00">there is a difference beteeen bin/startup.sh and bin/server.sh</message>
<message nick="DiZzZz" time="15:16:11.502+01:00">which one do you use?</message>
<message nick="DiZzZz" time="15:16:17.741+01:00">between that is</message>
<message nick="DiZzZz" time="15:16:43.306+01:00">for startup.sh you should check tools/jetty/etc/jetty.conf or so</message>
<message nick="ultramage" time="15:17:04.615+01:00">I always used startup.sh before ._.</message>
<message nick="DiZzZz" time="15:17:05.876+01:00">jetty.xm</message>
<message nick="DiZzZz" time="15:17:11.985+01:00">xml</message>
<message nick="ultramage" time="15:17:13.817+01:00">so it's probably my fault</message>
<message nick="ljo" time="15:18:02.343+01:00">well, yes, to answer questions when asking for help is a good start. </message>
<message nick="ultramage" time="15:18:53.843+01:00">I've been running eXist on my local machine that doesn't have any special services running, using the startup script</message>
<message nick="ultramage" time="15:19:12.438+01:00">now I moved it to a server that has stuff like Glassfish running, and this same approach failed on me</message>
<message nick="ultramage" time="15:19:26.878+01:00">so I'm trying to make some sense out of this</message>
<message nick="ultramage" time="15:21:19.751+01:00">thank you for pointing mi to that jetty.xml conf file</message>
<message nick="ultramage" time="15:22:41.833+01:00">I read some instructions I googled, about adding -Djetty.port=somevalue to OPTIONS, but the layout changed since the instructions were written I guess</message>
<message nick="ljo" time="15:27:23.165+01:00">should work</message>
<message nick="ultramage" time="15:29:25.851+01:00">I appended it to the end of the script that does the 'java -jar' thing ... and no change whatsoever</message>
<message nick="ultramage" time="15:29:39.82+01:00">but modifying the configuration file itself did the job</message>
<message nick="ljo" time="15:30:09.941+01:00">But changing in jetty.xml does, right?</message>
<message nick="ljo" time="15:30:16.089+01:00">ok</message>
<message nick="ljo" time="15:37:16.08+01:00">Appending it to JAVA_OPTIONS work, though.</message>
<join host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" time="16:05:56.226+01:00"/>
<join host="62.232.6.162" login="n=PircBot" nick="XDrone_____" time="17:05:07.83+01:00"/>
<join host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig_" time="17:20:44.091+01:00"/>
<part host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" reason="Read error: 104 (Connection reset by peer)" time="17:20:44.472+01:00"/>
<part host="c83-253-30-113.bredband.comhem.se" login="n=ljo" nick="ljo" reason="Read error: 110 (Connection timed out)" time="17:51:22.738+01:00"/>
<join host="i188127.upc-i.chello.nl" login="n=DiZzZz" nick="DiZzZz" time="18:18:09.13+01:00"/>
<part host="d51A40105.access.telenet.be" login="n=Mephisto" nick="Mephisto" reason="Nick collision from services." time="19:11:38.169+01:00"/>
<join host="d51A40105.access.telenet.be" login="n=Mephisto" nick="Mephy" time="19:11:56.103+01:00"/>
<join host="81.196.83.67" login="n=thor" nick="rebelThor" time="19:37:19.692+01:00"/>
<message nick="perig" time="19:46:49.817+01:00">.</message>
<part host="81.196.83.67" login="n=thor" nick="rebelThor" reason="Remote closed the connection" time="20:13:42.146+01:00"/>
<join host="82-32-192-153.cable.ubr05.newt.blueyonder.co.uk" login="n=Adam" nick="Adam__" time="21:15:19.878+01:00"/>
<message nick="_delirium" time="21:18:26.322+01:00">hey everyboxy</message>
<message nick="_delirium" time="21:18:28.184+01:00">hey everybody</message>
<message nick="perig" time="21:18:33.431+01:00">heey</message>
<message nick="_delirium" time="21:18:43.054+01:00">perig, hey how are you?</message>
<message nick="_delirium" time="21:18:50.304+01:00">afraid my new job does not allow IRC</message>
<message nick="perig" time="21:18:56.923+01:00">i'm OK</message>
<message nick="_delirium" time="21:18:59.937+01:00">(yet) ;-)</message>
<message nick="_delirium" time="21:19:04.513+01:00">perig, good good</message>
<message nick="_delirium" time="21:19:27.585+01:00">has my replacement at the Portal been in asking questions yet?</message>
<message nick="wolf77" time="21:20:31.602+01:00">Hi Adam. Not many people were asking questions here recently.</message>
<message nick="perig" time="21:21:18.295+01:00">don't know : I was pretty absent the last days :-)</message>
<message nick="wolf77" time="21:21:23.602+01:00">so what's his name?</message>
<message nick="_delirium" time="21:22:24.044+01:00">erm i cant remember to be honest</message>
<message nick="_delirium" time="21:22:33.057+01:00">im a bit annoyed about the whole thing</message>
<message nick="wolf77" time="21:22:47.757+01:00">annoyed, why?</message>
<message nick="_delirium" time="21:23:05.941+01:00">after they claimed they couldnt afford to employ us - they then realised they needed someone - and hired a very expensive consultant to come down from London for 3 months</message>
<message nick="_delirium" time="21:23:26.059+01:00">they wouldnt offer me the consultancy work - i think because it would look like they had made a very big mistake</message>
<message nick="wolf77" time="21:24:54.869+01:00">probably yes. it works like that in other companies as well.</message>
<message nick="_delirium" time="21:25:22.387+01:00">oh well</message>
<message nick="wolf77" time="21:25:36.095+01:00">first get rid of the people, then pay a lot more to get the same work done as before ;-)</message>
<message nick="_delirium" time="21:25:50.925+01:00">i also spent sometime trying to persuade them to open source the community directory - but to be honest it was just too radical a move for local government</message>
<message nick="_delirium" time="21:25:58.626+01:00">wolf77, exactly</message>
<message nick="_delirium" time="21:27:34.296+01:00">wolf77, hows you?</message>
<message nick="wolf77" time="21:28:22.762+01:00">all as usual</message>
<message nick="_delirium" time="21:28:32.104+01:00">wolf77, are you still do the skikes?</message>
<message nick="wolf77" time="21:29:15.674+01:00">yes, sure. I was outside today - until I got soaking wet in the rain.</message>
<message nick="_delirium" time="21:29:43.511+01:00">wolf77, myself and my girlfriend just bought some in-line skates</message>
<message nick="wolf77" time="21:30:34.481+01:00">ah yes, I have some of those as well</message>
<message nick="_delirium" time="21:31:10.189+01:00">wolf77, find them much easier than ice skates</message>
<message nick="wolf77" time="21:31:18.841+01:00">less exhausting than skikes</message>
<message nick="_delirium" time="21:31:34.011+01:00">hehe</message>
<message nick="_delirium" time="21:32:04.913+01:00">wolf77, are you on facebook?</message>
<part host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" reason="Read error: 104 (Connection reset by peer)" time="21:32:38.179+01:00"/>
<message nick="wolf77" time="21:32:48.222+01:00">no</message>
-<message nick="_delirium" time="21:32:51.667+01:00">
wolf77,
<a href="http://photos-c.ak.facebook.com/photos-ak-sf2p/v172/145/105/567216351/n567216351_887450_1609.jpg">http://photos-c.ak.facebook.com/photos-ak-sf2p/v172/145/105/567216351/n567216351_887450_1609.jpg</a>
</message>
<message nick="wolf77" time="21:33:51.728+01:00">cool</message>
<join host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" time="21:34:13.378+01:00"/>
<message nick="wolf77" time="21:35:27.969+01:00">_delirium: I guess your SendEmailFunction will not work with a secured service like GMail?</message>
<message nick="_delirium" time="21:36:13.421+01:00">wolf77, it does SMTP or direct Sendmail at the moment - I could extend it if you want, I love writting email code :-p</message>
<message nick="_delirium" time="21:36:34.9+01:00">GMail is SMTP over SSL isnt it?</message>
<message nick="wolf77" time="21:36:50.561+01:00">yes, it seems like that</message>
<message nick="_delirium" time="21:37:22.485+01:00">wolf77, i could take a look if you like?</message>
<message nick="wolf77" time="21:37:31.066+01:00">well, I need a way for my new db consistency checker to inform the admin if something goes wrong</message>
<message nick="wolf77" time="21:37:48.059+01:00">sending an email would probably be best, but I'd like to keep it simple</message>
<message nick="_delirium" time="21:37:54.248+01:00">why not use the sendmail on the local machine to relay onto google?</message>
<message nick="wolf77" time="21:38:18.781+01:00">difficult on a windows system</message>
<message nick="_delirium" time="21:38:23.397+01:00">na</message>
<message nick="_delirium" time="21:38:25.33+01:00">nah</message>
<message nick="_delirium" time="21:38:56.753+01:00">just stick wsendmail in lib/user and alter one line of code in SendEmailFunction</message>
<message nick="wolf77" time="21:39:14.246+01:00">wsendmail?</message>
<message nick="_delirium" time="21:39:55.462+01:00">of so then it should work fine</message>
<message nick="_delirium" time="21:40:15.53+01:00">you just need to change SendEmailFunction to pick that up insteam of /usr/bin/sendmail</message>
<message nick="_delirium" time="21:41:00.831+01:00">wolf77, or just use SMTP and give mail:send-mail() the SMTP Relay of your ISP/network</message>
<message nick="_delirium" time="21:41:20.398+01:00">and your ISP/network will relay it on to Google for you :-)</message>
<message nick="wolf77" time="21:41:59.711+01:00">but doesn't Google require authentication?</message>
<message nick="_delirium" time="21:45:54.37+01:00">wolf77, you just want to send an email to a GMail account?</message>
<message nick="_delirium" time="21:46:03.462+01:00">wolf77, are you familiar with the principles of SMTP?</message>
<message nick="wolf77" time="21:46:12.885+01:00">no, I'm not</message>
<message nick="_delirium" time="21:46:16.59+01:00">okay</message>
<message nick="_delirium" time="21:46:29.608+01:00">well when you send an email from x@y.com it goes to y.com's email server</message>
<message nick="_delirium" time="21:46:43.016+01:00">y.com then relays it to googlemail.com's email server</message>
<message nick="_delirium" time="21:46:53.04+01:00">Google is normal SMTP</message>
<message nick="_delirium" time="21:47:16.802+01:00">but if you want to use Google directly from home then its SSL/SMTP and SSL/POP3 - so its nice and secure</message>
<message nick="_delirium" time="21:47:38.902+01:00">Googles SMTP server accepts incoming normal SMTP as a relayed mail - just not normal direct SMTP - that needs SSL</message>
<message nick="_delirium" time="21:47:58.519+01:00">so if you use your local mail server - to send on to google - then no you dont need authentication</message>
<message nick="wolf77" time="21:49:40.127+01:00">aha, ok, that explains it</message>
<message nick="wolf77" time="21:50:34.43+01:00">ok, gotta go and eat</message>
<message nick="_delirium" time="21:50:48.479+01:00">no worries, if you need any futher pointers give me a shout</message>
<message nick="wolf77" time="21:51:59.816+01:00">well, it has to work out of the box for a default eXist installation. on a more abstract level, I need a way for a system task to send out information to an administrator.</message>
<message nick="wolf77" time="21:52:04.953+01:00">anyway, back soon...</message>
<message nick="_delirium" time="21:53:17.862+01:00">easy - we use something like config.xqm - and just have a variable defined in there called $config:SMTP_SERVER as xs:string := "smtp.mydomain.com";</message>
<message nick="_delirium" time="21:54:03.935+01:00">you could put something in conf.xml otherwise - as eXist grows in complexitity having email alerts mighgt be more and more usefull</message>
<message nick="_delirium" time="22:02:10.846+01:00">i could move the mail code into the core a like a util</message>
<message nick="perig" time="22:06:07.367+01:00">mmmh : isn't mail OK ?</message>
<message nick="perig" time="22:07:03.744+01:00">I'd tend to seperate functionnalities that could have some security consequences</message>
<message nick="wolf77" time="22:27:37.571+01:00">I think it is a good abstraction if the system task can just call an XQuery which deals with all the rest</message>
<part host="vil35-2-82-236-174-106.fbx.proxad.net" login="n=perig" nick="perig" reason="Read error: 104 (Connection reset by peer)" time="22:29:29.483+01:00"/>
<message nick="_delirium" time="22:34:17.154+01:00">right, night chaps</message>
<message nick="wolf77" time="22:34:30.061+01:00">night</message>
<message nick="wolf77" time="22:39:06.747+01:00">mmmh, using an JMX notification could be an alternative</message>
<message nick="wolf77" time="22:40:42.026+01:00">this way it would be entirely the client's job to listen for notifications</message>
<message nick="wolf77" time="22:56:12.5+01:00">I'm off. Night.</message>
<join host="ua-83-227-136-141.cust.bredbandsbolaget.se" login="n=ljo" nick="ljo" time="23:19:32.141+01:00"/>
</xlog>