Re: oracle drivers

2002-06-04 Thread Tia Haenni

Drivers are with your Oracle distribution, just search for 
classes111.zip or classes12.zip. Also, they are available here:

http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
 You will have to sign up for the Oracle Technology Network if you are 
not already a member.

puneet sachar wrote:

>thanx mr. Lee
>
>do for these drivers ,,
>
>we need any jdk api i mean additional api's needed for
>type -3 ,-4 drivers
>
>thanx a lot
>
>Puneet
>
>
>--- Lee Chin Khiong <[EMAIL PROTECTED]> wrote:
>  
>
>>put it into tomcat_directory/common/lib
>>All driver comes with oracle or you cane download it
>>from oracle web site.
>>
>>
>>-Original Message-
>>From: puneet sachar [mailto:[EMAIL PROTECTED]]
>>Sent: Tuesday, June 04, 2002 2:25 PM
>>To: Tomcat Users List
>>Subject: oracle drivers 
>>
>>
>>good morning developers!
>>
>>
>>tell me if i want to use oracle as my database where
>>do i keep my drivers in the tomcat and 
>>
>>2)
>>where r the oracles drivers 
>>
>>3) from where i get type 3 or type 4 drivers
>>
>>4) does oracle 8i personla edition have them...
>>
>>where is location , so that i copy /paste them to
>>desired folder
>>
>>
>>regards
>>Puneet
>>
>>__
>>Do You Yahoo!?
>>Yahoo! - Official partner of 2002 FIFA World Cup
>>http://fifaworldcup.yahoo.com
>>
>>--
>>To unsubscribe, e-mail:
>>
>>For additional commands, e-mail:
>>
>>
>>
>>
>
>
>__
>Do You Yahoo!?
>Yahoo! - Official partner of 2002 FIFA World Cup
>http://fifaworldcup.yahoo.com
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>
>  
>



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Tomcat 4.0.1 and memory usage

2002-06-06 Thread Tia Haenni

I have searched the archives for this topic, but I need more information 
to understand.  I need to limit the amount of memory used by Tomcat. I 
have Tomcat 4.0.1 running as an nt service on a Windows 2000 server box 
with redirects coming from IIS 5.0. I heard of using java -verbosegc to 
monitor gc, but as the service points at \bin\tomcat.exe, I 
don't know where this should be set. I understand the concept of setting 
for the JVM -Xmx###m and -Xms###m where ### is the amount of RAM to 
allocate for Tomcat, but again I do not know where this is set. Please 
help. TIA 



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Tia Haenni

Ok, that's simple enough. Does that limit the amount of RAM Tomcat can 
use? Do you know the minimum it requires? Also, would the java 
-verbosegc also be set in this way? TIA

Phillip Morelock wrote:

>Just like you set CATALINA_HOME
>
>set CATALINA_OPTS to the string you want to feed the vm.
>
>so 
>
>%CATALINA_OPTS%  should be
>-Xmx### -Xms###
>
>fillup
>
>
>On 6/6/02 2:38 PM, "Tia Haenni" <[EMAIL PROTECTED]> wrote:
>
>  
>
>>I have searched the archives for this topic, but I need more information
>>to understand.  I need to limit the amount of memory used by Tomcat. I
>>have Tomcat 4.0.1 running as an nt service on a Windows 2000 server box
>>with redirects coming from IIS 5.0. I heard of using java -verbosegc to
>>monitor gc, but as the service points at \bin\tomcat.exe, I
>>don't know where this should be set. I understand the concept of setting
>>for the JVM -Xmx###m and -Xms###m where ### is the amount of RAM to
>>allocate for Tomcat, but again I do not know where this is set. Please
>>help. TIA 
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
>>
>>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: jdk 1.4 and Oracle drivers

2002-06-06 Thread Tia Haenni

Did you try adding the location of your classes12.jar to the Tomcat 
classpath? Look in /bin/setclasspath file. There should be 
a section near the bottom like one of the following depending on the OS:

# Set standard CLASSPATH
CLASSPATH="$JAVA_HOME"/lib/tools.jar

rem Set standard CLASSPATH
set CLASSPATH=%JAVA_HOME%\lib\tools.jar



John Gregg wrote:

>Hi all.
>
>Upon completing my most recent project I switched from jdk 1.3.1 to 1.4.
>However now I can't start Tomcat (4.0.1) because it can't find the Oracle
>jdbc driver class.  When I first started using Oracle with Tomcat, I renamed
>the classes12.zip to classes12.jar.  Now no matter where I put
>classes12.jar, I get the same error.  I've tried lib, common/lib,
>server/lib, and webapps//web-inf/lib.  FWIW, I have a servlet that
>runs at startup and tries to initialize a db connection pool.  This used to
>work just fine and in fact still does with postgresql.jar.  I even tried
>unzipping classes12.zip and actually jarring it up.  No luck.  I've traced
>the problem in a debugger far enough to know that the StandardClassLoader
>that should have classes12.jar in its scope doesn't.  In fact, of all the
>stuff under common (classes and lib), it's missing classes12.jar and
>jdbc2_0-stdext.jar.  Everything else is there.  I see those 2 jars overlap
>somewhat, so I tried removing the latter to no avail.  I don't have any
>other Tomcat installations and there aren't any jar files in multiple
>locations.  I feel like I know everything about this problem but the answer.
>
>thanks
>
>john
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>
>  
>




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Tia Haenni

ok, just one more question, if i pass an argument for -verbosegc or any 
other stuff that would normally go to the standard output (the console), 
but with running tomcat as a service there is no console window, where 
does it go? does it get dumped in a log or what?

Tia

Phillip Morelock wrote:

>Anything you would normally pass on the command line to "java" -- you put
>into CATALINA_OPTS
>
>At some point in the script that starts tomcat, you'll see a line like
>(*approximately*)
>$JAVACMD -classpath $SOMETHING $CATALINA_OPTS
>
>or something like that -- so you can see that $CATALINA_OPTS just gets
>passed in as a string -- are you on windows?  oh well, close enough, you get
>the idea i think  ;)
>
>I don't know the minimum it requires -- I guess that would depend on usage
>and how many servlets/jsp's you have.
>
>I set mine (for mid-sized website on one server) to 256-384 and it seems
>almost excessive for the amount of traffic, etc.  Play with it a bit, I
>guess would be my answer, but maybe someone else knows a more precise
>measurement.
>
>cheers
>fillup
>
>
>
>On 6/6/02 2:50 PM, "Tia Haenni" <[EMAIL PROTECTED]> wrote:
>
>  
>
>>Ok, that's simple enough. Does that limit the amount of RAM Tomcat can
>>use? Do you know the minimum it requires? Also, would the java
>>-verbosegc also be set in this way? TIA
>>
>>Phillip Morelock wrote:
>>
>>
>>
>>>Just like you set CATALINA_HOME
>>>
>>>set CATALINA_OPTS to the string you want to feed the vm.
>>>
>>>so 
>>>
>>>%CATALINA_OPTS%  should be
>>>-Xmx### -Xms###
>>>
>>>fillup
>>>
>>>
>>>On 6/6/02 2:38 PM, "Tia Haenni" <[EMAIL PROTECTED]> wrote:
>>>
>>> 
>>>
>>>  
>>>
>>>>I have searched the archives for this topic, but I need more information
>>>>to understand.  I need to limit the amount of memory used by Tomcat. I
>>>>have Tomcat 4.0.1 running as an nt service on a Windows 2000 server box
>>>>with redirects coming from IIS 5.0. I heard of using java -verbosegc to
>>>>monitor gc, but as the service points at \bin\tomcat.exe, I
>>>>don't know where this should be set. I understand the concept of setting
>>>>for the JVM -Xmx###m and -Xms###m where ### is the amount of RAM to
>>>>allocate for Tomcat, but again I do not know where this is set. Please
>>>>help. TIA 
>>>>
>>>>
>>>>
>>>>--
>>>>To unsubscribe, e-mail:
>>>><mailto:[EMAIL PROTECTED]>
>>>>For additional commands, e-mail:
>>>><mailto:[EMAIL PROTECTED]>
>>>>
>>>>   
>>>>
>>>>
>>>>
>>>--
>>>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>>
>>>
>>> 
>>>
>>>  
>>>
>>
>>
>>--
>>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>>
>>
>>
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: tomcat with IIS

2002-06-07 Thread Tia Haenni

Also, check out this document which Ii have used to install tomcat 4.0.1 
with IIS 5.0 on several windows 2000 server boxes:

http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html 


To add contexts to tomcat that you want IIS to redirect, just add it to 
\conf\ntiis\uriworkermap.properties file and restart IIS 
and tomcat


