[Resin-interest] FYI, new Resin 3.2 snapshot
We probably have a little over a week before the release. The regressions are going fairly well, but aren't completely clean yet. The snapshot has some interesting things that you might want to check out: * mail logging handler. The mail handler will send emails containing any warning or severe messages in the log files (with a delay/batch to keep the mails sane.) This handler is a good way to keep notified of anything unusual happening on the server. See http://caucho.com/resin/doc/config-log.xtp * /resin-admin updates and cleanup. We've reorganized /resin-admin to group the most important information on the main page, and also added a basic graphing capability. * BamClient and bam-service. These are two easier interfaces for creating clients and servers for BAM messaging. http://caucho.com/resin/doc/hmtp.xtp . * JSF debugging. We've started on a debugging aid for JSF development, showing some internal information of the JSF state. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] Configuring a JNDI javax.mail.Session for a TLS SMTP server (gmail) (3.1.5)
Hi there, I'm trying to configure an application, JIRA, to send notification through a mail server, gmail, and for that I have to define a JNDI resource with all the data to be able to connect to the SMTP server. However, the problem is that the gmail SMTP server requires TLS and I've been unable to find out how to configure the resource so it connects appropriately. After a bit of searching, I came up with this configuration as a starter: --- mail uri=properties:mail.smtp.starttls.enable=true jndi-namemail/SecureSMTP/jndi-name smtp-hostsmtp.gmail.com/smtp-host smtp-port587/smtp-port smtp-ssltrue/smtp-ssl smtp-userusername/smtp-user transport-protocolsmtps/transport-protocol /mail --- However, all I get is: --- com.sun.mail.smtp.SMTPSendFailedException: 530 5.7.0 Must issue a STARTTLS command first. --- Which I believe is caused by the uri:properties being ignored or something similar. I also tried with: -- mail uri=properties:mail.smtp.starttls.enable=true;mail.smtp.auth=true -- In case it is not working due to mail.smtp.auth missing, but I'm not sure that is the correct way of specifying two properties. Documentation is kind of scarce in this area. I could not find any example of using a mail JNDI resource in resin to connect to a TLS smtp server. I found some examples using Tomcat, but of course the configuration is different (thanks lovely spec.). Is it possible at all? Cheers! D. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] FYI, new Resin 3.2 snapshot
Hi Scott, regarding the 3.2 resin-admin updates, the Graphs are really cool! But in the current snapshot, the Heap Dump is broken. Whenever I press dump heap on the memory tab, the summary page is displayed instead of the heap information. Also, I've got three times three exceptions like this on the console: {http--8080-2} java.lang.IllegalStateException: DESTROYED is an illegal accept state {http--8080-2} at com.caucho.server.port.TcpConnection$ConnectionState.toAccept(TcpConnection.java:1035) {http--8080-2} at com.caucho.server.port.TcpConnection$AcceptTask.doAccept(TcpConnection.java:1090) {http--8080-2} at com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1058) {http--8080-2} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) {http--8080-2} at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) {http--8080-2} at java.lang.Thread.run(Thread.java:619) Any idea why this is reported? I've added stat-service/ in resin.xml in order to get the graphs, but that's all. Because these three exceptions occur 'together', maybe it's related to the three graphs on the summary page? Regards, Steffen 2008/7/21 Scott Ferguson [EMAIL PROTECTED]: We probably have a little over a week before the release. The regressions are going fairly well, but aren't completely clean yet. The snapshot has some interesting things that you might want to check out: * mail logging handler. The mail handler will send emails containing any warning or severe messages in the log files (with a delay/batch to keep the mails sane.) This handler is a good way to keep notified of anything unusual happening on the server. See http://caucho.com/resin/doc/config-log.xtp * /resin-admin updates and cleanup. We've reorganized /resin-admin to group the most important information on the main page, and also added a basic graphing capability. * BamClient and bam-service. These are two easier interfaces for creating clients and servers for BAM messaging. http://caucho.com/resin/doc/hmtp.xtp . * JSF debugging. We've started on a debugging aid for JSF development, showing some internal information of the JSF state. ___ 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] FYI, new Resin 3.2 snapshot
On Jul 21, 2008, at 12:31 PM, Steffen Busch wrote: Hi Scott, regarding the 3.2 resin-admin updates, the Graphs are really cool! But in the current snapshot, the Heap Dump is broken. Whenever I press dump heap on the memory tab, the summary page is displayed instead of the heap information. Yep. I'd found that one. Also, I've got three times three exceptions like this on the console: {http--8080-2} java.lang.IllegalStateException: DESTROYED is an illegal accept state {http--8080-2} at com.caucho.server.port.TcpConnection $ConnectionState.toAccept(TcpConnection.java:1035) {http--8080-2} at com.caucho.server.port.TcpConnection $AcceptTask.doAccept(TcpConnection.java:1090) {http--8080-2} at com.caucho.server.port.TcpConnection $AcceptTask.run(TcpConnection.java:1058) {http--8080-2} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) {http--8080-2} at com.caucho.util.ThreadPool $Item.run(ThreadPool.java:643) {http--8080-2} at java.lang.Thread.run(Thread.java:619) Thanks. I've reported this as a bug. That's a bug in the new threading/socket code for 3.2. Much of the work for us this week is making sure those conditions are fixed. Any idea why this is reported? I've added stat-service/ in resin.xml in order to get the graphs, but that's all. Because these three exceptions occur 'together', maybe it's related to the three graphs on the summary page? It wouldn't be directly related, but might be triggered by that page. -- Scott Regards, Steffen 2008/7/21 Scott Ferguson [EMAIL PROTECTED]: We probably have a little over a week before the release. The regressions are going fairly well, but aren't completely clean yet. The snapshot has some interesting things that you might want to check out: * mail logging handler. The mail handler will send emails containing any warning or severe messages in the log files (with a delay/batch to keep the mails sane.) This handler is a good way to keep notified of anything unusual happening on the server. See http://caucho.com/resin/doc/config-log.xtp * /resin-admin updates and cleanup. We've reorganized /resin-admin to group the most important information on the main page, and also added a basic graphing capability. * BamClient and bam-service. These are two easier interfaces for creating clients and servers for BAM messaging. http://caucho.com/resin/doc/hmtp.xtp . * JSF debugging. We've started on a debugging aid for JSF development, showing some internal information of the JSF state. ___ 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 http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Host Matching and Regular Expressions
On Jul 21, 2008, at 1:03 PM, Shane Cruz wrote: In Resin Pro 3.0 (specifically 3.0.23), what happens if you have two host blocks that both match the virtual host being requested? For example, what would happen if we have a configuration such as this and someone requests myhost.com? host id=”myhost.com” host-namemyhost.com/host-name … /host host regexp=([wW]{3}\.)?(.+)\:[0-9]+ host-name${host.regexp[2]}/host-name … /host The reason I ask is that we have thousands of virtual hosts that match the regular expression, but we often want to make some specific settings for a given host (unique host-alias or something). Does Resin store these hosts in a list and use the first one that is found in the configuration? Specific host ids have priority over regexps. So myhost.com should match independent of the order of those two tags. For two regexps, the first one should match. -- Scott Thanks, Shane ___ 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] FYI, new Resin 3.2 snapshot
On Jul 21, 2008, at 3:02 PM, Chris Chen wrote: On a separate note, I noticed that Resin 3.2 snapshot has quercus directly packaged into resin.jar. Will this be the case in the future? I would think that it'd be nice to have quercus.jar as a separate library on the off chance that people who still continue to use Resin 3.1.x (or possibly other containers) can upgrade to the newer quercus version without upgrading Resin itself. What's the plan going forward in regards to this particular aspect? The new packaging is designed to reduce the number of jars required to make embedding easier, so you really should only need javaee-16.jar, resin.jar and pro.jar. Unless it becomes a problem, I'd like to keep it that simple. The quercus.jar and resin-util.jar are still generated, so we can still distribute those on the quercus site or in maven. -- Scott -Chris On Jul 21, 2008, at 1:45 PM, Scott Ferguson wrote: On Jul 21, 2008, at 12:31 PM, Steffen Busch wrote: Hi Scott, regarding the 3.2 resin-admin updates, the Graphs are really cool! But in the current snapshot, the Heap Dump is broken. Whenever I press dump heap on the memory tab, the summary page is displayed instead of the heap information. Yep. I'd found that one. Also, I've got three times three exceptions like this on the console: {http--8080-2} java.lang.IllegalStateException: DESTROYED is an illegal accept state {http--8080-2} at com.caucho.server.port.TcpConnection $ConnectionState.toAccept(TcpConnection.java:1035) {http--8080-2} at com.caucho.server.port.TcpConnection $AcceptTask.doAccept(TcpConnection.java:1090) {http--8080-2} at com.caucho.server.port.TcpConnection $AcceptTask.run(TcpConnection.java:1058) {http--8080-2} at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) {http--8080-2} at com.caucho.util.ThreadPool $Item.run(ThreadPool.java:643) {http--8080-2} at java.lang.Thread.run(Thread.java:619) Thanks. I've reported this as a bug. That's a bug in the new threading/socket code for 3.2. Much of the work for us this week is making sure those conditions are fixed. Any idea why this is reported? I've added stat-service/ in resin.xml in order to get the graphs, but that's all. Because these three exceptions occur 'together', maybe it's related to the three graphs on the summary page? It wouldn't be directly related, but might be triggered by that page. -- Scott Regards, Steffen 2008/7/21 Scott Ferguson [EMAIL PROTECTED]: We probably have a little over a week before the release. The regressions are going fairly well, but aren't completely clean yet. The snapshot has some interesting things that you might want to check out: * mail logging handler. The mail handler will send emails containing any warning or severe messages in the log files (with a delay/batch to keep the mails sane.) This handler is a good way to keep notified of anything unusual happening on the server. See http://caucho.com/resin/doc/config-log.xtp * /resin-admin updates and cleanup. We've reorganized /resin-admin to group the most important information on the main page, and also added a basic graphing capability. * BamClient and bam-service. These are two easier interfaces for creating clients and servers for BAM messaging. http://caucho.com/resin/doc/hmtp.xtp . * JSF debugging. We've started on a debugging aid for JSF development, showing some internal information of the JSF state. ___ 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 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 http://maillist.caucho.com/mailman/listinfo/resin-interest