[Resin-interest] about the jpa of resin
I want to use the other jpa.how to close the resin's jpa thanks!! jiangjf ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Resin 3.1, RequestDispatcher, include() and forward()
I've found one thing in resin 3.1 regarding RequestDispatcher, include() and forward() Let's suppose we have a ServletResponse, and we've wrote some text into its output stream, so it's now in committed state. That means, as J2EE spec tells, that we can no longer do forward() on it, or we'll get an IllegalStateException. In the meantime we can do include() on it, including the response from random URI into result document. So we include() a chain of struts1 actions into it. They're going to forward() the request until the end of chain is reached. As I've found out, this will result in a shower of IllegalStateExceptions being thrown. Interesting thing that, despite those exceptions, actions successfully transfer control from one to another, eventually finishing processing and writing everything they need to. Now the weird thing is: On the first side, include()d document can be thought as being processed independently. Basically it should behave as if you fetched that page by using HTTP and then printed it into output stream. So, forward() should work because there is no reason for it to not work - because it would work in the case of outside request. On the second side, include()d document gets unmodified ServletResponse from parent servlet, which have its buffer committed, and I guess there are no easy ways to tell whenever forward() was called from include()d servlet, where it is fine, or from the parent servlet, where it's a no-no I can't say I have a question about resin, I just wanted to share that bunch of facts and thoughts with you. P.S. Having said that, I find the original limitation on forward() rather annoying. I guess it's supposed to ensure cookies and headers neither being written into document nor discarded, and also prevent from outputting half of one html document and then outputting the whole another html document. That's the well known We didn't want to let you shoot yourself in the foot so we duct taped your fingers together; and also, we wanted to prematurely optimise a bit antipattern clearly. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] about the jpa of resin
On Wed, Feb 27, 2008 at 05:11:16PM +0800, 蒋剑峰 wrote: I want to use the other jpa.how to close the resin's jpa thanks!! jiangjf Hi jiangjf, Check out http://wiki.caucho.com/Hibernate It has info about how to use the Hibernate JPA implementation. That should be enough to get you started, even if you want to use another JPA besides Resin's or Hibernate. Best, Emil Emil Ong Chief Evangelist Caucho Technology, Inc. Tel. (858) 456-0300 mailto:[EMAIL PROTECTED] Caucho: Reliable Open Source -- Resin: application server -- Quercus: PHP in Java -- Hessian Web Services ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 3.1, RequestDispatcher, include() and forward()
This is an excellent finding. I got the same IllegalStateExceptions as well when jsp:include a struts1 action with resin 3.1.4. I tested with struts 1.0.x, 1.1.x, and 1.2.x, I got the same error. However, when I tried struts 1.3.8, this exception disappeared. I posted the similar question on the list several weeks ago, and I was suggested to use the switch flush=false, which actually did not make any difference. If anyone knows the solution for avoiding this exception with struts versions less than 1.3.x, please let me know. Thanks. Ilya Kasnacheev wrote: I've found one thing in resin 3.1 regarding RequestDispatcher, include() and forward() Let's suppose we have a ServletResponse, and we've wrote some text into its output stream, so it's now in committed state. That means, as J2EE spec tells, that we can no longer do forward() on it, or we'll get an IllegalStateException. In the meantime we can do include() on it, including the response from random URI into result document. So we include() a chain of struts1 actions into it. They're going to forward() the request until the end of chain is reached. As I've found out, this will result in a shower of IllegalStateExceptions being thrown. Interesting thing that, despite those exceptions, actions successfully transfer control from one to another, eventually finishing processing and writing everything they need to. Now the weird thing is: On the first side, include()d document can be thought as being processed independently. Basically it should behave as if you fetched that page by using HTTP and then printed it into output stream. So, forward() should work because there is no reason for it to not work - because it would work in the case of outside request. On the second side, include()d document gets unmodified ServletResponse from parent servlet, which have its buffer committed, and I guess there are no easy ways to tell whenever forward() was called from include()d servlet, where it is fine, or from the parent servlet, where it's a no-no I can't say I have a question about resin, I just wanted to share that bunch of facts and thoughts with you. P.S. Having said that, I find the original limitation on forward() rather annoying. I guess it's supposed to ensure cookies and headers neither being written into document nor discarded, and also prevent from outputting half of one html document and then outputting the whole another html document. That's the well known We didn't want to let you shoot yourself in the foot so we duct taped your fingers together; and also, we wanted to prematurely optimise a bit antipattern clearly. ___ 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
[Resin-interest] Resin 3.1.5
Resin 3.1.5 is now available: download : http://caucho.com/download release notes: http://caucho.com/resin/changes/resin-3.1.5.xtp change log: http://caucho.com/resin/changes/changes.xtp Bug reports belong at http://bugs.caucho.com Resin 3.1.5 is the active development branch. * JSF - Resin's JSF is making solid progress and is on track for release in 3.1.6. Most of the Trinidad project is now working (see http://wiki.caucho.com/Trinidad) . The JSF implementation is in resin/plugins/jsf-12.jar. You'll need to copy it from the plugins to resin/lib to activate it. * Quercus - Continued solid work on bug fixes and compatibility. WordPress and MediaWiki have been put into the killer app category with a thorough review and several bug fixes. * Maven/Ivy - We've exposed a Maven/Ivy repository at http://caucho.com/m2 and http://caucho.com/m2-snapshot. Details are at http://wiki.caucho.com/Maven2 and http://wiki.caucho.com/Ivy. * Maven/Ant tasks - there's now a resin:run and resin:jspc for Maven and a jspc task for Ant. * Resin embedding (http://caucho.com/resin/doc/resin-embedding.xtp) is a simple facade for launching a Resin instance either from another application or for unit testing. The API has a set of test-specific methods, letting you run regression tests directly without involving TCP. * Resin remoting (http://caucho.com/resin/doc/resin-remoting.xtp) is a refactoring of the remoting support. The protocol drivers are now separated out, so adding new protocols is straightforward. Currently supported are Hessian, Burlap, CXF, and XFire. The basic configuration model is a servlet-mapping to define the URL, with a bean and remote interface, introspected to expose the service API (using the EJB @Remote model, but without the EJB overhead.) * Resin messaging (http://caucho.com/resin/doc/resin-messaging.xtp) is mostly a configuration cleanup and simplification of queues and message-driven beans. You can now use Resin's JMS queues with the BlockingQueue API avoiding the JMS housekeeping. Also, configuring a listener (message driven bean) is now essentially three lines of XML in the resin-web.xml. * Resin-IoC/EJB integration (see http://caucho.com/resin/doc/resin-ejb.xtp and http://caucho.com/resin/doc/resin-ioc.xtp) The implementation of Resin-IoC/WebBeans and Resin's EJB have been merged. So the same code handles EJB's @TransactionAttributes as well as IoC beans, including servlets and filters. So, really, the only difference between a @Stateless bean and a @Singleton bean is the lifecycle. (@Stateless beans are pooled, @Singletons are multithreaded.) * Resin-IoC integrations. We've added ObjectFactory drivers for the following frameworks: http://wiki.caucho.com/Mule http://wiki.caucho.com/Spring http://wiki.caucho.com/Struts2 http://wiki.caucho.com/Wicket * Watchdog (see http://caucho.com/resin/doc/resin-watchdog.xtp) Primarily cleanup, but also added an alternate configuration/ launching capability for ISP-type environments. * Security (see http://caucho.com/resin/doc/resin-security.xtp) The authenticator syntax now has a 'uri' attribute shortcut for known authenticators, simplifying configuration a bit. For custom authenticators, there is a new abstract class making common password authenticators easier to implement. Also, the management tag now implements a default, top-level authenticator with its user tags (same as the old xml: authenticator.) The management authenticator simplifies the /resin- admin configuration, and is also used for clustered security. * Third party integration http://wiki.caucho.com/ActiveMQ http://wiki.caucho.com/Hibernate http://wiki.caucho.com/Hudson http://wiki.caucho.com/Jackrabbit http://wiki.caucho.com/JUnit http://wiki.caucho.com/Terracotta http://wiki.caucho.com/Trinidad ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 3.1.5
This may not be an appropriate forum for this but... You guys ROCK! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ferguson Sent: Wednesday, February 27, 2008 10:09 AM To: General Discussion for the Resin application server Subject: [Resin-interest] Resin 3.1.5 Resin 3.1.5 is now available: download : http://caucho.com/download release notes: http://caucho.com/resin/changes/resin-3.1.5.xtp change log: http://caucho.com/resin/changes/changes.xtp Bug reports belong at http://bugs.caucho.com Resin 3.1.5 is the active development branch. * JSF - Resin's JSF is making solid progress and is on track for release in 3.1.6. Most of the Trinidad project is now working (see http://wiki.caucho.com/Trinidad) . The JSF implementation is in resin/plugins/jsf-12.jar. You'll need to copy it from the plugins to resin/lib to activate it. * Quercus - Continued solid work on bug fixes and compatibility. WordPress and MediaWiki have been put into the killer app category with a thorough review and several bug fixes. * Maven/Ivy - We've exposed a Maven/Ivy repository at http://caucho.com/m2 and http://caucho.com/m2-snapshot. Details are at http://wiki.caucho.com/Maven2 and http://wiki.caucho.com/Ivy. * Maven/Ant tasks - there's now a resin:run and resin:jspc for Maven and a jspc task for Ant. * Resin embedding (http://caucho.com/resin/doc/resin-embedding.xtp) is a simple facade for launching a Resin instance either from another application or for unit testing. The API has a set of test-specific methods, letting you run regression tests directly without involving TCP. * Resin remoting (http://caucho.com/resin/doc/resin-remoting.xtp) is a refactoring of the remoting support. The protocol drivers are now separated out, so adding new protocols is straightforward. Currently supported are Hessian, Burlap, CXF, and XFire. The basic configuration model is a servlet-mapping to define the URL, with a bean and remote interface, introspected to expose the service API (using the EJB @Remote model, but without the EJB overhead.) * Resin messaging (http://caucho.com/resin/doc/resin-messaging.xtp) is mostly a configuration cleanup and simplification of queues and message-driven beans. You can now use Resin's JMS queues with the BlockingQueue API avoiding the JMS housekeeping. Also, configuring a listener (message driven bean) is now essentially three lines of XML in the resin-web.xml. * Resin-IoC/EJB integration (see http://caucho.com/resin/doc/resin-ejb.xtp and http://caucho.com/resin/doc/resin-ioc.xtp) The implementation of Resin-IoC/WebBeans and Resin's EJB have been merged. So the same code handles EJB's @TransactionAttributes as well as IoC beans, including servlets and filters. So, really, the only difference between a @Stateless bean and a @Singleton bean is the lifecycle. (@Stateless beans are pooled, @Singletons are multithreaded.) * Resin-IoC integrations. We've added ObjectFactory drivers for the following frameworks: http://wiki.caucho.com/Mule http://wiki.caucho.com/Spring http://wiki.caucho.com/Struts2 http://wiki.caucho.com/Wicket * Watchdog (see http://caucho.com/resin/doc/resin-watchdog.xtp) Primarily cleanup, but also added an alternate configuration/ launching capability for ISP-type environments. * Security (see http://caucho.com/resin/doc/resin-security.xtp) The authenticator syntax now has a 'uri' attribute shortcut for known authenticators, simplifying configuration a bit. For custom authenticators, there is a new abstract class making common password authenticators easier to implement. Also, the management tag now implements a default, top-level authenticator with its user tags (same as the old xml: authenticator.) The management authenticator simplifies the /resin- admin configuration, and is also used for clustered security. * Third party integration http://wiki.caucho.com/ActiveMQ http://wiki.caucho.com/Hibernate http://wiki.caucho.com/Hudson http://wiki.caucho.com/Jackrabbit http://wiki.caucho.com/JUnit http://wiki.caucho.com/Terracotta http://wiki.caucho.com/Trinidad ___ 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.1.5
On Feb 27, 2008, at 10:20 AM, Mktg. Incorporate Fast wrote: This may not be an appropriate forum for this but... You guys ROCK! Thanks! For 3.1.5 we spent a good deal of time looking at compatibility with other packages, and that work had the unexpected side effect of suggesting a large number of smallish code changes to simplify the configuration. -- Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ferguson Sent: Wednesday, February 27, 2008 10:09 AM To: General Discussion for the Resin application server Subject: [Resin-interest] Resin 3.1.5 Resin 3.1.5 is now available: download : http://caucho.com/download release notes: http://caucho.com/resin/changes/resin-3.1.5.xtp change log: http://caucho.com/resin/changes/changes.xtp Bug reports belong at http://bugs.caucho.com Resin 3.1.5 is the active development branch. * JSF - Resin's JSF is making solid progress and is on track for release in 3.1.6. Most of the Trinidad project is now working (see http://wiki.caucho.com/Trinidad) . The JSF implementation is in resin/plugins/jsf-12.jar. You'll need to copy it from the plugins to resin/lib to activate it. * Quercus - Continued solid work on bug fixes and compatibility. WordPress and MediaWiki have been put into the killer app category with a thorough review and several bug fixes. * Maven/Ivy - We've exposed a Maven/Ivy repository at http://caucho.com/m2 and http://caucho.com/m2-snapshot. Details are at http://wiki.caucho.com/Maven2 and http://wiki.caucho.com/Ivy. * Maven/Ant tasks - there's now a resin:run and resin:jspc for Maven and a jspc task for Ant. * Resin embedding (http://caucho.com/resin/doc/resin-embedding.xtp) is a simple facade for launching a Resin instance either from another application or for unit testing. The API has a set of test-specific methods, letting you run regression tests directly without involving TCP. * Resin remoting (http://caucho.com/resin/doc/resin-remoting.xtp) is a refactoring of the remoting support. The protocol drivers are now separated out, so adding new protocols is straightforward. Currently supported are Hessian, Burlap, CXF, and XFire. The basic configuration model is a servlet-mapping to define the URL, with a bean and remote interface, introspected to expose the service API (using the EJB @Remote model, but without the EJB overhead.) * Resin messaging (http://caucho.com/resin/doc/resin-messaging.xtp) is mostly a configuration cleanup and simplification of queues and message-driven beans. You can now use Resin's JMS queues with the BlockingQueue API avoiding the JMS housekeeping. Also, configuring a listener (message driven bean) is now essentially three lines of XML in the resin-web.xml. * Resin-IoC/EJB integration (see http://caucho.com/resin/doc/resin-ejb.xtp and http://caucho.com/resin/doc/resin-ioc.xtp) The implementation of Resin-IoC/WebBeans and Resin's EJB have been merged. So the same code handles EJB's @TransactionAttributes as well as IoC beans, including servlets and filters. So, really, the only difference between a @Stateless bean and a @Singleton bean is the lifecycle. (@Stateless beans are pooled, @Singletons are multithreaded.) * Resin-IoC integrations. We've added ObjectFactory drivers for the following frameworks: http://wiki.caucho.com/Mule http://wiki.caucho.com/Spring http://wiki.caucho.com/Struts2 http://wiki.caucho.com/Wicket * Watchdog (see http://caucho.com/resin/doc/resin-watchdog.xtp) Primarily cleanup, but also added an alternate configuration/ launching capability for ISP-type environments. * Security (see http://caucho.com/resin/doc/resin-security.xtp) The authenticator syntax now has a 'uri' attribute shortcut for known authenticators, simplifying configuration a bit. For custom authenticators, there is a new abstract class making common password authenticators easier to implement. Also, the management tag now implements a default, top-level authenticator with its user tags (same as the old xml: authenticator.) The management authenticator simplifies the /resin- admin configuration, and is also used for clustered security. * Third party integration http://wiki.caucho.com/ActiveMQ http://wiki.caucho.com/Hibernate http://wiki.caucho.com/Hudson http://wiki.caucho.com/Jackrabbit http://wiki.caucho.com/JUnit http://wiki.caucho.com/Terracotta http://wiki.caucho.com/Trinidad ___ 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 ___ resin-interest mailing list resin-interest@caucho.com
Re: [Resin-interest] Resin 3.1.5
Hi Scott, in the Resin 3.1.5 Profession zip, there is the jar resin-support.jar in ext-webapp-lib folder. In thought, that this JAR contains Classes for Sprint integration as mentioned here http://wiki.caucho.com/Spring The resin-support.jar must be in the WEB-INF/lib (or ext-webapps) 2008/2/27, Scott Ferguson [EMAIL PROTECTED]: On Feb 27, 2008, at 10:20 AM, Mktg. Incorporate Fast wrote: This may not be an appropriate forum for this but... You guys ROCK! Thanks! For 3.1.5 we spent a good deal of time looking at compatibility with other packages, and that work had the unexpected side effect of suggesting a large number of smallish code changes to simplify the configuration. -- Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ferguson Sent: Wednesday, February 27, 2008 10:09 AM To: General Discussion for the Resin application server Subject: [Resin-interest] Resin 3.1.5 Resin 3.1.5 is now available: download : http://caucho.com/download release notes: http://caucho.com/resin/changes/resin-3.1.5.xtp change log: http://caucho.com/resin/changes/changes.xtp Bug reports belong at http://bugs.caucho.com Resin 3.1.5 is the active development branch. * JSF - Resin's JSF is making solid progress and is on track for release in 3.1.6. Most of the Trinidad project is now working (see http://wiki.caucho.com/Trinidad) . The JSF implementation is in resin/plugins/jsf-12.jar. You'll need to copy it from the plugins to resin/lib to activate it. * Quercus - Continued solid work on bug fixes and compatibility. WordPress and MediaWiki have been put into the killer app category with a thorough review and several bug fixes. * Maven/Ivy - We've exposed a Maven/Ivy repository at http://caucho.com/m2 and http://caucho.com/m2-snapshot. Details are at http://wiki.caucho.com/Maven2 and http://wiki.caucho.com/Ivy. * Maven/Ant tasks - there's now a resin:run and resin:jspc for Maven and a jspc task for Ant. * Resin embedding (http://caucho.com/resin/doc/resin-embedding.xtp) is a simple facade for launching a Resin instance either from another application or for unit testing. The API has a set of test-specific methods, letting you run regression tests directly without involving TCP. * Resin remoting (http://caucho.com/resin/doc/resin-remoting.xtp) is a refactoring of the remoting support. The protocol drivers are now separated out, so adding new protocols is straightforward. Currently supported are Hessian, Burlap, CXF, and XFire. The basic configuration model is a servlet-mapping to define the URL, with a bean and remote interface, introspected to expose the service API (using the EJB @Remote model, but without the EJB overhead.) * Resin messaging (http://caucho.com/resin/doc/resin-messaging.xtp) is mostly a configuration cleanup and simplification of queues and message-driven beans. You can now use Resin's JMS queues with the BlockingQueue API avoiding the JMS housekeeping. Also, configuring a listener (message driven bean) is now essentially three lines of XML in the resin-web.xml. * Resin-IoC/EJB integration (see http://caucho.com/resin/doc/resin-ejb.xtp and http://caucho.com/resin/doc/resin-ioc.xtp) The implementation of Resin-IoC/WebBeans and Resin's EJB have been merged. So the same code handles EJB's @TransactionAttributes as well as IoC beans, including servlets and filters. So, really, the only difference between a @Stateless bean and a @Singleton bean is the lifecycle. (@Stateless beans are pooled, @Singletons are multithreaded.) * Resin-IoC integrations. We've added ObjectFactory drivers for the following frameworks: http://wiki.caucho.com/Mule http://wiki.caucho.com/Spring http://wiki.caucho.com/Struts2 http://wiki.caucho.com/Wicket * Watchdog (see http://caucho.com/resin/doc/resin-watchdog.xtp) Primarily cleanup, but also added an alternate configuration/ launching capability for ISP-type environments. * Security (see http://caucho.com/resin/doc/resin-security.xtp) The authenticator syntax now has a 'uri' attribute shortcut for known authenticators, simplifying configuration a bit. For custom authenticators, there is a new abstract class making common password authenticators easier to implement. Also, the management tag now implements a default, top-level authenticator with its user tags (same as the old xml: authenticator.) The management authenticator simplifies the /resin- admin configuration, and is also used for clustered security. * Third party integration http://wiki.caucho.com/ActiveMQ http://wiki.caucho.com/Hibernate http://wiki.caucho.com/Hudson http://wiki.caucho.com/Jackrabbit http://wiki.caucho.com/JUnit http://wiki.caucho.com/Terracotta http://wiki.caucho.com/Trinidad
Re: [Resin-interest] Resin 3.1.5
[sorry, hit the send button too early] But the JAR contains only two Classes: com/caucho/maven/MavenJspc.class and com/caucho/maven/MavenRun.class plus META-INF. I would have expected such an optional JAR for Maven by default in the plugins folder because the JAR for the ANT Tasks are in this folder as well. Regards, Steffen 2008/2/27, Steffen Busch [EMAIL PROTECTED]: Hi Scott, in the Resin 3.1.5 Profession zip, there is the jar resin-support.jar in ext-webapp-lib folder. In thought, that this JAR contains Classes for Sprint integration as mentioned here http://wiki.caucho.com/Spring The resin-support.jar must be in the WEB-INF/lib (or ext-webapps) 2008/2/27, Scott Ferguson [EMAIL PROTECTED]: On Feb 27, 2008, at 10:20 AM, Mktg. Incorporate Fast wrote: This may not be an appropriate forum for this but... You guys ROCK! Thanks! For 3.1.5 we spent a good deal of time looking at compatibility with other packages, and that work had the unexpected side effect of suggesting a large number of smallish code changes to simplify the configuration. -- Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ferguson Sent: Wednesday, February 27, 2008 10:09 AM To: General Discussion for the Resin application server Subject: [Resin-interest] Resin 3.1.5 Resin 3.1.5 is now available: download : http://caucho.com/download release notes: http://caucho.com/resin/changes/resin-3.1.5.xtp change log: http://caucho.com/resin/changes/changes.xtp Bug reports belong at http://bugs.caucho.com Resin 3.1.5 is the active development branch. * JSF - Resin's JSF is making solid progress and is on track for release in 3.1.6. Most of the Trinidad project is now working (see http://wiki.caucho.com/Trinidad) . The JSF implementation is in resin/plugins/jsf-12.jar. You'll need to copy it from the plugins to resin/lib to activate it. * Quercus - Continued solid work on bug fixes and compatibility. WordPress and MediaWiki have been put into the killer app category with a thorough review and several bug fixes. * Maven/Ivy - We've exposed a Maven/Ivy repository at http://caucho.com/m2 and http://caucho.com/m2-snapshot. Details are at http://wiki.caucho.com/Maven2 and http://wiki.caucho.com/Ivy. * Maven/Ant tasks - there's now a resin:run and resin:jspc for Maven and a jspc task for Ant. * Resin embedding (http://caucho.com/resin/doc/resin-embedding.xtp) is a simple facade for launching a Resin instance either from another application or for unit testing. The API has a set of test-specific methods, letting you run regression tests directly without involving TCP. * Resin remoting (http://caucho.com/resin/doc/resin-remoting.xtp) is a refactoring of the remoting support. The protocol drivers are now separated out, so adding new protocols is straightforward. Currently supported are Hessian, Burlap, CXF, and XFire. The basic configuration model is a servlet-mapping to define the URL, with a bean and remote interface, introspected to expose the service API (using the EJB @Remote model, but without the EJB overhead.) * Resin messaging (http://caucho.com/resin/doc/resin-messaging.xtp) is mostly a configuration cleanup and simplification of queues and message-driven beans. You can now use Resin's JMS queues with the BlockingQueue API avoiding the JMS housekeeping. Also, configuring a listener (message driven bean) is now essentially three lines of XML in the resin-web.xml. * Resin-IoC/EJB integration (see http://caucho.com/resin/doc/resin-ejb.xtp and http://caucho.com/resin/doc/resin-ioc.xtp) The implementation of Resin-IoC/WebBeans and Resin's EJB have been merged. So the same code handles EJB's @TransactionAttributes as well as IoC beans, including servlets and filters. So, really, the only difference between a @Stateless bean and a @Singleton bean is the lifecycle. (@Stateless beans are pooled, @Singletons are multithreaded.) * Resin-IoC integrations. We've added ObjectFactory drivers for the following frameworks: http://wiki.caucho.com/Mule http://wiki.caucho.com/Spring http://wiki.caucho.com/Struts2 http://wiki.caucho.com/Wicket * Watchdog (see http://caucho.com/resin/doc/resin-watchdog.xtp) Primarily cleanup, but also added an alternate configuration/ launching capability for ISP-type environments. * Security (see http://caucho.com/resin/doc/resin-security.xtp) The authenticator syntax now has a 'uri' attribute shortcut for known authenticators, simplifying configuration a bit. For custom authenticators, there is a new abstract class making common password authenticators easier to implement. Also, the management tag now implements a default,
[Resin-interest] Resin 3.1.5 Pligg
The Pligg verbosity I mentioned in the last few snapshots its still present, which is a shame as we can't go live with such enourmous logfiles being generated. Is there some way I can turn it off? Here is a sample and a few exceptions I noticed immediately, all with a default Pligg site and just a visit to its main page: y;i:0;s:3:def;s:0:;s:4:name;s:13:category_name;s:4:type;s:6:string s:7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s:10:max_length; :0;s:5:table;s:16:pligg_categories;}i:2;O:8:stdClass:13:{s:8:not_null;i 1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s:10:unique_key;i: ;s:3:def;s:0:;s:4:name;s:18:category_safe_name;s:4:type;s:6:string; :7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s:10:max_length;i 0;s:5:table;s:16:pligg_categories;}i:3;O:8:stdClass:13:{s:8:not_null;i: ;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s:10:unique_key;i:0 s:3:def;s:0:;s:4:name;s:13:category_lang;s:4:type;s:6:string;s:7:n meric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s:10:max_length;i:0;s:5 table;s:16:pligg_categories;}}s:11:last_result;a:2:{i:0;O:8:stdClass:4: s:18:category_safe_name;s:3:all;s:13:category_name;s:3:all;s:13:catego y_lang;s:2:en;s:11:category_id;s:1:0;}i:1;O:8:stdClass:4:{s:18:catego y_safe_name;s:5:pligg;s:13:category_name;s:5:pligg;s:13:category_lang; :2:en;s:11:category_id;s:1:1;}}s:8:num_rows;i:2;s:12:return_value;i:2 } 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_libs/_login__php.java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/_modules_0init__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/_modules_0libs__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 java.lang.NoClassDefFoundError: _quercus/_modul s/_modules_0libs__php$fun_module_db_add_field 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getDeclaredConstructo s0(Native Method) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.privateGetDeclaredCon tructors(Class.java:2389) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getConstructor0(Class java:2699) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance0(Class.ja a:326) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance(Class.jav :308) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .createPage(ProPageManager.java:149) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .access$200(ProPageManager.java:39) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage $CompileThread.run(ProPageManager.java:199) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool$Item.runTa ks(ThreadPool.java:721) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool$Item.run(T readPool.java:643) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Thread.run(Thread.java:619) 7-Feb-2008 22:53:28 RESIN 3.1.5 Caused by: java.lang.ClassNotFoundException: _q ercus._modules._modules_0libs__php$fun_module_db_add_field [java.io.IOException class file length mismatch] 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. indClassImpl(DynamicClassLoader.java:1383) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClassImpl(DynamicClassLoader.java:1280) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1213) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1198) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.ClassLoader.loadClassIntern l(ClassLoader.java:319) 7-Feb-2008 22:53:28 RESIN 3.1.5... 11 more ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Resin 3.1.5 Pligg
http://bugs.caucho.com/view.php?id=2460 Do you see the same thing when you clean out the WEB-INF/work? The errors look like a corrupted work directory. -- Scott On Feb 27, 2008, at 3:00 PM, Stargazer wrote: The Pligg verbosity I mentioned in the last few snapshots its still present, which is a shame as we can't go live with such enourmous logfiles being generated. Is there some way I can turn it off? Here is a sample and a few exceptions I noticed immediately, all with a default Pligg site and just a visit to its main page: y;i:0;s:3:def;s:0:;s:4:name;s:13:category_name;s:4:type;s: 6:string s:7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length; :0;s:5:table;s:16:pligg_categories;}i:2;O:8:stdClass:13:{s: 8:not_null;i 1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s: 10:unique_key;i: ;s:3:def;s:0:;s:4:name;s:18:category_safe_name;s:4:type;s: 6:string; :7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length;i 0;s:5:table;s:16:pligg_categories;}i:3;O:8:stdClass:13:{s: 8:not_null;i: ;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s: 10:unique_key;i:0 s:3:def;s:0:;s:4:name;s:13:category_lang;s:4:type;s: 6:string;s:7:n meric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length;i:0;s:5 table;s:16:pligg_categories;}}s:11:last_result;a:2:{i:0;O: 8:stdClass:4: s:18:category_safe_name;s:3:all;s:13:category_name;s:3:all;s: 13:catego y_lang;s:2:en;s:11:category_id;s:1:0;}i:1;O:8:stdClass:4:{s: 18:catego y_safe_name;s:5:pligg;s:13:category_name;s:5:pligg;s: 13:category_lang; :2:en;s:11:category_id;s:1:1;}}s:8:num_rows;i:2;s: 12:return_value;i:2 } 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_libs/ _login__php.java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/ _modules_0init__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/ _modules_0libs__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 java.lang.NoClassDefFoundError: _quercus/_modul s/_modules_0libs__php$fun_module_db_add_field 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getDeclaredConstructo s0(Native Method) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.privateGetDeclaredCon tructors(Class.java:2389) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getConstructor0(Class java:2699) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance0(Class.ja a:326) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance(Class.jav :308) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .createPage(ProPageManager.java:149) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .access$200(ProPageManager.java:39) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage $CompileThread.run(ProPageManager.java:199) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool $Item.runTa ks(ThreadPool.java:721) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool $Item.run(T readPool.java:643) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Thread.run(Thread.java:619) 7-Feb-2008 22:53:28 RESIN 3.1.5 Caused by: java.lang.ClassNotFoundException: _q ercus._modules._modules_0libs__php$fun_module_db_add_field [java.io.IOException class file length mismatch] 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. indClassImpl(DynamicClassLoader.java:1383) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClassImpl(DynamicClassLoader.java:1280) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1213) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1198) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.ClassLoader.loadClassIntern l(ClassLoader.java:319) 7-Feb-2008 22:53:28 RESIN 3.1.5... 11 more ___ 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.1.5
On Feb 27, 2008, at 3:00 PM, Steffen Busch wrote: [sorry, hit the send button too early] But the JAR contains only two Classes: com/caucho/maven/MavenJspc.class and com/caucho/maven/MavenRun.class That's very strange. Something about the build process used or copied the maven plugin into the support jar. I've changed the build.xml so it doesn't happen, but I still don't understand why that occurred in the first place. -- Scott plus META-INF. I would have expected such an optional JAR for Maven by default in the plugins folder because the JAR for the ANT Tasks are in this folder as well. Regards, Steffen 2008/2/27, Steffen Busch [EMAIL PROTECTED]: Hi Scott, in the Resin 3.1.5 Profession zip, there is the jar resin- support.jar in ext-webapp-lib folder. In thought, that this JAR contains Classes for Sprint integration as mentioned here http://wiki.caucho.com/Spring The resin-support.jar must be in the WEB-INF/lib (or ext-webapps) 2008/2/27, Scott Ferguson [EMAIL PROTECTED]: On Feb 27, 2008, at 10:20 AM, Mktg. Incorporate Fast wrote: This may not be an appropriate forum for this but... You guys ROCK! Thanks! For 3.1.5 we spent a good deal of time looking at compatibility with other packages, and that work had the unexpected side effect of suggesting a large number of smallish code changes to simplify the configuration. -- Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ferguson Sent: Wednesday, February 27, 2008 10:09 AM To: General Discussion for the Resin application server Subject: [Resin-interest] Resin 3.1.5 Resin 3.1.5 is now available: download : http://caucho.com/download release notes: http://caucho.com/resin/changes/resin-3.1.5.xtp change log: http://caucho.com/resin/changes/changes.xtp Bug reports belong at http://bugs.caucho.com Resin 3.1.5 is the active development branch. * JSF - Resin's JSF is making solid progress and is on track for release in 3.1.6. Most of the Trinidad project is now working (see http://wiki.caucho.com/Trinidad) . The JSF implementation is in resin/plugins/jsf-12.jar. You'll need to copy it from the plugins to resin/lib to activate it. * Quercus - Continued solid work on bug fixes and compatibility. WordPress and MediaWiki have been put into the killer app category with a thorough review and several bug fixes. * Maven/Ivy - We've exposed a Maven/Ivy repository at http://caucho.com/m2 and http://caucho.com/m2-snapshot. Details are at http://wiki.caucho.com/Maven2 and http://wiki.caucho.com/Ivy. * Maven/Ant tasks - there's now a resin:run and resin:jspc for Maven and a jspc task for Ant. * Resin embedding (http://caucho.com/resin/doc/resin- embedding.xtp) is a simple facade for launching a Resin instance either from another application or for unit testing. The API has a set of test-specific methods, letting you run regression tests directly without involving TCP. * Resin remoting (http://caucho.com/resin/doc/resin-remoting.xtp) is a refactoring of the remoting support. The protocol drivers are now separated out, so adding new protocols is straightforward. Currently supported are Hessian, Burlap, CXF, and XFire. The basic configuration model is a servlet-mapping to define the URL, with a bean and remote interface, introspected to expose the service API (using the EJB @Remote model, but without the EJB overhead.) * Resin messaging (http://caucho.com/resin/doc/resin- messaging.xtp) is mostly a configuration cleanup and simplification of queues and message-driven beans. You can now use Resin's JMS queues with the BlockingQueue API avoiding the JMS housekeeping. Also, configuring a listener (message driven bean) is now essentially three lines of XML in the resin-web.xml. * Resin-IoC/EJB integration (see http://caucho.com/resin/doc/resin-ejb.xtp and http://caucho.com/resin/doc/resin-ioc.xtp) The implementation of Resin-IoC/WebBeans and Resin's EJB have been merged. So the same code handles EJB's @TransactionAttributes as well as IoC beans, including servlets and filters. So, really, the only difference between a @Stateless bean and a @Singleton bean is the lifecycle. (@Stateless beans are pooled, @Singletons are multithreaded.) * Resin-IoC integrations. We've added ObjectFactory drivers for the following frameworks: http://wiki.caucho.com/Mule http://wiki.caucho.com/Spring http://wiki.caucho.com/Struts2 http://wiki.caucho.com/Wicket * Watchdog (see http://caucho.com/resin/doc/resin-watchdog.xtp) Primarily cleanup, but also added an alternate configuration/ launching capability for ISP-type environments. * Security (see http://caucho.com/resin/doc/resin-security.xtp) The authenticator syntax now has a 'uri' attribute shortcut for known authenticators, simplifying configuration a bit. For custom authenticators, there is a new
Re: [Resin-interest] Resin 3.1.5 Pligg
Scott Ferguson wrote: http://bugs.caucho.com/view.php?id=2460 Do you see the same thing when you clean out the WEB-INF/work? The errors look like a corrupted work directory. -- Scott Aha! Correct for the exceptions - all gone now, yup, it was the same site as the earlier snapshots, thanks. Verbosity still present. It would be tolerable if this was the occasional few lines of debug, but the production site is too busy to go with it as things stand. Incidentally I also cleaned up the Drupal 6 test in the same way and haven't seen any exceptions since either. As there is no verbosity in with Drupal it really smells like theres been an if Pligg then debug=max line left in there somewhere... On Feb 27, 2008, at 3:00 PM, Stargazer wrote: The Pligg verbosity I mentioned in the last few snapshots its still present, which is a shame as we can't go live with such enourmous logfiles being generated. Is there some way I can turn it off? Here is a sample and a few exceptions I noticed immediately, all with a default Pligg site and just a visit to its main page: y;i:0;s:3:def;s:0:;s:4:name;s:13:category_name;s:4:type;s: 6:string s:7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length; :0;s:5:table;s:16:pligg_categories;}i:2;O:8:stdClass:13:{s: 8:not_null;i 1;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s: 10:unique_key;i: ;s:3:def;s:0:;s:4:name;s:18:category_safe_name;s:4:type;s: 6:string; :7:numeric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length;i 0;s:5:table;s:16:pligg_categories;}i:3;O:8:stdClass:13:{s: 8:not_null;i: ;s:11:primary_key;i:0;s:8:unsigned;i:0;s:4:blob;i:0;s: 10:unique_key;i:0 s:3:def;s:0:;s:4:name;s:13:category_lang;s:4:type;s: 6:string;s:7:n meric;i:0;s:12:multiple_key;i:0;s:8:zerofill;i:0;s: 10:max_length;i:0;s:5 table;s:16:pligg_categories;}}s:11:last_result;a:2:{i:0;O: 8:stdClass:4: s:18:category_safe_name;s:3:all;s:13:category_name;s:3:all;s: 13:catego y_lang;s:2:en;s:11:category_id;s:1:0;}i:1;O:8:stdClass:4:{s: 18:catego y_safe_name;s:5:pligg;s:13:category_name;s:5:pligg;s: 13:category_lang; :2:en;s:11:category_id;s:1:1;}}s:8:num_rows;i:2;s: 12:return_value;i:2 } 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_libs/ _login__php.java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/ _modules_0init__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 Compiling _quercus/_modules/ _modules_0libs__php java 7-Feb-2008 22:53:28 RESIN 3.1.5 java.lang.NoClassDefFoundError: _quercus/_modul s/_modules_0libs__php$fun_module_db_add_field 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getDeclaredConstructo s0(Native Method) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.privateGetDeclaredCon tructors(Class.java:2389) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.getConstructor0(Class java:2699) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance0(Class.ja a:326) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Class.newInstance(Class.jav :308) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .createPage(ProPageManager.java:149) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage .access$200(ProPageManager.java:39) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.quercus.page.ProPageManage $CompileThread.run(ProPageManager.java:199) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool $Item.runTa ks(ThreadPool.java:721) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.util.ThreadPool $Item.run(T readPool.java:643) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.Thread.run(Thread.java:619) 7-Feb-2008 22:53:28 RESIN 3.1.5 Caused by: java.lang.ClassNotFoundException: _q ercus._modules._modules_0libs__php$fun_module_db_add_field [java.io.IOException class file length mismatch] 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. indClassImpl(DynamicClassLoader.java:1383) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClassImpl(DynamicClassLoader.java:1280) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1213) 7-Feb-2008 22:53:28 RESIN 3.1.5at com.caucho.loader.DynamicClassLoader. oadClass(DynamicClassLoader.java:1198) 7-Feb-2008 22:53:28 RESIN 3.1.5at java.lang.ClassLoader.loadClassIntern l(ClassLoader.java:319) 7-Feb-2008 22:53:28 RESIN 3.1.5... 11 more ___ 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