Steven Sporen wrote:

>Hi,
>
>I take it you've read through something along the lines of
>http://www.aoindustries.com/docs/jakarta-tomcat-3.2b6/tomcat-iis-howto.h
>tml
>And done
>http://www.google.com/search?hl=en&ie=UTF8&oe=UTF8&q=isapi_redirect.dll&;
>btnG=Google+Search
>
>Have you confirmed that the ISAPI filter is installed into IIS? Are the
>registry keys confirmed correctly. These change be checked by IIS
>Manager |  | Properties | WWW Service | Properties | ISAPI
>Filter
>
>I'm hoping some guru will one day have the inclination of writing an APP
>Filter for .jsp on IIS.
>
>As a side note any good firewall allows you to route directories to
>different servers so you could potentially drop the ISAPI filter. This
>is a good thing because (although I haven't looked at the code) ISAPI
>filters are typically how IIS is compromised.
>
>Regards
>  Steven
>
>-Original Message-
>From: Chris Ruegger [mailto:[EMAIL PROTECTED]] 
>Sent: 07 June 2002 12:35
>To: Tomcat Users List
>Subject: Re: tomcat with IIS
>
>
>
>Steve,
>I think you misunderstood my question. Here is what we want to do. We
>want to put all of our files, static html, images, jsps under the IIS
>server and tell Tomcat that its docroot is under IIS (point to the IIS
>docroot from Tomcat's server.xml file)
>
>When the user asks for an HTML page, they get it from
>IIS. When they ask for a JSP page *from IIS*, IIS forwards the request
>to Tomcat, acting as a proxy.
>
>We are trying to use the isapi_redirect.dll within IIS and it's not
>forwarding JSP/servlet requests.
>
>-Chris
>
>- Original Message -
>From: "Steven Sporen" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Sent: Friday, June 07, 2002 6:20 AM
>Subject: RE: tomcat with IIS
>
>
>Use hard links (FQ URL eg. http://wwwiis.xxx.com/graphics1.gif vs.
>./graphics1.gif) on your jsp pages ref the static content on the IIS
>service. Question is why would you want to - twice the risk of being
>hacked.
>
>-Original Message-
>From: Chris Ruegger [mailto:[EMAIL PROTECTED]]
>Sent: 07 June 2002 12:24
>To: Tomcat Users List
>Subject: tomcat with IIS
>
>
>
>We are attempting to get IIS to work with Tomcat such that IIS forwards
>JSP requests to Tomcat and otherwise handles static content. Has anyone
>gotten this to work? Thanks, Chris
>
>
>--
>To unsubscribe, e-mail:
>
>For additional commands, e-mail:
>
>
>
>
>
>
>
>--
>To unsubscribe, e-mail:
>
>For additional commands, e-mail:
>
>
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>
>
>  
>




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Setting default resource for a context

2002-06-21 Thread Tia Haenni

I know there is a way to do this, but I cannot recall how. I have Tomcat 
4.0.1 on a windows server with a reidirect from IIS. Everything there is 
working fine, but what I want to do is to set a default resource that is 
served up without the user having to type in the /servelt/MyServlet part 
of the url. So for instance, http://127.0.0.1/context rather than 
http://127.0.0.1/context/servlet/MyServlet. Anybody know how to do this? 
TIA



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Catalina.start: LifecycleException:

2002-06-21 Thread Tia Haenni

I haven't heard of classes112.zip, but I can tell you that you should be 
able to find the right drivers at the oracle site:

http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html 
(requires login with free online account id)

I have used the classes12.zip file by unzipping, jar up, and put in 
\common\lib

Gita wrote:

>Hi,
>
>I have classes111.jar and this is not working. Where can i get
>classes112.jar?
>(New JDBC supporting only jar files and will not accept zips.)
>
>Gita
>
>RS> hi Gita,
>
>RS> AFAIK the type 4 driver for oracle is called classes112.zip...u have to put
>RS> this zip file in \lib...if it is still unable to find the
>RS> driver...then rename it as classes112.jar or simply unzip the zip file to
>RS> classes..
>
>RS> HTH,
>
>RS> ravi
>
>RS> - Original Message -
>RS> From: "Gita" <[EMAIL PROTECTED]>
>RS> To: "Tomcat Users List" <[EMAIL PROTECTED]>
>RS> Sent: Friday, June 21, 2002 12:59 PM
>RS> Subject: Catalina.start: LifecycleException:
>
>
>  
>
>>>Hello!
>>>
>>>I have installed new version of tomcat 4.0.4, which i want working
>>>with j2sdk1.4.0. There for i added two jars wich is important for that
>>>in classpathes ojdbc14.jar and nls_charset12.jar.
>>>
>>>My server.xml looks like that:
>>>  
>>>
>>>  >> connectionName="username"
>>> connectionPassword="passwd"
>>> driverName="oracle.jdbc.OracleDriver"
>>>  connectionURL="jdbc:oracle:thin:@datsuns:1521:dev8i"
>>>  userTable="users" userNameCol="user_name"
>>>  
>>>
>RS> userCredCol="user_pass"
>  
>
>>>  userRoleTable="user_roles" roleNameCol="role_name" />
>>>
>>>When im starting Tomcat i get such error:
>>>
>>>HttpConnector Opening server socket on all host IP addresses
>>>Starting service Tomcat-Standalone
>>>Apache Tomcat/4.0.4
>>>Catalina.start: LifecycleException:  Exception opening database
>>>  
>>>
>RS> connection:  jav
>  
>
>>>a.sql.SQLException: oracle.jdbc.OracleDriver
>>>LifecycleException:  Exception opening database connection:
>>>  
>>>
>RS> java.sql.SQLExcepti
>  
>
>>>on: oracle.jdbc.OracleDriver
>>>at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:615)
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
>  
>
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
>  
>
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>  
>
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
>  
>
>>>)
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.StandardService.start(StandardService.java:3
>  
>
>>>88)
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.StandardServer.start(StandardServer.java:506
>  
>
>>>)
>>>at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
>>>at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>>>at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>at
>>>  
>>>
>RS> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>  
>
>>>java:39)
>>>at
>>>  
>>>
>RS> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>  
>
>>>sorImpl.java:25)
>>>at java.lang.reflect.Method.invoke(Method.java:324)
>>>at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
>>>- Root Cause -
>>>java.sql.SQLException: oracle.jdbc.OracleDriver
>>>at org.apache.catalina.realm.JDBCRealm.open(JDBCRealm.java:538)
>>>at org.apache.catalina.realm.JDBCRealm.start(JDBCRealm.java:613)
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1108)
>  
>
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
>  
>
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
>  
>
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343
>  
>
>>>)
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.StandardService.start(StandardService.java:3
>  
>
>>>88)
>>>at
>>>  
>>>
>RS> org.apache.catalina.core.StandardServer.start(StandardServer.java:506
>  
>
>>>)
>>>at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
>>>at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
>>>at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>at
>>>  
>>>
>RS> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>  
>
>>>java:39)
>>>at
>>>  
>>>
>RS> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>  
>
>>>sorImpl.jav

