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
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
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:
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
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
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:
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
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
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
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
> -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
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
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&
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
32 matches
Mail list logo