Nagging DNS issue

2004-07-26 Thread Dola Woolfe
Hi, I'm using Tomcat 3.3.2 (connection via modjk to) Apache 1.3 Windows XP Pro My laptop's network name is, say, DOLACHIN. Going to http://DOLACHIN; on our local network gets an immediate response - somehow Windows networks make a broadcast and find the machine - I have no clue how this happens

Error : Pausing Coyote HTTP/1.1

2004-07-26 Thread Pradeep Chauhan
Hi!, I am using Tomcat 5.0 on Production with JDK 1.4 . From last 3 month it is working fine today User reported slow response from tomcat, and suddenly it stop. In log file iam getting follwng errors: Jul 26, 2004 11:40:41 AM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote

AW: error while http upload

2004-07-26 Thread Gunnar Pörschke
This Problem occurs beacuse I'm using Tomcat 5 with IIS 6 on Windows 2003 Server using the JK2 ajp13 connector. Cheers, Gunnar -Ursprüngliche Nachricht- Von: Gunnar Pörschke [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 23. Juli 2004 16:23 An: 'Tomcat Users List'; [EMAIL PROTECTED]

Re: Re: BASIC authentication not working, PLEASE HELP !

2004-07-26 Thread \ [EMAIL PROTECTED]
Salut Michele, Thanks for the tip. I didn't know about this option. However, I found what the problem was. If you look at my web.xml file, you'll see I fogot the 's' in security-conStraint. The most incredible thing is that Tomcat 5 didn't complain at all !!! And guess how I figured out ?

HTTP Status 503 Error:Servlet is currently unavailable. javax.servlet.ServletException: Wrapper cannot find servlet class or a class it depends on

2004-07-26 Thread Vladislav Y. Ryabyshkin
Hi! Forgive me for asking what I'm sure is a very basic question (problem), I'm new to Tomcat and Java (some more than a fortnight). I read the Tomcat-Apache HOWTO, a very good article Web Database Access with Apache/Tomcat, Tomcat Manager App HOW-TO and some other docs, from google, and still

HTTP Status 503 Error:Servlet is currently unavailable., etc., THE LOGS.

2004-07-26 Thread Vladislav Y. Ryabyshkin
Sorry for so many letters, I forgot to attach the logs. Here they are. Jul 26, 2004 1:55:16 PM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Jul 26, 2004 1:55:18 PM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Jul 26,

Re: HTTP Status 503 Error:Servlet is currently unavailable. javax.servlet.ServletException: Wrapper cannot find servlet class or a class it depends on

2004-07-26 Thread Frans Flippo
The url-pattern is relative to the webapp root. So in your case it should be url-pattern/SccServlet/url-pattern instead of url-pattern/scc_html/SccServlet/url-pattern Hope that helps. Regards, Frans servlet-mapping servlet-nameSccServlet/servlet-name

AW: JSF Newbie

