Re: tomcat manager not working

2011-09-08 Thread André Warnier
I don't want to confuse things even more, but the OP in his configuration has : and and maxyexpress.co.uk so that makes 2 Virtual Hosts with the same appBase, and a non-recommended in the server.xml file. Mar

Re: tomcat manager not working

2011-09-08 Thread Mark Eggers
- Original Message - > From: "Caldarale, Charles R" > To: Tomcat Users List > Cc: > Sent: Thursday, September 8, 2011 8:15 PM > Subject: RE: tomcat manager not working > >> From: Mark Eggers [mailto:its_toas...@yahoo.com] >> Subject: Re: tomcat manager not working > >> You have th

RE: tomcat manager not working

2011-09-08 Thread Caldarale, Charles R
> From: Mark Eggers [mailto:its_toas...@yahoo.com] > Subject: Re: tomcat manager not working > You have the following virtual host: > >     >    maxyexpress.co.uk > > This means that the actual docBase may end up to be: > %CATALINA_HOME%\webapps\d:\wwwroot\maxyexpress.co.uk\wwwroot Don't thin

Re: tomcat manager not working

2011-09-08 Thread Mark Eggers
- Original Message - > From: Russ Michaels > To: Tomcat Users List > Cc: > Sent: Thursday, September 8, 2011 4:11 PM > Subject: Re: tomcat manager not working > > it was broke before using the vhost copier, and I have already undone > all the changes it made to the server.xml and put i

Re: tomcat manager not working

2011-09-08 Thread Russ Michaels
it was broke before using the vhost copier, and I have already undone all the changes it made to the server.xml and put it back to how it was oriignally. here is now it looks now

Re: tomcat manager not working

2011-09-08 Thread Jordan Michaels
IIS version doesn't matter as you're working directly with Tomcat's web server. Tested on w2k3 and it works for me. Try it without the VHost Copier and see if you get better results. -JM On 09/08/2011 02:58 PM, Russ Michaels wrote: yes 100%, no other version of the installer has ever been do

Re: tomcat manager not working

2011-09-08 Thread Russ Michaels
yes 100%, no other version of the installer has ever been downloaded in this server. The localhost entry was changed the vhost copier plugin, but it already didn't work before I installed this. the server we have been discussing is windows 2003 IIS6. On Thu, Sep 8, 2011 at 10:20 PM, Jordan Michae

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Anjib Mulepati
when i click on java:/comp it gave error Error: Cannot create resource instance javax.naming.NamingException: Cannot create resource instance at org.apache.naming.factory.TransactionFactory.getObjectIn

Re: tomcat manager not working

2011-09-08 Thread Jordan Michaels
Are you certain? That version of the installer doesn't update the Tomcat localhost entry. If your localhost entry was modified, that's not the version you used. Further, that version works for me using the URL's you specified. Which OS (be specific) are you having the trouble on? Warm regard

