Re: [Resin-interest] flush() may not be called in a body

2007-04-05 Thread Vladimir Nicolici

Tiles doesn't work anymore after this change, even this simple page, raises
the exception:


[EMAIL PROTECTED] prefix=tiles uri=/tiles %
[EMAIL PROTECTED] contentType=text/xml %
tiles:insert page=parts/corporate-standard.jsp
tiles:put name=aggregation
tiles:insert page=parts/aggregation.jsp /
/tiles:put
tiles:put name=detail
tiles:insert page=parts/detail.jsp /
/tiles:put
/tiles:insert

Ugly stuff.

Vlad

* From*: Scott Ferguson
[EMAIL PROTECTED][EMAIL 
PROTECTED]:%20flush()%20may%20not%20be%20called%20in%20a%20body

* Date*: Mon Mar 06 2006 - 14:02:31 PST


On Mar 6, 2006, at 9:27 AM, Marat Radchenko wrote:


* After upgrading to Resin 3.0.18 I'm getting this exception: *
* *
* java.io.IOException: flush() may not be called in a body *
* at com.caucho.jsp.BodyContentImpl.flush(BodyContentImpl.java:152) *
* *
* *
* Please, fix it :) I think this is a bug. *


It's not a bug. :( The JSP spec and tck require Resin to throw that
exception.



On the other hand, if you're using the body combined with
jsp:include, we can probably fix it. But if it's straight from JSP
or a taglib, then it can't be changed back.



-- Scott


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


[Resin-interest] Resin 3.x and the system classpath

2007-04-05 Thread j.random.programmer
Hi:

I posted this message earlier but it didn't hit the
resin mailing
list, as far as i can tell, since I wasn't subscribed.
I'm subscribed now
:-)

So, I had a question about having resin 3.1.0 use the
system classpath.
I've tried specifying the -cp flag, such as:

unix httpd.sh -verbose -cp $CLASSPATH

but resin still does not see my system classpath. I've
a lot of
libraries and classes on my system classpath, many of
which
i am developing/modifying. So it's not feasible to
specify
these seperately to resin via the configuration file. 

Is there any way for resin to see the system
classpath? I don't know
why this is harder than it needs to be ?

Best regards,
--j




 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121


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


Re: [Resin-interest] Resin 3.x and the system classpath

2007-04-05 Thread Jose Quinteiro
You have to specify it as a jvm-arg, which is now a child of server e.g.,

server id= port=6801
 http port=7071/
 jvm-arg-Djava.library.path=/some/path/jvm-arg
   /server

Read all about it:

http://www.caucho.com/resin-3.1/doc/server-tags.xtp#jvm-arg

HTH,
Jose.

j.random.programmer wrote:
 Hi:
 
 I posted this message earlier but it didn't hit the
 resin mailing
 list, as far as i can tell, since I wasn't subscribed.
 I'm subscribed now
 :-)
 
 So, I had a question about having resin 3.1.0 use the
 system classpath.
 I've tried specifying the -cp flag, such as:
 
 unix httpd.sh -verbose -cp $CLASSPATH
 
 but resin still does not see my system classpath. I've
 a lot of
 libraries and classes on my system classpath, many of
 which
 i am developing/modifying. So it's not feasible to
 specify
 these seperately to resin via the configuration file. 
 
 Is there any way for resin to see the system
 classpath? I don't know
 why this is harder than it needs to be ?
 
 Best regards,
 --j
 
 
 
 
  
 
 Be a PS3 game guru.
 Get your game face on with the latest PS3 news and previews at Yahoo! Games.
 http://videogames.yahoo.com/platform?platform=120121
 
 
 ___
 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 3.x and the system classpath

2007-04-05 Thread Sam
 I need to be able to use $CLASSPATH (and the value it
 contains)
 
 jvm-arg-Djava.library.path=$CLASSPATH/jvm-arg
 is not going to work now, is it ?

Try:

jvm-arg-Djava.library.path=${CLASSPATH}/jvm-arg

-- Sam



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


