Re: Apache/Tomcat security issue -- URGENT

2002-03-21 Thread todd tredeau

This is sort of easy... of course you run your site through Apache... 
which in turns does this connection

deny from all "somedirectory"

in your application or code...

include something from "somedirectory"

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions
include ... www.link-tool.com on your site

Surya Suravarapu wrote:

>I'm using Apache 1.3.22 and Tomcat 4.0.2 on Windows NT/2000.
>
>I've a context called WebApp whose docBase="E:\WebApp". So, when I 
>point my browser to http://localhost/WebApp/main it will take me to the 
>login screen of the application.
>
>There is a folder called "Reports" in my E:\WebApp. Some part of my 
>application is using Response.sendRedirect() and displaying the 
>requested file (from the Reports folder) to the browser. That's fine. I 
>want to show the files from that folder only through the application 
>and I have to configure my web server in such a way that it denies 
>requests if a User enters the file name manually like 
>http://localhost/WebApp/Reports/some-file.xls. Please help me if you 
>have a solution for this.
>
>Thanks.
>-Surya
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Tomcat 4.0.4-b1 does not work Help Help..................

2002-03-21 Thread todd tredeau

download a build older than 3-7-2002

greetings

todd


Uma Munugala wrote:

>>Hi
>>
>>
>>I have written a servlet which implements SingleThreadModel
>>and used already existing public static syncronized classes to access
>>database.
>>these classes were used for standalone application.
>>does static synchronized has any problem with servlets
>>
>>when I deployment my servlet and try to  run it gives me error, its stack
>>trace is below.
>>
>>when login reaches to access static synchronized class member or static
>>synchronized class method Iam getting
>>problem.
>>
>>Funny thing is sames servlet and same code works in java web server. Do I
>>need to do some thing else in
>>tomcat 4.0.4-b1 to make it work. I tried with tomcat 4.0.3 also.
>>I have seen similar problem in archives but that work around does not work
>>for me.
>>
>>__  Error _
>>
>>javax.servlet.ServletException: Invoker service() exception
>>at
>>
>org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java
>
>>:508)
>>at
>>org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
>>at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>at
>>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>
>>FilterChain.java:247)
>>at
>>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>
>>ain.java:193)
>>at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
>>at
>>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>
>>FilterChain.java:213)
>>at
>>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>
>>ain.java:193)
>>at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
>>at
>>
>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
>
>>FilterChain.java:213)
>>at
>>
>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
>
>>ain.java:193)
>>at
>>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
>
>>va:243)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>
>>66)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
>>at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>at
>>
>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
>
>>va:190)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>
>>66)
>>at
>>
>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
>
>>.java:475)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>
>>64)
>>at
>>
>org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2
>
>>46)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>
>>64)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
>>at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>at
>>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>>at
>>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
>
>>)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>
>>66)
>>at
>>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
>
>>java:170)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>
>>64)
>>at
>>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
>
>>)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>
>>64)
>>at
>>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>
>>64)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
>>at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>at
>>
>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
>
>>:174)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
>
>>66)
>>at
>>
>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>
>>at
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>at
>>
>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
>
>>1017)
>>at
>>
>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1115
>
>>)
>>at java.lang.Thread.run(Thread.java:484)
>>
>>
>>root cause
>>
>>java.lang.ClassFormatError: com/CellFusion/Relational/RelConnection
>>
>(Illegal
>
>>Variable name "")
>>at java.lang.ClassLoader.defineClass0(Native Method)
>>at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
>>at
>>java.security.SecureClassL

Re: tomcat does not support JavaScript

2002-03-22 Thread todd tredeau

But you can make javascript with it... http://www.link-tool.com


todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions


Leila Lappin wrote:

>Hi all,
>
>I found this interesting bit of information on 
>http://www.jguru.com/forums/view.jsp?EID=398307.  This may be useful for web 
>application developers who're planning to use tomcat as their application server.
>
>Leila
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: tomcat does not support JavaScript

2002-03-22 Thread todd tredeau

No, sorry, it kinda p-o'd me too I mean to tell them about that... 
the point I was trying to make, without the pop-ups, would be the output 
it produces on a site, like www.jspwarrior.com (promise, no pop-ups) 
This is produced by JSP. I apologize, tell Doug what you think about his 
stupid pop ups. [EMAIL PROTECTED]

Sorry Again..

Robert Douglass wrote:

>Why do you send us crap like this link? Do you really think people
>appreciate javascripts that open 30,000 windows?
>
>-Original Message-
>From: todd tredeau [mailto:[EMAIL PROTECTED]]
>Sent: Friday, March 22, 2002 11:35 PM
>To: Tomcat Users List
>Subject: Re: tomcat does not support JavaScript
>
>
>But you can make javascript with it... http://www.link-tool.com
>
>
>todd
>http://www.wiserlabz.com
>collaborative effort to promote Novell and Open Source solutions
>
>
>Leila Lappin wrote:
>
>>Hi all,
>>
>>I found this interesting bit of information on
>>
>http://www.jguru.com/forums/view.jsp?EID=398307.  This may be useful for web
>application developers who're planning to use tomcat as their application
>server.
>
>>Leila
>>
>>
>
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>




tomcat 4.1 - 3/7 and 3/23 build jndi contribute alias host

2002-03-26 Thread todd tredeau

Hello;
 We have a jndi source written for manager which works with
Netware / NDS. I would like to contribute it so it can be intergrated
with current builds. It works with the 3-7 build, and of course now
would have to be re-written because of changes in the latests builds.
Perhaps it can be integrated in such a way that will be acceptable for
the project. If one developer wishes to have the source, contact me
directly and I'll send it to you.

 I have a question on alias with tomcat. I create an alias host,
ie www.acsfriends.org. This is setup as a jsp site. When you enter the
raw domain, without the www, it is taking you to the tomcat startup
page... everything seems right, I am not sure if it is an apache bug or
tomcat bug.. or me dummy bug..

