Re: Installing/Running Tomact

2001-11-25 Thread Barry L. White

I had to reinstall Tomcat yesterday after my HD got hosed!  Stupid #$%^
hard drive!
But anyway, installed it the easy way...

1)  Downloaded and installed java SDK from Sun at
http://java.sun.com/j2se/1.3.1/ (using the installer program)

2) Added java bin location to my PATH (in my case is was E:\jdk1.3.1_01\bin)

3) Downloaded and installed Tomcat 4.0 from... ah you know where. (also
using the installer program)

And that's all ... Tomcat ran right out of the box.
BTW I did not install Tomcat as a service and do not have any other
variables set such as CLASSPATH or JAVA_HOME etc.  In fact my box is clean
because I had to reinstall Win2K.  Stupid #$%^ hard drive!  You would think
I would learn to do backups.

Your problems are probably in your CLASSPATH.  Try removing it and doing a
fresh install of SDK and then Tomcat.

Also, if you are using other XML parsers they can cause problems with
Tomcat.  Try seaching the list for xerces (I remember seeing something about
this).

Barry





- Original Message -
From: Sanjay bahal [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Saturday, November 24, 2001 11:58 AM
Subject: Re: Installing/Running Tomact


 I pretty much have the same setup as yours- Jdk1.3,
 CATALINA_HOME, JAVA_HOME etc. I also had removed jsdk
 etc. But it does not work for me.
 I have other baggage- jaxp, xerces, xalan etc etc. I
 do not know if they inerefere or what is the problem?
 That is why I have provided my System classpath- if
 any body can notice anything suspicious.
 TIA
 Sanjay
 --- amol [EMAIL PROTECTED] wrote:
  Sanjay,
  Its pretty easy..I did all this just yesterday.
  Downloaded 4.01.
  Cleand my machine of the jdk and jsdk and all that
  stuff.
  Cleaned the classpath, JAVA_HOME variables.
  installed jdk1.3 ( previously i was on 1.2.2 )
  unzipped tomcat's zip and put it on c:
  set java_home to c:\jdk1.3
  set catalina_home to C:\jakarta-tomcat-4.0.1 (
  tomcat dir )
  turned off pws and my previous servlet container
  opened cmd prompt and gave the command
  %catalina_home%/bin/startup
  and bingo!! it worked. all the examples are working
  absolutely fine.
  also, tried putting the snoop servlet in a jar and
  tested it. created
  mywebapp and put the snoop servlet jar and tested
  it. once i was comfy
  with the way tomcat handles jars,etc, i deployed my
  application and its
  working flawlessly.
  The only thing now i am trying to do is redirect the
  stderr which is
  appearing on the cmd prompt to some file. tomcat is
  putting all my logging
  directly on the cmd prompt.
  but overall, its pretty easy. i got started much
  quickly than i thought i
  would . just follow the steps mentioned in the
  documentation religiously and
  it should most probably work.
 
  u wont need anything extra to run the examples,
  atleast.
  try once more and let me know if u face any specific
  problems.
 
  luck
  amol
 
  - Original Message -
  From: Sanjay bahal [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Friday, November 23, 2001 9:42 PM
  Subject: Installing/Running Tomact
 
 
   Hi,
   I can not seem to be able to run Tomact. I have
  tried
   Tomact_3_2, Tomact_3_3, Tomact_4_01.nothing works.
  Is
   it really so difficult?
   On : 3_2 I used to get the sealing violation
  error- I
   tried the various sugestions on the site- nothing
   worked.
   On 3_3 I can not even grab the error msg.
   On 4_01 I get an error- I can not grab the error
  msg-
   My system classpath is:
  
 

CLASSPATH=.;c:\jdk1.3\lib\rt.jar;c:\xerces\xerces.jar;c:\soap\lib\soap.jar;c
 

:\xml\jaxp.jar;c:\xml\parser.jar;c:\xml\xalan.jar;c:\wstk\uddi4j\lib\uddi4j.
 

jar;c:\wstk\wsdli4j\lib\wsdl4j.jar;c:\wstk\lib\wstk.jar;c:\wstk\lib\xss4j.ja
 

r;c:\wstk\soap\lib\mail.jar;c:\wstk\soap\lib\activation.jar;c:\webservices\c
 

lasses;c:\jsse\lib\jcert.jar;c:\jsse\lib\jnet.jar;c:\jsse\lib\jsse.jar;c:\ax
  is\lib\axis.jar;
  
   do we need all the xml parser files- I have jaxp,
   parser, xalan, xerces?  I g\have tried adding and
   removing files and cahnging the order etc- Nothing
   seems to work.
   I am on win98, jdk1.3
   Thanks a lot guys,
   Sanjay
  
  
   __
   Do You Yahoo!?
   Yahoo! GeoCities - quick and easy web site
  hosting, just $8.95/month.
   http://geocities.yahoo.com/ps/info1
  
   --
   To unsubscribe:
  mailto:[EMAIL PROTECTED]
   For additional commands:
  mailto:[EMAIL PROTECTED]
   Troubles with the list:
  mailto:[EMAIL PROTECTED]
 
 
 
 
 _
  Do You Yahoo!?
  Get your free @yahoo.com address at
  http://mail.yahoo.com
 
 
  --
  To unsubscribe:
  mailto:[EMAIL PROTECTED]
  For additional commands:
  mailto:[EMAIL PROTECTED]
  Troubles with the list:
  mailto:[EMAIL PROTECTED]
 


 __
 Do You Yahoo!?
 Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
 http://geocities.yahoo.com/ps

Re: Installing/Running Tomact

2001-11-24 Thread amol

Sanjay,
Its pretty easy..I did all this just yesterday.
Downloaded 4.01.
Cleand my machine of the jdk and jsdk and all that stuff.
Cleaned the classpath, JAVA_HOME variables.
installed jdk1.3 ( previously i was on 1.2.2 )
unzipped tomcat's zip and put it on c:
set java_home to c:\jdk1.3
set catalina_home to C:\jakarta-tomcat-4.0.1 ( tomcat dir )
turned off pws and my previous servlet container
opened cmd prompt and gave the command %catalina_home%/bin/startup
and bingo!! it worked. all the examples are working absolutely fine.
also, tried putting the snoop servlet in a jar and tested it. created
mywebapp and put the snoop servlet jar and tested it. once i was comfy
with the way tomcat handles jars,etc, i deployed my application and its
working flawlessly.
The only thing now i am trying to do is redirect the stderr which is
appearing on the cmd prompt to some file. tomcat is putting all my logging
directly on the cmd prompt.
but overall, its pretty easy. i got started much quickly than i thought i
would . just follow the steps mentioned in the documentation religiously and
it should most probably work.

u wont need anything extra to run the examples, atleast.
try once more and let me know if u face any specific problems.

luck
amol

- Original Message -
From: Sanjay bahal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 23, 2001 9:42 PM
Subject: Installing/Running Tomact


 Hi,
 I can not seem to be able to run Tomact. I have tried
 Tomact_3_2, Tomact_3_3, Tomact_4_01.nothing works. Is
 it really so difficult?
 On : 3_2 I used to get the sealing violation error- I
 tried the various sugestions on the site- nothing
 worked.
 On 3_3 I can not even grab the error msg.
 On 4_01 I get an error- I can not grab the error msg-
 My system classpath is:

CLASSPATH=.;c:\jdk1.3\lib\rt.jar;c:\xerces\xerces.jar;c:\soap\lib\soap.jar;c
:\xml\jaxp.jar;c:\xml\parser.jar;c:\xml\xalan.jar;c:\wstk\uddi4j\lib\uddi4j.
jar;c:\wstk\wsdli4j\lib\wsdl4j.jar;c:\wstk\lib\wstk.jar;c:\wstk\lib\xss4j.ja
r;c:\wstk\soap\lib\mail.jar;c:\wstk\soap\lib\activation.jar;c:\webservices\c
lasses;c:\jsse\lib\jcert.jar;c:\jsse\lib\jnet.jar;c:\jsse\lib\jsse.jar;c:\ax
is\lib\axis.jar;

 do we need all the xml parser files- I have jaxp,
 parser, xalan, xerces?  I g\have tried adding and
 removing files and cahnging the order etc- Nothing
 seems to work.
 I am on win98, jdk1.3
 Thanks a lot guys,
 Sanjay


 __
 Do You Yahoo!?
 Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
 http://geocities.yahoo.com/ps/info1

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



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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




Installing/Running Tomact

2001-11-23 Thread Sanjay bahal

Hi,
I can not seem to be able to run Tomact. I have tried
Tomact_3_2, Tomact_3_3, Tomact_4_01.nothing works. Is
it really so difficult?
On : 3_2 I used to get the sealing violation error- I
tried the various sugestions on the site- nothing
worked. 
On 3_3 I can not even grab the error msg.
On 4_01 I get an error- I can not grab the error msg-
My system classpath is:
CLASSPATH=.;c:\jdk1.3\lib\rt.jar;c:\xerces\xerces.jar;c:\soap\lib\soap.jar;c:\xml\jaxp.jar;c:\xml\parser.jar;c:\xml\xalan.jar;c:\wstk\uddi4j\lib\uddi4j.jar;c:\wstk\wsdli4j\lib\wsdl4j.jar;c:\wstk\lib\wstk.jar;c:\wstk\lib\xss4j.jar;c:\wstk\soap\lib\mail.jar;c:\wstk\soap\lib\activation.jar;c:\webservices\classes;c:\jsse\lib\jcert.jar;c:\jsse\lib\jnet.jar;c:\jsse\lib\jsse.jar;c:\axis\lib\axis.jar;

do we need all the xml parser files- I have jaxp,
parser, xalan, xerces?  I g\have tried adding and
removing files and cahnging the order etc- Nothing
seems to work.
I am on win98, jdk1.3
Thanks a lot guys,
Sanjay


__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

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