Re: .Net

2007-06-26 Thread Tolou Taherinia
I have found mod_aspdotnet a loadable Apache 2 module for serving ASP.NET content using the Microsoft ASP.NET hosting and Microsoft .NET runtime within the Apache HTTP Server process. Is mono a better solution? Andrei Tchijov <[EMAIL PROTECTED]> wrote: Google for project MONO. This is ope

Re: .Net

2007-06-26 Thread Andrei Tchijov
Google for project MONO. This is open source version of .NET runtime On Jun 27, 2007, at 1:06 AM, Tolou Taherinia wrote: Hello all, Is it possible to run .Net application on Linux/appache server? Any help would be greatly appreciated. - All new Yahoo!

Re: Where to find session cookies

2007-06-26 Thread Venkatesh Babu
Think the servlet APIs like response.addCookie() etc ... might be helpful here. You can send couple of cookies in your response header, the browser will store these cookies permanently in harddisk. -Venkatesh - Original Message From: lightbulb432 <[EMAIL PROTECTED]> To: users@tomcat.a

.Net

2007-06-26 Thread Tolou Taherinia
Hello all, Is it possible to run .Net application on Linux/appache server? Any help would be greatly appreciated. - All new Yahoo! Mail - - Get a sneak peak at messages with a handy reading pane.

Re: (More) Hiding Password from server.xml

2007-06-26 Thread David Smith
Best I can think of is to write your own class to initialize a db pool and pull the password from a file encrypted with the server's public key (assuming it has a ssl cert.). To get the password from such a file requires the server's private ssl key which should be protected like the Hope Dia

Re: Java Axis and R

2007-06-26 Thread Peter Ansell
Have you seen the following publication which demonstrates how to use R as an Axis web service. The way they made it work may be similar to the way you are trying to do. http://www.bioconductor.org/packages/2.0/bioc/vignettes/RWebServices/inst/doc/EnablingPackages.pdf Peter Ansell Yifan (Eric)

Re: Dynamic form-login-page?

2007-06-26 Thread Jon Wilmoth
Unfortunately it looks like the Struts 2 architectural change is the culprit after all. After digging through the tomcat 5.5.23 (also present in the most recent 6.0.13 release) code I've come to the conclusion Struts2 actions CAN NOT be used for any of the common web.xml descriptor elements (fo

Re: read data/infinite loop problem with comet

2007-06-26 Thread Sebastiaan van Erk
Hi, Thanks for the suggestion. I already tried that fix, unfortunately it does not work. The problem is that even without those two lines, the event() method is not called again with a new READ event for the newly available data. That said, the check seems wrong to me as well. If the servlet

RE: read data/infinite loop problem with comet

