Re: Tomcat For Multiple Users

2005-02-28 Thread Ferad Zyulkyarov
Hi, Matt A similar thread of messages exists under the subject title how to make manager available to each virtual host. I suppose it may be halpful to you as well. And about your reply I would like to ask you if possible to help me configure the server.xml file. I have never modified this file,

Architecture for application and web server

2005-02-28 Thread varsha.agrawal
Hi, Could anyone let me know the link where I could find the architecture of how tomcat (application server) and apache (web server) interact using the connector. I need a detailed description of how the communication generally takes place between them. Regards. Confidentiality

jsvc.exec error on FC3

2005-02-28 Thread Chong Yu Meng
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm trying to configure jsvc to work on a Fedora Core 3 system running Blackdown Java 1.4.2. I managed to do a configure and compile jsvc all right. I used the Tomcat5.sh script to start up and shutdown jsvc. The daemon starts up ok, but when

Re: Pre-Compilation in Tomcat Jasper

2005-02-28 Thread Antony Paul
there is one jspc.bat in bin directory or an Ant task - JspC is available for pre compiling jsp. Using this you can compile JSP to Servlets and put it in WEB-INF/classes directory. It has parameter to generate the required web.xml mappings. Note : In Tomcat 4.1.x the task by default compiles all

Re: how to make manager available to each virtual host

2005-02-28 Thread alis asma alias
Try this: 1. go to catalina_home/conf/Catalina/ 2. open the first host folder . In my case, the first host is localhost. 3. Let's named the first host as localhost and the second host is X. So copy the content of the localhost into the X host. 4. restart the tomcat. 5. Try to access the

Tomcat clustering and NotSerializableException

2005-02-28 Thread Sng Wee Jim
Hi, I am using Tomcat 5.0.28 on MS Win2k server. After I have uncommented the Cluster element in server.xml, I get the following exceptions on the tomcat console for some actions that are using displaytag. Is it a tomcat bug, since org.apache.coyote.tomcat5.CoyoteRequestFacade is

Re: Startup

2005-02-28 Thread Mieke Banderas
Caldarale, Charles R said: 5.5.7 is also noticeably faster than 5.0.30, even on the 1.4.2 JRE. And how much faster is Tomcat 5.5.7 compared to old Tomcat 3.2/3.3? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Problems loading external stylesheet in Tomcat

2005-02-28 Thread Mieke Banderas
Anyone seen that the first hit of the day on a Tomcat website, doesn't load the external stylesheets? Reloading the page loads the stylesheets also. Can I enforce external stylesheets must be sent with the page somehow? I only seen this is in Safari so far, but it looks like a server problem, I'll

RE: Problems loading external stylesheet in Tomcat

2005-02-28 Thread Allistair Crossley
Hi, Tomcat doesn't care or know about stylesheets. Your resultant HTML should contain references to stylesheets thus: link rel=stylesheet href=/the/styles.css / This gets spat out as HTML (which it is) and the browser takes care of linking them in. Allistair. -Original Message-