RE: Making over Half Million Dollars every 4 to 5 Months from your Home

2001-06-05 Thread Tia Haenni



spam 
list!!

  -Original Message-From: NOOOR 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 05, 2001 3:52 
  PMTo: Undisclosed-Recipient:;Subject: Making over Half 
  Million Dollars every 4 to 5 Months from your Home 
  
  AS SEEN ON NATIONAL TV:Making over Half Million Dollars 
  every 4 to 5 Months from your Home for an investment of only$25 U.S. 
  Dollars expense one timeTHANK'S TO THE COMPUTER AGE AND THE 
  INTERNET!==BE A 
  MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!!Before you say ''Bull'', please 
  read the following.This is the letter you have been hearing about on the 
  news lately. Due to the popularityof this letter on the Internet, a 
  national weekly news program recently devoted an entireshow to the 
  investigation of this program described below, to see if it really can 
  makepeople money. The show also investigated whether or not the program 
  was legal. Their findingsproved once and for all that there are 
  ''absolutely NO Laws prohibiting the participation inthe program and if 
  people can follow the simple instructions, they are bound to make somemega 
  bucks with only $25 out of pocket cost''. DUE TO THE RECENT INCREASE OF 
  POPULARITY& RESPECT THIS PROGRAM HAS ATTAINED, IT IS CURRENTLY WORKING 
  BETTER THAN EVER.This is what one had to say: ''Thanks to this 
  profitable opportunity. I was approached many times beforebut each time I 
  passed on it. I am so glad I finally joined just to see what one could 
  expectin return for the minimal effort and money required. To my 
  astonishment, I receivedtotal $610,470.00 in 21 weeks, with money still 
  coming in." Pam Hedland, Fort Lee, New 
  Jersey.===Here is 
  another testimonial: "This program has been around for a long time but I never 
  believedin it. But one day when I received this again in the mail I 
  decided to gamble my $25 on it. Ifollowed the simple instructions and 3 
  weeks later the money started to come in.First month I only made 
  $240.00 but the next 2 months after that I made a total of $290,000.00.So 
  far, in the past 8 months by re-entering the program, I have made over 
  $710,000.00 and I amplaying it again. The key to success in this program 
  is to follow the simple steps and NOT changeanything.'' More testimonials 
  later but first,= PRINT THIS NOW FOR YOUR FUTURE REFERENCE 
  ==$If 
  you would like to make at least $500,000 every 4 to 5 months easily And 
  comfortably, pleaseread the following...THEN READ IT AGAIN and 
  AGAIN!!!$FOLLOW 
  THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME 
  TRUE,GUARANTEED!INSTRUCTIONS:=Order all 5 reports 
  shown on the list below =For each report, send $5 CASH, THE NAME 
  & NUMBER OF THE REPORT YOU ARE ORDERING andYOUR E-MAIL ADDRESS to the 
  person whose name appears ON THAT LIST next to the report.MAKE SURE YOUR 
  RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any 
  mailproblems.=== When you place your order, make sure you order 
  each of the 5 reports.You will need all 5 reports so that you can save 
  them on your computer and resell them.YOUR TOTAL COST $5 X 
  5=$25.00.Within a few days you will receive, vie e-mail, each of the 5 
  reports from these 5 different individuals.Save them on your computer so 
  they will be accessible for you to send to the 1,000's of peoplewho will 
  order them from you. Also make a floppy of these reports and keep it on your 
  desk incase something happen to your computer.IMPORTANT - DO NOT 
  alter the names of the people who are listed next to each report, ortheir 
  sequence on the list, in any way other than what is instructed below in 
  step'' 1 through 6 '' or you will lose out on majority of your profits. 
  Once you understandthe way this works, you will also see how it does not 
  work if you change it. Remember, thismethod has been tested, and if you 
  alter, it will NOT work !!! People have tried to put 
  theirfriends/relatives names on all five thinking they could get all the 
  money. But it does notwork this way. Believe us, we all have tried to be 
  greedy and then nothing happened. So Do Nottry to change anything other 
  than what is instructed. Because if you do, it will not work foryou. 
  Remember, honesty reaps the reward!!!1 After you have ordered all 
  5 reports, take this advertisement and REMOVE thename & address of the 
  person in REPORT # 5. This person has made it through the cycle andis no 
  doubt counting their fortune.2 Move the name & address in REPORT # 
  4 down TO REPORT # 5.3 Move the name & address in REPORT # 3 down 
  TO REPORT # 4.4 Move the name & address in REPORT # 2 down TO 
  REPORT # 3.5 Move the name & address in REPORT # 1 down TO REPORT 
  # 26 In

