META-INF/context.xml

2006-01-02 Thread Nehal Sangoi
Hi Everyone, I am using manager-deployer to deploy my application war into webapps. Now, when i am keeping my JDBC context details in server.xml (for a permanent entry), my ant build file fails to deploy the war with error as "application alreay exists at context path". Hence, i kep my JDBC cont

Re: Question about compiling JK1.2.15

2006-01-02 Thread Bill Barker
"Bob Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill, > > Thanks for pointing that out. I got locked in to the way I did > it from a previous version and didn't look far enough. > > Can you point out where the docs for configuring mod_proxy_ajp might > be? It's integra

Re: Tomcat 5.0 HTTP 404 with hello.class

2006-01-02 Thread Bob Smith
Is the package in your source code com.hello? > As I understand it I can save Hello.class as > /usr/share/tomcat5/webapps/hello/WEB-INF/classes/com/hello/Hello.class and > address is as http://localhost:8080/hello/Hello > > This results in a HTTP 404 error message. > > Background > > I am runn

Re: Question about compiling JK1.2.15

2006-01-02 Thread Bob Smith
Bill, Thanks for pointing that out. I got locked in to the way I did it from a previous version and didn't look far enough. Can you point out where the docs for configuring mod_proxy_ajp might be? Thanks, -Bob > It looks like you did: > ./configure --with-apache=/path/to/httpd/source > > in

Tomcat 5.0 HTTP 404 with hello.class

2006-01-02 Thread White-Home.com
As I understand it I can save Hello.class as /usr/share/tomcat5/webapps/hello/WEB-INF/classes/com/hello/Hello.class and address is as http://localhost:8080/hello/Hello This results in a HTTP 404 error message. Background I am running Linux FC4 and Tomcat 5.0.30 I have a hello.jsp in the /

Re: Question about compiling JK1.2.15

2006-01-02 Thread Bill Barker
It looks like you did: ./configure --with-apache=/path/to/httpd/source instead of: ./configure --with-apxs=/path/to/httpd/dist/bin/apxs The first builds mod_jk for static linking with Httpd, the second builds mod_jk.so. The second also correctly resolves the apr and apr-util includes autom

Question about compiling JK1.2.15

2006-01-02 Thread Bob Smith
Hi Gurus, I'm trying to install JK 1.2.15 on Red Hat 9, for Apache 2.2.x and Tomcat 5.5. I ran configure and had to solve some dependency issues (apr and apr-util includes), and finally got it to compile. However, it did not compile mod_jk.so file, but the following: mod_jk.o mod_jk.lo lib_jk.la

Re: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-02 Thread Eric Munson
I found the error, there was a misspelling of the Context object in one of the context.xml files. When it was corrected everything worked. Thanks for all of your help. Thanks, Eric On 1/2/06, Eric Munson <[EMAIL PROTECTED]> wrote: > Thanks for your reply, but I have already moved the proper dri

Re: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-02 Thread Eric Munson
Thanks for your reply, but I have already moved the proper driver into the $CATALINA_HOME/common/lib. Is there anything else that would cause this behavior? Thanks, Eric On 1/2/06, Roberto Rios <[EMAIL PROTECTED]> wrote: > Copy your jdbc driver into [tomcat]/common/lib > > ---

Re: Tomcat5 on FC4 problems

2006-01-02 Thread Martin Gainty
Good Afternoon Bob- from what little I know to make sure you have the core features you should re-install the rpms from the fedora distro vs using an updater utility such as yum http://fedora.redhat.com/docs/drafts/rpm-guide-en/ Anyone else ? Martin- - Original Message - From: "Wade Ch

Re: Tomcat5 on FC4 problems

2006-01-02 Thread Wade Chandler
--- Bob Hartung <[EMAIL PROTECTED]> wrote: > Hi all and Happy New Year >I have FC4 updated on a test server and I am new > to java, Tomcat, > etc. I was trying to install a MIRC Servr (freeware > teaching and > research case file manager from the Radiological > Society of North > America)

Tomcat5 on FC4 problems

2006-01-02 Thread Bob Hartung
Hi all and Happy New Year I have FC4 updated on a test server and I am new to java, Tomcat, etc. I was trying to install a MIRC Servr (freeware teaching and research case file manager from the Radiological Society of North America) that called for java-1.4.2 and tomcat4. So like a newbie I

Re: How to turn of CONTEXT RELOADS??

