intranet application

2002-12-27 Thread # Lalit Nagpal #
hi guys ...

somebody please tell me how to write a intranet
application using tomcat ... how to configure tomcat
for an intranet application 

thanx in advance

Lalit Nagpal

=
# Lalit Nagpal #

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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





compiler runs out of memory

2002-09-24 Thread # Lalit Nagpal #


hello ...

This is a frequent problem that i face with tomcat ...

here is the output in catalina.out ... is increasing
the heap size the only option ... if yes ... plz tell
me how to 

the stack trace is as follows ...

type Exception report

message 

description The server encountered an internal error
() that prevented it from fulfilling this request.

exception 

org.apache.jasper.JasperException: Unable to compile
class for JSPThe compiler has run out of memory. 
Consider using the -J-mxnumber command line option
to increase the maximum heap size.

at
org.apache.jasper.compiler.Compiler.compile(Unknown
Source)
at
org.apache.jasper.servlet.JspServlet.loadJSP(Unknown
Source)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Unknown
Source)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown
Source)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown
Source)
at
org.apache.jasper.servlet.JspServlet.service(Unknown
Source)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown
Source)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown
Source)
at
org.apache.catalina.core.StandardWrapperValve.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
at
org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardContextValve.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
at
org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardContext.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardHostValve.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at
org.apache.catalina.valves.ErrorReportValve.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at
org.apache.catalina.valves.AccessLogValve.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
at
org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardEngineValve.invoke(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown
Source)
at
org.apache.catalina.core.StandardPipeline.invoke(Unknown
Source)
at
org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
at
org.apache.coyote.tomcat4.CoyoteProcessor.service(CoyoteProcessor.java:311)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:305)
at
org.apache.coyote.tomcat4.CoyoteProcessor.process(CoyoteProcessor.java:785)
at
org.apache.coyote.tomcat4.CoyoteProcessor.run(CoyoteProcessor.java:864)
at java.lang.Thread.run(Thread.java:484)





Apache Tomcat/4.1-dev



=
# Lalit Nagpal #

__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.yahoo.com

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




Tomcat goes out of memory

2002-09-01 Thread # Lalit Nagpal #

hello friend,

Every next day or after 2 days i find tomcat is down
and error thrown is (in catalina.out file of tomcat)
java.lang.OutOfMemoryError
 no stack trace available 
What am i supposed to do, increase memory if yes how.
please guide ... thanks for the same.

Warm Regards
Lalit Nagpal


=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

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




Out of Memory Error

2002-08-14 Thread # Lalit Nagpal #

hello

I simply try to access a jsp page which is in the
folder $TOMCAT_HOME/webapps/ROOT and what i get on the
browser is  Out of Memory Error 
what could be a possible solution

thanx in advance


=
# Lalit Nagpal #

__
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

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




intranet application - plz help

2002-07-12 Thread # Lalit Nagpal #


how to run an application on an intranet. I want my
servlets to be accessible only for the comps on my
LAN. I am using tomcat 4 - 80 port is for our website
now do i have to use some other port for intranet
application - if yes how to configure tomcat to listen
to two ports.

Thanks is advance
Lalit

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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




Need help - intranet application

2002-07-12 Thread # Lalit Nagpal #



how to run an application on an intranet. I want my
servlets to be accessible only for the comps on my
LAN. I am using tomcat 4 - 80 port is for our website
now do i have to use some other port for intranet
application - if yes how to configure tomcat to listen
to two ports.

Thanks in advance


=
# Lalit Nagpal #

__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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




Out of Memory error - plz help

2002-06-04 Thread # Lalit Nagpal #

hello friends,

I get this wierd error Out of Memory --- No Stack
Trace. Actually i have a form that a student fills up
attaches his mark statement (scanned image) and
photograph. The form is received properly on the
server but then the server goes down any time - giving
the output as  Out of Memory Error - No Stack Trace
 in catalina.out file. Any ideas, plz help

Regards



=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Out of Memory Error - plz help

2002-06-03 Thread # Lalit Nagpal #

hello friends,

I get this wierd error Out of Memory --- No Stack
Trace. Actually i have a form that a student fills up
attaches his mark statement (scanned image) and
photograph. The form is received properly on the
server but then the server goes down any time - giving
the output as  Out of Memory Error - No Stack Trace
 in catalina.out file. Any ideas, plz help

