[Resin-interest] Is there a resin adapter for eclipse WTP supporting servlet 3.0?

2011-01-04 Thread Kirby Zhou
Is there a resin adapter for eclipse WTP supporting servlet 3.0?
Resin 4.0 supports servlet 3.0, and I want develop a servlet 3.0 application
with resin, but ' http://caucho.com/eclipse/; can only support up to servlet
2.5.



Regards,
   Kirby Zhou
   from   SOHU-RD   +86-10-6272-8261





___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Japanese multibyte character path of resin.jar cause Exception in 4.0.13.

2011-01-04 Thread resin
Dear Paul,

Resin jar loading depends on using URLDecoder.decode, with the default 
platform encoding.

It appears your platform encoding is not handling the multibyte characters 
properly.

Trying starting resin with -Dfile.encoding=UTF8.  I tested this on my system 
and it fixed the issue for me, although I saw a slightly different error that 
you reported.

Thank you!

Your solution perfectly solved my problem.

Best regards,
masa naga


2010年12月28日23:22  re...@tatujin.org:
 If resin.jar is put on a Japanese multi byte character directory and
 launched, then the following
 error is shown and cannot launch.

 I think this is not only limited to the Japanese multibyte environment
 but other multibyte character
 environment.

 I tested with the following steps:

 On Windows command prompt:

cd c:\tmp\あいうえお\win
java -jar resin\lib\resin.jar -resin-home resin start
 com.caucho.config.ConfigException: java.io.FileNotFoundException: C:\tmp\縺ゅ>
 縺?∴縺?\win\resin\lib\resin.jar (指定されたパスが見つかりません。)
at 
 com.caucho.config.LineConfigException.create(LineConfigException.java
 :163)
at com.caucho.config.Config.configure(Config.java:240)
at com.caucho.boot.ResinBoot.init(ResinBoot.java:150)
at com.caucho.boot.ResinBoot.main(ResinBoot.java:348)
 Caused by: java.io.FileNotFoundException: C:\tmp\縺ゅ>縺?∴縺?\win\resin\lib\re
 sin.jar (指定されたパスが見つかりません。)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.zip.ZipFile.init(Unknown Source)
at com.caucho.vfs.Jar.openReadImpl(Jar.java:469)
at com.caucho.vfs.JarPath.openReadImpl(JarPath.java:211)
at com.caucho.vfs.Path.openRead(Path.java:1120)
at 
 com.caucho.relaxng.CompactVerifierFactoryImpl.compileSchema(CompactVe
 rifierFactoryImpl.java:89)
at com.caucho.config.Config.findCompactSchema(Config.java:491)
at com.caucho.config.Config.configure(Config.java:232)
... 2 more
 java.io.FileNotFoundException: C:\tmp\縺ゅ>縺?∴縺?\win\resin\lib\resin.jar (指
 定されたパスが見つかりません。)

 If the path is changed to another path without multibyte character
 path (e.g. \tmp\abced), then
 launch correct. Thus, the configuration of resin itself is correct.

 The tested environment is:
 OS: Windows 7
 Resin: resin 4.0.13

 Does anyone can inform me how to run resin.jar with multibyte character path?

 Best regards,
 masa naga



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Is there a resin adapter for eclipse WTP supporting servlet 3.0?

2011-01-04 Thread Peter Yuill

Hi Kirby,

Is there a resin adapter for eclipse WTP supporting servlet 3.0?
Resin 4.0 supports servlet 3.0, and I want develop a servlet 3.0 application
with resin, but ' http://caucho.com/eclipse/; can only support up to servlet
2.5.
The current plugin (as installed) does not support EE6 specs. However 
you can make it work (on Helios) by fixing the plugin.xml file in 
eclipse root/plugins/com.caucho.resin.eclipse_4.0.2 . I have attached 
an upgraded version.


Regards,
Peter
?xml version=1.0 encoding=UTF-8?
?eclipse version=3.0?
plugin

  extension
point=org.eclipse.wst.server.core.runtimeTypes

!-- 3.1 --
runtimeType
  id=org.eclipse.jst.server.generic.runtime.resin31
  name=%resin31runtimeTypeName
  description=%resin31runtimeTypeDescription
  vendor=%resinCategory
  version=3.1
  class=com.caucho.resin.eclipse.ResinServerRuntime
  moduleType
types=jst.web
versions=2.2, 2.3, 2.4, 2.5/
  moduleType
types=jst.ejb
versions=1.1, 2.0, 2.1, 3.0/
  moduleType
types=jst.ear
versions=1.2, 1.3, 1.4, 5.0/
  moduleType
types=jst.connector
versions=1.0, 1.5/
  moduleType
types=jst.utility
versions=1.0/
/runtimeType

