Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
2007/3/22, Rashmi Rubdi <[EMAIL PROTECTED]>: These errors are SOLR related errors, I don't think they are Tomcat errors. I don't know SOLR at this moment, but it appears that the code is looking for some XML or Schema file and unable to read it possibly due to file read permissions on Unix or i

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread Rashmi Rubdi
These errors are SOLR related errors, I don't think they are Tomcat errors. I don't know SOLR at this moment, but it appears that the code is looking for some XML or Schema file and unable to read it possibly due to file read permissions on Unix or it could be due to other reasons such as path se

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
Yes i test and i remain JAVA_HOME and CATALINA_HOME. But test failed. 2007/3/22, Rashmi Rubdi <[EMAIL PROTECTED]>: I forgot to mention, don't unset the path and CATALINA_HOME variables, but change $TOMCAT_HOME to $CATALINA_HOME in the path variable you have. set path = (/sbin /bin /usr/sbin

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
failed emporarily. log show me inforamtion: xml i use editplus to test, it is ok...so i don't know where is error. Mar 22, 2007 10:55:07 AM org.apache.catalina.core.ApplicationContext log SEVERE: StandardWrapper.Throwable org.apache.solr.core.SolrException: Schema Parsing Failed at org.apa

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread Rashmi Rubdi
I forgot to mention, don't unset the path and CATALINA_HOME variables, but change $TOMCAT_HOME to $CATALINA_HOME in the path variable you have. set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin $JAVA_HOME/bin $TOMCAT_HOME/bin --

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread Rashmi Rubdi
There's a file called RUNNING.txt , which is located under Tomcat's root folder, which gives Tomcat configuration instructions. The RUNNING.txt file mentions setting JAVA_HOME , and doesn't mention any of the other environment variables like TOMCAT_HOME , CATALINA_HOME, CATALINA_BASE, CLASSPATH

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
This is some informat in my ~/.cshrc file . I set all what u said. setenv JAVA_HOME /usr/local/diablo-jdk1.5.0 setenv TOMCAT_HOME /tmp/apache-tomcat-6.0.10 setenv CATALINA_HOME /tmp/apache-tomcat-6.0.10 setenv CATALINA_BASE /tmp/apache-tomcat-6.0.10 setenv CATALINA_TMPIR /tmp/apache-tomcat-6

Re: How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread Rashmi Rubdi
Instead of setting CLASSPATH , I set JAVA_HOME to the JDK home folder , CATALINA_HOME to Tomcat home folder in system environment variables. You can try the above and see if Tomcat 6 identifies the JAR files in tomcat's lib folder. -Rashmi On 3/21/07, James liu <[EMAIL PROTECTED]> wrote: Now

How to use my customer jar with tomcat6 in FreeBSD6

2007-03-21 Thread James liu
It work well when i use it in winxp+tomcat6+java1.6 Now i use freebsd6, use same tomcat6, my customer jar is put under $TOMCAT_HOME/lib/,,,and set classpath to it. but tomcat 6 seems not know it. How to can i fix it? -- regards jl

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread Filip Hanik - Dev Lists
your system returns ".chemease.local" as a hostname, and naturally that doesn't resolve to anything two options 1. fix your hostname 2. possibly add ".chemease.local" into /etc/hosts to trick the server, not sure how that is gonna work with the . prefix, but it just might Filip James liu wro

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
i fix itjust modify my host name Thk u,Rashmi

Re: high CPU usage

2007-03-21 Thread Mark Thomas
Gurdeep Kaur (gurdeep) wrote: > Any pointers, inputs will be greatly appreciated. The handshake is handled by JSSE / the JDK. This looks like a JSSE / JDK issue rather than a Tomcat one. Mark - To start a new topic, e-mail: user

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
Maybe header.jsp output host cause it happen Am i right? i m jsp newbie. <%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%> <%-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
I don't know where error happen from this information. It work well when i use winxp+tomcat6(same zip file)+java 1.6 It is index.jsp. <%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%> <%-- Licensed to the Apache Software Foundation (ASF) under one or more contributor lic

Re: question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread Rashmi Rubdi
java.net.UnknownHostException Thrown to indicate that the IP address of a host could not be determined. Could you post the snippet of code that throws this error? -Rashmi On 3/21/07, James liu <[EMAIL PROTECTED]> wrote: SEVERE: Servlet.service() for servlet jsp threw exception java.net.Unknow

question: java.net.UnknownHostException: .chemease.local: .chemease.local

2007-03-21 Thread James liu
i use freebsd 6.2 , tomcat 6(gz file which not installed). java 1.5_07 anyone know how to solve? Error information: Mar 22, 2007 9:03:40 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception java.net.UnknownHostException: .chemease.loc

Re: Connections in tomcat resource "in busy" state forever

2007-03-21 Thread Mark Thomas
Drazen Nikolic wrote: > Is there a possibility to remove those connection, or to threat them somehow > not be become busy forever? Configuring a time-out (to close them if they are open too long) and a validation query (to fix any connections broken when the db goes down) should help. Mark -

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
I found jdk-1_5_0-src-scsl.zip and am dowloading that now hopefully it is what I need? On 3/21/07, Jeff Sadowski <[EMAIL PROTECTED]> wrote: If all else fails I could run bochs and run linux on top of that boy that would be ugly. On 3/21/07, Jeff Sadowski <[EMAIL PROTECTED]> wrote: > Because I

Re: request hangs

2007-03-21 Thread Martin Gainty
Hi Chris- what happens when you log these events? start of UDP loop Accepting UDP packets on the loopback address. log the buffer from UDP accept goto start of UDP loop start of loop to write to temp file Reading standard out from a child process log the buffer which is read from standard out

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
If all else fails I could run bochs and run linux on top of that boy that would be ugly. On 3/21/07, Jeff Sadowski <[EMAIL PROTECTED]> wrote: Because I am not finding the stuff I need to install as far as I know there is no ia32 support on rhel4 running on my ia64 thus the ia32 jre's will not wo

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
Because I am not finding the stuff I need to install as far as I know there is no ia32 support on rhel4 running on my ia64 thus the ia32 jre's will not work. All my other servers are windows platforms which I can not run anything other than what is running on them already. Windows machines are fra

Re: can a web app discover its Service?

