RE: Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-24 Thread Seetha Rao
Hi Chris, thanks for the comments. I thought since we have singleton class and creating a connection object there, we will be reusing the same connection object for all database operations. May be my thinking is not correct. Do you suggest I just create the DataSource object in the private

sendRedirect with response wrapper not working

2006-07-24 Thread Mani Balasubramani
Hi, Here is the scenario. In my filter I do the following doFilter(){ MyRequestWrapper reqWrapper = new MyRequestWrapper(servletRequest); MyResponseWrapper respWrapper = new MyResponseWrapper(servletResponse); //get cookie from request and decrypt it.

Restart web app

2006-07-24 Thread asaf.lahav
Where can I find code to perform a restart (or stop and then start) of a web application? Thank in advance, Asaf - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Restart web app

2006-07-24 Thread Shinya Koizumi
Where can I find code to perform a restart (or stop and then start) of a web application? Thank in advance, Asaf You mean from the batch file? if so can you just call stop and start scripts they will do the trick, no? SK

Re: SSL not working

2006-07-24 Thread Matus Nemcik
Thanks for your reply, you was right, the problem was with the account ... now everything is working great!!! Thanks again!! On 7/24/06, Mladen Turk [EMAIL PROTECTED] wrote: Matúš Nemčík wrote: Hi, i have installed the latest version of Apache Tomcat 5.5.17 on Windows XP platform using the

Re: Restart web app

2006-07-24 Thread Florian Hopf
Hi, asaf.lahav schrieb: Where can I find code to perform a restart (or stop and then start) of a web application? There is an Ant task which performs a reload using the manager application. It's located in package org.apache.catalina.ant.ReloadTask. If you want to perform the reload

Re: Tomcat as a proxy server

2006-07-24 Thread Pid
McHugh, Jason wrote: I want to run straight tomcat as a proxy server. (I understand that there are a variety of other applications out there that may perform better and offer more features. I also understand that I could front tomcat with apache and do some sort of rewriting solution.

tuning tomcat for push applications

2006-07-24 Thread Rajeev Jha
Hi Folks Past couple of months i was working to make tomcat perform with a push application. I have posted the results of our effort @ http://rjha94.blogspot.com/ I would welcome your comments and suggestions Thanks - Rajeev.

java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
Hi I'm using JOTM for transaction management with Tomcat 5.0.28. I have all the required jar files as given in http://jotm.objectweb.org/current/jotm/doc/howto-tomcat-jotm.html The JNDI look up throws the following exception: Here is the code: Context ctx = new InitialContext(); UserTransaction

Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Vivek Mohan
try using java:comp/env.UserTransaction for JNDI lookup. -- Vivek. On 7/24/06, Seetha Rao [EMAIL PROTECTED] wrote: Hi I'm using JOTM for transaction management with Tomcat 5.0.28. I have all the required jar files as given in http://jotm.objectweb.org/current/jotm/doc/howto-tomcat-jotm.html

Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Vivek Mohan
sorry, I meant, java:comp/env/UserTransaction -- Vivek. On 7/24/06, Vivek Mohan [EMAIL PROTECTED] wrote: try using java:comp/env.UserTransaction for JNDI lookup. -- Vivek. On 7/24/06, Seetha Rao [EMAIL PROTECTED] wrote: Hi I'm using JOTM for transaction management with Tomcat 5.0.28. I have

Re: Restart web app

2006-07-24 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread.

RE: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
Thanks, but got the same exception. -Original Message- From: Vivek Mohan [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 4:16 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28 sorry, I meant,

Some tomcat config questions

2006-07-24 Thread Stuart Fox
Hi First post so be kind :) I've just run a nessus scan against one of our servers running tomcat 4.1.30 standalone on linux and its highlighed a few problems that I cant find config options for. First off is weak ssl ciphers, I've currently got protocol=SSLv3

Re: Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-24 Thread David Smith
Best practice is to store the DataSource, not the connections in your singelton class. Then get a connection, perform your queries, and close the connection immediately. The pool will take care of managing the connections including creating new ones when existing connections die which

Re: Can't figure out directory structure (again:-(

2006-07-24 Thread David Smith
According to the configurations you posted, the full path of your login servlet is /smsinfo/smsinfo/login. I doubt that was what you were really after. The URL mapping in web.xml is relative to the webapp, not the root. Also, if this is tomcat 5.x, you should put your Context definition in

Re: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Pid
Have you got useNaming=true enabled in your context.xml, or server.xml Context element? Seetha Rao wrote: Thanks, but got the same exception. -Original Message- From: Vivek Mohan [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 4:16 PM To: Tomcat Users List; [EMAIL

Re: Some tomcat config questions

2006-07-24 Thread Mark Thomas
Stuart Fox wrote: ciphers=SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA,SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA You need 4.1.32 for the ciphers parameter to take effect. Second it says I have UserDir enabled (like apache mod_userdir I assume) but again I cant find a way to disable it Remove

Re: Some tomcat config questions

2006-07-24 Thread David Smith
Third if I telnet to port 80 and issue GET / HTTP/1.0 the Location header contain the local ip address not the public one, It's sat behind a firewall. I tried the server=external ip in each connector but I still get the internal ip address returned, any way to fix it? If you want to bind

RE: java:comp/UserTransaction NameNotFoundException Tomcat 5.0.28

2006-07-24 Thread Seetha Rao
I don't have that enabled. Isn't it by default set to true? Here is my context element. Context path=/virtualcbp docBase=virtualcbp debug=5 reloadable=true crossContext=true -Original Message- From: Pid [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 5:07 PM To: Tomcat Users List

RE: Tomcat fails to refresh connections when mySQL server on linux is shutdown and restarted

2006-07-24 Thread Seetha Rao
Thanks David for the inputs. I will do the same. This might fix my original problem aslo, I will try. -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 5:00 PM To: Tomcat Users List Subject: Re: Tomcat fails to refresh connections when mySQL

Re: Performance issue with jakarta POI

2006-07-24 Thread Ronald Klop
This has nothing todo with Tomcat, but I propose you make a standalone application doing this and then using a profiler on it. Ronald. On Thu Jul 20 15:17:34 CEST 2006 Tomcat Users List users@tomcat.apache.org wrote: Hi, I am building xls with jakarta POI by fetching the records from

Forrest war file problem with Tomcat!

2006-07-24 Thread G.Verhaag
Dear Tomcat users, I'm experiencing trouble using Tomcat after having deployed a war file using Tomcat Manager. I generated the war file with the 'forrest war' command! The deployment seems to be ok, no errors visible from Tomcat Manager. The site is accessible after the deployment but after a

Multiple security-constraint elements

2006-07-24 Thread scw . tomcat
I am trying to set up restricted access to several folders within the = same engine context. I have a web.xml file within the WEB-INF folder, and can get a single = security constraint to work OK. When I try and set up a second one, = nothing happens, and the second constraint is never

Re: java.lang.LinkageError: Class soap/xsd/CompanyInfo violates loader constraints

2006-07-24 Thread Martin Gainty
Good Morning Luis- 1) I fed your WSDL into validator located here http://www.mgateway.com/scripts/mgwms32.dll?MGWLPN=EXTCwlapp=wsdlValidatoreXtcCalledFrom=MGateway so ..the good news is that the definition for companyInfo looks valid 2) ClassLoader delegation- Straight from the doc at

Re: Restart web app

2006-07-24 Thread Martin Gainty
http://www.javacamp.org/scwcd/scwcdnotes.html topic: ServletReloading (more specifically.. reasons causing a reload of your webapp) HTH M- * This email message and any files transmitted with it contain confidential information

RE: out of memory error

2006-07-24 Thread Cosio, Raul
This link may help... http://tomcat.apache.org/faq/memory.html -Original Message- From: Shinya Koizumi [mailto:[EMAIL PROTECTED] Sent: Jueves, 20 de Julio de 2006 07:10 p.m. To: Tomcat Users List Subject: Re: out of memory error One of solution for out of memory problem is to upgrade

Possible conflict between the build.xml and the mx4j-3.0.1.tar.gz

2006-07-24 Thread Rao Jianguo
Dear all, I failed to build tomcat version 5.5.17 on Linux. Everything seems fine until. downloadgz: [get] Getting: http://switch.dl.sourceforge.net/sourceforge/mx4j/mx4j-3.0.1.tar.gz [get] To: /export/data0/user/TOMCAT/usr/share/java/file.tar.gz [get] Error getting

RE: Restart web app

2006-07-24 Thread asaf.lahav
I apologize, I had no idea this is the effect. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 12:55 PM To: Tomcat Users List Subject: Re: Restart web app When starting a new thread (ie sending a message to the list about a new topic) please

RE: BOOBIES!

2006-07-24 Thread Harris, Thomas
I sent the original message, with an appropriate subject, over two weeks before the plea for attention follow-up with the very offensive subject. The original subject was Shared code but different pages on different virtual hosts? We're on a really tight schedule, and having waited two weeks for

ClassNotFound - Is WEB-INF/lib in my app's classpath?

2006-07-24 Thread Darren Hall
Ok, I've deployed my application in Tomcat 5.5 on Solaris using the war deploy feature in the manager. The application (lets call it 'foo') shows up in the manager as '/foo', so I know that it deploys. When I look in catalina.log, I see a ClassNotFound exception, alerting me that the ClassLoader

Re: Setting heap once the tomcat JVM is started

2006-07-24 Thread Ryan Daly
Martin Gainty wrote: Ryan-- Here is the policy setting I have in my %TOMCAT_HOME%/conf/catalina.policy // These permissions apply to the commons-logging API grant codeBase file:${catalina.home}/bin/commons-logging-api.jar { permission java.security.AllPermission; }; HTH, Martin

Xorg vs XFree86

2006-07-24 Thread Richard Ehrlich
I want to install tomcat 5.5. I see references in the requirements to XF86 and its fonts. I installed freeBSD 6.1 with the default X11 install (Xorg). Do I need to deinstall Xorg and install XF86? - To start a new topic,

Re: Xorg vs XFree86

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Richard Ehrlich [EMAIL PROTECTED] wrote: I want to install tomcat 5.5. I see references in the requirements to XF86 and its fonts. ?? where? -- Hassan Schroeder [EMAIL PROTECTED] - To

RE: BOOBIES!

2006-07-24 Thread Propes, Barry L
the interesting thing to me was that I chalked it up as spam right away, as I get similar junk emails on a daily basis. I figured it was one that snuck through, so I deleted it almost instantly, rather than gaze at it. -Original Message- From: Nikola Milutinovic [mailto:[EMAIL

RE: tomcat stops and give the error......

2006-07-24 Thread Propes, Barry L
looks like a memory leak of some kind? -Original Message- From: bhavik shah [mailto:[EMAIL PROTECTED] Sent: Saturday, July 22, 2006 12:39 PM To: users@tomcat.apache.org Subject: tomcat stops and give the error.. hi i have tomcat 4.1 sometimes it stops and give the error belo

RE: Tomcat Memory Status?

2006-07-24 Thread Propes, Barry L
MB Not GB? How are you even running Win 95 with 63.56MB? That's not enough swap space for anything is it? -Original Message- From: Gamigin Gamigin [mailto:[EMAIL PROTECTED] Sent: Saturday, July 22, 2006 5:13 PM To: users@tomcat.apache.org Subject: Tomcat Memory Status? I've been

RE: Load Balance not working for mod_jk???

2006-07-24 Thread Patrick Wang
Thanks for the info. However my Apache log did not log any information listed below. I checked both error_log and access_log information. There seems that you can setup the log level for error_log using flags like info/debug. However there is not such as place for the access_log, can anybody

RE: Adding jars to common classloader via system property?

2006-07-24 Thread Pelenur, Matias
Thank you Raju, I should have seen that! Unfortunately it's not mentioned in any of the Tomcat docs or wiki, perhaps some Tomcat owner can update the docs, and I'll add something to the wiki. -matias -Original Message- From: Raju Balugu [mailto:[EMAIL PROTECTED] Sent: Saturday,

Re: Xorg vs XFree86

2006-07-24 Thread Richard Ehrlich
Will Tomcat 5.5/freeBSD 6.1 work well with X11/Xorg? At 11:22 AM 7/24/06, you wrote: On 7/24/06, Richard Ehrlich [EMAIL PROTECTED] wrote: I want to install tomcat 5.5. I see references in the requirements to XF86 and its fonts. ?? where? -- Hassan Schroeder [EMAIL

Re: Xorg vs XFree86

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Richard Ehrlich [EMAIL PROTECTED] wrote: Will Tomcat 5.5/freeBSD 6.1 work well with X11/Xorg? It would take less time to try it than to ask :-) And I can't imagine what fonts have to do with server software... -- Hassan Schroeder [EMAIL PROTECTED]

Re: Load Balance not working for mod_jk???

2006-07-24 Thread Rainer Jung
It will appear in the error log, so you configured everything that's needed. What about the strings way of determining the version (the second option I gave in my previous mail)? Patrick Wang schrieb: Thanks for the info. However my Apache log did not log any information listed below. I

Where is my Tomcat

2006-07-24 Thread OOzy Pal
Guys/Gals, I am running (K)ubuntu. I installed the following packages: Apache 1.3 connector for the Tomcat Java servlet engine Servlet 2.3 and JSP 1.2 Java classes and documentation Servlet 2.4 and JSP 2.0 Java classes and documentation Java Servlet engine -- core libraries (libtomcat5) Java

Re: Tomcat Memory Status?

2006-07-24 Thread Jon Wingfield
Hi OP, They probably mean what they say ;) See the jdk javadocs for the System/Runtime classes. The Free Memory stat often causes confusion initially. It's the free memory in the block of RAM currently assigned to the JVM. So, it looks like at startup Tomcat is assigned 8Mb under your JVM on

Links to relative URL's from a JSP

2006-07-24 Thread Mike Molina
This thread is related to relative URL within JSP's and how they refer to the local directory structure in a web application. My directory structure in Tomcat goes something like this: webapps/inprogress/WebContent (Accessed through Tomcat as such: http://127.0.0.1:8080/inprogres/WebContent

Re: Where is my Tomcat

2006-07-24 Thread OOzy Pal
On 7/24/06, OOzy Pal [EMAIL PROTECTED] wrote: Guys/Gals, I am running (K)ubuntu. I installed the following packages: Apache 1.3 connector for the Tomcat Java servlet engine Servlet 2.3 and JSP 1.2 Java classes and documentation Servlet 2.4 and JSP 2.0 Java classes and documentation Java

RE: Load Balance not working for mod_jk???

2006-07-24 Thread Patrick Wang
You are Right, the Strings things work great, which shows the version of the mod_jk 1.2.6. Pat -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 10:26 AM To: Tomcat Users List Subject: Re: Load Balance not working for mod_jk??? It will appear in

Re: Where is my Tomcat

2006-07-24 Thread edward
OOzy Pal wrote: Guys/Gals, I am running (K)ubuntu. I installed the following packages: Apache 1.3 connector for the Tomcat Java servlet engine Servlet 2.3 and JSP 1.2 Java classes and documentation Servlet 2.4 and JSP 2.0 Java classes and documentation Java Servlet engine -- core

Re: Links to relative URL's from a JSP

2006-07-24 Thread David Smith
2) JSP files, even though accessing image files in the same directory must use the previous directory, e.g., img src=../imagename.jpg even though the images are contained in the same directory. What does the URL in your browser look like when you are access the JSP pages? The browser

Re: Where is my Tomcat

2006-07-24 Thread OOzy Pal
On 7/24/06, Hassan Schroeder [EMAIL PROTECTED] wrote: On 7/24/06, OOzy Pal [EMAIL PROTECTED] wrote: After searching the archive, I checked catalina.out and here is the log The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program

RE: Where is my Tomcat

2006-07-24 Thread Sunitha Kumar \(sunithak\)
Hi, what is your tomcat version? Is there any later versions of tomcat that would work with only JRE ? thnx -sunitha -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 10:49 AM To: Tomcat Users List Subject: Re: Where is my Tomcat On

Re: Load Balance not working for mod_jk???

2006-07-24 Thread Rainer Jung
OK, then we are back to the suggestion: download and build a new one. You might want to pick 1.2.18 from http://tomcat.apache.org/dev/dist/, it's not yet officially released, but we are in the process of voting about it and the results look promising. The latest officially released version is

Setting the classpath for my application

2006-07-24 Thread Darren Hall
Is the fact that I'm receiving a ClassNotFound error from Tomcat's ClassLoader for a class that I've created indicative of a bad classpath? Are jar files stored in WEB-INF/lib automatically included in Tomcat's classpath for my application? If so, how do I set the classpath for my application in

ResponseWrapper and sendRedirect not working

2006-07-24 Thread Mani Balasubramani
Hi, Here is the scenario. In my filter I do the following doFilter(){ MyRequestWrapper reqWrapper = new MyRequestWrapper(servletRequest); MyResponseWrapper respWrapper = new MyResponseWrapper(servletResponse); //get cookie from request and decrypt it.

Re: Possible conflict between the build.xml and the mx4j-3.0.1.tar.gz

2006-07-24 Thread Rainer Jung
Hi, I'm right now building from subversion head of 5.5 and I don't get the error, although the URLs look exactly the same:: Rao Jianguo schrieb: downloadgz: [get] Getting: http://switch.dl.sourceforge.net/sourceforge/mx4j/mx4j-3.0.1.tar.gz [get] To:

were there any major issues with 1.2.17??

2006-07-24 Thread Mohan2005
Dear All: Please clarify: We have used version 1.2.17 since its release for testing on linux platform. We are using the new 'Busysness' method. There were no noticeable issues. Why was 1.2.18 released ? Were there any issues related to Busyness method or 1.2.17 as a whole. Sorry for any

Re: Links to relative URL's from a JSP

2006-07-24 Thread Mike Molina
I'm beginning to see my problem is a bit more complex than I had mentioned. Here is the situtation: I have two JSP's, login.jsp and catalogue.jsp. Login JSP calls a servlet to do some processing. If it is successful, the servlet forwards the request and response objects to /catalogue.jsp.

Help needed HTTP response header

2006-07-24 Thread Surya Bob
Hi all, I am trying to tighten up our Apache and Tomcat implementation. I want to suppress server type and version to make fingerprinting harder. HTTP response header HTTP/1.1 200 OK Date: Tue, 05 Nov 2002 17:49:51 GMT Server: XXX Set-Cookie2:

Re: Where is my Tomcat

2006-07-24 Thread OOzy Pal
On 7/24/06, Sunitha Kumar (sunithak) [EMAIL PROTECTED] wrote: Hi, what is your tomcat version? Is there any later versions of tomcat that would work with only JRE ? thnx -sunitha -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 10:49 AM

Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hi, I've been scouring the docs newsgroups for the last hour or so, and have been unable to find a solution to my problem. Currently, I have tomcat being access through the Apache httpd server, configured via the jk_mod connector/module. My problem is I have to sometimes stop the tomcat

Re: Where is my Tomcat

2006-07-24 Thread Steve Ochani
On 24 Jul 2006 at 20:53, OOzy Pal wrote: On 7/24/06, Hassan Schroeder [EMAIL PROTECTED] wrote: On 7/24/06, OOzy Pal [EMAIL PROTECTED] wrote: After searching the archive, I checked catalina.out and here is the log The JAVA_HOME environment variable is not defined correctly This

Re: Links to relative URL's from a JSP

2006-07-24 Thread Michael Jouravlev
On 7/24/06, David Smith [EMAIL PROTECTED] wrote: My assumption is that JSP files are rooted in the WEB-INF directory and so must use the previous directory notation back up a directory to access the images contained the WebContent folder where everything else is. Nope. They are rooted right

Re: were there any major issues with 1.2.17??

2006-07-24 Thread Rainer Jung
mod_jk 1.2.17 had a subtle build problem e.g. on AS400 platform. There is no known problem on Linux. Glad to hear it also worked for you, but you should nevertheless take the next opportunity and move to the official release. 1.2.17 will never be officially released. Furthermore 1.2.18 added a new

Re: Where is my Tomcat

2006-07-24 Thread Hassan Schroeder
On 7/24/06, OOzy Pal [EMAIL PROTECTED] wrote: This is the reason people who use installers need to become very proficient with the find command :-) How can I find my JDK? Uh, did I mention the find command Start with `man find`, perhaps. And I heartily second rthe recommendation to

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Eric B. [EMAIL PROTECTED] wrote: Is there any way I can customize that error page to say/show something different? See the Apache doc for ErrorDocument -- Hassan Schroeder [EMAIL PROTECTED]

RE: Setting the classpath for my application

2006-07-24 Thread Darren Hall
I wanted to confirm that jar files in the WEB-INF/lib directory were included in the classpath for my application. In reading through the online documentation for Tomcat I found the following: WebappX - A class loader is created for each web application that is deployed in a single Tomcat 5

Virtual Host related question

2006-07-24 Thread Ashok Madhavan
Hi All, In our web-app multiple company users can login and each company get its own setup. The entry point is the same for all the users but each company has a different query string. something like http://mycompany/com/mywebapp/login.do?companyKey=xxxyyy. The web-app works fine. But

RE: Multiple security-constraint elements

2006-07-24 Thread Propes, Barry L
Steve, I looked at mine and that looks correct. Try commenting one of the constraints, restart Tomcat and test it. But I do recall, I had a little bit of problem with mine working, and it turned out, after I rebooted my entire box (I run Win2K), all the constraints seemed to work,

Re: Xorg vs XFree86

2006-07-24 Thread Ronald Klop
No. You need the clientlibs or something like that for some GUI things. Settings the property java.awt.headless=false helps a lot for server apps. But the port/package stilll has the dependency for xorg-client-libs. See /usr/ports/www/tomcat55. Ronald. On Mon Jul 24 17:27:45 CEST 2006

RE: Links to relative URL's from a JSP

2006-07-24 Thread Propes, Barry L
Mike, That's not the case for me. I did, however, choose to make an images directory in the webapps folder, so that all my JSPs do indeed source back one directory, like you noted, src=../images/image.gif for example. Try restarting Tomcat with the image in the JSP sourced like the HTMLs and

RE: Where is my Tomcat

2006-07-24 Thread Propes, Barry L
search for j2sdk in your files, folders. -Original Message- From: OOzy Pal [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 12:36 PM To: users@tomcat.apache.org Subject: Re: Where is my Tomcat On 7/24/06, OOzy Pal [EMAIL PROTECTED] wrote: Guys/Gals, I am running (K)ubuntu. I

tomcat strike

2006-07-24 Thread Asensio, Rodrigo
Hi guys, My boss want to kill me and my tomcat server, all that because he die unexpectedly. Windows 2003 server JDK 1.5.0_2 with the server dll My Little Tomcat. 5.5.17 Running as service with a specific admin user The error in the event viewer of windows? The Apache Tomcat service terminated

Re: Xorg vs XFree86

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Ronald Klop [EMAIL PROTECTED] wrote: ...port/package stilll has the dependency for xorg-client-libs. See /usr/ports/www/tomcat55. So are you saying this port/package thing introduces a dependency not found in a normal install? -- Hassan Schroeder [EMAIL

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hassan Schroeder [EMAIL PROTECTED] wrote in message Is there any way I can customize that error page to say/show something different? See the Apache doc for ErrorDocument Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the browser.

Re: ResponseWrapper and sendRedirect not working

2006-07-24 Thread Christopher Schultz
Mani, The servlet class checks, if the user is authenticated using a variety of conditions. If the user is not authenticated, then the servlet sends a redirect to the login page. When debugging using Eclipse, I can see that my response wrapper class has the redirect url

SSL - Self Signed Cert appears to work but doesn't.

2006-07-24 Thread Morel, Jeremy
All, I'm sure this is a very basic queston and has been asked many times, but I'm trying to import a self-signed cert. I've followed instructions to do so on the apache site, and also verified with several others who concur I've done the steps correctly. There are no errors indicated in

Re: Links to relative URL's from a JSP

2006-07-24 Thread Christopher Schultz
Mike, Whenever I access catalogue.jsp by entering in its absolute URL, everything works fine. I can still have my relative img links to the images contained in the same folder, e.g., img src=image.jpg However, if catalogue.jsp is accessed by the servlet forwarding the request and response

RE: Where is my Tomcat

2006-07-24 Thread Propes, Barry L
are you looking for it up on UNIX or on Windows? I'd say on UNIX, use Putty or some such and run some -sl or -la commands. Windows, use the Find feature. -Original Message- From: OOzy Pal [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 12:54 PM To: Tomcat Users List Subject: Re:

Re: tomcat strike

2006-07-24 Thread Martin Gainty
Known bug with Windows 2k03 SMTP server http://support.microsoft.com/?kbid=827214 * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Eric B. [EMAIL PROTECTED] wrote: Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the browser. If Apache is generating an internal server error as you indicated, it should be returning a 5xx status, I'd think. -- Hassan

RE: Setting the classpath for my application

2006-07-24 Thread Darren Hall
*sigh* Apologies to the group. There is no need to respond to my posts. I knew it had to be something easy that I was overlooking. The problem was caused by the fact that my build.xml was not including my compiled code in the jar file I was creating, so my jar was essentially empty, and thus the

Re: Setting the classpath for my application

2006-07-24 Thread David Smith
Ok. Confirmed. Per the servlet spec, all jars in the WEB-INF/lib folder are included in the webapp's classloader. Now, here are some questions that might help narrow down what's happening: 1. Is the jar a valid jar file? Does it's internal folder structure mirror the package structure?

RE: tomcat strike

2006-07-24 Thread Propes, Barry L
anything listed in the Tomcat log files? I'd look there, since if it does print out to the console, it quits evidently before you can see it. Perhaps there's something in the log file, though to indicate why. And a bit of research makes me think 7034 is not a Tomcat error #, but perhaps a

Re: Setting the classpath for my application

2006-07-24 Thread Martin Gainty
Darren Perhaps you have a meta-tag in META-INF suggests re-routing to a different class? I would also make sure you have reloaded your webapp after re-reploying your classes M- * This email message and any files transmitted

Re: Tomcat on Win Server 2003?

2006-07-24 Thread David Smith
Can it be installed on Win 2003 Server? Yes. Can't find any ref's? Probably because it's built in Java and as such is intended to be platform independent. Take a look at the downloads page -- there is a download that installs it as a service. --David maya wrote: can Tomcat be

RE: Tomcat on Win Server 2003?

2006-07-24 Thread Propes, Barry L
I believe it can, yes. -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of maya Sent: Monday, July 24, 2006 3:09 PM To: users@tomcat.apache.org Subject: Tomcat on Win Server 2003? can Tomcat be installed in Windows Server 2003? I have searched for ref's to Windows Server

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Christopher Schultz
Eric, I've been scouring the docs newsgroups for the last hour or so, and have been unable to find a solution to my problem. Currently, I have tomcat being access through the Apache httpd server, configured via the jk_mod connector/module. I have the same setup, and just use

Re: Help needed HTTP response header

2006-07-24 Thread David Smith
Don't think that's possible in a version of tomcat as old as the one you are using. I believe that feature was added to the connectors in tomcat 5.0.x or tomcat 5.5.x. To get what you want in such an old (-cough- ancient) version of tomcat would probably require altering the source code and

Re: Tomcat on Win Server 2003?

2006-07-24 Thread maya
thank you.. I just asked because searching for sthg like 'tomcat windows 2003 server' came across a post somewhere where they talk about running Tomcat under IIS.. (http://www.junlu.com/msg/77407.html) so when I saw this I thought maybe in Win Server 2003, since it's kind of geared -- I think

Re: Setting the classpath for my application

2006-07-24 Thread Christopher Schultz
Darren, My jar file (foo.jar) is in the webapps/abc/WEB-INF/lib directory for my 'abc' application. However, in the Catalina log file, when Tomcat starts, I get a ClassNotFound - com.abc.framework.ControlServlet error. Why can my servlet not be found if it resides in the jar under the

Re: Where is my Tomcat

2006-07-24 Thread OOzy Pal
On 7/24/06, Propes, Barry L [EMAIL PROTECTED] wrote: are you looking for it up on UNIX or on Windows? I'd say on UNIX, use Putty or some such and run some -sl or -la commands. Windows, use the Find feature. -Original Message- From: OOzy Pal [mailto:[EMAIL PROTECTED] Sent: Monday, July

Re: Links to relative URL's from a JSP

2006-07-24 Thread David Smith
SEVERE: Error loading WebappClassLoader delegate: false repositories: /WEB-INF/classes/ -- Parent Classloader: [EMAIL PROTECTED] mm_lodging1.css java.lang.ClassNotFoundException: catalogue.css at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)

RE: Re: Tomcat on Win Server 2003?

2006-07-24 Thread Propes, Barry L
you can do that. I happen to be running it in conjunction with IIS. Why? Because (unfortunately! : () I'm bridging some parameters from JSP to ASP for email sake. Before you criticize, it's a long story, and believe me the only alternative I have at the moment. -Original Message-

RE: Where is my Tomcat

2006-07-24 Thread Propes, Barry L
try this, and see if any of the links along the left side get you where you need to go. http://tomcat.apache.org/ -Original Message- From: OOzy Pal [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 3:31 PM To: Tomcat Users List Subject: Re: Where is my Tomcat On 7/24/06, Propes,

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hassan Schroeder [EMAIL PROTECTED] wrote in message On 7/24/06, Eric B. [EMAIL PROTECTED] wrote: Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the browser. If Apache is generating an internal server error as you indicated, it should be

Re: Where is my Tomcat

2006-07-24 Thread edward
OOzy Pal wrote: I found the JKD but I am not sure how start tomcat. I am really stuck. I am not sure what am I missing? Is there a good tutorial for installing tomcat? Any help is appreciated. The init scripts that come with the package are generally a pretty good way to start it, as

Re: java.lang.LinkageError: Class soap/xsd/CompanyInfo violates loader constraints

2006-07-24 Thread Luis Rivera
Dear Martin, Thanks again for the reply. I added some questions to your responses, hoping that I can clarify what I am trying to do. I think I have been very confusing and probably the solution is so obvious I am just missing it. 2) ClassLoader delegation- Straight from the doc at

Subject: Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Edmon Begoli
If you are using Apache to Tomcat try using mod_security module to accomplish this. Mod security has setting for hiding the server error output: http://www.modsecurity.org/documentation/modsecurity-apache/1.9.3/modsecurity-manual.html#N1057D as well as purposly missrepresenting the Apache

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Eric B. [EMAIL PROTECTED] wrote: If Apache is generating an internal server error as you indicated, it should be returning a 5xx status, I'd think. I'd think so too. But I put in ErrorDocument 500 directives, and got nothing out of it. OK, simplest test: I took a standalone

Roller deployment into JBoss, roller not available

2006-07-24 Thread Dave
http://rollerweblogger.org/wiki/Wiki.jsp?page=InstallationGuideJBoss I followed the instruction to deploy Roller into JBoss using exploded war file. But http://localhost:8080/roller The requested resource (/roller/) is not available. Other applications were available (the

  1   2   >