[Resin-interest] 4.0.0 on osx make problem

2009-06-27 Thread Jon Stevens
Hi there, configure/make fails on osx 10.5.7 (64bit core 2 duo, macbook pro) [17][ ~/checkout/resin-4.0.0 ]% ./configure checking build system type... i386-apple-darwin9.7.0 checking host system type... i386-apple-darwin9.7.0 checking target system type... i386-apple-darwin9.7.0 checking for a BS

[Resin-interest] 4.0.0 on osx deploy problem

2009-06-29 Thread Jon Stevens
Here is another problem. When deploying subetha on osx using the apple jdk 6, I get the stack trace below. When deplying subetha on osx using the landon fuller soylatte jdk, things work fine. I get a different set of errors using jdk5 which relate to the resin servlets apparently being compiled wit

Re: [Resin-interest] java.lang.IllegalStateException: Connection null was not closed.

2009-07-21 Thread Jon Stevens
if t[i].join(); (or anything) throws an exception, then the first connection that you open will dangle. Do you see "we've got an exception" anywhere in your logs? put *all* the conn.close() in finally blocks... also, what is the point of calling ds.getConnection() two times? Your code should be:

Re: [Resin-interest] Limit data rate?

2009-08-22 Thread Jon Stevens
I wouldn't use Resin for that... I'd use apache2... and something like this... http://codee.pl/cband.html jon On Sat, Aug 22, 2009 at 10:44 PM, Rick Mann wrote: > Is there any way to configure resin to limit the rate at which it will > send bits per resource? I have bandwidth limits on my serve

Re: [Resin-interest] Limit data rate?

2009-08-23 Thread Jon Stevens
Sat, Aug 22, 2009 at 11:50 PM, Rick Mann wrote: > Thanks for the suggestion, but it's not really very helpful. I use > Resin, and not Apache. > > On Aug 22, 2009, at 23:19:20, Jon Stevens wrote: > > > I wouldn't use Resin for that... I'd use apache2... and someth

Re: [Resin-interest] Limit data rate?

2009-08-23 Thread Jon Stevens
Hey Serge! You pretty much *have* to do this with an Input/OutputStream... jon On Sun, Aug 23, 2009 at 10:11 AM, Serge Knystautas wrote: > You could also do this with an OutputStream. > > --Serge Knystautas > PrestoSports > > On Aug 23, 2009, at 12:41 PM, Jon Stevens wrote:

Re: [Resin-interest] Non-Hessian file store?

2009-08-26 Thread Jon Stevens
You put Hibernate objects into the session? jon On Wed, Aug 26, 2009 at 8:37 AM, Mattias Jiderhamn < mj-li...@expertsystems.se> wrote: > In Resin 4 seems to use Hessian for > serializing the session values. > This causes some trouble for us since Hessian in some cases tries to > access uninitial

Re: [Resin-interest] Non-Hessian file store?

2009-08-27 Thread Jon Stevens
itigated by the cleanliness of it and you don't run into weird issues like you are running into... jon On Thu, Aug 27, 2009 at 12:05 AM, Mattias Jiderhamn < mj-li...@expertsystems.se> wrote: > > http://docs.jboss.org/hibernate/stable/core/reference/en/html/transactions.html#transacti

Re: [Resin-interest] Non-Hessian file store?

2009-08-27 Thread Jon Stevens
ions about DTOs too. > I assume you've heard (Spring developer) Rod Johnsons take on the > matter...? > > > > Jon Stevens wrote (2009-08-27 17:35): > > Yea, just cause Hibernate has that feature doesn't mean it is a good > feature. =) You may want to co

Re: [Resin-interest] HempMemoryQueue Exception when synchronizing sessions between two nodes in a cluster

2009-12-17 Thread Jon Stevens
DO NOT USE JBOSS CACHE. Pile of shit. ehcache + terracotta (yes, there is an oss free version) = love. I'm not super clear on what you want, but it sounds like you want the TIM-MasterWorker (ExecutorService): http://forge.terracotta.org/releases/projects/tim-messaging/docs/about.html jon On Th

