Re: [Resin-interest] SSL, mod_caucho for Apache 2.2

2007-04-06 Thread Jay Ballinger
We're using SSL (via JSSE) on Resin 3.1 just fine. + jay On 4/5/07, Jean-Francois Lamy [EMAIL PROTECTED] wrote: 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.

Re: [Resin-interest] Resin 2.x, mod_caucho and Apache 2.2

2007-04-08 Thread Ding Deng
okrische [EMAIL PROTECTED] writes: Hello, i just wonder, if there is any plan to fix mod_caucho for Apache 2.2.x? I guess not, there is no snapshot of Resin 2.x on caucho.com anymore. Mh. Or is anyone owner of a patch which helps me compiling mod_caucho for Apache 2.2.x? More details? It

[Resin-interest] PHP LDAP functions for Quercus

2007-04-11 Thread Nick Barkas
Hello I wrote a small library that implements (some) of PHP 5's LDAP functions for Quercus, since I didn't see any of these functions in Quercus 3.1. I have not implemented all of the functions listed at http://www.php.net/ldap, just a few I needed for doing authentication. The functions I

Re: [Resin-interest] RV: Problem reading MyFaces jar

2007-04-12 Thread Pablo Saavedra
Have you added this listener listener listener-classorg.apache.myfaces.webapp.StartupServletContextListener /listener-class /listener to your web.xml? Regards, Pablo. On 11/04/07, RICARD MORE FARRES [EMAIL PROTECTED] wrote: Hello again, Anyone can help us? Do someone knows if there

Re: [Resin-interest] Resin 3.0.x, 64bit CPU and Linux

2007-04-17 Thread Gary Zhu
The ONLY catch is to make sure you have 64bit enabled JVM and configure your resin to be 64 bit enabled. For resin configure, I simply edit resin_home/configure file to make sure it picks up 64bit. It's faster than reporting a resin bug saying 64bit was NOT enabled on certain platforms -- by

[Resin-interest] Quercus Sessions?

2007-04-18 Thread Gregory Stewart
I noticed some funky session behaviour in Quercus. It usually happens when we add new java code without taking the site down, or restarting Quercus/Resin manually. It never happens when we add new php files, but then again they are not being compiled. When the problem occurs, it appears that some

Re: [Resin-interest] CentOS 5 mod_caucho compile issue

2007-04-18 Thread Chris Jones
Ding Deng wrote: On 4/17/07, Chris Jones [EMAIL PROTECTED] wrote: Hey all, I have run into some issues compiling mod_caucho from resin 2.1.17 on CentOS 5. I have managed to get rid of an issue where the compiler was reporting missing apr header files. I modified the Makefile to include

Re: [Resin-interest] mod_caucho, Solaris 10, Apache 2.2.4 problem

2007-04-18 Thread Scott Ferguson
On Apr 18, 2007, at 2:42 PM, Mica Cooper wrote: I also did a fresh install of the latest Apache and was unable to get the proxy to work. I posted here to the list but no one responded. This was last Thursday with 2.2.4 and Windows. Windows should be an entirely different issue, because

[Resin-interest] httpd.sh stop

2007-04-18 Thread Martin Crundall
when httpd.sh stop is executed (resin 3.0.19) does resin finish dealing with all pending requests before shutting down? thanks, martin ___ resin-interest mailing list resin-interest@caucho.com

[Resin-interest] free bsd 6.2 and resin 3.0.3 critical problem

2007-04-19 Thread Виталий Кулешов
Hi Scott, hi all!! I have big critical problem with free-bsd 6.2 and resin 3.0.3 resin crashed with the next log records in the jvm.log Fatal error 'Recurse on a private mutex.' at line 986 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 2) Fatal error

Re: [Resin-interest] Running two resin instances in different IPs

2007-04-19 Thread Akila Amarathunga
Hi, I think it cos of the service... try to run resin-pro-3.1.snap with diff name or something like that.. haven't try it by myself but better to give a try.. Thanks, Akila On Tue, 2007-04-17 at 16:46 +0530, Anitha wrote: Hello, I am trying to run two resin servers; resin-pro 3.1.0 and

Re: [Resin-interest] Running two resin instances in different IPs

2007-04-20 Thread Sam
Date: Fri, Apr 20, 2007 at 10:07:40AM +0530 Subject: Re: [Resin-interest] Running two resin instances in different IPs Hi, I think it cos of the service... try to run resin-pro-3.1.snap with diff name or something like that.. haven't try it by myself but better to give a try.. I am

[Resin-interest] R: [Fwd: httpd.sh stop]

2007-04-21 Thread Andrea Sodomaco
The answer is no. I simply did a test. The following jsp does not complete the request if resin is stoped. beginbr % Thread.sleep(60L*1000L); % end Andrea Sodomaco Andrea Sodomaco Consulenze Informatiche Via Giacometti, 4 - 34146 TRIESTE Tel.: 040 281648 / 338 3565702 - Fax: 040