2006-01-02 Thread Martin Gainty
Dobry Marcin- take a look inside your $CATALINA_HOME/conf/context.xml Anyone else? Martin- Original Message - From: "Marcin Okraszewszki" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Monday, January 02, 2006 11:39 AM Subject: Re: How to turn of CONTEXT RELOADS?? So, where

is actually a bug in tomcat...

2006-01-02 Thread Ron Piterman
seems to be a known Bug in tomcat. see http://issues.apache.org/jira/browse/TAPESTRY-607 Cheers, Ron Ron Piterman wrote: Mark Thomas wrote: Can you provide the smallest possible servlet/JSP that doesn't work? At a guess running in debug mode is fixing/working around some other issue that is

solved (607-patch): encoding problem with tomcat

2006-01-02 Thread Ron Piterman
607-patch seems to work this out. Ron Piterman wrote: Mark Thomas wrote: Can you provide the smallest possible servlet/JSP that doesn't work? At a guess running in debug mode is fixing/working around some other issue that is the root cause of the problem. Mark I am using tapestry, so I can

rewrite gurus help? (with mod_proxy_ajp)

2006-01-02 Thread Pete Lamborne
Hey all, There is very little info out there on this so far, given how new mod_proxy_ajp is. One post I found seemed to indicate the same bug with no solution The problem is that I can't get mod_rewrite to work transparently with mod_proxy_ajp. It either doesn't work at all (when I don'

Is this achievable with TC? - A domain-subdomain configuration question

2006-01-02 Thread Wei Wei
I am working on starting a new project: an application for various locations (think of a chain store). The business logic is the same for all locations while the data can vary for one location to another. I would like to have the following domain structure: www.mydomain.com - a user can selec

How to use dbcp connection pool with different driver versions

2006-01-02 Thread Rick Uks
Hi Is it possible to configure two datasources using different versions of same driver. I have to communicate with Postgres 8 and also with Postgres 7.2.*. driverClassName="org.postgresql.Driver" will use JDBC driver first visible to classloader, can i do something about it other then writing my

Re: encoding problem with tomcat

2006-01-02 Thread Ron Piterman
Mark Thomas wrote: Can you provide the smallest possible servlet/JSP that doesn't work? At a guess running in debug mode is fixing/working around some other issue that is the root cause of the problem. Mark I am using tapestry, so I can not really deliver anyhting else than a tapestry page /

Re: encoding problem with tomcat

2006-01-02 Thread Mark Thomas
Can you provide the smallest possible servlet/JSP that doesn't work? At a guess running in debug mode is fixing/working around some other issue that is the root cause of the problem. Mark Ron Piterman wrote: > now also when both are using the symlink at /home/ron/tomcat, running > tomcat in norma

Re: SoapMapper string could not be found

2006-01-02 Thread Mark Thomas
mukesh wrote: > Hi, > > I have a function called deliverMTMessage which accepts an array of String > as parameter but in wsdl it is defined as "anyType" and when I generate stub > using WSDL2Java the gets mapped to following way > Please advice it very urgent. This is an Axis question rather t

Re: Cannot create JDBC driver of class '' for connect URL 'null' Exception Help

2006-01-02 Thread Roberto Rios
Copy your jdbc driver into [tomcat]/common/lib - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: encoding problem with tomcat

2006-01-02 Thread Ron Piterman
now also when both are using the symlink at /home/ron/tomcat, running tomcat in normal mode (without debugging) gives me wrong encoding... ? Ron Piterman wrote: Here are both commands, as listed by ps (i broke them to make reading easier): >> first the normal tomcat: >> /usr/java/jre/bin/

Re: encoding problem with tomcat

2006-01-02 Thread Ron Piterman
Here are both commands, as listed by ps (i broke them to make reading easier): >> first the normal tomcat: >> /usr/java/jre/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/usr/java/tomcat/conf/logging.properties -Djava.endorsed.dirs=

Re: How to turn of CONTEXT RELOADS??

2006-01-02 Thread Marcin Okraszewszki
So, where should I put this ''? I hope it will help :) Regars, Marcin Okraszewski Martin Gainty napisał(a): Yes I believe those rules changed ever so slightly in Tomcat 5.x as your message indicated the doc states "Restart persistence may be disabled by setting this [pathname] attribute to

SoapMapper string could not be found