Re: [Resin-interest] HempMemoryQueue Exception when synchronizing sessions between two nodes in a cluster

2009-12-17 Thread Jon Stevens
> -Wesley > > 2009/12/18 Jeff Schnitzer : > > I know that Jon has spent many, many days debugging and tuning JBoss > > Cache on a production cluster, so I'd endorse his "review", despite > > the brashness. > > > > Jeff > > > > On

Re: [Resin-interest] HempMemoryQueue Exception when synchronizing sessions between two nodes in a cluster

2009-12-18 Thread Jon Stevens
yep, i've had several conversations with the cto of terracotta and they are very on the ball about their products. jon On Thu, Dec 17, 2009 at 11:42 PM, Wesley Wu wrote: > Thanks Jon, I'll definitely give terracotta a try. > > As far as I know, EHCache was a opensymphony project one or two yea

Re: [Resin-interest] HempMemoryQueue Exception when synchronizing sessions between two nodes in a cluster

2009-12-18 Thread Jon Stevens
t; > 2009/12/19 Wesley Wu : > > Great Jon, you help me to make a critical decision (not to use JBC any > > more and switch to EHC & Terracotta). > > > > I'll give it a shot. > > > > -Wesley > > > > 2009/12/19 Jon Stevens : > >> yep, i&

Re: [Resin-interest] the response time

2010-01-15 Thread Jon Stevens
I don't understand why people still put their container behind apache. Unless you are using mod_rewrite or something like that, you don't need to do that. It isn't like apache somehow 'protects' resin from evil doers. If you need a load balancer, get a load balancer. jon On Fri, Jan 15, 2010 at 2

Re: [Resin-interest] the response time

2010-01-16 Thread Jon Stevens
Also, my point in mentioning an LB is that it should be done at the network level so as to not incur the same overhead of a reverse proxy like Apache (which is why this email started in the first place). At work we have zxtm connecting to jboss/tomcat which does well enough. Obviously if you are us

Re: [Resin-interest] Bean as HessianServices Breaks Injection

2010-01-16 Thread Jon Stevens
Given that we have a nice and fairly complex open source reference implementation application (subetha), it would be great if Scott (et. al) would test Resin 4.x releases against it. jon On Sat, Jan 16, 2010 at 6:47 PM, Scott Hernandez wrote: > I noticed when I registered my class as a Hessian

Re: [Resin-interest] 4.0.0 on osx deploy problem

2010-03-20 Thread Jon Stevens
Yes, I can't remember what the solution was. =( Sorry! jon On Sat, Mar 20, 2010 at 2:16 AM, Rick Mann wrote: > John, did you ever find an answer to this? I'm getting it, too. > > > On Jun 29, 2009, at 22:50:52, Jon Stevens wrote: > > > Here is another problem