2004-07-26 Thread Younes El Moumen
It's right I have forgotten I used an older version of servlet.jar in my JAVA_HOME/jre/ext to use some Oreilly stuff, i've deleted it and all worked fine :-) Thanks. -Ursprüngliche Nachricht- Von: Hiroshi Iwatani [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 24. Juli 2004 11:58 An:

Re: [How to use php files Tomcat 5 application]

2004-07-26 Thread Sebastien Moretti
Hi, Check out http://wiki.apache.org/jakarta-tomcat/Tomcat/UsingPhp. Yoav Shapira Millennium Research Informatics I did what this page shows. http://wiki.apache.org/jakarta-tomcat/UsingPhp and this one too: http://www.php.net/java But it doesn't work. It's like PHP wasn't interpretted by the

RE: Error : Pausing Coyote HTTP/1.1

2004-07-26 Thread Shapira, Yoav
Hi, The snippet you posted from your log file is not an error, it's part of normal shutdown. When you shut tomcat down, does the JVM process go away? Yoav Shapira Millennium Research Informatics -Original Message- From: Pradeep Chauhan [mailto:[EMAIL PROTECTED] Sent: Monday, July 26,

RE: Error : Pausing Coyote HTTP/1.1

2004-07-26 Thread Pradeep Chauhan
Hi , We are not doing any shutdown. We are just navigation the Jsp pages on browser and in between in log we got this error message and everything got stop. Iam unable to understand what activity force Tomcat to shutdown server. With regards, Pradeep Chauhan -Original

RE: How does the deploy descriptor work?

2004-07-26 Thread Shapira, Yoav
Hola, I re-read this. It seems to say there are only *two* wildcard options -- either /text/* or *.text. I'm not sure whether the *.text form will match /some.text or just some.text. You're right : many people seem to think /*.txt is a valid url-pattern, and it's not. So I've got my HTML form

RE: Error : Pausing Coyote HTTP/1.1

2004-07-26 Thread Shapira, Yoav
Hi, Check the JVM process -- is it still alive? If so, send it a SIGQUIT to see what threads are active and what they're doing. Yoav Shapira Millennium Research Informatics -Original Message- From: Pradeep Chauhan [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 7:46 AM To:

RE: How to know which xml file (under directory webapp) causes SAXParseException ?

2004-07-26 Thread Shapira, Yoav
Hi, There's only one XML files of yours per webapp that TC would parse like this: the deployment descriptor at WEB-INF/web.xml. There are also very very few schema or DTD whose root element is web-app so that's another hint. Yoav Shapira Millennium Research Informatics -Original

RE: migrating from 4.1 to 5.0

2004-07-26 Thread Shapira, Yoav
Hi, What does your Context tag look like? This is usually a fairly simple error but since you say you already check the directory and permissions, it's strange. Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of ron1 Sent:

RE: TC 5 - root application

2004-07-26 Thread Shapira, Yoav
Hi, You can remove or rename the existing ROOT directory. Configure a Context for your application with whatever docBase you want and path= (the empty string, not /). Yoav Shapira Millennium Research Informatics -Original Message- From: Paul Wallace [mailto:[EMAIL PROTECTED] Sent:

RE: Tomcat too slow in Windows 2000 server

2004-07-26 Thread Shapira, Yoav
Hi, Tomcat's speed should be very close on these two OSs. Are you using the same JDK version on the same hardware? Yoav Shapira Millennium Research Informatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 10:12 PM To: [EMAIL

RE: Tomcat5 Win32 binaries location

2004-07-26 Thread Shapira, Yoav
Hi, It's the executable (.exe) download from the download pages (http://jakarta.apache.org click on the left menu). Yoav Shapira Millennium Research Informatics -Original Message- From: TBucketMan [mailto:[EMAIL PROTECTED] Sent: Saturday, July 24, 2004 6:07 PM To: [EMAIL PROTECTED]

RE: where to put config.xml

2004-07-26 Thread Shapira, Yoav
Hi, Hi Saeed I think this better that you don't put CATALINA_HOME in your environment variables, because TOMCAT recognizes that automatically (because this same as Tomcat installation dir), I'm actually going to mildly disagree on this. Tomcat makes a reasonable guess at CATALINA_HOME (just

Acces Denied

2004-07-26 Thread Mumanyi Bravismore
I have installed jakarta-tomcat-4.1.30 on redhat 9. However, when I try to test if all is well with the install(by launching https://localhost:8443 in my browser), I am getting an Access denied message. I have enabled it to connect to port 8443 in the conf file with no success. any tips from

RE: Acces Denied

2004-07-26 Thread Shapira, Yoav
Hi, Port 8443 is the default SSL redirection port. Test port 8080 instead. Yoav Shapira Millennium Research Informatics -Original Message- From: Mumanyi Bravismore [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 8:16 AM To: Tomcat Users List Subject: Acces Denied I have

RE: Tomcat too slow in Windows 2000 server

2004-07-26 Thread Pradeep Chauhan
Hi, I faced the same issue when concurent user are more. In this case we need to Increase the JDK heap size. On windows we can install the Tomcat in 2 ways 1. As a NT service 2. Command prompt In 1 Case u need to add 2 additional parameters in registry. JVM Option Count=5 JVM Option Number

RE: Win2kSP4, Apache-2.0.49 + Tomcat-5.0.27 + mod_jk2-2.0.43 - Memory Reference Error

2004-07-26 Thread Noah
No luck with eliminating the error so far (increasing JVM memory and the configuration changes I've tried didn't work). Any more ideas? Thanks, Noah Old message: -- Thanks, I've set those options and

[5.0.27] org.w3c.dom.Document.getElementById() not working - worked with Resin-2.11

2004-07-26 Thread Jens Ansorg
hi, I have a class that reads XHTML files and deals with them as dom document. javax.xml.parsers.DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); javax.xml.parsers.DocumentBuilder builder = factory.newDocumentBuilder(); org.w3c.dom.Document doc = builder.parse(new

RE: Win2kSP4, Apache-2.0.49 + Tomcat-5.0.27 + mod_jk2-2.0.43 - Memory Reference Error

2004-07-26 Thread Pradeep Chauhan
Hi, I faced the same issue when concurent user are more. In this case we need to Increase the JDK heap size. On windows we can install the Tomcat in 2 ways 1. As a NT service 2. Command prompt In 1 Case u need to add 2 additional parameters in registry. JVM Option Count=5 JVM Option Number

Tomcat config - query

2004-07-26 Thread shyamw.yawale
Hi, I am using tomcat4.1.30 with oracle 8.0i . I have one query regards to tomcat configuration file. I want to read datasource name and connection url from the config file without parsing config file(parser). Is there any way to read config data using some API using java. Is there any API

RE: [5.0.27] org.w3c.dom.Document.getElementById() not working - worked with Resin-2.11

2004-07-26 Thread Shapira, Yoav
Hi, This might be a stupid question, but are you sure there's an element whose ID is content ? Yoav Shapira Millennium Research Informatics -Original Message- From: Jens Ansorg [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 8:48 AM To: [EMAIL PROTECTED] Subject: [5.0.27]

RE: Tomcat config - query

2004-07-26 Thread Shapira, Yoav
Hi, Once you can the DataSource reference via JNDI, you could cast it explicitly to your DBCP class, and call the DBCP API methods to obtain all the information you want about the pool, including the URL and such. Yoav Shapira Millennium Research Informatics -Original Message- From:

Re: [5.0.27] org.w3c.dom.Document.getElementById() not working - worked with Resin-2.11

2004-07-26 Thread Jens Ansorg
yes, there is. And when the class gets called from a JSP under Resin it works ... Jens Shapira, Yoav wrote: Hi, This might be a stupid question, but are you sure there's an element whose ID is content ? Yoav Shapira Millennium Research Informatics -Original Message- From: Jens Ansorg

RE: Tomcat config - query

2004-07-26 Thread shyamw.yawale
Hi, I want to get all the datasource names and their corresponding urls. Say if there are 4 datasources with there corresponding urls using java without parsing config file. Datasource1 11.122.333.12.1 Datasource2 11.122.333.12.2 Datasource3 11.122.333.12.3 Datasource4

RE: [5.0.27] org.w3c.dom.Document.getElementById() not working - worked with Resin-2.11

2004-07-26 Thread Shapira, Yoav
Hi, yes, there is. And when the class gets called from a JSP under Resin it works ... OK, post the XML and/or code so we can try to reproduce it. Do you know what parser your Resin version uses? (I ask because they differ in how strict their adherence to standards is). Yoav Shapira

RE: Tomcat config - query

2004-07-26 Thread shyamw.yawale
Hi, I want to get all the datasource names and their corresponding urls. Say if there are 4 datasources with there corresponding urls using java without parsing config file. Datasource1 11.122.333.12.1 Datasource2 11.122.333.12.2 Datasource3 11.122.333.12.3 Datasource4

Keep session when going to a secure server

2004-07-26 Thread Olivier
Hi I have a project in java servlets/jsp which uses 2 servers 1 is secured and the other is not secured But both server uses the same apache with mod_jk and tomcat But the problem is that the server names are different, so, the session is lost when I arrive on the secure server ! How can I

Re: Beyond bassic form authentication?

2004-07-26 Thread Anastasios Angelidis
Does any one have any ideas on this? What is code scabbing? Thanks Robert Harper wrote: Did you try scabbing code from the login.jsp? You may want to use that and the user will gain access to the areas allowed with their group or role. Robert S. Harper 801.265.8800 ex. 255 -Original

RE: Tomcat config - query

2004-07-26 Thread Shapira, Yoav
Hi, When you configure these datasources in server.xml, you give them names. You then use these names to do the JNDI lookup. Alternatively, if you don't know the names or don't want to hard-code them, you could use Context#listBindings. Then iterate through all of them and see which ones you

More Problems - Config Tomcat with Apache running PHP MySQL

2004-07-26 Thread Phillip Blancher
Hello again all, Here is what I am trying to do. I have three vitrual hosts, and I need to have JSP active on one of them. I cannot get JSP to run on it at all. The most recent error is the following. [Mon Jul 26 08:53:01 2004] [error] VirtualHost 10.198.105.33:0 -- mixing * ports and non-*

RE: Beyond bassic form authentication?

2004-07-26 Thread Yiannis Mavroukakis
english Anastasie I think what Robert means is you should steal some code from the existing examples in Tomcat. /english greek Yparxoune epishs kai alloi tropoi pou boreis na to kaneis ayto..boreis kalista na exeis authentication mesw tou Apache kai enos module pou koitaei gia valid accounts sthn

should error-page/ work on Tomcat 4.1.30?

2004-07-26 Thread Gary Zhu
Hi, I am trying to setup error-page for my servlet applications, here is what I did (In snippets): ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app !-- ERROR

RE: should error-page/ work on Tomcat 4.1.30?

2004-07-26 Thread Shapira, Yoav
Hi, Yes, error-page should work. Your error-page element itself is fine, but as the error message says, it's in the wrong place of web.xml. Post your complete web.xml and we can help you sort it out, or simply reorganize your elements in web.xml according to the order specified in the DTD and

Re: should error-page/ work on Tomcat 4.1.30?

2004-07-26 Thread Tim Funk
The stuff in is probably one of icon?, display-name?, description?, distributable?, context-param*, filter*, filter-mapping*, listener*, servlet*, servlet-mapping*, session-config?, mime-mapping*, welcome-file-list? All of the above elements need to be *before* error-page. -Tim Gary Zhu

RE: Win2kSP4, Apache-2.0.49 + Tomcat-5.0.27 + mod_jk2-2.0.43 - Memory Reference Error

2004-07-26 Thread Noah
Thank you, I tried increasing the memory before but was using the wrong method (trying to increase it as if I were using command line, but it is a service). I can't restart the server until after 5, so I will post a followup late today or tomorrow. Thanks, Noah Previous Message:

Re: Beyond bassic form authentication?

2004-07-26 Thread Anastasios Angelidis
Ok then I think the problem is not understood ;) My form authentication does work. In fact I scabbed the whole security sample :P Like I noted... When I type the protected resources URL in the browser address bar. Tomcats authentication kicks in and redirects me to the login page I specified

Re: Nagging DNS issue

2004-07-26 Thread QM
On Mon, Jul 26, 2004 at 12:22:05AM -0700, Dola Woolfe wrote: : http://DOLACHIN/myproject; also gets : an immediate response. : : But not always! For example, if : 1. my wireless connection is enabled by not available, : or : 2. is enabled available and but is slow, or : 3. is enabled available

RE: Nagging DNS issue

2004-07-26 Thread Lott, Carey
The hosts file is located here on XP: C:\WINDOWS\system32\drivers\etc -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 10:19 AM To: Tomcat Users List Subject: Re: Nagging DNS issue On Mon, Jul 26, 2004 at 12:22:05AM -0700, Dola Woolfe wrote: :

RE: Beyond bassic form authentication?

2004-07-26 Thread Sternbergh, Cornell
I would guess that code scabbing is using another set of code as a kind of example... copy it and modify it as necessary. -Original Message- From: Anastasios Angelidis [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 09:13 To: Tomcat Users List Subject: Re: Beyond bassic form

RE: Win2kSP4, Apache-2.0.49 + Tomcat-5.0.27 + mod_jk2-2.0.43 - Memory Reference Error

2004-07-26 Thread Tonte Pouncil
Regardless if you are starting it as a service or at the command prompt, Tomcat will still use invoke Catalina.bat as part of its startup process. So if you did what I suggest last week then you have already increased your jvm memory heap. What did you actually increase your memory heap to.

Re: Beyond bassic form authentication?

2004-07-26 Thread Anastasios Angelidis
lol the loging.jsp page from the sample barely has anything to scab! :P Anyways scabbing doesn't help this case. As my authentication works. I have another problem. I replied to this e-mail detailing the prblem. Thanks. Sternbergh, Cornell wrote: I would guess that code scabbing is using another

Why does nobody never answer my question ??

2004-07-26 Thread Olivier
Don't you like me

RE: Win2kSP4, Apache-2.0.49 + Tomcat-5.0.27 + mod_jk2-2.0.43 - Memory Reference Error

2004-07-26 Thread Pradeep Chauhan
Hi , May be it will refer the catilina but it will take Registry setting as final one , If u want to make a try then Write a few line code in which print the Jdk heap size and go with both solution one by one. You will get the result. With Regards, Pradeep Chauhan -Original Message-

RE: Why does nobody never answer my question ??

2004-07-26 Thread Pradeep Chauhan
WHAT IS UR QUESTION ? -Original Message- From: Olivier [mailto:[EMAIL PROTECTED] Sent: 26.07.2004 20:24 To: [EMAIL PROTECTED] Subject: Why does nobody never answer my question ?? Don't you like me - To

Re: Why does nobody never answer my question ??

2004-07-26 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/tomcatuser.html#why -Tim Olivier wrote: Don't you like me - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Keep session when going to a secure server

2004-07-26 Thread Benjamin Armintor
Read about the cookies configuration parameter for Contexts here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html Search the archives for help on using URL rewriting for session, for example: http://www2.real-time.com/rte-tomcat/2000/Jun/msg00011.html Benjamin J. Armintor

Tomcat DataSource

2004-07-26 Thread Bussie, Andre D
I'm using Tomcat 5.0.19. I configured a datasource via the Tomcat Admin tool to configure a datatsource listed below is the server.xml file settings for the datasource ResourceParams name=hsqldb parameter namemaxWait/name value5000/value /parameter parameter

RE: Tomcat DataSource

2004-07-26 Thread Shapira, Yoav
Hi, Does the Resource tag contain the same name as the ResourceParams ? ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Bussie, Andre D [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 10:58 AM To: [EMAIL PROTECTED] Subject: Tomcat DataSource I'm using

Re: Why does nobody never answer my question ??

2004-07-26 Thread Frans Flippo
Olivier wrote: Don't you like me Yeah, we hate you. In fact, we're saving up all your e-mails so we can bounce them all at once and crash your mail server so we never hear from you again. *sigh* You sent your question 90 minutes ago. You can't expect a reply that fast. Wait for a few

RE : RE : RE : RE : RE : RE : how to access Subject after authent ifica tion

2004-07-26 Thread LERBSCHER Jean-Pierre
Now i can access to the subject (thanks to Jean Francois and Matt)!! In my use case, tomcat uses jaas (and specific login module) first to authenticate users (it runs)... and secondly to authorize the access to resources (EJB) deployed in weblogic server. I use weblogic API to propagate implicitly

RE: Tomcat DataSource

2004-07-26 Thread Pradeep Chauhan
Hi, Check web.xml of in ur application folder and same name resource id define in ur Application Context in Server.xml. With Regards, Pradeep Chauhan -Original Message- From: Bussie, Andre D [mailto:[EMAIL PROTECTED] Sent: 26.07.2004 20:28 To: [EMAIL PROTECTED] Subject: Tomcat

Newbie: Cronolog

2004-07-26 Thread Jonathan
Hi. I'm pretty new to tomcat and I'm trying to figure out how to rotate logs for multiple virtual hosts. I would like to use cronolog to rotate the tomcat access logs and put them in /var/logs/thisdomain.com/2004/07/tomcat_access.log I have apache doing this already, but I can't figure out how

how I can to see the output in tomcat from windows 2000

2004-07-26 Thread Alberto Marino
Note: forwarded message attached. ---BeginMessage--- Hi, I would like to know how I can to see the output in tomcat for depure mi aplication. In linux I can see the catalina.out in /logs directory but in Windows 2000 I don´t know. Please help me! Thanks. ---End Message---

Who knows about ISAPI?

2004-07-26 Thread Frank Febbraro
Hey everyone. I have quite a few ISAPI Redirector2 / JK2 Connector issues/questions that seem to go unanswered. I am assuming that it is generally because people have no idea either what is going wrong, or why, or how to fix it. I was just wondering who on this list is the ISAPI and/or JK2

RE: Why does nobody never answer my question ??

2004-07-26 Thread Ariel Valentin
Oliver, I believe your first question was about tranfering sessions from one box to another. As far as I know that is a limitation of the JVM because they cannot share objects unless you use RMI or serialization, therefore different containers cannot implicitly share sessions (or any objects).

RE: Nagging DNS issue

2004-07-26 Thread Dola Woolfe
Actually, DOLACHIN 127.0.0.1 is in my hosts file. It even has the #PRE directive meaning that the lookup is never attempted. But I don't think that's the issue, though. Or maybe it is but there's a way completely around it. Once again, pages served by Apache do not have this problem at all. So

Re: Help (Started over again) Making Tomcat work with Apache

2004-07-26 Thread Ruth, Brice
No, it means your ROOT context is not configured properly. These entries should be in there if Tomcat is seeing your ROOT context correctly. Does localhost:8080/test.jsp load correctly?! That should be a definitive test of if the ROOT context is configured in Tomcat. Btw - if you're not

Re: [5.0.27] org.w3c.dom.Document.getElementById() not working - worked with Resin-2.11

2004-07-26 Thread Jacob Kjome
Please verify that your XHTML is valid using: http://validator.w3.org/ Jake Quoting Jens Ansorg [EMAIL PROTECTED]: hi, I have a class that reads XHTML files and deals with them as dom document. javax.xml.parsers.DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();

Re: how I can to see the output in tomcat from windows 2000

2004-07-26 Thread Ruth, Brice
There should be a logs directory in your TOMCAT_HOME directory ... so, if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look for a logs directory there. You'll find the same catalina.out file and catalina.err file there. Alberto Marino wrote: Note: forwarded message attached.

Re: Why does nobody never answer my question ??

2004-07-26 Thread Adam Buglass
Sometimes it's a badly phrased question. Sometimes people don't have the time (this isn't a paid support network you know). Sometimes nobody knows the answer. Read the info on Netiquette on the Tomcat site. I found it very useful, sorry I can't remember the URL. True I don't always remember to

RE: Tomcat too slow in Windows 2000 server

2004-07-26 Thread A00778712
Thanks for answering. I'm using the exact same hardware (it's the same machine). I think the JDK version I was using before was a bit older. I've set the initial and maximum heap size to 384 MB (1/3 of total system memory) and tested that the new values were being acknowledged but that didn't

RE: Tomcat too slow in Windows 2000 server

2004-07-26 Thread Mike Curwen
what else is running on the box? a popular tomcat-killer is an antivirus program -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 11:57 AM To: Tomcat Users List Subject: RE: Tomcat too slow in Windows 2000 server Thanks for

RE: Tomcat too slow in Windows 2000 server

2004-07-26 Thread A00778712
I have a Symantec Antivirus client running... I disabled auto-protect but it's still slow. I don't know if some other feature of the anti-virus is affecting Tomcat. Something I've noted is that when accessed from the same machine (localhost) Tomcat works just fine, it's slow when accessed from

RE: Who knows about ISAPI?

2004-07-26 Thread Shapira, Yoav
Hi, You're not bothering anyone, don't worry. I myself am far from an ISAPI or connector guru thankfully (it's not something I want to know better), but I do add references and links that you'd find of interest to this page every now and then: http://wiki.apache.org/jakarta-tomcat/Tomcat/Links.

Re: Why does nobody never answer my question ??

2004-07-26 Thread Rick Bragg
Yo Oliver, This is a great list, don't be discouraged. People here are really helpful. Try to search the list for related things while you are waiting, Try to phrase the question in another way... This is an open source community and answers to your questions will no doubt help others. One

HttpUrlConnection.getInputStream() returns empty

2004-07-26 Thread Honey George
Hi All, I am facing a problem with HttpUrlConnection in Tomcat. I wanted to extract the contents of an https enabled URL, actually from the same site where my application is running(Will not try to access external URLs). My program will look like this.

Re: Jarring custom taglibs: looking for a file named taglib.tld

2004-07-26 Thread M.Hockings
Keith Hankin wrote: I have been been trying to jar up a custom taglib java class along with the corresponding tld file. However I keep getting an error indicating that it cannot find a file named META-INF/taglib.tld. I have followed instructions in this doc:

Subclassing WebdavServlet

2004-07-26 Thread Michael Wille
Hello All, I would like to know if its possible to subclass the webdav servlet that comes with Tomcat 5.x. We have need of webdav in our application, but need to provide a different JNDI InitialContext then the file system. The thought was we could just override the getResources() method in

HotSpot vs. Jikes + performance tuning

2004-07-26 Thread Michael Mehrle
I'm starting to run Tomcat 5.0.27 on a production server box. The question I have is as to which JVM to run it under. Last time I checked (a year ago) jikes was a lot faster, but then again things are in constant flux. Also, my production server (RedHat 9.0 on a Celeron 2.6GHz and 512MB of RAM)

DBCP + Tomcat Issues?

2004-07-26 Thread Rahman Syed
Hello, I realize this may not be the best place to ask but I'll give it a shot. I'm using DBCP in a Struts application to make requests to MySQL DB and simply return results for Select queries. The application works fine for a while then for some reason stops; it throws SQLExceptions whenever

RE: DBCP + Tomcat Issues?

2004-07-26 Thread Shapira, Yoav
Hi, It IS a shot in the dark when you give that little context. What's the stack trace of the SQL exception? Yoav Shapira Millennium Research Informatics -Original Message- From: Rahman Syed [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 2:35 PM To: [EMAIL PROTECTED] Subject:

Re: DBCP + Tomcat Issues?

2004-07-26 Thread Anastasios Angelidis
What are the sql exceptions? Looks like the connections arent beeing released in the connection pool. Eventually they all are beeing used. Rahman Syed wrote: Hello, I realize this may not be the best place to ask but I'll give it a shot. I'm using DBCP in a Struts application to make requests

RE: HotSpot vs. Jikes + performance tuning

2004-07-26 Thread Shapira, Yoav
Hi, I also haven't compared Jikes and javac in a while, but my impression is that JDK 1.4.2 made things very close to equal and even made javac faster sometimes. Yoav Shapira Millennium Research Informatics -Original Message- From: Michael Mehrle [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: Subclassing WebdavServlet

2004-07-26 Thread Shapira, Yoav
Hi, You can subclass it, should be fine. Yoav Shapira Millennium Research Informatics -Original Message- From: Michael Wille [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 2:26 PM To: [EMAIL PROTECTED] Subject: Subclassing WebdavServlet Hello All, I would like to know if its

Re: HotSpot vs. Jikes + performance tuning

2004-07-26 Thread QM
On Mon, Jul 26, 2004 at 11:33:25AM -0700, Michael Mehrle wrote: :I'm starting to run Tomcat 5.0.27 on a production server box. The :question I have is as to which JVM to run it under. :[snip] :content under Tomcat as well. I expect there to be a lot of traffic on :this site and maximizing

Re: DBCP + Tomcat Issues?

2004-07-26 Thread Anastasios Angelidis
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations Look at the link. Make sure you are closing the connections. Anastasios Angelidis wrote: What are the sql exceptions? Looks like the connections arent beeing

Re: Subclassing WebdavServlet

2004-07-26 Thread Mike Wille
Okay, thanks for that reassurance. Might you have an idea about the cause of the ClassNotFoundException? I've copied all servlets*.jar in server/lib to common/lib. I'm not sure what else, if anything, needs to be done. Thanks! -Mike Wille On Jul 26, 2004, at 2:38 PM, Shapira, Yoav wrote:

RE: Tomcat too slow in Windows 2000 server

2004-07-26 Thread Juan Escalante
I have noted two more things: My servlet is not recieving, or at least is not processing all the events it should, however, when I run a command line application with similar code it works just fine. I have some other applications running on IIS on the same machine, these applications work fine,

Re: Subclassing WebdavServlet

2004-07-26 Thread Michael Wille
Just on a whim I copied everything beneath server/lib to common/lib and restarted. That worked! So including servlets*.jar was not enough. Thanks, -Mike Wille On Jul 26, 2004, at 2:38 PM, Shapira, Yoav wrote: Hi, You can subclass it, should be fine. Yoav Shapira Millennium Research Informatics

RE: Tomcat too slow in Windows 2000 server

2004-07-26 Thread A00778712
Thanks for answering. Yes, I'm using the exact same hardware, it's the same machine, I think the JDK version I was using before was a bit older. I've set initial and max heap size to 384 MB (1/3 of total system memory) and tested that it did acknowledge the new values, but that didn't solve the

Re: how I can to see the output in tomcat from windows 2000

2004-07-26 Thread Alberto Marino
Sorry, in mi /logs directory only there are localhost_log.2004-XX-XX.txt files but not anyone Ruth, Brice [EMAIL PROTECTED] wrote:There should be a logs directory in your TOMCAT_HOME directory ... so, if you installed Tomcat to C:\Program Files\Apache Tomcat\ - then look for a logs directory

RE: how I can to see the output in tomcat from windows 2000

2004-07-26 Thread John Najarian
I know mine is on XP but my friend runs on 2000. You should have an stdout.log localhost_log... files in the Jakarta.../logs directory. Try doing a search under Jakarta... for files modified today. Perhaps you inadvertently put it in some other directory a maybe under another name.

Multiple Webbapps, single login.jsp??

2004-07-26 Thread Jonathan
Is it possible to use a single login.jsp for multiple webapps? Basically I have a V-Domain setup using /www/mydomain.com/ as it's docroot. I want to deploy multiple web apps (forums app, image gallery, etc) and secure some of them using form based authentication. I understand most of the

deploy tool and java web services

2004-07-26 Thread Mohammad N. Tina
Hi, i am still new to tomcat, i have this application, it is using JSP and XML files to get data from oracle server. i installed java web services from sun, when it asked for web container..it did not like tomcat downloaded from jakarta website, i had to download tomcat from sun website, can

RE: how I can to see the output in tomcat from windows 2000

2004-07-26 Thread Alberto Marino
Yes, I have files like localhost_log.2004-07-24.txt but this files don´t show java output. For example, when you have in your code System.out.println(.) I don´t know where must see for the output. In linux I know that there are a file like catalina.out that show this output but in Windows

Protecting JSPs in Tomcat 5

2004-07-26 Thread Andrew Shirk
In Tomcat 4, I would map request URLs to JSPs and handle the forwarding on the server side. Direct user access to JSPs was prevented using the following security constraint configuration: security-constraint display-nameJSP Protection/display-name web-resource-collection

Re: Multiple Webbapps, single login.jsp??

2004-07-26 Thread Schalk Neethling
Jonathan You can probably do this by giving each user a specific role that will allow him/her access to only certain areas and when logging in determine the user's role and authorization right and forward them to the appropriate webapp. I do this with my client portal to ensure a client only

RE: Tomcat too slow in Windows 2000 server

2004-07-26 Thread Dola Woolfe
How much slower is it? I'm wondering if it's the same issue that I was talking about in the Nagging DNS problem. I'm getting 30 second delays, so nevermind if you're talking about the server taking 2 seconds vs 1 second. --- [EMAIL PROTECTED] wrote: I have a Symantec Antivirus client running...

Re: Multiple Webbapps, single login.jsp??

2004-07-26 Thread Jonathan
I've got some roles setup, and I'm able to restrict access based on them, but I guess my question is a step back from that. When a user hits www.mydomain.com, I want them to get the normal page with a top nav. When a user hits www.mydomain/forums I want them to get a login page with the

Re: how I can to see the output in tomcat from windows 2000

2004-07-26 Thread Ruth, Brice
How are you starting Tomcat? If you're starting tomcat from the cmdline, then it will send STDOUT STDERR to the console. If you're starting it as a service, then it should create stdout.log and stderr.log in the TOMCAT_HOME/logs directory. If you're running Tomcat from Eclipse, or other IDEs,

Re: Multiple Webbapps, single login.jsp??

2004-07-26 Thread Anastasios Angelidis
Actually there is a sample on the tomcat web page. Something to do with an access valve http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/authenticator/SingleSignOn.html Schalk Neethling wrote: Jonathan You can probably do this by giving each user a

Re: deploy tool and java web services

2004-07-26 Thread Ruth, Brice
Deploying a WAR to 'standard' Tomcat is as simple as putting the .war file in your Tomcat's webapps directory. This is the simplest deployment. Some applications require custom configuration (JNDI resources, etc.) which need to be configured through the Tomcat admin application

Re: how I can to see the output in tomcat from windows 2000

2004-07-26 Thread Hassan Schroeder
Alberto Marino wrote: Yes, I have files like localhost_log.2004-07-24.txt but this files don´t show java output. For example, when you have in your code System.out.println(.) I don´t know where must see for the output. In linux I know that there are a file like catalina.out that show this

redirect output in win 2000 from comandline

2004-07-26 Thread Alberto Marino
I start Tomcat since comandline but how can I redirect this output from a file in a comandline in win 2000? Ruth, Brice [EMAIL PROTECTED] wrote:How are you starting Tomcat? If you're starting tomcat from the cmdline, then it will send STDOUT STDERR to the console. If you're starting it as a

  1   2   >