[Resin-interest] jaxb1-impl.jar - version.properties

2007-04-22 Thread Jan Kriesten
hi, i've a problem with the application 'jtrac' (http://jtrac.info) and resin-pro-3.1.s070402: jtrac tries to load a file 'version.properties' from WEB-INF/classes - but resin resolves this to the version.properties which resides in the jaxb1-impl.jar. removing the version.properties from the

Re: [Resin-interest] R: [Fwd: httpd.sh stop]

2007-04-23 Thread Busch, Steffen
There is also a configuration directive, how long resin will wait for requests to finish: http://www.caucho.com/resin-3.0/config/webapp.xtp#shutdown-wait-max http://www.caucho.com/resin-3.0/config/webapp.xtp#shutdown-wait-max -Ursprüngliche Nachricht- Von: Andrea Sodomaco

[Resin-interest] R: R: [Fwd: httpd.sh stop]

2007-04-23 Thread Andrea Sodomaco
Using the shutdown-wait-max directive, things change. Whit this line shutdown-wait-max120/shutdown-wait-max in web.xml the request is completed also after resin is stoped. Andrea Sodomaco Andrea Sodomaco Consulenze Informatiche Via Giacometti, 4 - 34146 TRIESTE Tel.: 040 281648 /

Re: [Resin-interest] java.lang.NoClassDefFoundError: com/caucho/make/PersistentDependency

2007-04-23 Thread Kai Virkki
Hi, I've experienced the same errors. If I remember correctly, you can get rid of this error by deleting the Resin work directory. cheers, Kai 2007/4/18, John Steel [EMAIL PROTECTED]: Getting this when jsps are recompiled using 3.1, with 3.0.23 they were ok. After the error the webapps

[Resin-interest] What happens if you *don't* call super.init(...)?