thanks

todd






--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Problem with cache clearing in Tomcat

2002-03-26 Thread todd tredeau

I found this issue seemed to have gone away for me, when I tried newest 
4.1 and JMX  enabled

Hope this helps

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Soefara Redzuan wrote:

> To first check whether it's a browser or Tomcat server problem, go to 
> another computer on your nework that has not yet been used to view the 
> offending JSP/servlet. If you find you're still viewing an older 
> version of the page, then it's obviously caching on the server. I've 
> found that 9 times out of 10 it's Tomcat caching and not browser 
> caching. If it's Tomcat caching then the META tags or pragma-no-cache 
> will not help.
>
> There's the reloadable="false" (or should it be "true"? I have to 
> check) parameter for the context in server.xml. But even that has not 
> helped for me and I have to just delete the "/work" directory whenever 
> I want to reload things. Be careful not to delete something in the 
> webapps directory by mistake. That can really ruin your day.
>
> Soefara.
>
>
>> From: "Jeff Larsen" <[EMAIL PROTECTED]>
>> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
>> To: "Tomcat Users List" <[EMAIL PROTECTED]>
>> Subject: Re: Problem with cache clearing in Tomcat
>> Date: Tue, 26 Mar 2002 09:29:48 -0600
>>
>> You may also want to try
>>
>> 
>>
>> However, I don't really trust META tags. Browser implementations
>> of META tags are not always reliable. Write to the response headers
>> directly. I embed the following at the top of every jsp page.
>>
>> <%
>>  response.setHeader("Cache-Control", "no-cache");
>>  response.setHeader("Pragma", "no-cache");
>>  response.setDateHeader("Expires", 0);
>> %>
>>
>> If you're not using jsp, you could also put this in your servlet code.
>>
>> However, during the development of my latest web app, I had similar 
>> cache
>> problems while running under Tomcat 3.2.3 standalone. In my 
>> production environment
>> however, I run Apache 1.3.23 with mod_jk to connect to Tomcat 4.0.3 
>> and my cache
>> problems went away. I'm not sure if it's a Tomcat version issue or if 
>> Tomcat's
>> standalone HTTP connector just doesn't handle the headers correctly.
>>
>> Good luck,
>>
>> Jeff
>>
>>
>> - Original Message -
>> From: "somya_iyer" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Tuesday, March 26, 2002 3:58 AM
>> Subject: Problem with cache clearing in Tomcat
>>
>>
>> > Hi,
>> > I'm using apache tomcat 4.0 and my application has been developed 
>> using only servlets
>> and an oracle database. After a user logs out, when the next one logs 
>> in,  the application
>> continues with the old pages belonging to the previous user. The old 
>> session has been
>> invalidated and the new session values are being correctly taken by 
>> the system. On
>> refreshing the screen, the correct pages come up. I have tried 
>> setting the header
>> information as follows:
>> > 
>> >  
>> > but this doesn't help either.
>> > Can anyone help out?
>> > Thanks,
>> > Somya
>> >
>> > --
>> > To unsubscribe:   
>> > For additional commands: 
>> > Troubles with the list: 
>>
>>
>> -- 
>> To unsubscribe:   
>> For additional commands: 
>> Troubles with the list: 
>>
>
>
> _
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> -- 
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Who use Tomcat as a stand-alone server in production environment ?

2002-03-27 Thread todd tredeau

Look, it is really not that hard e-mail me with your platform and 
I'll tell you what to do for apache/tomcat configuration, if I can 
figure it out you can.

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions



Laurent Comte wrote:

>I was very surprised to see how it's difficult to configure Tomcat with
>Apache and for now : "I can't get no satisfaction ..."
>But it seems to be very easy to install Tomcat and execute in "stand-alone"
>mode ...
>
>So I ask you : who use Tomcat as a stand-alone server in production
>environment ? Why and why not ? Is it ok ?
>
>
>Yes, I read this FAQ :
>"What are the advantages/disadvantages of using Tomcat's built-in HTTP
>server instead of, say, Apache?
>
>Regarding Tomcat's disadvantages when used as a stand-alone server, here is
>a list reproduced from the Tomcat-Apache HOWTO page:
>Tomcat is not as fast as Apache when it comes to static pages.
>Tomcat is not as configurable as Apache.
>Tomcat is not as robust as Apache.
>
>There are many sites with long time investment in certain web servers, for
>example, sites that are using CGI scripts/Server API modules/perl/php. We
>cannot assume that all of them will want to ditch this legacy.
>The page further says that " For all these reasons it is recommended that
>real world sites use an industrial strength web server, such as Apache, for
>serving the static content of the site, and use Tomcat as a Servlet/JSP
>add-on."
>The main thing that Tomcat has going for it is that it the official
>reference implementation of the Java Servlet 2.2 and JavaServer Pages 1.1
>technologies developed under the Apache license by some of the best
>developers around the world."
>
>
>Thank you.
>L.C.
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Please Ignore

2002-03-27 Thread todd tredeau

Maybe you could ask if somebody knows who is in charge of the list and 
e-mail him/her.

isaco wrote:

>ROTFLMAO
>Now that's original 
>
>-Original Message-
>From: Paul Brown [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, March 27, 2002 9:35 AM
>To: Tomcat Users List
>Subject: Please Ignore
>
>
>CUNT PISS TWAT FUCK BASTARD KNOB FANNY GIT PRICK WANKER BUGGER
>cunt piss twat fuck bastard knob fanny git prick wanker bugger
>
>
>I'm trying to get the list server to ban me
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Please Ignore

2002-03-27 Thread todd tredeau

I got a message saying something was quaranteened, so at some point, I 
assume someone will see this.. Is the problem that you get an error or 
something, that what, explain what happens when you e-mail to 
unsubscribe. I did not, there is some spottines in the e-mail lists, and 
for instance, I had to use web-mail to subscribe to a couple, because 
Netscape didn't like the e-mail addressgive us something to go on, 
if must work, or it's broken and eventually will be fixed. hahaha, that 
was stupid, duh, it must work or it's broken, i'm starting to sound like 
a programmer... :) anyway, give us something to go on here.

