Cool, (more below)
On Tue, Jan 19, 2010 at 8:29 AM, Alex wrote:
> On 2010-01-16, at 6:47 PM, Scott Hernandez wrote:
>> I noticed when I registered my class as a HessianService it was no
>> longer able to inject it. Is this an expected behavior?
> This seems broken, I'v
I noticed when I registered my class as a HessianService it was no
longer able to inject it. Is this an expected behavior?
I am working against 4.0.3.
BTW. You can reproduce all the problems I'm find using our resin4.0.3
branch of subetha -
http://subetha.googlecode.com/svn/branches/resin4.0.3/.
It depends on what your services, performance, and bandwidth requirements are.
Anyway, there are (a few) options.
ldirectord - (low level) http://linux.die.net/man/8/ldirectord
balance -- (low level) http://www.inlab.de/balance.html
trafficmanager -- (yahoo lb turned open-source)
http://incubator.
I was looking at the lastest 4.0.3 docs and it seems to indicate that
I should do this for my configuration:
...
delivery
>From the docs here: http://caucho.com/resin/admin/candi.xtp#Custom%20Services
But there is no JmsListener class, and resin complains like this:
10-01-
Right, and maybe then we will have support for @Current @MyQueue
BlockingQueue also.
Yeah, the (remote) service/servlet stuff will be cleaner with that syntax.
On Tue, May 19, 2009 at 9:13 AM, Scott Ferguson wrote:
>
> On May 18, 2009, at 10:51 PM, Scott Hernandez wrote:
>
>>
I was going to start converting a bit of the config from the xml
mapped names to the actual class names in our resin-web.xml . However
the names have changed; Is there an example of how this works?
#{delivery}
Thanks in advance,
Scott
___
resin-i
I have setup a hessian service (servlet) and when returning objects
(stateless ejb for example) I see that a SingletonHandle instance if
returned over the protocol. The client proxy then unpacks the object
and tries to call the local (client) Injector to get the instance,
instead of making the remo
Hi all,
Do entities gets all the CanDI (like servlets, EJBs and so on)? I'm
assuming Amber does this when creating new instances.
Also, if we use Hibernate will the entities created also be injected?
I assume not, and if not, is there a plan for supporting this?
Thanks in advance,
Scott
__
I'd like to set the context-path for my war (to be something other
than the name of the war file). So that mywar.war deploys to
http://localhost/someothername.
It seems like setting the context-path of the defined in
resin-web.xml should be the
way(http://www.caucho.com/resin/doc/resin-web-xml-sc
I'd like to inject a Session into a few of my beans. I believe the
correct way to do this is to use the
@Resource(name="java:comp/env/mail") annotation, but I would like to
be less verbose (if possible), and just use @Current, so I have done
the following:
@ApplicationScoped
public class Producers
.
On Wed, May 6, 2009 at 8:48 AM, Scott Ferguson wrote:
>
> On May 5, 2009, at 11:08 AM, Scott Hernandez wrote:
>
>> I'm a little stumped on this one. I'm guessing that there is some kind
>> of circular dep. in the classes (EJBs), but where is the question...
The inject manager isn't adding this class to the registered beans. I
have seen a few issues with Generic classes with matching classes but
this ones seems pretty straight forward.
Does anything anyone know why this isn't picked up and registered in
the inject manager?
@New
public class InjectBea
I'm a little stumped on this one. I'm guessing that there is some kind
of circular dep. in the classes (EJBs), but where is the question...
[09-05-05 10:58:42.741] {main} resin:import
'c:\src\caucho\resin\webapps\subetha\WEB-INF\resin-web.xml'
log4j:WARN No appenders could be found for logger
(org
Emil
>
> On Tue, May 05, 2009 at 12:30:23AM -0700, Scott Hernandez wrote:
>> So, I played around a bit and changed the port to 8080, instead of
>> 6800 and now get a different error.
>>
>> BUILD FAILED
>> com.caucho.bam.ServiceUnavailableException:
>> ActorE
ems
a bit off ...
On Tue, May 5, 2009 at 12:14 AM, Scott Hernandez
wrote:
> So, I'm trying to get the ant task deployed using the new fangled
> stuff; It seems to fail horribly :(
>
> Here is some of the (pertinent) output from the ant task:
>
> resin-deploy:
>
> BU
So, I'm trying to get the ant task deployed using the new fangled
stuff; It seems to fail horribly :(
Here is some of the (pertinent) output from the ant task:
resin-deploy:
BUILD FAILED
com.caucho.bam.RemoteConnectionFailedException: Failed to upgrade to HMTP
X
at com.caucho.bam.hmtp.
one.
Any suggestions?
On Mon, Apr 13, 2009 at 9:13 AM, Scott Ferguson wrote:
>
> On Apr 12, 2009, at 6:27 PM, Scott Hernandez wrote:
>
>> (working against 03/18/09 snapshot of resin)
>>
>> It seems like there is a class-loader problem in my definition for my
>>
Hi all,
The default logon authenticators create an instance of
ClusterSingleSignon for use but this causes a problem as every time
something is put in cache it is null (the update count is zero on the
update query at MnodeStore.java:539). This seems to invalidate
"sessions" as every time you come
I found a typo in ClusterSingleSignon in the log instantiation (it
uses another class to construct the log; see below).
package com.caucho.security;
...
public class ClusterSingleSignon implements SingleSignon {
private final static Logger log
= Logger.getLogger(MemorySingleSignon.class.get
There is also Guice, and it works on GAE. Just saying...
On Wed, Apr 22, 2009 at 10:12 PM, wesley wrote:
> Thanks.
>
> My app is heavily depending on Resin CanDI.
>
> Hope we'll get an out-of-box Resin CanDI before Gavin King's JSR299 RI 1.0
> final release :)
>
> - Original Message -
> F
; >> what it does?
>>> >>
>>> >> Thanks,
>>> >>
>>> >> Aaron
>>> >>
>>> >>> Hi Scott,
>>> >>>
>>> >>> The Eclipse update site isn't up just yet, but will be wi
Okay, I will endeaver to work against the snapshots. Are the snapshots
"regression" free then?
On Mon, Apr 13, 2009 at 2:56 PM, Scott Ferguson wrote:
>
> On Apr 13, 2009, at 10:50 AM, Scott Hernandez wrote:
>
>> To Caucho Devs,
>>
>> In an effort to get s
xmlns:util="urn:java:org.subethamail.core.util"
xmlns:sec="urn:java:org.subethamail.web.security"
xmlns:queue="urn:java:org.subethamail.core.queue"
>
...
Thanks,
Scott
On Mon, Apr 13, 2009 at 1:19 PM, Scott Ferguson
Hi all,
I was looking through the source of resin and noticed the namespace
files in META-INF/caucho. Is there a place to read up on the
placement, and format of these files?
I would guess, without seeing it described other than in the resin
module, that it goes something like this: The class loa
To Caucho Devs,
In an effort to get some of my problems diagnosed from the old
snapshot I was using(3/18) I delved into the svn trunk. It seems like
the snapshots (although listed as 03/04/09 in the download page) are
actually nightly snapshots. This leads me to believe that going
straight to tru
t it does?
>
> Thanks,
>
> Aaron
>> Hi Scott,
>>
>> The Eclipse update site isn't up just yet, but will be with the new
>> release, due out this week or early next.
>>
>> Emil
>>
>> On Sun, Apr 12, 2009 at 09:42:24PM -0700, Scott Herna
I noticed there is an eclipse plugin in the svn tree
(artifacts/eclipse) that has seen some recent checkins. The build
instructions seem pretty straight forward and end with directions to
post the update-site at http://caucho.com/eclipse. When I point the
eclipse updates to that address there is no
(working against 03/18/09 snapshot of resin)
It seems like there is a class-loader problem in my definition for my
Queue (and I expect any global bean with an annotation class from the
webapp).
The first time through everything seems to work just fine, but in
subsequent updates (webapp reloads) t
wrote:
> On Mar 31, 2009, at 12:51 PM, Scott Hernandez wrote:
> I've added a bug report for this at http://bugs.caucho.com/view.php?id=3429
>
> I didn't quite understand the situation. The environment might not be
> properly setup at
Let me try this again from the beginning...
I want to have services (that start with the application, and runs the
length of the application lifetime) so I define a POJO with a @Service
and a method with a @PostConstruct. Everything is going well so far. I
define a persistenceunit in persistence.x
Let me try this again from the beginning...
I want to have services (that start with the application, and runs the
length of the application lifetime) so I define a POJO with a @Service
and a method with a @PostConstruct. Everything is going well so far. I
define a persistenceunit in persistence.x
Hibernate lets you add a @Index to entities/tables for this.
http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/#d0e2305
Since JPA is creating, and maintaining the schema it is nice to keep
that config all in one place.
I would say that for serious tuning you may need to do th
Well, I have configured a test app to use hibernate and I have a few
problems (and a bit of success):
I was able to get the same code working from a servlet, but when
trying to get data I get an exception when running from a @Service (in
the @PostConstruct method):
[21:26:06.430] {main} java.lang
Is there a way to hint to Amber that a column should be indexed?
For example we will be doing a lot of queries like this:
"Select u from User where u.isActive == true ..."
And it would be nice if the isActive column is indexed.
Thanks in advance,
Scott
Is there an annotation based way to register Management Beans?
I know I can do this in XML, but is there an annotation, or interface
that will work the same way?
Thanks in advance,
Scott
___
resin-interest mailing list
resin-interest@caucho.com
ht
No problem, I should have something to report in a few hours.
Also, is there a way to annotate the persistence units (for
EntityManager injection) like there was for the JMS stuff? Since the
persistence stuff is in persistence.xml, will it too become a bean
config driven system?
for example, let
It is always the moment after you send the email that you find the
answer: http://wiki.caucho.com/Hibernate
I will try that method.
Are there any additional issues I should worry about?
Sorry for the spam,
Scott
On Wed, Mar 25, 2009 at 1:47 PM, Scott Hernandez
wrote:
> I'd like to
I'd like to replace Amber with Hibernate. We are migrating an app from
JBoss (Hibernate EntityManager) and there are lots of Hibernate
annotations used for validation, and to hint for database
optimizations. In the first pass getting things going we would like to
just drop in (as best as we can) th
I was going to implement a few helper @Producers and I seem to have
made a mistake somewhere along the way:
RandomClass.java:
@New
private Logger log;
public class LogProducer {
@Produces
Logger createLogger(InjectionPoint injectionPoint) {
return
beans in xml, or is this resin specific?
Thanks,
Scott
On Tue, Mar 24, 2009 at 9:50 AM, Scott Ferguson wrote:
>
> On Mar 23, 2009, at 12:46 PM, Scott Hernandez wrote:
>
>>
>> And everything is fine, but if I add another Queue (in resin-web.xml)
>> then I get a problem as
I'm developing a sample to test a few things and I have a simple
question about injecting a Queue by name.
I have a bit of xml in my resin-web.xml config like this:
userUpdates
#{userUpdates}
And my code is this:
@Current
private BlockingQueue userUpdate
41 matches
Mail list logo