Re: [Resin-interest] 4.0.44 release
Hi Mathias, I've uploaded the snapshot to: http://caucho.com/download/snapshot/resin-pro-4.0.s150407-1.x86_64.rpm http://caucho.com/download/snapshot/resin-pro-4.0.s150407.tar.gz -- Nam On 4/7/15 12:14 AM, Mathias Lagerwall wrote: Hi Nam Where can I download this snapshot? Do you have a link for me? We use the Resin Professional version. Best regards Mathias Lagerwall 2015-04-01 21:08 GMT+02:00 Mathias Lagerwall mathias.lagerw...@netset.se mailto:mathias.lagerw...@netset.se: That would be great! Thanks Nam On Apr 1, 2015 21:05, Nam Nguyen n...@caucho.com mailto:n...@caucho.com wrote: Hi Mathias, The 4.0.44 is set to be released in about 1-2 weeks. I can build a snapshot and upload it to caucho.com http://caucho.com by Monday at the latest. -- Nam On 4/1/15 10:00 AM, resin-interest-requ...@caucho.com mailto:resin-interest-requ...@caucho.com wrote: Message: 2 Date: Tue, 31 Mar 2015 21:36:41 +0200 From: Mathias Lagerwallmathias.lagerw...@netset.se mailto:mathias.lagerw...@netset.se Subject: [Resin-interest] 4.0.44 release To: General Discussion for the Resin application server resin-interest@caucho.com mailto:resin-interest@caucho.com Message-ID: calsgmr7sjcjm+8amzdoghf1-dfs2jrbtrmzn_lphxrbu2mw...@mail.gmail.com mailto:calsgmr7sjcjm%2b8amzdoghf1-dfs2jrbtrmzn_lphxrbu2mw...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Thanks Ferg for looking into my 0005865 bug-report. We are in great need of this. Would it be possible to do the 4.0.44 release really soon? Or is it possible to take 4.0.43 and patch it with this specific fix in 4.0.44? Best regards Mathias Lagerwall ___ resin-interest mailing list resin-interest@caucho.com mailto: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] 4.0.44 release
Hi Mathias, The tar.gz and zip are the same. What's missing from the snapshots are the Windows binaries, but you can copy them from your prior versions. Here's a zip download: www.caucho.com/download/snapshot/resin-pro-4.0.s150407.zip -- Nam On 4/7/15 9:25 AM, Mathias Lagerwall wrote: Thanks Nam This installation is running on Windows servers and we usually download the zip-file. Can we use the tar.gz on a 64-bit Windows without problems or do the .tar.gz and the .zip contain different stuff? Best regards Mathias Lagerwall --- CTO - Mathias Lagerwall Netset AB, Adelgatan 9, 211 22 Malmö Tel +46 (0)40 208800 Mobile +46 (0)733 919103 2015-04-07 18:19 GMT+02:00 Nam Nguyen n...@caucho.com mailto:n...@caucho.com: Hi Mathias, I've uploaded the snapshot to: http://caucho.com/download/__snapshot/resin-pro-4.0.__s150407-1.x86_64.rpm http://caucho.com/download/snapshot/resin-pro-4.0.s150407-1.x86_64.rpm http://caucho.com/download/__snapshot/resin-pro-4.0.__s150407.tar.gz http://caucho.com/download/snapshot/resin-pro-4.0.s150407.tar.gz -- Nam On 4/7/15 12:14 AM, Mathias Lagerwall wrote: Hi Nam Where can I download this snapshot? Do you have a link for me? We use the Resin Professional version. Best regards Mathias Lagerwall 2015-04-01 21:08 GMT+02:00 Mathias Lagerwall mathias.lagerw...@netset.se mailto:mathias.lagerw...@netset.se mailto:mathias.lagerwall@__netset.se mailto:mathias.lagerw...@netset.se: That would be great! Thanks Nam On Apr 1, 2015 21:05, Nam Nguyen n...@caucho.com mailto:n...@caucho.com mailto:n...@caucho.com mailto:n...@caucho.com wrote: Hi Mathias, The 4.0.44 is set to be released in about 1-2 weeks. I can build a snapshot and upload it to caucho.com http://caucho.com http://caucho.com by Monday at the latest. -- Nam On 4/1/15 10:00 AM, resin-interest-request@caucho.__com mailto:resin-interest-requ...@caucho.com mailto:resin-interest-__requ...@caucho.com mailto:resin-interest-requ...@caucho.com wrote: Message: 2 Date: Tue, 31 Mar 2015 21:36:41 +0200 From: Mathias Lagerwallmathias.lagerwall@__netset.se mailto:mathias.lagerw...@netset.se mailto:mathias.lagerwall@__netset.se mailto:mathias.lagerw...@netset.se Subject: [Resin-interest] 4.0.44 release To: General Discussion for the Resin application server resin-interest@caucho.com mailto:resin-interest@caucho.com mailto:resin-interest@caucho.__com mailto:resin-interest@caucho.com Message-ID: CALSGmR7SjcjM+8amZdoGHF1-__DFS2JrBtRmzn_LPHxrbU2mWDLA@__mail.gmail.com mailto:calsgmr7sjcjm%2b8amzdoghf1-dfs2jrbtrmzn_lphxrbu2mw...@mail.gmail.com mailto:calsgmr7sjcjm%__2b8amzdoghf1-dfs2jrbtrmzn___lphxrbu2mw...@mail.gmail.com mailto:calsgmr7sjcjm%252b8amzdoghf1-dfs2jrbtrmzn_lphxrbu2mw...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Thanks Ferg for looking into my 0005865 bug-report. We are in great need of this. Would it be possible to do the 4.0.44 release really soon? Or is it possible to take 4.0.43 and patch it with this specific fix in 4.0.44? Best regards Mathias Lagerwall _ resin-interest mailing list resin-interest@caucho.com mailto:resin-interest@caucho.com mailto:resin-interest@caucho.__com mailto:resin-interest@caucho.com http://maillist.caucho.com/__mailman/listinfo/resin-__interest 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] Set Resin webSocket timeout - the default is, too short
Hi Carl, This issue was just fixed for the upcoming 4.0.44 release: async connections close after 5m regardless of WebSocketContext.setTimeout(): http://bugs.caucho.com/view.php?id=5841 -- Nam On 4/1/15 10:00 AM, resin-interest-requ...@caucho.com wrote: Message: 1 Date: Tue, 31 Mar 2015 18:01:51 +0100 From: c.whalleyc.whal...@blueyonder.co.uk Subject: [Resin-interest] Set Resin webSocket timeout - the default is too short To:resin-interest@caucho.com Message-ID:551ad2ff.10...@blueyonder.co.uk Content-Type: text/plain; charset=utf-8; format=flowed Heres the solution for Jetty: http://stackoverflow.com/questions/9056159/websocket-closing-connection-automatically I tried this in resin with no effect public class CustomWebSocketListener extends AbstractWebSocketListener { ... private WebSocketContext socketContext; @Override public void onStart(WebSocketContext socketContext) throws IOException { // called when the connection starts this.socketContext = socketContext; socketContext.setTimeout(1 * 60 * 60 * 1000); ... Whats the resin way please? ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] 4.0.44 release
Hi Mathias, The 4.0.44 is set to be released in about 1-2 weeks. I can build a snapshot and upload it to caucho.com by Monday at the latest. -- Nam On 4/1/15 10:00 AM, resin-interest-requ...@caucho.com wrote: Message: 2 Date: Tue, 31 Mar 2015 21:36:41 +0200 From: Mathias Lagerwallmathias.lagerw...@netset.se Subject: [Resin-interest] 4.0.44 release To: General Discussion for the Resin application server resin-interest@caucho.com Message-ID: calsgmr7sjcjm+8amzdoghf1-dfs2jrbtrmzn_lphxrbu2mw...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Thanks Ferg for looking into my 0005865 bug-report. We are in great need of this. Would it be possible to do the 4.0.44 release really soon? Or is it possible to take 4.0.43 and patch it with this specific fix in 4.0.44? Best regards Mathias Lagerwall ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Hibernate and JPA (was Resin 4 and Java 8)
Thanks for the suggestion, I went ahead and added it for the upcoming 4.0.44 release. -- Nam On 3/26/15 10:00 AM, resin-interest-requ...@caucho.com wrote: It would also be nice if you could put: jvm-classpath${jvm_classpath}/jvm-classpath In the cluster-default.xml file, so that the only change necessary is to the resin.properties file. (*Chris*) ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] [Resin] Resin 4 and Java 8
Message: 2 Date: Tue, 24 Mar 2015 16:40:20 + From: Chris Prattthechrispr...@gmail.com Subject: Re: [Resin-interest] [Resin] Resin 4 and Java 8 To: General Discussion for the Resin application server resin-interest@caucho.com Message-ID: CAALdY0z9yi0VE=Ac1_4U0hD7Ti74zdeEEu8=r3riz_xjxv4...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Yes, I have it working just fine on Java 8. But, I can't seem to get it working with the new JPA 2.1 (from Hibernate 4.3). (*Chris*) Resin works with Java8. Chris, can you elaborate on the issue you are having with JAP 2.1? Thanks, -- Nam ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] [Resin] Locking jar Oracle
Date: Tue, 17 Feb 2015 21:48:28 +0100 From: Maria Elena ringmeiste...@gmail.com Subject: Re: [Resin-interest] [Resin] Locking jar Oracle To: ML Caucho Resin resin-interest@caucho.com Message-ID: CAJ=TY9cp=t46soBEW2sYCc0oQF6o0V+G=mocxnfo-ozh5ax...@mail.gmail.com Content-Type: text/plain; charset=utf-8 On Tue, Feb 17, 2015 at 8:41 PM, Nam Nguyen n...@caucho.com wrote: Date: Tue, 17 Feb 2015 09:59:43 +0100 From: Maria Elena ringmeiste...@gmail.com Subject: [Resin-interest] [Resin] Locking jar Oracle To: ML Caucho Resin resin-interest@caucho.com Message-ID: CAJ=TY9cyNK9K2rB5_1Dtu7nG0c2whmEgOtBP9tfFfGdsJfi u...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Hello, I am using Resin 3.1.9 (too old, I know) and I am experiencing problems with Oracle jars (I am swtiching between Oracle11 and Oracle12). Tomcat has the antiJARlocking attribute; there is something similar in Resin? Thanks and regards. M.E. Hi Maria, It looks like all that Tomcat's antiJARlocking does is make a new copy of the webapps directory on redeploys. Is that the feature you wanted? Resin doesn't have something like that. But you can deploy multiple versions of a webapp, effectively accomplishing the same thing. -- Nam Hi Nam, thanks for your reply! What do you mean with you can deploy multiple versions of a webapp? Hi Maria, I'm not entirely sure of the capabilities of 3.1.9, but I think it supports versioning at least. See: http://www.caucho.com/resin-3.1/doc/webapp-tags.xtp#webappdeploy web-app web-app-deploy ... versioning=true/ Suppose your WAR file is named myapp.war. If you want versioning, then you'll need to have some sort of numbering convention. The following should work: myapp-1.0.war myapp-1.1.0.war myapp-1.1.5.war You should deploy myapp-1.0.war first, not myapp.war. Then upgrade as you see fit. When the sessions for an old version expires, Resin will undeploy the old version. -- Nam ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Help with JPA
Hi Carl, JPA prohibits changing the primary key. So you're right about having to do a copy-and-delete. I'm not too familiar with EclipseLink - what's the exact error you're seeing? Maybe others can chime in. Anyways, I think the easiest and most effective way is to just use plain-ole SQL. -- Nam On 2/18/15 10:00 AM, resin-interest-requ...@caucho.com wrote: Date: Tue, 17 Feb 2015 21:04:47 + From: c.whalleyc.whal...@blueyonder.co.uk Subject: [Resin-interest] Help with JPA To: General Discussion for the Resin application server resin-interest@caucho.com Message-ID:54e3acef.7060...@blueyonder.co.uk Content-Type: text/plain; charset=utf-8; format=flowed Hi, I realise this is not the usual thing but I'm using EclipseLink under Resin so if anyone can help I'd really appreciate it. Basically I want to know a better way to achive something I feel I'm doing via a kludge. I have an entity for which I effectivley want to rename a primary key. I know thats a no-no so my approach is to create the new key, copy the existing fields over then delete the old one. The problem is I can't figure out how to do it in 1 transaction, I get various errors along the lines of my entities not being managed etc. I want to to it in the same transaction to guarantee atomicity. So, the kludge is to clone the key, close and persist the trans, then do another one just for the delete. Sorry for the verbosity. You can see the delete code is in the is nameChanged(...) section. Thanks very much in advance. Here we go: @WebServlet(value=/register, name=register-servlet) public class RegServlet extends HttpServlet { private static final Logger log = Logger.getLogger(RegServlet.class.getName()); private static final long serialVersionUID = 1L; private Properties props; private String s; @PersistenceUnit(unitName=custom) private EntityManagerFactory emf; private EntityManager em; @Inject private UserTransaction ut; ... private void writeUser(User userToPersist) { User userWithSameRegId = null; boolean nameChanged = false; try { ut.begin(); em = emf.createEntityManager(); Query query = em.createQuery(select u from User u where u.name = ?1); query.setParameter(1, userToPersist.getName()); User user = null; try { user = (User) query.getSingleResult(); } catch (NoResultException nrx) { userWithSameRegId = findUserFromRegId(userToPersist.get_Dev_Reg_Id()); if (userWithSameRegId != null) { log.fine(s+RegID Existed as: + userWithSameRegId.getName()); user = new User(); user.setName(userToPersist.getName()); ... nameChanged = true; } else { log.fine(s+New user); user = userToPersist; user.set_Reg_Count(1); } } user.set_Reg_Date(new Date()); em.persist(user); em.flush(); } catch (Exception e) { e.printStackTrace(); } finally { try { ut.commit(); } catch (Exception commitEx) { log.fine(commitEx.toString()); } if (em != null em.isOpen()) { em.close(); } } if (nameChanged) { try { ut.begin(); em = emf.createEntityManager(); Query query = em.createQuery(select u from User u where u.name = ?1); query.setParameter(1, userWithSameRegId.getName()); User user = null; try { user = (User) query.getSingleResult(); em.remove(user); } catch (NoResultException nrx) { } } catch (Exception e) { e.printStackTrace(); } finally { try { ut.commit(); } catch (Exception commitEx) { log.fine(commitEx.toString()); } if (em != null em.isOpen()) { em.close(); } } } } ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] [Resin] Locking jar Oracle
Date: Tue, 17 Feb 2015 09:59:43 +0100 From: Maria Elena ringmeiste...@gmail.com Subject: [Resin-interest] [Resin] Locking jar Oracle To: ML Caucho Resin resin-interest@caucho.com Message-ID: CAJ=ty9cynk9k2rb5_1dtu7ng0c2whmegotbp9tfffgdsjfi...@mail.gmail.com Content-Type: text/plain; charset=utf-8 Hello, I am using Resin 3.1.9 (too old, I know) and I am experiencing problems with Oracle jars (I am swtiching between Oracle11 and Oracle12). Tomcat has the antiJARlocking attribute; there is something similar in Resin? Thanks and regards. M.E. Hi Maria, It looks like all that Tomcat's antiJARlocking does is make a new copy of the webapps directory on redeploys. Is that the feature you wanted? Resin doesn't have something like that. But you can deploy multiple versions of a webapp, effectively accomplishing the same thing. -- Nam ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] https libcurl support in Quercus?
Message: 1 Date: Thu, 22 Jan 2015 11:09:24 -0800 From: Rick Mann rm...@latencyzero.com Subject: Re: [Resin-interest] resin-interest Digest, Vol 101, Issue 1 To: General Discussion for the Resin application server resin-interest@caucho.com Message-ID: 5d0f03b8-db84-4fa2-8214-f3fdc1b6b...@latencyzero.com Content-Type: text/plain; charset=us-ascii I thought Wordpress was a sort of flagship app you guys intended to support. Hi Rick, We're moving away from apps because: 1. it's a neverending battle 2. there's no monetary benefit in it for us -- Nam Sent from my iPhone ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] resin-interest Digest, Vol 101, Issue 1
Message: 1 Date: Tue, 20 Jan 2015 12:11:09 -0800 From: Rick Mann rm...@latencyzero.com Subject: [Resin-interest] https libcurl support in Quercus? To: General Discussion for the Resin application server resin-interest@caucho.com Message-ID: bb27f58e-5d66-422e-be5f-7545303c9...@latencyzero.com Content-Type: text/plain; charset=us-ascii What's the status of this problem in Resin's PHP support these days? http://bugs.caucho.com/view.php?id=5649 http://bugs.caucho.com/view.php?id=5634 The last report is '10065' is CURLOPT_CAINFO and I just stubbed it out because Quercus currently does not support non-JVM certificates. Root issue: I think this is a pretty serious weakness in terms of supporting WordPress. Hi Rick, We do not plan on updating libcurl, so there will be issues with Wordpress going forward. -- Nam ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] PHP iconv?
Hi Rick, It's a CURL SSL client certificate problem. But because Quercus is using JSSE for the SSL, we cannot support CURL's way for specifying SSL certificates. We do want to replace JSSE with Apache HttpClient. But since Quercus is 100% Caucho code, the question then becomes: how do we want to bundle third-party code. I have filed a bug report and expect to have this issue resolved quickly: http://bugs.caucho.com/view.php?id=5634 -- Nam On 1/16/14, 10:00 AM, resin-interest-requ...@caucho.com wrote: Send resin-interest mailing list submissions to resin-interest@caucho.com To subscribe or unsubscribe via the World Wide Web, visit http://maillist.caucho.com/mailman/listinfo/resin-interest or, via email, send a message with subject or body 'help' to resin-interest-requ...@caucho.com You can reach the person managing the list at resin-interest-ow...@caucho.com When replying, please edit your Subject line so it is more specific than Re: Contents of resin-interest digest... Today's Topics: 1. PHP iconv? (Rick Mann) -- Message: 1 Date: Wed, 15 Jan 2014 22:18:06 -0800 From: Rick Mann rm...@latencyzero.com Subject: [Resin-interest] PHP iconv? To: General Discussion for the Resin application server resin-interest@caucho.com Message-ID: 20a4f04a-541b-4b55-9be6-7cdd714c6...@latencyzero.com Content-Type: text/plain; charset=us-ascii I just updated my WordPress 2.9.2 installation to 3.8. After some difficulty (auto upgrade didn't work), it's mostly working, but I'm getting some errors. One is this: wp-includes/class-http.php:1163: Warning: CURL option '10065' unknown or unimplemented RSS Error: The data could not be converted to UTF-8. You MUST have either the iconv or mbstring extension installed. Upgrading to PHP 5.x (which includes iconv) is highly recommended. I have resin 4.0.37. Is this really a PHP problem, or my CURL? Thanks, ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] Quercus and phpbb3
Message: 1 Date: Sun, 18 Aug 2013 18:07:42 +0200 From: Cristiano Nuzzo crist...@nuzzosono.com Subject: [Resin-interest] Quercus and phpbb3 To: resin-interest@caucho.com Message-ID: 143d9bca-6d16-4e17-886b-49d36726f...@nuzzosono.com Content-Type: text/plain; charset=us-ascii Hi everybody, I'm having an issue with phpbb3 and Quercus. The installation went fine but now I have a strange error related to bbcode.php [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: com.caucho.quercus.lib.regexp.IllegalRegexpException: Delimiter A in regexp 'Array' must not be backslash or alphanumeric. The line 112 of bbcode.php is: $message = preg_replace($preg['search'], $preg['replace'], $message); I'm not a coder and I'm not able to fix this (editing bbcode.php or the configuration in quercus) Is there someone that can help me? Thanks in advance. Hi Cristiano, What version of Quercus and phpBB3 are you using? And how can I reproduce this error? Thanks, -- Nam === Nam Nguyen, Software Engineer Caucho Technology n...@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
Re: [Resin-interest] resin-interest Digest, Vol 86, Issue 2
Message: 1 Date: Sun, 18 Aug 2013 18:07:42 +0200 From: Cristiano Nuzzo crist...@nuzzosono.com Subject: [Resin-interest] Quercus and phpbb3 To: resin-interest@caucho.com Message-ID: 143d9bca-6d16-4e17-886b-49d36726f...@nuzzosono.com Content-Type: text/plain; charset=us-ascii Hi everybody, I'm having an issue with phpbb3 and Quercus. The installation went fine but now I have a strange error related to bbcode.php [phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: com.caucho.quercus.lib.regexp.IllegalRegexpException: Delimiter A in regexp 'Array' must not be backslash or alphanumeric. The line 112 of bbcode.php is: $message = preg_replace($preg['search'], $preg['replace'], $message); I'm not a coder and I'm not able to fix this (editing bbcode.php or the configuration in quercus) Is there someone that can help me? Thanks in advance. Hi again Cristiano, I haven't been able to reproduce this exact error, but I've verified that the upcoming 4.0.37 release fixes issues with bbcodes. -- Nam === Nam Nguyen, Software Engineer Caucho Technology n...@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
Re: [Resin-interest] already a root application context present
Message: 2 Date: Wed, 10 Jul 2013 11:55:30 +0300 From: Vitaliy Berdinskikh UR6LAD ur6...@i.ua Subject: Re: [Resin-interest] already a root application context present To: General Discussion for the Resin application server resin-interest@caucho.com Message-ID: e1uwqbo-00087g...@web09.mi6.kiev.ua Content-Type: text/plain; charset=utf-8 Hi Scott, I can't manage the maillist subscription: * the link http://maillist.caucho.com/mailman/listinfo/resin-interest is not available Hi Vitaliy, The site should be back up. Sorry about that. * the mailbox resin-interest-requ...@caucho.com is not abailable too, I've received next message from Google mail server: I'll look into this later. Thanks, -- Nam === Nam Nguyen, Software Engineer Caucho Technology n...@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