Re: Setting default webapp

2007-10-01 Thread Pid
David kerber wrote: > I want my webapp to be the default application on my Tomcat 5.5 server, > so that it will go to the app's login page even if they don't enter the > app name as part of the url. For example, normally my app is accessed at: > > http://myserver:8081/SiteData/Login.jsp > > I wan

Re: why/how to use ajp connector...

2007-10-02 Thread Pid
loredana loredana wrote: > Ok, my project manager asked me to set up a server with tomcat, apache and > ajp connector. This is the first time I do it and after reading some of the > documentation on the ajp connector I still can't figure out it's purpose. Can > anybody tell me what is it's use?

Re: quick or easy re-direct

2007-10-02 Thread Pid
dave slimmon wrote: > Morning folks... > > I'm new to Tomcat 6.x and would appreciate any advice. > > We have a dynamically-generated page pretty deep in our site which, long > story short, we do not wish to modify or alter in any way. However, we > would like any requests for that page to re-di

Re: quick or easy re-direct

2007-10-02 Thread Pid
the filter, just execute a redirect to you preferred URL. The Filters are processed before requests to the application or filesystem. p > It's not something we want to do permanently. It's really just something we > need to do somewhat urgently for a short period of time...proba

Re: tomcat iptables problem

2007-10-02 Thread Pid
Dieter Schicker wrote: > Hi, > > this is my first mail to this list so please forgive me if it's the > wrong list. > Here's my problem: > > I'm running tomcat 5.5.23 on Debian Etch (4.0) with Linux kernel > 2.6.18-4-xen-amd6. > Now I set up an iptables firewall (with fwbuilder) with the following

Re: Fresh install of Tomcat - getting frustrated with the JSP no working

2007-10-03 Thread Pid
Right. Where did you get Tomcat 6 from, and what OS are you running? Have you moved or copied any of the libraries from Tomcat/lib to your WEB-INF/lib? p niblz wrote: > Here is the JSP - just a very simple one > > > > JSP Test > > JSP Test > Time: <%= new java.util.Date() %> > > > and th

Re: Foreign Language on web

2007-10-03 Thread Pid
Girish Havaldar wrote: > Hello, > in our application we have a text area, where in different language text > needs to be entered, for instant French. Can any one of you help or guide > in this regard. > Sure can, if there's actually a question about a problem you're having with the Tomcat server

Re: Foreign Language on web

2007-10-03 Thread Pid
Girish Havaldar wrote: >Ya thats fine if the language is English, what if Japanese or chines > text needs to be entered, what are the things we need to provide user, so > that user will just select the language which he wants and enters the text > in that language. > I think am not represent

Re: Authorization on Apache Tomcat the J2ee Way.

2007-10-05 Thread Pid
Arun wrote: > Hi, > I have a tomcat 6 installed. I have a running webapplication . I need to > implement a role based access control. How can I combine servers caabilities > so that I can use the request.getPrincipal() method ... I also have a list > of roles and groups and who all are assigned wh

Re: placing jars in /server/lib - can cause oome?

2007-10-10 Thread Pid
Christopher Schultz wrote: > A C, > > A C wrote: >> We've been experiencing horrendous OOMEs recently after deploying 40 clones >> of a vendor's .war file which encompasses their application/portal. The >> context is about 100MB > > Lesee... 100 MB times 40 instances .. mm... carry the 7 ... hey

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: > Hi, > > I want to precompile jsps for apache tomcat 6. Which ant task should i use . > Is there a simple example for that. > I am using a build.xml exported from MyEclipse. Where would the JSP classes > go in WEB-INF/classes. What structure does it have. > > http://tomcat.apache.o

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: > jspc: > What is wrong? You're sending me twice as many mails as you need to, for a start. Reply-to-all is unnecessary - just reply to the list please. The error message tells you what's wrong, on line 10. "navigation.jsp(10,20) attribute for %>" is not properly terminated " Do

Re: Precompile JSPs

2007-10-11 Thread Pid
s"%> >>> <%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html"%> >>> <%@ taglib uri="/WEB-INF/c-rt.tld" prefix="c"%> >>> <%@ taglib uri="/WEB-INF/fmt-rt.tld" prefix="fmt"%> &

