open source code and IDE

2003-05-30 Thread electroteque
hi this is probably the wrong place to ask , but now i got the standalone server running , i'd like to know where to find open source code example scripts to play with and maybe an IDE that everyone uses , any suggestions ?, its funny i remember when i was a php newbie years ago it feels like that

RE: stack traces

2003-05-30 Thread Shapira, Yoav
Howdy, One is from the line actually throwing the exception, one is the root cause for the exception, i.e. why that line is throwing the exception. You don't always get two stack traces: for example, an NPE will only give you one. Yoav Shapira Millennium ChemInformatics -Original

RE: Tomcat/Java compiler error

2003-05-30 Thread Shapira, Yoav
Howdy, That's a long story. But basically jasper would implicitly put your beans in a package (org.apache.jsp package to be precise) if you didn't name one yourself, and then would kludge the import of that package into the JSP. This is bad ;) The archives contain more details... Yoav

RE: open source code and IDE

2003-05-30 Thread Reynir Hübner
For IDE I would suggest netbeans or eclipse... There is always a debait going on, on which one is better than the other, but obviously as with any such product both have cons and pros. Sourcecode examples are in the examples directory under /tomcat/webapps/examples/ Start there for generic

RE: open source code and IDE

2003-05-30 Thread graghupathy
use eclipse http://www.eclispe.org and use sysdeo pluging for tomcat you can download lots of sample .war file from the net :) -Original Message- From: electroteque [mailto:[EMAIL PROTECTED] Sent: 29 May 2003 14:54 To: [EMAIL PROTECTED] Subject: open source code and IDE

RE: open source code and IDE

2003-05-30 Thread Jan Behrens
hi, netbeans (aka sun one) has a reasonable support for webapp development. you might want to look here http://www.jspinsider.com/tutorials/jsp.view and here http://www.cetus-links.org/oo_javaserver_pages.html to get started. have fun ;) jan -Original Message- From: electroteque

RE: open source code and IDE

2003-05-30 Thread Shapira, Yoav
Howdy, It always seems it's me mentioning the old-school emacs ;) I love that editor. I'm more productive in it than any other one. That said, Eclipse with the emacs key bindings is a great alternative ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Jan Behrens

RE: open source code and IDE

2003-05-30 Thread Jan Behrens
hi yoav, i like using a simple editor for writing html :) but with java i am lost without code completion and all those nice little gadgets netbeans and the likes offer... (just beeing lazy ;) jan -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, May

RE: Database setup? - SOLVED