todd
http:///www.wiserlabz.com
collaborative effort to promote Novell and Open Source Solutions


Stuart Stephen wrote:

>alternatively you could email [EMAIL PROTECTED]
>using the email address that you have registered with
>
>-Original Message-
>From: Paul Brown [mailto:[EMAIL PROTECTED]]
>Sent: 27 March 2002 16:01
>To: Tomcat Users List
>Subject: RE: Please Ignore
>
>
>i've done that several times + used the traditional (documented) mechanisms
>ovr the last 6 weeks with no luck. hence this desperate measure.
>
>
>-Original Message-
>From: todd tredeau [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, March 27, 2002 3:58 PM
>To: Tomcat Users List
>Subject: Re: Please Ignore
>
>
>Maybe you could ask if somebody knows who is in charge of the list and
>e-mail him/her.
>
>isaco wrote:
>
>>ROTFLMAO
>>Now that's original 
>>
>>-Original Message-
>>From: Paul Brown [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, March 27, 2002 9:35 AM
>>To: Tomcat Users List
>>Subject: Please Ignore
>>
>>
>>CUNT PISS TWAT FUCK BASTARD KNOB FANNY GIT PRICK WANKER BUGGER
>>cunt piss twat fuck bastard knob fanny git prick wanker bugger
>>
>>
>>I'm trying to get the list server to ban me
>>
>>
>>--
>>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>>For additional commands: <mailto:[EMAIL PROTECTED]>
>>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>>
>>
>
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>




Re: JSP groups / mailing list

2002-03-27 Thread todd tredeau

Unfortunately most i've seen are pretty tied up to commercialization. 
I'd be happy to donate the resources for a NON-Commercial venture... 
Other than that, most of the standard sites we all see, are about it.. I 
wouldn't consider my response as any final work, i'm far from an expert. 
I did create a tomcat forum at wiserlabz nntp or web interface..

thanks

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source Solutions


Larry Chambers wrote:

> Are there any groups or mailing list(s) for JSP etc. that are good?
>
>
> _
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>
>
> -- 
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: TC Performance Testing

2002-03-28 Thread todd tredeau

I'd like to run your test on my platform... and share the info.. i think 
performance is a "tweak" issue, but often one of the minor details often 
under addressed... mail me the test if you want..

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Dahnke, Eric wrote:

>Performance Testing:
>
>Test Machine: TC4.0, JDK1.3.1_01, RH7.1, 700MHZ, 256M
>Page being served = Hello World index.html
>
>concurrent users   : 10
>requests/sec   : 39
>test duration  : 5 mins
>result code 200 (pages served) : 11690
>result code NA (failures)  : 0
>
>concurrent users   : 100
>requests/sec   : 168
>test duration  : 5 mins
>result code 200 (pages served) : 49376
>result code NA (failures)  : 1238
>
>concurrent users   : 400
>requests/sec   : 233
>test duration  : 5 mins
>result code 200 (pages served) : 47321
>result code NA (failures)  : 22806
>
>
>I have tested Apache 1.3.x and IIS serving static pages using these
>parameters and both display about 2x the performance. (twice as many pages
>served in the same amount of time and half as many errors). IS THERE
>ANYTHING I CAN DO TO INCREASE TC  PERFORMANCE. (ie. MinSpareServers 5,
>MaxSpareServers 10, stuff like that).
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: manager/remove functionality

2002-03-28 Thread todd tredeau

This has NEVER worked for me, I don't think it will if the directory 
exists...

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Jeff Larsen wrote:

>I'm having the same problem with unpacking updated
>war files when the directory already exists.
>
>Anyone out there know what's up?
>
>Jeff
>
>- Original Message -
>From: "Michael Teter" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, March 28, 2002 11:03 AM
>Subject: manager/remove functionality
>
>
>>Hello.
>>
>>I'm just beginning to use the manager app to deploy my
>>app instead of dropping a myapp.war file into the
>>webapps dir, deleting the webapps/myapp directory and
>>myapp.war file, stopping Tomcat, and retarting Tomcat.
>>
>>The stopping and restarting of Tomcat was a real drag.
>>
>>So now I do manager/install ... my war file from my
>>dist directory, and that makes my app available.  I
>>like it so far.  But then I modify my app, build (with
>>ant), manager/remove, and manager/install.
>>
>>That doesn't work unless I manually (or as part of my
>>ant dist activity) delete webapps/myapp directory.
>>
>>Now to my point.  I would expect manager/remove to
>>completely remove the app (including the webapps/myapp
>>directory.)  It doesn't remove the directory, so
>>subsequent manager/install attempts do nothing.  At
>>least, I can't see my changes unless I: ant dist
>>(including rm $TOMCAT_HOME/webapps/myapp),
>>manager/remove, and then manager/install.
>>
>>Am I misusing this or misunderstanding it?  Shouldn't
>>manager/remove actually remove the webapps/myapp dir?
>>Or shouldn't manager/install remove or overwrite the
>>webapps/myapp directory or its contents?
>>
>>Thanks for any pointers.  (I've read what
>>documentation I can find on Manager app, but it's
>>fairly sparse.)  I suppose I could change manager's
>>behavior by modifying its source, but I'll reserve
>>that for last.
>>
>>Michael
>>
>>PS: anyone know how to get XEmacs to highlight
>>Java/JSP code?  any pointers there would be welcome...
>>not much useful answers to this question from what I
>>can find on the net.
>>
>>__
>>Do You Yahoo!?
>>Yahoo! Movies - coverage of the 74th Academy Awards®
>>http://movies.yahoo.com/
>>
>>--
>>To unsubscribe:   
>>For additional commands: 
>>Troubles with the list: 
>>
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




Re: manager/remove functionality

2002-03-28 Thread todd tredeau

this is just a guess, but I would imagine in the typicall Production 
environment, the overhead required would be pretty intensive, also the 
mess that was made in the wrong hands. I believe that with the manager 
context in 4.04 and up, (both 4.04 and 4.1) have their own problems... 
you can force a deployment. I think that is probably the right approach 
personally, I don't mind doing that  If you're real familiar with 
the tomcat sources, I have some code remm has as well, for jndi that 
needs integration to tomcat standards... for ldap on Netware. in 4.1-dev.

thanks

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Jeff Larsen wrote:

>I've just looked at the source code and indeed, it just quits
>if the directory already exists.  If I can come up with a
>modification that works, I'll post the code.
>
>Has anyone asked the tomcat-developer list why it behaves
>like this?  What good is automatic unpacking of wars if it
>won't re-unpack an updated war file? Leaving it packed isn't
>an option for those of us that use Apache to serve the static
>content.
>
>Jeff
>
>- Original Message -
>From: "todd tredeau" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Sent: Thursday, March 28, 2002 3:58 PM
>Subject: Re: manager/remove functionality
>
>
>>This has NEVER worked for me, I don't think it will if the directory
>>exists...
>>
>>todd
>>http://www.wiserlabz.com
>>collaborative effort to promote Novell and Open Source solutions
>>
>>Jeff Larsen wrote:
>>
>>>I'm having the same problem with unpacking updated
>>>war files when the directory already exists.
>>>
>>>Anyone out there know what's up?
>>>
>>>Jeff
>>>
>>>- Original Message -
>>>From: "Michael Teter" <[EMAIL PROTECTED]>
>>>To: <[EMAIL PROTECTED]>
>>>Sent: Thursday, March 28, 2002 11:03 AM
>>>Subject: manager/remove functionality
>>>
>>>
>>>>Hello.
>>>>
>>>>I'm just beginning to use the manager app to deploy my
>>>>app instead of dropping a myapp.war file into the
>>>>webapps dir, deleting the webapps/myapp directory and
>>>>myapp.war file, stopping Tomcat, and retarting Tomcat.
>>>>
>>>>The stopping and restarting of Tomcat was a real drag.
>>>>
>>>>So now I do manager/install ... my war file from my
>>>>dist directory, and that makes my app available.  I
>>>>like it so far.  But then I modify my app, build (with
>>>>ant), manager/remove, and manager/install.
>>>>
>>>>That doesn't work unless I manually (or as part of my
>>>>ant dist activity) delete webapps/myapp directory.
>>>>
>>>>Now to my point.  I would expect manager/remove to
>>>>completely remove the app (including the webapps/myapp
>>>>directory.)  It doesn't remove the directory, so
>>>>subsequent manager/install attempts do nothing.  At
>>>>least, I can't see my changes unless I: ant dist
>>>>(including rm $TOMCAT_HOME/webapps/myapp),
>>>>manager/remove, and then manager/install.
>>>>
>>>>Am I misusing this or misunderstanding it?  Shouldn't
>>>>manager/remove actually remove the webapps/myapp dir?
>>>>Or shouldn't manager/install remove or overwrite the
>>>>webapps/myapp directory or its contents?
>>>>
>>>>Thanks for any pointers.  (I've read what
>>>>documentation I can find on Manager app, but it's
>>>>fairly sparse.)  I suppose I could change manager's
>>>>behavior by modifying its source, but I'll reserve
>>>>that for last.
>>>>
>>>>Michael
>>>>
>>>>PS: anyone know how to get XEmacs to highlight
>>>>Java/JSP code?  any pointers there would be welcome...
>>>>not much useful answers to this question from what I
>>>>can find on the net.
>>>>
>>>>__
>>>>Do You Yahoo!?
>>>>Yahoo! Movies - coverage of the 74th Academy Awards®
>>>>http://movies.yahoo.com/
>>>>
>>>>--
>>>>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>>>>For additional commands: <mailto:[EMAIL PROTECTED]>
>>>>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>>>>
>>>
>>>--
>>>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>>>For additional commands: <mailto:[EMAIL PROTECTED]>
>>>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>>>
>>>
>>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>




