OpenBSD
Hi, Today I've spent some time trying to install Orion Server on OpenBSD using jdk1.2-blackdown (from ports) on top of compat_linux. Finally, I got everything installed and went to run Orion. The result is: [orion@ricardo]~/orion java -green -jar orion.jar 1:41AM 7/22/01 1:41 AM 1.5.2 Started Warning: Error reading transaction-log file (/home/orion/orion/persistence/transaction.state) for recovery: premature end of file Forced or abrubt (crash etc) server shutdown detected, starting recovery process... Recovery completed, 0 connections committed and 0 rolled back... 7/22/01 1:41 AM Forced or abrubt (crash etc) server shutdown detected, starting recovery process... 7/22/01 1:41 AM Recovery completed, 0 connections committed and 0 rolled back... Opened logfile /home/goldbarter/logs/javaerror.log Opened logfile /home/goldbarter/logs/db.log Opened logfile /home/goldbarter/logs/warn.log Opened logfile /home/goldbarter/logs/debug.log Done loading logfiles... debug warn SIGSEGV 11* segmentation violation stackpointer=0x4944a2f4 OUCH: nested memory code, to 1 levels. zsh: killed java -green -jar orion.jar For some reason, it segfaults after it has loaded my load-on-startup servlet, even. I tried jdk1.3.1, and it works fine. The only issue is that my code doesn't work correctly in JDK 1.3 because of the dreaded property XXX of bean XXX is read only bug/feature. Anyone have any ideas? Anyone successfully running Orion Server on OpenBSD? Thanks, -Todd Lipcon -- It's not that easy being green; Having to spend each day the color of the leaves. When I think it could be nicer being red, or yellow or gold... or something much more colorful like that. -Kermit the Frog
Re: best way to build a link to work in different deploymentconfigurations??
Hi, I know it might sound stupid after all these sophisticated solutions... but how about using just relative URLs? I know that not everything can be done like that, but in most of the cases it works for us. It depends, of course, on how your application URLs are formed and how you need the links to be created but... Just my 2c, risking to sound too obvious ;). D. Patrick Lightbody wrote: Or, to abstract one step further, just have a url tag: img src=taglib:url url=/images/foo.gif/ a href=taglib:url url=/index.html/ webwork has a tag that does exactly this. It's also a very nice framework... check it out. -Pat At 08:39 AM 7/20/2001 -0700, elephantwalker wrote: Another solution is to create a usr tld/tag for img user:img src=/images/logo.gif / regards, the elephantwalker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Thompson Sent: Friday, July 20, 2001 8:02 AM To: Orion-Interest Subject: best way to build a link to work in different deployment configurations??. I have an application that during development is deployed multiple times with the following... http://devwebsite/customerApp1 http://devwebsite/customerApp2 In production, I'd like to deploy the applications as... http://customerApp1 http://customerApp2 In the first case file references would look like the following img src=/customerApp1/images/logo.gif while in the second case it should be img src=/images/logo.gif My question is what is the best way to handle file references (links, images, etc) within the application to support both deployments. We could use the request.getContextPath() as a prefix to all file references img src=%=request.getContextPath()%/images/logo.gif but to do this across an entire application seems like extra overhead. It seems like there should be a more elegant solution. I've scoured the orion doc to see if there is a way to do this through configuring websites and webapps, but with no success. Has anyone discovered a better way?? Thanks.
unsuscribe
unsuscribe _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Re: To many open files ???
The linux kernel imposes a limit (of 1024) on the number of file descriptors per process. Of course tcp/ip sockets also appear as files and require file descriptors. You need to recompile your kernel and change some environment settings. Check out http://www.jlinux.org/server.html for a description of the problem and how to fix it. Chris Eddie wrote: I just noticed that the site www.orionserver.com http://www.orionserver.com was unreachable and it give the error To many open files I have the same problem sometimes. How do you solve that or how do you monitor which causes this (without buying tons of memory) ? I am running Linux BTW. Eddie