Re: Precompile JSPs

2007-10-11 Thread Pid
Arun wrote: > Filip, > > That works cool. > Thank you for the reply. > > I do not know why the one specified in tomcat docs does not work. All I know > is that it throws an error telling me that it cant find > org.apache.jasper.runtime package. But that is there in the lib directory of > tomcat's

Re: How to get the context path during servlet load?

2007-10-13 Thread Pid
if you mean during the init() method: /* * (non-Javadoc) * @see javax.servlet.GenericServlet#init(javax.servlet.ServletConfig) */ @Override public void init(ServletConfig config) throws ServletException { // ServletContext context = config.getServletCon

Re: Copying large files around

2007-10-13 Thread Pid
David Kerber wrote: > What is the most efficient (=fastest) way of copying large (> 1GB [yes, > that's a Giga]) files around the network in java when running under > tomcat 5.5.x? Do I use a FileInputStream and FileOutputStream with a > large byte[] array? Or what? I think that the NIO apis were

Re: Copying large files around

2007-10-13 Thread Pid
David Kerber wrote: > Pid wrote: >> David Kerber wrote: >> >>> What is the most efficient (=fastest) way of copying large (> 1GB [yes, >>> that's a Giga]) files around the network in java when running under >>> tomcat 5.5.x? Do I use a FileInpu

Re: Copying large files around

2007-10-14 Thread Pid
Johnny Kewl wrote: > > --- > HARBOR: http://coolharbor.100free.com/index.htm > Now Tomcat is also a cool application server > --- > - Original Message

Re: tomcat and java cache

2007-10-15 Thread Pid
loredana loredana wrote: > I have a pretty big website that uses java cache from which it retrieves the > html. So I have a scheduled job(servlet) that get's some data from a server > and stores it in a java cache(Oscache or Ehcache for those who know it). My > problem is next: whenever the serv

Re: Reload web application from my JSP

2007-10-15 Thread Pid
Andrew Hole wrote: > How can I , inside my JSP, call manager url to reload my web > application? I need to call my JSP, because I do more things than > reload. Urgh - not sure you really want to write a web UI that manipulates another web UI. You could look into JMX, Tomcat implements useful API

Re: Problem: stasrtup Tomcat in Mac os X 10.4.2

2007-10-15 Thread Pid
Antonio Rodríguez Anaya wrote: > Hi! > > I have problems to start up Tomcat 5.5 and 6.0. I have downloaded core > binary distributions and I have followed the instructions. > > As a root I have unpacked and moved it to /user/local directory. I have > secified the CATALINA_HOME and JAVA_HOME varia

Re: href to .xls file shows raw file

2007-10-15 Thread Pid
David Delbecq wrote: > alla winter a écrit : >> I would appreciate if you would give me a hint, what should I do to make >> browser to display excell spread sheet when href to .xls file is >> selected? >> It displays the raw file insted. >> >> > target="_blank">Excel template >> >> P.S. I am usin

Re: StreamCorruptedException - where to look to fix

2007-10-16 Thread Pid
David kerber wrote: > Running TC 5.5.15 on Windows server 2003, JRE 1.5.0_12. > > Where do I start looking to try to fix the exception below? I get this > on most startups of Tomcat. I know it's related to reloading sessions > that were saved on the previous shutdown, and I've fixed a few > seri

Re: Tomcat Commons logging and log4j

2007-10-16 Thread Pid
Martyn Hiemstra wrote: > Hi All, > > I have been working with tomcat and log4j for a while and it worked > perfectly. Now I have updated all my web apps to use commons logging. I > have discovered that the Tomcat developers have absolutly no idea how to > do something right when it comes to common

Re: Tomcat Commons logging and log4j

2007-10-16 Thread Pid
Martyn Hiemstra wrote: > Hi Pid, > > Thanks for your response. Please forgive my initial response. After > reading so much about how JCL isnt working correctly under Tomcat I was > getting frustrated. Having to spend 2 days getting it to work without > success is for every prog

Re: Simple question

2007-10-16 Thread Pid
Peter Stavrinides wrote: > How do I configure Tomcat to provide a page redirect from the context of > a servlet to the default start page i.e.: > /myapp/ to go to -> /myapp/home add "home" to the list of 'welcome' files in your web.xml index.jsp ... home p >

Re: JDBC Realm with case insensitive user name

2007-10-25 Thread Pid
Pedro wrote: > Thanks for stating the obvious Tim, in 5.5 the 'server' directory is > supposed to be the correct place! the question is if the implementation > is valid. You referred to ClassNotFoundException's - his answer is therefore valid. Perhaps you can elaborate on when you're getting this

Re: Adding NTLM Auth to the Entire tomcat instance

2007-10-25 Thread Pid
Peter Kahn wrote: > Can someone let me know how to setup NTLM authentication such that all > access to tomcat is restricted to users in a specific group? > > I have an instance of tomcat and it is serving several opengrok web apps. > Each opengrop app is pointing at a different source tree. I wan

Re: help with apache-tomcat-6.0.14 install

2007-10-25 Thread Pid
[EMAIL PROTECTED] wrote: > After installing JDK, and adding the following in the startup.sh script > file: export JAVA_HOME=/usr/java6_64/sdk/. It started . How to test it > > [cemcp62]/usr/apache-tomcat-6.0.14/bin>./startup.sh > Using CATALINA_BASE: /usr/apache-tomcat-6.0.14 > Using CATALINA

Re: help with apache-tomcat-6.0.14 install

2007-10-25 Thread Pid
or details: http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#MemoryRealm You may also find that taking a few minutes to have a browse around the configuration documents is enlightening. p > Pid <[EMAIL PROTECTED]> > 10/25/2007 12:38 PM > Please respond to > "Tomca

Re: Hidden form fields not found in request

2007-10-26 Thread Pid
Ognjen Blagojevic wrote: > Hi Ashok, > > Ashok Venkat wrote: >> In the below code, i am submitting a form to itself in the onload >> method and changing some hidden form field values. After the form is >> submitted, the hidden values are not available in the request >> object.As a result, the pag

Re: JDBC Realm with case insensitive user name

2007-10-26 Thread Pid
Pedro wrote: > OK PID then you tell me where the jar goes hey? That's a lot of attitude for someone who wants help from the list. Or am I misreading your tone? I refer to my previous question: >> Perhaps you can elaborate on when you're getting this exception if we'

[OT] Re: JDBC Realm with case insensitive user name

2007-10-26 Thread Pid
Peter Stavrinides wrote: >>The most common reason...blah blah > > You know pid, just because people ask questions doesn't mean they are > stupid, so why treat them that way? If you can read 'carefully' you can > notice that the path was given as well as the relev

Re: [OT] Re: JDBC Realm with case insensitive user name

2007-10-26 Thread Pid
Pid wrote: > Peter Stavrinides wrote: >>> The most common reason...blah blah >> You know pid, just because people ask questions doesn't mean they are >> stupid, so why treat them that way? If you can read 'carefully' you can >> notice that the pat

Re: 'wan' application in 5.5.25

2007-10-29 Thread Pid
Ankit Dangi wrote: > Hi all, > > I was earlier using Apache Tomcat 5.5.20, and now am using 5.5.25. In the > 'webapps' directory, I created an application with the name as 'wan'. It > works fine with .20, and doesn't work with .25. When I changed the name of > my application from 'wan' to somethin

Re: Tomcat & Static Content

2007-11-02 Thread Pid
Tony Anecito wrote: > Hi All, > > Is there any good references on how to use Tomcat as a > web server? I currently use Tomcat behind an apache > server and thinking removing the Apache server but I > do not know if Tomcat would make a good web server. I > use PHP with Apache and need to be able to

Re: Tomcat & Static Content

2007-11-02 Thread Pid
as per the Sun Servlet Spec. There are a number of ways to handle PHP, some more actively developed than others. Search the list archives using MARC, or Nabble, for historic threads about PHP, it comes up about once a week. p > Regards, > -T > > --- Pid <[EMAIL PROTECTED]>

Re: Using tomcat as proxy server

2007-11-02 Thread Pid
Meryl Silverburgh wrote: > HI, > > Can you please tell me where can i find documentation for setting up > Tomcat as a proxy server? Tomcat is in many ways an excellent server, it is however primarily a Servlet Container and not directly comparable to other applications, like, say, Apache HTTPD.

Re: Tomcat 3.3.1a problem

2007-11-05 Thread Pid
Marko Krejic wrote: > Hi, > > We are running Tomcat 3.3.1a on a Windows Server 2003. A apache server is > also installed on the machine as a proxy and it is connected with the tomcat > through AJP12. Tomcat is running on JDK1.4.2_13. The silence you experienced is people being dumbfounded that

Re: running! a servlet at tomcat startup

2007-11-05 Thread Pid
Wade Chandler wrote: > Yes, and in the listener I would then utilize some kind of other web client > to actually perform a first request. You can use something like HttpClient or > one of the command line text browsers and Runtime.exec. It would probably be > easier than trying to simulate with

Re: Tomcat 3.3.1a problem

2007-11-06 Thread Pid
Mark Thomas wrote: > Pid wrote: >> Marko Krejic wrote: >>> Hi, >>> >>> We are running Tomcat 3.3.1a on a Windows Server 2003. A apache server is >>> also installed on the machine as a proxy and it is connected with the >>> tomcat through A

Re: Tomcat 3.3.1a problem

2007-11-06 Thread Pid
Bill Barker wrote: > I don't recognize the problem, but AJP12 was deprecated even for 3.3.1a > (which, for Pid's benifit, was a single security issue bugfix release from > 3.3.1). Hat duly tipped. p > > - > To start a new t

Re: virtual host for subdomains

2007-11-09 Thread Pid
Kwok Ng wrote: > Hi folks, > > I notice some BLOG websites assign the subdomains to the registered users, > like > > user1.mydomain.com > user2.mydomain.com > > If I use the tomcat to do this, do I use the virtual host > configuration? If so, do I use the same docBase to point to one war > fil

Re: j_security_check redirect after login

2007-11-09 Thread Pid
Nicholas Sushkin wrote: > On Thursday 08 November 2007, you wrote: > >> The question I had was what happens when you directly request the login >> form and successfully login. > > Tomcat will give you an error page saying something along the lines "the > login page was accessed directly". It wo

Re: speed up the server

2007-11-09 Thread Pid
Peter Crowther wrote: >> From: tbt [mailto:[EMAIL PROTECTED] >> it was working very fast before being deployed. About 30 people login >> simultaneously to this application. Once this happens the >> application is very slow. > > How many concurrent users do you test with, before you deploy? 30? O

Re: How to disable Session Persistence in Tomcat 5.5.9

2007-11-15 Thread Pid
Kristin Coles wrote: > Hey Charles, > > Thank you very much for the detailed explanation. I did the following > to disable session persistence, but. > > #Tomcat\conf\server.xml > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false" > expireSessionsOnShutdown

Re: tomcat process doesn't stop

2007-11-16 Thread Pid
loredana loredana wrote: > well, I don't know exactly what to tell you. the guys at networking installed > java and tomcat and everything else. On tomcat release notes I see it says > Apache Tomcat Version 6.0.14 annd when I run java -version I get > > java version "1.4.2_15" > Java(TM) 2 Runtim

Re: Problem with session activation after restart

2007-11-16 Thread Pid
I think your problem may be rooted in a misunderstanding* of this listeners purpose. Perhaps you can elaborate on what you're trying to achieve? HttpSessionActivationListener.sessionDidActivate() is called when a session is retrieved from a persisted state or moved to another JVM. It's counterpa

Re: problem with tomcat 6

2007-11-16 Thread Pid
Andrew123 wrote: > When I start tomcat with my application, I get an exception: > java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet > java.lang.ClassLoader.defineClass1(Native Method) > java.lang.ClassLoader.defineClass(Unknown Source) > java.security.SecureClassLoade

Re: Problem with session activation after restart

2007-11-16 Thread Pid
of more help. p > P.S. Forgive me my english :) I hope you understand me. > > Best regards > Jacek > > > On Nov 16, 2007 12:49 PM, Pid <[EMAIL PROTECTED]> wrote: >> I think your problem may be rooted in a misunderstanding* of

Re: Initial Setup: The type java.lang.Object cannot be resolved.

2007-11-16 Thread Pid
Ian Pushee wrote: > Any help or suggestions would be greatly appreciated. Use a proper JVM? Sounds like yours is knackered. There's another free JDK from a company called Bun, or something. Sounds like that anyway. ;o) p > Thanks, > -Ian > > ---

Re: Upgrade from mod_jk to mod_proxy_ajp

2007-11-17 Thread Pid
Gmail User wrote: > On Nov 9, 2007 11:19 PM, Gmail User <[EMAIL PROTECTED]> wrote: >> Any ideas would be appreciated. >> > > Just a follow-up since I never got a reply to this--or Gmail is hiding > replies from me again. > > As I found out, Tomcat always worked and going back to mod_jk on > httpd

Re: javax/mail/address

2007-11-20 Thread Pid
Post your JDBC/Datasource config(s), (sans passwords obviously). Where is it defined, in a context.xml or server.xml? p Dustin Fortin wrote: > In catalina.out this error is new: > > Cannot create JDBC driver of class '' for connect URL 'null' > java.lang.NullPointerException > at > sun.

Re: How to have a request timeout ?

2007-11-22 Thread Pid
christophe blin wrote: > Hi, > > I'd like to cancel a servlet request if it took more than 5 seconds. > > ATM, I know this is not possible directly via a tomcat configuration (in > fact I found no servlet container with this option). > By googling and doing a lot of tries (mainly based on > h

Re: How to have a request timeout ?

2007-11-22 Thread Pid
christophe blin wrote: > > > Pid-2 wrote: >> Can you elaborate on the reason behind this requirement? >> > > sure ! > > first some background : > 1/ my servlet is a web service (done with spring exporter and xfire if that > matters) > 2/ the client i

Re: class loading problem: NoClassDefFoundError: javax/servlet/http/HttpSessionListener

2007-11-22 Thread Pid
Have you inadvertently included a jar file with the servlet-api in your WEB-INF/lib directory? That often causes problems like this. p Giancarlo Frison wrote: > Hi all, > > I have Tomcat/6.0.14 and i'm trying to launch the catalina.sh throught > this script: > > export JAVA_HOME="/opt/java" >

Re: Tomcat 6 virtual host problem please help

2007-11-22 Thread Pid
David Gagnon wrote: > Hi all, > > > > I reading the doc for hours now and searching the web without success. > Maybe my understanding of virtual hosting is wrong. if any of you can just > correct my understanding and point me in the right direction I will greatly > appreciate it. > > > >

Re: Tomcat 6 virtual host problem please help

2007-11-22 Thread Pid
Rocco Scappatura wrote: >>> I want to access this URL using the following alias in my browser: >>> >>> http://alias1.com:8080/hello.jpg (note that the context name TOTO is >>> gone) >>> >>> >>> >>> So I need to link a virtual host to an application right? I look to but >>> alias in the context.xml

Re: Tomcat 6 virtual host problem please help

2007-11-23 Thread Pid
Rocco Scappatura wrote: > > >> On Nov 22, 2007 3:18 PM, Rocco Scappatura <[EMAIL PROTECTED]> >> wrote: >> >>> But I get the sad surprise that indeed roller/blog is not a valid path >>> on >>> the filesystem. It is merely a path of a context created on the fly from >>> data cointained in the rolle

Re: Tomcat 6 virtual host problem please help

2007-11-23 Thread Pid
Rocco Scappatura wrote: >>> 2) Suppose that I have another level inside the root webapps dir (eg: >>> http://mysite.com:8080/toto/subdir/hello.jpg) and I would like to access >>> to the URL above with http://alias1.com:8080/hello.jpg. How I behave >>> myself in this situation? :-( >> If you mea

Re: configure my web app as default app i nstead of root in tomcat 6.0‏

2007-11-22 Thread Pid
Yonatan Menahem wrote: > That solved my problem. > Although, I couldn't figure out how to do it using the context element as > described in the documentation. > I just undeployed the ROOT and deployed myApp.war instead in the "/" Context > Path. Did you define an additional host in server.xml, o

Re: multithreaded with taglibs

2007-11-25 Thread Pid
Yair Ben-Meir wrote: > Let say that the tag will have to generate the image with a text given as an > attribute, and it takes "time" so I want the page to continue: > > > > . > > Why are you doing this with a tag, rather than sending the parameter to a servlet that serves an image into it's o

Re: Rewrite Rules for JSP Site

2007-11-26 Thread Pid
Laxmilal Menaria wrote: > Hello Everyone, > > I have created a web site using jsp pages and struts framework, and > configured it on https using Tomcat WebServer. After compilation of > my java files, it creates war file. And now I have copied files to > "C:\Program Files\Apache Software Foundat

Re: multithreaded with taglibs

2007-11-26 Thread Pid
machine ? >> >> file://C:\My Documents\image.gif >> >> ? >> >> Can't see that working over the internet >> >> >> >> On Sun, 2007-11-25 at 13:56 +0200, Yair Ben-Meir wrote: >>> Thanks, but that's not good for me, I need the

Re: mod_proxy_html setup

2007-11-27 Thread Pid
Rocco Scappatura wrote: > I have some problem after reversing proxy a web app. > > After many research I inferred that mod_proxy_html could solve the > problem of accessing my web app through reverse proxy. > > My big clue is to: > > 1) find the exact instructions to setup mod_proxy_html > 2)

Re: Tomcat data source

2007-12-05 Thread Pid
Roberto Pellegrino wrote: > DataSource defined on webApp context are accessed by similar url : > java:comp/env/jdbc/dataSourceName. > Now. > Is't possible use with a url datasource that are only defined in > GlobalNamingResources (in server.xml) using the name ??? In your META-INF/context.xml, a

Re: post new service request

2007-12-11 Thread Pid
Kovacs, Robert wrote: > Hello, > > I would like to initiate a new feature request for TomCat connectors, > but I've founded only possibilities reporting bugs. "enhancement" is an option in bugzilla. p > Thanks: > > Robert > > >> -Original Message- >> From: David Delbecq [mailto:[EM

Re: JkMount changing webapp context

2007-12-11 Thread Pid
Carlo Montanari wrote: > I'm not sure whether this is the best mailing list for the question, > feel free to blame me if it isn't. > I have a simple configuration with apache 2.2.6, mod_jk 1.2.25 and > tomcat 6.0.14. > In tomcat I have a web application running, say /myapp, that I want to > publish

Re: problem in loading class file

2007-12-14 Thread Pid
David Smith wrote: > I mean the path to cib.expserver.plugin.basics.ExpressServer, which your > tomcat is complaining about not being able to find. > > Anyway... taking a closer look at the code you posted, I think the URI > you are using won't work > > file:/c:Tud/Server/program/bin should probab

Re: ActionErrors.validate()

2007-12-20 Thread Pid
AbelMacAdam wrote: > Hi all, > > I just started reading a book about Struts, and are now learning about Error > Handling. To validate the input of the user in the forum, you need to write > your own implementation of org.apache.struts.action.ActionErrors. The class > ActionErrors has its own metho

Re: how to run a simple jsp file

2007-12-21 Thread Pid
Joly M wrote: > Hello there, > > I'm struggling on running JSP files. > I've got some JSP files containing Java codes. When I try to run those > files, I get an error number 500. > When I run JSP files not containing any Java code at all, Everything works. > It seems like the problem comes from Ja

Re: Enhancing Tomcat Speed

2007-12-22 Thread Pid
Richard Reyes wrote: > Hi All, > > Please send suggestions on how to improve the tomcat performance. Do you mean that you want to improve Tomcat's performance, or the web application(s) you are deploying on Tomcat? p > Thanks in advance. > Richard > > ---

Re: AW: Enhancing Tomcat Speed

2007-12-23 Thread Pid
Richard Reyes wrote: > > Hi All, > > - Version: 5.5 but would upgrading to 6 be wise? > - OS: Cent OS > - Kind of App: Webapp with MySQL DB. Have you guys heard of Appfuse. > - We created it using Spring and Webwork > - I'm comparing my current performance to the performance when its > deployed o

Re: AW: Enhancing Tomcat Speed

2007-12-23 Thread Pid
Richard G. Reyes wrote: > Hi Pid, All, > > Hope you could tell me more about caching...isn't it automatic in tomcat? Not until you've profiled your app and tuned the DB accesses - which is where most of your slowdown is likely to be. Caching is esoteric and application spec

Re: NoClassDefFoundError: TagExtraInfo missing?

2007-12-24 Thread Pid
Martin Gainty wrote: > Abel > put jsp-api.jar in /WEB-INF/lib > M- *Never* do that. It will already be present in tomcat/server/lib or tomcat/lib depending on your version, copying it to WEB-INF/lib will cause your app and web server to behave unpredictably, and likely fail to work as intended.

Re: jdbc sql update doesn't work

2007-12-30 Thread Pid
rameau rameau1982 wrote: > hi! > When trying to do an update on my database via JDBC it doesn't do > anything. I give you the sources and if somebody can help me it would be > great! thank's! > PS: everything else works perfectly. What do the logs say? p > -

Re: PDF problem on IE from JSP

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

Re: PDF problem on IE from JSP

2008-01-18 Thread Pid
Jonadan wrote: BTW, is this problem is specific to Tomcat ONLY? Or also occurs in other servers such as JBoss, and so on? Are you delivering your PDF over an HTTPS connection? It's not a Tomcat problem, it's probably an IE problem. Some versions of IE have issues with responses that contain c

Re: Comet Development

2008-01-21 Thread Pid
Siobhan wrote: I would like directions or steps on how to set up a working Comet test example. I'm very new to Comet and haven't been able to find a step-by-step process as to how a Comet application is set up using a servlet with Tomcat. I want something like: 1. Change the Nio connector. Find

Re: Comet Development

2008-01-21 Thread Pid
Siobhan wrote: This page doesn't describe where to put this code. Can you explain that? I should have spotted this earlier sorry, are you not clear on how to construct a java web application? Lots of stuff around (Google is your friend) to explain how to make a basic web app, a Comet app is

Re: Comet Development

2008-01-22 Thread Pid
Siobhan wrote: No, I have successfully created many java web applications, but for some reason can not seem to successfully create a comet one. Something is not working and I don't know what. I've taken all the code, placed it where I thought it should be placed, but still something doesn't work.

Re: was anyone able to change his/her email address in this list

2007-06-06 Thread Pid
What did you try? To unsubscribe, e-mail: [EMAIL PROTECTED] You'll probably receive a confirmation message that you need to action. p Abdelmonaam Kallali wrote: I've tried that but didn't work Abdelmonaam KALLALI Test Specialist DragonWave Inc 411 Legget Dr Phone :613-599 9991 ext 275

[OT] Re: axis2 vs xfire

2007-06-06 Thread Pid
Daniel Dang wrote: Hi All, What's differences between axis2 and xfire? why should I pick axis 2 instead of xfire? Can xfire incorporated with other web services for example c++ OR c#...etc? I think you may be confusing programming languages (C++, C#) with web services (which are applications,

Re: Multiple Realms in a Context?

2007-06-07 Thread Pid
Tim Alberts wrote: I'm in the process of teaching myself the Realms configuration for Tomcat and have a couple questions that after hours of reading and testing I could determine, but this list can hopefully save me some research time. Reading the documentation at: http://tomcat.apache.org/t

Re: Is it possible to introduce new authentication method without modifying tomcat?

2007-06-07 Thread Pid
Andrei Tchijov wrote: Hi, I want to be able to add my own authentication method (login-config/auth-method) as one of possible choices. Is it possible to do so without re-compiling tomcat? Ideally, I would love to be able to achieve my goal by changing server.xml file (and adding some jar

Re: ajp advantages over http connector

2007-06-09 Thread Pid
Tomcat wrote: Hello is there any advantage using ajp over http connector ? what are those advantages? There are different use cases. You'll find some differences of opinion as regards the advantages. AJP is a connector protocol, you can't use it to serve directly, either use mod_jk or mod_pr

Re: ServletContextListener

2007-06-09 Thread Pid
lightbulb432 wrote: Can requests potentially arrive at a servlet before the ServletContextListener's contextInitialized method has completed? I ask because the method occurs as a notification once the servlet context is ready to accept requests. Is there a chance, then, that a request could begin

Re: number of documents

2007-06-11 Thread Pid
TOM SSEMWOGERERE wrote: I am currently using contineo document management system. When I asked one of the designers about hom many documents can be supported by the contineo document managent system, he told me that it depends on the web server used. For me I use tomcat how can I configure tomc

Re: ROOT.xml fails to install context (tomcat 6.0.13)

2007-06-11 Thread Pid
hanasaki wrote: oops.. had the wrong server version (it is 6.0.13) not .14 hanasaki wrote: I have an unpacked WAR at the "docBase" in the below ROOT.xml ROOT.xml is in: ./conf/Catalina/localhost/ROOT.xml ** The issue is that "host" doesnt seem to be found... tomcat links like http://

Re: Data Sources Overwritten

2007-06-14 Thread Pid
Johnny Kewl wrote: Chris, the documentation http://localhost:8080/tomcat-docs/jndi-datasource-examples-howto.html explicitly says... have a look at postgres example, that file should have same name as the war, or the app maybe it can be put into context.xml, but are you sure? The /deploye

Re: Data Sources Overwritten

2007-06-14 Thread Pid
Jeffrey C. Baldwin wrote: Chris, Thank you for the time. However, I'm still not having any luck... What's in your Host definition in server.xml, can you post that too? p Again, I have the entries in server.xml, so if I restart the Tomcat service AFTER deploying the app, all is well. Howev

Re: Data Sources Overwritten

2007-06-14 Thread Pid
v123ankita Pid wrote: Jeffrey C. Baldwin wrote: Chris, Thank you for the time. However, I'm still not having any luck... What's in your Host definition in server.xml, can you post that too? p Again, I have the entries in server.

Re: m-earn makes your pocket jingle

2007-06-22 Thread Pid
Can an admin unsubscribe this user from the list please? I get enough spam already. p kranthi ghanta wrote: Hi, How do you like the idea of getting paid to receive SMS? m-earn promises you just that ! These messages would only contain offer and discounts based on your own interests. You als

Re: a question about user athentication

2007-07-02 Thread Pid
is_maximum wrote: Hi experts I am using Tomcat 5.5 and struts framework and security filter in order to authenticate users like the others I am using j_security_check action but my problem is that I have a field in my user table namely status which represent whether the user is available or de

Re: How to deploy a web app on tomcat.. help needed plz.. :)

2007-07-17 Thread Pid
It looks like you've configured one .war per servlet. Have you replaced some of the old config with some new stuff in the login app? If you were able to request the URL '/LoginApp' there should probably be a file called LoginApp.war, which would need to contain some more config in it's web.xm

Re: How to replace jar which was already loaded?

2007-07-17 Thread Pid
In your Context definition you can state which files should be watched for changes. WEB-INF/web.xml WEB-INF/lib/worker.jar p hanasaki wrote: If you go this way... remember the following ClassLoader cl1 = new URLClassLoader(urls); Class cls1 = cl1.loadClass("classPath"); ClassLoader cl2 = ne

Re: Regarding Text field editor in JSP

2007-07-20 Thread Pid
Girish Havaldar wrote: Hello are there any text editor built in that assist us in formating input data, like Subscripting, superscripting, making bold, etc. This editor we need to embed in our jsp page. http://www.fckeditor.net/ is quite good and has java module. p smime.p7s Descripti

Re: mod_jk vs. reverse proxy

2007-07-22 Thread Pid
Mark Deneen wrote: Since we're all giving mod_jk a big hug here I thought I would point out that I had issues with both mod_proxy_http and mod_proxy_ajp which were solved by moving (back) to mod_jk. Intermittently the response to the browser would be sent as plain-text (the browser just prints o

Re: MySql Connector

2007-07-22 Thread Pid
You only need one resource definition. You only need a resource link definition if your resource is a global one. Simplify your configuration and then post the error message from the logs so we can see Tomcat says is wrong. p Mohammed Zabin wrote: Hi All I have confiured oracle connection

Re: MySql Connector

2007-07-22 Thread Pid
ool as the stated way above, and it's worked fine, shall i put resource defeninitoin in context.xml only? On 7/22/07, Pid <[EMAIL PROTECTED]> wrote: You only need one resource definition. You only need a resource link definition if your resource is a global one. Simplify your configurat

<    1   2   3   4   5   6   7   8   9   10   >