Header and footer in directory listing ....
Hi, How can I add header and footer to my application whole application ??? I search the archive but could not find one Thanks Guru - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Can Tomcat 4 be configured to listen on two ports simultaneously
try netsat on your red hat machine and see if any process is running on it ... -Original Message- From: Marina McGale [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 17:43 To: [EMAIL PROTECTED] Subject: Can Tomcat 4 be configured to listen on two ports simultaneously Hi. I am using Tomcat 4.1.12 and would like it to listen on both port 80 and 8080 because I have already sent out URLs with 8080 in them but want to remove the 8080 for the future (and still want everyone to be able to access my apps). I had tried adding another Connector for port 80 for Tomcat running stand-alone in the server.xml file (so there are two Connectors - one each for port 80 and 8080) and it worked on my localhost (Windows) machine but not when I tried the same thing on Redhat 8. I do not have Apache running so there is no conflict between it and Tomcat trying to listen on the same port. Thanks for any help. M. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Header and footer in directory listing ....
Any update on this please > -Original Message- > From: Gurumoorthy Raghupathy > Sent: 13 March 2003 16:37 > To: '[EMAIL PROTECTED]' > Subject: Header and footer in directory listing > > Hi, > How can I add header and footer to my application whole application > ??? > I search the archive but could not find one > Thanks > Guru > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apache won't start
did you do the AddModule -Original Message- From: Gregory Vandenbroucke [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 11:32 To: '[EMAIL PROTECTED]' Subject: Apache won't start Hi all, I'm stuck with the following problem: I'm trying to connect Apache to tomcat using mod_jk, but everytime I try to start apache after having launched tomcat it gives me a "the requested operation failed". I followed the instructions given on http://www.thethirdbridge.com/doItYourself/runningTomcat4BehindApache2.html I'm using: Apache 2.0.44, Apache Tomcat 4.1.18, mod_jk-2.0.43.dll, Windows 2000 SP3 I'm not having any problem to make them work on a standalone basis. Do you guys have any suggestions? Any hints, guides or alternatives? note: I'm new at this. Thanks in advance, Gregory Vandenbroucke - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: user auth not working
can you send us the xml file please ??? -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED] Sent: 14 March 2003 15:27 To: Tomcat Users List Subject: user auth not working I just downloaded and installed Tomcat 4.1.8 in WinXP. At a certain point in the install process, it asked me for an admin password, I chose my most basic pwd... then after the install was over, I tried to go to the admin page... that window with username and pass showed up, I entered both username and pwd correctly and it doesn't work.. I went to \conf and looked into tomcat-users.xml, everything is fine... the auth simply doesn't seem to work, maybe it's a problem with XP... I don't know.. anyone has a clue on this one?? thanks .:| Christian Dechery .:| Web/Java Developer .:| Gaita-L Owner .:| [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat web admin change
are you using tomcat or apache + tomcat ? If you are using apache tomcat use the proxy module / url rewrite module to have this done .. Thanks guru -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 15 March 2003 18:39 To: Tomcat Users List Subject: Re: Tomcat web admin change I don't think this can be done yet in any current releases because the admin app assumes it is in the path /admin. I think there have been patches which fix this and might be part of 4.1.23 which might be coming very soon. (Sorry for being so vague) -Tim Etienne wrote: > Where can I change the path of the ADMINISTRATION section? I want to > change it from mysite.com/admin to mysite/tomcatAdmin > > Thanks > > Etienne > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Help setting up jboss ( standalone ) with tomcat ....
All, Can anyone of you please send me a simple to use document / link that tells me how to integrate my tomcat 4.1.18 with a standalone jboss 3.0 EJB container. I am using windowx XP apache 2.0.44 / tomcat 4.1.18. We already have a setup of tomcat / apache integrated so i cant change the apache tomcat setup . So if you can let me know of how to integrate jboss with tomcat then i will be happy. Thanks Guru Gurumoorthy Raghupathy Aegon Benefit Solution Email : [EMAIL PROTECTED] Phone : 0044 20 72404801 Mobile : 07745988336 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat auth acting crazy
which OS ??? JAVA VERSION ??? DID YOU SET THE JAVA_HOME VARIABLE ? Please let us know more details ... did you see the log ??? Thanks guru -Original Message- From: Christian Dechery [mailto:[EMAIL PROTECTED] Sent: 17 March 2003 15:14 To: Tomcat Users List Subject: Tomcat auth acting crazy I can't seem to use Tomcat 4.1.18 at all. I just installed it for the third time... it's totally crazy... right after I install, WITH no changes in any configs I try to access the /admin or /manager app or even the base app (the one with the welcome screen and all)... and everytime a logon window (with "XDB" in the title) appears, and nothing works as a login/pass... what's that? .:| Christian Dechery .:| Web/Java Developer .:| Gaita-L Owner .:| [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Server.xml
Okie dokie !.. Send me the following information ... Context path ( the URL ) the directory ( full path ) you want to put your jsp/servlets Your OS ( UNIX / WINDOWS / LINUX ) ... Then I can help . Guru -Original Message- From: Hunter, Sandra [mailto:[EMAIL PROTECTED] Sent: 17 March 2003 21:00 To: 'Tomcat Users List' Subject: Server.xml Frustration abounds: I am plodding through a tomcat tutorial and it suggests modifying the Server.xml file to include a new context path line to allow for playing with a sample file. Everything works tickety boo until I do that, then Tomcat won't startup at all. When I enter the startup command I just get a really brief flash of screen and poof! It's gone again. When I take the new line out of the server.xml file the problem persists: poof! Gone. That is the only change I make. Any thoughts? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat 4.118 + apache 1.3 + mod_jk
send me the whole server.xml please ( you can email it to me personally as well ) ... guru -Original Message- From: andrea antibo [mailto:[EMAIL PROTECTED] Sent: 18 March 2003 09:50 To: Tomcat Users List Subject: tomcat 4.118 + apache 1.3 + mod_jk Hi, I have a tomcat 4.06 that work fine with apache 1.3 and mod_jk, now i'd like to work with tomcat 4.118, but it doesn't work. Whan i call jsp pages i get this error : internal server error I have this config files: on httpd.conf -- LoadModule jk_module /usr/lib/apache/1.3/mod_jk.so AddModule mod_jk.c JkWorkersFile /var/tomcat/conf/jk/workers.properties JkLogFile /var/log/apache/mod_jk.log JkLogLevel info DocumentRoot /var/tomcat/webapps/myapp ServerName myapp Alias /medweb /var/tomcat/webapps/myapp JkMount /*.jsp ajp3 JkMount /servlet/* ajp3 --- on server.xml - on worker.properties --- worker.list = ajp13 worker.ajp13.port=8009 worker.ajp13.host=192.168.1.200 worker.ajp13.type=ajp13 I get mod_jk.so from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1 /bin/linux/i386/ and i read http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html. bye - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Question about AutoDeployment Feature of 4.1.18
One thing you can do is in the and then each time you put your war file it will use the latest one .. Hope this helps -Original Message- From: Gerstel, Rachel [mailto:[EMAIL PROTECTED] Sent: 18 March 2003 10:57 To: 'Tomcat Users List' Subject: Question about AutoDeployment Feature of 4.1.18 Hi All, Could someone please confirm how autoDeploy is supposed to work: You put a war file into webapps and then: 1.) Either restart the webserver and the war file is unpacked and a directory is created. or 2.) Use the manager tool to deploy the war file - or if the app was already there, then it can reload it. Is it possible for you to copy of war file into webapps and a running tomcat server will see it is there an automatically deploy it on it's own with no intervention? And, if the old unpacked app is there and you copy in a new war file and restart - does it create a new directory, overwriting the old one. Or should it only change files that are different from the new war file and the old app - or should it see that there is an old app that hasn't been removed and do nothing? I have been reading up on this and then got a developer account that differed from what I read so I was wondering if anyone else could clarify it further. Thanks, Rachel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: restricting accesb by ip address
if it is a full application please look at tag in server.xml Thanks guru -Original Message- From: Neil Blue [mailto:[EMAIL PROTECTED] Sent: 20 March 2003 11:55 To: '[EMAIL PROTECTED]' Subject: restricting accesb by ip address Hello, I am using tomcat4 and would like to restrict access to a set of jsp pages, based on the IP address of the client. I have found how to do this with apache, but I am using tomcat standalone. Please can anyone tell me if this is possible with Tomcat standalone. Neil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: restricting accesb by ip address
This is an example ... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 20 March 2003 12:04 To: [EMAIL PROTECTED] Subject: RE: restricting accesb by ip address if it is a full application please look at tag in server.xml Thanks guru -Original Message- From: Neil Blue [mailto:[EMAIL PROTECTED] Sent: 20 March 2003 11:55 To: '[EMAIL PROTECTED]' Subject: restricting accesb by ip address Hello, I am using tomcat4 and would like to restrict access to a set of jsp pages, based on the IP address of the client. I have found how to do this with apache, but I am using tomcat standalone. Please can anyone tell me if this is possible with Tomcat standalone. Neil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Header and Footer in directory listing .....
Hi, Can anyone let me know how to change the look and feel of directories listing in tomcat . ( I am using windows ) Regards Guru Gurumoorthy Raghupathy Aegon Benefit Solution Email : [EMAIL PROTECTED] Phone : 0044 20 72404801 Mobile : 07745988336 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: POST method not allowed
can you tell me the name of the file you are trying to post to -Original Message- From: Erki Kriks [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 12:02 To: Tomcat Users List Subject: POST method not allowed Hello! I'm using Apache 1.3.27, Tomcat 3.2, mod_ssl 2.8.11 When i'm trying to use HTTPS, i get error, "The requested method POST is not allowed for the URL ": mod_ssl: SSL Re-negotiation in conjunction with POST method not supported! If i use GET method then everything is fine. Also if i do'nt use SSLRequire in .htaccess then POST method works too. Can anyone say, is there something important missing in server.xml/web.xml/httpd.conf to allow POST method (while using SSL & authentication)? Big thanx! Erki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: POST method not allowed
basically you cannot post to .html files and document files you can only post to file that are server side scripts :) Thanks Guru -Original Message- From: Erki Kriks [mailto:[EMAIL PROTECTED] Sent: 24 March 2003 12:25 To: Tomcat Users List Subject: Re: POST method not allowed i'm trying to post whatever - files (docs, html, a.s.o.) or data, the result is same. > can you tell me the name of the file you are trying to post to > > -Original Message- > From: Erki Kriks [mailto:[EMAIL PROTECTED] > Sent: 24 March 2003 12:02 > To: Tomcat Users List > Subject: POST method not allowed > > > Hello! > > I'm using Apache 1.3.27, Tomcat 3.2, mod_ssl 2.8.11 > > When i'm trying to use HTTPS, i get error, "The requested method POST is not > allowed for the URL ": > mod_ssl: SSL Re-negotiation in conjunction with POST method not supported! > > If i use GET method then everything is fine. > Also if i do'nt use SSLRequire in .htaccess then POST method works too. > > Can anyone say, is there something important missing in > server.xml/web.xml/httpd.conf to allow POST method (while using SSL & > authentication)? > > Big thanx! > Erki > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat context ...: list
Hello, Can anyone give me a way where I can have a list of all the context present in my tomcat 4.1.18 in my .jsp code ??? Thanks Guru - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Catching ServletExceptions through filter
error-page> 500 /general_error.html 404 /general_error.html somthing like this in your web.xml -Original Message- From: Philipp Leusmann [mailto:[EMAIL PROTECTED] Sent: 28 March 2003 13:16 To: [EMAIL PROTECTED] Subject: Catching ServletExceptions through filter Hi, is it possible to catch thrown ServletExceptions through a filter to generate a custom output? Or, is there a way to define servlets which are processed if, for instance an Error 500 is produced? Thanks, Philipp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat context ...: list
how do i make my application 'trusted' ?? -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: 29 March 2003 05:10 To: [EMAIL PROTECTED] Subject: Re: Tomcat context ...: list Unless you mark you app as 'trusted', you can't (since it's a major security hole). For this, I would just use the manager webapp that ships with Tomcat. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > Can anyone give me a way where I can have a list of all the context > present in my tomcat 4.1.18 in my .jsp code ??? > > Thanks > Guru - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
GUI for ant ...
Hi, Being a newbie to ant ( have to use it ) ... can any one give me a link to a s/w with GUI for ant ??? Gurumoorthy Raghupathy Aegon Benefit Solution Email : [EMAIL PROTECTED] Phone : 0044 20 72404801 Mobile : 07745988336 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to implements JavaBean in Tomcat 4.1.x in Win 2000 and solaris
remove the constructor and initialize the variable to null and try ... should be package userinfo; import java.io.*; public class FormBean implements Serializable private String name = null; private String email = null; public void setName(String name) this.name = name; } public String getName() return name; } public void setEmail(String email) this.email = email; } public String getEmail() return email; } } -Original Message- From: Carlos Alberto Peláez Ayala [mailto:[EMAIL PROTECTED] Sent: 01 April 2003 18:00 To: [EMAIL PROTECTED] Subject: How to implements JavaBean in Tomcat 4.1.x in Win 2000 and solaris Hello Friends, Iam a beggining in the use of javabeans and jsp pages. I try to run this example: The file login7.jsp: Form Example <% if (request.getParameter("name")==null && request.getParameter("email") == null) { %> User Info Request Form Your name: Your email: <% } else { %> You have provided the following info: Name: Email: <% } %> and the file FormBean.java: package userinfo; import java.io.*; public class FormBean implements Serializable private String name; private String email; public FormBean() name = null; email = null; } public void setName(String name) this.name = name; } public String getName() return name; } public void setEmail(String email) this.email = email; } public String getEmail() return email; } } When i try to run the login7.jsp in my browser, appear the follow error: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: userinfo.FormBean at org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18 3) at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:69 1) at org.apache.jasper.compiler.Node$GetProperty.accept(Node.java:552) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1070) at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1076) at org.apache.jasper.compiler.Node$Root.accept(Node.java:232) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1028) at org.apache.jasper.compiler.Generator.generate(Generator.java:1871) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:238) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:351) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:4 74) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:1 84) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase .java:493) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok eNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172 ) at org.apache.catalina.core.StandardPipeline$Standard
RE: get property questions
" is substituted to the corresponding method of your bean ... "getHi()" you cannot have a dynamic call to methods ... See the correspondinf generated java code of the jsp ... you will know what is happening ... Regards Guru -Original Message- From: Michael Ni [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 10:05 To: [EMAIL PROTECTED] Subject: get property questions This doesn't work for me. <% String aname = "hi" %> however this does can someone explain? mike _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems deploying webapps on tomcat and apache
I think it is to do with "Archive" rename this folder to "archive" and restart tomcat ( delete all folders inside "work" folder inside tomcat ) Thanks Guru -Original Message- From: Woude, Alexander van der [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 12:49 To: [EMAIL PROTECTED] Subject: Problems deploying webapps on tomcat and apache > Hello all, > > I set up apache 2.0.43 to use tomcat 4.1.18 as a servlet container. I use Redhat 8.0 as OS. > > I got the examples working fine. I can reach them through both http://localhost/ and http://localhost:8080. > Now I am trying to deploy my own application, with little succes. > > Under the webapps directory I created the following structure: > > /webapps > /Archive > /WEB-INF > /classes > LoginServlet > and more servlets, classes etc > /lib > Connector-mysql- 3_0_6.jar > > web.xml > > > Calling my Archieve with http://localhost:8080/archive/servlet/LoginServlet gives a 404: requested resource not available. > Calling my Archieve with http://localhost/archive/servlet/LoginServlet does the same thing. > > What am I doing wrong??? > > Below are my server.xml and web.xml. > > I added a context for the application in server.xml > > > > > reloadable="true" crossContext="true"> > prefix="localhost_archive_log." suffix=".txt" > timestamp="true"/> > > > > > My web.xml is like this: > > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > Tomcat Examples > > Tomcat Example servlets and JSP pages. > > > > > listeners.ContextListener > > > listeners.SessionListener > > > > > > LoginServlet > LoginServlet > > > LoginServlet > /hwe > > > > > -- > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problems deploying webapps on tomcat and apache
and do try http://localhost:8080/archive/hwe Thanks Guru -Original Message- From: Woude, Alexander van der [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 12:49 To: [EMAIL PROTECTED] Subject: Problems deploying webapps on tomcat and apache > Hello all, > > I set up apache 2.0.43 to use tomcat 4.1.18 as a servlet container. I use Redhat 8.0 as OS. > > I got the examples working fine. I can reach them through both http://localhost/ and http://localhost:8080. > Now I am trying to deploy my own application, with little succes. > > Under the webapps directory I created the following structure: > > /webapps > /Archive > /WEB-INF > /classes > LoginServlet > and more servlets, classes etc > /lib > Connector-mysql- 3_0_6.jar > > web.xml > > > Calling my Archieve with http://localhost:8080/archive/servlet/LoginServlet gives a 404: requested resource not available. > Calling my Archieve with http://localhost/archive/servlet/LoginServlet does the same thing. > > What am I doing wrong??? > > Below are my server.xml and web.xml. > > I added a context for the application in server.xml > > > > > reloadable="true" crossContext="true"> > prefix="localhost_archive_log." suffix=".txt" > timestamp="true"/> > > > > > My web.xml is like this: > > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd";> > > > > Tomcat Examples > > Tomcat Example servlets and JSP pages. > > > > > listeners.ContextListener > > > listeners.SessionListener > > > > > > LoginServlet > LoginServlet > > > LoginServlet > /hwe > > > > > -- > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Moving
one more idea install a fresh copy of the same version onto the new machine and check if it is working if yes then stop the tomcat server. then zip all the files insed tomcat folder in your old machine ( say old.zip ) then zip the contents of the tomcat folder in your new machin ( say new.zip for backup ) then delete every thing in the tomcat directory in the new machine. unzip old.zip into the tomcat folder of the new machine. make sure that when you zip and unzip you maintain the dorectory structure. start tomcat on new machine ... Hope this helps ... Guru -Original Message- From: Jan Fetyko [mailto:[EMAIL PROTECTED] Sent: 02 April 2003 16:16 To: Tomcat Users List Cc: [EMAIL PROTECTED] Subject: Re: Moving ...or you can just copy the tomcat directory and set the environment vars on the new machine as they were on the old. That's all it takes really. Jf On Wed, 2 Apr 2003 10:01:14 -0500 "Shapira, Yoav" <[EMAIL PROTECTED]> wrote: > > Howdy, > You're best off simply re-installing. If it's the same version as the original, you can probably copy the server.xml and other configuration files safely. Otherwise, make the configuration changes again. > > Yoav Shapira > Millennium ChemInformatics > > > >-Original Message- > >From: Carlos Frederico Barbieri Cesar Osorio > >[mailto:[EMAIL PROTECTED] > >Sent: Wednesday, April 02, 2003 10:03 AM > >To: [EMAIL PROTECTED] > >Subject: Moving > > > >Hi there, > > > >please, I need to move my installation of Tomcat to another computer, is > >there a simple way to do that? > > > >Thanks > > > > > > > >_ > >Carlos Frederico Barbieri Cesar Osorio( Fred) > >Ministério da Justiça > >Administrador de Banco de Dados( DBA) > >Telefones: (61) 4293366, (61) 9130003 > >ICQ#: 139480754 > > > > > > This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Jan Fetyko ScriptFighter Phase 2 Development 4100 Perimeter Center, #310 Oklahoma City OK 73112 email: [EMAIL PROTECTED] (p) 405.917.3777 (p) direct line: 405.917.3779 (url) http://www.phase2online.com "Oklahoma City's fastest growing web development company" Today's "fortune": Kirk to Enterprise -- beam down yeoman Rand and a six-pack. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ASP module
http://modules.apache.org/ -Original Message- From: Lee Chin Khiong [mailto:[EMAIL PROTECTED] Sent: 03 April 2003 10:34 To: 'Tomcat Users List' Subject: ASP module Is there anybody know where to get the asp module for apache ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat with Open ldap : Guide please
Dear All, Can any one post me a document of a easy step by step guide to configure OpenLdap with Tocmat. I have the following Suse 8.1 proffesional Linux Tomcat 4.1.18 OpenLdap ( configured ) but does not have any entries All running fine. If you need any other help let me know ... Thanks Guru - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Jboss to parse exsisting tomcat server.xml ...
Hi, Can any one tell me ( or give me ) an example of how to make jboss parse my existing tomcat server.xml file ??? jboss 3.0.X and tomcat 4.1.18. ( windows / linux ) Thanks & Regards Guru :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Firebird|Tomcat "java.sql.SQLException: Cannot load JDBC dri ver class 'null'"
if it ias zip file then rename it to jar and put it into common lib directory of tomcat :) -Original Message- From: Rob Casteen [mailto:[EMAIL PROTECTED] Sent: 27 May 2003 21:59 To: Tomcat Users List Subject: Re: Firebird|Tomcat "java.sql.SQLException: Cannot load JDBC dri ver class 'null'" Thank you Chong for your reply, Perhaps I need to clarify, I have downloaded the FirebirdSQL-1.0.0 (Jaybird) driver and am following the directions in the FAQ file, with modifications to the connection url for the fact that I am on a windows system. As far as the type 4 driver that is included (that you mentioned), I do not see any info other than release notes (which seem to indicate the driver I downloaded and installed are same as the one included) the information in the release are very general in nature and not help in the way of installation and testing. The Jaybird driver is the one I wish to use due to the connection pooling feature, I am following the information in the Tomcat "jndi-datasource" howto in the Tomcat docs, although as indicated in my previous email, I am having little luck. In addition, I want to confirm that I have placed all relevant .jars in the commom/lib directory. Again thank you for your previous response - any additional assistance will be very helpful. Thank you, Rob Chong Yu Meng wrote: >Hello Rob ! > >I'm not sure if you are aware : the Firebird database comes with 2 JDBC >"flavors", a Type 4 JDBC driver (which is a separate download) and >Interclient (which is really more of a JDBC mediation component). The >configuration for Interclient is covered in this link : >http://www.kpi.com.au/interbase/index.jsp while the configuration for >the Type 4 JDBC driver is in the README file that comes with the driver >download. Depending on which driver you use, the configuration is *very* > >different! If you are following the MySQL examples, you should use the >Type 4 driver. > >Second, make sure that your JDBC driver is in your CLASSPATH and that >Tomcat can "see" it. That is, either point to it explicitly in your >CLASSPATH, or save the jar file into $TOMCAT_HOME/common/lib. > >HTH > >Regards, >pascal chong > > > > >Rob Casteen wrote: > > > >>Hey guys, I am hoping I could get some help with this issue. The >>research I have done online reveals this error with several databases >>although I have yet to find a actionable answer nor anything firebird >>spoecific. I am attempting to connect Firebird to Tomcat based on the >>MYSQL example in the Tomcat Docs and through the datasource setup in >>the administration console. I have attempted to include all relevant >>data to show the activity on my server, including the log, the >>example code, and the relevant server.xml code. >> >>I appreciate all help that you can offer. >>Rob >> >>**Log >> >>java.sql.SQLException: Cannot load JDBC driver class 'null' >> at >> >> >> >org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource >.java:529) > > >> at >> >> >> >org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.ja >va:312) > > >> at foo.DBTest.init(DBTest.java:23) >> at org.apache.jsp.test_jsp._jspService(test_jsp.java:49) >> at >> >> >org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137) > > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >> >> >> >org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja >va:204) > > >> at >> >> >> >org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) > > >> at >> >> >org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) > > >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) >> at >> >> >> >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica >tionFilterChain.java:247) > > >> at >> >> >> >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt >erChain.java:193) > > >> at >> >> >> >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv >e.java:260) > > >> at >> >> >> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i >nvokeNext(StandardPipeline.java:643) > > >> at >> >> >> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 >80) > > >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >> >> >> >org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv >e.java:191) > > >> at >> >> >> >org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i >nvokeNext(StandardPipeline.java:643) > > >> at >> >> >> >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 >80) > > >> at >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) >> at >> >> >> >org.apache.catalina.core.StandardContext.
RE: Startup Problem - Newbie
comment the Mbean tags in the server.xml and restart and you should be fine ... :) -Original Message- From: Mark Irvine LCGI [mailto:[EMAIL PROTECTED] Sent: 28 May 2003 09:24 To: [EMAIL PROTECTED] Subject: Startup Problem - Newbie Hi, When I try to start Tomcat using the Start and Stop files provided the following error is generated: 28-May-2003 09:18:34 org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information 28-May-2003 09:18:34 org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance 28-May-2003 09:18:34 org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer 28-May-2003 09:18:35 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:227 ) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve rLifecycleListener.java:402) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve rLifecycleListener.java:854) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve rLifecycleListener.java:828) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(Serve rLifecycleListener.java:372) at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(Ser verLifecycleListener.java:226) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl eSupport.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.java:218 3) at org.apache.catalina.startup.Catalina.start(Catalina.java:512) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Starting service Tomcat-Standalone Apache Tomcat/4.1.24-LE-jdk14 28-May-2003 09:18:37 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 Appart from follow the instructions on how to use IIS and Tomcat, I have changed nothing from the default state. Any suggestions would be welcome, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: open source code and IDE
use eclipse http://www.eclispe.org and use sysdeo pluging for tomcat you can download lots of sample .war file from the net :) -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 14:54 To: [EMAIL PROTECTED] Subject: open source code and IDE hi this is probably the wrong place to ask , but now i got the standalone server running , i'd like to know where to find open source code example scripts to play with and maybe an IDE that everyone uses , any suggestions ?, its funny i remember when i was a php newbie years ago it feels like that all over again - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tar.tar binary
afer the download rename is to jakarta-tomcat-4.0.3.tar.gz and the usin gunzip to unzip it and then untar ( tar -xvf ) Regard Guru -Original Message- From: Moss, Patricia [mailto:[EMAIL PROTECTED] Sent: 30 May 2003 15:19 To: Tomcat Users List Subject: tar.tar binary Good Morning - I attempted to download the jakarta tomcat 4.0.3 binary (for HP), from the jakarta website. On the binary site it listed the file as jakarta-tomcat-4.0.3.tar.gz; however, when the download completed the file was jakarta-tomcat-4.0.3.tar.tar. I tried using the regular HP tar as well as GNU tar. I received checksum errors with the HP tar. I received a message stating that the file was not in tar format from the GNU tar. Have I done something wrong? Is there another site where I can attempt the download of this file again? Thank you, for any assistance in this matter. Pati Moss Unix Systems Administrator First Consulting Group, Inc. http://www.fcg.com Phone: (610) 989-7105 Fax: (610) 989-3207 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: problem with showing an image
set this thing to Thanks guru -Original Message- From: D-Fuse [mailto:[EMAIL PROTECTED] Sent: 31 May 2003 18:07 To: [EMAIL PROTECTED] Subject: problem with showing an image Hey, I load the url of an image from a properties file in a jsp. The image doesn't show in my browser (phoenix), when I look at the source code the image url points to the right direction. When I save the source code as a static html and open it in phoenix (using file://) the image shows up. Now when I put the same static html file in my webapp dir, and look the at the page using http://localhost... the image doesn't show up. (there isn't even a placeholder or some indication that the image wasn't found) This is the html code generated by my jsp: Does Tomcat handle serving images differently or am I doing something else wrong? __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Increasing Tomcat JVM setting with Tomcat in service
suggest it to install in a directory without space -Original Message- From: shankar [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 07:01 To: Tomcat Users List Subject: Re: Increasing Tomcat JVM setting with Tomcat in service Hi, I tried to install the Tomcat 4.1 in windows NT and while starting it stops at this point. E:\Program Files\Apache Group\Tomcat 4.1\bin>startup Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: c:\jdk1.2.2 E:\Program Files\Apache Group\Tomcat 4.1\bin> My jdk version is 1.2.2 as you can see that. Can U let me know as what is missing in the setup. I have installed the tomcat-4.1.24.exe which is meant for windows NT. Thanks in advance. Regards, shankar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]