runtimeType
  id=org.eclipse.jst.server.generic.runtime.resin31inPlace
  name=%resin31inPlaceRuntimeTypeName
  description=%resin31inPlaceRuntimeTypeDescription
  vendor=%resinCategory
  version=3.1
  class=com.caucho.resin.eclipse.ResinServerRuntime
  moduleType
types=jst.web
versions=2.2, 2.3, 2.4, 2.5/
  moduleType
types=jst.ejb
versions=1.1, 2.0, 2.1, 3.0/
  moduleType
types=jst.ear
versions=1.2, 1.3, 1.4, 5.0/
  moduleType
types=jst.connector
versions=1.0, 1.5/
  moduleType
types=jst.utility
versions=1.0/
/runtimeType
runtimeType
  class=com.caucho.resin.eclipse.ResinServerRuntime
  description=%resin31tempDirRuntimeTypeDescription
  id=org.eclipse.jst.server.generic.runtime.resin31tempDir
  name=%resin31tempDirRuntimeTypeName
  vendor=%resinCategory
  version=3.1
   moduleType
 types=jst.web
 versions=2.2, 2.3, 2.4, 2.5
   /moduleType
   moduleType
 types=jst.ejb
 versions=1.1, 2.0, 2.1, 3.0
   /moduleType
   moduleType
 types=jst.ear
 versions=1.2, 1.3, 1.4, 5.0
   /moduleType
   moduleType
 types=jst.connector
 versions=1.0, 1.5
   /moduleType
   moduleType
 types=jst.utility
 versions=1.0
   /moduleType
/runtimeType

!-- 4.0 --
runtimeType
  id=org.eclipse.jst.server.generic.runtime.resin40
  name=%resin40runtimeTypeName
  description=%resin40runtimeTypeDescription
  vendor=%resinCategory
  version=4.0
  class=com.caucho.resin.eclipse.ResinServerRuntime
  moduleType
types=jst.web
versions=2.2, 2.3, 2.4, 2.5, 3.0/
  moduleType
types=jst.ejb
versions=1.1, 2.0, 2.1, 3.0, 3.1/
  moduleType
types=jst.ear
versions=1.2, 1.3, 1.4, 5.0, 6.0/
  moduleType
types=jst.connector
versions=1.0, 1.5, 1.6/
  moduleType
types=jst.utility
versions=1.0/
/runtimeType


runtimeType
  id=org.eclipse.jst.server.generic.runtime.resin40hotDeploy
  name=%resin40hotDeployRuntimeTypeName
  description=%resin40hotDeployRuntimeTypeDescription
  vendor=%resinCategory
  version=4.0
  class=com.caucho.resin.eclipse.ResinServerRuntime
  moduleType
types=jst.web
versions=2.2, 2.3, 2.4, 2.5, 3.0/
  moduleType
types=jst.ejb
versions=1.1, 2.0, 2.1, 3.0, 3.1/
  moduleType
types=jst.ear
versions=1.2, 1.3, 1.4, 5.0, 6.0/
  moduleType
types=jst.connector
versions=1.0, 1.5, 1.6/
  moduleType
types=jst.utility
versions=1.0/
/runtimeType
runtimeType
  class=com.caucho.resin.eclipse.ResinServerRuntime
  description=%resin40inPlaceRuntimeTypeDescription
  id=org.eclipse.jst.server.generic.runtime.resin40inPlace
  name=%resin40inPlaceRuntimeTypeName
  vendor=%resinCategory
  version=4.0
   moduleType
 types=jst.web
 versions=2.2, 2.3, 2.4, 2.5, 3.0
   /moduleType
   moduleType
 types=jst.ejb
 versions=1.1, 2.0, 2.1, 3.0, 3.1
   /moduleType
   moduleType
 types=jst.ear
 versions=1.2, 1.3, 1.4, 5.0, 6.0
   /moduleType
   moduleType
 types=jst.connector
 versions=1.0, 1.5, 1.6
   /moduleType
   moduleType
 types=jst.utility
 versions=1.0
   /moduleType
/runtimeType

Re: [Resin-interest] Is there a resin adapter for eclipse WTP supporting servlet 3.0?

2011-01-04 Thread Paul Cowan

On Jan 4, 2011, at 7:02 AM, Kirby Zhou wrote:

 Is there a resin adapter for eclipse WTP supporting servlet 3.0?
 Resin 4.0 supports servlet 3.0, and I want develop a servlet 3.0 application
 with resin, but ' http://caucho.com/eclipse/; can only support up to servlet
 2.5.

Hi Kirby,

Resin release 4.0.14 will include upgrades to the Eclipse plugin, supporting 
servlet 3.0.

4.0.14 is tentatively scheduled for released this Friday, 1/7.

Thanks,
Paul


 
 
 
 Regards,
   Kirby Zhou
   from   SOHU-RD   +86-10-6272-8261
 
 
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

===
Paul Cowan, Software Engineer
Caucho Technology
co...@caucho.com
http://blog.caucho.com
http://twitter.com/cauchoresin

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest