[Resin-interest] Resource loading issue in 4.0.16

2011-04-12 Thread Peter Yuill
I just upgraded to 4.0.16 and my Primefaces web app failed with this 
exception:
  javax.faces.FacesException: Error loading theme, cannot find 
theme.css resource of primefaces-aristo library
   at 
org.primefaces.renderkit.HeadRenderer.encodeTheme(HeadRenderer.java:114)
   at 
org.primefaces.renderkit.HeadRenderer.encodeBegin(HeadRenderer.java:71)
   at 
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:824)
   ...

The code in HeadRenderer is:
Resource themeResource = 
context.getApplication().getResourceHandler().createResource(resource, 
library);
if(themeResource == null) {
 throw new FacesException(Error loading theme, cannot find \ + 
resource + \ resource of \ + library + \ library);
}

This looks to me like it could be another manifestation of the 
classloader issue reported earlier.

4.0.15 and prior work fine. I have reproduced this with the simplest 
hello world Primefaces example app.

Regards,
Peter





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


[Resin-interest] Release Notes for 4.0.15 broken

2011-02-14 Thread Peter Yuill
Hi,

Is it possible to fix the resin 4.0.15 release notes on the website? 
Currently we see this:

/var/www/hosts/www.caucho.com/webapps/resin-4.0/changes/resin-4.0.15.xtp:50:
expected `/s1' at `/body' (open at 11)
48:/s1
49:
50:/body
51:/document

Regards,
Peter





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


Re: [Resin-interest] Ubuntu installation

2011-01-30 Thread Peter Yuill
Hi Kevin,

 wget http://www.caucho.com/download/resin-pro-4.0.14.tar.gz
 tar zxf resin-pro-4.0.14.tar.gz
 cd resin-pro-4.0.14
 ./configure --with-java-home=/usr/lib/jvm/java-6-sun 
 --with-apxs=/usr/bin/apxs2
 cd modules/c/src/
 make
 make install
 scp /usr/lib/apache2/modules/mod_caucho.so [user]@production:/home/user

Thanks for the clarification. It turns out the problem I had (as a linux 
newbie) was with the documentation. It left out the crucial step of 
'make install'.

Regards,
Peter


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


[Resin-interest] Ubuntu installation

2011-01-27 Thread Peter Yuill
I am attempting to install resin 4 on Ubuntu, and I have used the Caucho 
debian repository and apt-get. However now I need to compile mod-caucho 
and I can not find either a  source package or the configure script in 
the binary package. Am I missing something, or can I not use the deb 
package if I need to compile mod-caucho?

Regards,
Peter


___
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] Anything change regarding mod_caucho from 4.0.5 to 4.0.6/4.0.7?

2010-05-30 Thread Peter Yuill
I noticed similar behavior and fixed it by removing the resin root
webapp. Maybe handling of the root webapp changed in 4.0.6

Regards,
Peter

On Sun, 30 May 2010 22:28 +0100, Stargazer
starga...@blueyonder.co.uk wrote:
 We run an Apache + resin config on RH Linux and its been stable for the 
 past few releases. Right now we're on 4.0.5. When I went through the 
 usual upgrade process on 4.0.5 - 4.0.6 I found resin started taking 
 over all the Apache sites, in other words the usual split between about 
 half being served by resin and half by apache stopped - the resin ones 
 were fine, whereas the Apache ones gave 404's.


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