[Resin-interest] Authentication using hessian
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 HessianProxyFactory(); fact.setUser("harry"); fact.setPassword("potter"); String url = "http://localhost:8080/ct/api/Echo";; Echo ech = (Echo)fact.create(Echo.class, url); ech.echo("greetings, program"); } Yet even with a simple XmlAuthenticator on the backend, it always gives me permission denied. I've tried putting my own authenticator on the backend and it never seems to get called. Is this a bug or am I doing something wrong? Has anyone successfully performed remote authentication using hessian? This is using the 4.0.0 release. Thanks, Jeff ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Entities in Resin 4.0 (CanDI)
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 ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] WebApp context-path
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-schema.xtp), but there is an error when I do this. I also thought that maybe setting the id would do it, since that is what the code uses, if no contect-path is set. Anyone got a suggestion? Thanks in advance, Scott ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 4.0.0 release
On Fri, May 08, 2009 at 06:55:46AM +0200, Jan Kriesten wrote: > > Hi Scott, > > > We've just released Resin 4.0.0 for download at http://caucho.com/download > > great to see it released. :-) > > I have a small problem with the maven-plugin, though, starting resin: > > ---8<--- > 08.05.2009 06:52:54 com.caucho.server.webapp.WebApp setConfigException > WARNUNG: WEB-INF/resin-web.xml:5: com.caucho.sql.DBPool.init(): > javax.naming.NameNotFoundException: java:comp/env > > 3:java.naming.factory.initial="com.caucho.naming.InitialContextFactoryImpl" /> > 4: > 5: > 6: jdbc/test > 7: > ---8<--- > > This works with 3.1.8 - what do I need to do to get it working again? Hi Jan, I've filed this here: http://bugs.caucho.com/view.php?id=3488 Not sure what the issue might be yet... the maven plugin just runs a simple embedded Resin. I've confirmed that the same config works in the normal Resin environment so it must be something either with the plugin or the embedded code. Thanks, Emil ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 3.1.8 --- JspParseException
Dear all, I have not solved this issue. In case of windows, this issue may be solved like below. http://bugs.caucho.com/view.php?id=2967 But, in case of Linux, I have not solved. Do you have an idea for solving this issue ? > -Original Message- > From: resin-interest-boun...@caucho.com > [mailto:resin-interest-boun...@caucho.com] On Behalf Of Ogu > Sent: Thursday, April 30, 2009 5:23 PM > To: resin-interest@caucho.com > Subject: [Resin-interest] Resin 3.1.8 --- JspParseException > > > Dear all, > > Our system uses resin 3.1.8. > > I have a proble that is not displayed the JSP at the first > time access. > But, I can see this JSP at the second time. > > At the first time access, I found the error message as below. > >com.caucho.jsp.JspParseException: illegal utf8 encoding at 0x3a > > And, in case of LANG=en_US.UTF-8, I can see the JSP at the > first time. > ( I have to use LANG=ja_JP.UTF-8. ) > > > What parameter or option set for solving this issue ? > > > > Thanks, > Ogu > > > > ___ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest