Re: .Net

2007-06-27 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

Re: .Net

2007-06-27 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 open

Re: .Net

2007-06-27 Thread Jacob Rhoden
Tolou Taherinia wrote: 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? The first hit on a google search says mod_aspdotnet is

Re: Where to find session cookies

2007-06-27 Thread Johnny Kewl
Hi LightBulb, I think you missing a concept somewhere... A typically setup for a servlet that wants to use a cookie is like this HttpSession session = request.getSession(true); //Make a session if one does not exist String SomeAttributeISet =

isapi_redirect from IIS5 to tomcat 5.5.17 brings HTTP 404 - isapi_redirect.dll not found

2007-06-27 Thread Kirst Martin Wolfgang
Hi, I'm trying to use IIS v5.00.3700.1000 with Tomcat 5.5.17 using isapi_redirect 1.2.23 and AJP13. But in the end I always see an error page from tomcat: HTTP Status 404 - /jakarta/isapi_redirect.dll ... The requested resource (/jakarta/isapi_redirect.dll) is not available ... Apache

Re: .Net

2007-06-27 Thread Tolou Taherinia
Any idea on which version of Unix(red hat, suse, fedora, etc) will work better mono? Thanks Jacob Rhoden [EMAIL PROTECTED] wrote: Tolou Taherinia wrote: I have found mod_aspdotnet a loadable Apache 2 module for serving ASP.NET content using the Microsoft ASP.NET hosting and Microsoft

Re: .Net

2007-06-27 Thread Tolou Taherinia
Any idea on which version of Unix(red hat, suse, fedora, etc) will work better with mono? Thanks Jacob Rhoden [EMAIL PROTECTED] wrote: Tolou Taherinia wrote: I have found mod_aspdotnet a loadable Apache 2 module for serving ASP.NET content using the Microsoft ASP.NET hosting and

Re: .Net

2007-06-27 Thread Pierre Goupil
Hello, With OpenSuse (at least since 10.1), you've got a Mono runtime which you can choose to install during distro's own installation. But I don't think that is the real concern, since an installer is provided for all distros. But it looks like the most supported one (by Mono project itself) is

java.net.BindException: Address already in use: JVM_Bind:xxxx

2007-06-27 Thread Raffaele
Hi all, I know there are other threads about this problem, but no one ever said the solution! I hope to find more accurate help because this problem is very tedious. In particular, I have the exception (see the end of post) when I start consecutively tomcat Embedded, for example: - start tomcat

Server Node Id

2007-06-27 Thread Ingo Düppe
Hello, i run an application within a tomcat cluster. Now I need a unique key for each server node for the application. My first solution was a property file within the war file. But this is not so handy on deployment cycles. Is there a better way to place a unique identify for each cluster

How to read environment entry?