2007-06-26 Thread Reich, Matthias
Hi, my feeling is that the CoyoteAdapter does a check that should not be done in this place (just because the implicit assumption is wrong that nothing will happen concurrently during the few nano seconds between the Servlet's available() check and the check of the adapter.) It looks as if the Co

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Caldarale, Charles R
> From: Victor Huang [mailto:[EMAIL PROTECTED] > Subject: RE: Can Tomcat access JSP pages out of tomcat folder? > > But I noticed that you were using $Tomcat_home directory as > docBase. No - that directory is completely outside of where Tomcat's installed, which is C:\apache-tomcat-6.0.13. Th

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Victor Huang
Thanks, Chuck. But I noticed that you were using $Tomcat_home directory as docBase. That's different with my configuration - I wanted to load this web app which is out of $tomcat_home directory. Yes, it would work if I put web app into $Tomcat_home. /Victor -Original Message- Fro

(More) Hiding Password from server.xml

2007-06-26 Thread jmaltais
Hi gang! I know this has been discussed before. I want to completely remove the password from the server.xml file. It is only readable by root but that is not good enough for me. Some ideas: * Hardcoding in a JDBC driver but then it can be taken and used by anybody. * What about a subclassed

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Caldarale, Charles R
> From: Victor Huang [mailto:[EMAIL PROTECTED] > Subject: RE: Can Tomcat access JSP pages out of tomcat folder? > > I followed what you suggested - create WEB-INF folder under > C:\myapp-shares\jsps, create bs.xml under > $tomcat_home/conf/Catalina/localhost > > docbase="C:\\myapp-share\\jsps"

RE: Where to find session cookies

2007-06-26 Thread Fargusson.Alan
It is up the servlet. As far as I know Tomcat cannot change this. As to how you get the servlet to use one or the other: I do not know enough about WEB programming to tell you. -Original Message- From: lightbulb432 [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 12:13 PM To: user

Re: read data/infinite loop problem with comet

2007-06-26 Thread Sebastiaan van Erk
Hi, Nobody's ever an idiot for trying to help, and I appreciate the effort even if you misunderstood the question in my email. Perhaps (very likely, probably), I was not very clear either; I already have the context of my question in my mind and as such often forget to make the context adequa

Re: read data/infinite loop problem with comet

2007-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastiaan, Sebastiaan van Erk wrote: > Thanks for the reply. :-) Okay, this is what I get for responding to a question about Comet, something about which I have no familiarity whatsoever. I didn't realize that this was an event handler that basical

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Victor Huang
Hello David, I followed what you suggested - create WEB-INF folder under C:\myapp-shares\jsps, create bs.xml under $tomcat_home/conf/Catalina/localhost But when Tomcat startup, I got exception below - SEVERE: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\

RE: Where to find session cookies

2007-06-26 Thread lightbulb432
How can I configure Tomcat to use permanent cookies as opposed to session cookies? One of the reasons I'd like to know is to see the behavior of method isNew() of HttpSession, which I can do if I'm able to disable cookies. As the Javadoc for HttpSession says: "A servlet should be able to handle c

RE: tomcat 6 - invoker servlet?

2007-06-26 Thread Leonardo Augusto
Ok Thanks!! Leonardo LocaWeb.com.br -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: segunda-feira, 25 de junho de 2007 18:18 To: Tomcat Users List Subject: RE: tomcat 6 - invoker servlet? > From: Leonardo Augusto [mailto:[EMAIL PROTECTED] > Subject: tomcat

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Victor Huang
Ok. Thanks! Victor Huang| Senior Developer | GameWorkz Inc. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 2:38 PM To: Tomcat Users List Subject: RE: Can Tomcat access JSP pages out of tomcat folder? > From: Victor Huang [mailto

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Caldarale, Charles R
> From: Victor Huang [mailto:[EMAIL PROTECTED] > Subject: RE: Can Tomcat access JSP pages out of tomcat folder? > > One more question - Can I have a blank web.xml under > C:\myapp-share\jsps\WEB-INF? Or do I need to put something there? See my previous message; with Tomcat, you don't need it at

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: Can Tomcat access JSP pages out of tomcat folder? > > That can work, but your C:\myapp-share\jsps directory will need a > WEB-INF folder and WEB-INF/web.xml per the servlet spec. Actually, with Tomcat, you don't need those for simple

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Victor Huang
One more question - Can I have a blank web.xml under C:\myapp-share\jsps\WEB-INF? Or do I need to put something there? Thanks, Victor -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 1:59 PM To: Tomcat Users List Subject: Re: Can Tomcat acce

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Victor Huang
Thanks for the help. I'll try it out. /Victor -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 26, 2007 1:59 PM To: Tomcat Users List Subject: Re: Can Tomcat access JSP pages out of tomcat folder? That can work, but your C:\myapp-share\jsps directory

Re: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread David Smith
That can work, but your C:\myapp-share\jsps directory will need a WEB-INF folder and WEB-INF/web.xml per the servlet spec. Then you'll have to write a file named jsps.xml with the docbase="C:\\myapp-share\\jsps" /> element in it and place that within conf/Catalina/localhost of your tomcat app.

Re: read data/infinite loop problem with comet

2007-06-26 Thread Sebastiaan van Erk
Hi all, I looked in the Tomcat source code (6.0.13), and I really do not understand how I'm supposed to avoid the following error: SEVERE: The servlet did not read all available bytes during the processing of the read event What seems to be happening is this: In my event method(): while

RE: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Victor Huang
Thanks David. I'm using Tomcat 5.5.23 and Apache 2.2.4, JK-1.2.22 on Windows XP I understand that I can put JSPs into TOMCAT-INSTALL\webapps\* (I tried it and it worked) but that doesn't solve my issue. I wanted to put JSPs into somewhere out of Tomcat completely - lets say C:\myapp-share\jsps\. M

Re: How to add -Djava.library.path to tomcat

2007-06-26 Thread Filip Hanik - Dev Lists
set it in catalina.bat or catalina.sh or you can define setenv.sh/setenv.bat in the bin directory with the line set JAVA_OPTS=-Djava.library.path= (win) and similar for unix Filip Yifan (Eric) Jiang wrote: Hi, I would like to load a library (.dll in windows and .so in linux) in a Jav

Re: Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread David Smith
They can be accessed outside of tomcat's folder, but still have to be in a webapp structure per spec. Can you describe your layout a bit more and include the version of your tomcat? --David Victor Huang wrote: Hi There, I'm working on a project that needs to move current web appli

Re: read data/infinite loop problem with comet

2007-06-26 Thread Sebastiaan van Erk
Hi Christopher, Thanks for the reply. :-) Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastiaan, Sebastiaan van Erk wrote: I'm having a problem reading data in my Comet servlet. In the BEGIN event I have the following loop: while (request.getInputStream(

How to specify my directory structure in Apache?

2007-06-26 Thread shiva sha
How to specify my directory structure (C:\tomcat5.5.17\webapps\sampleapp\web-inf\classes\com\bean) in Apache? I m doing tomcat server clustering. I have to mention in httpd.conf or workers.properties or mod_jk.conf or mod_jk_cluster.conf? In which file i have to mention.. Thanks Shiva

Re: read data/infinite loop problem with comet

2007-06-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sebastiaan, Sebastiaan van Erk wrote: > I'm having a problem reading data in my Comet servlet. > > In the BEGIN event I have the following loop: > >while (request.getInputStream().available() > 0) { > // log that in read loop, log availabl

Can Tomcat access JSP pages out of tomcat folder?

2007-06-26 Thread Victor Huang
Hi There, I'm working on a project that needs to move current web application from IIS/JRUN/Windows into Apache/Tomcat/Windows. One of the problem is I can not make Tomcat access (pre-compile) JSP pages deployed out of Tomcat folder. It is working fine under IIS/JRUN. Our curre

read data/infinite loop problem with comet

2007-06-26 Thread Sebastiaan van Erk
Hi, I'm having a problem reading data in my Comet servlet. In the BEGIN event I have the following loop: while (request.getInputStream().available() > 0) { // log that in read loop, log available() // read some data } // log that read loop is done, log available() return