Re: [Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Jon Stevens
This is why you don't put application logic into the view layer. Before you 'push' your data into the view, figure out if you want to do the redirect or not. jon On Thu, Mar 25, 2010 at 7:49 AM, Aaron Freeman wrote: > We take some fairly lengthy queries (lengthy row based on row count), and > p

Re: [Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Jon Stevens
have to constantly reset a connection to clear the buffer? > > Aaron > > > > On 3/25/2010 10:02 AM, Jon Stevens wrote: > > This is why you don't put application logic into the view layer. Before you > 'push' your data into the view, figure out if you wan

[Resin-interest] minor problem in 4.0.5 release notes

2010-03-25 Thread Jon Stevens
http://caucho.com/resin-4.0/changes/resin-4.0.5.xtp Under "CDI and logging integration", it says ConsoleHandler and then gives an example for SocketHandler. jon ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman

Re: [Resin-interest] Resin 4.0.5 Buffer Commit Point

2010-03-25 Thread Jon Stevens
The 'problem' is that you are processing your data in your view controller JSP which is not really where it belongs. You should just move that code up a layer into Java. The t:action comes from using http://tagonist.tigris.org/. Tagonist (or something like it that allows you to execute java code as

[Resin-interest] minor issue in the security overview documentation

2010-03-26 Thread Jon Stevens
http://caucho.com/resin-4.0/admin/security-overview.xtp public void initialize(Subject subject, CallbackHandler handler, Map sharedState, Map options) { _subject = subject; _handler = handler; _state = sharedState; _userName = (String) _options.get("user"); _password = (String) _options.get("pass

Re: [Resin-interest] Sending log4j logs to the web apps log folder

2010-04-02 Thread Jon Stevens
I use this class to do JDK-> commons-logging (which could either be modified to go directly to log4j or, just through CL and then to log4j)... import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.logging.Handler; import java.util.logging.Level; import java.util.log

Re: [Resin-interest] Question about Resin 4.0.6

2010-05-07 Thread Jon Stevens
That is what JBoss does, so I'd say that Caucho fixed a bug. jon On Fri, May 7, 2010 at 12:59 PM, Aaron Freeman wrote: > We are system testing Resin 4.0.6 with our old code base and found a > curiosity. The following code used to work, regardless of what "type" > "receipt" is: > > > > Under Re

Re: [Resin-interest] Question about Resin 4.0.6

2010-05-07 Thread Jon Stevens
ct you want. jon On Fri, May 7, 2010 at 1:43 PM, Aaron Freeman wrote: > Bummer, what's the proper way to test if a property exists then, since > ${!empty [class].[property]} isn't the correct way? > > Thanks, > > Aaron > > > > On 5/7/2010 3:07 PM, Jon Stevens

Re: [Resin-interest] Firewall Question

2010-07-21 Thread Jon Stevens
Having run very very large porn sites for a number of years, I've seen all sorts of automated 'attacks' like that. If you don't have anything responding to those url's, then you don't have any problems. =) Anyway, why bother? Just ignore it. I'm sure you have better things to do with your time tha

Re: [Resin-interest] Firewall Question

2010-07-21 Thread Jon Stevens
ct.  This one particular attack is a bit > annoying because it's inflating our logs. > > I was just curious if this was a capability within Resin.  We wouldn't > take the time to write a custom tag or anything like that to stop it. > > Aaron > > > On 7/21/2010 10:27 AM

Re: [Resin-interest] Firewall Question

2010-07-22 Thread Jon Stevens
bility within Resin. We wouldn't > > take the time to write a custom tag or anything like that to stop it. > > > > Aaron > > > > > > On 7/21/2010 10:27 AM, Jon Stevens wrote: > >> Having run very very large porn sites for a number of years, I'v

[Resin-interest] configuration of beans for jmx

2010-10-13 Thread Jon Stevens
Hey resin masters, I'm using Resin 4.0.10. I have a bean in my war file: @Named("MyBean") @Startup @Singleton @TransactionAttribute(TransactionAttributeType.REQUIRED) public class MyBean implements My, MyMXBean { @PostConstruct public void start() throws Exception { log.in

Re: [Resin-interest] configuration of beans for jmx

2010-10-13 Thread Jon Stevens
Also, if I use: xmlns:foo="urn:java:com.foo.biz" (adding the :java:), then I get: [10-10-13 13:53:31.626] {main} WEB-INF/resin-web.xml:19: 'QName[resin:{urn:java:com.caucho.resin}JndiName]' cannot be instantiated because it does not map to a known class jon On Wed, Oct 13,

Re: [Resin-interest] configuration of beans for jmx

2010-10-13 Thread Jon Stevens
at com.caucho.jmx.AbstractMBeanServer.registerMBean(AbstractMBeanServer.java:413) ... It seems that the rewritten class doesn't retain its interfaces! So, it seems that any candi beans can't be jmx'd... =( jon On Wed, Oct 13, 2010 at 1:55 PM, Jon Stevens wrote: &g

Re: [Resin-interest] configure error on mac for 4.0.13

2010-11-14 Thread Jon Stevens
You now have to also install the developer package... http://lookfirst.com/2010/10/how-to-fix-missing-source-for-latest.html thanks apple. jon On Sun, Nov 14, 2010 at 2:10 AM, Riccardo Cohen wrote: > Hi Alex, thanks for your help > > I use the native java installed: > > > java -version > jav