Re: Tomcat issue (Solaris 10)

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amit, Please keep conversations on-list to benefit others. On 9/8/2011 3:57 PM, Anand, Amit (Contractor) wrote: > Thank you very much for all your help! Like I said, not very good > with Tomcat. So this patch should fix this CVE-2011-3109 (Bug > 516

Re: Save session information in Memory database

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 9/8/2011 2:17 PM, Ashish Kulkarni wrote: > Has anyone configured tomcat to save session information in memory > database like java DB or hsqldb, I'm sure it can be done, as Tomcat provides org.apache.catalina.session.JDBCStore for use with

Re: delegatingresultset for tomcat-jdbc?

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 9/8/2011 4:37 PM, Anthony J. Biacco wrote: > So I'm trying to switch from commons-dbcp to tomcat-jdbc, tomcat > 7.0.21. I have a webapp that uses DelegatingResultSet from > org.apache.commons.dbcp.DelegatingResultSet Is there a comparable >

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anjib, On 9/8/2011 4:51 PM, Anjib Mulepati wrote: > DataSource ds = null; try { 40. Context initCtx = new > InitialContext(); 41.Context envCtx = (Context) > initCtx.lookup("java:comp/env"); 42. ds = (DataSource) > envC

Re: Tomcat issue (Solaris 10)

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amit, Please keep conversations on-list to benefit others. On 9/8/2011 3:57 PM, Anand, Amit (Contractor) wrote: > Thank you very much for all your help! Like I said, not very good > with Tomcat. So this patch should fix this CVE-2011-3109 (Bug > 51

Re: tomcat manager not working

2011-09-08 Thread Russ Michaels
railo-3.2.3.000-pl0-windows-installer.exe On Thu, Sep 8, 2011 at 10:03 PM, Jordan Michaels wrote: > what version of the installer are you using? > > Warm regards, > Jordan Michaels > > On 09/08/2011 01:59 PM, Russ Michaels wrote: >> >> service has been restart >> cache has been cleared >> the p

Re: tomcat manager not working

2011-09-08 Thread Jordan Michaels
what version of the installer are you using? Warm regards, Jordan Michaels On 09/08/2011 01:59 PM, Russ Michaels wrote: service has been restart cache has been cleared the pages giving 404 are http://localhost:/manager/html http://localhost:/manager/status ---

Re: tomcat manager not working

2011-09-08 Thread Russ Michaels
service has been restart cache has been cleared the pages giving 404 are http://localhost:/manager/html http://localhost:/manager/status On Thu, Sep 8, 2011 at 9:56 PM, Jordan Michaels wrote: > Restart the service? Clear browser cache? What URL are you using? > > More information would

Re: tomcat manager not working

2011-09-08 Thread Jordan Michaels
Restart the service? Clear browser cache? What URL are you using? More information would be extremely helpful here. Warm regards, Jordan Michaels On 09/08/2011 01:54 PM, Russ Michaels wrote: that's how it was originally, I have changed it back to that and still the same problem. index.jsp work

Re: tomcat manager not working

2011-09-08 Thread Russ Michaels
that's how it was originally, I have changed it back to that and still the same problem. index.jsp works, but nothing else does, tomcat 404 error On Thu, Sep 8, 2011 at 9:49 PM, Jordan Michaels wrote: > Don't use context at all in there. Your localhost entry should be: > >                  unpa

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Anjib Mulepati
1. Changed to "ojdbc6" same problem. 2. I didn't change any config 3. public class DynICFactory implements JNDIInterface { private DataSource dataSource; @Override public DataSource getDataSource() { return dataSource; } @Override public AgencyInterface createAg

Re: tomcat manager not working

2011-09-08 Thread Jordan Michaels
Don't use context at all in there. Your localhost entry should be: .. and that's it. Unless you deliberately want your default site to be the same as your IIS default site. Restart the tomcat service after you update the server.xml with the default loclahost entry, then hit you

Re: tomcat manager not working

2011-09-08 Thread Russ Michaels
tried that didn.t work. On a working server, my localhost entry is WEB-INF/web.xml and lochost: gets me into the tomcat admin and it all works the non working server had the exact same entry, and I tried changing it to point to the c:\railo\tomcat\webapps\root On Thu, Sep 8, 2011 a

delegatingresultset for tomcat-jdbc?

2011-09-08 Thread Anthony J. Biacco
So I'm trying to switch from commons-dbcp to tomcat-jdbc, tomcat 7.0.21. I have a webapp that uses DelegatingResultSet from org.apache.commons.dbcp.DelegatingResultSet Is there a comparable way of doing this in tomcat-jdbc? Or should I just use a regular ResultSet? Thanks, -Tony -

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 njib, On 9/8/2011 3:54 PM, Anjib Mulepati wrote: > 1. I have only one instance of jar file "classes12.jar" under lib > folder of tomcat. Wow... classes12? I remember that from back in the year 2000. Are you sure it isn't the old ZIP file they used to

Re: tomcat manager not working

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Russ, On 9/8/2011 3:57 PM, Russ Michaels wrote: > I have already tried the Railo forums and been told to come here as > it is a problem with Tomcat and not Railo. So, their out-of-the-box configuration doesn't work and it's a Tomcat problem? :( > I

Re: tomcat manager not working

2011-09-08 Thread Pid
On 08/09/2011 21:06, Jordan Michaels wrote: > > Make sure the "localhost" server.xml mapping points to the tomcat > webapps/ROOT/ directory and you should be set to use the Tomcat webapps. What does that mean in terms of the XML elements & attributes in server.xml? p signature.asc Descriptio

Re: tomcat manager not working

2011-09-08 Thread Jordan Michaels
> I have already tried the Railo forums and been told to come here as it > is a problem with Tomcat and not Railo. What? Link it, or it didn't happen. Check your localhost mapping in the Tomcat server.xml file. Make sure it's pointing to the Tomcat webapps/ROOT/ folder. Some earlier Railo buil

Re: tomcat manager not working

2011-09-08 Thread Russ Michaels
I have already tried the Railo forums and been told to come here as it is a problem with Tomcat and not Railo. I think the only difference is the install path, it is put in c:\railo\tomcat rather than c:\tomcat, so lets just work on that assumption, i'm sure i'll find out pretty quick if that is no

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Anjib Mulepati
1. I have only one instance of jar file "classes12.jar" under lib folder of tomcat. 2. There is no other error I can see in the log. But error message do change to following Sep 8, 2011 3:50:45 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet actio

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Chema
>>       >> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) >>       >> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) >>       org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) >>       org.apache.strut

RE: JNDI configuration with 6.0.29

2011-09-08 Thread Propes, Barry L
And do you have an instance of the jdbc driver in more than one place? -Original Message- From: Felix Schumacher [mailto:felix.schumac...@internetallee.de] Sent: Thursday, September 08, 2011 2:01 PM To: Tomcat Users List Subject: Re: JNDI configuration with 6.0.29 Am Donnerstag, den 08.0

Re: tomcat manager not working

2011-09-08 Thread markt
Russ Michaels wrote: >On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz < >ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Russ, >> >> On 9/8/2011 11:44 AM, Russ Michaels wrote: >> > ok I have an Apache Tomcat installed via the Railo installer f

Re: tomcat manager not working

2011-09-08 Thread Russ Michaels
On Thu, Sep 8, 2011 at 7:08 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Russ, > > On 9/8/2011 11:44 AM, Russ Michaels wrote: > > ok I have an Apache Tomcat installed via the Railo installer from > > www.getrailo.org > > Why

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Felix Schumacher
Am Donnerstag, den 08.09.2011, 14:49 -0400 schrieb Anjib Mulepati: > yes after changing to > ds = (DataSource) envCtx.lookup("jdbc/dummy_value"); > > i am getting > > javax.naming.NameNotFoundException: Name dummy_value is not bound in this > Context > org.apache.naming.NamingContext.

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Anjib Mulepati
yes after changing to ds = (DataSource) envCtx.lookup("jdbc/dummy_value"); i am getting javax.naming.NameNotFoundException: Name dummy_value is not bound in this Context org.apache.naming.NamingContext.lookup(NamingContext.java:770) org.apache.naming.NamingContext.lookup(Nam

RE: JNDI configuration with 6.0.29

2011-09-08 Thread Felix Schumacher
Am Mittwoch, den 07.09.2011, 10:22 -0500 schrieb Anjib Mulepati: > Yes I am positive So, your error message changes, if you change your factory code? Say, if you change your code like this ds = (DataSource) envCtx.lookup("jdbc/no_such_name"); Do you see a message like "NameNotFoundException: N

Re: tomcat manager not working

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Russ, On 9/8/2011 11:44 AM, Russ Michaels wrote: > ok I have an Apache Tomcat installed via the Railo installer from > www.getrailo.org Why not download directly from apache.org? > sometimes when I install it the Tomcat admin pages (status, > tom

Re: JNDI configuration with 6.0.29

2011-09-08 Thread Anjib Mulepati
Tomcat log says SEVERE: Servlet.service() for servlet jsp threw exception javax.naming.NameNotFoundException: Name dynic is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at

tomcat manager not working

2011-09-08 Thread Russ Michaels
ok I have an Apache Tomcat installed via the Railo installer from www.getrailo.org sometimes when I install it the Tomcat admin pages (status, tomcat manager) do not work, only the main page is working. I have compared it to working installs and everything seems the same. any ideas ? I am run

Re: Tomcat issue (Solaris 10)

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amit, On 9/7/2011 6:38 PM, Christopher Schultz wrote: > I've been trying to determine if using an AJP "secret" will thwart > this kind of attack. I suspect it will, but I can't get my TC to > take a secret just now (see my post under separate cover).

RE: Class not found exception

2011-09-08 Thread Sonwabo Jordan
Unfortunately, the war file that I initially uploaded is not something I wrote myself: actually one of the open source project management solutions called project.net. Maybe, to follow your advice, I must try using Tomcat 6 and see what happens. Thanks. >>> Talha Fazal 2011/09/08 04:29 PM >>>

RE: Class not found exception

2011-09-08 Thread Talha Fazal
I ran into a similar issue. My mistake was that I was compiling the JSPs using Tomcat 6 compiler and deploying it into Tomcat 7. Once I modified my ant build file to use jasper from my Tomcat 7 installation, and redeployed, it resolved the issue. Talha. -Original Message- From: Sonwabo

Class not found exception

2011-09-08 Thread Sonwabo Jordan
Good dayI am new to Tomcat (using ver 7.0 on windows XP) and have deployed a war file which loads successfully using the Tomcat manger gui. However, when I try to run it I get the ff exception:java.lang.ClassNotFoundException: org.apache.AnnotationProcessor org.apache.catalina.loader.WebappClas

Re: Re : Re : Re : Re : Re : Re : Performance issue in simpleTags and tagfiles

2011-09-08 Thread Mark Thomas
On 08/09/2011 13:50, Adrian Gonzalez wrote: > Thanks very much Mark for all the work on this issue ! > > Do you know which version of tomcat will contain the improvements you've made > ? 7.0.22 onwards. Mark - To unsubscribe,

Re : Re : Re : Re : Re : Re : Performance issue in simpleTags and tagfiles

2011-09-08 Thread Adrian Gonzalez
Thanks very much Mark for all the work on this issue ! Do you know which version of tomcat will contain the improvements you've made ?   - Mail original - De : Mark Thomas À : Tomcat Users List Cc : Envoyé le : Jeudi 8 Septembre 2011 14h24 Objet : Re: Re : Re : Re : Re : Re : Performanc

Re: Re : Re : Re : Re : Re : Performance issue in simpleTags and tagfiles

2011-09-08 Thread Mark Thomas
On 08/09/2011 12:19, Adrian Gonzalez wrote: > Thanks Mark ! > >> It should be possible to cache the ValueExpression per JSP page (in the >> PageContext) > > Yes, but the PageContext life's span is more or less a user request, no ? Correct. I should have said via the PageContext since that is al

Re : Re : Re : Re : Re : Performance issue in simpleTags and tagfiles

2011-09-08 Thread Adrian Gonzalez
Thanks Mark ! > It should be possible to cache the ValueExpression per JSP page (in > the PageContext) Yes, but the PageContext life's span is more or less a user request, no ? In this case, ValueExpression caching will only be usefull when exactly the same expression is used multiple times in

Re: Re : Re : Re : Re : Performance issue in simpleTags and tagfiles

2011-09-08 Thread Mark Thomas
On 08/09/2011 10:40, Adrian Gonzalez wrote: >> The parsed expressions are already cached. I don't think there is >> any scope for further caching here. > > > Parsed expressions are cached as org.apache.el.parser.Node instances > (in ExpressionBuilder#createNodeInternal) - if I understood > correc

Re: Having difficulty suppressing the org.apache.tomcat.util.digester.Digester logger

2011-09-08 Thread Jesse Farinacci
Thank you! On Thu, Sep 8, 2011 at 2:28 AM, Konstantin Kolinko wrote: > Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51758 -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not.

Re : Re : Re : Re : Performance issue in simpleTags and tagfiles

2011-09-08 Thread Adrian Gonzalez
> The parsed expressions are already cached. I don't think there is any scope > for further caching here. Parsed expressions are cached as org.apache.el.parser.Node instances (in ExpressionBuilder#createNodeInternal) - if I understood correctly. What I was think was to cache javax.el.ValueExpre

Re: Re : Re : Re : Performance issue in simpleTags and tagfiles

2011-09-08 Thread Mark Thomas
On 08/09/2011 09:59, Adrian Gonzalez wrote: > Just downloaded JProfiler eval. > > Compared tagfile performance between 7.0.21 and 7.0.trunk (this one this time > : http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/) > > With your optimization, we achieve a 24% performance gain - nice ;) > >

Re : Re : Re : Performance issue in simpleTags and tagfiles

2011-09-08 Thread Adrian Gonzalez
Just downloaded JProfiler eval. Compared tagfile performance between 7.0.21 and 7.0.trunk (this one this time : http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/) With your optimization, we achieve a 24% performance gain - nice ;)  Test         7.0.21    7.0.trunk tagfile       267ms      2

Re: URL for Tomcat forums

2011-09-08 Thread André Warnier
André Warnier wrote: Sonwabo Jordan wrote: Hi What is the URL for the Tomcat forums so that I can go and have a look at questions already asked before I submit my own? Maybe at the same place where you found the address of this one ? Try http://tomcat.apache.org/lists.html and look for "ar

Re: URL for Tomcat forums

2011-09-08 Thread André Warnier
Sonwabo Jordan wrote: Hi What is the URL for the Tomcat forums so that I can go and have a look at questions already asked before I submit my own? Maybe at the same place where you found the address of this one ? Try http://tomcat.apache.org/lists.html and look for "archives" -

Re: URL for Tomcat forums

2011-09-08 Thread Markus Schönhaber
08.09.2011 10:28, Sonwabo Jordan: > What is the URL for the Tomcat forums so that I can go and have a look at > questions already asked before I submit my own? http://tomcat.apache.org/lists.html provides links to archives of the various Tomcat mailing lists. Although only the MARC archives are

URL for Tomcat forums

2011-09-08 Thread Sonwabo Jordan
Hi What is the URL for the Tomcat forums so that I can go and have a look at questions already asked before I submit my own? Thanks Sonwabo Please find our Email Disclaimer here: http://www.ukzn.ac.za/disclaimer/