Re: Building connector JK-1.2.11

2005-05-05 Thread Mladen Turk
Dan Baggott wrote: Hi, I'm attempting to build JK-1.2.11 on Solaris 2.8 (sparc) for use with Apache 1.3. There was a thread on the same subject but for the Apache 2 with the same problem. The reason why build fails is because the Solaris 8 make is some sort of BSD make that does not populate

Re: strange exception - need advise

2005-05-05 Thread Igor
Hello! I think, that when exception occurs, something has already been written to output stream. Tomcat tries to redirect to error page, but it cannot do it, because something was written. Thank you, Igor - Original Message - From: Guy Katz [EMAIL PROTECTED] To: Tomcat Users List

RE: strange exception - need advise

2005-05-05 Thread Guy Katz
thanks. so what should i look for to solve this? -Original Message- From: Igor [mailto:[EMAIL PROTECTED] Sent: Thursday, May 05, 2005 11:41 AM To: tomcat-user@jakarta.apache.org Subject: Re: strange exception - need advise Hello! I think, that when exception occurs, something has

upgrading a servlet

2005-05-05 Thread Zohar Amir
Hello, I'm using Tomcat 5.0.28 on Red Hat linux. What is the correct procedure to deploy a new version of the same servlet? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

load-on-startup causes application to be deployed twice in tomcat 5.5.9

2005-05-05 Thread Guy Katz
hi; i have send a couple of emails regarding this but now i am more focused on the problem. my application was deployed twice instead of once on tomcat startup. i saw that the trouble seem to come from the load-on-startup tag in the web.xml (when its absent the problem is gone) is this a known

Pass parameter to the JVM at startup

2005-05-05 Thread =?iso-8859-1?Q?Ac=E1cio_Furtado_Costa?=
Hi ALL, Does anyone know how to pass one parameter by Tomcat 5.0.28 to the starts JVM? I need to pass the - server parameter to the JVM (SUN 1.4.2) but I don´t know where I put this to call JVM. Thanks Acacio Furtado Costa Pesquisa e Tecnologia GIA - Magnesita S/A *

Re: Pass parameter to the JVM at startup

2005-05-05 Thread Michael Echerer
Acácio Furtado Costa wrote: Hi ALL, Does anyone know how to pass one parameter by Tomcat 5.0.28 to the starts JVM? I need to pass the - server parameter to the JVM (SUN 1.4.2) but I don´t know where I put this to call JVM. Use the JAVA_OPTS variable in catalina.sh or .bat

RE: Pass parameter to the JVM at startup

2005-05-05 Thread Allistair Crossley
Hi, If you start with the .bat or .sh scripts, you will be able to add them in this after the call to the java executable. If you use the Windows service, you'd need to modify the service.bat file in a similar fashion and install the service manually. OR, you could perhaps look for the

tomcat replication question

2005-05-05 Thread sandy kumar
Hi, I am new to tomcat replication and trying to understand the basic functionality and have few questions. Am I right in thinking that if I have added an object (say Cart) to a session , and if replication is configured, then this object will be replicated to the target? What abouit changes

Re: upgrading a servlet

2005-05-05 Thread Michael Echerer
Zohar Amir wrote: Hello, I'm using Tomcat 5.0.28 on Red Hat linux. What is the correct procedure to deploy a new version of the same servlet? Just build redeploy the webapp containing the new servlet, if you don't need the new and old version at the same time. servlet-mapping in your web.xml

socket error

2005-05-05 Thread Maarten Janssen
Hi, Does anybody know where his is coming from? java.net.SocketTimeoutException: Read timed out Seems not al the clients have the problem with using my application (Tomcat 5.5) but one has the problem producing above errors. Any ideas?? Maarten -- No virus found in this outgoing message.

Re: Loading JAR changes without redeploy.

2005-05-05 Thread Michael Echerer
Eduardo Lobo wrote: Hi, I have this problem: I need to make a web application that read some resources(xml files) from JAR files (located in the shared/lib folder), but I need to update constantly the JARs content, then I need that the web application always gets the last JAR files

Re: upgrading a servlet

2005-05-05 Thread Nikola Milutinovic
Zohar Amir wrote: Hello, I'm using Tomcat 5.0.28 on Red Hat linux. What is the correct procedure to deploy a new version of the same servlet? If the servlet is in WEB-INF/classes/... upload the class file. If it is in a JAR in WEB-INF/lib/... upload the whole JAR. The reload the web

Re: POST not working

2005-05-05 Thread Christian Dechery
I don't get any response, no errors presented, I just realised that nothing is being POSTed. Only GET works. Mark Thomas wrote: What response do you get when you try to POST? Mark Christian Dechery wrote: Hi everyone, hope u can help me solve this one. It's at least weird. I have a 4.1.3

Re: strange exception - need advise

2005-05-05 Thread Igor
Hello! If you want to locate line which causes this error, you can insert loggers on your page. This way you could determine, which line is the reason of error, and what should be fixed. The other possible solution is to set response.setBufferSize(... large number ...); for example,

RE: POST not working

2005-05-05 Thread Allistair Crossley
what are you posting to? what does your html form tag look like, have you specified multipart? -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED] Sent: 05 May 2005 13:02 To: Tomcat Users List Subject: Re: POST not working I don't get any response, no errors