Re: [Resin-interest] Resin 3.x and the system classpath

2007-04-05 Thread j.random.programmer
--- Sam [EMAIL PROTECTED] wrote:
 
 jvm-arg-Djava.library.path=${CLASSPATH}/jvm-arg

You sure about this ?

I tried it. I put the above in resin.conf. 

This is what I got:

unix /tmp/resin-3.1.0/conf# ../bin/httpd.sh -verbose

-
[...]
java \
 
-Djava.util.logging.manager=com.caucho.log.LogManagerImpl
\
 
-Djava.system.class.loader=com.caucho.loader.SystemClassLoader
\
  -Djava.awt.headless=true \
  -Dresin.home=/private/tmp/resin-3.1.0/ \
  -Xmx256m \
  -Xss1m \
  -Xdebug \
  -Dcom.sun.management.jmxremote \
  -Djava.library.path
=/web/code/classes:/web/code/classes/compiled::/web/code/classes/lib/activation1.1.jar:/web/code/classes/lib/concurrent.zip:/web/code/classes/lib/javamail1.4.jar:/web/code/classes/lib/jsp-api.jar:/web/code/classes/lib/jta.jar:/web/code/classes/lib/mysql-5.0.4.jar:/web/code/classes/lib/oreilly.jar:/web/code/classes/lib/postgresql-8.2-504.jdbc3.jar:/web/code/classes/lib/servlet2.4.jar:.:
\
  com.caucho.server.resin.Resin \
  -socketwait \
  52668 \
  -verbose

CLASSPATH:
/private/tmp/resin-3.1.0/lib/resin.jar:/private/tmp/resin-3.1.0/lib/jaxrpc-15.jar:/private/tmp/resin-3.1.0/lib/activation.jar:/private/tmp/resin-3.1.0/lib/ejb-15.jar:/private/tmp/resin-3.1.0/lib/j2ee-deploy-10.jar:/private/tmp/resin-3.1.0/lib/j2ee-management-10.jar:/private/tmp/resin-3.1.0/lib/javamail-14.jar:/private/tmp/resin-3.1.0/lib/jaxb-api.jar:/private/tmp/resin-3.1.0/lib/jaxb-impl.jar:/private/tmp/resin-3.1.0/lib/jaxb-xjc.jar:/private/tmp/resin-3.1.0/lib/jaxb1-impl.jar:/private/tmp/resin-3.1.0/lib/jca-15.jar:/private/tmp/resin-3.1.0/lib/jms-11.jar:/private/tmp/resin-3.1.0/lib/jpa-15.jar:/private/tmp/resin-3.1.0/lib/jsdk-15.jar:/private/tmp/resin-3.1.0/lib/jstl-11.jar:/private/tmp/resin-3.1.0/lib/jta-101.jar:/private/tmp/resin-3.1.0/lib/portlet-10.jar:/private/tmp/resin-3.1.0/lib/quercus.jar:/private/tmp/resin-3.1.0/lib/resin-util.jar:/private/tmp/resin-3.1.0/lib/script-10.jar:/private/tmp/resin-3.1.0/lib/webutil.jar
DYLD_LIBRARY_PATH: /private/tmp/resin-3.1.0/libexec



See how the CLASSPATH does NOT include the 
-Djava.library.path ?

Why is all this so very needlessly complicated ?

Best regards,
--j




 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097


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


[Resin-interest] SSL, mod_caucho for Apache 2.2

2007-04-05 Thread Jean-Francois Lamy
My understanding is that SSL support is only available for Resin Pro, and
client won’t shell out 1000$ for running on a dual-core PC.

 

So plan B is to install Apache.  Looking at my 3.0.21 download, I only see
mod_caucho for Apache 2.0.  So my understanding is that I need to run legacy
Apache 2.0.59 to get SSL support, or has Apache 2.2 support been added since
?

 

Is this correct ?

 

Jean-François Lamy

Technologies Teximus inc.

www.teximus.com

+1 514.878.1577 (Canada)

+33(0) 8.70.44.49.02 (Europe)

 

 

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