2006-01-02 Thread mukesh
Hi, I have a function called deliverMTMessage which accepts an array of String as parameter but in wsdl it is defined as "anyType" and when I generate stub using WSDL2Java the gets mapped to following way param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("",

encoding problem with tomcat

2006-01-02 Thread Ron Piterman
Hi all, I have this strange encoding problem with tomcat 5.5.12 serving tapestry pages: when I start tomcat using the startup.sh script, my tapestry pages are served with something wrong along the encoding pipeline, so some "special" characters like ä or ß are encoded wrong. when I start tomc

Re: How to turn of CONTEXT RELOADS??

2006-01-02 Thread Martin Gainty
Yes I believe those rules changed ever so slightly in Tomcat 5.x as your message indicated the doc states "Restart persistence may be disabled by setting this [pathname] attribute to an empty string." so should disable session object serialisation Anyone else? Martin- By default, Tomcat 5.5 a

javax.servlet.ServletException: javax/xml/rpc/Service

2006-01-02 Thread mukesh
Hi friends, I am able to access web service via command prompt using "java -cp $AXISCLASSPATH ws.TestService" but getting following error when trying to access a web service via browser (jsp page) cause java.lang.NoClassDefFoundError: javax/xml/rpc/Service java.lang.Cl

Re: realm diiferent constraint for different resource

2006-01-02 Thread Mark Thomas
philguillard wrote: > Hi, > > I'd like to set 2 different security contraints : /admin would be > accessible with admin roles and the rest of my application with user > roles. Only one security-constraint directive is allowed This is not correct. Multiple security constraints are allowed. > How

Re: How to turn of CONTEXT RELOADS??

2006-01-02 Thread Marcin Okraszewszki
I haven't set the reloadable option. Accorting to documentation, the default is "false", so I thought I do not need to set it. The context.xml: And the server.xml type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="or

realm diiferent constraint for different resource

2006-01-02 Thread philguillard
Hi, I'd like to set 2 different security contraints : /admin would be accessible with admin roles and the rest of my application with user roles. Only one security-constraint directive is allowed How can i manage that ? Rgards, Phil Entire Application /* user Ad

Re: How to turn of CONTEXT RELOADS??

2006-01-02 Thread Martin Gainty
Marcin- can we see contents of your /META-INF/context.xml specifically the value of the reloadable option dziekuje, Martin- - Original Message - From: "Marcin Okraszewszki" <[EMAIL PROTECTED]> To: Sent: Monday, January 02, 2006 6:30 AM Subject: How to turn of CONTEXT RELOADS?? Hi,

Re: GET request instead of POST

2006-01-02 Thread Martin Gainty
Putting any logic in applets seems to me an invitation to resource permission errors..more specifically.. Why would you elect to code an applet when there are are a number of tag libraries available for jsp pages to select from.. is/are there specific reason(s) why are you using applet(s) instead

Re: GET request instead of POST

2006-01-02 Thread Mark Thomas
[EMAIL PROTECTED] wrote: > Any help on this ? , resending since I did not any replies My first step would be to track down exactly where this GET request is coming from. I would use TcpMon (from the Apache Axis project) to act as a proxy in from of Apache to see exactly what your applet is sending

Re: Logging problem

2006-01-02 Thread Gaurav Kushwaha
I think you haven't defined the root category in your log4j.properties file. That might be causing the problem. Adding following lines should fix the problem: log4j.rootCategory=[priority], appenderName Regards, gaurav On 1/2/06, mukesh <[EMAIL PROTECTED]> wrote: > > Hi friends, > > > >

error 500

2006-01-02 Thread Bjørge Solli
Hi I am using a servlet called Live Access Server(las)[1], and get an error that none on the las mailing list seems to know the answer to. Maybe anyone here understands it: When I open http://testserver.com/las/servlets/dataset I get a 500 error: # HTTP Status 500 - type Exception

Logging problem

2006-01-02 Thread mukesh
Hi friends, I am not able to log the information. Though file gets created after restarting the tomcat5.5.12 but nothing is being written. **I have done application specific setting log4j.properties is on /usr/local/apache-tomcat-5.5.12/webapps/axis/WE

How to turn of CONTEXT RELOADS??

2006-01-02 Thread Marcin Okraszewszki
Hi, I would like to turn off automatic context reloading in Tomcat. It is isn't about reloadable="true" context setting, because I haven't set it and I do not change anything in webapp and I still I found such log entry: INFO: Reloading context [] And then the application is reloaded, the contex