RE : RE : Tomcat 5 and Realm problem

2004-12-16 Thread VAN DER MARLIERE FREDERIC
I did not remember of this point of the specification. I'll try to do another way. Thanks a lot for your answer. Fred. -Message d'origine- De : Ben Souther [mailto:[EMAIL PROTECTED] Envoyé : mercredi 15 décembre 2004 17:45 À : Tomcat Users List Objet : Re: RE : Tomcat 5 and Realm

The admin package for Tomcat 5.5

2004-12-16 Thread Marco Mastrocinque
Hi All, I know this is a silly question, but I'm a newbie to Tomcat. I'm reading a book from Wrox press called, 'Professional Apache Tomcat 5.' It states there is an admin system, but I get the following message from Tomcat, 'Tomcat's administration web application is no longer

Re: TOMCAT adds /servlet to URL - program doesn`t work

2004-12-16 Thread Kay Farin
Sorry, it`s version 5.5.4! Greets, Kay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

integrated login between servers

2004-12-16 Thread Paulo Alvim
Hi, I'm using a cluster with two machines each one running 4 identical war files. But I'll need to keep another application isolated in a third machine...The point is that I'd like to keep my integrated login when users jump from the cluster to this app (I'm using Tomcat 5.0.28 single signon

RE: The admin package for Tomcat 5.5

2004-12-16 Thread Allistair Crossley
it's certainly there. check out the binaries page at http://jakarta.apache.org/site/binindex.cgi e.g 5.5.6-alpha Admin zip PGP MD5 5.5.6-alpha Admin tar.gz PGP MD5 5.5.4 Admin zip PGP MD5 5.5.4 Admin tar.gz PGP MD5 Cheers, Allistair. -Original Message- From: Marco Mastrocinque

Re: axis, realms and classloaders

2004-12-16 Thread Olve Hansen
On Thu, 9 Dec 2004 08:41:40 -0500, Shapira, Yoav [EMAIL PROTECTED] wrote: I think we had a recent discussion on this exact NPE: you might want to search this list's archives (or a comparable mirror like MARC, GMANE, etc.) Thanks for the reply, been busy so it has been a while now, but I tested

Re: Myth or Best practice : %@ page session=false %

2004-12-16 Thread Tim Funk
The implicit scripting variable called session is unavailable. If you still want access to the session - a JSP scriptlet *must* explicilty ask for it. HttpSession mySession = request.getSession(); -Tim Razi Ansari wrote: Thnx for the reply people, one thing that Andreas pointed out to me from

Re: TOMCAT adds /servlet to URL - program doesn`t work

2004-12-16 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/misc.html#invoker -Tim Kay Farin wrote: Hello. This is my first post at this list... I`am currently trying to set up some webapps on a TOMCAT 5.5.6 installation. There is a HTML page index.html containing an applet. Let`s call this app ball. When I hit a

Re: integrated login between servers

2004-12-16 Thread Tim Funk
You may want to look at a 3rd party SSO solution. They do exist for java and there are some open source ones. -Tim Paulo Alvim wrote: Hi, I'm using a cluster with two machines each one running 4 identical war files. But I'll need to keep another application isolated in a third machine...The

Re: Display of Static Resources

2004-12-16 Thread Ben Souther
form method=POST action=com.client.BizDispatcher Take the package name out of the action attribute. form method=POST action=BizDispatcher - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Authentication isn't working with mod_jk 1.7.3 beta.

2004-12-16 Thread Jim Lynch
That's quite possible but not helpful. The configuration is identical in essence to a working version on apache 1.3. Can anyone tell me what the differences are between the two are? Jim. Mladen Turk wrote: Jim Lynch wrote: I finally got mod_jk to comple on RH 9 for Apache 2, but the

RE: [OT] HTTP Sniffers

2004-12-16 Thread Didier McGillis
thanks, were having some interesting issues coming up that are intermitten, and they dont show much so I wanted to see what the browser was getting back. From: Derrick Koes [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: [OT]

cannot connect a sqlserver

2004-12-16 Thread g . j . c . draafsel
I have a problem building a testserver with a webapp using sqlserver2000. We got a productionserver running, so I installed java SDK (j2sdk-1_4_2_04-windows-i586-p.exe),tomcat (jakarta-tomcat-4.1.30.exe) and SQLserver2000 (restored a backup) and took the .war file from the productionserver

Re: 4.1.31: NullPointerException

2004-12-16 Thread T K
This is the entire stack trace --- Ben Souther [EMAIL PROTECTED] wrote: Post the whole stackTrace On Wed, 2004-12-15 at 15:10, T K wrote: Any ideas about the following? 2004-12-06 11:29:26 CoyoteAdapter An exception or error occurred in the container during the request processing

RE: Authentication isn't working with mod_jk 1.7.3 beta.

2004-12-16 Thread Cox, Charlie
Are you sure Apache is not blocking your request? Enable the AccessLogValve on tomcat and see if your request is getting through. Charlie -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 8:28 AM To: Tomcat Users List Subject: Re:

RE: Reloading JSP's and other resources

2004-12-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
There is a FAQ: http://jakarta.apache.org/tomcat/faq/windows.html#lock Awesome. The faq indicates that when: Context ... antiResourceLocking=false /Context the project files are copied to the temp directory and ran from there. Does Tomcat still pick up changes to

RE: cannot connect a sqlserver

2004-12-16 Thread Robert Taylor
When you restore a backup using SQLServer, you must delete and re-add the database users for that database. It's deceiving, because when you restore the database, and look at the users in Enterprise Manager, they are still there and you have no problem querying the database using Query Analyzer.

Re: Reloading JSP's and other resources

2004-12-16 Thread Siarhei Dudzin
I am not really an expert but I think it is beter if you modify your application at another location and then redeploy it on the server. On Thu, 16 Dec 2004 09:16:41 -0600, Durham David R Jr Contr 805 CSPTS/SCE [EMAIL PROTECTED] wrote: There is a FAQ:

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread David Boyer
For the sake of clarifcation, this is only necessary when restoring to an instance of SQL server that is different from the one on which the backup was created. On your production server, you can use SQL Enterprise Manager to generate the necessary SQL script to create the users and roles

Re: Currency Problem with Tomcat on Windows

2004-12-16 Thread John Gardner
Giuseppe The application is a browser based app, therefore it is the server that dictates which currency symbol is displayed. Surely it doesn't matter what currency symbol the client is set to? John -- John Gardner - Senior Information Engineer Tagish Ltd. T: 01665 604 895 F: 01665 510 624

Re: 4.1.31: NullPointerException

2004-12-16 Thread Ben Souther
Where did you get this, the logs, or off the web screen? On Thu, 2004-12-16 at 09:06, T K wrote: This is the entire stack trace --- Ben Souther [EMAIL PROTECTED] wrote: Post the whole stackTrace On Wed, 2004-12-15 at 15:10, T K wrote: Any ideas about the following?

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread David Boyer
In Enterprise Manager: Right-click on the database, select All Tasks, and Generate SQL Script This will let you script various portions of the database for later recreation. It may take a couple tries until you find the combination of objects and options for the specific situation. [EMAIL

JK2 logging with IIS

2004-12-16 Thread Derrick Koes
The documentation for setting up a logger for JK2 is below. I've tried using logger.file and logger.win32 for my IIS configuration, but no luck. Can someone please send the right configuration steps to configure JK2 logging with IIS? I'm trying to locate a bug in JK (not present in JK2) by

Re: setting up tomcat/JBOSS with apache

2004-12-16 Thread B Wiley
nobody??? Hello, I'm confused on something basic. I understand how to set up mod_jk2 and configure an app something like http://localhost/myApp/test.jsp such that the app myApp is sitting in the java container but can I have myApp sitting on apache i.e. /var/www/htdocs/myApp and configure a

RE: JK2 logging with IIS

2004-12-16 Thread Allistair Crossley
[logger] level=ERROR [logger.file:0] level=ERROR file=d:\\jakarta-tomcat-jk2\\jk2.log [workerEnv:] info=Global server options timing=1 debug=0 logger=logger.file:0 [shm] file=d:\\jakarta-tomcat-jk2\\jk2.shm size=1048576 [channel.socket:localhost:8009] info=Ajp13 worker, connects to tomcat

RE: sending a JSP page by email

2004-12-16 Thread haimra
I had tried doing the same thing and failed. But after I gained more knowledge I had a new idea that I did not tried yet. I will be happy if you let me know if it works. The basic Idea is that if we used a servelet we had no problem taking the StringBuffer created and coping it into the mail

Re: setting up tomcat/JBOSS with apache

2004-12-16 Thread Wendy Smoak
From: B Wiley [EMAIL PROTECTED] All I see online and in every example is how mod_Jk helps you knock out the :8080 but the apps have to be sitting in webapps. No, they don't. For example the 'manager' webapp that ships with Tomcat does not live under 'webapps'. The reason I'm asking is I was

RE: sending a JSP page by email

2004-12-16 Thread Frank W. Zammetti (MLists)
I *believe*, but don't hold me to it, that you can implement a filter AFTER the JSP renders, in the latest servlet spec. With that, you shouldn't have much trouble taking the output stream and sending it as an eMail. I'd also assume, although I don't know for sure, that you could basically kill

Re: WAR files and Eclipse

2004-12-16 Thread Dwayne Ghant
I did as suggested but it didn't work . The ironic thing now is that scence I tried that the user accounts /home/username/public_html no longer works to compile jsp pages. I figure this is weird becasue I see the compilation .class files in the

Re: setting up tomcat/JBOSS with apache

2004-12-16 Thread B Wiley
Hello Wendy, tomcat sits inside jboss and handles the jsps and servlets. I guess this could just be a tomcat/apache question. The reason I'm asking is because I know for a fact when you use RESIN (another j2ee container) . You can have your jsps and servlets sitting ANYWHERE on the server,

RE: sending a JSP page by email

2004-12-16 Thread Graff, David
Sorry about the double ... this got lost in the lower message response: http://bijou.dyndns.org/weblog/computer/software/SendingMailFromJavaServlets .html or http://tinyurl.com/5lukz Enjoy. -Original Message- From: Graff, David [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16,

Re: JNDI object not shared among TC instances

2004-12-16 Thread Steven J. Owens
On Tue, Dec 14, 2004 at 08:52:17AM -0500, Shapira, Yoav wrote: Thanks Joav and for the other people stumbling on the same rock You're welcome -- and it's Yoav with a Y ;) and by the way why don't they use a search box at http://jakarta.apache.org/tomcat/faq/ ? Because we'll all

Re: log4j and tomcat 5.5

2004-12-16 Thread Steven J. Owens
On Thu, Dec 09, 2004 at 04:33:33PM -0600, Jacob Kjome wrote: For your own app, do you use actually use the commons-logging api or just the Log4j api? If the latter, don't bother with commons-logging. In fact, try to avoid it like the plague. Could you expand on this? I've wondered in

Re: WAR files and Eclipse

2004-12-16 Thread Dwayne Ghant
Yes you are correct. Thus far I have correctly configured Apache2.x/Tomcat5.x/mod.jk2 . And it works pretty seamlessly. My attemps to get the the useraccounts working resulted in me doing this: Listener className=org.apache.catalina.startup.UserConfig directoryName=public_html

JspC to use jikes for speed improvement?

2004-12-16 Thread Kevin A. Burton
We're using JspC to precompile our webapp to speed up application deployment and reduce memory on the server. Right now it takes FOREVER to compile. Currently the entire build of our app takes 30 seconds but JspC takes 1.5 hours.! Its not like we have that many JSPs either. So I have a few

Error

2004-12-16 Thread batmanSJO SJO
Guys, I have Tomcat 5 running with IIS. But the jakarta Connector is spitting a sort of warnings and i can't seem to fix it. Can any one point out some pointers, it will so great to fix this warning. Thanks Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event

Apache Jakarta Connector warning

2004-12-16 Thread batmanSJO SJO
Hi Guys, Any Idea how solve the following errors? I am using Tomcat 5 and IIS. It will be great to solve these warnings it is causing problems. Thanks Event Type: Warning Event Source: Apache Jakarta Connector2 Event Category: None Event ID: 2 Date: 12/16/2004 Time:

Re: Display of Static Resources

2004-12-16 Thread Ram Sriram
Thanks guys for the help. The issue got resolved once I changed the POST action value to be the same as the value in the pattern. Just to make sure I understand the web.xml config better and to make sure I do the right thing in the future when I have to add additional servlets or such: *

Tomcat 5.5.4 not running stable (= pausing abruptly)

2004-12-16 Thread Marc Röttig
Hi folks, i am working with : - Redhat Linux 9.0 Kernel : 2.4.20-31.9smp - Java 1.5.0 (build 1.5.0-b64) - Tomcat 5.5.4 running on port 8008 and after launching the Tomcat webserver via the startup.sh script the server is quitting prematurely without any reason (no exceptions,..). logs/Catalina.out

Re: Display of Static Resources

2004-12-16 Thread Ben Souther
* servlet name tag in the servlet tag and servlet-mapping tag should be the same. Yes the servlet tag in web.xml is where you define the servlet's name. * The value of the url-pattern, welcome-file and the action value in the form tag should be all the same Yes, the

Re: 4.1.31: NullPointerException

2004-12-16 Thread T K
this was in the logs --- Ben Souther [EMAIL PROTECTED] wrote: Where did you get this, the logs, or off the web screen? On Thu, 2004-12-16 at 09:06, T K wrote: This is the entire stack trace --- Ben Souther [EMAIL PROTECTED] wrote: Post the whole stackTrace On Wed,

JNDI Environment context question

2004-12-16 Thread D. Stimits
I'm using tomcat 5.0.30, and trying to learn a bit more about JNDI. The sample config comes with a simpleValue variable set to 30, using an Environment tag in conf/server.xml. According to the docs I've found, this should make it available to all web apps via

Re: connection pooling

2004-12-16 Thread Filip Hanik - Dev
depends on what connection pool you use. but in almost all causes, its a pretty trivial thing (unless your code is funky of course) in our system, all we did was to switch the driver name (to the pooled driver), and it would pick up our connection pool. so it was a one line change. Filip -

Re: Reloading JSP's and other resources

2004-12-16 Thread Siarhei Dudzin
There are special ant tasks for deployment and undeployment. I guess you should use those and not just put stuff where tomcat should pick them up for you. On Thu, 16 Dec 2004 10:56:22 -0600, Durham David R Jr Contr 805 CSPTS/SCE [EMAIL PROTECTED] wrote: I am not really an expert but I think it

precompile JSP - _jspx_dependants.add unchecked warning

2004-12-16 Thread Connor Barry
When I precompile my JSPs on Tomcat 5.5 with JDK 1.5 and I use the javac option -Xlint:unchecked, I get this warning for those files which include another: [javac] C:\tomcat\webapps\XXX\WEB-INF\jsprc\org\apache\jsp\admintool\edit_jsp.java:25: warning: [unchecked] unchecked call to add(E)

Re: log4j and tomcat 5.5

2004-12-16 Thread Jacob Kjome
At 03:17 PM 12/16/2004 -0500, you wrote: On Thu, Dec 09, 2004 at 04:33:33PM -0600, Jacob Kjome wrote: For your own app, do you use actually use the commons-logging api or just the Log4j api? If the latter, don't bother with commons-logging. In fact, try to avoid it like the plague.

TOMCAT adds /servlet to URL - program doesn`t work

2004-12-16 Thread Kay Farin
Hello. This is my first post at this list... I`am currently trying to set up some webapps on a TOMCAT 5.5.6 installation. There is a HTML page index.html containing an applet. Let`s call this app ball. When I hit a certain image button within this applet, it sends some data to a server. Then the

Re: [OT] HTTP Sniffers

2004-12-16 Thread Steven J. Owens
On Wed, 2004-12-15 at 15:17, Didier McGillis wrote: Considering this is a pretty knowledgable group is there a good free HTTP Sniffer application I can use, I need to see what the HTTP headers are returning on my site. On Wed, Dec 15, 2004 at 05:48:53PM -0800, Bob Feretich wrote: I use

RE: [OT] HTTP Sniffers

2004-12-16 Thread Didier McGillis
I forgot about that one. Geez From: Durham David R Jr Contr 805 CSPTS/SCE [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: [OT] HTTP Sniffers Date: Wed, 15 Dec 2004 14:24:45 -0600 If you're talking about Response Headers,

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread Robert Taylor
David, Thanks for the clarification. Can you elaborate on how you can use SQL Enterprise Manager to generate necessary SQL script to create the users and roles specific to that database, and to apply the object-level permissions or point me to the docs? I have a script which I use for

RE: Reloading JSP's and other resources

2004-12-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
I am not really an expert but I think it is beter if you modify your application at another location and then redeploy it on the server. Heh, I think I know what you're saying. Yes, I modify the application at a different location than deployment. Just for example, code that I'm working

Re: [OT] HTTP Sniffers

2004-12-16 Thread andrew
Puzzle no longer... tcpdump -n -i eth0 -s0 -X Should you have a problem with s0 try changing it to something bigger than your MTU, ie: if you are using normal fast ethernet, 1600. Regards Andrew On the technical level, you have to puzzle out the command line arguments, which isn't that hard,

RE: Display of Static Resources

2004-12-16 Thread Mike Curwen
but it's more than just take away the package. If you map your servlet to this: url-pattern/foobar/url-pattern then your form should say : form method=POST action=foobar (I just didn't want anyone to think that you invoke a servlet by calling it's class name). so in fact, you want

RE: sending a JSP page by email

2004-12-16 Thread fzlists
I *believe*, but don't hold me to it, that you can implement a filter AFTER the JSP renders, in the latest servlet spec. With that, you shouldn't have much trouble taking the output stream and sending it as an eMail. I'd also assume, although I don't know for sure, that you could basically

RE: sending a JSP page by email

2004-12-16 Thread Graff, David
Hey kids, I had run into this a while back. I've got a link here to what I did. It's rough and ready so don't expect too much out of it, but it should be enough to get you runnning. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread Robert Taylor
Thanks David. /robert -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 11:27 AM To: [EMAIL PROTECTED] Subject: RE: [OT] cannot connect a sqlserver In Enterprise Manager: Right-click on the database, select All Tasks, and

Re: WAR files and Eclipse

2004-12-16 Thread sven morales
Wait a minute, you didnt say you were using Apache to front the Tomcat did you? At least thats the impression I gathered since you were hitting it as http://localhost/~userjoe/index.jsp. I am not overly familiar with having Apache fronting Tomcat. With that kind of URI, I think its going to

RE: Reloading JSP's and other resources

2004-12-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
I am not really an expert but I think it is beter if you modify your application at another location and then redeploy it on the server. I guess you're saying that this feature is mainly so that you can develop out of the same directory that tomcat is using as a docbase ... That would

Re: Reloading JSP's and other resources

2004-12-16 Thread Siarhei Dudzin
Well antiResourceLocking is not default anymore because you mainly have this problem (in other words need to have this feature) under windows platform with it's file locking... The anti resource and anti jar locking features are supposed to be very powerfull and are ment to avoid such platform

RE: integrated login between servers

2004-12-16 Thread Warron French
I know that these folks in the USA have a decent application for SSO. http://www.secured-services.com/products/index.htm Merry Christmas Happy New Year! Warron French Sr. Network Engineer Xtria, LLC -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Thursday, December

RE: Reloading JSP's and other resources

2004-12-16 Thread Durham David R Jr Contr 805 CSPTS/SCE
May be it's possible to solve your propblem in more convinient way, as I said I'm not the biggest expert over here. Honestly, my problem is solved. I'm just kind of thought-lingering on this feature a bit. - Dave - To

tomcat 5.5 and jndi context naming error

2004-12-16 Thread Ken Hall
Since downloading the new version of Tomcat 5.5.4, I have been experiencing problems with jndi resources within my web app. I am porting over from an existing server where that resource is working. The error is listed at the bottom. I saw in the release notes that naming-common.jar (JNDI

connection pooling

2004-12-16 Thread Didier McGillis
I'm about to the point where I'm going to switch to db connection pooling. however before I undertake this seemly easy task I have a question, which will make this a huge project or a simple one. The current site uses typical MySQL connection, where a connection is opened and so on, if I do

Commercial Tomcat Support?

2004-12-16 Thread Steven J. Owens
Hi guys, Does anybody have recommendations of providers for commercial tomcat support contracts? Not that I'm not fairly impressed with tomcat-users, but sometimes you're dealing with a problem at 4am and it'd be nice to have somebody to call. -- Steven J. Owens [EMAIL PROTECTED]

Re: Display of Static Resources

2004-12-16 Thread Ram Sriram
Thank-you. Ben Souther wrote: * servlet name tag in the servlet tag and servlet-mapping tag should be the same. Yes the servlet tag in web.xml is where you define the servlet's name. * The value of the url-pattern, welcome-file and the action value in the form tag should be

workers2.properties for mod_jk2.so and loadbalancing

2004-12-16 Thread Dwayne Ghant
Hey any of you guys out there have a good workers2.properties that I could use to model the loadbalancing functionality in my tomcat5.x/apache configuration . My current configuration is Apache2.0.46/tomcat5.0.28/mod_jk2.so Please keep in mind that I am using mod_jk2.so so that mean the