RE: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-28 Thread Varley, Roger
If I can see your encrypted passwords, then I can see the code that decrypts them. And with that I have your passwords. It only adds a step to my effort to crack your security. Is that strictly true? If you use the method that is used to encrypt Unix passwords (google for JCrypt for

RE: Pre-Compilation in Tomcat Jasper

2005-02-28 Thread Sng Wee Jim
Hi Karthik, A build file I modified from the sample that comes with tomcat documentation, hope it's still working (I removed some private stuff from the original file) You will need to set the properties webapp.name (eg. myWebapp) and tomcat.home (eg. d:/tomcat) in the file build.properties and

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Dale, Matt
I would guess that this means you have an object in your session that does not implement the serializable interface. Ta Matt -Original Message- From: Sng Wee Jim [mailto:[EMAIL PROTECTED] Sent: 28 February 2005 09:21 To: tomcat-user@jakarta.apache.org Subject: Tomcat clustering and

Errors after upgrading Tomcat to 5.0.28

2005-02-28 Thread Varley, Roger
Hi I have upgraded from Tomcat 4.3.31 to 5.0.28. While testing, a previously running application now fails with the error org.apache.jasper.JasperException: Cannot find any information on property 'tcCheckBoxErrorMessage' in a bean of type 'uk.co.brakes.CustomerRegistrationFormData' Can

Re: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-28 Thread Parsons Technical Services
Tomcat must send the unencrypted password to the database. Thus it must decrypt it. The whole issue is that Tomcat must act like a user in the role of the database. So it must know the password. The best method is to lock the user away in a room, then it doesn't matter if the password is

RE: Errors after upgrading Tomcat to 5.0.28

2005-02-28 Thread Varley, Roger
I have upgraded from Tomcat 4.3.31 to 5.0.28. While testing, a previously running application now fails with the error org.apache.jasper.JasperException: Cannot find any information on property 'tcCheckBoxErrorMessage' in a bean of type 'uk.co.brakes.CustomerRegistrationFormData'

Re: Arabic encoding

2005-02-28 Thread Fadwa Barham
I tested many tomcat versions, I found until tomcat 4.1.31 no problems with arabic, but when I tried tomcat-4.1.18 and newer versions, I faced the same problem. - Original Message - From: Benson Margulies [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent:

Incorrect output using WDSC for iseries

2005-02-28 Thread Ilya . Nabedrik
Return Receipt Your Incorrect output using WDSC for iseries document:

Re: Arabic encoding

2005-02-28 Thread Fadwa Barham
As tomcat 4.1.31 is suitable for arabic and it seems until now that tomcat 4.1.31 solved the jndi datasource problems: Intermittent dB connection Failures and Random Connection closed Exceptions I will use tomcat 4.1.31 until I can configure the latest versions of tomcat. I feel not lucky

Re: Problems loading external stylesheet in Tomcat

2005-02-28 Thread haim
Mieke Banderas wrote: Anyone seen that the first hit of the day on a Tomcat website, doesn't load the external stylesheets? Reloading the page loads the stylesheets also. Can I enforce external stylesheets must be sent with the page somehow? I only seen this is in Safari so far, but it looks like

RE: TC (4), IIS isapi_redirector.dll

2005-02-28 Thread Matt
Actually, jk2 is officially UNSUPPORTED, so for a new install, I would *highly* recommend using jk_1.2.8.exe instead (unless, and until anyone can say why using a deprecated/abandoned jk2 is better than using the latest jk_1.2.8 - none yet? jk_1.2.9 is in current development as well). The

Ferad + Paul + ? (was Re: Tomcat For Multiple Users)

2005-02-28 Thread Matt
My last note did not mention that I added the Context.../ tag directly within the only HOST.../ tag in the 5.5 server.xml file (default, unless jk_1.2.8.exe does anything to it?). I put it directly under the first HOST... entry that points localhost to webapps. I could send you the whole

Configuration

2005-02-28 Thread Hernan Pezzano
Hi, I can´t instance a servlet from a jsp. I have the servlet under web-inf folder, and de jsp as same as web-inf level. I call to servlet with ACTION=ServletInfo after I press the SUBMIT button inside de jsp. it´s ok isn´t it? The result of the browser when I press SUBMIT is the page cannot

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Richard Mixon (qwest)
As Matt said its probably your applications objects. When we switched to clustering I was surprised at how many of my session objects I needed to add serializable to. But it was easy work and quickl done. HTH - Richard Dale, Matt wrote: I would guess that this means you have an object in your

RE: Architecture for application and web server

2005-02-28 Thread Richard Mixon (qwest)
JBoss just did a free webinar that covered the topic pretty well and had some nice PowerPoint slides. You can access the recorded webcast here: https://jboss.webex.com/jboss/onstage/tool/record/viewrecording1.php?E ventID=136098785 But basically, Apache uses Tomcat's AJP protocol to talk with

Re: how to make manager available to each virtual host

2005-02-28 Thread Ferad Zyulkyarov
Hi, I did all the steps that you have suggested me (I used testhost instead of X). But now wonder how to access the newly created virtual testhost through the manager application. Do I need make any modification in the server.xml file? Another question that eagers me is how to configure

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Randall Svancara
But do those session objects replicate to the other tomcat instances??? I have been testing session objects that implement java.io.serializable and I have not yet been able to see these objects when fail over occurs to another instance?? Thanks, Randall -Original Message- From: Richard

Re: Tomcat For Multiple Users

2005-02-28 Thread Ferad Zyulkyarov
Hi Matt, If possible may I see your server.xml file. Ferad Zyulkyarov - Original Message - From: Matt [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, February 28, 2005 4:30 PM Subject: Ferad + Paul + ? (was Re: Tomcat For Multiple Users) My last

Re: Configuration

2005-02-28 Thread sven morales
Hi, Yeah servlet classes do get put under yourwebapp/WEB-INF/classes or yourwebapp/WEB-INF/lib if it has been archived (jar). If you need to reference jsp hidden under yourwebapp/WEB-INF/ you need to make references to its path to get to it, modify your mapping in struts-config.xml. I always

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Richard Mixon (qwest)
Randall, I know that session replication works in Tomcat 5.5.7 and it may also works in 5.0.x (no experience). But to get failover restart to work properly (i.e. restarting a failed node) I had to use Tomcat 5.5.7 with a developer-supplied patch. This patch will be available with Tomcat 5.5.8.

RE: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-28 Thread George Sexton
Your argument about short duration attacks is optimistic at best. Most systems are so poorly secured and monitored, that breakins aren't detected anywhere near that quickly. Let's face reality here. The only safe way to hide the JDBC information is to have the SECRET (encryption password) not

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Randall Svancara
ThanksI will look at 5.5.8. I know it is in alpha status right now, but I am just testing and by the time I deploy my application, 5.5.8 will probably be stable. Thanks Randall -Original Message- From: Richard Mixon (qwest) [mailto:[EMAIL PROTECTED] Sent: Monday, February 28,

Re: TC (4), IIS isapi_redirector.dll

2005-02-28 Thread Fadil
Sorry, I 'm newbie in IIS administration. And I don't know what do you mean by : 1) Add an ISAPI filter for .jsp pages to be handled by Tomcat or 2) Set your Application Configuration for jakarta Someone can help me ? I'm using Windows Server 2003/IIS6 with tomcat 5.0.28. Do I need to

Re: TC (4), IIS isapi_redirector.dll

2005-02-28 Thread Matt
If you're not proficient with IIS, and are not married to it for any other reason, I'd HIGHLY recommend Apache - if you have to learn something, then learn something worthwhile!!! ;^) Otherwise, those two steps are likely to be found in IIS docs, but at least one of them is a step in the various

Re: TC (4), IIS isapi_redirector.dll

2005-02-28 Thread Fadil
Thanks a lot I'll test this ASAP. Unfortunately, I must setup IIS6 / Tomcat because it's my production environement and I've no choice : I don't want to learn dotnet !! I'm a beginner J2EE developper. On Mon, 28 Feb 2005 11:36:25 -0500 (EST), Matt [EMAIL PROTECTED] wrote: If you're not

Re: TC (4), IIS isapi_redirector.dll

2005-02-28 Thread Matt
Something else you may want to look into (and I'd LOVE to hear feedback on from this list?) is the following: http://jspisapi.neurospeech.com/ We are now using this on our production IIS 6 server, mostly due to the conflciting, or at least the lack of concise and authoratative, docs out there

PDFs with IE - a fix

2005-02-28 Thread Larry Meadors
Sorry for the cross-post, but if anyone is having issues serving up pdfs to IE users over ssl, here is a fix for the browser: === [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings] BypassSSLNoCacheCheck=dword:0001 === It took us a few days to find this, so hopefully this

skipping state transfer. No members active in cluster group

2005-02-28 Thread Randall Svancara
I have a problem in my tomcat logs. I am using tomcat 5.5.7 and whenever I start up tomcat for the first time, I receive this error message. INFO: Manager[/testapp], skipping state transfer. No members active in cluster group. After the delta manager starts, I receive this error. Should I be

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Dale, Matt
These objects will replicate to other instances when ALL objects in the session are serializable. I suspect that nothing will be replicated if there is non serializable objects in there. Ta Matt -Original Message- From: Randall Svancara [mailto:[EMAIL PROTECTED] Sent: 28 February 2005

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Randall Svancara
well apparently my problem is that my cluster is not working properly. I can see the multicast broadcast messages on my network, however the objects do not seem to be replicating. The only thing I have in my logs is: INFO: Manager[/testapp], skipping state transfer. No members active in cluster

Re: Question for Tomcat Developers - How to Plug In Encryption for JDBC passwords

2005-02-28 Thread Shankar Unni
George Sexton wrote: If you really want to do this, then you will need to have your application startup have a method that permits an operator to enter in the password for the JDBC information at startup. Whatever - the key is to be able to insert an application-defined processing step between

RE: Startup

2005-02-28 Thread Caldarale, Charles R
From: Mieke Banderas [mailto:[EMAIL PROTECTED] Subject: Re: Startup And how much faster is Tomcat 5.5.7 compared to old Tomcat 3.2/3.3? I don't know of any direct comparisons between 5.5.x and 3.3.x, probably because no one really cares much about 3.3.x anymore. I'd suggest reading Peter

Need access to classes outside Tomcat for JSPs

2005-02-28 Thread Dan
Classpath problem. Really frustrating. I'm trying to duplicate a setup on system A to system B and can't get it working. My problem is when I access the JSP page, Tomcat complains of a ClassNotFound exception. This happens with all of my custom classes. If I create a simple JSP page with no

Recommendation for applet signing?

2005-02-28 Thread Glenn Parsons
Hello All, We have a need to sign an applet for a project, but would like to test a signed applet first. Can anyone recommend a reasonably priced well reputable signing agent that you may have good experience in dealing with? Thanks, Glenn -- This message has been scanned for viruses and

Is it possible to use a parameter other than JSESSIONID to maintain session?

2005-02-28 Thread Garth Patil
Hi, I'm currently working on a server application using Tomcat, and I've run into a snag. The clients for the application are custom HTTP clients (a provider's custom client that won't be changing on our behalf) that do not have the ability to persist the JSESSIONID in the request. However, there

Re: Is it possible to use a parameter other than JSESSIONID to maintain session?

2005-02-28 Thread Tim Funk
You *might* be able to recompile tomcat with only changing: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/Globals.java -Tim Garth Patil wrote: Hi, I'm currently working on a server application using Tomcat, and I've run into a snag. The clients for the application are custom HTTP

Installation problems on Windows

2005-02-28 Thread shenty
I hope this message makes it to the list (my Welcome email didn't include the examples of the proper email command syntax, only the headings...?) The Tomcat 5.x binary installer for Windows hangs at the point where it says it's using the dvm.dll. This is true under all the following

Re: Installation problems on Windows

2005-02-28 Thread Jason Bainbridge
On Mon, 28 Feb 2005 17:26:31 -0800, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I hope this message makes it to the list (my Welcome email didn't include the examples of the proper email command syntax, only the headings...?) The Tomcat 5.x binary installer for Windows hangs at the point

Re: how to make manager available to each virtual host

2005-02-28 Thread James T. Studebaker
Bingo!! That did it. Thanks. Thank you James T. Studebaker - Original Message - From: alis asma alias [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Monday, February 28, 2005 4:12 AM Subject: Re: how to make manager available to each virtual host Try

Re: errors with IE

2005-02-28 Thread Charles Patterson
Go to http://www.download.com and get Spybot or Adaware, either can remove mysearch, and any other spyware that IE has so lovingly installed into your computer. After you remove the spyware, switch to Firefox to prevent ActiveX from installing any additional malware (or worse) into your

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Sng Wee Jim
But the stacktrace says java.io.NotSerializableException: org.apache.coyote.tomcat5.CoyoteRequestFacade at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:13 32) at Since

Re: jsvc.exec error on FC3

2005-02-28 Thread Bill Barker
Chong Yu Meng [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm trying to configure jsvc to work on a Fedora Core 3 system running Blackdown Java 1.4.2. I managed to do a configure and compile jsvc all right. I used the

RE: Tomcat clustering and NotSerializableException

2005-02-28 Thread Caldarale, Charles R
From: Sng Wee Jim [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat clustering and NotSerializableException But the stacktrace says java.io.NotSerializableException: org.apache.coyote.tomcat5.CoyoteRequestFacade Since CoyoteRequestFacade is a tomcat class, I assume it has to be fixed by

Re: How to send hidden variables to next page

2005-02-28 Thread U K Laxmi
Thanks David for the reply. Yes i could able to submit using javascript. Usually i use submit button. If submit button not available, i'm using javascript submit as mentioned by the syntax. Table problem, still finding ways to do it. Going thro' tutorials on HTML. --- David da Guia

What is the best way to create a secure manual-submission authentication form?

2005-02-28 Thread Chuck Williams
I'm using form-based authentication in Tomcat 5.5 and would like to have a user-initiated login action, in addition to container-initiated logins triggered by security-constraints. My site implements both personalization for all pages and security for sensitive pages. I'd like to have a