2007-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Paul Singleton wrote: > For now, I'm using ServletRequest.getLocalAddr() on the > first request and inferring deploy mode from that. That seems pretty fragile, although I must admit that I can't immediately think of a way to subvert it. I mean,

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Caldarale, Charles R wrote: From: Paul Singleton [mailto:[EMAIL PROTECTED] Subject: Re: can a web app discover its Service? I've had a closer look at Tomcat Configuration Reference, which says you can set per-Server JNDI variables (GlobalNamingResources), and per-Context ones, but there's no me

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
> From: Jeff Sadowski [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] apache-tomcat on an ia64 rhel4? > > Is there an open source JRE? The Sun JRE is at least partially open source as of sometime last year (maybe all of it is by now - it's not really a concern); why are you hung up about that? -

Re: Requesting files with non-English/international characters in their names

2007-03-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Peter Berntsen wrote: >> Are you serving your pages in UTF-8 encoding? Usually, the browser uses >> the response encoding from the previous request to submit the next >> request's URI. If you are using ISO-8859-1 for your web pages, the

request hangs

2007-03-21 Thread Chris Eldredge
I'm working on a web application which sometimes has several daemon threads doing I/O processing in the background. The application seems to be fine except when several tasks are running, sometimes Tomcat gets a request and doesn't seem to process it. The request seems to time out without eve

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
Is there an open source JRE? On 3/21/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Jeff Sadowski [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] apache-tomcat on an ia64 rhel4? > > Yeah I was reading about this on the jikes sight I guess I need jdk? Actually, just a JRE for the curr

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
> From: Jeff Sadowski [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] apache-tomcat on an ia64 rhel4? > > Yeah I was reading about this on the jikes sight I guess I need jdk? Actually, just a JRE for the current versions of Tomcat. 5.0 and below required a JDK. > I should be able to get this fro

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
Yeah I was reading about this on the jikes sight I guess I need jdk? I should be able to get this from any platform's binary distribution and copy the classpath files they should be compiled into bite code right? Is this what you meant Charles by getting the x86 version? and then compile jikes t

RE: Problem in MySQL JNDI Resource..

2007-03-21 Thread Caldarale, Charles R
> From: prt [mailto:[EMAIL PROTECTED] > Subject: Problem in MySQL JNDI Resource.. > > > element should not be placed in server.xml, since changing it requires restarting Tomcat. Put it in your webapp's META-INF/context.xml file instead, and remove the path attribute. > I hope the above is r

Re: Problem in MySQL JNDI Resource..

2007-03-21 Thread Rashmi Rubdi
The closing host tag's case doesn't match the opening Host tags case, I don't know if it matters but just wanted to point it out. It should be and not -Rashmi On 3/21/07, prt <[EMAIL PROTECTED]> wrote:

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
> From: Jeff Sadowski [mailto:[EMAIL PROTECTED] > Subject: Re: [OT] apache-tomcat on an ia64 rhel4? > > What about jikes will that work? Jikes is just a Java compiler - not a runtime system. You still need a JRE to load and execute the generated class files and provide the APIs. Class files pro

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
What about jikes will that work? On 3/21/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Jeff Sadowski [mailto:[EMAIL PROTECTED] > Subject: Re: apache-tomcat on an ia64 rhel4? > > What is the difference between Java Runtime Environment and having the > java binary to run? A myriad o

Problem in MySQL JNDI Resource..

2007-03-21 Thread prt
Hi to all, I have in webapps web application name "test1". In server.xml i define Resource for MySQL db, In test1/WEB-INF/web.xml i define, DB Connection jdbc/mydb javax.sql.DataSource Container I start my Apache tomcat 5 on port 80 and everything work good in

Re: OutOfMemoryError

2007-03-21 Thread Haroon Rafique
On Yesterday at 2:54pm, FHDL=>Filip Hanik - Dev Lists <[EMAIL PROTECTED]>...: FHDL> >java.lang.OutOfMemoryError: unable to create new native thread FHDL> FHDL> There is not enough space to create a new thread. Threads(stacks). FHDL> if -Xmx solves your problem, then set it and be happy :) FHDL>

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
> From: Jeff Sadowski [mailto:[EMAIL PROTECTED] > Subject: Re: apache-tomcat on an ia64 rhel4? > > What is the difference between Java Runtime Environment and having the > java binary to run? A myriad of library API implementations provided with a proper JRE but not supported by gcj. > I know s

Re: Re: Requesting files with non-English/international characters in their names

2007-03-21 Thread Thomas Peter Berntsen
-- Forwarded message -- From: Christopher Schultz <[EMAIL PROTECTED]> To: Tomcat Users List Date: Mon, 19 Mar 2007 12:55:30 -0400 Subject: Re: Requesting files with non-English/international characters in their names -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, Thanks

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
IBM's JRE is jikes I think I'll look into it it might also be an opensource project. "Might" I'll check it out. Thanks On 3/21/07, David Smith <[EMAIL PROTECTED]> wrote: Tomcat is really a whole service environment for running java servlets and jsp. Don't think if it in terms of CGIs that just

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
What is the difference between Java Runtime Environment and having the java binary to run? Is there one? If I have the java binary do I not have the JRE? rpm -qa|grep java java-1.4.2-gcj-compat-1.4.2.0-27jpp gcc-java-3.4.6-3.1 I know swing is not implemeted yet but do servlets use guis? IA64 is

Re: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread vamsee movva
Ok, I got it. Thanks On 3/21/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: vamsee movva [mailto:[EMAIL PROTECTED] > Subject: Re: apache-tomcat on an ia64 rhel4? > > My project supervisor told me , he built Java SE on IA64 bit machine. Yes, it can be done, but that still doesn't

RE: [OT] apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
> From: vamsee movva [mailto:[EMAIL PROTECTED] > Subject: Re: apache-tomcat on an ia64 rhel4? > > My project supervisor told me , he built Java SE on IA64 bit machine. Yes, it can be done, but that still doesn't address the lack of a JIT to convert byte codes into IA64 instructions. (The HotSp

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread vamsee movva
Hi Chuck, I am talking about bulding JAVA SE from source. I thought it won't be a problem. My project supervisor told me , he built Java SE on IA64 bit machine. I don't know whether Java SE comes with JRE or not. I know we need not build java application again if we change the platform. Excuse m

RE: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
> From: vamsee movva [mailto:[EMAIL PROTECTED] > Subject: Re: apache-tomcat on an ia64 rhel4? > > How about installing everything from source ?? Are you talking about building a JVM from the Sun source? That's a decidedly non-trivial exercise, and still doesn't resolve the problem of not having

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread vamsee movva
How about installing everything from source ?? On 3/21/07, David Smith <[EMAIL PROTECTED]> wrote: Tomcat is really a whole service environment for running java servlets and jsp. Don't think if it in terms of CGIs that just run for the request and close down. Tomcat is more akin to Apache's h

RE: JK ISAPI Filter and Keep-Alive/Chunked Encoding (a.k.a. Is 1.2.21 broken?)

2007-03-21 Thread Brandon Knitter
Will do, please give me a day. -- -bk -Original Message- From: Mladen Turk [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 11:27 AM To: Brandon Knitter Cc: Tomcat Users List Subject: Re: JK ISAPI Filter and Keep-Alive/Chunked Encoding (a.k.a. Is 1.2.21 broken?) Brandon Knit

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Bob Hall wrote: --- Paul Singleton <[EMAIL PROTECTED]> wrote: >> I want to deploy the same war into different (5.5) >> Services (e.g. "test" and "live"), and want it to >> discover where it is and behave differently. I didn't explain *why* we want to do this, because I don't want to spend t

high CPU usage

2007-03-21 Thread Gurdeep Kaur \(gurdeep\)
I am going to add some more information to the question I asked yesterday. I am running a TLS test case to do a TLS handshake on port 8443 of our server that is running Tomcat 5.5. I noticed in the log file that there are two threads currently running on the invocation of this test( there should

Re: can a web app discover its Service?

2007-03-21 Thread Bob Hall
--- Paul Singleton <[EMAIL PROTECTED]> wrote: > >> I want to deploy the same war into different > (5.5) > >> Services (e.g. "test" and "live"), and want it > to > >> discover where it is and behave differently. > > I didn't explain *why* we want to do this, because I > don't want to spend tim

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread David Smith
Tomcat is really a whole service environment for running java servlets and jsp. Don't think if it in terms of CGIs that just run for the request and close down. Tomcat is more akin to Apache's httpd, listening ports and responding to client requests on the http or https protocol. It can be p

RE: requiring multiple roles for access

2007-03-21 Thread Propes, Barry L [GCG-NAOT]
yeah and you might even add another table to tie it in, too. I've done that as well. Tomcat requires the users and user_roles tables, but that doesn't inhibit you from customizing it further if needed. -Original Message- From: Ryan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 20

RE: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
> From: Jeff Sadowski [mailto:[EMAIL PROTECTED] > Subject: Re: apache-tomcat on an ia64 rhel4? > > I'm still really unclear about what tomcat is. Many books and tutorials are available, most of them freely available on the web. > I guess tomcat itself is open source but it depends on java > dev

Re: requiring multiple roles for access

2007-03-21 Thread Ryan
Chuck, I think you and Barry are correct, I will probably to define another role for this purpose and segregate different parts of the application. Thanks, Ryan On 3/21/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > From: Ryan [mailto:[EMAIL PROTECTED] > Subject: requiring multiple ro

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, Paul Singleton wrote: I want to deploy the same war into different (5.5) Services (e.g. "test" and "live"), and want it to discover where it is and behave differently. Is there a Tomcat-specific way to do this? Is

Re: requiring multiple roles for access

2007-03-21 Thread Ryan
Barry, I'm looking for a way to disable the user by taking them out of one role, but leaving them in the roles they were in before they were disabled (for informational purposes). I didn't think it would be possible, but I wanted to throw it out there in case I missed something. What you are sugg

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
I'm still really unclear about what tomcat is. I have never used it I play mostly with php and html. I have another engineer that would like to use it. Is there a fully open source alternative? I guess tomcat itself is open source but it depends on java development kit? is that right? I'm more int

RE: can a web app discover its Service?

2007-03-21 Thread Caldarale, Charles R
> From: Paul Singleton [mailto:[EMAIL PROTECTED] > Subject: Re: can a web app discover its Service? > > I've had a closer look at Tomcat Configuration > Reference, which says you can set per-Server > JNDI variables (GlobalNamingResources), and > per-Context ones, but there's no mention of > per-S

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Mikolaj Rydzewski wrote: Paul Singleton wrote: I want to deploy the same war into different (5.5) Services (e.g. "test" and "live"), and want it to discover where it is and behave differently. Is there a Tomcat-specific way to do this? JMX and MBeans come to mind. Is there a container-indepen

Re: can a web app discover its Service?

2007-03-21 Thread Paul Singleton
Raghupathy, Gurumoorthy wrote: How about Setting up jndi variables ? I've had a closer look at Tomcat Configuration Reference, which says you can set per-Server JNDI variables (GlobalNamingResources), and per-Context ones, but there's no mention of per-Service variables. Any idea whether/how t

Re: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Jeff Sadowski
I couldn't find the binary to download either like Charles. Thanks for the link though On 3/21/07, Nelson, Tracy M. <[EMAIL PROTECTED]> wrote: | From: Jeff Sadowski [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 20 March, 2007 16:44 | | I would like to run apache-tomcat on an dual Itanium server I h

IIS 7.0

2007-03-21 Thread Stefan Wachter
Hi all, has anyone already managed to integrate Tomcat into an IIS 7.0 using the isapi_redirect.dll? I tried for several hours but did not succeed. --Stefan - To start a new topic, e-mail: users@tomcat.apache.org To unsubscr

RE: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Caldarale, Charles R
> From: Nelson, Tracy M. [mailto:[EMAIL PROTECTED] > Subject: RE: apache-tomcat on an ia64 rhel4? > > Sun shows a 1.5 JDK for RHAS3.0 on Itanium2 at > http://java.sun.com/j2se/1.5.0/system-configurations.html. Yup - but there's no IA64 entries on the actual download page. Bait and switch? -

RE: apache-tomcat on an ia64 rhel4?

2007-03-21 Thread Nelson, Tracy M.
| From: Jeff Sadowski [mailto:[EMAIL PROTECTED] | Sent: Tuesday, 20 March, 2007 16:44 | | I would like to run apache-tomcat on an dual Itanium server I have at | work. | I cannot find JDK for it nor can I find anything besides gcj Sun shows a 1.5 JDK for RHAS3.0 on Itanium2 at http://java.sun.com

Re: JK ISAPI Filter and Keep-Alive/Chunked Encoding (a.k.a. Is 1.2.21 broken?)

2007-03-21 Thread Mladen Turk
Brandon Knitter wrote: Attached and below. Let me know if this is considered large and I should move this to a bugzilla issue. Only took us about 30 minutes to apply it. Again, this is against 1.2.21! It would be the best if you could open bugzilla issue, because the patch is more the a sm

RE: JK ISAPI Filter and Keep-Alive/Chunked Encoding (a.k.a. Is 1.2.21 broken?)

2007-03-21 Thread Brandon Knitter
Well, thing is that Keep-Alive and Transfer-Encoding go hand-in-hand when you add compression to the HTTP response. With something like gzip compression the web server doesn't know the the Content-Length of the stream so the *only* way to achieve Keep-Alive without a Content-Length (AFAIK) is to d

Re: Tomcat server tools?

2007-03-21 Thread NilsonParra
Hi. http://www.lambdaprobe.org I hope that it is of utility Nilson Hoa Doan escribió: > Can someone suggest me a tool that lets you manage and see how many people > are connected to your server, along with their info too. Kind of like IIS > administrative tool. > I have check with Jboss but d

RE: Who do I have to pay (and how much) to...

2007-03-21 Thread Caldarale, Charles R
> From: Matthew [mailto:[EMAIL PROTECTED] > Subject: Re: Who do I have to pay (and how much) to... > > Actually, I'm getting a 400. > > I should point out that the whole set up works when I add > a tag within the tag (in server.xml) and > set the docBase. I should not need (nor do I want) to h

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Matthew
Hello Hassan, I quite agree, it should be easy. As it turns out, whilst I saw the link mentioned by Rashmi and tried it a while ago, my configuration must have been compromised elsewhere, as it did not work. Now, retrying the same thing, it comes up fine and, as you said, with hindsight, it

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Hassan Schroeder
On 3/21/07, Matthew <[EMAIL PROTECTED]> wrote: Here's the set up I imagine (a fixed size font may be needed to view the directory structures below)... In server.xml... This is just not that difficult. Specify an appBase for each host, e.g. Now in $CATALINA_HOME/webapps/foo put your

Can JMX proxy invoke operations on Mbeans?

2007-03-21 Thread Nicholas Sushkin
Hi, Can I invoke mbean operations using JMX Proxy? I am reading "Using JMX Proxy Servlet" Section of http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html, but it only mentions reading and setting mbean attributes. Thank you -- Nicholas Sushkin, Senior Software Engineer Open Finance s

Tomcat server tools?

2007-03-21 Thread Hoa Doan
Can someone suggest me a tool that lets you manage and see how many people are connected to your server, along with their info too. Kind of like IIS administrative tool. I have check with Jboss but don't know which Jboss tool to use. - It's here! Your new messa

Re: Can I get your 2 cents?

2007-03-21 Thread Rashmi Rubdi
The error is: Caused by: java.lang.IllegalArgumentException: Object name cannot be null This error occurs when you use Java Reflection to reference an obj. Are you using some frameworks that are based on Reflection such as Struts, Spring, Hibernate etc? Or have your own Reflection code? Someone

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Rashmi Rubdi
Not sure if you read this: http://tomcat.apache.org/tomcat-5.5-doc/virtual-hosting-howto.html I've configured according to Approach #2 , as it makes it easy to switch off projects in the development environment. I was able to set up virtual hosts simply by following the above How-to.** On 3/21/

Can I get your 2 cents?

2007-03-21 Thread Nathan Aaron
I sent this yesterday. I am hoping someone can let me know as why this is occurring or maybe give me some ideas of things to look at. Any help would be greatly appreciated! I am running Apache 2.0.52, jk2 2.0.4, and Tomcat 5.0.28. Recently I changed the version of Java that Tomcat is using

RE: deploying problem

2007-03-21 Thread Deano!!
21-Mar-07 4:20:42 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet Faces Servlet threw exception com.sun.rave.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: Exception in JSP: /Page1.jsp:7 4: 5: 6: 7:

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Matthew
Hello Chuck, Actually, I'm getting a 400. I have read many pages (including the link you've provided) and agree that the consensus is that the context tag (in META-INF) should be empty if there at all. However, regardless of how I populate the tag in server.xml, I always get a 400 (so now I'

RE: Who do I have to pay (and how much) to...

2007-03-21 Thread Caldarale, Charles R
> From: Matthew [mailto:[EMAIL PROTECTED] > Subject: Re: Who do I have to pay (and how much) to... > > I believe there is a way of specifying the context information in > context.xml that resides in the META-INF directory of the hosts .war > file. That is the preferred mechanism. Read the doc

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Matthew
Hello David, If you care to send me the solution along with that bank account number.. ;-) David Delbecq wrote: You don't have to pay anyone, most people on this mailing list are helping each other for free. However, if you really want to waste money, i can send you my bank account numbe

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Matthew
Hello, Thanks for all the replies to my plea. I should point out that I am not trying to do all the configuring of virtual hosts in the context.xml file. I realize I still need the entries in server.xml, however, I believe there is a way of specifying the context information in context.xml t

RE: SSL set expiration date

2007-03-21 Thread Hoa Doan
Yup it helped thanks, its better than the default one. "Zhan, Jimmy" <[EMAIL PROTECTED]> wrote: Hi, I don't you can or not to set "none/never expire", but you can set a longer days. If you use keytool, using -validith days(say 10) If you use openssl using -day days(say 10) Hope it

RE: SSL set expiration date

2007-03-21 Thread Zhan, Jimmy
Hi, I don't you can or not to set "none/never expire", but you can set a longer days. If you use keytool, using -validith days(say 10) If you use openssl using -day days(say 10) Hope it help you. Jimmy -Original Message- From: Hoa Doan [mailto:[EMAIL PROTECTED] Sent: Tues

AW: Unable to compile class for JSP

2007-03-21 Thread Peter.Matthias
Hi everybody, thanks for your help, which I really appreciate! I still don't know exactly what it was, but I fixed it by doing the following: - uninstall tomcat - reinstall it, not having it run as a windows service - installing it in a directory "tomcat_4_1" rather then the suggested "tomcat 4.1"

Re: A disk directory context without cache

2007-03-21 Thread Artur Rataj
Thank you for help, it was indeed the listings setting in web.xml that needed to be changed. Now it works ok. Artur - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: requiring multiple roles for access

2007-03-21 Thread Caldarale, Charles R
> From: Ryan [mailto:[EMAIL PROTECTED] > Subject: requiring multiple roles for access > > I would like to require a user to belong to two roles to > access a certain application (i.e. user must belong to role1 > AND role2 to access). I've tried the following in my web.xml > >

Problem help: how iterate arraylist included in a object with c:for

2007-03-21 Thread dr_pompeii
Hello guys i have this case: for payments each object (a debt) can has more details about part of payment (Set object) of the object so, in the next part of code jsp, the first for represents the list of the objects and the nested for (second) represents the details or the Set objects for each O

Re: A disk directory context without cache

2007-03-21 Thread sputnik
Artur Rataj wrote: >> Please help me. I tried this: >> >>> reloadable=\"true\"> >> >> >> with various combinations of slashes, with a symlink etc. it all gives >> 404 when trying >> >> http:///disk >> >> -

Re: A disk directory context without cache

2007-03-21 Thread Hassan Schroeder
On 3/21/07, Artur Rataj <[EMAIL PROTECTED]> wrote: it all gives 404 when trying http:///disk Do you have a valid welcome file, or are you specifically trying a file that you *know* is there? e.g. either http:///disk/index.jsp or http:///disk/foo.html Directory listing isn't on by defa

RE: mod_jk load balancing with SSL?

2007-03-21 Thread Sean Neeley
Tim, Thank you. That was very helpful. It looks like your settings are very similar to mine. The difference is that you are distributing traffic to tomcats on several different servers and I am distributing to several tomcats on a single server. I'm guessing that something needs to be changed

RE: requiring multiple roles for access

2007-03-21 Thread Propes, Barry L [GCG-NAOT]
I know you can assign different roles to an app, and to a user, and make that user need one role to get to one part and an additional role to access a separate part of the app, but the entire app? Not sure about that. I've got people in my users table that have to have multiple roles for several

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread Filip Hanik - Dev Lists
did you add log4j.jar into your library as well (WEB-INF/lib)? that's what you need, then you can just use it. Tomcat will not use your "logger" for its own logging, putting stuff in WEB-INF-lib/classes is for your webapps logging purposes Filip Gaurav Kushwaha wrote: I am trying to use log4j

RE: A disk directory context without cache

2007-03-21 Thread Propes, Barry L [GCG-NAOT]
all of mine look like this, with no slashes on docBase mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 9:23 AM To: Tomcat Users List Subject: Re: A disk directory context without cache Please help me. I tried this: with various combinations of slashes, with a symlink

Re: Tomcat 6.0.10/Tomcat Native 1.1.8/Apache2 .0.59/Apache APR 1.2.8/Solaris 10

2007-03-21 Thread Filip Hanik - Dev Lists
John Minson wrote: Please be patient this is not my area of expertise (I am a JOATMON) I installed Apache2 2.0.59 Tomcat 6.0.10 & mod_jk on Solaris 10. It all seems to work. Looking at the catalina.out log file I see 'INFO: The Apache Tomcat Native library which allows optimal pe

Re: A disk directory context without cache

2007-03-21 Thread Artur Rataj
Please help me. I tried this: with various combinations of slashes, with a symlink etc. it all gives 404 when trying http:///disk - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: A disk directory context without cache

2007-03-21 Thread Artur Rataj
I have just copied the context from another one in the default configuration file. On 3/21/07, Mikolaj Rydzewski <[EMAIL PROTECTED]> wrote: Artur Rataj wrote: > docBase="/home/lib/disk/" >reloadable="true"> > prefix="localhost_examples_log." suffi

Re: Tomcat5 and jndi context using fscontext from Sun

2007-03-21 Thread Francesco Pretto
I forgot my app context configuration: is there anything i can to do to let that class to write inside, let's say, /tmp/visionehrcv ? (absolute path in the real fs, i intend) or am i doing something wrong? Please note that fscontext.jar and providerutil.jar are in the WEB-INF/lib director

RE: [Deployment] Tomcat 5.5, Single war into multiple apps

2007-03-21 Thread Caldarale, Charles R
> From: Eugene Wong [mailto:[EMAIL PROTECTED] > Subject: Re: [Deployment] Tomcat 5.5, Single war into multiple apps > > Where should I put if not in seperate xml under > conf/Catalina/localhost? Where you have them is fine, just take out the path attribute. Do not put elements in server.xml,

Tomcat5 and jndi context using fscontext from Sun

2007-03-21 Thread Francesco Pretto
Hi! I use tomcat 5.0.30 with java 1.4 for my app (constrained to them, unfortunately). My os is Gnu/Linux Ubuntu 6.10. I use hibernate plus Sun fscontext (class com.sun.jndi.fscontext.RefFSContextFactory ) to create a jndi context ( stored in the filesystem) for my application, so hibernate can e

requiring multiple roles for access

2007-03-21 Thread Ryan
Hi All, I would like to require a user to belong to two roles to access a certain application (i.e. user must belong to role1 AND role2 to access). I've tried the following in my web.xml role1 role2 Unfortunately, this doesn't seem to work (it seems to allow r

Re: Log4j problems in Tomcat 5.x

2007-03-21 Thread reno
Le mercredi 21 mars 2007 à 14:36 +0530, Gaurav Kushwaha a écrit : > I am trying to use log4j with Tomcat. I created a log4j.properties file and > dumped it in WEB-INF/classes. I believe its still not being picked up by > Tomcat. Any ideas ? could you please precise your problem... is your log4j

Re: Who do I have to pay (and how much) to...

2007-03-21 Thread Martin Gainty
use Apache VirtualHosts ..a fairly lightweight HTTP server OR but if you want to use only tomcat if your URLs will always map to TomcatServer:TomcatPort and if you configure the default catalina connector port for 80 you will only need the TomcatServer then map your webapp relative path for tomca

Re: A disk directory context without cache

2007-03-21 Thread Mikolaj Rydzewski
Artur Rataj wrote: Where can I read about element? I cannot find it in the docs. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> smime.p7s Description: S/MIME Cryptographic Signature

  1   2   >