Re: Newbie..localhost works but not IP

2007-03-16 Thread rmarra
But when I enter http://[myIPaddress]:8080/ from a different > machine, > I not able to see the Tomcat homepage. Please provide me a few pointers on > this issue. The different machine is on the same network or is an external one? Did you setup your router? There is maybe a firewall on the "differ

Re: How does one configure Plain host domain url to run web app?

2007-03-16 Thread Rashmi Rubdi
Thank you for adding the Virtual Hosting how-to, and it is very nicely written too. I find it useful and easy to configure multiple apps in: $CATALINA_HOME/conf/Catalina/ren/ROOT.xml $CATALINA_HOME/conf/Catalina/stimpy/ROOT.xml rather than having the To: Tomcat Users List Sent: Friday, March

Re: Non-Latin Character Display

2007-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vernon, Vernon _ wrote: > As I mentioned in my post, I already have the JSP page set as > > HTML: > JSP: <%@ page contentType="text/html;charset=UTF-8" language="java" %> Mark was suggesting that you set the request encoding, not the response encod

RE: Newbie..localhost works but not IP

2007-03-16 Thread Caldarale, Charles R
> From: anna24 [mailto:[EMAIL PROTECTED] > Subject: Newbie..localhost works but not IP > > But when I enter http://[myIPaddress]:8080/ from a > different machine, I not able to see the Tomcat > homepage. If the different machine is on the same LAN segment, the XP firewall may well be blocking t

Re: Newbie..localhost works but not IP

2007-03-16 Thread EDMOND KEMOKAI
if you're trying to access tomcat running on your pc via the internet you'll need to open ports on your router. If both PCs are behind the same router then you should be able to type in your IP and get tomcat. In any case, you should try google for help with networking, the mailing list is for tom

Re: Non-Latin Character Display

2007-03-16 Thread Vernon _
Thanks, Mark. As I mentioned in my post, I already have the JSP page set as HTML: JSP: <%@ page contentType="text/html;charset=UTF-8" language="java" %> I use a MVC framework. So, I am not sure anywhere using GET. I have this issue for ages. I haven't been able to resolve. I have to move lon

Newbie..localhost works but not IP

2007-03-16 Thread anna24
Hi I am total tomcat Newbie..I tried a lot to search for an effective solution for this problem but could not find the solution: I have installed Tomcat 6 on my Windows Xp machine. http://localhost:8080/ works. When I enter http://[myIPaddress]:8080/ from my machine this too works. But when I ent

Re: How does one configure Plain host domain url to run web app?

2007-03-16 Thread Mark Thomas
John Moore wrote: > Thanks for any ideas or suggestions.. A how to has been added to the documentation. http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html Mark - To start a new topic, e-mail: users@tomcat.apache

Re: Non-Latin Character Display

2007-03-16 Thread Mark Thomas
Vernon _ wrote: > I believe that is a TC configuration related issue. After having "set > JAVA_OPTS= -Dfile.encoding=UTF-8" There is no need to do this. This setting is read only on some JVMs. Try the following. If you use GET, you'll need to set the encoding in the connector as well. <%@ page co

Re: Same session for one IP

2007-03-16 Thread kz
Actually yeah. Im working on a product which requires that only a single client instance can be connected through a machine. Actually I thought if there would be anything in Tomcat which supports this then it wouldve considered the problem you mentioned and would be solving it somehow (using mac

Re: creating user url...

2007-03-16 Thread EDMOND KEMOKAI
I have never implemented such a solution but I know a lot of sites have similar setup. There are two ways you could do it, one would be to create a directory for each company and then drop an index.jsp file in there . A second and perhaps better solution would be to get the path info of the reques

Re: How does one configure Plain host domain url to run web app?

2007-03-16 Thread John Moore
Rashmi Rubdi wrote: You are right, the set-up I've mentioned only works for one application. Perhaps you want to configure multiple virtual hosts. I already use virtual hosts.. There's an example on that here: http://confluence.atlassian.com/display/DOC/Guide+to+using+Apache+Tomcat's+Vir

creating user url...

2007-03-16 Thread kace
Hi fellas, I am looking to develop the following and would be grateful if anyone can offer any assistance as to how I can make it happen - what do i have to read up on etc. ive developed my app in jsf/hibernate and spring and i have this still to work out. I would like to give users access fro

Re: Kerberose+tomcat

2007-03-16 Thread John Najarian
Any luck with single sign on. --- Dhanunjay kumar <[EMAIL PROTECTED]> wrote: > Hello All, > i want to use Single Sign On for my application,to > achive this i need to use > kerberose. > > how to use krb5LoginModule. > > > thanks for your understanding. > Regards > Kumar. > _

RE: OutOfMemoryError

2007-03-16 Thread Haroon Rafique
On Today at 3:40pm, RT=>Rahul Tandon <[EMAIL PROTECTED]> wrote: RT> Thanks Kevan. RT> RT> I tried changing stack size (ulimit -s 8192) to 8 MB and thought it should RT> sovle the problem, but it did not..rather it gave error: RT> Previous stack size was 10240 kbytes when the application works wit

Re: Should EL (Expression Language) expressions result in the TagData.REQUEST_TIME_VALUE object?

2007-03-16 Thread David Diehl
Oh, yes, tomcat 5.5.x is working fine for me regarding EL. Thanks for the advice on the other mailing lists. I'll give them a try. dave --- Rashmi Rubdi <[EMAIL PROTECTED]> wrote: > I don't know about Custom Tag Libraries, but I do > know about installing and configuring JSTL 1.1 on > Tomcat

Explicit header definition

2007-03-16 Thread Peter Kennard
If I want to remove or alter headers that are the "default" for a specific servlet, webapp or instance of tomcat, how might I? Either programmtically or in a config file. ie: - remove or replace the "Date:" header. - remove or replace the "Server:" header. The reasoning is for servicing

RE: OutOfMemoryError

2007-03-16 Thread Rahul Tandon
Thanks Kevan. I tried changing stack size (ulimit -s 8192) to 8 MB and thought it should sovle the problem, but it did not..rather it gave error: Previous stack size was 10240 kbytes when the application works with -Xmx704m Any more thoughts? # # An unexpected error has been detected by HotSpot V

Re: Should EL (Expression Language) expressions result in the TagData.REQUEST_TIME_VALUE object?

2007-03-16 Thread Rashmi Rubdi
I don't know about Custom Tag Libraries, but I do know about installing and configuring JSTL 1.1 on Tomcat 5.5.x Have you tried something like this with JSTL , before attempting Custom Tags ? ${someVariable} In the above case do you see "some string value" , or do you see ${someVariable} ?

Re: Should EL (Expression Language) expressions result in the TagData.REQUEST_TIME_VALUE object?

2007-03-16 Thread David Diehl
Sorry to be a pest, but no replies in 2 days. Any tomcat developers willing to help me? Should I just post this as a bug? Any advice is appreciated. thanks. dave --- David Diehl <[EMAIL PROTECTED]> wrote: > I have a custom tag with attributes defined in the > TLD > file as allowing run-time

Virtual hosts - in META-INF (fails), server.xml (works)....?

2007-03-16 Thread Matthew
Hello, I am trying to run several virtual hosts using Tomcat 5.5.x and am having trouble with the tag. I would like it to be in a file called context.xml within the META-INF directory of my .war file. When I put it in the .war file, upon restarting tomcat, the context.xml file ends up in...

Re: JK 1.2.21 DLL does not work with IIS 6?

2007-03-16 Thread Mladen Turk
Dobbins, Tim wrote: Well, I tried the 1.2.22 build. No difference. Same error. Are there any tricks to getting this working that I should be aware of? I'm really not sure why it doesn't work for you. Can you post the log from 1.2.22 where WriteClient fails? Regards, Mladen. ---

Re: Tomcat Administrator

2007-03-16 Thread Filip Hanik - Dev Lists
Caldarale, Charles R wrote: From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Administrator You'd download it http://tomcat.apache.org/download-55.cgi IMHO you're better off without it though For curiosity's sake, why do you say that? It's one of the things I'd

Non-Latin Character Display

2007-03-16 Thread Vernon _
I have several Java web applications on Tomcat where non-Latin characters function properly with only one exception. Non-Latin characters, Chinese in this case, can be displayed properly thorough the JSTL message tag. The related configuration are followings: HTML: JSP: <%@ page contentType="t

RE: JK 1.2.21 DLL does not work with IIS 6?

2007-03-16 Thread Dobbins, Tim
Well, I tried the 1.2.22 build. No difference. Same error. Are there any tricks to getting this working that I should be aware of? Considering the fact that Mr. Cory Bestgen has it working, I must be doing something wrong. I would be most grateful if someone could give me some advice. I hesita

RE: Tomcat Administrator

2007-03-16 Thread Caldarale, Charles R
> From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Administrator > > You'd download it http://tomcat.apache.org/download-55.cgi > IMHO you're better off without it though For curiosity's sake, why do you say that? It's one of the things I'd like to have available be

Re: Tomcat Administrator

2007-03-16 Thread Filip Hanik - Dev Lists
You'd download it http://tomcat.apache.org/download-55.cgi IMHO you're better off without it though Filip Fabian Arocena wrote: Hi All, I'm working with Tomcat 5.5.17 installed on a Solarix box, and have successfully accessed the Tomcat Manager console. However, when I try to go to the Tomca

Re: Tomcat Clustering

2007-03-16 Thread Filip Hanik - Dev Lists
Stick a profiler in there, and get some data, Take a look at www.yourkit.com, should be able to resolve it all for you Filip Neil Meyer wrote: Hi, I would like to know if somebody can help me with my tomcat clustering. I have to applications running under webapps. The clustering is set up betw

RE: Tomcat SSL Multiple Instances

2007-03-16 Thread Caldarale, Charles R
> From: Cartman [mailto:[EMAIL PROTECTED] > Subject: Tomcat SSL Multiple Instances > > or how do I do for configure only one application > with ssl support and the other ones not. Read the servlet spec: http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html Section 12.8 discusses ho

Tomcat SSL Multiple Instances

2007-03-16 Thread Cartman
Hi everybody, I wanna set one application with ssl support, but there are others applitations on the same apache server; what do I do for configure only this application with ssl support, I should install other tomcat instance? or how do I do for configure only one application with ssl support and

Tomcat Administrator

2007-03-16 Thread Fabian Arocena
Hi All, I'm working with Tomcat 5.5.17 installed on a Solarix box, and have successfully accessed the Tomcat Manager console. However, when I try to go to the Tomcat Adminsitration console I get "Tomcat's administration web application is no longer installed by default. Download and install the "

Re: Possible JSTL/EL bug in 6.0.10

2007-03-16 Thread Ali Kian
Hi Gerald, I wrote the example [1] please verify your web.xml and faces-config.xml with example [1] And make sure to remove all tld file from WEB-INF folder and also mare sure you delete old jstl.jar Regards, Ali Gerald Holl wrote: > > Rémy Maucherat wrote: >> On 3/8/07, Gerald Holl <[EMAIL PR

Tomcat Clustering

2007-03-16 Thread Neil Meyer
Hi, I would like to know if somebody can help me with my tomcat clustering. I have to applications running under webapps. The clustering is set up between 2 web servers. The one application running in this setup is running perfectly the other application is extremely slow. Any suggestions or reas

Re: Image File redirection with Tomcat5.5

2007-03-16 Thread Mikolaj Rydzewski
David R. Patterson wrote: Caldarale, Charles R wrote: You webapp should be generating links that Tomcat can process; if you want to keep these separate from the app, treat the images as a separate, static-content only webapp deployed under Tomcat. Put an .xml file in conf/Catalina/[host] contai

RE: Server DB Connects are very slow after restart

2007-03-16 Thread Propes, Barry L [GCG-NAOT]
I'm almost positive we did that (I did that); contributed to that, though not alone. We may have had some cursor leaks as well. Rebooting alone didn't sufficethey did tweak some stuff to how it handles incoming connections. I imagine they either hardcoded some IP addresses as acceptable alwa

Re: org.apache.jasper.compiler.DefaultErrorHandler.javacError

2007-03-16 Thread Len Popp
On 3/15/07, Raghuveer <[EMAIL PROTECTED]> wrote: C:\Program Files\Apache Group\Tomcat 4.1\work\Standalone\localhost\edrsystem\jsp \EDR\EDRSelection_jsp.java:123: cannot access pwDashUtil.EDRUtil.EDRUtil bad class file: C:\Program Files\Apache Group\Tomcat 4.1\webapps\edrsystem\WEB-I NF\classes\pw

Re: Server DB Connects are very slow after restart

2007-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Propes, Barry L [GCG-NAOT] wrote: > we had similar connection problems with Oracle here. > > At first I changed drivers, which I thought would help, then while I > was furiously trying to implement connection pooling, which I ended > up doing, w

Re: apache-tomcat-6.0.10 OutOfMemoryError

2007-03-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Prakash, prakash shanmugam wrote: > One more way to over memory.out.oferror is to run the garbage collector at > reasonable intervals. This is bad advice: the garbage collector will run itself at appropriate intervals. Also, there's no way to force g

RE: Server DB Connects are very slow after restart

2007-03-16 Thread Propes, Barry L [GCG-NAOT]
we had similar connection problems with Oracle here. At first I changed drivers, which I thought would help, then while I was furiously trying to implement connection pooling, which I ended up doing, we discovered there were big problems with the network connection to Oracle, as well as the lis

RE: SSL on Apache is falling out - no errors...

2007-03-16 Thread Caldarale, Charles R
> From: Patrick Frontéri [mailto:[EMAIL PROTECTED] > Subject: SSL on Apache is falling out - no errors... > > I've got a system Apache on a NetWare 6.5 SP6 server where > we're experiencing problems with Apache listening on 443. Apache is an open source software organization, with numerous pro

Re: apache-tomcat-6.0.10 OutOfMemoryError

2007-03-16 Thread prakash shanmugam
hi aces i am giving this reply with hope that it wont be too childish, if it is useful just enjoy it or else just ignore it finally { try { System.out.println("inside finally");

AW: Server DB Connects are very slow after restart

2007-03-16 Thread Peter Neu
Damn, this isn't tomcat's fault. We got network issues. ;o( -Pete > -Ursprüngliche Nachricht- > Von: Peter Neu [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 16. März 2007 12:04 > An: 'Tomcat Users List' > Betreff: Server DB Connects are very slow after restart > > Hello, > > I have t

SSL on Apache is falling out - no errors...

2007-03-16 Thread Patrick Frontéri
Sorry for the resend, but it's nice to have a subject on this as well :~ Hello, I've got a system Apache on a NetWare 6.5 SP6 server where we're experiencing problems with Apache listening on 443. Initially HTTPS is working fine, but suddenly Apache is not listening anymore on port 443. Apach

Re: Image File redirection with Tomcat5.5

2007-03-16 Thread David R. Patterson
Caldarale, Charles R wrote: From: David R. Patterson [mailto:[EMAIL PROTECTED] Subject: Image File redirection with Tomcat5.5 Now, I'd like to include graphics (jpegs, for example), and when I build elements that have links to the real location of the graphic (with file:///c:/wherever/my.jpg)

RE: Image File redirection with Tomcat5.5

2007-03-16 Thread Caldarale, Charles R
> From: David R. Patterson [mailto:[EMAIL PROTECTED] > Subject: Image File redirection with Tomcat5.5 > > Now, I'd like to include graphics (jpegs, for example), and when I > build elements that have links to the real location of the > graphic (with file:///c:/wherever/my.jpg) they work in IE an

Re: Same session for one IP

2007-03-16 Thread David Smith
None that I no of. More to the point, it's a security issue to have all the browsers behind one IP share a common session. Witness how cable routers can share one IP with an entire apartment building. Would you really want your neighbor with the super loud metal rock to see your credit card

Server DB Connects are very slow after restart

2007-03-16 Thread Peter Neu
Hello, I have trouble with my tomcat server 5.5.9, java 1.5 and oracle db 9i. CATALINA_OPTS="-Xmx1900m -Xms256m -XX:MaxPermSize=256m -XX:ReservedCodeCacheSize=64m -Dcom.sun.management.jmxremote" After the restart of the server the db connects from my webapps are very slow. I can't see why no tra

Re: Servlet Caching

2007-03-16 Thread Pid
Tim Lucia wrote: -Original Message- From: Natasha N Wright [mailto:[EMAIL PROTECTED] Sent: Friday, March 16, 2007 6:08 AM To: Tomcat Users List Subject: Servlet Caching Hi, I have a servlet which connects to a database; once the connection is made I pass a connection object into anoth

RE: Servlet Caching

2007-03-16 Thread Tim Lucia
> -Original Message- > From: Natasha N Wright [mailto:[EMAIL PROTECTED] > Sent: Friday, March 16, 2007 6:08 AM > To: Tomcat Users List > Subject: Servlet Caching > > Hi, > > I have a servlet which connects to a database; once the connection is > made I pass a connection object into anot

Servlet Caching

2007-03-16 Thread Natasha N Wright
Hi, I have a servlet which connects to a database; once the connection is made I pass a connection object into another class which uses this object to execute queries on the database. When i run the servlet my queries are executed fine, when i try to run the application for a second time my cl

Image File redirection with Tomcat5.5

2007-03-16 Thread David R. Patterson
I've got an application that reads from a collection of data in a directory outside the WEB-INF directory. I am able to read the data and use it to create an html stream to send to the user. This part is working well. Now, I'd like to include graphics (jpegs, for example), and when I build eleme

disable security manager

2007-03-16 Thread Hernâni Cerqueira
Hello all, i have a tomcat 5.5.9 instance with security manager enabled. Can someone tell-me how to disable it? Thanks's in advance Hernâni - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL P

Another question about filter

2007-03-16 Thread Erica Zhang
Now I want to change responses by use of a filter. Firstly, it will remember the request url, based on the url, it gets the content of one file and append the content of this file to the responses. Here, the content appended is not correct and it becomes into weird characters. I do not know why

Re: Strange characters appear in my compiled JSP files - Problem solved

2007-03-16 Thread Langas de los Langas
Thanks for your answers, and especially to Rashmi. You were right: my text editor (Ultra Edit) was to blame. After copying the plain text to another editor, the problem was solved. From: Rashmi Rubdi <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: Re: Stran

Re: my question: how to make tomcat6 and java1.6 more effect

2007-03-16 Thread James liu
I have web and back program. web i use php+apache back: i use tomcat+ solr php create xml and curl it to tomcat...this process will take more cpu(i tract it by windows monitor,cpu will taked up with current process, and this process will take bigest cpu resource) but this pc should do other wo

Re: my question: how to make tomcat6 and java1.6 more effect

2007-03-16 Thread Pid
James liu wrote: > i use windows。 > Good for you! Now, just a touch more information and someone might be able to help... p smime.p7s Description: S/MIME Cryptographic Signature