Re: [Resin-interest] Resin 3.1.8 --- JspParseException

2009-05-08 Thread Ogu

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


Re: [Resin-interest] Resin 4.0.0 release

2009-05-08 Thread Emil Ong
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:   system-property
 java.naming.factory.initial=com.caucho.naming.InitialContextFactoryImpl /
 4:
 5:   database
 6: jndi-namejdbc/test/jndi-name
 7: driver type=com.mysql.jdbc.Driver
 ---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


[Resin-interest] WebApp context-path

2009-05-08 Thread Scott Hernandez
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 web-app 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


[Resin-interest] Authentication using hessian

2009-05-08 Thread Jeff Schnitzer
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