Regards


=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Urgent Urgent Plz Help

2002-05-07 Thread # Lalit Nagpal #

i have set multipart/form-data tag in my html form
tag. i need to get a form filled in by the visitors
and also an attachment on the same form (file upload).
i am using oreilly classes. problem is when i try to
get data + file on the server using MultipartRequest
class of oreilly i get the error content type is not
multipart. I am using MultipartRequest class
getParameter function to get the data, and the file
upload works as usual. Any Ideas why this error is
occuring.

This error occurs in IE, On Netscape it works quiet
fine

Plz help.
Thanx in advance.


=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




RE: someone plz help

2002-05-07 Thread # Lalit Nagpal #

my problem is solved  thanx tim anyway.
actually i just renamed my java file and recompiled it
and it worked. Wonder what is with IE ... was it using
cache data. Netscape was very descent and every
changes i made where detected by it in every request
that i made. wonder what the problem is with IE.

=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




uploading status to a user

2002-05-07 Thread # Lalit Nagpal #

hye

i am using oreilly classes (MultipartRequest class)
provided by jason hunter. Is it possible for me to
show to the user who is uploading file to my server
the upload status (progress bar etc, anything). I just
do not want the user to feel that the upload is not
working and cancel the submit operation. plz help and
thanx a lot

bye

=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




help plz urgent

2002-05-06 Thread # Lalit Nagpal #


i use the MultipartRequest class getParameter function to receive html form data apart 
from the files which are uploaded too. i do not know why i get the error saying 
posted content type is not multi part form data. when i upload files with this 
servlet without any input type=text type data upload works fine. when i try to get 
other fields alongwith the input type=file at the server end file upload does not 
work. plz help. i want to receive both textual data typed by the user and a file 
attached by the user at the server from a single form. but when i try to do this i get 
content type is not multipart form-data error. someone plz help urgent.

thanx a lot


# Lalit Nagpal #


-
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness


Re: help plz urgent

2002-05-06 Thread # Lalit Nagpal #

P I HAVE ALREADY DONE THAT
Pnbsp; BIDavid Rault
lt;[EMAIL PROTECTED]gt;/I/B wrote: 
BLOCKQUOTE style=BORDER-LEFT: #1010ff 2px solid;
MARGIN-LEFT: 5px; PADDING-LEFT: 5pxyou _have_ to set
the encoding on your form :BR
FORM action=/some_url encType=multipart/form-data
method=postBR[some_form_inputs]BR/FORMBRbyeBRDavidBRBR-
Original Message -BRFrom: # Lalit Nagpal #
[EMAIL PROTECTED]BRTo:
[EMAIL PROTECTED]BRSent: Monday, May
06, 2002 4:12 PMBRSubject: help plz
urgentBRBRBRgt;BRgt; i use the
MultipartRequest class getParameter function to
receive htmlBRform data apart from the files which
are uploaded too. i do not know why iBRget the error
saying posted content type is not multi part form
data. whenBRi upload files with this servlet
without any INPUT databrupload works fine. when i
try to get other fields alongwith the
INPUTBRtype=file at the server end file upload
does not work. plz help. i want toBRreceive both
textual data typed by the user and a file attached by
the userBRat the server from a single form. but when
i try to do this i get contentBRtype is not
multipart form-data error. someone plz help
urgent.BRgt;BRgt; thanx a
lotBRgt;BRgt;BRgt; # Lalit Nagpal
#BRgt;BRgt;BRgt;
-BRgt; Do You
Yahoo!?BRgt; Yahoo! Health - your guide to health
and wellnessBRBRBRBR--BRTo unsubscribe,
e-mail: ?XML:NAMESPACE PREFIX = MAILTO
/MAILTO:[EMAIL PROTECTED]BRFor
additional commands, e-mail: 
MAILTO:[EMAIL PROTECTED]BR/BLOCKQUOTE/MAILTO:[EMAIL PROTECTED]/MAILTO:[EMAIL PROTECTED]

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




HELP PLZ URGENT

2002-05-06 Thread # Lalit Nagpal #