2007-06-27 Thread Bachler, Elisabeth \(Elisabeth\)
Hi, I have an application and I need to specify a string (that will be different in each site), so the header I am using in each jsp page will be able to read it and show it. I could do it using web.xml but I was wondering if it was possible to do it using, in the Tomcat server tool (context

Re: Server Node Id

2007-06-27 Thread Johnny Kewl
Interesting question... I dont know if there is a property one can call. I had a similar need behind a JK load balancing scheme, what I did was just generate a unique ID when each cluster webapp starts up, something like the MS GUID idea. No pre-configuration required. I think it would be

Re: How to read environment entry?

2007-06-27 Thread David Delbecq
Read doc on environment entries in tomcat context documentation: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html En l'instant précis du 27/06/07 12:28, Bachler, Elisabeth (Elisabeth) s'exprimait en ces termes: Hi, I have an application and I need to specify a string (that will be

Setting up tomcat to proxy

2007-06-27 Thread S . Cullen
Hello, I wonder if anybody can help, we have an application set up as follows: The front end web services are on a web server running appache and tomcat. The back end web services are on an oracle application server. War files are deployed through tomcat manager and oracle

Re: Null

2007-06-27 Thread domenico di leo
If I have understand your problem is : you receive a lot of null value afther a query but you don't except them. The problem could be in your if statement . ((String[])queryResults.elementAt(r))[c]).equalsIgnoreCase(null)) you compare a String vector with a String because you have upacsted to

Re: Programmatically stop/start context (webapp)

2007-06-27 Thread syg6
Well, I've made some progress. Basically, you follow all the steps to get Tomcat to load JMX support, essentially editing your catalina.sh. Then you connect to Tomcat's JMX MBean server, choose a domain, choose an MBean, choose an Operation, and execute it. The following code, mostly pilfered,

RE: How to read environment entry?

2007-06-27 Thread Bachler, Elisabeth \(Elisabeth\)
Thank you I will have a look at it. -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: miércoles, 27 de junio de 2007 12:44 To: Tomcat Users List Subject: Re: How to read environment entry? Read doc on environment entries in tomcat context documentation:

Configure JNDI Realm

2007-06-27 Thread Eduardo del Bas
Hi all, I'm configuring a JNDI Realm with LDAP in Tomcat 5.5. The authentication process works fine but when Tomcat tries to check role this fails and it returns me a HTTP 403 page. Tomcat log is: DEBUG http-6060-Processor25 org.apache.catalina.authenticator.AuthenticatorBase - Calling

Using auto-configure with Tomcat 6.0

2007-06-27 Thread Frank McCown
I'm trying to get auto-configure to work for my single Tomcat process running on the same machine as Apache. According to the instructions at http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html the mod_jk.conf-auto file can only be created with Tomcat 5.x. Does that mean the

Re: java.net.BindException: Address already in use: JVM_Bind:xxxx

2007-06-27 Thread Kirst Martin Wolfgang
Hi, [... consecutively restart tomcat ...] The only two solutions I found were: 1) wait some time the try again... 2) change ecah time the port In my ears it looks like you do not unbind the port. I know, ist typical for Windows, when you kill a process, which uses a port in an unclean way,

OT: Sessions

2007-06-27 Thread vnug
Hi: We have an Enterprise application that uses sessions to keep track of User Information (name, role, dept). This information is used against the user when logging out, checking credentials and displaying user information. Since we are using Session Attributes to keep track of User

Re: How to read environment entry?

2007-06-27 Thread Johnny Kewl
Hi Liz, I think you have to get it back using something like this Context initCtx = new InitialContext(); Context envCtx = (Context ) initCtx.lookup(java:comp/env); String myString = (DataSource) envCtx.lookup(env/NameOfString); The above is a guess you will need to read up on JNDI

Re: Dynamic form-login-page?

2007-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jon, Jon Wilmoth wrote: Unfortunately it looks like the Struts 2 architectural change is the culprit after all. That's an interesting side-effect of switching from a servlet to a filter. This is a major bummer to say the least. I'm not sure if

Re: OT: Sessions

2007-06-27 Thread David Smith
One possibility is to check for a pre-existing open login on login. If one is detected, return an error something to the effect of please log off first. Offer a log-off button/link that invalidates the session and returns the user to a welcome page. Maintaining both logins is trickier and

Re: .Net

2007-06-27 Thread Martin Gainty
With the exception of DB access since mod_aspdotnet is discontinued there's no ability to tie the systems together ? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have

Re: .Net

2007-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tolou, Tolou Taherinia wrote: Any idea on which version of Unix(red hat, suse, fedora, etc) will work better with mono? None of those listed GNU/Linux distributions are Unix. You should check the Mono project to see what does and does not work

Re: No X509Certificate Attribute In IIS Redirected Request

2007-06-27 Thread Simon . Temple
Hi Here is an update on my progress with this problem. Using IIS V6.0 with JK 1.2.23 and Tomcat 6.0.13, I can confirm my servlet can now receive an X509Certificate attribute! I had two configuration problems: 1. I had not enabled Require client certificate flag on the IIS folder I was using

Re: OT: Sessions

2007-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vasu, [EMAIL PROTECTED] wrote: Since we are using Session Attributes to keep track of User Information - this gets mangled when we try to login to application from the same browser (in FireFox) and Ctrl-N from IE (in other words the person who

Keeping busy site responsive

2007-06-27 Thread Parham, Clinton
Tomcat Experts: How do I keep my web application responsive for users already half way through an enrollment process when traffic volume is high? Here's the scenario: I have a set of 5 web pages that users must work through to successfully enroll themselves. Assume the server can handle 250

unzip a jar file from a war file to tomcat/webapp

2007-06-27 Thread Paul Hammes
Hi, i have to unzip a jar, contained in a war file. This jar file is contained in the web-inf/lib directory. There are several images in this jar and i want to unzip it to tomcat/webapp directory so the browser can access the images directly. The process of unzipping should be triggerd by the

Re: Keeping busy site responsive

2007-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Clinton, Parham, Clinton wrote: How do I keep my web application responsive for users already half way through an enrollment process when traffic volume is high? Depending on how far you want to go, you might be able to use one server to accept

Re: unzip a jar file from a war file to tomcat/webapp

2007-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Paul Hammes wrote: i have to unzip a jar, contained in a war file. This jar file is contained in the web-inf/lib directory. There are several images in this jar and i want to unzip it to tomcat/webapp directory so the browser can access the

Re: Programmatically stop/start context (webapp)

2007-06-27 Thread Johnny Kewl
Nice Bob I actually think you have cracked the JMX client stuff I dont think that is the right operation, it does work, but if you stop/start the whole host, every webapp on the host will stop and start. What we actually need is the context with those operations, and there doesnt

RE: Programmatically stop/start context (webapp)

2007-06-27 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Programmatically stop/start context (webapp) What we actually need is the context with those operations, and there doesnt seem to be one. Try using the MBeans tab of JConsole. You can find the Context elements under Catalina -

Re: Programmatically stop/start context (webapp)

2007-06-27 Thread syg6
Actually, in my case, stopping a Host should work since I only have one app assigned to each Host: Server Service Engine Host name=www.myapp.com ... Context path= docBase=myapp .../ /Host Host name=www.myAdminapp.com ... Context path=admin

$CATALINA_HOME/common/lib or WEB-INF/lib

2007-06-27 Thread Przemysław Klein
Hi there.. I have 15 apps on my Tomcat. Five of them require library abc.jar (~1,5MB). From the resources point of view (mem, cpu) is it better to make abc.jar visible globaly to all applications (place it in $CATALINA_HOME/common/lib) or copy to WEB-INF/lib of all five dependent

Tomcat Monitoring

2007-06-27 Thread Angelov, Rossen
What is recommended for monitoring Tomcat? Or is there anything built in that can help monitoring the performance and the state of the thread pools? More specifically, I'm trying to find a way to time how long it take from the moment a request was received and when the response was returned.

Re: Programmatically stop/start context (webapp)

2007-06-27 Thread Johnny Kewl
YES good one and I found it now in MC4J as well... its under Domains-J2EEServer-J2EEApplication-WebModule-(host/name of servlet)-start property Bob, I have no idea why the mapping is so different to JConsole in MC4J its not even under the MBean section. Compared with Chucks find

Re: Tomcat Monitoring

2007-06-27 Thread Leon Rosenberg
moskito.anotheria.net and you are probably interested in the RequestURIFilter http://moskito.anotheria.net/moskitodemo/mui/mskShowProducer?pProducerId=RequestURIFilter regards Leon On 6/27/07, Angelov, Rossen [EMAIL PROTECTED] wrote: What is recommended for monitoring Tomcat? Or is there

RE: Keeping busy site responsive

2007-06-27 Thread Nelson, Tracy M.
| From: Parham, Clinton [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 27 June, 2007 08:41 | | How do I keep my web application responsive for users already half way | through an enrollment process when traffic volume is high? I'd recommend setting a registration-in-progress session cookie. Then,

RE: Where to find session cookies

2007-06-27 Thread Nelson, Tracy M.
| From: lightbulb432 [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 26 June, 2007 14:13 | | 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

Re: Keeping busy site responsive

2007-06-27 Thread Brantley Hobbs
Clinton, I implemented this as a filter/listener combination. The listener tracks session initialized events and increments an atomic Integer (decrementing it at session destroyed), saving it as a context attribute. The filter uses the following logic: 1. If we're less than or equal to

Re: Where to find session cookies

2007-06-27 Thread Johnny Kewl
True, although I dont know how to make Tomcat do that, nor do I think it should be done, they must expire, or else with time his Tomcat will run out of memory. - Original Message - From: Nelson, Tracy M. [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday,

Phantom Server

2007-06-27 Thread Johnny Kewl
Guys, just want to tell you about something I see happening on the Netbeans user group. People complain that Tomcats logs dont work, or that Tomcats setting are not being picked up, its broken. Whats actually happening is that in NB6, Tomcat is not present at all, and even when it is on the

RE: Tomcat Monitoring

2007-06-27 Thread Kirst Martin Wolfgang
What is recommended for monitoring Tomcat? Or is there anything built in that can help monitoring the performance and the state of the thread pools? For general purpose use jconsole.exe from SUN's JDK. More specifically, I'm trying to find a way to time how long it take from the moment a

RE: Where to find session cookies

2007-06-27 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Where to find session cookies True, although I dont know how to make Tomcat do that, nor do I think it should be done, they must expire, or else with time his Tomcat will run out of memory. ??? Why do you think Tomcat will run out

Re: Where to find session cookies

2007-06-27 Thread Johnny Kewl
- Original Message - From: Caldarale, Charles R [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Wednesday, June 27, 2007 8:53 PM Subject: RE: Where to find session cookies From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Where to find session cookies

Re: Server Node Id

2007-06-27 Thread Ingo Düppe
Well, the reason is, that I need to run some tasks that have to be executed on each node once within the cluster. So each node must be able to identify these tasks that still need to be executed on this node. So in my solution the server node gets its id and checks which was the last task it

Tomcat and Webdav - [Fatal Error] :-1:-1: Premature end of file

2007-06-27 Thread Katilie, John
All, I'm not sure if I should post this question to the Tomcat or Commons List server so please let me know if posting it to Tomcat is Incorrect. Anyways, I am running Tomcat 5.5.23 and a Standalone Java application using Common HttpClient to access Webdav resources under Tomcat. When I updated

RE: Keeping busy site responsive

2007-06-27 Thread Nelson, Tracy M.
| From: Brantley Hobbs [mailto:[EMAIL PROTECTED] | Sent: Wednesday, 27 June, 2007 12:37 | | This approach seems to work well (at least until the box staggers to a | halt simply issuing redirects). Just out of curiosity, do you think it would help in those situations to issue a 503 instead of a

Re: Tomcat and Webdav - [Fatal Error] :-1:-1: Premature end of file

2007-06-27 Thread Martin Gainty
seems to be an encoding/decoding issue where IE stores filenames as UTF-8 and tomcat references using ISO-8859-1 fileName = URLEncoder.encode(manual.pdf, UTF-8); http://mail-archives.apache.org/mod_mbox/tomcat-users/200504.mbox/[EMAIL PROTECTED] M-- This email message and any files transmitted

Re: Keeping busy site responsive

2007-06-27 Thread Brantley Hobbs
You know, I hadn't given it a lot of thought to be honest. I think that for accuracy's sake it should probably be a 500 error (I assume that 503 is a server busy error or something; don't know it off the top of my head). An actual redirect error could confuse a browser. I'd assume that for

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

2007-06-27 Thread Victor Huang
Hi Chuck, I'm able to call jsps out of Tomcat following the instruction given. Thanks! However, I now have another problem - see I have set two Contexts in tomcat called: Context1, Context2. I even setup crossContext to true Context path=/ docBase=C:/www/myapp crossContext=true/ Context

Re: Keeping busy site responsive

2007-06-27 Thread Brantley Hobbs
I should say an actual redirect response code could confuse a browser. B. Brantley Hobbs wrote: You know, I hadn't given it a lot of thought to be honest. I think that for accuracy's sake it should probably be a 500 error (I assume that 503 is a server busy error or something; don't know it

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

2007-06-27 Thread Caldarale, Charles R
From: Victor Huang [mailto:[EMAIL PROTECTED] Subject: RE: Can Tomcat access JSP pages out of tomcat folder? Context path=/ docBase=C:/www/myapp crossContext=true/ Context path=/bs docBase=C:/shared-jsp/component crossContext=true/ As stated before, remove the path attribute - it's not

javax.naming.NamingException: Could not create resource factory i nstance

2007-06-27 Thread Riedesel, Chris
I am trying to test the connection to an oracle DB from Java on Tomcat 5.5. The subject is the error I am receiving. I am developing using JS Creator 2. When testing the app work fine. But when it is deployed on our web server the error occurs. Any help, suggestions, example would be great.

Re: $CATALINA_HOME/common/lib or WEB-INF/lib

2007-06-27 Thread Len Popp
Using a single copy would save memory, but not a very large amount compared to the size of 15 typical webapps. More significant are the convenience factors: Using a single shared copy of the lib is good if the webapps are all related and you need to make sure they're all using the same version

Clean webapp redeploy with tomcat down

2007-06-27 Thread Ben Stringer
Hi all, I am running tomcat 5.5 on linux (RHEL 4), IBM JDK 1.4.2 SR7, and see an unusual behaviour that I am hoping is due to a gap in my knowledge. When redeploying webapps, I have preferred a procedure where tomcat is stopped, all database, LDAP connections from the app are observed to have

Re: Keeping busy site responsive

2007-06-27 Thread Len Popp
On 6/27/07, Brantley Hobbs [EMAIL PROTECTED] wrote: I'd assume that for optimal performance you'd want to redirect to another machine, but there's nothing enforcing this. If you're using Apache or IIS as a localhost front-end, you could redirect to a URI that's being served by the web server.

Re: Null

2007-06-27 Thread PTS
In several of the fields of the database the information is not entered until a later time and thus the field is null. If you look at actual data the value is null. When returned the data either is null or is not compatible with the data needed back. I am using the data in several areas. If I

About AIO, on tomcat 6.0

2007-06-27 Thread Bruno Simioni
Hey everybody, I'm a new user on this list, and I have a doubt about how to use the new Advanced IO technology implemented on Tomcat 6. I saw the example on site, but I'm getting problems to build a client for access the event manager. Can anyone give an trick about how to develop that? or

Re: OT: Sessions

2007-06-27 Thread vnug
Hi: Thanks David, Chris and Martin for the responses. I appreciate them. May be I didn't explain the situation properly in my posting. I will try to explain better - The application has pretty decent authentication mechanism that differentiates between users, roles and permissions etc. What

mod_jk.so Linux version 1.2.1

2007-06-27 Thread yojimbo
Hi, Noticed that the mod_jk.so binary for Linux is version 1.2.0 and not 1.2.1? I've downloaded it from the download page http://apache.leakage.org/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.21/ Checked the version using strings mod_jk.so If I'm wrong, please correct me? Thanks. --

Re: Dynamic form-login-page?

2007-06-27 Thread Jon Wilmoth
I have run this through the Struts mailing lists and am hoping for a change/solution. Without digging through the servlet spec myself can I ask if the Tomcat implementation is the expected behavior (i.e. no processing of filters on container managed authentication redirects)? Or is it just

Tomcat 6.0.13 and Portlet Containers

2007-06-27 Thread Stephen . Morris
Does anybody know where I can get a Portlet Container for Tomcat 6.0.13, so that when developing portlets in Netbeans 6 I can deploy/run them on Tomcat 6.0.13. regards, Steve Morris IT Security Access Management Technology Risk and Security Technology Australia National Australia Bank Phone:

Tomcat6 service

2007-06-27 Thread TOM SSEMWOGERERE
I installed tomcat6 binary on my computer and failed to work. Then I removed it and installed tomcat 6.exe for windows and also failed to work because the service failed to start. Then I re-installed the binary and worked but I am more interested in the automatic restart of the service. what