Problem in Production

2002-11-19 Thread Hari Yellina
Hi All,

When we are running tomcat as a sever in production environment. After few
days , The load of server is increasing upto 600%. Did any one face the same
problem. We have check everthing and finally came to conclusion that tomcat
is taking the resources. Can anyone help on this issue.

Regards,

Hari.


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




RE: Java q: round to n decimal points?

2002-11-17 Thread Hari Yellina
in NuberFormat, Please use the fucntion setMaximumDecimalPoints and Miminum
Decimal Points.

-Original Message-
From: Josh G [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 14, 2002 05:54 PM
To: Tomcat Users List
Subject: Java q: round to n decimal points?


Is there a nice easy way to round a double to n decimal points? I couldn't
see anything in Math,Double,String, or NumberFormat...

-Josh
--
And can you tell me doctor why I still can't get to sleep?
And why the channel 7 chopper chills me to my feet?
And what's this rash that comes and goes, can you tell me what it means?
God help me, I was only 19



--
To unsubscribe, e-mail:

For additional commands, e-mail:



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




What is Realm

2002-11-12 Thread Hari Yellina

Hi All,

What is Realm.

>From Hari.
-Original Message-
From: McBrayer, Roy [mailto:Roy.McBrayer@;mail.va.gov]
Sent: Saturday, November 09, 2002 05:44 AM
To: '[EMAIL PROTECTED]'
Subject: Configuring tomcat to use different realms with different
applications


I cannot get TomCat  4.1.12 to use different realms for separate
applications.  I have specified the realm inside an application context in
the server.xml file but the app is still using the default realm.  If I
remove the default realm then nothing works.  With respect to the xml files
given below iiv is the application which I am trying to configure to use a
separate realm from the default.  Any help would be appreciated.

Thanks,
Roy

The web.xml  is


http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>


control
org.dbforms.Controller

maxUploadSize
8



file
org.dbforms.util.FileServlet
3


org.dbforms.ConfigServlet
org.dbforms.ConfigServlet

log4j.configuration
/WEB-INF/log4j.properties

4


control
/servlet/control


file
/servlet/file


25


home.jsp


/WEB-INF/dbforms.tld
/WEB-INF/dbforms.tld



iiv
/*


admin



BASIC
iiv




The server.xml is
















factory

org.apache.catalina.users.MemoryUserDatabaseFactory


pathname
conf/tomcat-users.xml

































user
sa



password




driverClassName

org.hsql.jdbcDriver



driverName

jdbc:HypersonicSQL:database






mail.smtp.host

localhost

















--
To unsubscribe, e-mail:

For additional commands, e-mail:



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




Closing Connections.

2002-03-11 Thread Hari Yellina

Hi All,

 Is it neccesary for us to close the connetions for the database. Is the
java garbage collector gonna do the job for us.

If that is not the case please tell me how to close the connections. We have
a application containing 800 pages . Every page has a connection open . Do
we require to close all the applications.

Regards, Hari Yellina.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: Tomcat using VERY LARGE Memory (URGENT!!!!!!!!!)

2002-03-11 Thread Hari Yellina

Hi Oyundalai,

Those 23M shown in top are the amount of shared memory being used, and is
not the amount being used by each individual process.

Out of interest, because I can't find it in your email, which version of
tomcat are you using?.

And also have you tried jdk1.3, as this is a more proven series of JVM's?

Regards and best wishes,
Justin Clift
http://techdocs.postgresql.org


- Original Message -
From: "Oyundalai.N.S" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 2:50 PM
Subject: Re: Tomcat using VERY LARGE Memory (URGENT!)


> In addtition, after restarting tomcat memory usage of each java processes
> decreases until 23M each
> and grows up slowly.
> Please see output of top that sorted by memory usage. . And after several
> days it reaches up to 60M
> each and crashes. Apache is working normally all time.
>
> 11:47am  up 7 days, 17:15,  2 users,  load average: 0.01, 0.03, 0.08
> 111 processes: 110 sleeping, 1 running, 0 zombie, 0 stopped
> CPU states:  0.0% user,  1.7% system,  0.0% nice, 98.2% idle
> Mem:  1028860K av,  961188K used,   67672K free, 116K shrd,  139632K
> buff
> Swap: 1020116K av,   0K used, 1020116K free  705172K
> cached
>
>   PID USER PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> 18492 root   9   0 26536  25M  9576 S 0.0  2.5   0:03 java
> 18493 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18494 root   9   0 26536  25M  9576 S 0.0  2.5   0:01 java
> 18495 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18496 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18497 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18498 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18499 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18500 root   9   0 26536  25M  9576 S 0.0  2.5   0:01 java
> 18503 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18504 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18507 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18508 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18509 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18510 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18511 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18512 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18513 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18514 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18515 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18516 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18517 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18518 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18519 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18520 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18529 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18535 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18538 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18539 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18544 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18545 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18546 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18556 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18557 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18558 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18600 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18602 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18605 root   9   0 26536  25M  9576 S 0.0  2.5   0:00 java
> 18526 nobody 9   0  4968 4968  4608 S 0.0  0.4   0:00 httpd
> 18532 nobody 9   0  4780 4780  4368 S 0.0  0.4   0:00 httpd
> 18531 nobody 9   0  4768 4768  4396 S 0.0  0.4   0:00 httpd
> 18525 nobody 9   0  4752 4752  4392 S 0.0  0.4   0:00 httpd
> 18530 nobody 9   0  4480 4480  4260 S 0.0  0.4   0:00 httpd
> 18524 nobody 9   0  4476 4476  4256 S 0.0  0.4   0:00 httpd
> 18522 nobody 9   0  4472 4472  4256 S 0.0  0.4   0:00 httpd
> 18523 nobody 9   0  4472 4472  4256 S 0.0  0.4   0:00 httpd
> 18528 nobody 9   0  4472 4472  4260 S 0.0  0.4   0:00 httpd
> 18540 nobody 9   0  4468 4468  4260 S 0.0  0.4   0:00 httpd
>
>
> After crashing tomcat I see on the browser "Internal server error" and log
> file  is fulled by following messages
>
> ...
> [Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (712)]: Error reading reply
> [Sat Mar 09 22:51:13 2002]  [jk_ajp13_worker.c (228)]:
> connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
> [Sat Mar 09 22

how to explixitly close database connections.

2002-03-11 Thread Hari Yellina

Hi All,

 We are using Tomcat 3.2.4 and Postgresql for Point of Sale application.
After few days of working like 7 days. There are few idle postgesql database
connections running in back ground and my application freezes once it
reaches maximum limit of connection.

How to explicitly kill the connections.

Regards,

Hari Yellina.


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>




Re: URGENT! Must form-based login run inside TOMCAT_HOME/webapps?

2001-05-15 Thread Hari Yellina

u r jsp file have to work from webapps/  directory. Beans and servlets from
WEB-INF.
- Original Message -
From: "Oki DZ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 6:37 PM
Subject: Re: URGENT! Must form-based login run inside TOMCAT_HOME/webapps?


> Mascha Kluge wrote:
> >
> > Hi all there,
> >
> > I asked the same a few days ago, but it is very URGENT so I ask again.
> >
> > I'm doing form-based login with Tomcat 3.2.1;
> > must my application run in the folder TOMCAT_HOME/webapps?
> > When it doesn't I get the error "j_security_check not found".
>
> You can try these links:
> http://e-docs.bea.com/wls/docs60/programming/web_xml.html#1019996
>
http://e-docs.bea.com/wls/docs60/adminguide/config_web_app.html#webapp-auth
>
> It might be that your forms don't have j_security_check variables.
>
> Oki




Re: Tomcat new Install/Startup/Shutdown

2001-05-15 Thread Hari Yellina

set JAVA_HOME  and TOMCAT_HOME in tomcat.bat for tomcat.


- Original Message -
From: "Sachin Phatak" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 4:11 PM
Subject: Re: Tomcat new Install/Startup/Shutdown


> Just a couple of point I thought would be usefull:
> In win2K the JAVA_HOME & other properties should be set using environment
> variables. (Right click on My compure = > go to advanced Tab. => seond
> button i think)
>
> In any windows env. run any .bat  from the command prompt, rather than a
> double-click, that way the window remanins open till you type "exit" at
the
> command prompt.
>
> /? at the end of a script will normally yield help. Run toomcat.bat this
way
>
> thanks
> sachin
>
> - Original Message -
> From: Oki DZ <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 15, 2001 8:38 AM
> Subject: Re: Tomcat new Install/Startup/Shutdown
>
>
> > neyyadupakkam sundarasekaran wrote:
> > >
> > > I downloaded jakarta-tomcat-3.2.1.zip and unziped it to my C:
> drive.
> > > I set TOMCAT_HOME, JAVA_HOME, PATH in autoexec.bat file. I re-booted
the
> > > PC/windows 2000
> >
> > I think unzipping the .zip file wouldn't do anything with Windows
> > registry; rebooting the system is an overkill.
> >
> > >and tried to run bin\startup.bat. It opens a new window and
> > > closes immediately without any error messages. But, when I tried to
run
> > > bin\shutdown.bat, it throws classNotFound exection in main thread.
> >
> > Try to run catalina.bat.
> > catalina run
> > This will have the DOS window staying up, so you will be able to shut
> > Tomcat down using ctrl-c.
> >
> > > Could you please tell me if my installtion is right and what
is
> the
> > > problem I getting with shutdown? Also, when I run startup repeatedly,
I
> used
> > > to get a message saying "Tomcat is already running".
> >
> > Installing Tomcat would need extracting the .zip file and run one of the
> > startup scripts; that's it. Basically, it runs perfectly out of the box
> > (well, you'd need JAVA_HOME set up, I guess).
> >
> > >But, now I am not
> > > getting any message.
> >
> > What messages are you expecting?
> >
> > Oki
> >
>




Re: simply this...

2001-05-15 Thread Hari Yellina

/mystuff1 rather giving in this manner , please give just / it works.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, May 15, 2001 2:58 PM
Subject: simply this...


> In a message dated Tue, 15 May 2001 12:53:16 AM Eastern Daylight Time,
Seasundown writes:
>
> << TIA...
>
> Start with a pristene standalone Tomcat install.
>
> I simply wish to create a directory which would
> recognize servlets & jsp files.  A directory in addition to the current
"examples" location.
>
> I've edited server.xml to provide 2 more "contexts":
>
> -
> docBase="webapps/examples"
>   crossContext="false"
>   debug="0"
>   reloadable="true" >
>   
>
>docBase="webapps/mystuff1"
>   debug="0"
>   reloadable="true" >
>   
>
> docBase="webapps/mystuff2"
>debug="0"
>reloadable="true" >
>   
>
> -
>
> Is there ANYTHING else to configure (other
> than placing a servlet and a jsp in this
> directory before being able to connect with:
>
> localhost:8080/mystuff1/mynewservlet
> &
> localhost:8080/mystuff2/mynewjsp.jsp
>
> in order to have servlet & jsp working?
>
>
>  >>
>
>




Re: encodeRedirectURL(url)) doesn't work

2001-05-14 Thread Hari Yellina

use java.net.encodeURL it works.
- Original Message - 
From: "Stephen Oakes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 14, 2001 3:16 PM
Subject: RE: encodeRedirectURL(url)) doesn't work


> 
> > I am using 
> > "response.sendRedirect(response.encodeRedirectURL(url))" in JSP.
> > It doesn't work. Any idea?
> 
> Are you sure it doesn't work?  What do you think it is supposed to do?
> Perhaps you should look at the URLEncoder class.
> 
> --
> Stephen Oakes





Re: Problem in refresh the new jsp file

2001-05-09 Thread Hari Yellina

frank I have sent the code. 

You are sending the same question so many times.
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");

Regards'\

Hari Yellina.
- Original Message - 
From: "Franky Tong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 6:41 PM
Subject: Problem in refresh the new jsp file


> Hi all,
> 
> I have a problem that I get an outdated JSP page even if I have updated
> the JSP file in the server. It shows me the old content in the browser
> even I have refreshed the page.
> 
> Is there something that I need to set about the caching?
> 
> Thanks!
> 
> 




Re: Problem in refresh the new jsp file

2001-05-09 Thread Hari Yellina

Hi frank,

please use
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");

Thanks

Regards, 
Hari Yellina.
- Original Message - 
From: "Franky Tong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 7:36 PM
Subject: Re: Problem in refresh the new jsp file


> It is not a browser-cache problem because I have run the jsp file in
> several machines.
> 
> What is tomcat-not-recompiling-source problem?
> 
> "Samson, Lyndon [IT]" wrote:
> 
> > You need to find out if its a browser-cache problem, or a
> > tomcat-not-recompiling-source problem.
> >
> > -Original Message-
> > From: Franky Tong [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 09, 2001 9:42 AM
> > To: [EMAIL PROTECTED]
> > Subject: Problem in refresh the new jsp file
> >
> > Hi all,
> >
> > I have a problem that I get an outdated JSP page even if I have updated
> > the JSP file in the server. It shows me the old content in the browser
> > even I have refreshed the page.
> >
> > Is there something that I need to set about the caching?
> >
> > Thanks!
> 
> --
> Data Center,
> Global Infrastructure Solution Team (GIS)
> 
> Direct Phone  : 2666 8364
> Pager   : 7203 2006
> Mobile  : 9373 0760
> 
> 




Re: Problem in refresh the new jsp file

2001-05-09 Thread Hari Yellina

Hi All,

 As Mascha was telling you guys. Please add

response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");

begining of your jsp page. I mean after page tag. This is really efecctive
solution. It has worked for me on IE 5 as well Netscape 4.3 4.7

Thanks for Mascha

Regards

Hari Yellina.
- Original Message -
From: "Mascha Kluge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 09, 2001 7:01 PM
Subject: AW: Problem in refresh the new jsp file


>
> Hi,
>
> write this in your .jsp:
>
> response.setHeader("Cache-Control", "no-cache");
> response.setHeader("Pragma", "no-cache");
>
> This will avoid that the jsp-page is cached.
>
> Regards,
> Mascha
>
> 
>
> Mascha-Kathinka Kluge
> ByteCom GmbH
> Martin-Luther-Str. 5a
> 97072 Wurzburg
>
> Tel: +49 (931) 35 45 8-44
> Fax: +49 (931) 35 45 8-19
>
> http://www.bytecom.net
> mailto:[EMAIL PROTECTED]
>
>
>
> > -Ursprungliche Nachricht-
> > Von: Franky Tong [mailto:[EMAIL PROTECTED]]
> > Gesendet: Mittwoch, 9. Mai 2001 10:42
> > An: [EMAIL PROTECTED]
> > Betreff: Problem in refresh the new jsp file
> >
> >
> > Hi all,
> >
> > I have a problem that I get an outdated JSP page even if I
> > have updated
> > the JSP file in the server. It shows me the old content in the browser
> > even I have refreshed the page.
> >
> > Is there something that I need to set about the caching?
> >
> > Thanks!
> >
> >
>
>




Re: JSP Tomcat

2001-05-08 Thread Hari Yellina

it is not the problem of the Tomcat. It is u r browser cache is doing that.
Please put 0 for cahe. it is going to help you man.
Regards.
Hari Yellina.
- Original Message -
From: Falk <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 08, 2001 9:34 PM
Subject: JSP Tomcat


> hello,
> i use a javabean within a jsp page on a tomcat3.2.1 server.
>
>  scope="request" >
>
> the bean retrieves data from a database. all fine so far.
> but tomcat caches the files so when i update the database and reload the
jsp
> page  in the browser I receive old data.
> I have to restart tomcat in order to get the correct data.
> Also when I open another browser the data is correct.
> And I get "OutputStream already in use" Exception.
> anybody knows how to configure tomcat to get the correct data without
having
> to restart ??
>
> thanks a lot
> falk
>




Re: NT Service question

2001-05-07 Thread Hari Yellina

please set it in tomcat.bat
- Original Message -
From: Stefan Henke <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 6:29 PM
Subject: NT Service question


> Hi,
>
> I set up Tomcat to work as NT service and it works fine.
> Now I want to install Tomcat on several other computers. As Tomcat is
> installed in different paths on the different computers, I have to change
> the wrapper.properties (JAVA_HOME and TOMCAT_HOME) manually.
>
> My question is:
> Can I tell Tomcat to take the environment settings of TOMCAT_HOME and
> JAVA_HOME in wrapper.properties. This variables are already set for TOMCAT
> in normal mode.
> This could help me a lot.
>
> Thanks for any help
>
> Stefan
>




Re: installing tomcat 3.2 on windows 98

2001-05-04 Thread Hari Yellina

It has worked.  Thank you very much.

I have one more question
what is the difference between
shell=c:\command.com /p /e:32000

and

c:\command.com  /e:4096 /p
- Original Message -
From: Noel E. Lecaros <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 05, 2001 12:56 PM
Subject: Re: installing tomcat 3.2 on windows 98


> Hi, Hari
>
> Increase your environment setting.  Put this in your c:\config.sys, if it
isn't
> there already:
>
> shell=c:\command.com /p /e:32000
>
> Hope this helps.
>
> Regards,
> Noel Lecaros
>
> Hari Yellina wrote:
>
> > Hi Aruand,
> >
> >  It is really helpful to me. I wil do the same. But I am alwyas facign a
> > problem while I try to start my machine , that is
> >
> > out of environment space error.
> >
> > What is it exactly.
> >
> > Thanks in advance
> >
> > Regards,
> > Yellina.,
> > - Original Message -
> > From: Arnaud Dostes - NTI <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, May 05, 2001 12:12 AM
> > Subject: Re: installing tomcat 3.2 on windows 98
> >
> > > I'll be verbose :
> > >
> > > unzip to c:\tomcat
> > > set the following environment variables (either modify your
autoexec.bat
> > and
> > > reboot or type them using 'set' in the same dos prompt used to run
tomcat)
> > > CLASSPATH=.
> > > JAVA_HOME=c:\jdk1.3 (or wherever)
> > > TOMCAT_HOME=c:\tomcat
> > >
> > > Copy any jar files you need to c:\tomcat\lib (it will be picked up on
> > > startup)
> > >
> > > run from a DOS window c:\tomcat\bin\startup
> > >
> > > open a browser to http://localhost:8080
> > >
> > > That should do it
> > >
> > > - Original Message -
> > > From: "Hari Yellina" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, May 04, 2001 3:28 PM
> > > Subject: Re: installing tomcat 3.2 on windows 98
> > >
> > >
> > > > Hi Dave,
> > > >
> > > >  Where can I find the documentation for installing tomcat on 98.
Please
> > > help
> > > > me.
> > > >
> > > > Regards, Yellina.
> > > > - Original Message -
> > > > From: <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Friday, May 04, 2001 10:52 PM
> > > > Subject: RE: installing tomcat 3.2 on windows 98
> > > >
> > > >
> > > > > Oh Yes You Can !
> > > > >
> > > > > > -Original Message-
> > > > > > From: Hari Yellina [SMTP:[EMAIL PROTECTED]]
> > > > > > Sent: 04 May 2001 13:46
> > > > > > To: tomcat-user
> > > > > > Subject: Re: installing tomcat 3.2 on windows 98
> > > > > >
> > > > > > u cannot, try on NT
> > > > > > - Original Message -
> > > > > > From: Peter Choe <[EMAIL PROTECTED]>
> > > > > > To: <[EMAIL PROTECTED]>
> > > > > > Sent: Friday, May 04, 2001 10:19 PM
> > > > > > Subject: installing tomcat 3.2 on windows 98
> > > > > >
> > > > > >
> > > > > > > is it possible to have tomcat run on windows 98?
> > > > > > >
> > > > > > > i downloaded the binaries for tomcat 3.2 for windows and tried
to
> > > run
> > > > > > > the tomcat.bat file.  but i get an exception saying that
> > > > > > > org.tomcat.startup.Tomcat can't be found.
> > > > > > >
> > > > > > > i have the autoexec.bat file with the following:
> > > > > > >
> > > > > > > TOMCAT_HOME=c:\tomcat
> > > > > > >
> > > CLASSPATH=c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;...etc
> > > > > > > for each jar file in tomcat\lib
> > > > > > >
> > > > > > > apparantly the tomcat.bat file is setting the proper
classpath.
> > any
> > > > > > > suggestions?
> > > > > > >
> > > > > > > peter choe
> > >
>




problem in Tomcat+win 98

2001-05-04 Thread Hari Yellina



Hi all, 
 
 I have installed tomcat and it was up and 
running on win 98 till last night, But when I restarted the system it is just 
closing the world without any error. i am unable to find out the error. Can 
anyone help me regarding this matter.
 
Regards,
Yellina.


Re: installing tomcat 3.2 on windows 98

2001-05-04 Thread Hari Yellina

Hi Aruand,

 It is really helpful to me. I wil do the same. But I am alwyas facign a
problem while I try to start my machine , that is

out of environment space error.

What is it exactly.

Thanks in advance

Regards,
Yellina.,
- Original Message -
From: Arnaud Dostes - NTI <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 05, 2001 12:12 AM
Subject: Re: installing tomcat 3.2 on windows 98


> I'll be verbose :
>
> unzip to c:\tomcat
> set the following environment variables (either modify your autoexec.bat
and
> reboot or type them using 'set' in the same dos prompt used to run tomcat)
> CLASSPATH=.
> JAVA_HOME=c:\jdk1.3 (or wherever)
> TOMCAT_HOME=c:\tomcat
>
> Copy any jar files you need to c:\tomcat\lib (it will be picked up on
> startup)
>
> run from a DOS window c:\tomcat\bin\startup
>
> open a browser to http://localhost:8080
>
> That should do it
>
> - Original Message -
> From: "Hari Yellina" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 04, 2001 3:28 PM
> Subject: Re: installing tomcat 3.2 on windows 98
>
>
> > Hi Dave,
> >
> >  Where can I find the documentation for installing tomcat on 98. Please
> help
> > me.
> >
> > Regards, Yellina.
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, May 04, 2001 10:52 PM
> > Subject: RE: installing tomcat 3.2 on windows 98
> >
> >
> > > Oh Yes You Can !
> > >
> > > > -Original Message-
> > > > From: Hari Yellina [SMTP:[EMAIL PROTECTED]]
> > > > Sent: 04 May 2001 13:46
> > > > To: tomcat-user
> > > > Subject: Re: installing tomcat 3.2 on windows 98
> > > >
> > > > u cannot, try on NT
> > > > - Original Message -
> > > > From: Peter Choe <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Friday, May 04, 2001 10:19 PM
> > > > Subject: installing tomcat 3.2 on windows 98
> > > >
> > > >
> > > > > is it possible to have tomcat run on windows 98?
> > > > >
> > > > > i downloaded the binaries for tomcat 3.2 for windows and tried to
> run
> > > > > the tomcat.bat file.  but i get an exception saying that
> > > > > org.tomcat.startup.Tomcat can't be found.
> > > > >
> > > > > i have the autoexec.bat file with the following:
> > > > >
> > > > > TOMCAT_HOME=c:\tomcat
> > > > >
> CLASSPATH=c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;...etc
> > > > > for each jar file in tomcat\lib
> > > > >
> > > > > apparantly the tomcat.bat file is setting the proper classpath.
any
> > > > > suggestions?
> > > > >
> > > > > peter choe
>




Re: Tomcat on 98

2001-05-04 Thread Hari Yellina

Hi dave,

 When ever I start tomcat , there is alwyas a problem to start. i have to
enter command.com prompt to free the memory in the startup of tomcat. Why
this is required.

Regards.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, May 05, 2001 12:02 AM
Subject: RE: Tomcat on 98


> Yes
>
> > -Original Message-
> > From: Hari Yellina [SMTP:[EMAIL PROTECTED]]
> > Sent: 04 May 2001 14:21
> > To: tomcat-user
> > Subject: Tomcat on 98
> >
> > Did any one worked on 98 using Tomcat. If yes please mail me.




what is mod_jk and apj13

2001-05-04 Thread Hari Yellina



Hi all,
 
What is mod_jk and apj13.
 
Thaks for you time.
 
Regards Yellina.


Re: installing tomcat 3.2 on windows 98

2001-05-04 Thread Hari Yellina

Sorry Peter, Your command has worked fine. Thanks for u r suggestion.
- Original Message -
From: Hari Yellina <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 11:28 PM
Subject: Re: installing tomcat 3.2 on windows 98


> Hi Peter .
>  I ran u r command in autoexec and from that time. Everything is going
> wrong.
>
>  There is a error message saying. memory insufficent.
> - Original Message -
> From: Dick Poon <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 04, 2001 11:01 PM
> Subject: Re: installing tomcat 3.2 on windows 98
>
>
> > Hi Peter,
> >
> > I ran tomcat3.2.1 on Win98 and it ran pretty good. Always start tomcat
> with
> > the "startup" command.
> > Actually,you need to set the classpath to point to the tomcat/lib ,the
> > jdk1.3 directory and the jdbc driver directroy.
> > One more importanat reminder:,you have to type the following command in
> > order to have enough memory for tomcat:
> >
> > COMMAND.COM /E:4096 /P
> >
> > 4096=4MB,of course ,you can set it to any value provided that you
machine
> > have such amount of memory:-)
> >
> > Hope this help!
> >
> > Dick Poon
> >
> > - Original Message -
> > From: Peter Choe <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, May 04, 2001 8:19 PM
> > Subject: installing tomcat 3.2 on windows 98
> >
> >
> > > is it possible to have tomcat run on windows 98?
> > >
> > > i downloaded the binaries for tomcat 3.2 for windows and tried to run
> > > the tomcat.bat file.  but i get an exception saying that
> > > org.tomcat.startup.Tomcat can't be found.
> > >
> > > i have the autoexec.bat file with the following:
> > >
> > > TOMCAT_HOME=c:\tomcat
> > > CLASSPATH=c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;...etc
> > > for each jar file in tomcat\lib
> > >
> > > apparantly the tomcat.bat file is setting the proper classpath.  any
> > > suggestions?
> > >
> > > peter choe
> > >
> >
>




Re: server.xml / dtd

2001-05-04 Thread Hari Yellina

why do you require DTD. To check whether it is a validate documet. it is ,u
dont have to worry much. One more thing it. If it is a XML file. You dont
neccesarily require a DTD.

Regard,
Yellina
- Original Message -
From: Gerteis, Roman <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 11:10 PM
Subject: AW: server.xml / dtd


Nope,

in the /conf folder, this is the web.dtd for validating web.xml
configuration files.
TomCat is not coming with a server.dtd, at least slocate was not finding
anything ;)

I'm searching for the server.dtd as well. It's not specified in the Java
Servlet Standard. So it must be something Tomcat specific.

regards...
..roman.



-Ursprüngliche Nachricht-
Von: Hari Yellina [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 4. Mai 2001 14:43
An: [EMAIL PROTECTED]
Betreff: Re: server.xml / dtd


it can be found in cofig directory of u r tomcat
- Original Message -
From: Nathan Coast <[EMAIL PROTECTED]>
To: tomcat user <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 9:39 PM
Subject: server.xml / dtd


> Hi,
>
> where can I find the dtd of server.xml? - is there such a thing?
> Is the dtd the best place to find docs on server.xml or is there a
complete
> configuration doc elsewhere?
>
> Thanks
> Nathan
>




Re: installing tomcat 3.2 on windows 98

2001-05-04 Thread Hari Yellina

go and Unsubscribe in www.apache.org and see to that u never ever come back.

Good Bye

Yellina.
- Original Message -
From: Johnathan Smith <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 11:02 PM
Subject: Re: installing tomcat 3.2 on windows 98


> can someone please get me off this list. I been trying
> for months
>
>
> --- Dick Poon <[EMAIL PROTECTED]> wrote:
> > Hi Peter,
> >
> > I ran tomcat3.2.1 on Win98 and it ran pretty good.
> > Always start tomcat with
> > the "startup" command.
> > Actually,you need to set the classpath to point to
> > the tomcat/lib ,the
> > jdk1.3 directory and the jdbc driver directroy.
> > One more importanat reminder:,you have to type the
> > following command in
> > order to have enough memory for tomcat:
> >
> > COMMAND.COM /E:4096 /P
> >
> > 4096=4MB,of course ,you can set it to any value
> > provided that you machine
> > have such amount of memory:-)
> >
> > Hope this help!
> >
> > Dick Poon
> >
> > - Original Message -
> > From: Peter Choe <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, May 04, 2001 8:19 PM
> > Subject: installing tomcat 3.2 on windows 98
> >
> >
> > > is it possible to have tomcat run on windows 98?
> > >
> > > i downloaded the binaries for tomcat 3.2 for
> > windows and tried to run
> > > the tomcat.bat file.  but i get an exception
> > saying that
> > > org.tomcat.startup.Tomcat can't be found.
> > >
> > > i have the autoexec.bat file with the following:
> > >
> > > TOMCAT_HOME=c:\tomcat
> > >
> >
> CLASSPATH=c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;...etc
> > > for each jar file in tomcat\lib
> > >
> > > apparantly the tomcat.bat file is setting the
> > proper classpath.  any
> > > suggestions?
> > >
> > > peter choe
> > >
> >
>
>
> =
> If your into Body For Life, check out
> http://clubs.yahoo.com/clubs/bodyforlifestatenislandny
>
> __
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/




Re: installing tomcat 3.2 on windows 98

2001-05-04 Thread Hari Yellina

Hi Dave,

 Where can I find the documentation for installing tomcat on 98. Please help
me.

Regards, Yellina.
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 10:52 PM
Subject: RE: installing tomcat 3.2 on windows 98


> Oh Yes You Can !
>
> > -Original Message-
> > From: Hari Yellina [SMTP:[EMAIL PROTECTED]]
> > Sent: 04 May 2001 13:46
> > To: tomcat-user
> > Subject: Re: installing tomcat 3.2 on windows 98
> >
> > u cannot, try on NT
> > - Original Message -
> > From: Peter Choe <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, May 04, 2001 10:19 PM
> > Subject: installing tomcat 3.2 on windows 98
> >
> >
> > > is it possible to have tomcat run on windows 98?
> > >
> > > i downloaded the binaries for tomcat 3.2 for windows and tried to run
> > > the tomcat.bat file.  but i get an exception saying that
> > > org.tomcat.startup.Tomcat can't be found.
> > >
> > > i have the autoexec.bat file with the following:
> > >
> > > TOMCAT_HOME=c:\tomcat
> > > CLASSPATH=c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;...etc
> > > for each jar file in tomcat\lib
> > >
> > > apparantly the tomcat.bat file is setting the proper classpath.  any
> > > suggestions?
> > >
> > > peter choe




Re: installing tomcat 3.2 on windows 98

2001-05-04 Thread Hari Yellina

Hi Peter .
 I ran u r command in autoexec and from that time. Everything is going
wrong.

 There is a error message saying. memory insufficent.
- Original Message -
From: Dick Poon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 11:01 PM
Subject: Re: installing tomcat 3.2 on windows 98


> Hi Peter,
>
> I ran tomcat3.2.1 on Win98 and it ran pretty good. Always start tomcat
with
> the "startup" command.
> Actually,you need to set the classpath to point to the tomcat/lib ,the
> jdk1.3 directory and the jdbc driver directroy.
> One more importanat reminder:,you have to type the following command in
> order to have enough memory for tomcat:
>
> COMMAND.COM /E:4096 /P
>
> 4096=4MB,of course ,you can set it to any value provided that you machine
> have such amount of memory:-)
>
> Hope this help!
>
> Dick Poon
>
> - Original Message -
> From: Peter Choe <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 04, 2001 8:19 PM
> Subject: installing tomcat 3.2 on windows 98
>
>
> > is it possible to have tomcat run on windows 98?
> >
> > i downloaded the binaries for tomcat 3.2 for windows and tried to run
> > the tomcat.bat file.  but i get an exception saying that
> > org.tomcat.startup.Tomcat can't be found.
> >
> > i have the autoexec.bat file with the following:
> >
> > TOMCAT_HOME=c:\tomcat
> > CLASSPATH=c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;...etc
> > for each jar file in tomcat\lib
> >
> > apparantly the tomcat.bat file is setting the proper classpath.  any
> > suggestions?
> >
> > peter choe
> >
>




Tomcat on 98

2001-05-04 Thread Hari Yellina



Did any one worked on 98 using Tomcat. If yes 
please mail me.


Re: Where do Servlets go?

2001-05-04 Thread Hari Yellina

Servlets are supposed to be placed in WEB-INF/classes

jsp are supossed in webapps.

Thats it Enjoy.
- Original Message -
From: Purcell, Scott <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 10:38 PM
Subject: Where do Servlets go?


> Hello,
> I have the book, Java Server Pages from Duane K Fields and Kolb, and I am
> running the tomcat server. I just used the default install. Anyway, I want
> to try an example from the book, but do not know where to put the Servlet
so
> my .jsp page can find it.
>
> I was hoping someone could explain to me, where these two files should go.
> If they go in the same dir somewhere, or in different dirs.?
>
> Also, if there is anything else I should know, please advise.
>
>
> Thanks have a nice Friday,
>
> Scott Purcell
>
>
>
> Scott Purcell
>




Re: installing tomcat 3.2 on windows 98

2001-05-04 Thread Hari Yellina

Wouter,

 I dont think Tomcat will work on win 98. It is not just Java. It is a
server , which works on Linux/ win NT / 2000.
 Please verify again.

Bye
Yellina.
- Original Message -
From: Wouter Boers <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 10:44 PM
Subject: RE: installing tomcat 3.2 on windows 98


> Yes it works fine, It's just java so why not...
>
> Use the startup.bat in the tomcat/bin directory. It will set all the
> appropiate enviroment variables correcly. Edit it, if needed and tomcat
does
> not start correcly. I would first start it from the command prompt and
test
> it before putting it into your autoexec.bat
>
> Wouter
>
> -Original Message-
> From: Peter Choe [mailto:[EMAIL PROTECTED]]
> Sent: 04 May 2001 14:20
> To: [EMAIL PROTECTED]
> Subject: installing tomcat 3.2 on windows 98
>
>
> is it possible to have tomcat run on windows 98?
>
> i downloaded the binaries for tomcat 3.2 for windows and tried to run
> the tomcat.bat file.  but i get an exception saying that
> org.tomcat.startup.Tomcat can't be found.
>
> i have the autoexec.bat file with the following:
>
> TOMCAT_HOME=c:\tomcat
> CLASSPATH=c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;...etc
> for each jar file in tomcat\lib
>
> apparantly the tomcat.bat file is setting the proper classpath.  any
> suggestions?
>
> peter choe
>




Re: installing tomcat 3.2 on windows 98

2001-05-04 Thread Hari Yellina

u cannot, try on NT
- Original Message - 
From: Peter Choe <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 10:19 PM
Subject: installing tomcat 3.2 on windows 98


> is it possible to have tomcat run on windows 98?
> 
> i downloaded the binaries for tomcat 3.2 for windows and tried to run
> the tomcat.bat file.  but i get an exception saying that
> org.tomcat.startup.Tomcat can't be found.
> 
> i have the autoexec.bat file with the following:
> 
> TOMCAT_HOME=c:\tomcat
> CLASSPATH=c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;...etc
> for each jar file in tomcat\lib
> 
> apparantly the tomcat.bat file is setting the proper classpath.  any
> suggestions?
> 
> peter choe




Re: installing tomcat 3.2 on windows 98

2001-05-04 Thread Hari Yellina

will tomcat work on 98.  I am not able to that. I think , you have to ask
questoin, whether tomcat works on 98
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 10:25 PM
Subject: RE: installing tomcat 3.2 on windows 98


> I run tomcat on my Windows 98 pc at home.
>
> In autoexec.bat I also have
>
> JAVA_HOME=C:\Java
>
> and the Classpath should also contain tools.jar from Java (lib or bin).
>
> David
>
> > -Original Message-
> > From: Peter Choe [SMTP:[EMAIL PROTECTED]]
> > Sent: 04 May 2001 13:20
> > To: [EMAIL PROTECTED]
> > Subject: installing tomcat 3.2 on windows 98
> >
> > is it possible to have tomcat run on windows 98?
> >
> > i downloaded the binaries for tomcat 3.2 for windows and tried to run
> > the tomcat.bat file.  but i get an exception saying that
> > org.tomcat.startup.Tomcat can't be found.
> >
> > i have the autoexec.bat file with the following:
> >
> > TOMCAT_HOME=c:\tomcat
> > CLASSPATH=c:\tomcat\lib\servlet.jar;c:\tomcat\lib\webserver.jar;...etc
> > for each jar file in tomcat\lib
> >
> > apparantly the tomcat.bat file is setting the proper classpath.  any
> > suggestions?
> >
> > peter choe




Re: server.xml / dtd

2001-05-04 Thread Hari Yellina

it can be found in cofig directory of u r tomcat
- Original Message -
From: Nathan Coast <[EMAIL PROTECTED]>
To: tomcat user <[EMAIL PROTECTED]>
Sent: Friday, May 04, 2001 9:39 PM
Subject: server.xml / dtd


> Hi,
>
> where can I find the dtd of server.xml? - is there such a thing?
> Is the dtd the best place to find docs on server.xml or is there a
complete
> configuration doc elsewhere?
>
> Thanks
> Nathan
>




Re: /servlet/ mapping

2001-05-03 Thread Hari Yellina

you have to change the settings in server.xml file. Thats is everything is
going to be fine.
- Original Message -
From: Patrick Medhurst <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 8:40 PM
Subject: /servlet/ mapping



I am new to Tomcat, so please be gentle.

To access a servlet, the default is to use:
http://myhost.com:8080/bob/servlet/bob

How can I change the "mapping" to use the following instead:
http://myhost.com:8080/servlet/bob







Re: regarding installation

2001-05-03 Thread Hari Yellina

You can do that, First thinng is unzip in hard drive and rewrite whole
contents on the compact disk. You r compact Dick is nothing but a different
hard drive.
- Original Message -
From: menon narayan prasad <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 7:33 PM
Subject: regarding installation


> dear sir/madam,
> i had a question regarding installation of Jakarta TomCat
> can we intall Jakarta TomCat on Compact Disk.Please mail me the answer to
the above question.
>  hope u will do the needful.
>
> _
> Chat with your friends as soon as they come online. Get Rediff Bol at
> http://bol.rediff.com
>
>
>
>




Can I run EJBs

2001-05-02 Thread Hari Yellina



Hi all,. 
 
 Can I run EJBs in the tomcat. Please help 
me.
 
Regards,
Yellina


server speed

2001-05-02 Thread Hari Yellina




Hi All. 
 
 I am running a project in JSP using tomcat. 
It is very slow. Can any one help me , How to make my server speed. Is any 
configuration , I have to set, 
 
Thanking you all,
 
Regards,
Yellina.


Re: Tomcat 4-beta 3: ready for prime time?

2001-05-02 Thread Hari Yellina

I am using 3.3 milestone. It is really ood. Please use it. Beta version are
not good for using.
- Original Message -
From: Peter Mutsaers <[EMAIL PROTECTED]>
To: tomcat-user <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 5:57 PM
Subject: Tomcat 4-beta 3: ready for prime time?



Hello,

A week ago I decided to switch from JRUN to Tomcat for my JSP/Servlet
environment. Naturally I started with the officially released version (3.2).

But, especially in the JSP department I found some bugs and inconveniences,
that have been fixed in later releases (3.3-milestone-x, and also 4.0).

Now I wonder, which version should I use in production? It is a stand-alone
Tomcat site for Intranet, so issues with the connectors to other webservers
are not important.
The site is low-volume (1 request per 10 seconds at prime time) but very
important, thus reliability/stability is vital.

Obviously, although 3.2 is the official release, by browsing through the CVS
logs it looks like the unreleased newer versions are of higher quality.

3.3-milestone-2 doesn't seem to have much advantage compared to version
4.0-beta3, since 4.0 seems closer to a real release (it has gone through 5
milestones already, and now seems very close to the final release after some
betas with relatively minor
changes and fixes).

What do you advice?

Peter Mutsaers


=




Re: Help getting beans working

2001-05-02 Thread Hari Yellina

please set the classpath right. Classes path should be set in the classpath
- Original Message -
From: Uronis, Jeremy <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 4:26 AM
Subject: RE: Help getting beans working


> Thanks for the reply Matt.
> I placed my bean in "c:\tomcat\webapps\examples\WEB-INF\classes"
> and the error i get is:
>
> Error: 500
> Location: /examples/jsp/test/bean1.jsp
> Internal Servlet Error:
>
> org.apache.jasper.JasperException: Unable to load class rayexamples.bean1
> at
>
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:18
> 3)
> at
>
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerato
> r.java:99)
> at
>
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(J
> spParseEventListener.java:773)
> at
>
org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventLi
> stener.java:220)
> at
>
org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseE
> ventListener.java:175)
> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:183)
> at
> org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
> at
> org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
> at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
> rvlet.java:152)
> at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:164)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> at org.apache.tomcat.core.Handler.service(Handler.java:286)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
> (Ajp12ConnectionHandler.java:166)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> at java.lang.Thread.run(Thread.java:484)
>
>
> Thanks - jeremy
>
>
>
> -Original Message-
> From: Matt Goss [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 2:20 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Help getting beans working
>
>
> Try putting your beans in WEB-INF/classes folder instead. :)
> Matt
>
> "Uronis, Jeremy" wrote:
> >
> > hiya-
> >
> > i have a simple jsp which includes a bean. the file "bean1.jsp" is
> > located in "C:\tomcat\webapps\examples\jsp\test\bean1.jsp"
> > i did this following the faq on beans and jsp's.
> >
> >"To use the default, put all your JSP source under /examples/jsp,
> either
> >in the same directory or under a new subdirectory of /examples/jsp
(as
> >done in the included examples)."
> >
> > here is my jsp
> >
> > 
> >  
> >  
> >  
> >  STEP-1 Use the bean's default property "World"
> >  Hello there, <%= myBean.getName() %>
> >  Hi there, 
> >  Howdy, <%= myBean.makeMeBig() %>
> >  STEP-2 Set the name property to "Sam", using jsp:setProperty
> > value="Sam"
> >  
> >  STEP-3 Use the bean's new property "Sam"
> >  Hello there, <%= myBean.getName() %>
> >  Hi there, 
> >  Howdy, <%=myBean.makeMeBig() %> 
> >  STEP-4 Set the name property to "Bernie", using setName()
> >  value= "Bernie"
> >  <% myBean.setName("Bernie");%>
> >  STEP-5 Use the bean's new property"Bernie"
> >  Hello there, <%=myBean.getName() %>
> >  Hi there, 
> >  Howdy, <%= myBean.makeMeBig()%> 
> >  STEP-6 Set the name property from the query string using
jsp:setProperty
> > param="name"
> >  
> >  STEP-7 Use the bean's new property from the URL 
> >  Hello there, <%= myBean.getName() %>
> >  Hi there, 
> >  Howdy, <%= myBean.makeMeBig() %> 
> >  
> > 
> >
> > now the faq says this on beans:
> >
> >Put all your beans (class files) under
> >/examples/WEB-INF/jsp/beans appropriately (as done for the included
> >beans). The startserver script will automatically add these classes
to
> >the CLASSPATH at runtime.
> >
> > here is my bean
> >
> > package rayexamples ;
> > import java.io.Serializable ;
> > public class bean1 implements Serializable{
> >
> > String name ;
> > /* The JavaBean's empty constructor */
> > public bean1(){
> > name = "World" ;
> > }
> >
> > /* THE SETTER METHOD - property returned to the JSP
> setProperty()*/
> > public void setName(String name){
> > this.name = name;
> > }
> >
> > /* THE GETTER METHOD - property is set by the JSP setProperty().
> > If

Re: Startup script doesn't work on reboot

2001-05-02 Thread Hari Yellina

tomcat doesnt start it self automatically. you have to place your
/bin/startup.sh in proile.bash file. so, when you are logging as a user it
starts automatically.
- Original Message -
From: Dave Simms <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 3:13 AM
Subject: Startup script doesn't work on reboot


>
> Hi All,
>
> I used both a script I created, and one I found when I searched through
this
> mailing list (Neil's Aggarwal's script, 2/15/01).  Both scripts worked
fine
> when ran while our computer was on (running RedHat 7.0, tomcat 3.1).  But
> when I reboot the machine, tomcat doesn't start (although when I look at
the
> processes using "ps ax" --- it does show tomcat processes running).  Does
> anyone know what the problem here could be?  I don't think it should make
a
> difference, but I am starting tomcat with a different server.xml file with
> the command:
>
> "/usr/local/jakarta-tomcat/bin/startup.sh -f
> /usr/local/jakarta-tomcat/conf/server_SITE1.xml"
>
> Thanks,
> Dave
> _
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>