Has anyone configured tomcat 4.0 with IIS???

2001-09-20 Thread Tia Haenni

I have installed the .exe version of tomcat 4.0. It went well, other than
IIS and tomcat don't seem to be communicating. Tomcat is not listening on
port 8007 as in older versions. I can only access tomcat by including port
8080 in the url, such as http://locvalhost:8080/examples Please PLEASE help
if you can. Thanks!!




RE: Started Tomcat, why don't JSPs run...

2001-09-21 Thread Tia Haenni

Taken from the app developer's guide docs for Tomcat 4.0:

A web application is defined as a hierarchy of directories and files in a
standard layout. Such a hierarchy can be accessed in its "unpacked" form,
where each directory and file exists in the file system separately, or in a
"packed" form known as a Web ARchive, or WAR file. The former format is more
useful during development, while the latter is used when you distribute your
application to be installed.

The top-level directory of your web application hierarchy is also the
document root of your application. Here, you will place the HTML files and
JSP pages that comprise your application's user interface. When the system
administrator deploys your application into a particular server, he or she
assigns a context path to your application (a later section of this manual
describes deployment on Tomcat). Thus, if the system administrator assigns
your application to the context path /catalog, then a request URI referring
to /catalog/index.html will retrieve the index.html file from your document
root.

Follow this link for more info:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html


