Re: Error 401 deploying war to Tomcat with Ant

2009-09-14 Thread Charl Gerber
Nevermind Turns out oracle database had a web page running at same port (8080). Via web browser I correctly saw Tomcat, via ant task it went to oracle. Stopped Oracle and all was back to normal. doh. --- On Mon, 14/9/09, Charl Gerber wrote: > From: Charl Gerber > Subject: Err

Error 401 deploying war to Tomcat with Ant

2009-09-14 Thread Charl Gerber
Hi Everyone, Using Tomcat 6.0.20, Ant 1.7.1 and Java 1.6_14. Windows Vista Home premium. I had ant deploy tasks that worked fine. I removed my Java installation and upgraded to 1.6_16. All of a sudden all my apps (without having changed code, properties, config or anything) could not be deploye

"remember me" authentication?

2009-02-26 Thread Charl Gerber
Hi everyone, Does Tomcat provide default support in some way to implement a 'remember me' feature for form based authentication? This should not be dependent on a user's browser remembering the username/password, but by a checkbox you can check/clear on the logon jsp. If so, where do I find i

Reusing form configured in form based authentication

2009-01-12 Thread Charl Gerber
Hi, I have an application using form based authentication. Is it possible to use the same form as a "stand-alone" login screen? Default, if you enter the url of the form manually (or get it from your browser's history) and you submit it, you get an error message. You always have a smart-ass who

RE: Configuring a Realm

2009-01-06 Thread Charl Gerber
Subject: RE: Configuring a Realm > To: "Tomcat Users List" > Date: Tuesday, 6 January, 2009, 4:21 PM > > From: Charl Gerber [mailto:charlger...@yahoo.com] > > Subject: Configuring a Realm > > > I know I somehow have to configure the > > > to use my new Realm

RE: Configuring a Realm

2009-01-06 Thread Charl Gerber
> No, you don't, other than to indicate the > authentication mechanism. The presence of the > element inside your webapp's should be > sufficient to cause Tomcat to use it. That's what I thought, but my Realm is just ignored and the one that is present by default when installing Tomcat is used

Configuring a Realm

2009-01-05 Thread Charl Gerber
Hi, Using Tomcat 6.0.14, I need some help. I have left the default server.xml mostly unchanged, except for the configuration of a global datasource. For my application, I have created a Realm in its context.xml which is suppose to be used for authentication, but Tomcat continues to use the defa

Re: RES: RES: Application context configuration & datasources

2008-03-27 Thread Charl Gerber
your app? No! You create a "ResourceLink" entry in your context.html. Then it links to the resource defined in server.xml. > -Mensagem original- > De: Charl Gerber [mailto:[EMAIL PROTECTED] > Enviada em: quinta-feira, 27 de março de 2008 09:04 > Para: Tomcat U

Re: RES: Application context configuration & datasources

2008-03-27 Thread Charl Gerber
ons-3.2.jar, commons-dbutils-1.1.jar > and commons-pool-1.3.jar inside that dir too, > otherwise your pools won't work. The versions > mentioned in the files are the latest ones, but I > guess you can use the ones you have. > > If it still doesn't work, tell us... >

Re: Application context configuration & datasources

2008-03-27 Thread Charl Gerber
wrote: > Where is your Resource definition ? seems like the > Driver class name and url is not defined. > > -Sameer > > --- Charl Gerber <[EMAIL PROTECTED]> wrote: > > > I have 4 Tomcat environments for the same > > application: > > two development

Application context configuration & datasources

2008-03-26 Thread Charl Gerber
I have 4 Tomcat environments for the same application: two development machines, 1 test and 1 production. Development machines are Windows 2000 and Vista, the others are linux. All 4 machines have Tomcat 6.0.14 installed. I really have problems getting the application properly deployed and configu

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
> If you have any VirtualHost somewhere in your httpd > configuration, you > need to put the JkMount into the VirtualHost that > handles your request. That works now! I mounted it to the virtual host, and it worked! Kinda. I doesn't work with the url domain/myapp I have to type an actual file:

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
> Anything in the JkLogFile apart from the initialized > message? nope, that's the only message I get. > What's the URL of the request you are testing with, > and what answer do you get exactly? Url: www.mydomain.com/myapp (There's a default index.html configured in it) Reply is: Not Found Th

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
Hi Charl, > > Charl Gerber schrieb: > > OK, my worker.properties: > > > > worker.list=worker1 > > worker.worker1.type=ajp13 > > worker.worker1.host=localhost > > worker.worker1.port=8009 > > OK > > > and in my server.xml: > > > >

Re: mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
JkMount /myapp/* worker1 Can anyone spot errors here? The paths are all valid, triple-checked those. Thanks. --- Charl Gerber <[EMAIL PROTECTED]> wrote: > Hi, > > using jdk 1.6_05, Tomcat 6.0.14 and Apache 1.3.39. > > Tomcat seems to be working fine on its own, as does > A

mod_jk connecor settings in server.xml?

2008-03-25 Thread Charl Gerber
Hi, using jdk 1.6_05, Tomcat 6.0.14 and Apache 1.3.39. Tomcat seems to be working fine on its own, as does Apache. I installed the mod_jk connector according to documentation so much so that I eventually get the log message: [Tue Mar 25 21:32:19 2008] [32488:0] [info] jk_init::mod_jk.c (2706): m

Re: APR based Apache Tomcat Native library

2008-03-24 Thread Charl Gerber
hmmm. I reverted back to Tomcat 6.0.14 and everything is solved. Same procedure as below and my applications are now running fine. Still getting the APR message, but at least my apps are running. --- Charl Gerber <[EMAIL PROTECTED]> wrote: > I have just installed Tomcat 6.0.16 on C

APR based Apache Tomcat Native library

2008-03-24 Thread Charl Gerber
I have just installed Tomcat 6.0.16 on Centos 5.0 with Java 1.6_05. I made no customizations to the setups and deployed a .war file to the webapps directory of Tomcat. The first thing I see in the log files is: INFO: The APR based Apache Tomcat Native library which allows optimal performance in p

Re: Memory allocation

2008-03-24 Thread Charl Gerber
I'm using JDK 1.6_05, downloaded from sun.java.com. And Tomcat 6.0.16, downloaded from apache website. How much memory will Tomcat be allocated on default? --- Gabe Wong <[EMAIL PROTECTED]> wrote: > Charl Gerber wrote: > > Hi, > > > > I'm setting up a

Memory allocation

2008-03-23 Thread Charl Gerber
Hi, I'm setting up a Centos 5 server with Apache, MySQL and Tomcat 6 (jre 1.6). I think we have joomla on it as well. The machine will be used purely as a webserver running a tomcat app and maybe some static html from the apache server. Quite a bit of interaction with the MySQL server will be done

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Charl Gerber
VM, > you as well as others are using the same application > server instance and > JVM. > So image if everyone is able to make changes on the > global configuration > file e.g. server.xml,etc. > > > > Charl Gerber wrote: > > I currently DO have my own Tom

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Charl Gerber
a listener in your web.xml that > create a connection > pool and link it to jndi? > > En l'instant précis du 03/10/07 14:01, Charl Gerber > s'exprimait en ces > termes: > > Turns out datasource configuration is not possible > > using Plesk as a shared to

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Charl Gerber
en are comparable to those where > you have to share > your tomcat. > > My 2 cents... > > Ken Bowen > > Charl Gerber wrote: > > Turns out datasource configuration is not possible > > using Plesk as a shared tomcat server, the guys at > > Plesk themselves t

Re: Tomcat/Plesk datasource setup problems

2007-10-03 Thread Charl Gerber
working by defining its own connection pooling. So now I have two pools :(( --- Pid <[EMAIL PROTECTED]> wrote: > Charl Gerber wrote: > > Hi, > > > > I just moved my hosting from a provider where I > had a > > private Tomcat server with complete control o

Re: Tomcat/Plesk datasource setup problems

2007-10-01 Thread Charl Gerber
t.xml after that? --- Pid <[EMAIL PROTECTED]> wrote: > Charl Gerber wrote: > > Hi, > > > > I just moved my hosting from a provider where I > had a > > private Tomcat server with complete control over > it to > > a provider that uses Plesk and I

Tomcat/Plesk datasource setup problems

2007-10-01 Thread Charl Gerber
Hi, I just moved my hosting from a provider where I had a private Tomcat server with complete control over it to a provider that uses Plesk and I share the Tomcat server with other users. The provider has no Tomcat knowledge in house and the Tomcat service is rarely used, so they couldn't help me

RE: jsp cannont find my bean class

2006-01-09 Thread Charl Gerber
Is com.mybean the class or the package? If the class, you are encouraged to name the class with a capital letter, ie: com.MyBean or com.Mybean. Did you import the class at the top of the jsp? <[EMAIL PROTECTED] import="com.MyBean" %> --- marju jalloh <[EMAIL PROTECTED]> wrote: > I don`t know w

Re: Deploying unpacked war file

2006-01-08 Thread Charl Gerber
Thanks > Mauro > -- > > Charl Gerber wrote: > > >Sry, > > > >I want to deploy a .war without letting Tomcat > unpack > >it. > > > > > >--- "Caldarale, Charles R" > ><[EMAIL PROTECTED]> wrote: > >

RE: Deploying unpacked war file

2006-01-07 Thread Charl Gerber
Sry, I want to deploy a .war without letting Tomcat unpack it. --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > > From: Charl Gerber [mailto:[EMAIL PROTECTED] > > Subject: Deploying unpacked war file > > > > How do you deploy an unpacked .w

Re: how to execute javascript file in jsp

2006-01-06 Thread Charl Gerber
--- marju jalloh <[EMAIL PROTECTED]> wrote: > Hi everyone, > I`m using tomcat 4.1.* on Linux (serge) but find it > diffecult to include javascript file in my jsp.I did > it with > <%@ page import="myjavascript.js*"%> > but it could not find the file.Also with > . > It compile but the scri

Re: war file deployment question

2006-01-06 Thread Charl Gerber
Question being? --- Jignesh Shah <[EMAIL PROTECTED]> wrote: > Hi, > > I have a war file that works fine under JRun and > Jetty. Now when I deploy it under > $CATALINA_HOME/webapps directory, the war file > creates > its usual tree under webapps. Now this is what it > looks like after deployment

Deploying unpacked war file

2006-01-06 Thread Charl Gerber
How do you deploy an unpacked .war file in Tomcat 5.5.12 and not let Tomcat have it unpacked? In 4.1.x it was easy: you just placed an "myapp.xml" context descriptor in the /webapps directory and that pointed to where the .war was (anywhere you want it to be). I tried this approach in 5.5.12, but

Deploying a Tomcat 5.5.12 app

2006-01-05 Thread Charl Gerber
I'm converting my 4.1.31 webapps to 5.5.12. I deploy a packed .war with in the META-INF directory this context.xml: Using the deployer tasks, the app deploys and gives no error messages, but accessing it gives an empty screen. I suspect my Contxt attributes are not correct - where can I

Where can I get JspC / Jasper2 argument overview?

2006-01-04 Thread Charl Gerber
All the examples only show a set few, but where can I get a complete list of all the possible options and arguments I can set? I particularly want to remove source jsp files from a war if they have been compiled. - To unsubscrib

RE: Problem with Tomcat deployer

2006-01-04 Thread Charl Gerber
Seems my problem was due to a bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=38046 --- Charl Gerber <[EMAIL PROTECTED]> wrote: > > I'm curious: which one is the "correct" deployer > > tool? > > The binary distributed as the deployer for Tomcat

RE: Problem with Tomcat deployer

2006-01-04 Thread Charl Gerber
> I'm curious: which one is the "correct" deployer > tool? The binary distributed as the deployer for Tomcat 5.5.12. They specificly say that you have to update the deployer when you update Tomcat. Here's the exact error message: [jasper2] java.lang.IllegalStateException: No Java compiler availa

Problem with Tomcat deployer

2006-01-03 Thread Charl Gerber
I'm using Tomcat 5.5.12 with the correct deployer tool. I use the deployer tool out of the box, all my environment settings are correct, but when I attempt to compile and package a project, it bombs out with an error like: IllegalstateException: no suitable Compiler found Any idea? Thanks --