2003-05-30 Thread Terje Hopsø
Thanks!! It was out of order. Now it start without errors. I was not aware of that it had to be in a spesific order. - Terje -Original Message- From: Brian Buchanan [mailto:[EMAIL PROTECTED] Sent: 29. mai 2003 14:15 To: Tomcat Users List Subject: RE: Database setup? The order of

RE: Taglib using BodyTagSupport

2003-05-30 Thread Edson Alves Pereira
No, i´m doing something like this: my:sendMail to=[EMAIL PROTECTED] from=[EMAIL PROTECTED] subject=testToday is a good day for java./my:sendMail -- De: Bill Barker[SMTP:[EMAIL PROTECTED] Responder:Tomcat Users List

RE: Oracle Type 4 Driver

2003-05-30 Thread Schwartz, David (CHR)
Thanks David. I'm still getting this error... org.apache.jasper.JasperException: This absolute uri (http://java.sun.com/jstl/sql) cannot be resolved in either web.xml or the jar files deployed with this application I added the taglib tags to web.xml (below) but still no go! ?xml version=1.0

Re: error starting apache w/ mod_jk2

2003-05-30 Thread Geralyn M Hollerman
Chong Yu Meng wrote: Vincent J. Buonassisi wrote: hi, i am using apache 2.0.45 and tomcat 4.1.24 on redhat 8.0. i am able to start tomcat just fine and am able to connect to it thru my web browser. but, when i start up apache i get the following error: [Wed May 28 15:40:32

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Reynir Hübner
Hi, I haven't seen this error before, do you have a connector set to receive the request in tomcat/conf/server.xml ? It must be open on port 8009, what hapenes if you do : C:\ telnet localhost 8009 It's seems to me that the workers, and IIS filter is working correctly at least according

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Allistair Crossley
My server.xml contains !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10

upgrade JDK

2003-05-30 Thread Koes, Derrick
What is the correct procedure to upgrade to a more recent JDK for a tomcat install? Thanks, Derrick This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other

Re: upgrade JDK

2003-05-30 Thread Ben Souther
Change your JAVA_HOME environment variable to point to the new jdk On Thursday 29 May 2003 09:40 am, Koes, Derrick wrote: What is the correct procedure to upgrade to a more recent JDK for a tomcat install? Thanks, Derrick This electronic transmission is strictly confidential to

REPOST: jk2 isapi filter crashes IIS after several unsuccessfulrequests?

2003-05-30 Thread Sasha Borodin
Do I need to provide more information? Or should I try a developer list instead? Thanks, -Sasha On 5/28/03 16:28, Sasha Borodin [EMAIL PROTECTED] wrote: I know you guys must be sick of iis-jk2 questions, but I've configured things identically to another working setup, and I'm having

[OT] how to extract a new autoindex after inserting with a CachedRowSet (possible bug)

2003-05-30 Thread Jan Behrens
Hi List, I know this is OT but a post in more Java/DB related lists has brought no result :( I am using sun.jdbc.rowSet.CachedRowSet within my app and managed to get it to work now. The problem I have is this, if I insert a new row into the CachedRowSet and write the data back to the db by

Re: Oracle Type 4 Driver

2003-05-30 Thread Jason Bainbridge
On Thu, 29 May 2003 21:32, Schwartz, David (CHR) wrote: I added the taglib tags to web.xml (below) but still no go!     taglib         taglib-urihttp://java.sun.com/jstl/sql/taglib-uri         taglib-location/WEB-INF/sql.tld/taglib-location     /taglib Do you have the sql.tld file in your

RE: Oracle Type 4 Driver

2003-05-30 Thread Schwartz, David (CHR)
Yes. Also, very weird - when the taglib tag is in the web.xml file Tomcat does NOT work properly. -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:01 AM To: Tomcat Users List Subject: Re: Oracle Type 4 Driver On Thu, 29 May 2003 21:32,

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Reynir Hübner
Ok, according to this you've got 2 connectors on port 8009 ? That's one to many ... -reynir -Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 29. maí 2003 13:38 To: Tomcat Users List Subject: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Allistair Crossley
I commented out each in turn and it does not matter which I use the error still happens :( It's ridiculous because I have followed every single set of instructions to the very letter and it does not work. Someone out there must know what The specified module could not be found. which is what

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Reynir Hübner
Hi, I am not sure if that's what's happening here... I've had problems with IIS it self, sometimes it's enough to restart IIS, and sometimes I need to restart the hardware. One thing that comes to mind... Did you create the /jakarta virtual directory under IIS and have it pointing to the dll

Re: Tomcat / Apache / JK2 impossible??

2003-05-30 Thread Vincent J. Buonassisi
try putting the following line in your workers2.properties: [shm] file=/etc/httpd/logs/shm.file size=1048576 On Giovedì, mag 29, 2003, at 03:27 US/Pacific, David Reche Martinez wrote: Hi again, Your first link don't tell anything about jk2 configuration and the faq's don't say anything new.

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Allistair Crossley
hi, yes I do have a jakarta virtual directory under default web which points to the isapi dll. I have just tried jk2 but the isapi dll does not start under IIS (i.e it is a red arrow). Only the other isapi module (that still does not work) turns green. I will look at your explanations.

Access Log Valve

2003-05-30 Thread Tyndall, David
Ok I have TOMCAT 4.1.8 running with no issues. I have it configured to run on a win2k server as a service ( setup this way during install) I would like to turn this logging feature on Access Log Valve. I know I need to make changes to the registry but not too sure how to go about it. located

RE: Access Log Valve

2003-05-30 Thread Shapira, Yoav
Howdy, Just comment it in server.xml. It's commented out by default. Yoav Shapira Millennium ChemInformatics -Original Message- From: Tyndall, David [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:40 AM To: '[EMAIL PROTECTED]' Subject: Access Log Valve Ok I have TOMCAT

CoyoteConnector (was Re: Access Log Valve)

2003-05-30 Thread Geralyn M Hollerman
Shapira, Yoav wrote: Howdy, Just comment it in server.xml. It's commented out by default. Question about some of those things commented out...the reference to a CoyoteConnector as a Connector element is also commented out in the server.xml I have - and I tried un-commenting it to use

sendRedirect and page buffers

2003-05-30 Thread chanan braunstein
Hello, I have a page that uses a sendRedirect. There is a bunch of logic at the top of the page, but really nothing much is being sent to the user. However every once and a while I get the following error: java.lang.IllegalStateException at

Re: sendRedirect and page buffers

2003-05-30 Thread Mufaddal Khumri
What is at line 250 ... paste your code here helps in debugging issues like this. On Thursday, May 29, 2003, at 08:13 PM, chanan braunstein wrote: Hello, I have a page that uses a sendRedirect. There is a bunch of logic at the top of the page, but really nothing much is being sent

Re: Tomcat / Apache / JK2 impossible??

2003-05-30 Thread David Reche Martinez
WONDERFULL! Thanks!! Thanks!! Thanks!! I love you ! You don't know how many time i have spent in this... Thank you again. - Original Message - From: Vincent J. Buonassisi [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, May 29, 2003 4:28 PM Subject:

RE: CoyoteConnector (was Re: Access Log Valve)

2003-05-30 Thread Shapira, Yoav
Howdy, Why not just use the latest tomcat release? It has the CoyoteConnector by default. Yoav Shapira Millennium ChemInformatics -Original Message- From: Geralyn M Hollerman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:48 AM To: Tomcat Users List Subject: CoyoteConnector

RE: sendRedirect and page buffers

2003-05-30 Thread Shapira, Yoav
Howdy, I have a page that uses a sendRedirect. There is a bunch of logic at the top of the page, but really nothing much is being sent to the user. Nothing much is more than enough to commit the response, thereby making a sendRedirect invalid. Yoav Shapira This e-mail, including any

Forte4Java / Sun One Studio / Tomcat4

2003-05-30 Thread Rick Roberts
Anyone using Forte4Java or Sun One Studio? I'm trying to transition from Tomcat 3.2 to 4.1. I use Forte4Java as my IDE on Redhat Linux. Forte has tomcat 3.2 imbeded into it and runs an instance listening on port 8082, although I'm not sure that I need it. What about Sun One Studio? Do I need

Re: CoyoteConnector (was Re: Access Log Valve)

2003-05-30 Thread Geralyn M Hollerman
Shapira, Yoav wrote: Howdy, Why not just use the latest tomcat release? It has the CoyoteConnector by default. At a later date, we may. But for right now, I would like to be able to follow a HOW-TO that refers to uncommenting the CoyoteConnector to use it, and uncommenting it gives me a

RE: sendRedirect and page buffers

2003-05-30 Thread Angus Mezick
How about using a servlet to do all your processing and then forwarding to a jsp from there? Will save you all sorts of headaches like this one. -Original Message- From: chanan braunstein [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 10:43 AM To: [EMAIL PROTECTED] Subject:

What is the maximum session handling capability

2003-05-30 Thread KKolle
In the past, I've used Tomcat for very small projects. But, now I may be using Apache/Tomcat for an actual business-related project. I've been looking in the documentation, but haven't found this answer just yet. I'm sure this has been asked several times (I did a search in the archives, but

SOLVED RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Allistair Crossley
OK, I have solved this with Reynir's JK2 isapi tutorial. JK1 was not having any of it. To get the Tomcat examples working I created workers2.properties a la [shm] file=c:\Program Files\Apache Group\Tomcat 4.1\logs\jk2.log size=1048576 # Example socket channel, override port and host.

RE: What is the maximum session handling capability

2003-05-30 Thread Raible, Matt
It's all relative to CPU and RAM IMO. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 9:19 AM To: [EMAIL PROTECTED] Subject: What is the maximum session handling capability In the past, I've used Tomcat for very small projects. But, now

RE: What is the maximum session handling capability

2003-05-30 Thread Angus Mezick
It sucks when the answer really is it depends. What hardware are you using? The only want to get a REALLY accurate answer is to use a stress testing tool from http://www.opensourcetesting.org/performance.php and see what happens using your hardware/application set up. Then do some config file

SSL and Non-Browser Traffic

2003-05-30 Thread Lukas Bradley
For non-browser based traffic, like foreign applications that POST to a Servlet over HTTPS, where do I place the trusted client certificate? Since there is no user-based authentication acceptance window, it seems our connections are failing. The end user has sent me the certificate, I just don't

Re: How to create directories unser webapps?

2003-05-30 Thread Geralyn M Hollerman
stephanj wrote: Is it not possible to create directories to organize your users with Tomcat? I *think* I understand what you want to do...we needed something similar, so we created a directory outside of the Tomcat context and then, in the /Tomcat/webapps directory, put a symbolic link to that

RE: What is the maximum session handling capability

2003-05-30 Thread KKolle
I thought there might be some numbers along with a few different configurations (cpu/ram/etc.) in the docs somewhere. No problem.thanks for the link to the testing tool!

RE: How to create directories unser webapps?

2003-05-30 Thread Shapira, Yoav
Howdy, See also the User Web Applications section here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html Yoav Shapira Millennium ChemInformatics -Original Message- From: Geralyn M Hollerman [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 11:32 AM To: Tomcat Users

Can't find TomcatStarter

2003-05-30 Thread Williams, Allen
To all: Attempt to integrate Tomcat- Apache with jk2 on WinNT 4.0. Getting the following error: [Mon May 26 20:13:47 2003] [notice] jni.validate() class= org/apache/jk/apr/TomcatStarter [Mon May 26 20:13:47 2003] [error] Can't find class org/apache/jk/apr/TomcatStarter [Mon May 26 20:13:47

RE: sendRedirect and page buffers

2003-05-30 Thread Chanan Braunstein
Not more then 64kb that the buffer was defined as though. To answer Mufaddal Khumri, on line 250 is the response.sendRedirect. Chanan Braunstein knovel Corp. Web Development Manager 607-648-4770 x672 http://www.knovel.com -Original Message- From: Shapira, Yoav [mailto:[EMAIL

Tomcat 4.1.12/18 Startup Delay

2003-05-30 Thread Nikolaos Giannopoulos
Hi, Is there any reason why Tomcat 4.1.12 and 4.1.18 (on Solaris 8, Sun E450 Dual 400MHz 1GB RAM) requires about 10-15 second delay after the startup.sh script is executed before it can process requests. We have observed the same situation on other boxes. Essentially startup.sh returns quite

RE: Tomcat 4.1.12/18 Startup Delay

2003-05-30 Thread Shapira, Yoav
Howdy, Is there any reason why Tomcat 4.1.12 and 4.1.18 (on Solaris 8, Sun E450 Dual 400MHz 1GB RAM) requires about 10-15 second delay after the startup.sh script is executed before it can process requests. We have observed the same situation on other boxes. snip Shouldn't startup.sh return

Reloading class file without disturbing users?

2003-05-30 Thread Michael Muratet
Greetings I haven't found the answer to this in the documentation. I have a jsp that invokes an instance of a java object. I would like to modify the java file and have the change take effect without interrupting any users that are on the system. If use the manager/reload?/path method to reload

RE: Reloading class file without disturbing users?

2003-05-30 Thread Filip Hanik
your sessions will be serialized, saved and when restarted brought back into memory. filip -Original Message- From: Michael Muratet [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 11:46 AM To: [EMAIL PROTECTED] Subject: Reloading class file without disturbing users?

TOMCAT SSL ACTIVE DIRECTORY

2003-05-30 Thread Naga Srinivas
Guys!! Here is a challenge to be resolved. I need to create users from a servlet running on Tomcat in AD. After a big fight and having help from sun forum I could able to write a class which could do the desired task with SSL. When I am using that class and methods from a servlet it started

RE: What is the maximum session handling capability

2003-05-30 Thread Kannan Sundararajan
Kevin, The factors, depends on your budget that you like to go with and the number of users you are expecting and the critical factor of your application. It is kind of critical decision for the lifetime of the application for the company. Even the big company for big project use Tomcat,

RE: CharConversionException: isHexDigit

2003-05-30 Thread Shapira, Yoav
Howdy, Great. Thanks for digging into the code. I will look for that stuff and implement both your and Senor Cox's valve variants. Thanks, Yoav Shapira Millennium ChemInformatics -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:44 AM To:

Re: Oracle Type 4 Driver

2003-05-30 Thread David N. Foote
David, You might be having trouble with where you inserted the taglib tags in your web.xml. The following fragment from web-app_2_3.dtd is key. !ELEMENT web-app (icon?, display-name?, description?, distributable?, context-param*, filter*, filter-mapping*, listener*, servlet*, servlet-mapping*,

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Hunter, Sandra
Thanks All! It helps to hear that others have occasionally had this problem. I will look into all your suggestions and see if resolution can be found. Sandra -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:44 PM To: 'Tomcat Users List'

RE: Oracle Type 4 Driver

2003-05-30 Thread Schwartz, David (CHR)
David, i have it as the last element, after all others. Any other ideas? I'd love to get it up! -Original Message- From: David N. Foote [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 2:36 PM To: Tomcat Users List Subject: Re: Oracle Type 4 Driver David, You might be having

Re: Oracle Type 4 Driver

2003-05-30 Thread Jason Bainbridge
On Fri, 30 May 2003 02:47, Schwartz, David (CHR) wrote: David, i have it as the last element, after all others. Any other ideas? I'd love to get it up! Are they within the webapp tag, so before the closing /webapp ? Regards, -- Jason Bainbridge KDE Web Team - http://kde.org [EMAIL

RE: Reloading class file without disturbing users?

2003-05-30 Thread Vladimer Shioshvili
that all depends if he has it set to be serialized (by default they are serialized). but there is a chance of disturbing users if something that is stored in the session is not serializable. reloadable will indeed replace old version with new one, servlet once it detects the changes. but using

Re: Oracle Type 4 Driver - CHANGE TOPIC

2003-05-30 Thread Emerson Cargnin
Jason Bainbridge wrote: On Fri, 30 May 2003 02:47, Schwartz, David (CHR) wrote: David, i have it as the last element, after all others. Any other ideas? I'd love to get it up! Are they within the webapp tag, so before the closing /webapp ? Regards, -- Emerson Cargnin Analista de

Multiple instances of tomcat in linux. Newbie question

2003-05-30 Thread Alejandro Arredondo
Hi, I want to make tomcat to work for many users, so each user can have their own developing enviroment. How do install, configure, and run each instance? How can I let them to manage their contexts? Thanks in advance __ Do you Yahoo!? Yahoo! Calendar - Free

Apache2/Tomcat/mod_jk2/ajp13

2003-05-30 Thread Geralyn M Hollerman
I want to connect Apache and Tomcat. The versions I have available to me are: Apache 2.0.45 Tomcat 4.0.4 I have tried both mod_jk and mod_jk2 with no success. I have read several FAQs, HOW-TOs and other documents on the Web and read countless messages about doing this. In my server.xml, I am

Re: Oracle Type 4 Driver

2003-05-30 Thread David N. Foote
David, I took a look at your web.xml and it looked good. The only other things I can think of that have to be there for this to work are as follows: Your WEB-INF/lib directory has to have these jars from the jakarta-taglibs\standard-1.0.3\lib directory: dom.jar jaxp-api.jar

RE: [OT] Oracle Connection Problem Due To Dynamic Port Numbers

2003-05-30 Thread Brad Rhoads
If you use the type 4 driver, then the listener.ora is ignored. Does that mean the requesting port would alway be 1521? Brad Rhoads wrote: Here's a bit from our listener.ora. It appears that the jdbc driver may be sending a sequential request number as the port, or something like that. Why

Re: [OT] Oracle Connection Problem Due To Dynamic Port Numbers

2003-05-30 Thread Tim Funk
Nope: url = jdbc:oracle:thin:@aserver:1521:instance -Tim Brad Rhoads wrote: If you use the type 4 driver, then the listener.ora is ignored. Does that mean the requesting port would alway be 1521? Brad Rhoads wrote: Here's a bit from our listener.ora. It

Re:Anyone knows how to get the stack trace displayed on Tomcat 4.1.24

2003-05-30 Thread Hassan
it is turned on by default on older versions, but since i've started using this, it only prints RESET on all exceptions. A stack trace would be helpful for debugging! Hassan - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday,

[OT] jdbc connections open?

2003-05-30 Thread Timothy Stone
I'm debugging an web app that seems to hang after three to four logins are initiated. One possible item to look at is the number of open connections to the MySQL database. The app was built around a number of Jakarta technologies about 8 months ago. What's the quickest way to check the number

RE: [OT] Oracle Connection Problem Due To Dynamic Port Numbers

2003-05-30 Thread mike jackson
Not always, but generally. Some DBAs may change the port to something else, but 1521 is the default. --mikej -=-- mike jackson [EMAIL PROTECTED] -Original Message- From: Brad Rhoads [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 12:01 PM To: Tomcat Users List Subject:

Setting Tomcat to run as a service with recovery settings to restart if the service stops.

2003-05-30 Thread Mark Andrews
Hello, I am looking into some problems we are having with our current jakarta-tomcat installation running as a service. I need to set the recovers settings for the service when it fails / crashes. I would like to set this at install time. Is there any way that you know of to do this, and or can

libjkjni.so

2003-05-30 Thread Vincent J. Buonassisi
hi, in the catalina.out file i'm getting the following error: INFO: APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path i'm confused as to why this library is being searched in the java.library.path since this is a .so file. is there another jkjni

Re: ant error compiling native2

2003-05-30 Thread Benjamin Cox
I wish I could help you :-( In the meantime, does anyone know where I can get a binary version of mod_jk2.so for red hat 7.2, apache 1.3, tomcat 4.1? I have tried a number of times and ways to get Apache and Tomcat talking happily, and all roads seem to end here! Since I can't build the

Re: ant error compiling native2

2003-05-30 Thread Vincent J. Buonassisi
i was able to build the mod_jk2.so by building it from the jk directory instead of the native2 directory. i did have to make a change to build.xml file because it was building the native directory and i didn't have apache 1.3 installed. i commented out the task to build the native

Error 500 - Can't find my classes in WEB-INF/classes

2003-05-30 Thread Rick Roberts
I have some beans and support classes in WEB-INF/classes. Tomcat 3.2 found them OK. I just got Tomcat 4.1 running but having trouble getting my JSP pages to find my beans / servlets in WEB-INF/classes. In this case, ConnectionBean.class is in WEB-INF/classes/ but I don't know how to tell

Alternate password encyption code?

2003-05-30 Thread Jeff Sexton
I need to use my own bit of java to encrypt passwords for a JDBCRealm. I have no idea what approach is best to take with this, anyone have any suggestions? Thanks Jeff Sexton The ODS Companies [EMAIL PROTECTED] - To

RE: Alternate password encyption code?

2003-05-30 Thread Raible, Matt
Here's how I do it - and I generally use SHA as my algorithm: /** * Encode a string using algorithm specified in web.xml and return the * resulting encrypted password. If exception, the plain credentials * string is returned * * @param password Password or other

RE: Alternate password encyption code?

2003-05-30 Thread Jeff Sexton
On Thu, 29 May 2003, Raible, Matt wrote: Here's how I do it - and I generally use SHA as my algorithm: Thanks, but my question is really related to the setup - I have the code I want to use for the encyrption, but I'm not sure how to tie it in with the existing JDBCRealm mechanism. How did

Re: Error 500 - Can't find my classes in WEB-INF/classes

2003-05-30 Thread Tim Funk
See Don't use packageless classes and declare all imported classes! http://tomcatfaq.sourceforge.net/classnotfound.html -Tim Rick Roberts wrote: I have some beans and support classes in WEB-INF/classes. Tomcat 3.2 found them OK. I just got Tomcat 4.1 running but having trouble getting my JSP

RE: Alternate password encyption code?

2003-05-30 Thread Jeff Sexton
On Thu, 29 May 2003, Raible, Matt wrote: Why don't you just have the JDBCRealm do it - add digest=SHA. I need something other than SHA, I need to use my own custom code for an encyrption method of my own that is not provided by JDBCRealm To programmatically do it using form-based

java.security.PrivilegedActionException on RH 7.2

2003-05-30 Thread Rahul
Hi All, I am running JSP-servlet based web-application on Tomcat 4.1 on RH 7.2 and get java.security.PrivilegedActionException when i try to bring up any of the pages on the browser. has any one encountered this and any idea what causes this exception to occur. can it be related to permissions

Re: error starting apache w/ mod_jk2

2003-05-30 Thread Vincent J. Buonassisi
hi, i installed apache 2.0.45 as per your suggestion of using a different one than the one that comes w/ redhat. however, i did read an email sent a couple of days ago by pascal chong where he writes that when his apache2 successfully loaded mod_jk2 he would get the following in the apache

RE: Tomcat 4.1.12/18 Startup Delay

2003-05-30 Thread Lopez David E-r9374c
Nikolaos I also have this problem. In my case, apache must only start if the conf/auto/modjk.conf has been written. From the time that startup.sh finishes to when it's safe to start apache is 30 or so seconds. The wait time is variable, so a 30 second sleep in my /etc/init.d reboot script might

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Hunter, Sandra
Okay so just for my own interest (and sanity): here is the place where things are freezing. Can anyone see anything wrong with this? System.out.println (ADDRESS); /* add data to the ADDRESS table */ String addressSQL = INSERT INTO address (str_address_id,

Error-Page configuration problem

2003-05-30 Thread Joel Lawhead
I am using Tomcat 4.1.18 behind Apache 2.0.44 with mod_jk on a Win XP Pro machine. I have been developing a JSP application for several months. The application is close to initial release and I decided to add an error-page directive to web.xml to temporarily mask and notify us of any

Re: Tomcat STILL freezing - time to look at another app server?

2003-05-30 Thread Tim Funk
1 problem, and many questions Problem - Concatentation for sql -- very bad Question - why conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE) instead of conn.createStatement() ? What happens if you use conn.createStatement()? Is autocommit off? Does it need to

remote restart of server

2003-05-30 Thread mde
Hi all, This is probably an OS question, not a Tomcat one, but possibly some of you may have had to do this. I have tomcat 4.1.24 running on a Win2K server on which I have partial access, meaning that tomcat's base directory has been shared to me. I have no other access to this computer (no pc

RE: Error-Page configuration problem

2003-05-30 Thread Wendy Smoak
Joel wrote: Strangely enough if I remove the exception-type tag and the location tag Tomcat notifies me that the error-page tag is incomplete and tells me the valid contents of an error-page tag. But when I try to use it properly Tomcat acts as if its never heard of the error-page tag.

RE: open source code and IDE

2003-05-30 Thread Reena Kawal
Check out IntelliJ Idea - it's got some great support for code completion, refactoring, finding out where methods are used, etc.. Easy to set up remote debugging with Tomcat. Nice little features to help you program (will automatically generate try/catch etc. )

Re: Apache2/Tomcat/mod_jk2/ajp13

2003-05-30 Thread Vincent J. Buonassisi
i wish i could better help you but i am having problems as well in trying to get these components working together. but, i will try to give you meager comments based on my reading/experience. one question: were you able to get rid of the mod_jk2 error at startup in apache ([error] mod_jk

Re: Can't find TomcatStarter

2003-05-30 Thread Chong Yu Meng
Hello Allen : For some reason, the OPT directives in workers2.properties are not read properly. TomcatStarter is in tomcat-jni.jar, and though it is defined in your workers2.properties file, it will not be seen by mod_jk2. To get it to work, you need to add tomcat-jni.jar to your CLASSPATH

Re: libjkjni.so

2003-05-30 Thread Chong Yu Meng
Vincent J. Buonassisi wrote: INFO: APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path i read someplace that libjkjni.so should be placed in $catalina_home/bin so i put it in there. but, it didn't make a difference. should it be placed somewhere

RE: open source code and IDE

2003-05-30 Thread daniel
thanks for the replies u got me going , although the IDE looks sweet , similar to PHPEdit which i hardly need the code hints for now , but phpedit is open source , i'm not a business, its not for a business its simply to help me learn , i totally hate licencing when u are not going to make any

RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module

2003-05-30 Thread Mayne, Peter
Title: RE: IIS 5 + isapi_redirect.dll Error 500 And Cannot Find Module Did you build the ispai redirector yourself? The isapi_redirector2.dll I built it has dependencies on libapr. The missing libapr.dll is what caused the specified module could not be found error. Putting the two DLLs in

Re: error starting apache w/ mod_jk2

2003-05-30 Thread Chong Yu Meng
Hello Vincent, Pascal Chong is me. I use the pseudonym for 2 reasons : 1. Most Caucasians have difficulty parsing Chinese names -- they don't know which is my family name and which my given name. This results in some bizarre things like being called Mr Meng, or hey, Yu. Having an English name

Example error pages?

2003-05-30 Thread Wendy Smoak
Would anyone be willing to share a good error JSP to be used with the error-page tag in web.xml? What kinds of things do you typically show? Is there a way to capture the stack trace with out showing it to the user? Maybe as an HTML comment below a bunch of br's so they won't see it unless

Re: Example error pages?

2003-05-30 Thread Chong Yu Meng
Wendy Smoak wrote: Would anyone be willing to share a good error JSP to be used with the error-page tag in web.xml? What kinds of things do you typically show? Is there a way to capture the stack trace with out showing it to the user? Maybe as an HTML comment below a bunch of br's so they won't

Re: Error-Page configuration problem

2003-05-30 Thread Chong Yu Meng
error-page exception-typeorg.apache.jasper.JasperException/exception-type location/error.jsp/location /error-page The exception-type tag did not work for me either, and I'm using servlets (no jsp). Is it disabled ? Regards, pascal chong

Re: error starting apache w/ mod_jk2

2003-05-30 Thread Chong Yu Meng
Peter, Like I said, it was just a theory. :) In any case, I consider the line mod_jk child init 1 -1 to be an indicator, if you will, that Apache is ready to accept requests that will be routed to Tomcat. Regards, pascal chong Mayne, Peter wrote: This is significant because I am thinking

Problem moving Web service from Jbuilder to Tomcat

2003-05-30 Thread frasse
Hi All I am using JBuilder8.0 and generate a Web service(Axis)from a class. when i run it in JBuilder Axis admin show me that all is ok but when i move my application to a tomcat run in redhat 8.0 with Jvm 1.4 I am geting followin error org.apache.jasper.JasperException: Cannot inherit from

Re: Example error pages?

2003-05-30 Thread Tim Funk
I use this page (hopefully attached) ... Its not pretty but nice for debugging - but its not(and should not be) for production either. For production use - show a pretty page and log the rest somewhere. Maybe showing an ID in case someone reports it, then a tech can look at the dump in the

Re: Example error pages?

2003-05-30 Thread Tim Funk
D'oh. Didn't make it. Here it is inline ... This is also a classic example of everything ugly jsp ;) (But it works real nice for me) ... -Tim --start of page-- %@ page import=java.net.InetAddress import=java.util.Enumeration % % Cookie[] cookies = request.getCookies(); String

JAAS LoginModule ?

2003-05-30 Thread Eric Chow
Hello, In Tomcat, we can use container based authorization. Those username/password information can be place in a XML files or use DBRealm, right ? How can I implement a login module, so that the Web Container will called my module instead of the default login module. For example, the

  1   2   >