i use the
MultipartRequest class getParameter function to
receive html form data apart from the files which
are uploaded too. i do not know why i get the error
saying posted content type is not multi part form
data. when i upload files with this servlet
without any INPUT type=text data upload works fine.
when i try to get other fields alongwith the
INPUT type=file at the server end file upload
does not work. plz help. i want to receive both
textual data typed by the user and a file attached by
the user at the server from a single form. but when
i try to do this i get content type is not
multipart form-data error. someone plz help
urgent.

I HAVE ALREADY SET input type=file
ENCTYPE=multipart/form-data method=post
action=servlet. so that is not the problem

thanx a lot

=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




Re: help plz urgent

2002-05-06 Thread # Lalit Nagpal #


so sorry ... so sorry for capitalising ... i know u
were trying to help ... just that things r urgent ...
so sorry anyway

html code a bit, form, type=text and type=file tags

body

form name=commonform action=/servlet/TotalUpload
ENCTYPE=multipart/form-data

input type=text size=10 name=acadyear
maxlength=9/input 

input type=file size=18 name=attach1/input

using oreilly ... one of the most recent versions ...
sorry cant say version date.

using MultipartRequest.getParameter(...) function to
extract text data. and upload as usual.

error is content type is not multipart/form-data

plz help man



--- David Rault [EMAIL PROTECTED] wrote:
 well, first of all, YOU DON'T HAVE TO CAPITALIZE
 YOUR TEXT
 IT'S ANNOYING TO READ
 i'm trying to _help_ here
 
 try to send some of your html code (the multi part
 form)
 and the code of the server component in which you
 initialize the
 wrapper/read the parameters
 by the way, some extra info might help :
 what multipart library are you using (o'reilly ?
 version ?)
 same question about tomcat and web connector
 since you didn't send any code, i assumed it might
 be an obvious problem...
 
 David
 
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




Re: Servlet not updated till tomcat stop/start

2002-05-06 Thread # Lalit Nagpal #

actually they say if you set reloadable=true in
server.xml file of tomcat stop/start should not be
needed. but i dont think this works really. try
setting reloadable tag to true in
$TOMCAT_HOME/conf/server.xml file


--- Helferty, Richard (FUSA)
[EMAIL PROTECTED] wrote:
 Quick Question. I updated serlevts while running
 Tomcat 403, but the updated
 code didn't take effect till I stop/start Tomcat. Is
 this the normal
 behavior of Tomcat or can I change a setting in
 which the update is seamless
 without stop/start Tomcat.
 
 
 
 

**
 This transmission may contain information that is
 privileged, confidential and/or exempt from
 disclosure under applicable law. If you are not the
 intended recipient, you are hereby notified that any
 disclosure, copying, distribution, or use of the
 information contained herein (including any reliance
 thereon) is STRICTLY PROHIBITED. If you received
 this transmission in error, please immediately
 contact the sender and destroy the material in its
 entirety, whether in electronic or hard copy format.
 Thank you

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


=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




someone plz help

2002-05-06 Thread # Lalit Nagpal #


i have set multipart/form-data tag in my html form. i
need to get a form filled in by the visitors and also
an attachment on the same form (file upload). i am
using oreilly classes. problem is when i try to get
data + file on the server using MultipartRequest class
of oreilly i get the error content type is not
multipart. I am using MultipartRequest class
getParameter function to get the data, and the file
upload works as usual. Any Ideas why this error is
occuring.

Plz help.
Thanx in advance.

=
# Lalit Nagpal #

__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

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




plz help

2002-05-03 Thread # Lalit Nagpal #


sorry out of topic 

i am uploading files along with some form data, strategy is i store form data first 
the primary key is auto_incremented and then i name the uploaded files with the 
primary key so that i can recognize which uploaded file belongs to who. now when i 
store the record in mysql i get back a resultset which contains no value (returned by 
statement.executeQuery(insert ...)). How to get the primary key which is auto 
generated (incremented by mysql) after inserting a record (primary key of the inserted 
record).

suggestions welcome and thanx in advance

 


# Lalit Nagpal #


-
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness


what is needed to connect to mysql

2002-05-02 Thread # Lalit Nagpal #


hello,

plz can anybody tell me how to connect to a mysql database through a servlet. i know 
how to prepare a connection etc through code but what other settings are needed. i am 
using tomcat 4 as a standalone.

The error i get is Class not found org.gjt.mm.mysql.Driver