Re: POST not working

2005-05-05 Thread Christian Dechery
It's a regular JSP page with nothing to it. This application (SCA) works perfectly, I've been using it for two years on several projects.. Suddenly all the POSTs on the server stopped working BUT the main application (the huge intranet thing). It's not any error in MY application (or any

Re: POST not working

2005-05-05 Thread Christian Dechery
As a matter of fact I am. Is that the cause? Ah, I forgot to mention, we have the exact same setup (a mirror-development server) here, but running on Tomcat 5 and it works fine. Should we upgrade? Allistair Crossley wrote: are you running IE6 and NTLM-authenticated applications?

RE: POST not working

2005-05-05 Thread Allistair Crossley
well, i'm not entirely sure, but i remember having this problem last year when using jCIFs for authentication and IE6. we solved it by ensuring we instructed tomcat not to attempt authentication, and allowing therefore IIS to pass thru the remote user login this is done on the AJP Connector

RE: POST not working

2005-05-05 Thread Allistair Crossley
are you running IE6 and NTLM-authenticated applications? -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED] Sent: 05 May 2005 13:16 To: Tomcat Users List Subject: Re: POST not working It's a regular JSP page with nothing to it. This application (SCA) works

RE: POST not working

2005-05-05 Thread Jimmy Ray
We had the same issue when we tried to change JCIFS or disable it. It went away when the session timed out or was invalidated. Regards, Jimmy Ray --- Allistair Crossley [EMAIL PROTECTED] wrote: well, i'm not entirely sure, but i remember having this problem last year when using jCIFs for

Re: POST not working

2005-05-05 Thread Christian Dechery
I've checked it and it's exactly as Allistair said. I visited the URL he provided and the information there goes perfect with my case. Simple solution: stop using Ctrl+N to open a new browser window. Click on the icon to open a whole new IE session and the problem will go away. At least it

RE: POST not working

2005-05-05 Thread Allistair Crossley
Hi, Just a note that you do not actually need to use jCIFS for acquiring the desktop windows login of a user if you use IIS + Windows Integrated Security and tomcatAuthentication=false on the AJP Connector. We do it this way instead of jCIFS and can open windows with CTRL+N without an issue

Re: socket error

2005-05-05 Thread Anoop kumar V
Although not 100% sure - I can bet it is your database /db connection that is pushing this error!! Anoop On 5/5/05, Maarten Janssen [EMAIL PROTECTED] wrote: Hi, Does anybody know where his is coming from? java.net.SocketTimeoutException: Read timed out Seems not al the clients have

No action instance for path

2005-05-05 Thread g k
Can anyone advise - i get the following error when i try to invoke JSP. HTTP Status 500 - No action instance for path /OrderMessage could be created type Status report message No action instance for path /OrderMessage