Re: Quistion about multiple host config

2002-03-31 Thread todd tredeau

OK.. Although I gave up running it on NT.. .This should do it..

-->
  

  
   

  
  
  
  
usersa
password
driverClassName
  org.hsql.jdbcDriver
driverName
  jdbc:HypersonicSQL:database
  
  
  

  mail.smtp.host
  localhost

  
  


  

  



  

  


  

  
onewayoranother.org
  
   
  



  

  
> 
> directory="logs"  prefix="mysite_com_access_log." suffix=".txt"
> pattern="common"/>
>
>  directory="logs"  prefix="mysite_com_log." suffix=".txt"
> timestamp="true"/>
>
>   
>   
>   
>**
>
>4.
>Configure uriworkermap.properties:
>
>***
>#
># Default worker to be used through our mappings
>#
>default.worker=ajp13
>#
># Sites to be redirected to Tomcat
>#
>/servlets=$(default.worker)
>/servlets/*=$(default.worker)
>/*.jsp==$(default.worker)
>
>
>***
>
>
>Thanks for any help,
>Alexander Höglind
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: internal error 500

2002-04-05 Thread todd tredeau

LOOK at the Jetspeed project, they have wap support in there  it's a 
portal page, but may you can get some ideas... 
http://jakarta.apache.org/jetspeed/index.html

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions


KARTHIK M wrote:

> Iam new to this group.I get this error frequently when I try to 
> display a WML card in NOKIA WAP TOOL KIT.I use tomcat as my server.can 
> any one help me? I have spent lot of time in this problem.
>
> karthik
>
> -- 
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Tomcat Forum

2002-04-05 Thread todd tredeau

I opened one at nntp.wiserlabz.com and www.wiserlabz.com under forums... 
I have some Apache Developers there already... there is not any tomcat 
traffic so far though... I'd be happy to help in any way..


todd


[EMAIL PROTECTED] wrote:

>  Sorry for this off-topic, Anybody know an active Tomcat forum?
>  If not, I have no problem to setup a new one, but I don't know if it
>  will be enough interested people.
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Is there a native JDBC driver for MS Access?

2002-04-06 Thread todd tredeau

There is NO native Access Driver... for NON-Microsoft Platforms... OBDC 
only... It is possible to run a JDBC Driver to get to an ODBC Connection 
on a Microsoft Machine. For developers, I believe even Microsoft 
suggests you use Foxpro. There is a fellow who wrote a Class 4 JDBC 
Driver for Foxpro, and it works great I've been working with him on 
better UltraDev Integration. There will be File Locking Soon, that will 
allow native foxpro applications to seemlessly work with web applications.

http://www.hxtt.net/jdbc.html

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Adrian Beech wrote:

>G'day all,
>
>Is there a native JDBC driver for MS Access?  A few postings I've seen in the list 
>archive make mentioned that the JDBC/ODBC bridge is a bit dodgy.
>
>I have Tomcat 4.03 running as a standalone on a Win 2k pro box with JDK 1.3.1 
>installed.
>
>I'm rather new to Tomcat, JSP, JDBC, etc...
>
>Any help would be appreciated.
>
>Adrian Beech
>[EMAIL PROTECTED]
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Tomcat Forum

2002-04-06 Thread todd tredeau

Why don't all of use support / forum sites, standardize, on let's say an 
NNTP backbone, and synchronize all our apache / tomcat etc.. support 
forums... let's show what technology can do...

todd

[EMAIL PROTECTED] wrote:

>Hello
>
>
>I just registered jspforums.com, and asked to jive for a non
>commercial license, let's see what happen :).
>If I don't get the jive license I'll use Vbulletin.
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




build 4.1 broken

2002-04-06 Thread todd tredeau

builds for last 2 days are not. 4/5-6


todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions



--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: NIGHTMARE

2002-04-08 Thread todd tredeau

I completely disagree with you. I am NOT a programmer, and pretty easily 
figured out the BASIC installation, ie:unzip/expand and run. Is it 
possible this is a case of No Planning, or Not Reading the ample 
documentation, How many unanswered questions have you posted?  

I'm sorry, but this type of message leaves me to believe you spent NO 
effort to solve your own problems, read the documentation, or spec your 
project.

It would seem that PHP, JSP, CFM, ASP, etc.. are each suited to 
particular needs. I can't say that I would want to go from one to 
another without a better plan.

In 16 years, I have seen a lot of software, for a lot of money, free, 
commercial and everything in between. I personally haven't gotten that 
involved in "open source" projects except for the last couple years, 
while I don't feel I'm qualified to do much, I do what I can. The power 
of hundreds and thousands of minds, is far better than anything I have seen.

While it is often true, extra pains are taken to get things working, 
installed or configured, typically if you have a clue what you are doing 
to start with it helps. At the same time, I have never posted a question 
without some sort of positive response, perhaps, if you considered 
putting your demand for perfection aside, you could learn and contribute 
to the project, providing feedback and guidance to developers so they 
know what works better, that is the power of any project.

Would I be correct in assuming your trying to run tomcat on windows 
platform? I would agree with you however on one thing, there are far too 
many strains of Tomcat out right now Stratify your projects...too 
hard to support too many.

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

opinions expressed here are my own, and I have no official affiliation 
with Novell, Apache or any of their sub-projects.

Árni Arent wrote:

>Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days
>trying to make it work without success.
>
>Endless configuration files, paths, etc. making this a impossible software
>to use. I doubt I'm the only one who has complaint.
>
>I won't use this crap, I'm switching to PHP, took me 5 minutes to figure
>that out.
>
> || |||  
>
>   Árni Arent Guðlaugsson
>   Forritari og Autonomy sérfræðingur
>   Íslandsvefir ehf.
>   Thorvaldsensstræti 4
>   101 Reykjavík / Iceland
>   --
>   Tel: +354 552 6300
>   Fax: +354 552 6302
>   E-mail: [EMAIL PROTECTED]
>   http://www.islandsvefir.is/
>   http://www.ha.is/
>
>   Bættu ha.is á vefsíðuna þína:
>   http://www.ha.is/almennt/tenging.asp
>
>|| |||  
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: NIGHTMARE

2002-04-08 Thread todd tredeau

I have been playing with another open source project, Chiki... It is an 
"extreme programming" project. I have been very impressed so far with 
this. I have thought, of being able to have a web site, where anyone 
could enter / create / edit content, along the lines of These tips and 
documentation issues... perhaps, if there is enough interest we could 
begin with a few topics, ie: Step by step install / config by plaform, 
tips, Q&A, etc... I created a site linked to my Open Source support 
site, wiserlabz http://chiki.wiserlabz.com It is really pretty 
awsome so far, with more to come.. Revision Control is build in, which 
will help... take a look, give it try, or install it and try it 
yourself. There are a few "quirks" with it handling some tags, etc... 
but it's getting there, and pretty awsome, providing a cool, interactive 
editing environment.

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Harry Keller wrote:

>For many of us, this is hardly a laughing matter.  Yes, installation is very
>easy.  However, proper deployment is very difficult.  You'd like apache to
>handle the non-jsp stuff and pass the jsp to tomcat.  You'd like apache and
>tomcat to start up properly upon reboot.  You may wish to invoke some of the
>very rich capabilities of tomcat.
>
>I spent several days deploying tomcat.  It works, but I'm not sure why.  If
>I really understood what I was doing, I would be happy to write it down for
>others.
>
>Deploying tomcat is *not* Java.  It is a complex set of configuration files
>within separate products.  I have been working with Unix since 1980 and with
>Java since its inception.  I almost gave up on tomcat.  Something needs to
>be done to make tomcat more accessible, but I can't say what.
>
>I still can't get tomcat to use beans properly.
>
>Harry
>
>- Original Message -
>From: "Martin Mauri" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Sent: Monday, April 08, 2002 8:40 AM
>Subject: Re: NIGHTMARE
>
>
>>Hahahaha! Yes.
>>
>>- Original Message -
>>From: "Timlin, Bob" <[EMAIL PROTECTED]>
>>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>>Sent: Monday, April 08, 2002 12:38 PM
>>Subject: RE: NIGHTMARE
>>
>>
>>>Let's see.  The following is a nightmare
>>>1.  unzip tomcat
>>>2.  cd $TOMCAT_HOME/bin (unix/linux) or cd %TOMCAT_HOME%\bin (windows)
>>>3.  startup.sh (unix/linux)  or startup (windows)
>>>
>>>
>>>
>>>
>>>
>>>-Original Message-
>>>From: Jean-Luc BEAUDET [mailto:[EMAIL PROTECTED]]
>>>Sent: Monday, April 08, 2002 8:31 AM
>>>To: Tomcat Users List
>>>Subject: Re: NIGHTMARE
>>>
>>>Williams Mark L DLPC a Ýcrit :
>>>
Would you all quit this? It's silly to generate so much email in

>defense
>
>>>of
>>>
a product we're all working with. If someone doesn't like it, so be

>it.
>
>>>BTW,
>>>
our correspondent may already be off the group, which could mean that

>>>we're
>>>
all just reading our own flames. Can we return to matters of

>substance,
>
please?

Mark

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 

>>>Yep yu're right.
>>>
>>>I would have think about a shrinky Troll...
>>>
>>>Not even good enough to go ahaed.
>>>
>>>Let's have some better conversation, boys !
>>>
>>>Jean-Luc :O)
>>>
>>>
>>>
>>>
>>>--
>>>To unsubscribe:   
>>>For additional commands: 
>>>Troubles with the list: 
>>>
>>>
>>>
>>>--
>>>To unsubscribe:   
>>>For additional commands: 
>>>Troubles with the list: 
>>>
>>
>>--
>>To unsubscribe:   
>>For additional commands: 
>>Troubles with the list: 
>>
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




Tomcat 4.1 JNDI Novell

2002-04-08 Thread todd tredeau

Hi;
I am looking for a project participant to;

Integrate our revision, NWJNDIRealm which is a modified 'JNDIRealm';

What I think is needed is;

1. Standardize compatiblized code
2. Implement a simpler way to manage "virtual hosts" 
ie:mulitple sites/instances with minimal config
this might be implemented by group access control, etc..

Some other stuff and ideas if there is interested, feel free to 
contact me directly. The point of this is to put compatible code, back 
into the project.

thanks

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




re: NIGHTMARE REVISITED

2002-04-08 Thread todd tredeau

Hello;
Thank you for coming back we all have those days look, I 
run tomcat on NT, but i'm not the right one to solve the problem, your 
right, this was very hard to get working... I did, but never quite 
right, so I just run as development, and not as a service, and have no 
problems. Actually I run it a little on this laptop as well, and it runs 
good... Let's break this problem apart first; in this order, and let 
everyone try to explain..

1.General Tomcat 3.2.4 on NT2000 or suggested Tomcat (best) for Win32..
2.IIS and Tomcat
3.Tomcat as a Service.

Thanks again for coming back, this just show the quality of the 
people who come to this group and are willing to help.

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Árni Arent wrote:

>Sorry for the flame :)
>
>Just got very frustrated. I am very patient, and yes I've read the install
>documentation carefully and followed it step by step, that I am sure of.
>However the install documentation is way too long, too many things users
>have to consider.
>
>My setup is Win2000, IIS and Tomcat3.2.4.
>
>I've managed to get tomcat to work, however it doesn't run with IIS nor did
>I manage to install tomcat as a service.
>
>My problem is this
>When starting the NT service I get:
>Asked (and given) winsock 1.1
>Error: StartServiceCtrlDispatcher failed.
>
>Regards.
>
>-Original Message-
>From: todd tredeau [mailto:[EMAIL PROTECTED]]
>Sent: 8. apríl 2002 15:08
>To: Tomcat Users List
>Cc: [EMAIL PROTECTED]
>Subject: Re: NIGHTMARE
>
>
>I completely disagree with you. I am NOT a programmer, and pretty easily
>figured out the BASIC installation, ie:unzip/expand and run. Is it
>possible this is a case of No Planning, or Not Reading the ample
>documentation, How many unanswered questions have you posted?
>
>I'm sorry, but this type of message leaves me to believe you spent NO
>effort to solve your own problems, read the documentation, or spec your
>project.
>
>It would seem that PHP, JSP, CFM, ASP, etc.. are each suited to
>particular needs. I can't say that I would want to go from one to
>another without a better plan.
>
>In 16 years, I have seen a lot of software, for a lot of money, free,
>commercial and everything in between. I personally haven't gotten that
>involved in "open source" projects except for the last couple years,
>while I don't feel I'm qualified to do much, I do what I can. The power
>of hundreds and thousands of minds, is far better than anything I have seen.
>
>While it is often true, extra pains are taken to get things working,
>installed or configured, typically if you have a clue what you are doing
>to start with it helps. At the same time, I have never posted a question
>without some sort of positive response, perhaps, if you considered
>putting your demand for perfection aside, you could learn and contribute
>to the project, providing feedback and guidance to developers so they
>know what works better, that is the power of any project.
>
>Would I be correct in assuming your trying to run tomcat on windows
>platform? I would agree with you however on one thing, there are far too
>many strains of Tomcat out right now Stratify your projects...too
>hard to support too many.
>
>todd
>http://www.wiserlabz.com
>collaborative effort to promote Novell and Open Source solutions
>
>opinions expressed here are my own, and I have no official affiliation
>with Novell, Apache or any of their sub-projects.
>
>Árni Arent wrote:
>
>>Your software, Tomcat, is a nightmare to install. I've spent 2 WHOLE days
>>trying to make it work without success.
>>
>>Endless configuration files, paths, etc. making this a impossible software
>>to use. I doubt I'm the only one who has complaint.
>>
>>I won't use this crap, I'm switching to PHP, took me 5 minutes to figure
>>that out.
>>
>>|| |||  
>>
>>  Árni Arent Guðlaugsson
>>  Forritari og Autonomy sérfræðingur
>>  Íslandsvefir ehf.
>>  Thorvaldsensstræti 4
>>  101 Reykjavík / Iceland
>>  --
>>  Tel: +354 552 6300
>>  Fax: +354 552 6302
>>  E-mail: [EMAIL PROTECTED]
>>  http://www.islandsvefir.is/
>>  http://www.ha.is/
>>
>>  Bættu ha.is á vefsíðuna þína:
>>  http://www.ha.is/almennt/tenging.asp
>>
>>|| |||  
>>
>>
>>--
>>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>>For additional commands: <mailto:[EMAIL PROTECTED]>
>>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>>
>>
>
>
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>




Re: jk_nt_service with 4.0.1, can't find my web.xml

2002-04-08 Thread todd tredeau

I think this web.xml is a 4.0.1 issue. I like improvements in 
4.0.2-4.0.4b2, again, this goes back to all the confusion on versions / 
builds, etc but I see no reason to run an older version really... 
forgive me if I am in error here..

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions   check 
out Chiki  !!

Chris Gross wrote:

>I found instructions on how to use the jk_nt_service from v3.2 with v4.0.1.
>I followed the instructions and it seemed to work.  Tomcat starts
>successfully but Tomcat is saying it can't find the web.xml for my webapp.
>Its definitely there.  Here's whats in the log:
>
>2002-04-08 15:04:37 ContextConfig[/MyApp]: Missing application web.xml,
>using defaults only
>2002-04-08 15:04:37 ContextConfig[/MyApp]: Added certificates -> request
>attribute Valve
>2002-04-08 15:04:37 StandardWrapper[/MyApp:default]: Loading container
>servlet default
>2002-04-08 15:04:37 default: init
>2002-04-08 15:04:37 StandardWrapper[/MyApp:invoker]: Loading container
>servlet invoker
>2002-04-08 15:04:37 invoker: init
>2002-04-08 15:04:37 jsp: init
>2002-04-08 15:04:37 Internal Error: File /WEB-INF/web.xml not found
>2002-04-08 15:04:58 StandardHost[localhost]: MAPPING configuration error for
>request URI
>2002-04-08 15:05:00 StandardHost[localhost]: MAPPING configuration error for
>request URI
>
>If I use startup.bat everything works fine.
>
>-chris
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




Re: repost an unanswered question.

2002-04-08 Thread todd tredeau

Ok... I'll bite... I've seen this error (or lack of it), when I get 
errors with an incompatbile jndirealm and enabling jmx beans are you 
getting any kind of errors at tomcat startup, or in your log files I 
understand you say basically "reload" after and it works. I also ran 
into this when I began testing "Chiki", it seems that when I updated to 
Tomcat 4.0.X" the problem went away... So I didn't really try to fix it, 
but upgraded past the issue...I hope this helps.. from a non-technical 
perspective..

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions


Alvin Wang wrote:

>I'm not complaining. But I read someone said that they always can get
>positive responses for their postings. Maybe my question is naive, but I try
>again.
>
>
>-Original Message-
>From: Alvin Wang [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, April 03, 2002 4:18 PM
>To: Tomcat Users List
>Cc: SERVLET-INTEREST
>Subject: JDBCRealm problem (EMPTY page after login)
>
>
>Hi! I am using JDBCRealm in Tomcat to setup the user authentication. For
>example if the user want to access abc.html, Tomcat will first display the
>login.jsp page. However, after the user logs in, it shows an BLANK page. The
>user has to refresh the browser to see the content of abc.html
>
>Can any guru tell me how to fix this? Thanks!
>
>Alvin
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Encrypted Passwords on Tomcat 4.0.4b1 /Open LDAP Authentication in server.xml

2002-04-09 Thread todd tredeau

Hi;
As you may have guessed, it seems that JNDIRealm.java file, depends 
on first the retrieval of a password. We have a version for 4.0.X or 
4.1-dev for NOT allowing the retrieval of a password from LDAP. On your 
encryption, there are 2 issues I see... 1. User - Authentication Page 
encryption, 2. Web - web page to LDAP encryption...

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Jeremy Prellwitz wrote:

>Hi all,
>
>  i searched the archives but could not come up with an answer for this.
>
>I have everything working for LDAP authentication on my server, and i've figured out 
>how to include non plain text passwords everywhere except for the connectionPassword 
>attribute of the  tag in the $CATALINA_HOME/conf/server.xml file.  I would 
>like to replace the "MY_CURRENT_PLAIN_TEXT_PASSWORD" string with an encrypted 
>password for this configuration file, as everyone knows, this is otherwise a pretty 
>good security hole.
>
>   connectionName="cn=root,dc=MYDOMAIN,dc=ca"
>connectionPassword="MY_CURRENT_PLAIN_TEXT_PASSWORD"
> connectionURL="ldap://MYHOST:389";
>  roleBase="dc=roles,dc=MYDOMAIN,dc=ca"
>  roleName="cn"
>roleSearch="(uniqueMember={0})"
>   roleSubtree="false"
>digest="SHA"
>  userPassword="userPassword"
>   userPattern="uid={0},dc=MYDOMAIN,dc=ca"
>  />
>
>I've tried using this : java org.apache.catalina.realm.RealmBase -a {algorithm} 
>{cleartext-password}, which is what i used to enter my passwords into my OpenLDAP 
>server, but with this you specify the encryption algorithm with the digest attribute.
>
>Please help.  How do i specify the algorithm and encrypted password for the 
>connectionPassword attribute; and if you would..which tool do i use to create 
>this password?
>
>Thanks a million!!!
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: mySQL+tomcat 4 ?

2002-04-09 Thread todd tredeau

Your question is pretty general, but I believe you will need to add 
configuration / connector setup in server.xml. I put my jdbc driver Jar 
in /tomcat_home/common/lib .

I hope this helps

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

evil reader wrote:

>hello
>i installed tomcat v 4.0 (before i used tomcat 3.1)
>so now i can't configure it for MySQL. if i start
>tomcat 3.1 servlets work perfectly,but 
>not in tomcat 4
>i was trying setup as your documentation says - no
>results
>how i can connect this tomcat with mySQL ???
>thanks
>
>
>__
>Do You Yahoo!?
>Yahoo! Tax Center - online filing with TurboTax
>http://taxes.yahoo.com/
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: Please help me on a question about TOMCAT OR APACHE + TOMCAT

2002-04-09 Thread todd tredeau

Hi;
I have a sample with example virtual host setup on my Chiki open 
source project site. http://chiki.wiserlabz.com/view.do?nodeId=Tomcat4 
Unfortunately, you'll have to sign in and "edit" to view the full 
source. I think it answers your question. Personally, I'd probably still 
run Apache in front, but it really doesn't matter.

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Jakarta Tomcat Newsgroup (@Basebeans.com) wrote:

>Subject: Please help me on a question about TOMCAT OR APACHE + TOMCAT
>From: "Hyunjin Kim" <[EMAIL PROTECTED]>
> ===
>all my web pages will be in jsps (to use include). Should I still use Apache
>in front of TOMCAT? won't it be better to use tomcat only in my
>case?(although I will still use images and other medias) I think coming
>through apache and talking to tomcat via a connector is more pricey in my
>case...
>
>and also..
>
>if i choose to use tomcat only.. (stand-alone).. can i use name virtual
>host?? It seems like  tag in server.xml is for that purpose.. but
>there's very vew documentations on how to configure server.xml file for
>tomcat-stand alone + name virtual host..
>
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: port

2002-04-09 Thread todd tredeau

Server.xml I think contains the most commonly modified parameters in 
Tomcat.

/tomcat_home/conf/server.xml


todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions
Atif Munir wrote:

>Hi,
>in which file the port is set fro tomcat?
>atif
>
>
>--
>To unsubscribe:   
>For additional commands: 
>Troubles with the list: 
>
>




--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: repost an unanswered question.

2002-04-09 Thread todd tredeau

Can you give me sample... and have you "isolated" the login.jsp, ie: can 
you take another page and create this same situation. Does to problem 
happen before, or after login? What does LOG generate. Is is consistent 
in different browser versions?

thanks

todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions

Alvin Wang wrote:

>But I am using tomcat 4.0 on W2k. And I do not remember the cat complained
>anything when it is started up.
>
>
>-Original Message-
>From: todd tredeau [mailto:[EMAIL PROTECTED]]
>Sent: Monday, April 08, 2002 5:39 PM
>To: Tomcat Users List
>Subject: Re: repost an unanswered question.
>
>
>Ok... I'll bite... I've seen this error (or lack of it), when I get
>errors with an incompatbile jndirealm and enabling jmx beans are you
>getting any kind of errors at tomcat startup, or in your log files I
>understand you say basically "reload" after and it works. I also ran
>into this when I began testing "Chiki", it seems that when I updated to
>Tomcat 4.0.X" the problem went away... So I didn't really try to fix it,
>but upgraded past the issue...I hope this helps.. from a non-technical
>perspective..
>
>todd
>http://www.wiserlabz.com
>collaborative effort to promote Novell and Open Source solutions
>
>
>Alvin Wang wrote:
>
>>I'm not complaining. But I read someone said that they always can get
>>positive responses for their postings. Maybe my question is naive, but I
>>
>try
>
>>again.
>>
>>
>>-Original Message-
>>From: Alvin Wang [mailto:[EMAIL PROTECTED]]
>>Sent: Wednesday, April 03, 2002 4:18 PM
>>To: Tomcat Users List
>>Cc: SERVLET-INTEREST
>>Subject: JDBCRealm problem (EMPTY page after login)
>>
>>
>>Hi! I am using JDBCRealm in Tomcat to setup the user authentication. For
>>example if the user want to access abc.html, Tomcat will first display the
>>login.jsp page. However, after the user logs in, it shows an BLANK page.
>>
>The
>
>>user has to refresh the browser to see the content of abc.html
>>
>>Can any guru tell me how to fix this? Thanks!
>>
>>Alvin
>>
>>
>>--
>>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>>For additional commands: <mailto:[EMAIL PROTECTED]>
>>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>>
>>
>
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>




Issue with Catalina Jar

2002-03-04 Thread todd tredeau

  I have a problem, as several others also have noticed this problem / 
issue. I am not submitting a bug, as I just may be stupid.

In tomcat 4.0.1, Jetspeed runs fine, no problem. In 4.0.2-> (i haven't 
found the cvs yet) it has errors.

If you replaced just the catalina.jar back to 4.0.1 it will work, no 
problem. I believe the problem is in
org.apache.turbine.util.TurbineException: Error rendering Velocity 
template: /controls/html/jetspeed.vm: Invocation of method 'getContent' 
in class 
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper 
threw exception class java.lang.NoClassDefFoundError : 
javax/xml/transform/Source




This is consistent on multiple platforms, at least with jvm 1.3.1...

Does anyone know someone in cocoon project... I need to communicate with 
someone there who is active in programming.

thanks

todd
http://www.wiserlabz.com
collaborative project to promote Novell and Open Source solutions