plz help ... 


# Lalit Nagpal #


-
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness


Re: R: what is needed to connect to mysql

2002-05-02 Thread # Lalit Nagpal #


thanx man,
it works if u keep the extracted package
in the lib directory, and if u keep the 
jar file ... i wonder why it wont get
the necessary classes.
 


# Lalit Nagpal #


-
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness


ideas invited

2002-05-02 Thread # Lalit Nagpal #

hi,

i want tomcat 4 to startup up auto whenever the
machine is rebooted so i have put the entry
tomcat_path/startup.sh. As suggested by some i have
set the java path and tomcat home also in rc.local
file before running the startup.sh file. still it does
not seem to work. any bright ideas on this.

thanx a lot




# Lalit Nagpal #


-
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness


Re: ideas invited

2002-05-02 Thread # Lalit Nagpal #


 so sorry,
i did not understand what u meant ... where did rc5.d come from
  David Kavanagh [EMAIL PROTECTED] wrote: What I've done is to insert some commands at 
the top of tomcat.sh, then 
link it from /etc/rc2.d/S99tomcat to /bin/tomcat.sh (if on 
solaris).
on Linux, I put it in /etc/rc5.d

David

# Lalit Nagpal # wrote:

hi,

i want tomcat 4 to startup up auto whenever the
machine is rebooted so i have put the entry
/startup.sh. As suggested by some i have
set the java path and tomcat home also in rc.local
file before running the startup.sh file. still it does
not seem to work. any bright ideas on this.

thanx a lot




# Lalit Nagpal #


-
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness




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


# Lalit Nagpal #


-
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness


Re: what is needed to connect to mysql

2002-05-02 Thread # Lalit Nagpal #


 thanx christian,
prob was when i put a jar in the classpath it would not locate the classes. now when i 
have extracted the contents of mm driver and kept the extracted contents in the 
classpath .. everything works just fine.
Thanx anyway ...
  Christian Bockerman [EMAIL PROTECTED] wrote: Hi !

On Thu, May 02, 2002 at 02:09:09AM -0700, # Lalit Nagpal # wrote:
 
 hello,
 
 plz can anybody tell me how to connect to a mysql database through
 a servlet. i know how to prepare a connection etc through code but
 what other settings are needed. i am using tomcat 4 as a standalone.
 
 The error i get is Class not found org.gjt.mm.mysql.Driver


As the message says, the classloader cannot find the mysql-driver
class. I guess your having something like

Driver DriverRecordSet1 = 
(Driver)Class.forName(org.gjt.mm.mysql.Driver).newInstance();

in your code. Now imagine that your classloader wants to load a class.
There are a few places where he can look for it. Either the places
specified in your CLASSPATH-Variable or the predefined places of your
tomcat-installation. 
You can read about that in 
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html

where it says that you should put your mysql-2.0.4.jar (or how it is
called) in $CATALINA_HOME/lib. This would share your mysql-classes across
all webapplications.

Hope this helps...

-Christian

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


# Lalit Nagpal #


-
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness


RE: Why is JDK needed to install Apache Tomcat 4.0 on WinNT?

2002-04-23 Thread # Lalit Nagpal #


 
I do not know if this would work but try to set the JAVA_HOME variable to point
to the JRE. I think it should work then.
 
  Keith Wannamaker [EMAIL PROTECTED] wrote: If you are using JSPs in your 
application,
the JDK rather than the JRE is required to
compile them at run-time.

Keith

| -Original Message-
| From: Kiran Kumar N (RBIN/DCA-NMS) [mailto:[EMAIL PROTECTED]]
| Sent: Monday, April 22, 2002 11:42 PM
| To: '[EMAIL PROTECTED]'
| Subject: Why is JDK needed to install Apache Tomcat 4.0 on WinNT?
| 
| 
| I am trying to create a setup an application of mine for distribution 
| among my associates. But during the installation of Tomcat 4.0, it initially
| 
| checks if JDK is installed and if not, it exits the installation. 
| 
| Why does it need the JDK? All my target PCs have JREs installed. What should
| be 
| done to disable this check in Tomcat Setup. I am in need of a solution to
| this urgently.
| Please help.
| 
| Thanks and Best Regards,
| nKiran
| 
| 
| --
| To unsubscribe, e-mail: 
| For additional commands, e-mail: 
| 
| 

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