-Original Message-
From: Jeff Turner [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 12:40 AM
To: [EMAIL PROTECTED]
Subject: Re: Started Tomcat, why don't JSPs run...


On Thu, Sep 20, 2001 at 10:32:00PM -0400, teddiebear johnson wrote:
[..]
> I loaded tomcat successfully, but when i put a JSP file in the webapps
> directory, I come up with this error

Well it's called "webapps" because it's where you put webapps, not JSPs :)

To get started, put your JSP in webapps/ROOT. Eg webapps/ROOT/foo.jsp
will be accessible at http://localhost:8080/foo.jsp.

Have a read of the "App Developers Guide", linked to from the main
documentation.

--Jeff




RE: Tomcat 4.0 and IIS 5

2001-09-21 Thread Tia Haenni

I tried to do this very thing all day yesterday. If you want to run tomcat
4.0 as a service, I suggest you download the .exe version. It has a pretty
slick installer program, just know that any prior version of tomcat and any
files under it will be permanently deleted without asking. Rename or
otherwise backup the entire tomcat directory of your old version before
installing 4.0. I went so far as to download a new isapi_redirect.dll and
reinstalling it, changing the registry, but it still did not work. If you
get it, please let me know how!

-Original Message-
From: Tore Skogly [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 21, 2001 2:57 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 4.0 and IIS 5


I have just installed Tomcat 4.0 on Windows 2000  running IIS 5.

Is it possible to configure redirecting and services on Tomcat 4.0 and IIS
the same way as with Tomcat 3.2.3.

I would like to create a service that starts when the computer is started,
the same way it is possible with Tomcat 3.2.3 using jk_nt_service.exe

I also would like to redirect the same way as for 3.2.3, using the ISAPI
Redirector (isapi_redirect.dll)

Can this be done, and if it can - how?

Tore Skogly







RE: Tomcat 4.0 and IIS 5

2001-09-22 Thread Tia Haenni

I forgot to tell you to go into the custom install because it is not
installed as a service by default. sorry

-Original Message-
From: Tore Skogly [mailto:[EMAIL PROTECTED]]
Sent: Saturday, September 22, 2001 4:35 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Tomcat 4.0 and IIS 5


I installed the .exe version, but with no luck...
There are no references in the 4.0 documentation on how to do this, and the
configuration files have changed since the 3.2.3 version

I sure would like to fix this problem, and hope someone can help!

ToreS
- Original Message -
From: "Tia Haenni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 22, 2001 1:48 AM
Subject: RE: Tomcat 4.0 and IIS 5


> I tried to do this very thing all day yesterday. If you want to run tomcat
> 4.0 as a service, I suggest you download the .exe version. It has a pretty
> slick installer program, just know that any prior version of tomcat and
any
> files under it will be permanently deleted without asking. Rename or
> otherwise backup the entire tomcat directory of your old version before
> installing 4.0. I went so far as to download a new isapi_redirect.dll and
> reinstalling it, changing the registry, but it still did not work. If you
> get it, please let me know how!
>






Help with using getRequestURL()

2001-07-11 Thread Tia Haenni

Is anyone familiar with the method getRequestURL() of the HttpServeltRequest
interface? I am trying to use it, but the compiler object to the method. By
the way, this method is previously of javax.servlet.http.HttpUtils, which
has been deprecated. Thanks in advance,

Tia




Help with using getRequestURL()

2001-07-11 Thread Tia Haenni

Is anyone familiar with the method getRequestURL() of the HttpServeltRequest
interface? I am trying to use it, but the compiler object to the method. By
the way, this method is previously of javax.servlet.http.HttpUtils, which
has been deprecated. Thanks in advance,

Tia




RE: Help with using getRequestURL()

2001-07-11 Thread Tia Haenni

Ok, so typing is not my string point, I meant HttpServletRequest, there is a
method getRequestURL()-not URI that attempts to reconstruct the entire URL.
The complaint was:

test5.java:66: cannot resolve symbol
symbol  : method getRequestURL  ()
location: interface javax.servlet.http.HttpServletRequest
  String Url = request.getRequestURL();

I have seen this used, but I am not sure why I can't get it to work. As I
mentioned before it is deprecated from HttpUtils. Any insight is much
appreciated. Thanks,

Tia

-Original Message-
From: William Kaufman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 4:22 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help with using getRequestURL()


Assuming you mean the "getRequestURI()" (not "URL") method of
"HttpServletRequest" (not "Servelt"),...

What exactly is the compiler complaining about?  What's the error it's
producing?

        -- Bill K.

> -Original Message-
> From: Tia Haenni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 11:21 AM
> To: Tomcat Mailing List
> Subject: Help with using getRequestURL()
>
>
> Is anyone familiar with the method getRequestURL() of the
> HttpServeltRequest
> interface? I am trying to use it, but the compiler object to
> the method. By
> the way, this method is previously of
> javax.servlet.http.HttpUtils, which
> has been deprecated. Thanks in advance,
>
> Tia
>




RE: Help with using getRequestURL()

2001-07-11 Thread Tia Haenni

I get this:

test5.java:67: cannot resolve symbol
symbol  : variable HttpUtils
location: class test5
  java.lang.StringBuffer reqUtilURL = HttpUtils.getRequestURL(request);

-Original Message-
From: Li, William [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 6:52 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help with using getRequestURL()


try:
java.lang.StringBuffer reqUtilURL = HttpUtils.getRequestURL(request);
String callingURL = reqUtilURL.toString();

-Original Message-----
From: Tia Haenni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 4:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Help with using getRequestURL()


Ok, so typing is not my string point, I meant HttpServletRequest, there is a
method getRequestURL()-not URI that attempts to reconstruct the entire URL.
The complaint was:

test5.java:66: cannot resolve symbol
symbol  : method getRequestURL  ()
location: interface javax.servlet.http.HttpServletRequest
  String Url = request.getRequestURL();

I have seen this used, but I am not sure why I can't get it to work. As I
mentioned before it is deprecated from HttpUtils. Any insight is much
appreciated. Thanks,

Tia

-Original Message-
From: William Kaufman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 4:22 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help with using getRequestURL()


Assuming you mean the "getRequestURI()" (not "URL") method of
"HttpServletRequest" (not "Servelt"),...

What exactly is the compiler complaining about?  What's the error it's
producing?

        -- Bill K.

> -Original Message-
> From: Tia Haenni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 11:21 AM
> To: Tomcat Mailing List
> Subject: Help with using getRequestURL()
>
>
> Is anyone familiar with the method getRequestURL() of the
> HttpServeltRequest
> interface? I am trying to use it, but the compiler object to
> the method. By
> the way, this method is previously of
> javax.servlet.http.HttpUtils, which
> has been deprecated. Thanks in advance,
>
> Tia
>




RE: Help with using getRequestURL()

2001-07-11 Thread Tia Haenni

That worked, thanks!

-Original Message-
From: Li, William [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 7:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help with using getRequestURL()


precede it w/javax.servlet.http.

-Original Message-----
From: Tia Haenni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 5:38 PM
To: [EMAIL PROTECTED]
Subject: RE: Help with using getRequestURL()


I get this:

test5.java:67: cannot resolve symbol
symbol  : variable HttpUtils
location: class test5
  java.lang.StringBuffer reqUtilURL = HttpUtils.getRequestURL(request);

-Original Message-
From: Li, William [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 6:52 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help with using getRequestURL()


try:
java.lang.StringBuffer reqUtilURL = HttpUtils.getRequestURL(request);
String callingURL = reqUtilURL.toString();

-Original Message-----
From: Tia Haenni [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 4:04 PM
To: [EMAIL PROTECTED]
Subject: RE: Help with using getRequestURL()


Ok, so typing is not my string point, I meant HttpServletRequest, there is a
method getRequestURL()-not URI that attempts to reconstruct the entire URL.
The complaint was:

test5.java:66: cannot resolve symbol
symbol  : method getRequestURL  ()
location: interface javax.servlet.http.HttpServletRequest
  String Url = request.getRequestURL();

I have seen this used, but I am not sure why I can't get it to work. As I
mentioned before it is deprecated from HttpUtils. Any insight is much
appreciated. Thanks,

Tia

-Original Message-
From: William Kaufman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 4:22 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Help with using getRequestURL()


Assuming you mean the "getRequestURI()" (not "URL") method of
"HttpServletRequest" (not "Servelt"),...

What exactly is the compiler complaining about?  What's the error it's
producing?

        -- Bill K.

> -Original Message-
> From: Tia Haenni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 11, 2001 11:21 AM
> To: Tomcat Mailing List
> Subject: Help with using getRequestURL()
>
>
> Is anyone familiar with the method getRequestURL() of the
> HttpServeltRequest
> interface? I am trying to use it, but the compiler object to
> the method. By
> the way, this method is previously of
> javax.servlet.http.HttpUtils, which
> has been deprecated. Thanks in advance,
>
> Tia
>




Upgrading tomcat

2001-07-26 Thread Tia Haenni

Has anyone gone from 3.2.1 up to 3.3? Does it require a complete uninstall
of previous versions? Is it best to go with 3.3 or wait for 4.0? Thanks,

Tia




RE: Upgrading tomcat

2001-07-26 Thread Tia Haenni

Exactly! I know I need to upgrade from 3.2.1. I heard 3.3.2 fixed some
security issues. Just when I got things running smoothly with 3.2.1.here
we go again! Maybe 3.3 or 4.0 will go smoother.

-Original Message-
From: Charles Baker [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 6:38 PM
To: [EMAIL PROTECTED]
Subject: Re: Upgrading tomcat


Another question, do apps developed under the 3.2.x (
jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
the newer servlet/jsp specs?

--- John Hebert <[EMAIL PROTECTED]> wrote:
> Tia Haenni wrote:
>
> > Has anyone gone from 3.2.1 up to 3.3? Does it
> require a complete uninstall
> > of previous versions? Is it best to go with 3.3 or
> wait for 4.0? Thanks,
>
>
> On a Linux box, an uninstall is not needed. I assume
> it is the same on
> an MS-Windows box. The different versions of Tomcat
> are simply installed
> parallel to each other. You do have to shutdown the
> old install, as the
> new install will try to use the same port numbers
> (8007, 8009, 8080, etc).
>
>
> --
> John Alex Hebert
> [EMAIL PROTECTED]
> System Engineer


=
-
[EMAIL PROTECTED]
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/




RE: Upgrading tomcat

2001-07-26 Thread Tia Haenni

Well, then, what am I waiting for? Thanks for the input.

Tia

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 6:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Upgrading tomcat




On Thu, 26 Jul 2001, Charles Baker wrote:

> Another question, do apps developed under the 3.2.x (
> jsp 1.1/servlet 2.2 ) work well with Tomcat 4.0 and
> the newer servlet/jsp specs?
> 

The servlet 2.3 and JSP 1.2 specs *require* backwards compatibility, even
to the point of requiring 2.3/1.2 containers to recognize valid 2.2/1.1
deployment descriptors and tag libraries.  In addition, no
non-backwards-compatible API changes were made.

Therefore, as long as your app does not rely on:

* Non-spec features of Tomcat 3.2 that are different in
  Tomcat 4.0.

* Areas where the 2.2/1.1 specs were silent and the 2.3/1.2
  specs have created some specific behavior that is different
  than what Tomcat 3.2 did.

* Bugs in Tomcat 3.2.

then you should be fine.  In practice, I have found *very* few cases where
I bumped into any of these issues.  Just as one simple example of this,
all of the web applications shipped with Struts
 run just fine under both 3.2 and 4.0.

Craig McClanahan




RE: JDK version

2001-07-27 Thread Tia Haenni

You need the J2EE classes which contain the API for servlets, JSP. See this
page:
http://java.sun.com/j2ee/download.html

Tia

-Original Message-
From: Libo Ren [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 7:19 AM
To: [EMAIL PROTECTED]
Subject: JDK version



hi all:

  I have downloaded the jakarta-tomcat-3.2.3 and installed on my PC with
Windows 2000 OS. It seems running well but I can not get the .jsp
working-all the <% --- %>'s  just show up in the browser. I am using
JDK1.3.1. Is that because JDK1.3.1 does not support servlet? Thanks a lot.

Libo






Help with file exists in same context.

2001-07-28 Thread Tia Haenni

I have a servlet which dispatches to other servlets in the same context
through a RequestDispatcher object. I want to provide some "guard-rails" by
checking if the class file for the receiving servlet exists in the context.
Any direction/advice is much appreciated. TIA

Tia




Help with servlet context

2001-07-31 Thread Tia Haenni

This is a repost. Does anyone know how to do this? There used to be methods
for this in ServletContext (getServlets() and getServletNames()), but they
have been deprecated with no replacements.


I have a servlet which dispatches to other servlets in the same context
through a RequestDispatcher object. I want to provide some "guard-rails" by
checking if the class file for the receiving servlet exists in the context.
Any direction/advice is much appreciated. TIA
Tia