2007-04-24 Thread John Steel
Just found (and corrected) a probable howler in a pretty busy servlet: public void init(ServletConfig config) throws ServletException { super.init(config); sc = config.getServletContext(); try { env = (Context) new InitialContext().lookup(java:comp/env); pool =

Re: [Resin-interest] Resin can't run as different user?

2007-04-25 Thread Nick Johnson
I've been Googling all morning, but there's a huge amount of noise relative to signal. I'll go look for Scott's message in particular. On Wed, 25 Apr 2007, Kuntz, Tim wrote: Nick, Did you search the archives for user and groups? There have been a number of posts about that issue in the

Re: [Resin-interest] Resin can't run as different user?

2007-04-25 Thread Scott Ferguson
On Apr 25, 2007, at 11:28 AM, Nick Johnson wrote: I've been Googling all morning, but there's a huge amount of noise relative to signal. Which version of Resin is this with? You might want to check with the new snapshot as well. We've made some changes to the classloading of the boot

Re: [Resin-interest] Resin can't run as different user?

2007-04-25 Thread Gary Zhu
Quick question below: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Scott Ferguson Sent: Wednesday, April 25, 2007 11:35 AM To: General Discussion for the Resin application server Subject: Re: [Resin-interest] Resin can't run as different user?

Re: [Resin-interest] Resin can't run as different user?

2007-04-25 Thread Scott Ferguson
On Apr 25, 2007, at 4:03 PM, Gary Zhu wrote: In general, does the snapshot version always represent(or close to) the upcoming release ? It's a build based on our current development tree. So it's the most up-to-date version we have. More specifically, can I assume I can get some of

[Resin-interest] Jmx in Resin 3.0.23 with JRockit R27.2.0

2007-04-26 Thread Sandro Gattuso
Hi, I've tried to use Jmx in Resin 3.0.23 with JRockit-R27.2.0-jdk1.6.0 but I've this stacktrace on console javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class com.caucho.jmx.MBeanServerBuilderImpl: java .lang.ClassNotFoundException:

[Resin-interest] R: What happens if you *don't* call super.init(...)?

2007-04-26 Thread Andrea Sodomaco
super.init(config) calls init(config) in javax.servlet.GenericServlet public void init(ServletConfig config) throws ServletException { _config = config; log(init); init(); } If the call is missing, methods like getInitParameter, getServletName, etc. do not work as well as

Re: [Resin-interest] Different jvm.log files?

2007-04-26 Thread Michael Ebeling
Can I configure Resin to send JVM outputs to another filename then jvm.log? The reason is that I would like to run several Resin servers on the same machine and therefore I want to configure each resin to do a garbage collection verbose to different jvm.log files. We are running Resin 3.0.22 on

Re: [Resin-interest] Jmx in Resin 3.0.23 with JRockit R27.2.0

2007-04-27 Thread Scott Ferguson
On Apr 26, 2007, at 3:21 AM, Sandro Gattuso wrote: Hi, I've tried to use Jmx in Resin 3.0.23 with JRockit-R27.2.0-jdk1.6.0 but I've this stacktrace on console You might need to check the classpath that JRockit is starting with. It looks like JRockit isn't including the resin.jar when

[Resin-interest] Enforcing JSP 2.0

2007-04-27 Thread Hynek Schlawack
Hi, due to incompatibilities with 3rd party products (in this case: Stripes) I'd like to force Resin 3.1 Pro to use JSP 2.0 instead of 2.1...is this possible somehow? TIA, -hs ___ resin-interest mailing list resin-interest@caucho.com

Re: [Resin-interest] Different jvm.log files?

2007-04-27 Thread Daniel Bjuhr
The -jvm-log parameter is not supported on the Windows platform. Does anyone know why? /Daniel Bjuhr Med vänlig hälsning, Daniel Bjuhr Crossnet AB Phone: +46-8-50 30 45 00 Support: +46-8-50 30 45 45 Fax: +46-8-50 30 45 01 www.crossnet.net Heliosgatan 26 · 120 30 · Stockholm -Original

[Resin-interest] java.lang.UnsupportedClassVersionError

2007-04-28 Thread Brucepayne
Using j2sdk1.4.2_10 with Resin 3.0.21 Pro, I get the following error when starting Resin: com.caucho.config.LineConfigException: WEB-INF/resin-web.xml:23: java.lang.UnsupportedClassVersionError: com/caucho/quercus/servlet/ QuercusServlet (Unsupported major.minor version 49.0) How can Fix this

Re: [Resin-interest] Jmx in Resin 3.0.23 with JRockit R27.2.0

2007-04-30 Thread Sandro Gattuso
I check the classpath, it's ok. I've found this post on bea forum http://forums.bea.com/bea/message.jspa?messageID=46599tstart=0, the problem is a bug of R27.2 it will fix in the next realese. Thanks for help. Sandro Scott Ferguson ha scritto: On Apr 26, 2007, at 3:21 AM, Sandro

[Resin-interest] JAAS and ActiveDirectory [not resin related]

2007-05-01 Thread cilquirm
Hi, One of the requirements of my application is to be able to have management of users and roles from within Active Directory. I was wondering if people who have had experience doing this could shed some light on potential software options ( both commercial and open-source. ) I know that

[Resin-interest] LDAPAuthenticator with ActiveDirectory

2007-05-02 Thread cilquirm
Does anyone have any experience using Caucho's LDAPAuthenticator with ActiveDirectory? Still continuing on my quest to investigate possible ActiveDirectory authentication options. Any help would be appreciated. Thanks, -a -- View this message in context:

Re: [Resin-interest] LDAPAuthenticator with ActiveDirectory

2007-05-03 Thread Riccardo Cohen
Hi I'm also interested in LDAP authentification, our new customer is a big organization, and they want our application to use LDAP services for authentification. I must say that I know very few about this. I could not find any class in resin's doc about LDAP, but found a page here from Ferg :

Re: [Resin-interest] LDAPAuthenticator with ActiveDirectory

2007-05-03 Thread Bill Au
I ended up writing my own authenticator extending Caucho's AbstractAuthenticator because I need to use ldaps and need some custom functionality. Things should work if the default PROVIDER_URL is good for you (ie ldap://localhost:389). Bill On 5/3/07, Riccardo Cohen [EMAIL PROTECTED] wrote: Hi

Re: [Resin-interest] LDAPAuthenticator with ActiveDirectory

2007-05-03 Thread Bill Au
There are many tutorials/examples on the web. This one covers both security and searches: http://java.sun.com/products/jndi/tutorial/ldap/ Bill On 5/3/07, Riccardo Cohen [EMAIL PROTECTED] wrote: All right, but if I want to write my own one, I need to know ldap protocole :)... where do you

Re: [Resin-interest] LDAPAuthenticator with ActiveDirectory

2007-05-03 Thread Riccardo Cohen
Thanks a lot. I think I'll first try http://www.openldap.org/jldap/ :) Bill Au wrote: There are many tutorials/examples on the web. This one covers both security and searches: http://java.sun.com/products/jndi/tutorial/ldap/ Bill On 5/3/07, *Riccardo Cohen* [EMAIL PROTECTED]

[Resin-interest] XML View Question

2007-05-03 Thread Aaron Freeman
We have a controller JSP that looks like this: Begin Controller %@ taglib uri=http://java.sun.com/jsp/jstl/core; prefix=c % %@ taglib uri=http://java.sun.com/jsp/jstl/functions; prefix=fn % c:catch var=exception ... do some logic /c:catch c:choose c:when

Re: [Resin-interest] LDAPAuthenticator with ActiveDirectory

2007-05-03 Thread Sam
I'm also interested in LDAP authentification, our new customer is a big organization, and they want our application to use LDAP services for authentification. I must say that I know very few about this. I could not find any class in resin's doc about LDAP Resin includes a class

Re: [Resin-interest] LDAPAuthenticator with ActiveDirectory

2007-05-03 Thread Sam
Date: Thu, May 03, 2007 at 07:28:55PM +0200 Subject: Re: [Resin-interest] LDAPAuthenticator with ActiveDirectory thanks that's great, and we may use it for a 3,1 server. Now we are in 3,0,18, so I'll look at openldap The LdapAuthenticator has been available since version 3.0.19. -- Sam

Re: [Resin-interest] java.lang.UnsupportedClassVersionError

2007-05-05 Thread Brucepayne
thank u for your valuable information Rob Lockstone wrote: On Apr 28, 2007, at 11:53 AM, Brucepayne wrote: Using j2sdk1.4.2_10 with Resin 3.0.21 Pro, I get the following error when starting Resin: com.caucho.config.LineConfigException: WEB-INF/resin-web.xml:23:

[Resin-interest] Quercus: constants and Qcodo

2007-05-06 Thread Yong Bakos
Hi, I'm trying to get Qcodo to work under Resin.Quercus. I've done some simple php tests and things look good. I've installed the mysql driver in common/lib. I've created a webapp directory qcodo, and placed qcodo there. I've created a WEB-INF/web.xml with the usual php mapping. Alas, it no

[Resin-interest] Resin 3.1.1 is available

2007-05-08 Thread Scott Ferguson
We've released Resin 3.1.1 The release notes are at http://caucho.com/resin-3.1/changes/ resin-3.1.1.xtp. Amber: JPA is ready to use and is nearly complete. The main missing functionality is extended transactions. But unless you're actually using those, the other functionality is

Re: [Resin-interest] XML View Question

2007-05-08 Thread Aaron Freeman
Can anybody provide me with any links/hints on this? Thanks, Aaron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Freeman Sent: Thursday, May 03, 2007 10:59 AM To: resin-interest@caucho.com Subject: [Resin-interest] XML View Question

Re: [Resin-interest] XML View Question

2007-05-08 Thread Scott Ferguson
On May 8, 2007, at 9:51 AM, Aaron Freeman wrote: Can anybody provide me with any links/hints on this? JSP 2.1 has a trimDirectiveWhitespace option for the %@ page % tag. That would be the cleanest way to remove the extra whitespace. -- Scott Thanks, Aaron -Original Message-

[Resin-interest] Moving from Tomcat, getting No forwarding URI for form

2007-05-08 Thread Pat Farrell
I had a set of pages working perfectly with Tomcat, and am trying to move them to Resin. My /j_security_check servlet seems to be blowing up with the following response javax.servlet.ServletException: No forwarding URI for form authentication. Either the login form must specify j_uri or the

Re: [Resin-interest] Moving from Tomcat, getting No forwarding URI for form

2007-05-08 Thread Josh Rehman
Hey Pat, I'd stick with Tomcat. Resin has some excellent features that can't be found anywhere else (full EJB 2.0 and PHP support for one, and remarkably easy to use configuration files), but Tomcat is now a de facto standard and extremely well supported by an enormous community. I would wager

[Resin-interest] Remote Address Filter

2007-05-09 Thread koyama
Hello. I want to use Remote Address Filter in Resin 3.0. (which just like Tomcat RemoteAddrValve) How can I filering remote address ? ___ resin-interest mailing list resin-interest@caucho.com

Re: [Resin-interest] XML View Question

2007-05-10 Thread Aaron Freeman
Thank you Scott and Bill -- this is just the solution I was looking for. Aaron -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Au Sent: Wednesday, May 09, 2007 11:46 PM To: General Discussion for the Resin application server Subject: Re:

Re: [Resin-interest] Authenticator Tag in web.xml for Resin 3.0

2007-05-11 Thread Kumar66
Hello Everyone, I am also running into the same problem with Resin 3.0. Is there is a fix or workaround for this problem ? Thanks in advance. -Kumar Karthik_rcs wrote: HellO Team, We have some issues while migrating from 2 to 3 of resin. login-config

Re: [Resin-interest] debugging quercus

2007-05-11 Thread Nam
Hi Yong, I like to place resin_var_dump() at various points in the program as checkpoints. It is like var_dump() but it will print to standard out instead. It sounds primitive but it is really effective. Nevertheless, we are looking into having IDE debugging integration in the future.

Re: [Resin-interest] debugging quercus

2007-05-13 Thread Yong Bakos
Thanks for the reply; I'll see how far I get w/ resin_var_dump(). BTW I wasn't necessarily interested in IDE debugging... but was surprised to get to just a blank screen w/ no exceptions or errors thrown. Will contribute what I can to the bug tracker. Thanks, yong On May 11, 2007, at 7:05

Re: [Resin-interest] run resin 3.1 pro with java 1.4?

2007-05-15 Thread MORAWETZ Martin
Hi, Is it possible to run resin 3.1 pro with java 1.4? I'm evaluating resin 3.1.0 pro and get: Exception in thread main java.lang.UnsupportedClassVersionError: com/caucho/boot/ResinBoot (Unsupported major.minor version 49.0) at resin startup (Resin starts without any problem with java

[Resin-interest] Resin is unable to find a valid licence

2007-05-15 Thread MORAWETZ Martin
Hi, I'm evaluating Resin Professional. At startup I get following error message: com.caucho.config.ConfigException: Resin Professional has not found any valid licenses. Licenses belong in /opt/resin-pro-3.0.23/licenses. The (evaluation-)license is in

Re: [Resin-interest] run resin 3.1 pro with java 1.4?

2007-05-15 Thread MORAWETZ Martin
OK, I already found the answer, as the stderr.log shows the licence expired. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von MORAWETZ Martin Gesendet: Dienstag, 15. Mai 2007 16:52 An: resin-interest@caucho.com

Re: [Resin-interest] run resin 3.1 pro with java 1.4?

2007-05-15 Thread Mattias Jiderhamn
According to the docs, 3.1 requires JDK 1.5 or later (see for example http://www.caucho.com/resin-3.1/doc/starting.xtp) OK, I already found the answer, as the stderr.log shows the licence expired. -Ursprüngliche Nachricht- *Von:* [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Resin-interest] Resin is unable to find a valid licence

2007-05-15 Thread Mattias Jiderhamn
Hi, I'm evaluating Resin Professional. At startup I get following error message: com.caucho.config.ConfigException: Resin Professional has not found any valid licenses. Licenses belong in /opt/resin-pro-3.0.23/licenses. The (evaluation-)license is in

Re: [Resin-interest] Authenticator Tag in web.xml for Resin 3.0

2007-05-15 Thread Scott Ferguson
On May 11, 2007, at 3:30 PM, Kumar66 wrote: Hello Everyone, I am also running into the same problem with Resin 3.0. Is there is a fix or workaround for this problem ? Can you try pulling the authenticator out of the login-config? Also, try using: authenticator

Re: [Resin-interest] run resin 3.1 pro with java 1.4?

2007-05-15 Thread Eric Kreiser
If you are testing and evaluating a new middleware server... why wouldn't you also want to take advantage of the great new advancements and features in the newer JDK's? MORAWETZ Martin wrote: Hi, Is it possible to run resin 3.1 pro with java 1.4? I'm evaluating resin 3.1.0 pro

Re: [Resin-interest] run resin 3.1 pro with java 1.4?

2007-05-15 Thread MORAWETZ Martin
Good question (and an obvious one). We will, but not right now. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Eric Kreiser Gesendet: Dienstag, 15. Mai 2007 20:31 An: General Discussion for the Resin application

[Resin-interest] Restricting Cipher Suites

2007-05-15 Thread Kuntz, Tim
All, I'm currently using JSSE vs. OpenSSL for my SSL configuration. I now need to restrict the ciphers so use of the weaker ciphers are not allowed; for instance, anything 128-bit. The JSSE documentation says that the following system property can be used to set the enabled ciphers, assuming

[Resin-interest] 3.1.1: webapp directory cannot be the same as host root directory?

2007-05-16 Thread Andy Duplain
Hi, I am using virtual hosting to host 2 sites via resin 3. Each host is configured something like this: host id=localhost root-directoryE:/path/to/dir/root-directory web-app id=/ root-directory=E:/path/to/dir/ /host This works fine in Resin 3.1.0, but in 3.1.1 I am getting a complaint that

[Resin-interest] Resin jvm-arg values not working

2007-05-16 Thread Whate3v3r
I am running Resin 3.1.0 on a Windows server and I have tried to increase my JVM values both in the resin.conf file, lt;jvm-arggt;-Xmx128mlt;/jvm-arggt;- and in the command line arguments when installing Resin as a service. (httpd -install -Xmx128m). In both cases, I just tried to

Re: [Resin-interest] 3.1.1: webapp directory cannot be the same as hostroot directory?

2007-05-16 Thread Liao Xuefeng
i use: host id=localhost root-directory=. web-app id=/ root-directory=E:/path/to/dir/ /host and Resin 3.1.1 works. Yours sincerely. Liao Xuefeng Email: [EMAIL PROTECTED] Website: http://www.javaeedev.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [Resin-interest] 3.1.1: webapp directory cannot be the same as hostroot directory?

2007-05-16 Thread Andy Duplain
On Wed, May 16, 2007 at 11:02:44PM +0800, Liao Xuefeng wrote: i use: host id=localhost root-directory=. web-app id=/ root-directory=E:/path/to/dir/ /host and Resin 3.1.1 works. Not sure that would work - the idea being that the root directories for both hosts are outside of

Re: [Resin-interest] Resin jvm-arg values not working

2007-05-17 Thread Whate3v3r
Whate3v3r wrote: I am running Resin 3.1.0 on a Windows server and I have tried to increase my JVM values both in the resin.conf file, lt;jvm-arggt;-Xmx128mlt;/jvm-arggt;- and in the command line arguments when installing Resin as a service. (httpd -install -Xmx128m). In both

[Resin-interest] HELP, PLEASE... Why does Resin always call getLastModified for each JSP file?

2007-05-17 Thread peter/pasto
Every time resin (3.1) 'renders' a JSP file, it calls getLastModified on that file. Is it possible to turn it off? This check takes about 30% of the processing time, when there are a lot of jsp:include tags on the page. I've tried to change dependency-check-interval, but with no luck...

Re: [Resin-interest] HELP, PLEASE... Why does Resin always call getLastModified for each JSP file?

2007-05-17 Thread peter/pasto
I 'fixed' it by adding these couple of lines to Page.java - pageservice method: long lastModified; if ((_lastModified = 0) || (now _lastUpdateCheck + _updateInterval)) { lastModified = getLastModified(req); } else { lastModified = _lastModified; } instead of:

Re: [Resin-interest] 304 status

2007-05-17 Thread Serge Knystautas
Jean-François, This is the best write-up I've seen on how browsers and proxy servers cache: http://www.mnot.net/cache_docs/ Then once you know what you want in headers, this page is a good discussion of the various browser and server-side caching features in Resin 3.1:

Re: [Resin-interest] 304 status

2007-05-17 Thread Scott Ferguson
On May 17, 2007, at 10:02 AM, Jean-Francois Lamy wrote: I am trying to understand how resin, apache and proxies interact with respect to caching. I have a jsp page which is meant to be always dynamic; headers are used to prevent it from being cached. However, the page loads js, css, and

Re: [Resin-interest] cant stop Resin/3.1.1

2007-05-21 Thread atomi
please disregard. I realized I hadn't started Resin using 'httpd.sh start' On 5/20/07, atomi [EMAIL PROTECTED] wrote: Heres the error: Resin/3.1.1 can't stop -server ''. java.lang.IllegalStateException: Can't connect to ResinWatchdogManager. java.net.ConnectException:

[Resin-interest] Quercus and gallery 2.1

2007-05-21 Thread Alex Sharaz
Anyone running gallery2.1 successfully with resin-pro-3.1.1 I had gallery 2.1 running successfully on a pre 3.1.1 release of 3.1. Having upgraded to 3..1 I now get loads of usr/web/databases/webapps/gallery2/modules/core/classes/Gallery.class:60 7: Warning: Assertion !empty($key)

[Resin-interest] resin-cluster-nodes write to same logfile

2007-05-21 Thread MORAWETZ Martin
Hallo list, Out of curiosity, are there any drawbacks of having all resin-cluster-nodes write to the same stdout-logfile? Regards Martin Diese E-Mail sowie jeglicher Anhang sind vertraulich und ausschließlich für den/die bezeichneten Adressaten bestimmt. Diese Mitteilung kann rechtlich

Re: [Resin-interest] Quercus and gallery 2.1

2007-05-21 Thread Sam
Anyone running gallery2.1 successfully with resin-pro-3.1.1 I had gallery 2.1 running successfully on a pre 3.1.1 release of 3.1. Having upgraded to 3..1 I now get loads of usr/web/databases/webapps/gallery2/modules/core/classes/Gallery.class:60 7: Warning: Assertion !empty($key) failed

[Resin-interest] Connection Reset message

2007-05-21 Thread Keith Fetterman
I am experiencing a problem displaying pages from our Website on Windows XP computers running Symantec's Norton Internet Security 2007 (NIS 2007.) Frequently, I will get a Connection Reset message in Firefox 2 and Page cannot be displayed message in Internet Explorer 7 when I am browsing our

Re: [Resin-interest] Quercus and gallery 2.1

2007-05-22 Thread Alex Sharaz
Hi, Well, it doesn't work with the latest bersion of gallery either. Anything i can do to help track it down let me know Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sam Sent: 21 May 2007 18:22 To: General Discussion for the Resin application

Re: [Resin-interest] 304 status

2007-05-22 Thread Scott Ferguson
On May 18, 2007, at 5:02 AM, Alex Sharaz wrote: Other times I get the 304 status code. We've got random occurrences where setting a browser to auto detect proxy settings doesn't work and i'm wondering if these occurrences could coincide with the 304 status codes I can see in the logs.

Re: [Resin-interest] 304 status

2007-05-22 Thread Alex Sharaz
Sorry didn't phrase that properly. If a client makes a request for wpad.dat, is there any way of always returning a copy of the file instead of an http status 304 message? Alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ferguson Sent: 22 May

Re: [Resin-interest] 304 status

2007-05-22 Thread Alex Sharaz
o.k. fair enough doesn't matter then many thanks alex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Ferguson Sent: 22 May 2007 17:11 To: General Discussion for the Resin application server Subject: Re: [Resin-interest] 304 status On May 22,

[Resin-interest] request: for openads comp on quercus

2007-05-22 Thread atomi
Hi, Just wanted to respectfully request compatibility assurance for openads. I'm having trouble getting through the database tables creations phase of the install and I'm not getting any error messages. Since it's a popular ad server I thought I'd just put that out there. thanks, atomi

Re: [Resin-interest] request: for openads comp on quercus

2007-05-22 Thread Scott Ferguson
On May 22, 2007, at 11:33 AM, atomi wrote: Hi, Just wanted to respectfully request compatibility assurance for openads. Thanks. I've just added a bug report: http://bugs.caucho.com/ view.php?id=1753 -- Scott I'm having trouble getting through the database tables creations phase of

[Resin-interest] work-dir and temp-dir does not work?

2007-05-23 Thread Corobitsyn Roman
Hello resin-interest, I would like to set up virtual host with specified work- and temp-dir Resin Pro 3.1.0 (with trial license) SuSE Linux linux 2.6.13-15-default java version 1.5.0_06 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build

[Resin-interest] Registering Resin pro server as windows service

2007-05-23 Thread Achuta Rao Iruku
I am trying to register resin pro as windows service with below statement resin-pro-3.1.0\httpd -install -conf D:\casemanagement\resin-pro-3.1.0\conf\resin.conf -resin-home D:\casemanagement\resin-pro-3.1.0 -stdout d:\casemanagement\resin-pro-3.1.0\logs\stdout.log -stderr

[Resin-interest] Wild card SSL Certs

2007-05-23 Thread Vinny
Hello All, My company has moved to wildcard certificates and I've been asked to install it on our OS version of Resin. I received the cert in the form of a .pfx file and a password. Can this be used with my version of Resin or do I need Pro in order to use OpenSSL with this certificate? Thanks,

Re: [Resin-interest] Problems with % character in URI

2007-05-24 Thread Osmo Laitinen
On 3/28/07, Osmo Laitinen [EMAIL PROTECTED] wrote: Hi! I'm experiencing the following problem with Apache, mod_caucho and Resin pro (3.0.18) combination: If uri contains % character, mod_caucho doesn't seem to work correctly, eg.

[Resin-interest] Problems with ADF faces application on JBoss 3.1.1

2007-05-24 Thread Taber, Guthrie
Hi, I have been attempting to get the adf sample application working on JBoss 3.1.1. The first error I got was: [13:31:32.697] javax.faces.FacesException: com.caucho.jsf.context.FacesContextFactoryImpl [13:31:32.697] at javax.faces.FactoryFinder.createFactory(FactoryFinder.java:216)

Re: [Resin-interest] Problems with ADF faces application on JBoss 3.1.1

2007-05-24 Thread Taber, Guthrie
I am now getting a common error on both JBoss 3.0 and 3.1.1 when I access the adf-faces-demo application. [08:08:11.048] javax.servlet.ServletException: java.lang.NullPointerException [08:08:11.048] at com.caucho.server.dispatch.ExceptionFilterChain.init(ExceptionFilterCh ain.java:54)

Re: [Resin-interest] Wild card SSL Certs

2007-05-24 Thread Jay Ballinger
We use JSSE successfully and haven't really noticed any performance problems or slowdowns. http address=* port=443 jsse-ssl key-store-typepkcs12/key-store-type key-store-file/some/path/to/file.p12/key-store-file passwordsecret/password

Re: [Resin-interest] 3.1.1: webapp directory cannot be the same as hostroot directory?

2007-05-24 Thread Andy Duplain
On Wed, May 16, 2007 at 05:09:03PM +0100, Andy Duplain wrote: On Wed, May 16, 2007 at 11:02:44PM +0800, Liao Xuefeng wrote: i use: host id=localhost root-directory=. web-app id=/ root-directory=E:/path/to/dir/ /host and Resin 3.1.1 works. Not sure that would work - the idea

Re: [Resin-interest] 304 status

2007-05-24 Thread Jean-Francois Lamy
Thanks Serge, the document proved to be just what we needed. We fixed our issues with a somewhat brain dead proxy as follows a) making sure Apache was serving documents and images directly (and not delegating to Resin) b) Activating mod_expires and using the Expires directives to tell the stupid

Re: [Resin-interest] Resin 2.x, mod_caucho and Apache 2.2

2007-05-25 Thread okrische
Hello, i forgot to mention, that i was trying to compile it on a 64bit Linux. Anyways, it was compilable with the -fPIC switch. Ding Deng wrote: okrische [EMAIL PROTECTED] writes: Hello, i just wonder, if there is any plan to fix mod_caucho for Apache 2.2.x? I guess not, there is no

Re: [Resin-interest] Problems with ADF faces application on JBoss 3.1.1

2007-05-25 Thread Scott Ferguson
On May 24, 2007, at 7:31 AM, Taber, Guthrie wrote: I figured this was due to the conflict of the jsf-12.jar shipped with Resin 3.1.1 and the jsf .jars shipped with the adf sample application. Yes, you should delete the jsf-12.jar. That's not supposed to be released yet. I just

Re: [Resin-interest] Connection Reset message

2007-05-25 Thread Scott Ferguson
On May 21, 2007, at 7:15 PM, Keith Fetterman wrote: I am experiencing a problem displaying pages from our Website on Windows XP computers running Symantec's Norton Internet Security 2007 (NIS 2007.) Frequently, I will get a Connection Reset message in Firefox 2 and Page cannot be

[Resin-interest] Resin cluster performance drops with number of nodes

2007-05-25 Thread MORAWETZ Martin
Hallo, I'm evaluating the resin-cluster capabilities. My problem is that with the current setup using just one node performes much better than having two nodes running. The setup is: Two apache server as frontend, I use the mod_caucho module as load-balancer, two resin server. One Apache and one

[Resin-interest] Resin 3.1.1 httpd is failing to bind to *

2007-05-26 Thread Vinay Sajip
Hi, I'm trying out Resin 3.1.1 (Open Source) on a Damn Small Linux system (DSL 3.3, with default hostname box) configured as a DHCP client. When my /etc/hosts file contains the line 192.168.0.15 box (where 192.168.0.15 is the address handed out by the DHCP server), everything works as

Re: [Resin-interest] Resin Issue

2007-05-27 Thread Vinay Sajip
Hi Dixon, Thanks for the mail. Your /etc/hosts contains the line 192.168.0.15 box right? So you should have some host set up named box in your /usr/local/hosts/box/... like this right? No, I don't have such a file as /usr/local/hosts/box - in fact there is no such directory as

[Resin-interest] JDBCSession-Store gives java.io.StreamCorruptedException

2007-05-27 Thread Jan Kriesten
hi, i'm getting the following exception using resin pro 3.1.1 / jdk 1.6 / mysql / mysql-connector 5.0.6: ---8--- [21:01:53.998] java.io.StreamCorruptedException: invalid type code: 00 [21:01:53.998] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1356) [21:01:53.998] at

Re: [Resin-interest] Resin 2.x, mod_caucho and Apache 2.2

2007-05-28 Thread Ding Deng
okrische [EMAIL PROTECTED] writes: Hello, i forgot to mention, that i was trying to compile it on a 64bit Linux. Anyways, it was compilable with the -fPIC switch. Yes, the `-fPIC' switch would get it complied on a 64-bit system, but it would still fail on a 32-bit one. To get it built on

[Resin-interest] Weird log messages about JniSelect add-native failing

2007-05-29 Thread Kai Virkki
Hi! We're getting following messages to the jvm.log with Resin 3.0.15: [08:01:20.953] JniSelect: add-native failed 7036 - -1 for TcpConnection[id=resin-tcp-connection-*:80-149,socket=JniSocketImpl$18322855[1238601824],port=Port[null:80]] Is there any reason to be worried about them? Has anyone

Re: [Resin-interest] JDBCSession-Store gives java.io.StreamCorruptedException

2007-05-29 Thread Scott Ferguson
On May 27, 2007, at 12:07 PM, Jan Kriesten wrote: hi, i'm getting the following exception using resin pro 3.1.1 / jdk 1.6 / mysql / mysql-connector 5.0.6: ---8--- [21:01:53.998] java.io.StreamCorruptedException: invalid type code: 00 [21:01:53.998] at I've reported it as a bug:

Re: [Resin-interest] Weird log messages about JniSelect add-native failing

2007-05-29 Thread Scott Ferguson
On May 28, 2007, at 11:24 PM, Kai Virkki wrote: Hi! We're getting following messages to the jvm.log with Resin 3.0.15: [08:01:20.953] JniSelect: add-native failed 7036 - -1 for TcpConnection[id=resin-tcp-connection-*:80-149,socket=JniSocketImpl $18322855[1238601824],port=Port[null:80]]

<    1   2   3   4   5   6   7   8   9   10   >