How are you getting the person's real name out of GAE's UserService?
I don't see that. Maybe this is just something you get with Android
auth?
The short answer is to use OpenID (and OAuth to get permission on
extra fields). But there is a problem with this - if you have a
database full of
...?
May I ask how the WAR is created?
Have you compared checksums between where it is created and where it is
deployed so it isn't messed up in some transfer?
/Mattias
Jeff Schnitzer wrote (2011-06-07 02:49):
...
FWIW, a simple stripped-down war file does deploy. So presumably it's
something
to the finest level. Resin would appear to start, but
nothing was loaded or deployed.
The culprit was declaring / using static method calls as my services and
beans.
Keith
On 06/06/2011 05:49 PM, Jeff Schnitzer wrote:
Seriously, I've done *nothing* special. I downloaded resin, unzipped
, Jeff Schnitzer j...@infohazard.org wrote:
Thanks - I will try this out.
I gave up and switched to Tomcat. But I like it less than Resin, so
maybe I will switch back.
Jeff
On Fri, Jun 3, 2011 at 9:43 AM, Keith Fetterman
kfetter...@go2marine.com wrote:
Hi Jeff,
Are you still experiencing
versioning=true/
--
web-app-deploy path=webapps/
The default resin.xml file has this set to true.
I hope this helps
Keith
On 05/24/2011 02:23 PM, Jeff Schnitzer wrote:
On Tue, May 24, 2011 at 2:04 PM, Scott Fergusonf...@caucho.com wrote:
Also, what does the /resin-admin webapps tab say
I tried upgrading to 4.0.18 recently and deployment seems broken.
Normally I copy my war file over webapps/ROOT.war, restart appserver,
and it works.
Now it seems the only way I can get a deployment working is by:
1) Deleting webapps/ROOT (the directory)
2) Manually un-jaring ROOT.war
3)
] Resin no longer deploys my war
Date: Tue, 24 May 2011 01:52:04 -0700
From: Jeff Schnitzer j...@infohazard.org
I tried upgrading to 4.0.18 recently and deployment seems broken.
Normally I copy my war file over webapps/ROOT.war, restart appserver,
and it works.
Now it seems the only way I can
On Tue, May 24, 2011 at 8:11 AM, Paul Cowan co...@caucho.com wrote:
Hi Jeff,
We fixed a few bugs related to deployment in 4.0.17 and 4.0.18, perhaps the
behavior you're expecting has changed.
I tested by simply overwriting ROOT.war with a different ROOT.war and didn't
have any issues.
Resin
On Tue, May 24, 2011 at 2:04 PM, Scott Ferguson f...@caucho.com wrote:
Also, what does the /resin-admin webapps tab say?
It reports a webapp at /, but just the stock one.
For example, if you've deployed a .war using the command-line deploy,
that overrides the webapps/ directory.
I haven't
So... now that the hibernate validator is part of the resin appserver
classpath, there seems to be some sort of strange conflict with slf4j.
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
org.hibernate.validator.util.LoggerFactory.make(LoggerFactory.java:29)
On Wed, Aug 11, 2010 at 1:08 PM, Scott Ferguson f...@caucho.com wrote:
Jeff Schnitzer wrote:
There seems to still be a problem with singletons exposed as hessian
services. I can create a test project if necessary, but I'm seeing
this behavior in two separate applications:
1) Create
There seems to still be a problem with singletons exposed as hessian
services. I can create a test project if necessary, but I'm seeing
this behavior in two separate applications:
1) Create a @Singleton bean
2) Give the bean a @Startup @PostConstruct method that initializes some data
3) Give the
On Tue, Jul 20, 2010 at 12:21 PM, Scott Ferguson f...@caucho.com wrote:
Thanks. It's a timing issue in CanDI. The jms:FileQueue was added to a
lazy-init which wasn't being evaluated when the #{delivery} was
processed. The fix will be in the next snapshot.
Cool. If you get to a point where
a message doesn't produce calls on my Listener.
It seems to produce some sort of spin-loop inside Resin.
Jeff
On Tue, Jul 20, 2010 at 1:17 PM, Jeff Schnitzer j...@infohazard.org wrote:
On Tue, Jul 20, 2010 at 12:21 PM, Scott Ferguson f...@caucho.com wrote:
Thanks. It's a timing issue in CanDI
)
On Tue, Jul 20, 2010 at 4:42 PM, Scott Ferguson f...@caucho.com wrote:
Jeff Schnitzer wrote:
By the way, I was able to work past the lazy-init issue (presumably)
by using this block instead:
cfg:MessageBeanConfig
cfg:classtest.DeliveryListener/cfg:class
}/destination
/ejb-message-bean
Without the jms:JmsConnectionFactory/ deployment will produce an
error something like:
'javax.jms.ConnectionFactory' with name 'null' is an unknown JMS resource.
Thanks,
Jeff
On Tue, Jul 20, 2010 at 6:13 PM, Scott Ferguson f...@caucho.com wrote:
Jeff Schnitzer
I haven't been able to connect to the Resin svn server for a while...
did something move?
loa:Resin jeff$ svn up
svn: Can't connect to host 'svn.caucho.com': Operation timed out
loa:Resin jeff$ svn info
Path: .
URL: svn://svn.caucho.com/resin/trunk
Repository Root: svn://svn.caucho.com
I'm making good progress getting SubEtha running on 4.0.6, but now I
seem to have a strange and self-contradictory error:
[10-05-30 11:24:11.854] {main}
org.subethamail.core.queue.InjectListener.outboundQueue:
javax.enterprise.inject.UnsatisfiedResolutionException: Can't find a
bean for
Trying to get SubEtha running on Resin 4.0.7, I'm getting a strange
exception on startup:
java.lang.NullPointerException
at
com.caucho.ejb.server.EjbInjectionTarget.newInstance(EjbInjectionTarget.java:273)
I'm retrofitting CDI into the part of my app that runs on Google
Appengine (as opposed to the part that runs on Resin). I just saw
Reza's comment on this blog entry:
http://java.dzone.com/articles/weld-101-runs-gae
What are the prospects for CanDI on GAE?
Thanks,
Jeff
I doublechecked the spec and the current Resin behavior is the proper
behavior. I don't think this behavior has changed in the spec, so the
old behavior was a bug. You can't use the empty operator to test for
the existence of fields (or methods).
As to the rationale for the spec... it does make
You might want to take a look at a project I created several years ago
that works pretty much like this. I still find it occasionally
useful, although most of my frontends are GWT and javascript these
days:
http://tagonist.tigris.org/
It lets you use JSP files as controllers but keeps your Java
to using SLF4j as the Resin
logging interface. It's a very thin API that is an extremely powerful
aggregator of log information.
(*Chris*)
On Fri, Apr 2, 2010 at 12:57 PM, Jeff Schnitzer j...@infohazard.org wrote:
I'm pretty sure that it's possible to configure any possible
combination
FWIW, Resin on OSX seems to work fine despite the error messages.
Jeff
On Sat, Mar 20, 2010 at 6:12 AM, Jon Stevens latch...@gmail.com wrote:
Yes, I can't remember what the solution was. =( Sorry!
jon
On Sat, Mar 20, 2010 at 2:16 AM, Rick Mann rm...@latencyzero.com wrote:
John, did you
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 Thu, Dec 17, 2009 at 3:37 PM, Jon Stevens latch...@gmail.com wrote:
DO NOT USE JBOSS CACHE. Pile of shit.
ehcache + terracotta (yes,
It's worth mentioning that Hibernate works great as a JPA provider for
Resin. I haven't tried it, but there's this:
http://www.hibernatespatial.org/
Jeff
On Wed, Dec 16, 2009 at 9:25 AM, Scott Ferguson f...@caucho.com wrote:
Riccardo Cohen wrote:
I really would like to know what is the
As a longtime J2EE developer, let me suggest that life is far more
pleasant if you abandon the atrocious EAR packaging morass and build
your applications in one or more WARs. Just put all your classes in
WEB-INF/classes (ejbs, servlets, etc), make sure you have
WEB-INF/classes/META-INF/beans.xml
Thanks. Now that any bean can be given @TransactionAttribute and
injection, the only point to using @Stateless seems to be pooling.
Jeff
On Tue, Nov 3, 2009 at 9:59 AM, Scott Ferguson f...@caucho.com wrote:
Jeff Schnitzer wrote:
Is it possible to control the pool size for stateless EJBs?
I
Is it possible to control the pool size for stateless EJBs?
I think I'm looking for something equivalent to ejb-message-bean
message-consumer-max=2 but for ejb-session-bean. The docs say
that session beans are pooled, but I don't see anything about how to
configure this pool.
The use case is
This is really just a point of curiosity...
What editor are you guys using at Caucho? I've noticed all the code
is formatted using a bizarre combination of tabs and spaces, like
this:
1 indent = 4 spaces
2 indents = 1 tab
3 indents = 1 tab + 4 spaces
4 indents = 2 tabs
5 indents = 2 tabs + 4
Is it possible to configure a host web-app to use a war file
somewhere on the filesystem, or is the only way by defining a
web-app-deploy directory and copying my war into it?
Ie, is it possible to do something like web-app id=
document-directory=my.war ?
Thanks,
Jeff
Thanks for the update.
Would it be helpful if we filed bugs against trunk? I tried it out a
week ago but pretty quickly ran into a problem (@Named @RequestScoped
didn't show up in the request attrs). I figured you guys were still
working on it and probably didn't need the distraction, but if it
I just tried ant dist from trunk and got an UNRESOLVED DEPENDENCIES
error from Ivy:
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] WARNINGS
[ivy:retrieve] io problem while parsing ivy file:
http://repository.jboss.com/maven2/jboss/jboss-common/2.2.1/jboss-common-2.2.1.pom:
Impossible
:18 PM, Jeff Schnitzer j...@infohazard.org wrote:
I just tried ant dist from trunk and got an UNRESOLVED DEPENDENCIES
error from Ivy:
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] WARNINGS
[ivy:retrieve] io problem while parsing ivy file:
http://repository.jboss.com/maven2/jboss
I wrote up a quick blurb on the issues surrounding character encoding
on the Resteasy list recently:
http://sourceforge.net/mailarchive/message.php?msg_name=540eb7210908281001r6aafaa55u78615debb704e4c1%40mail.gmail.com
The short of it is that, if you can get away with it, you should set
UTF-8
Hot deployment works fine for me out of the box, but note that Resin
doesn't immediately reload the webapp when web.xml or the war changes.
You have to actually request a page, then the app will reload.
If you change JSP files they are picked up immediately, no reload necessary.
Jeff
On Tue,
Why aren't you creating the cookies with setSecure(true) in the first place?
If you have tons of legacy code that sets cookies, why not create a
Filter that wraps HttpServletResponse (there is a convenient
HttpServletResponseWrapper for this), intercepts the addCookie()
method calls, and calls
On Mon, Aug 24, 2009 at 12:17 PM, Scott Fergusonf...@caucho.com wrote:
The WEB-INF/classes should work. You could also modify the class-
loader in app-default.xml (although that's generally not recommended.)
Oops, heh. Apparently I had overlooked my own debug message; it was
working.
Resin 4.0.1 doesn't seem to work with Hibernate anymore. When
Hibernate is configured as the JPA provider, attempts to inject an
EntityManager produce this:
[09-08-04 15:54:16.283] {http--8080-5} FINES [InjectManage]
InjectManager[]
bind(EntityManager,[...@javax.enterprise.inject.current()]) -
Another bug report: It appears that @Named isn't working in 4.0.1.
When I create an @ApplicationScoped @Named(foo) object, it doesn't
seem to be available in EL.
This is also demonstrated by the index.jsp of the sample app:
We have just released v2 of the opensource SubEtha mailing list
server, rearchitected to use Resin and CanDI. We are very, very happy
with the new design that CanDI enables.
Here it is: http://www.subethamail.org/
Thanks Scott, Steve, Emil, and the rest of the Caucho team (and great
meeting
Is there a problem calling ejb methods from user-started threads
inside the resin container? Yes, I know the ejb spec says that
applications shouldn't start threads, but part of the spec is lame.
The SubEtha mailing list server relies on an SMTP processing library
which starts its own threads
Nevermind, the problem was something else. Calling a find() method on
an EntityManager outside of a transaction scope, then calling an EJB
which has a transaction scope causes all manner of havoc when the EJB
tries to write to the database.
Jeff
On Tue, Jun 2, 2009 at 5:33 PM, Jeff Schnitzer j
H... let me ask the question that ScottH is, I think, trying to ask:
What is the best way to make multiple hessian calls within a single
session? Ie, calls to a @SessionScoped object will get the same
instance.
Jeff
On Fri, May 15, 2009 at 2:06 PM, Scott Ferguson f...@caucho.com wrote:
ScottH and I have spent some time (fortunately, well-spent time in a
pub with wifi and a deep reserve of Magners) trying to figure out why
one of our @ApplicationScoped objects seems to have several instances
in the container. The problem seems to be when you declare the
servlet-mapping in
Is there a way to register custom hessian serializers in Resin?
Resin4 can't serialize java.net.URL :-(
Thanks,
Jeff
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
like Hessian is calling
the URL(String) constructor and passing in a null.
Jeff
On Thu, May 14, 2009 at 11:27 AM, Jeff Schnitzer j...@infohazard.org wrote:
In addition, we're having problems serializing a byte[].
One additional complication is that if we turn com.caucho.hessian
logging
unit tests :-(
Any ideas?
Thanks,
Jeff
On Fri, May 8, 2009 at 8:03 PM, Jeff Schnitzer j...@infohazard.org wrote:
Hessian auth doesn't seem to work. I have a small test project here:
http://scratchmonkey.googlecode.com/svn/resin4/programmatic_auth
The client code is very simple
Hessian auth doesn't seem to work. I have a small test project here:
http://scratchmonkey.googlecode.com/svn/resin4/programmatic_auth
The client code is very simple:
public static void main(String[] args) throws Exception
{
HessianProxyFactory fact = new
Should trunk compile? I'm switching to 4.0.0, but still...
resin-compile:
module:
[copy] Copying 127 files to
/Users/jeff/Documents/workspace/Resin/modules/resin/classes
[javac] Compiling 2524 source files to
/Users/jeff/Documents/workspace/Resin/modules/resin/classes
[javac]
According to the security researchers who took over the torpig botnet
and analyzed the data (read the PDF, it's good), some ISPs still
change IP addresses a lot... more than once an hour:
http://www.cs.ucsb.edu/~seclab/projects/torpig/
Jeff
On Wed, May 6, 2009 at 9:09 AM, Scott Ferguson
Oh no... I hate this discussion. Let's just say that there are plenty
of people on both sides of the fence. I have a fair amount of
experience with Maven on big complicated projects and loathe it
intensely.
This thread is worth reading, you can search for my name to see my
long-winded comment:
Is it possible to expose EJBs (or POJOs) as remote-able objects
without declaring them in XML (ie, resin-web.xml)? The Resin Remoting
docs (http://caucho.com/resin/doc/resin-remoting.xtp) make it look
like I must declare a servlet-mapping for every bean I wish to
expose. Is there an annotation I
On Tue, Mar 31, 2009 at 11:08 AM, Scott Ferguson f...@caucho.com wrote:
Hmm. It might be possible to use the new Servlet 3.0 annotations for
that purpose (we haven't implemented it yet.)
The original idea was that exposed URLs shouldn't generally be
automatic. In other words, having a
Thanks... you're absolutely right. Works great.
Jeff
On Thu, Mar 26, 2009 at 9:40 AM, Scott Ferguson f...@caucho.com wrote:
On Mar 25, 2009, at 7:27 PM, Jeff Schnitzer wrote:
Is there a compelling reason why we must define our beans and services
in resin-web.xml? Will this continue
Is there a compelling reason why we must define our beans and services
in resin-web.xml? Will this continue to be the case going forward in
Resin 4.0?
It's a minor nuisance, yes, but... it's nice to add a class to the
project, annotate it with @Service or @Stateless or whatever, and have
it
There are profiling/memory allocation tracking tools for C and
Linux... if you're seeing what looks like a memory leak, it might be
worth looking into. They're quite a bit more complicated than the
equivalent java tools but years ago in another life I got a lot of
mileage out of Rational Purify,
It's also worth mentioning that for serious application tuning, there
is no substitute for a good profiling tool. In the past I have had
great results with JProfiler:
http://www.ej-technologies.com/products/jprofiler/overview.html
I've even gone so far as to take one node in a production
Answering my own question #1, I found the
HessionProxyFactory.setUser() and setPassword() methods. Great.
#2 is still a mystery to me. I'm in a servlet, how do I
programmatically tell the container to log me in with a username and
password?
Thanks,
Jeff
On Thu, Mar 19, 2009 at 2:08 PM, Jeff
Thanks, but that is not what I'm looking for. The document describes
building an authentication source and using automatic authentication
(aka web.xml security constraints).
The problem is, j2ee automatic authentication is nearly useless. It
doesn't allow for autologin cookies nor does it allow
60 matches
Mail list logo