RE: No action instance for path

2005-05-05 Thread Raghupathy,Gurumoorthy
Is that struts ? -Original Message- From: g k [mailto:[EMAIL PROTECTED] Sent: 05 May 2005 15:51 To: tomcat-user@jakarta.apache.org Subject: No action instance for path Can anyone advise - i get the following error when i try to invoke JSP. HTTP Status 500 - No action instance for

RE: No action instance for path

2005-05-05 Thread Raghupathy,Gurumoorthy
Are you using struts ? -Original Message- From: g k [mailto:[EMAIL PROTECTED] Sent: 05 May 2005 15:51 To: tomcat-user@jakarta.apache.org Subject: No action instance for path Can anyone advise - i get the following error when i try to invoke JSP. HTTP Status 500 - No action instance

[OT] RE: No action instance for path

2005-05-05 Thread Allistair Crossley
Hi, This is a Struts-user list mailing. The error means your struts-config.xml file does not declare an action mapping for OrderMessage. Check your mappings. Allistair. -Original Message- From: g k [mailto:[EMAIL PROTECTED] Sent: 05 May 2005 15:51 To: tomcat-user@jakarta.apache.org

RE: No action instance for path

2005-05-05 Thread g k
Yes From: Raghupathy,Gurumoorthy [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Subject: RE: No action instance for path Date: Thu, 5 May 2005 15:56:14 +0100 Are you using struts ? -Original Message- From:

Re: Network Disk Not Exist Under Tomcat-5.5.9

2005-05-05 Thread Jason Bainbridge
On 5/5/05, NanFei Wang [EMAIL PROTECTED] wrote: --- If I use Tomcat-5.0.18 working in Window2000 and start by startup.bat in another Dos Window after log-in with administrator, then the test.jsp will get Y:\ exists()=true This works as you are running Tomcat

RE: No action instance for path

2005-05-05 Thread Raghupathy,Gurumoorthy
Check your jsp for html:form tag .. And in the action=/OrderMessage of that tag .. Find the corresponding action path in struts config.xml If this is the case check the type and make sure that class is available Many thanks Guru -Original Message- From: g k [mailto:[EMAIL PROTECTED]

Re: How to stop Session Tracking, or stop extraction of ;jsessionid=XXX from requested URL

2005-05-05 Thread Jedidiah Northridge
On 5/4/05, Tim Funk [EMAIL PROTECTED] wrote: The easiest thing to do is to change all your jsp's to have the following code. [EMAIL PROTECTED] session='false'% Hi Tim, Thanks for your response. My understanding of the @page session='false' directive is that it is useful because, under

Re: Pass parameter to the JVM at startup

2005-05-05 Thread Matt Galvin
Use the JAVA_OPTS variable in catalina.sh or .bat You can also increase the memory settings here, e.g. -server -Xms512m -Xmx1024m or whatever other jvm options you need. I am also trying to do this but it doesn't seem to work, well there is no indication that it did. I also tried setting

Re: How do I redirect all tomcat ports to use SSL?

2005-05-05 Thread Fabian Pena
This is an example security-constraint web-resource-collection web-resource-namesecurePages/web-resource-name url-pattern/index.jsp/url-pattern http-methodGET/http-method http-methodPOST/http-method /web-resource-collection auth-constraint

Newbie question

2005-05-05 Thread Mário Gamito
Hi, Sorry for this newbie question :( I've just installed Tomcat 5.5 for Linux and so far so good, except... that i've installed also Tomcat Administration module (not the Manager one) and it asks me for a login and a password and i can't find how to define it. I see a file named admin.xml in

Re: Newbie question

2005-05-05 Thread Markus Schönhaber
Am Donnerstag, 5. Mai 2005 20:30 schrieb Mário Gamito: I've just installed Tomcat 5.5 for Linux and so far so good, except... that i've installed also Tomcat Administration module (not the Manager one) and it asks me for a login and a password and i can't find how to define it. I see a file

Re: Newbie question

2005-05-05 Thread Lutz Zetzsche
Hi Mário, Am Donnerstag, 5. Mai 2005 20:30 schrieb Mário Gamito: Hi, Sorry for this newbie question :( I've just installed Tomcat 5.5 for Linux and so far so good, except... that i've installed also Tomcat Administration module (not the Manager one) and it asks me for a login and a

Re: Newbie question

2005-05-05 Thread Mott Leroy
See - http://jakarta.apache.org/tomcat/tomcat-5.5-doc/manager-howto.html#Configuring%20Manager%20Application%20Access From what I remember, admin access follows that same rules as manager app access, so the instructions on that page are the same except the role should be admin not manager.

RE: upgrading a servlet

2005-05-05 Thread Alex Pure
I need help with this problem please .. Apache Tomcat/4.0.1 - HTTP Status 404 - /servlet/utdHttpController type Status report message /servlet/utdHttpController description The requested resource (/servlet/utdHttpController) is not available. -Mensaje original- De:

javax.servlet.ServletException­: Wrapper cannot find servlet class util.t2 or a

2005-05-05 Thread Hari Om
I am using JBoss 4.0.1sp1 on SuSE Linux 9.0 System. I have a simplest WEB APPLICATION and access it using http://localhost:8080/mhin/adm­in.html and here is my Directory structure... /jboss/server/default/deploy/m­hin.war -- this is a directory. /jboss/server/default/deploy/m­hin.war/admin.html

Configuring Separate Instances Using CATALINA_BASE

2005-05-05 Thread Bill Winspur
I'm experimenting with creating a separate Tiomcat instance from the distribution, using $CATALINA_BASE, with the goal of setting up an instance that provides the admin and manager apps distributed with Tomcat, plus my own applications. At present progress is slow because I am unsure of how to

javax.servlet.ServletException­: Wrapper cannot find servlet class util.t2 or a

2005-05-05 Thread Hari Om
I am using JBoss 4.0.1sp1 on SuSE Linux 9.0 System. I have a simplest WEB APPLICATION and access it using http://localhost:8080/mhin/adm­in.html and here is my Directory structure... /jboss/server/default/deploy/m­hin.war -- this is a directory. /jboss/server/default/deploy/m­hin.war/admin.html

Re: Configuring Separate Instances Using CATALINA_BASE

2005-05-05 Thread Peter Rossbach
Hey Bill, here my simple catalina.base installation description: install jakarta-tomcat-5.5.x mkdir node1 cd node1 mkdir bin conf temp logs webapps work cd bin # windows edit startup.bat set CATALINA_BASE=.. set [EMAIL PROTECTED]@ set CATALINA_OPTS=-server [EMAIL PROTECTED]@m [EMAIL PROTECTED]@m

javax.servlet.ServletException­: Wrapper cannot find servlet class util.t2 or

2005-05-05 Thread Chirag Bhai
I am using JBoss 4.0.1sp1 on SuSE Linux 9.0 System. I have a simplest WEB APPLICATION and access it using http://localhost:8080/mhin/adm­in.html and here is my Directory structure... /jboss/server/default/deploy/m­hin.war -- this is a directory. /jboss/server/default/deploy/m­hin.war/admin.html

Common vs. Shared

2005-05-05 Thread Michael Oliver
I am quite sure this has been asked and answered but I googled a bunch of combinations and didnt find the answer, so I am sure someone here will know and share. What is the difference between the /common/ and /shared/ I understand this is a class loader issue, and I have read the

Re: Common vs. Shared

2005-05-05 Thread Larry Meadors
Common is available globally to the server, and to all of the web-applications. Shared is available globally, but only to all of the web-applications. IMO, both are bad places to put stuff unless you *really need* to. Larry On 5/5/05, Michael Oliver [EMAIL PROTECTED] wrote: I am quite

context.xml created by Ant not discovered by Tomcat

2005-05-05 Thread Hollerman Geralyn M
I am attempting to get some JDBC parameters passed from Ant to a Tomcat context.xml file. The idea is for an Ant target to create a file called context.xml and place it in catalina_home/webapps/my webapp/META-INF/ - and THERE IS NO .war FILE INVOLVED. Upon startup, Tomcat will discover the file

RE: Common vs. Shared

2005-05-05 Thread Caldarale, Charles R
From: Michael Oliver [mailto:[EMAIL PROTECTED] Subject: Common vs. Shared What is the difference between the /common/ and /shared/ I understand this is a class loader issue, and I have read the comments in catalina.properties. But have you read the actual documentation? In

Re: context.xml created by Ant not discovered by Tomcat

2005-05-05 Thread Matt Galvin
So, IS there a way to do what I'm trying to do? Yes, there is, I usually put them in: $CATALINA_HOME/conf/Catalina/localhost/myapp.xml Could you post the contents of your context file? Maybe something needs to be tweak possibly. Matt

RE: Common vs. Shared

2005-05-05 Thread Michael Oliver
Oh I completely agree it is bad practice, but alas I must deal with applications that are not my design and dealing with these conflicts is a royal pain in my non-royal ass. Michael Oliver CTO Alarius Systems LLC 6800 E. Lake Mead Blvd, #1096 Las Vegas, NV 89156 Phone:(702)643-7425

Users being logged out

2005-05-05 Thread Murray, Michol
After I finish committing my changes for creating a user using the Tomcat Web server administration tool, if I have users logged in to my site I notice that all the users are logged out. What would cause this? Michol Murray Software Engineer SYS Technologies 858-244-7446

Re: How do I redirect all tomcat ports to use SSL?

2005-05-05 Thread Bob Feretich
The below security-constraint will make Tomcat require the use of SSL. To have Tomcat automaitcally redirect for SSL, you must code redirectPort=443 as part of your port=80 connector definition in the server.xml file. Regards, Bob Feretich Subject: Re: How do I redirect all tomcat ports to use

Re: tomcat stopped

2005-05-05 Thread Fred Cook
Hi Wendy, We got it working, there were 2 problems. 1) It took 10 seconds for the machine to turn off Tomcat (yes I know ..old hardware) after shutdown.sh was run. And the much more interesting. 2) We had the CLASSPATH set to point to servlet.jar (needed to compile the test program). This was

Re: Pass parameter to the JVM at startup

2005-05-05 Thread Michael Echerer
Shouldn't it have the -server in there if it is running in server mode? How can I tell that the JVM is actually running in server mode? well, not sure if you can. I'd try java.lang.System.getProperties() or something... At least on a Solaris machine you could figure out whether you are

Re: upgrading a servlet

2005-05-05 Thread Michael Echerer
Alex Pure wrote: I need help with this problem please .. Apache Tomcat/4.0.1 - HTTP Status 404 - /servlet/utdHttpController type Status report message /servlet/utdHttpController description The requested resource (/servlet/utdHttpController) is not available. Either

Re: Serving files using tomcat

2005-05-05 Thread Steve Vanspall
Ok thanks, Well I have worked it out, it turns out I needed the header response.setHeader(Content-disposition,attachment; filename=\report.pdf\); added, this made it work. So now the problem id that Internet Explorer flashes up the Open, Save, Cance dialog box twice. Once the second one

Directory Creation in Servlet Question

2005-05-05 Thread Joe Hertz
I have a Struts Servlet that executes the code snippet below to create a directory. Under Windows, this works great, the directory showing up under C:\TOMCAT4\WEBAPPS\ Under Suze Linux, it doesn't get created, and it's not a permission problem. At least not under the webapps directory. The

Re: tomcat stopped

2005-05-05 Thread Wendy Smoak
From: Fred Cook [EMAIL PROTECTED] 2) We had the CLASSPATH set to point to servlet.jar (needed to compile the test program). This was the main problem, which might bring up a versioning question. We are running RH 8.0 on this machine with Tomcat 5.5.7 and apache 2.0.53. What is the correct