Re: [newbie] Unable to find a javac compiler;

2008-05-09 Thread sakari . aaltonen
Quoting Hassan Schroeder <[EMAIL PROTECTED]>: On Fri, May 9, 2008 at 11:24 AM, <[EMAIL PROTECTED]> wrote: . when I, next, tell my browser to go to http://localhost:8080/JSPWiki/Install.jsp as suggested by the JSPWiki installation instructions, all I get is HTTP Status 404 - /JSPW

Re: I dont want my users to see tomcat console. Any advice?

2008-05-09 Thread ryan webb
Dear Mr. Johnny, Mr. Chris and Mr. Mark, Thank you very much for all your replies. You have different approaches to my problem. I will try all your solutions / suggestions and use what is most applicable to my situation. Yes, I will also read TC documentations. But for now I want a quick and simp

session.getMaxInactiveInterval() always returns default?

2008-05-09 Thread dhay
Sorry - wrong title obviously... cheers, David [EMAIL PROTECTED] 05/09/2008 08:35 PM Please respond to "Tomcat Users List" To "Tomcat Users List" cc Subject Re: JSF implementation selection We are running Tomcat 5.5 using the SSO Valve. We are hitting a strange situation, however,

Re: JSF implementation selection

2008-05-09 Thread dhay
We are running Tomcat 5.5 using the SSO Valve. We are hitting a strange situation, however, if we set the session timeout on our context to be less than the default 30 minutes eg 5 mins. The valve has the following check: if (((session.getMaxInactiveInterval() > 0) && (System.currentTimeMillis(

Re: ssl server configuration

2008-05-09 Thread Kevin Williams
I cant do a clean install on a production server. I did do this on a development server and everything worked fine. It's strange that my change to the server.xml caused logging to stop working completely. is there a log4j properties file i should add someone to get logging working again? On Fri

Re: Multiple Hits to same JSP

2008-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan, Alan Chaney wrote: | Have you checked to see whether or not they are real requests - that is, | coming from the web. If they are there's nothing anyone on this list can | do... Not entirely. It's possible to write a throttling filter that migh

Re: Multiple Hits to same JSP

2008-05-09 Thread Alan Chaney
Have you checked to see whether or not they are real requests - that is, coming from the web. If they are there's nothing anyone on this list can do... Try monitoring you network with something like wireshark. I have seen similar behavior - I think it may be from badly written spiders or feeb

log4j and two webapps

2008-05-09 Thread bizio
Hi guys. This is my first post here. I have a problem with log4j in one of two mine webapps: the first log4j.properties looks like # Conventions used in code # + Only few logging statements are at level INFO, just to log user activity # + RPC actions log at level DEBUG # + BM classes log at level

Multiple Hits to same JSP

2008-05-09 Thread Sameer Naik
Hi, We are using Apache 2.0.53 + mod_jk 1.2.21 + tomcat 5.0.28 combination and seeing multiple hits to a single JSP file in quick succession, like 500 hits in a minute from same user ID and same IP address. Response code is 200 for all the requests. It is happening randomly from various user ag

Re: error 1067

2008-05-09 Thread Filip Hanik - Dev Lists
or even better, catalina.bat run to run it in the same window Martin wrote: Jim- Can you start at command line %CATALINA_HOME%\bin\startup.bat ? M- - Original Message - From: "jim murray" <[EMAIL PROTECTED]> To: Sent: Friday, May 09, 2008 2:37 PM Subject: error 1067 I just had t

Re: logging catalina.out and localhost-##.log - don't append

2008-05-09 Thread David Fisher
On May 9, 2008, at 1:43 PM, Caldarale, Charles R wrote: From: Robert Koberg [mailto:[EMAIL PROTECTED] Subject: RE: logging catalina.out and localhost-##.log - don't append I am starting/stopping from a console with ./bin/startup.sh So modify the script (or wrapper it) to do "rm -f ./logs/*" a

Re: ssl server configuration

2008-05-09 Thread Mark Thomas
Kevin Williams wrote: I think I may have a logging problem. All my logs are completely empty. I get a log4j warning to stdout and that's it. How can I fix the logging problem. This is a need problem. Start with a clean install without your webapps. Logging will work out of the box (assumin

RE: [newbie] Unable to find a javac compiler;

2008-05-09 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: [newbie] Unable to find a javac compiler; > > As if by magic, this seems to trigger a process by which > the directory $CATALINA_HOME/webapps/JSPWiki is generated > from JSPWiki.war. It's not magic, it's autodeployment. > http

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Thabks a lot for your effort! -Mensagem original- De: Hassan Schroeder [mailto:[EMAIL PROTECTED] Enviada em: sexta-feira, 9 de maio de 2008 15:51 Para: Tomcat Users List Assunto: Re: trim-directive-whitespaces and .tag files On Fri, May 9, 2008 at 11:42 AM, Milanez, Marcus <[EMAIL PROTE

Re: error 1067

2008-05-09 Thread Martin
Jim- Can you start at command line %CATALINA_HOME%\bin\startup.bat ? M- - Original Message - From: "jim murray" <[EMAIL PROTECTED]> To: Sent: Friday, May 09, 2008 2:37 PM Subject: error 1067 I just had to restore my OS (windows XP) and re-install Apache 6. When I start the service

Re: trim-directive-whitespaces and .tag files

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 11:42 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > Which is slightly different, but got the directive working... Thus, I > believe this is the most appropriate web-app descriptor, right? sounds like :-) -- glad to hear it's working now! -- Hassan Schroeder --

RE: logging catalina.out and localhost-##.log - don't append

2008-05-09 Thread Caldarale, Charles R
> From: Robert Koberg [mailto:[EMAIL PROTECTED] > Subject: RE: logging catalina.out and localhost-##.log - don't append > > I am starting/stopping from a console with ./bin/startup.sh So modify the script (or wrapper it) to do "rm -f ./logs/*" and you're done. - Chuck THIS COMMUNICATION MAY

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Hassan, Thanks a lot. It worked! I noticed we were using the following web-app in DTD: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; version="2.5"> Then I just replaced by

RE: logging catalina.out and localhost-##.log - don't append

2008-05-09 Thread Robert Koberg
On Fri, 2008-05-09 at 13:27 -0500, Caldarale, Charles R wrote: > > From: Robert Koberg [mailto:[EMAIL PROTECTED] > > Subject: logging catalina.out and localhost-##.log - don't append > > > > What do you need to do to get tomcat to create a fresh > > catalina.out and localhost.log file for every

Re: [newbie] Unable to find a javac compiler;

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 11:24 AM, <[EMAIL PROTECTED]> wrote: > Outstanding. However, I still don't understand what is going on with > JSPWiki, the package I got into this Tomcat stuff for. > this does not help much because when I, next, tell my browser to go to > http://localhost:8080/JSPWiki

error 1067

2008-05-09 Thread jim murray
I just had to restore my OS (windows XP) and re-install Apache 6. When I start the service I get an error 1067 and it wont start. Help anyone? Prior to the restore it worked fine. jim murray - To start a new topic, e-mail: us

RE: logging catalina.out and localhost-##.log - don't append

2008-05-09 Thread Caldarale, Charles R
> From: Robert Koberg [mailto:[EMAIL PROTECTED] > Subject: logging catalina.out and localhost-##.log - don't append > > What do you need to do to get tomcat to create a fresh > catalina.out and localhost.log file for every restart? Is this a trick question? Why don't you just delete everythin

Re: trim-directive-whitespaces and .tag files

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 11:00 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > trimDirectiveWhitespaces directive simply doesn't work at all in Tomcat > 6.. I've posted this question here some months ago.. Uh, I just tried it on both a JSP file (page directive) and tag file using the tag directive

RE: [newbie] Unable to find a javac compiler;

2008-05-09 Thread sakari . aaltonen
Quoting "Caldarale, Charles R" <[EMAIL PROTECTED]>: Are you by any chance using the 3rd-party repackaged version of Tomcat that came with your Linux distribution? If so, throw it away, and download and install a real one from tomcat.apache.org. The 3rd-party junk has caused numerous problems o

logging catalina.out and localhost-##.log - don't append

2008-05-09 Thread Robert Koberg
What do you need to do to get tomcat to create a fresh catalina.out and localhost.log file for every restart? For development, I don't want those log files to append or roll for each new day. thanks, -Rob - To start a new topi

error 1067 at start

2008-05-09 Thread jim murray
I just had to restore my OS (windows XP) and re-install Apache 6. When I start the service I get an error 1067 and it wont start. Help anyone? jim murray - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Oh,I'm sorry, I thought you were refeering errouneous withe space trimming... trimDirectiveWhitespaces directive simply doesn't work at all in Tomcat 6.. I've posted this question here some months ago.. -Mensagem original- De: Hassan Schroeder [mailto:[EMAIL PROTECTED] Enviada em: sexta

Trying to understand the concept of embedded Tomcat

2008-05-09 Thread Frank Neslon
Hello, So I had the idea that I would like to deploy my application with Tomcat 'built in'. The goal is to just consolodate everything into one spot instead of scattering components all over the system. I keep reading about how Tomcat is 'embeddable', but I'm just not understanding something. I

Re: trim-directive-whitespaces and .tag files

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 9:55 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > I've reard about this issues, but our tests confirmed that all JSPs and > scripts are working well. We've also downloaded a filter that does just > the same, but we've experimented some javascript problems... Not sure wh

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Hassan, I've reard about this issues, but our tests confirmed that all JSPs and scripts are working well. We've also downloaded a filter that does just the same, but we've experimented some javascript problems... Thanks! Marcus Milanez -Mensagem original- De: Hassan Schroeder [mailto:

Re: ssl server configuration

2008-05-09 Thread Kevin Williams
I think I may have a logging problem. All my logs are completely empty. I get a log4j warning to stdout and that's it. How can I fix the logging problem. This is a need problem. On 5/9/08, Mark Thomas <[EMAIL PROTECTED]> wrote: > Kevin Williams wrote: >> But when i try to connect to https://

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 8:03 AM, karthikn <[EMAIL PROTECTED]> wrote: > Some body on the Form told me , Set up the cluster before applying load > balancing and Test the cluster's setup as following > >>>"deploy/undeploy your apps only to one server, and the cluster will >>> distribute the dep

Re: JSF implementation selection

2008-05-09 Thread Ingmar Lötzsch
Is it possible to use Icefaces and Tomahawk together? Thank you Ingmar Praful Sinha schrieb: Icefaces provides you a functionality of ajax embedded in it. But Myfaces did not. You can also you tomahawk for more enhanced tag lib. Any trouble can contact me on [EMAIL PROTECTED] Praful Sinha.

Re: JNDI connection issue

2008-05-09 Thread Mikolaj Rydzewski
Praful Sinha wrote: I don't know how Tomcat handles backslashes in path names. On the other hand I don't like presented docBase and path attributes. I'd rather specify: path="AppPts" docBase="C:\Tomcat 6.0\webapps" -

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread karthikn
Hi Sorry for the delay and Thx for reply Tomcat does not have "startup" ports. Yes I have set the 2 Independent TOMCAT's at 8080 and 8081 >> Before you worry about "clustering", can you even get a single request handled by Tomcat? I would be testing for "ROOT" web application in TOMC

Re: trim-directive-whitespaces and .tag files

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 7:45 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > Just a final questions: should it be working or not? I mean, ths > specification for trim-directive-whitespaces says that it could not work > in these cases? Actually, the 2.1 spec says: "As of JSP 2.1, it is possible t

Re: trim-directive-whitespaces and .tag files

2008-05-09 Thread Lucas Galfaso
Have you try converting your .tag files to .tagx files? On Fri, May 9, 2008 at 11:45 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > > OK Hassan, thanks a lot! If I could get this directive working with .tag > files I would appreciate a lot more, but if I couldn't find a way, I'll > try your sugg

RE: JSF implementation selection

2008-05-09 Thread Praful Sinha
Icefaces provides you a functionality of ajax embedded in it. But Myfaces did not. You can also you tomahawk for more enhanced tag lib. Any trouble can contact me on [EMAIL PROTECTED] Praful Sinha. -Original Message- From: itay sahar [mailto:[EMAIL PROTECTED] Sent: Friday, May 09, 200

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread Hassan Schroeder
> | Do i need to set up Load balancer to test the clustering ONLY ? > > I'm not sure how you would even use your cluster, much less test it, > without a load balancer. Absolutely. And the most confidence-inspiring (and pointy-haired-boss-impressing) test is to access your cluster through a load b

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
OK Hassan, thanks a lot! If I could get this directive working with .tag files I would appreciate a lot more, but if I couldn't find a way, I'll try your suggestion! Just a final questions: should it be working or not? I mean, ths specification for trim-directive-whitespaces says that it could no

RE: JNDI connection issue

2008-05-09 Thread Caldarale, Charles R
> From: Praful Sinha [mailto:[EMAIL PROTECTED] > Subject: RE: JNDI connection issue > > The configuration files look like this: > docBase="C:\Tomcat 6.0\webapps\AppPts" workDir="C:\Tomcat 6.0\work"> The above path attribute is clearly in error. When it's valid to use it, the path attribute is

JSF implementation selection

2008-05-09 Thread itay sahar
hi all, I would like you share with us the best JSF implemetation. (myfaces,icefaces) and explian why you prefer one above the other. Thanks Itay

RE: JNDI connection issue

2008-05-09 Thread Praful Sinha
Hi Chris, This is what we have mentioned in server.xml And I think we can keep this configuration in server.xml right. Thanks and Regards, Praful Sinha. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Friday, May 09, 2008 7:59 PM To: Tomcat Users List Subj

Re: trim-directive-whitespaces and .tag files

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 7:28 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > I think it won't be possible to trim white spaces from .tag files uwing > this directive then... If minimizing white space is critical for you, you might try something with the String taglib -- maybe wrap a string:squee

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, karthikn wrote: | ALL i was saying is i have 2 independent TOMCATS running on a | windows2000 machine | | c:\TOMCAT1 startup 8080 shutdown = 8090 Tomcat does not have "startup" ports. Do you mean that you have a "connector" listening on po

Re: response goes through load balancer?

2008-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, Hassan Schroeder wrote: | On Fri, May 9, 2008 at 6:51 AM, Christopher Schultz | <[EMAIL PROTECTED]> wrote: | |> | there is only one IP for the domain in DNS. How to set up DNS for the |> | purpose? |> |> Google for "round-robin DNS". | | That

Re: JNDI connection issue

2008-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Praful, Praful Sinha wrote: | The configuration files look like this: | | | | | | Based on the stack trace, I think the error is in server.xml, not in context.xml. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
I'll answer my own question here. I guess this directive takes effect during compile time 'cause when I try to pre-compile my jsps with the *.tag in my web.xml file, I come accross with the following error: "file: /appFolder/WEB-INF/tags/fields/data.tag(1,14) <%@ attribute directive can only be

Re: trim-directive-whitespaces and .tag files

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 7:21 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > No effect. I think that's because we never reference .tag files > directly. Probably -- it was worth a shot, I figured :-) > Do you know how this directive work? Does it remove white spaces in > every request (like a fi

Re: ! Tomcat 500 error NEED HELP!

2008-05-09 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=9415 Posted on behalf of a User type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException at com.enigma.sdk.web

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Hi Hassan, No effect. I think that's because we never reference .tag files directly. My guess is that when tomcat engine compiles .tag files into .java files, it ignores my trim-directive. Do you know how this directive work? Does it remove white spaces in every request (like a filter) or during

RE: JNDI connection issue

2008-05-09 Thread Praful Sinha
Hi Chris, The configuration files look like this: Praful Sinha. -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Friday, May 09, 2008 7:36 PM To: Tomcat Users List Subject: Re: JNDI connection issue -BEGIN PGP SIGNED MESSAGE-

Re: trim-directive-whitespaces and .tag files

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 7:04 AM, Milanez, Marcus <[EMAIL PROTECTED]> wrote: > I'm successfully using trim-directive-whitespaces in my web.xml file, > clearing unecessary white spaces from my pages. The only problem is that > .tag files content is not affected by this directive. What happened when

RE: [newbie] Unable to find a javac compiler;

2008-05-09 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: [newbie] Unable to find a javac compiler; > > I just took a first look at it, and the > relevant section seems to be this: The JSP servlet config looks normal. Are you by any chance using the 3rd-party repackaged version of Tom

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread karthikn
Hi Sorry for the delay and Thx for reply ALL i was saying is i have 2 independent TOMCATS running on a windows2000 machine c:\TOMCAT1 startup 8080 shutdown = 8090 d:\TOMCAT2 startup 8081 shutdown = 8091 JDK is as below d:/java/jdk163 I have already done the changes to server.xml for bot

Re: response goes through load balancer?

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 6:51 AM, Christopher Schultz <[EMAIL PROTECTED]> wrote: > | there is only one IP for the domain in DNS. How to set up DNS for the > | purpose? > > Google for "round-robin DNS". That will only work if you have multiple IPs assigned... -- Hassan Schroeder --

RES: trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Just for a matter of reference, I'm currently using Tomcat 6.0.14 under Windows 2003 server. Thanks again! -Mensagem original- De: Milanez, Marcus Enviada em: sexta-feira, 9 de maio de 2008 11:04 Para: 'Tomcat Users List' Assunto: trim-directive-whitespaces and .tag files Hi, I'm su

Re: JNDI connection issue

2008-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Praful, Praful Sinha wrote: | Getting an issues while creating JNDI connection | | javax.management.MalformedObjectNameException: Invalid character ':' in | value part of property It would seem that including your configuration would help greatly, h

trim-directive-whitespaces and .tag files

2008-05-09 Thread Milanez, Marcus
Hi, I'm successfully using trim-directive-whitespaces in my web.xml file, clearing unecessary white spaces from my pages. The only problem is that .tag files content is not affected by this directive. Is there a way to make it work? I've searched a lot for it and couldn't find anything... I'm us

Re: I dont want my users to see tomcat console. Any advice?

2008-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johnny, Johnny Kewl wrote: | Make a new web app call it ROOT | Then in the JSP page add something like | | Better yet, just rename your own webapp to ROOT and use that. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment

Re: response goes through load balancer?

2008-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave wrote: | Thank you for your help. One apache in the front end as load balancer | is not sufficient for heavy traffic. If I use two apaches in the | front, how to use DNS to load balancing Apaches? That is, some | requests go to Apache1, a

RE: [newbie] Unable to find a javac compiler;

2008-05-09 Thread sakari . aaltonen
Quoting "Caldarale, Charles R" <[EMAIL PROTECTED]>: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: [newbie] Unable to find a javac compiler; Why doesn't Tomcat find javac? Good question, since Tomcat 5.5 doesn't use the javac from tools.jar, unless you have specifically configured

RE: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Thanks for the replies, I think I understand what is happening now, I think for safety's sake I will use a separate config file for each web app instead of trying to share one between them all and load separate copies. Thank you. -Original Message- From: Mark Thomas [mailto:[EMAIL PROTEC

Re: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Ok thanks, it's starting to become clearer now. > The class file is in a jar file that lives in tomcat\shared\lib. I am guessing that these classes are loaded by a class loader further up the hierarchy described in the tomcat docs. I suppose in this instance there would

RE: [newbie] Unable to find a javac compiler;

2008-05-09 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: [newbie] Unable to find a javac compiler; > > Why doesn't Tomcat find javac? Good question, since Tomcat 5.5 doesn't use the javac from tools.jar, unless you have specifically configured it to do so. Have you changed anything in con

RE: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Ok thanks, it's starting to become clearer now. The class file is in a jar file that lives in tomcat\shared\lib. I am guessing that these classes are loaded by a class loader further up the hierarchy described in the tomcat docs. I suppose in this instance there would only be one class loaded?

JNDI connection issue

2008-05-09 Thread Praful Sinha
Hi All, Getting an issues while creating JNDI connection javax.management.MalformedObjectNameException: Invalid character ':' in value part of property at javax.management.ObjectName.construct(Unknown Source) at javax.management.ObjectName.(Unknown Source)

Re: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Thanks for the reply. To be honest I am not sure, both web apps are separated, have their own web.xml files and also are accessed via different ports, however as they are effectively the same application at different stages of development they each need to load paramete

Solution to Problem with Java Security Manager

2008-05-09 Thread Jonathan O'Donovan
Hi All - I found a solution to the problem I was experiencing - I changed the following in my JavaHome\jre\lib\security\java.policy file : grant { permission java.security.AllPermission; }; It was previously set to grant codeBase "file:${java.home}/lib/ext/*" { permission java.security

Re: I dont want my users to see tomcat console. Any advice?

2008-05-09 Thread Johnny Kewl
--- HARBOR: http://coolharbor.100free.com/index.htm The most powerful application server on earth. The only real POJO Application Server. Making the Java dream come true. --

RE: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Thanks for the reply. To be honest I am not sure, both web apps are separated, have their own web.xml files and also are accessed via different ports, however as they are effectively the same application at different stages of development they each need to load parameters in on start up to a clas

Re: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread David Delbecq
This all depends on your webapp structure. If your config class is on the common or system class loader, it's shared by all webapps. Otherwise, (that mean if class is in WEB-INF/lib or WEB-INF/classes), it shouldn't be shared. Unless, of course, you specified a specific classloader to use by tom

[newbie] Unable to find a javac compiler;

2008-05-09 Thread sakari . aaltonen
I would like to set up a Wiki and JSPWiki seems a likely candidate. So I am trying to get Tomcat 5.5 running. (The environment is Linux OpenSUSE 10.3.) I have got as far as to have the Sample "Hello, World" Application servlet run. However, the JSP example always fails with Unable to f

RE: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Ok, that's strange because yesterday I had a small problem, and I assumed that it was due to the same class being loaded on startup by 2 web apps. I had a url endpoint loaded into a config class on startup from the web.xml, for some reason no messages were reaching the correct end point. This conf

Re: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread Mark Thomas
Mark Thomas wrote: [EMAIL PROTECTED] wrote: Hi, Is it possible to configure a separate class loader for each web app running under tomcat? A colleague has informed that he can do this with web sphere and I am wondering if it is possible with tomcat. This is the case by default. No configur

Re: Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Hi, Is it possible to configure a separate class loader for each web app running under tomcat? A colleague has informed that he can do this with web sphere and I am wondering if it is possible with tomcat. This is the case by default. No configuration is required. Mar

Possible to assign different class loader for each web app with tomcat

2008-05-09 Thread paul.ockleford
Hi, Is it possible to configure a separate class loader for each web app running under tomcat? A colleague has informed that he can do this with web sphere and I am wondering if it is possible with tomcat. Thanks Paul Ockleford **

Re: I dont want my users to see tomcat console. Any advice?

2008-05-09 Thread Mark Thomas
ryan webb wrote: Mr. Johnny Kewl, Thank you very much for your quick reply. I get what are you trying to say. except on the last part: < Also make a note of the URL on the default page, so you can still get at the admin stuff. what note? please write simple example. You're right, if I restrict

Re: ssl server configuration

2008-05-09 Thread Mark Thomas
Kevin Williams wrote: But when i try to connect to https://host:8443, i get no response. i also tried telneting to that port to see if it was at least open from the server its running on (to eliminate a firewall problem) and i get connection refused. I don't beleive the daemon is running on the