# Lalit Nagpal #


-
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more


whether tomcat is running

2002-04-17 Thread # Lalit Nagpal #


hello 2 all,

i have put the entry path-to-tomcat\startup.sh in the rc.local file but

whenever i reboot, i find tomcat is not running. Is their a way by which

i can see if tomcat is running (a way other than typing url in your browser to get 

the index page).  plz tell me if their is a way to make tomcat run as a service, so 

that if i reboot the machine tomcat should automatically start. 

Thanx



 

Lalit Nagpal



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


mounting a hard disk to linux

2002-04-10 Thread Lalit Nagpal


hello,

i am trying to mount a hard disk of 2 gb onto linux. what should i do to mount it

i did try to format it with ntfs file system and then entered the entry into the fstab

file and specified the file system as ntfs, but i got the message that the file

system is not supported by kernel. although the books says linux supports ntfs

plz tell me how to go about. 

i could have also specified the file system as dos, but then how to dos format the

disk and is it necessary to have a dos partition on linux then ?

thanx in advance

Lalit Nagpal.



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


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

2002-04-09 Thread Lalit Nagpal


hello,
i am using tomcat as a standalone. i have jsps and servlets working
quiet normally, i see no reason why apache should be connected to tomcat
if servlets and jsp serve your purpose. although some people argue that for
static pages apache will respond to requests much faster than tomcat.
however i feel the response time difference is negligible.
bye
Lalit Nagpal 
 



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


tomcat as a service

2002-04-04 Thread Lalit Nagpal


is there a way to start tomcat as a service in red hat linux 7.2

thanx

Lalit



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


why so many processes running for tomcat

2002-04-04 Thread Lalit Nagpal


hi

when i give the command ps -aux i see atleast 32 processes of tomcat

something like /usr/java/jdk1.3.1_02/bin/i386/native_threads/java -D /usr/java/jdk1.3

can anybody tell me what these 32 entries are for

running



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


is their a way to run tomcat as a service

2002-04-04 Thread Lalit Nagpal


 

is their a way to run tomcat as a service

plz help if you know

Thanks

Lalit



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


why does tomcat stop suddenly

2002-04-04 Thread Lalit Nagpal


hi,

i am using tomcat version 4.0 (standalone).

I run it executing the startup.sh file only to discover the next morning

that the server has stopped. catalina.out has no stopping tomcat message.

i have already tried with nohup command as suggested by some people, did not work.

what could be the possible reason. any ideas.

plz help ...

thanx

Lalit Nagpal



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


problem uploading files

2002-04-04 Thread Lalit Nagpal


hi,

i am using oreilly classes for uploading of files via servlets.Problem is when i try 
to upload a file ... it takes a long time to upload and the upload never completes. I 
discover that the file is received at the server end only partly (i.e 1/2 or less of 
the actual size), this happens with files of  1 MB. files of  1 MB are received 
properly by the server. i have already reconfigured my squid.conf file giving 
http_max_request_body_size to 5 MB and http_max_reply_body_size to 5 mb. What else 
needs to be done. Any settings in tomcat.

Plz help if you know.

Thanks in advance

Lalit Nagpal



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


problem uploading files, plz reply 2 this mail

2002-04-04 Thread Lalit Nagpal


hi,

i am using oreilly classes for uploading of files via servlets.Problem 
is when i try to upload a file ... it takes a long time to upload and 
the upload never completes. I discover that the file is received at the 
server end only partly (i.e 1/2 or less of the actual size), this 
happens with files of  1 MB. files of  1 MB are received properly by the 
server. i have already set the max size limit in MultipartRequest class to 5 MB. i 
have already reconfigured my squid.conf file giving http_max_request_body_size to 5 MB 
and http_max_reply_body_size to 5 mb. What else needs to be done. Any settings in 
tomcat.

Plz help if you know.

Thanks in advance

Lalit Nagpal







-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


uploading a file greater than 1 mb

2002-04-02 Thread Lalit Nagpal


can someone help me.

i am finding a problem uploading file greater than 1 mb

i am using oreilly classes (servlets). I have set the upload

limit to 5 mb in MultipartRequest.java provided by oreilly,

still it does not seem to work

Thanks in advance ...



-
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax