JNDIRealm and password expiration

2008-01-16 Thread Andris Eiduks
Hi! We use JNDIRealm for users authentication from Tomcat again OpenLDAP. But users doesn't get notifications about password expiration. It is possible for current solution (Tomcat and OpenLDAP) ? Or we must create different functions in web application for passwords expiry dates searching

Re: Hi

2008-01-16 Thread ben short
Sounds like your code might have a memory leak. The best thing todo is to profile the application and see where all the memory is being used. On Jan 16, 2008 8:52 AM, Katama Reddy [EMAIL PROTECTED] wrote: Hi, I was facing an issue in one of the web application which was deployed in Apache

RE: How can I get Administration-tool for tomcat 6?

2008-01-16 Thread higaki shoutarou
--- Caldarale, Charles R [EMAIL PROTECTED] wrote: The admin webapp was not ported to Tomcat 6 for a variety of reasons. You can use Lambda Probe (www.lambdaprobe.org) for some of the information, and JConsole to poke around inside the various MBeans Tomcat has. However, neither of these

Hi

2008-01-16 Thread Katama Reddy
Hi, I was facing an issue in one of the web application which was deployed in Apache Tomcat server. The issue was getting out of memory error after 2-3 months of deployment and happening frequently(after every 2-3 months). It would be great if some one suggest the reasons for occurring this

RE: How can I speed up and reduce load of initialization

2008-01-16 Thread Peter Crowther
From: Gavan Hood [mailto:[EMAIL PROTECTED] My problem is the initialization. When I start tomcat it takes about two minutes to complete initialization and pegs my little processor at times, often it keeps it around 80% untilized... Yeah, that's not good in an embedded device! 2 minutes

java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

2008-01-16 Thread olk
Hi, I'm trying to create an applet launching tomcat 6 in embedded mode, but it seams that the logging from Tomcat 5.5 to 6 has changed and there are some references left somewhere in the code for the embedded mode. The org.apache.catalina.core.StandardService has an import

Re: Effect of MaxThreads

2008-01-16 Thread Berglas, Anthony
Thanks for this. We tried it and it did fail. I don't understand the reasoning though, I would have thought that the whole point of a queue is to queue requests for which there is no available threads. And I would hope that threads would be returned to the pool when a request ends. It is not

Re: Access a config file located outsite j2ee app [SEC=UNOFFICIAL]

2008-01-16 Thread David Smith
I tried using relative paths once. My experience is relative paths won't work as the current directory is whatever the working directory was on tomcat start. I had to scrap it as it really wasn't consistent enough to be usable. Something to try might be setting this path using: (inside the

How to get the authenticated user

2008-01-16 Thread Vackar
Hi, Does anyone know how to get the username of the person who is currently logged in. I'm running tomcat 6 and authentication is done using LDAP. Something link nameOfTagLib: nameofMethodToGetUsername woulf be nice :-D Thanks, Vackar -- View this message in context:

Re: How to get the authenticated user

2008-01-16 Thread David Smith
1. Reposts are annoying and I saw this post *3* times. Please wait for answers. 2. Assuming you are trying to do this in a jsp, have your considered ${pageContext.request.remoteUser} ? --David Vackar wrote: Hi, Does anyone know how to get the username of the person who is currently

Re: Effect of MaxThreads

2008-01-16 Thread Rainer Jung
How do you connect httpd to Tomcat? Via mod_jk, mod_proxy_http or mod_proxy_ajp? Which MPM do you use in httpd, prefork (single-threaded) or worker (multi-threaded) or something else? To give you hints, it would be nice to see your connector configuration, and the configuration of your

Re: How to get the authenticated user

2008-01-16 Thread Vackar
Apologies for re-posts, I edited the original message a couple of times because I can't type... Sorry:-(( David Smith-2 wrote: 1. Reposts are annoying and I saw this post *3* times. Please wait for answers. 2. Assuming you are trying to do this in a jsp, have your considered

Re: How to get the authenticated user

2008-01-16 Thread Vackar
Thanks for the tip David! For those who are uding jsf then it's done like this: FacesContext.getCurrentInstance().getExternalContext().getRemoteUser(); Next question is:- does anyone know how to expire the authenticated session - used for logout. Thanks, Vackar Vackar wrote: Apologies for

Cluster error, timeouts.

2008-01-16 Thread Raúl García
Hi all, I'm Raúl. We had a tomcat 5.0.28 server configured with 2 clustered instances(working perfectly), and we decided to migrate to java6 and the new tomcat 6.0.14. We modify the configuration files to match the new tomcat 6.0.14 structure. But now we have really annoying problems with the

Re: mod_jk maintenance, recovery

2008-01-16 Thread Rainer Jung
Dominik Pospisil wrote: Indeed. It would be OK to return 503, for requests, that already have been received by the first node, but not returned yet. New requests That's the case. All errors I am getting are from requests which were allready in processing by failing node. Why it is OK to

Re: mod_jk maintenance, recovery

2008-01-16 Thread Rainer Jung
... adding to previous post: It also does not retry/fail over, in the following (more or less obvious cases): - there was a problem with the client (browser) connection - we already started to send back parts of the response to the client, typically the headers (depending on

RE: [Axis2] FileNotFoundException (SESSIONS.ser) during tomcat shutdown

2008-01-16 Thread aschoedl
Caldarale, Charles R wrote: From: Michele Mazzucco [mailto:[EMAIL PROTECTED] The folder is created at tomcat startup but when I stop tomcat it still complains because it doesn't find the file SESSIONS.ser (i.e. the same error occurs). Looks a lot like an Axis problem after all:

Problem by deploy WAR to Tomcat

2008-01-16 Thread Thomas Chang
Hi all, I deployed my WAR to Tomcat by using mvn tomcat:deploy Though I got result BUILD SUCCESSFUL, I can't see this web-app in Tomcat. Someone knows why? - Ihr erstes Fernweh? Wo gibt es den schönsten Strand.

PDF problem on IF from JSP

2008-01-16 Thread Jonadan
Hi, I am generating PDF documents from JSP directly to output stream. However when I try it from IE, it does not work properly. Sometime nothing happens. Sometimes, show data corruption error. Sometimes connection error, etc. I suspect it may be something to do with partial content reading from

Re: Forwarding with jkmount

2008-01-16 Thread Edwin Walsh
Hi, It is a bit late for a reply, but it took our system administrators some time to finally commit the changes. The last thing you wrote did indeed work, although you must make sure to remember to set the SetHandler jakarta-servlet or it won't do anything with the values you have set. Now

Re: strange forwarding problem with jkmount

2008-01-16 Thread Edwin Walsh
Hi, It was as I expected and a virtual server was 'eating' my requests. The JkMount was actually already set up in the global server, but by adding the line JkMountCopy All it got forwarded to all the virtualhosts as well. Since this is only a temporary problem for us, it will have to do...

Tomcat 6 embedded use - problems with jsp - No Java compiler available

2008-01-16 Thread olk
Hi, I'm running tomcat in embedded mode from an applet. When I open a html page the embedded server responds correct. When I call a jsp I get the error java.lang.IllegalStateException: No Java compiler available below. Does maybe someone know what the reason could be ? - or point me to a good

setting cookie and ProxyPassReverse

2008-01-16 Thread Edwin Walsh
Hi, One of our web applications is set up to have people agree to a license agreement before using our site. This is done by setting up a cookie that tells our browser that they have accepted the agreement. This to avoid that people would have to accept it every time they brows to that web

Cannot invoke Tomcat manager Embedded error: Server redirected too many times (20)

2008-01-16 Thread VanIngen, Erik (ESTG)
I am using maven tomcat:deploy to deploy. It worked fine but now I am having this error: Cannot invoke Tomcat manager Embedded error: Server redirected too many times (20) Any ideas?

RE: PDF problem on IE from JSP

2008-01-16 Thread Pitre, Russell
How are you writing to the outputstream? You should be doing something like this below( taken from org.springframework.web.servlet.view.document .AbstractPdfView) private static final int OUTPUT_BYTE_ARRAY_INITIAL_SIZE = 4096; // IE workaround: write into byte array first. ByteArrayOutputStream

Re: PDF problem on IE from JSP

2008-01-16 Thread Pid
Jonadan wrote: Hi, I am generating PDF documents from JSP directly to output stream. However when I try it from IE, it does not work properly. Sometime nothing happens. Sometimes, show data corruption error. Sometimes connection error, etc. I suspect it may be something to do with partial

Re: How can I preserve a directory on Deployment?

2008-01-16 Thread Mark H. Wood
Well, I probably wouldn't put that directory anywhere near $TOMCAT_HOME; I'd want it somewhere on /var with other volatile and temporary stuff. -- Mark H. Wood, Lead System Programmer [EMAIL PROTECTED] Typically when a software vendor says that a product is intuitive he means the exact

RE: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory

2008-01-16 Thread Caldarale, Charles R
From: olk [mailto:[EMAIL PROTECTED] Subject: java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory The org.apache.catalina.core.StandardService has an import org.apache.juli.logging.LogFactory, but the org.apache.juli in the catalina.jar of apache-tomcat-6.0.14 is empty

Re: How can I speed up and reduce load of initialization

2008-01-16 Thread Len Popp
On Jan 16, 2008 4:21 AM, Peter Crowther [EMAIL PROTECTED] wrote: From: Gavan Hood [mailto:[EMAIL PROTECTED] My problem is the initialization. When I start tomcat it takes about two minutes to complete initialization and pegs my little processor at times, often it keeps it around 80%

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-16 Thread Rainer Jung
Shiby Maria John wrote: I was getting confused with setting the load balancer to be sticky_session and setting of lbfactor together. By session, i meant new sessions being created in the server. Are they mutually exclusive ? sticky_session: if a request carries a session id, either via

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-16 Thread Mladen Turk
Rainer Jung wrote: If there is no such worker, or the worker is nor usable, the request is handled like it wouldn't have a route in the session id, or no session at all. Also if there is directive sticky_session_force=true and the worker is not usable then the 503 is returned to the user.

Re: MultiContext War

2008-01-16 Thread Shelley
The maven-war-plugin allows for war overlays [1], which may accomplish what you need. [1] http://maven.apache.org/plugins/maven-war-plugin/overlays.html On Jan 15, 2008 6:04 AM, Peter Crowther [EMAIL PROTECTED] wrote: From: DCVer [mailto:[EMAIL PROTECTED] I am trying to merge 4 web

Underlying implementations of SOAPBody, SOAPElement etc.

2008-01-16 Thread Chris Mannion
Hi All I'm not sure this is exactly the place to be asking but I can't think of anywhere else so here goes. I have the same piece of code running on two different Tomcat installations, one Tomcat 5.0, the other Tomcat 5.5. The code calls and web service and produces a javax.xml.soap.SOAPMessage

Re: Can we use the balance_members attribute

2008-01-16 Thread Mohan2005
Thank you. So the only way you can do domain wide fail-over is by using the domain name given in worker.node1.domain=A in the Jboss server.xml's jvmRoute ? And there are no attributes in the workers.property file to do that ? Regards Mohan Mohan2005 wrote: Hello I saw this in

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-16 Thread Rainer Jung
Mladen Turk wrote: Rainer Jung wrote: If there is no such worker, or the worker is nor usable, the request is handled like it wouldn't have a route in the session id, or no session at all. Also if there is directive sticky_session_force=true and the worker is not usable then the 503 is

Re: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-16 Thread Martin Gainty
The connector URIEncoding defaults to ISO-88591 has its roots in the Multinational Character Set produced for Digital Equipment Corporation in 85 the original architecture did'nt handle 'other character sets contingency' mainly as DBCS did'nt figure in until Shift-JIS, GB2312 and Big5 code pages

Re: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-16 Thread Aleksandar Matijaca
I think that it boils down to - change everything to UTF-8 wherever you see that it is using something else... Perhaps there is a cookbook solution indicating in gory detail, how to setup Tomcat for internationalization, xml files, web.xml, config files, property files, any custom programming

Re: Cluster error, timeouts.

2008-01-16 Thread Filip Hanik - Dev Lists
ok, it looks like you might have ended up with a rogue socket, and what happens is that any message sent to that socket just gets lost in the ether, since it doesn't have any interest ops. There is a workaround for this, turn off keep alives all together, or implement a keep alive timeout

Re: One of my boxes, the cluster is not working anymore

2008-01-16 Thread Filip Hanik - Dev Lists
download wireshark, and trace udp packets, there must be something on your system, that is not broadcasting or receiving multicast packets Filip Randy Paries wrote: Filip So here is what i do not understand , and i appreciate your help. 1) I have completely swapped out the hardware.

RE: One of my boxes, the cluster is not working anymore

2008-01-16 Thread Siobhan
To anyone who has successfully used Comet: I've been trying to use Comet with Tomcat 6.0 for a few weeks now and have been unsuccessful. I'm so frustrated with the lack of documentation and the unusable example that was given with Tomcat. Are there any step-by-step instructions on how to

Re: Tomcat 6's nio protocol is slower than the regular HTTP/1.1 protocol

2008-01-16 Thread Filip Hanik - Dev Lists
that's expected, maybe not 30% but it all depends on the test. What the NIO allows you for, is to have more sockets than threads, and also being able to free up a worker thread when sending down static content to the client. Filip Shlomi Tsur wrote: Hi We are testing the new nio

Comet Development

2008-01-16 Thread Siobhan
To anyone who has successfully used Comet: I've been trying to use Comet with Tomcat 6.0 for a few weeks now and have been unsuccessful. I'm so frustrated with the lack of documentation and the unusable example that was given with Tomcat. Are there any step-by-step instructions on how to

Re: Comet Development

2008-01-16 Thread Peter Warren
This post (http://www.nabble.com/comet-questions-td14673697.html#a14673697) contains test code for both a client comet servlet. See if it helps. On Jan 16, 2008 10:35 AM, Siobhan [EMAIL PROTECTED] wrote: To anyone who has successfully used Comet: I've been trying to use Comet with Tomcat

Re: Question about apache - tomcat connector

2008-01-16 Thread german . a . luisi
Hello Christopher The redirection is in my hands. If I edit /etc/httpd/conf/httpd.conf: JkMount / worker1 I'm sent to Tomcat home page (root level /) --- /TOMCAT_HOME/webapps/ And the special headers are comming. But... if I edit /etc/httpd/conf/httpd.conf: JkMount /RS/* worker1 Trying to be

Container-based authentication and Shibboleth SSO - issue with redirecting login to Shibboleth after session timeout

2008-01-16 Thread Gary Weaver
Hello, We're having a timeout issue (probably configuration) with Tomcat 5.5.25 and Shibboleth 1.3f ( http://shibboleth.internet2.edu/ ). The environment is a dev server setup such that the Shibboleth SP is integrated with Apache 2.0.52 via mod_shib which is in turn using Tomcat (via

RE: Comet Development

2008-01-16 Thread Siobhan
Ok. But how is it all suppose to be put together? I want to use comet using jsp, but I don't see any jsp code. -Original Message- From: Peter Warren [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 12:42 PM To: Tomcat Users List Subject: Re: Comet Development This post

Servlet and DB2 databases (error 500 )

2008-01-16 Thread Joly M
Hello all, I'm trying to update a DB2 database via servlet pieces of data coming from an html form, but I'm getting an error message. Basically, everything works well when i make two separated programs : -One sending html forms data to the servlet and another one running a simple java class to

Tomcat 6 requires config to run on JSE 5?

2008-01-16 Thread gb1071nx
I recently got bit by this: http://marc.info/?t=10970926148r=1w=2 So I was looking for some statement somewhere on if that issue is now fixed in 5.0.x and/or if it's an issue in either 5.5 or 6.0, and what JVMs are 'safe' to use in 5.5 and 6.0. That's when I saw this: Tomcat 6.0

RE: Tomcat 6 requires config to run on JSE 5?

2008-01-16 Thread Caldarale, Charles R
From: gb1071nx [mailto:[EMAIL PROTECTED] Subject: Tomcat 6 requires config to run on JSE 5? So I was looking for some statement somewhere on if that issue is now fixed in 5.0.x and/or if it's an issue in either 5.5 or 6.0, 5.0 is now deprecated, so the first part of that question is

Tomcat 6 cluster

2008-01-16 Thread Hehl, Thomas
I've built tomcat 5 and 5.5 single servers a lot, but now I'm trying to build a tomcat 6 cluster for testing. The docs seem pretty straightforward (just uncomment the Cluster line) and I've followed it, but I'm getting errors. The error looks like:

RE: Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence)

2008-01-16 Thread uma_rk
Charles, Thanks for your patient responses. Unfortunately, the shared classloader does not work either. This is in summary what I am trying to do: I have 3 webapp contexts that use a number of commons libraries (say, digester, betwixt, beanutils). I do not want to pack these jarfiles in each

Re: secure JSessionID

2008-01-16 Thread GF
I believe if your session starts through HTTPS, the cookie will be marked as secure and it won't be sent if the user switches to non-secure HTTP. Maybe my question is stupid, but, is it possible to browse a site on HTTP and having just the JSESSIONID cookie sent on HTTPS to prevent session

Re: Question about apache - tomcat connector

2008-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 German, [EMAIL PROTECTED] wrote: | JkMount / worker1 | | And the special headers are coming. | | JkMount /RS/* worker1 | | BUT !!! in this case I lose the special headers. If it's working for / but not for other URLs, I don't believe there is any

Re: Tomcat 6 cluster

2008-01-16 Thread Filip Hanik - Dev Lists
it would be very strange to how the cluster would have anything to do with this :) the error you are getting is: Caused by: java.net.UnknownHostException: lexecfin the JDBC driver is unable to resolve that name, put the name in your hosts file, or put the IP address instead of hostname for

Re: secure JSessionID

2008-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 GF, GF wrote: | I believe if your session starts through HTTPS, the cookie will be | marked as secure and it won't be sent if the user switches to non-secure | HTTP. | | Maybe my question is stupid, but, is it possible to browse a site on | HTTP and

Re: JNDIRealm and password expiration

2008-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andris, Andris Eiduks wrote: | We use JNDIRealm for users authentication from Tomcat again OpenLDAP. | But users doesn't get notifications about password expiration. | | It is possible for current solution (Tomcat and OpenLDAP) ? | Or we must create

Re: Underlying implementations of SOAPBody, SOAPElement etc.

2008-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Chris Mannion wrote: | I'm not sure this is exactly the place to be asking but I can't think of | anywhere else so here goes. I have the same piece of code running on two | different Tomcat installations, one Tomcat 5.0, the other Tomcat

Re: Tomcat 6 requires config to run on JSE 5?

2008-01-16 Thread Mark Thomas
Caldarale, Charles R wrote: It's not really incorrect, but is certainly misleading. Chalk it up to programmers not being writers or editors. Now fixed in trunk. I'll get it ported to 6.0.x. Mark - To start a new topic,

URL Redirects from Root?

2008-01-16 Thread Justin Stanczak
Anyone have suggestions on setting up redirect for the ROOT folder? What I have is an old IIS server that I'm moving to Linux Tomcat. The IIS has all kinds of redirects. My first thought was to just create folders and index.jsp pages with a redirect tag, but is there a better way? -- All that is

Tomcat 4.1 question(viewing html pages)

2008-01-16 Thread ram . sriharsha
Hi, I have the following question: to view a html page from the webapps directory of Tomcat, what do I need to do? In Tomcat 5.5 all I had to do was create a sub-folder in webapps and put the html page inside it. Then using the right URL, I can access the page...This does not work in Tomcat 4.1

Tomcat worked before, now it doesn't

2008-01-16 Thread B McFee
Hi, My tomcat worked before but now for some reason the browser won't find the localhost. I am using the same address(http://localhost:8080 etc) Also for some reason it wont shut down when I type inbin/shutdown Here is the error message I get: Using CLASSPATH:

Re: Tomcat worked before, now it doesn't

2008-01-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 B, B McFee wrote: | Hi, My tomcat worked before but now for some reason the browser won't | find the localhost. I am using the same | address(http://localhost:8080 etc) Also for some reason it wont shut | down when I type inbin/shutdown Here is the

RE: PDF problem on IE from JSP

2008-01-16 Thread Jonadan
Pitre, Russell wrote: response.setContentLength(baos.size()); Hi, I added the size information as follows; response.setContentType(application/pdf;charset=UTF-8); // response.setHeader(Content-Disposition, inline;filename=\Document.pdf\);

Re: Tomcat 4.1 question(viewing html pages)

2008-01-16 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi, I have the following question: to view a html page from the webapps directory of Tomcat, what do I need to do? In Tomcat 5.5 all I had to do was create a sub-folder in webapps and put the html page inside it. Then using the right URL, I can access the page...This

RE: Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence)

2008-01-16 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence) I merely want the webapp classloader of each webapp1 to load classes not only from WEB-INF/{classes|lib} but also from

RE: Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence)

2008-01-16 Thread Caldarale, Charles R
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Subject: RE: Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence) O.k., try this undocumented capability. Inside each Context element that needs it, specify a Loader element with the following attributes:

Re: Tomcat 4.1 question(viewing html pages)

2008-01-16 Thread ram . sriharsha
Hi Mark, Thanks for your helpful comment..it solved the problem. Ram [EMAIL PROTECTED] wrote: Hi, I have the following question: to view a html page from the webapps directory of Tomcat, what do I need to do? In Tomcat 5.5 all I had to do was create a sub-folder in webapps and put the

RE: PDF problem on IE from JSP

2008-01-16 Thread Jonadan
Or IE does not like content or does not expect as valid connection. -- View this message in context: http://www.nabble.com/PDF-problem-on-IE-from-JSP-tp14879788p14899461.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Cluster Not Syncing After Restart

2008-01-16 Thread David Rees
I'm running a Tomcat 5.5.25 cluster with 2 nodes and the following cluster configuration in the Host/ element: Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster Valve className=org.apache.catalina.cluster.tcp.ReplicationValve

Tomcat 5.5 classloading behavior

2008-01-16 Thread Michel Betancourt
Hi, I am wondering if someone may be able to point me in the right direction here... after reviewing the J2SE spec, and the Servlet 2.4 Spec, its not too clear whether circular dependecies such as the one I am investigating below are legal or supported by Tomcat. Sun J2SE 5.0 classloader does

RE: How can I speed up and reduce load of initialization

2008-01-16 Thread Gavan Hood
My web app is very simple, two servlets already installed so no war file. Once it finally gets going it is very responsive, the initialization just takes forever... I have some war files coming, but I figure if I cannt get this basic initialization to work theres not much point.

username/password in DataSource configuration

2008-01-16 Thread [EMAIL PROTECTED]
Hi everyone, The connection to SQL server in my machine is by default so username and password are not needed to login. In this case, what should I specify in Resource.../ for username and password attributes? I tried not to include them but got an error of Login failed for user ''. The user is

Re: username/password in DataSource configuration

2008-01-16 Thread David Smith
What happens if you include them, but empty -- eg username= password=? I don't configure my datasources without a username and password, so I've never actually tried it myself but it's worth trying. --David [EMAIL PROTECTED] wrote: Hi everyone, The connection to SQL server in my machine is

RE: Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence)

2008-01-16 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Problems with VirtualWebappLoader (Was RE: Tomcat 6.0.x Classloader sequence) I see by looking back at the beginning of this thread that you already tried something similar. Now let's really go back to your original question: There are three

Re: PDF problem on IE from JSP

2008-01-16 Thread MrKimi
This solved a similar problem for me String mimeType = sc.getMimeType(filename); FileHelper helper = new FileHelper(); InputStream in = helper.fetch(filename, m_dir); response.setContentType(mimeType!=null?mimeType:text/html); response.setHeader(Pragma, cache);

Re: Tomcat 5.5 classloading behavior

2008-01-16 Thread Johnny Kewl
What language is this guy talking ha ha. This has got to be for a thesis or something or its attempted suicide ;) - Original Message - From: Michel Betancourt [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, January 17, 2008 3:33 AM Subject: Tomcat 5.5

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-16 Thread Shiby Maria John
Thanks a lot for the whole explanation. Let me plesase summarise to clear my understanding. So it all means that if sticky_session is true, then a session started in one machine will be routed to the same tomcat server always whatever the load factor is set. And for any other new sessions being

Re: Tomcat 5.5 classloading behavior

2008-01-16 Thread Gabe Wong
Johnny Kewl wrote: What language is this guy talking ha ha. This has got to be for a thesis or something or its attempted suicide ;) - Original Message - From: Michel Betancourt [EMAIL PROTECTED] To: users@tomcat.apache.org Sent: Thursday, January 17, 2008 3:33 AM Subject:

RE: Tomcat 5.5 classloading behavior

2008-01-16 Thread Caldarale, Charles R
From: Michel Betancourt [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5 classloading behavior its not too clear whether circular dependecies such as the one I am investigating below are legal or supported by Tomcat. Detection of circular dependencies is not the responsibility of any

Re: How can I preserve a directory on Deployment?

2008-01-16 Thread Jonadan
Option 1: Deploy as unpacked. Simple and I use! Option 2: If you deploy as war files, you may be able to read files inside wars using classloader resource stream readers. Greg Kontos wrote: When I redeploy my .war file I want this upload directory to remain unchanged. Is there a way

how to communicate between different tomcat servers

2008-01-16 Thread 印华
hi, all I build a web application based on tomcat. In my design, I devide the server side into several separate logic parts,and each part is deployed on a separate Tomcat server. e.g. the first tomcat server is to process login request, second tomcat server is to calculate user data, the third

RE: Tomcat Shutdown error transport error 202: bind failed

2008-01-16 Thread varunsuresh
I tired not giving $JPDA_OPTS to CATALINA_OPTS, but after that debugging wasnt hapenning at all. Caldarale, Charles R wrote: From: varunsuresh [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Shutdown error transport error 202: bind failed export CATALINA_OPTS=$CATALINA_OPTS