Re: INDEX.JSP in webapps/ROOT

2005-08-24 Thread Praveen KUMAR

Change your $TOMCAT_HOME/webapps/ROOT/WEB-INF/web.xml like this

web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
version=2.4

  display-nameWelcome to Tomcat/display-name
  description
 Welcome to Tomcat
  /description

!-- JSPC servlet mappings start --
!--
servlet
servlet-nameorg.apache.jsp.index_jsp/servlet-name
servlet-classorg.apache.jsp.index_jsp/servlet-class
/servlet

servlet-mapping
servlet-nameorg.apache.jsp.index_jsp/servlet-name
url-pattern/index.jsp/url-pattern
/servlet-mapping
--
!-- JSPC servlet mappings end --

  welcome-file-list
welcome-fileindex.jsp/welcome-file
  /welcome-file-list

/web-app

Regards,
Praveen Soni

STMicroelectronics Pvt. Ltd.


Tom Spence wrote, On 08/24/2005 06:28 PM:

Hello...

I understand that TomCat's front page (index.jsp) that I can't change it cuz it 
is precompiled.  I want to change something on my own website from index.jsp to 
index.html?

Also I am trying to learn (of course I am newbie) how to change in web.xml in 
ROOT/WEB-INF.

I appreciate your assist...



(__[TomCigar]___~~~ 






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



Re: Tomcat 5.5.9

2005-05-31 Thread Praveen KUMAR

You can see admin user/password in $TOMCAT_HOME/conf/tomcat-users.xml file.

Regards,
Praveen Soni

STMicroelectronics Pvt Ltd.



David Short wrote, On 06/01/2005 02:18 AM:


I just loaded Tomcat 5.5.9 on XP Home Edition.  When I fire it up, it wants
me to provide a username/password.  So, I give it admin/tomcat, which is
what I supplied when prompted when loading Tomcat.  After three tries, it
displays Unauthorized.

Any ideas?

 



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



Re: apache2 + mod_jk + tomcat 4.1.31 - jkstatus

2005-05-25 Thread Praveen KUMAR

Increase MaxThread in server.xml file

Regards,
Praveen Soni

STMicroelectronics Pvt Ltd.



Arnar Gestsson wrote, On 05/25/2005 02:45 PM:


Hi all,

I've installation of apache2, mod_jk and tomcat4.1.31 where the apache
is serving port 80, and 5 vhost are directing jsp/servlet requests to 5
separate workers.  I'm entering into bottlenecks where  one of the
workers issues, threadpool full. I've had problems debugging the
situation and am seeking advice on how to determine the state of the
workers.  When using mod_jk2, jkstatus could be used but what is
equivalent for mod_jk?

BR. Arnar

Arnar Gestsson, MSc
Trackwell Software

 



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



Apache+Tomcat

2005-05-10 Thread Praveen KUMAR
Hello,
I am little bit confuse in following decision:
Should be use
1- Apache (2.0.54) + Tomcat (5.0.28) in production with tomcat listener 
(through Coyote connector) configured with mod_jk (1.2.12) with apache
2- Or Standalone Tomcat (with their standard apache provided by tomcat)

What would be difference in both the scenarios in terms of performance 
and reliability?

--
With best regards,
Praveen Soni

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


Re: Help needed in Tomcat4.0.3

2002-12-17 Thread Praveen Wicliff
Use the Tomcat manager (how to is there on the site) with the list command.

It will print out all the contexts with the number sessions for each of
them.

Praveen Wicliff

- Original Message -
From: Santosh Kulkarni [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 4:37 PM
Subject: Help needed in Tomcat4.0.3


 How do I find out the number of active sessions
 running in Tomcat. I'm using tomcat 4.0.3.
 TIA
 Santosh

 __
 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]




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




Re: Tomcat setup question.

2002-12-16 Thread Praveen Wicliff

You require a file called servlet.jar. Put this file in the lib directory of
your JDK and put the entire path in the CLASS_PATH.

For the servlet.jar file.
Go to java.sun.com - downloads
In the J2EE download dropdown, select servlet specification 2.2 or 2.3
Now the download page will come with different links. Look for section on
specification, and in that required specification zip file.
Download this file, this contains your servlets.jar file which should be
around 40KB

Try compiling,  now it should work.

Praveen Wicliff

- Original Message -
From: Patrick Martz [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 6:19 AM
Subject: RE: Tomcat setup question.


 Ok this is exactly my problem. These aren't MY jar files. These are jar
 files that came with Tomcat. Apparently, the standard J2SDK does NOT come
 with the servlet classes that I need to compile java servlets. So
therefore,
 when I try to import java.servlet.* it fails miserably. Even the classes
 that come WITH Tomcat itself (for example, HelloWorldExample in the
examples
 directory) are not compilable. Therefore, clearly, something needs to be
 done so that the java compiler can find these packages. Exactly what that
is
 I do not know and would be very appreciative if anyone could help!

 -Original Message-
 From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 16, 2002 4:41 PM
 To: Tomcat Users List
 Subject: Re: Tomcat setup question.





  So do I need to add an environmental variable to let my compiler find
 these?
  Or do I just need to move the .jar files to the right location? How do I
  know which .jar files are the correct ones to use (as I mentioned, there
 are
  a number of them that seem to have what I'm looking for)?

 You can do any of the steps you have suggested yourself or you could
 also just tell the compiler where to find your jars. javac -classpath
 would do the trick


 --
 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: Need Help

2002-12-10 Thread Praveen Wicliff
Avinash.
I don't know what you are trying to do, but ASP, JSP pages cannot
communicate. But what you are trying to do is possible.

I assume your file system is like this
WebAppsJSP ASP/JSP files

Assuming you have integrated Tomcat and IIS, one way of  doing it is
-  having your context jsp have the docbase webapps/jsp in server.xml
-  having root directory in IIS as webapps

So when you request an JSP file, the JSP in the URL becomes a context, and
if you request ASP file, JSP becomes a directory.

Hope that is clear:-)

Praveen Wicliff




- Original Message -
From: Avinash Prasad [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 10, 2002 4:01 PM
Subject: Need Help



 Hi,

 I configured the tomcat with IIS (in process) on windows 2000
 professional. Its working fine for JSP , I want to execute
 ASP page from the same directory where I putted my jsp file.

 Like

 /webapps/jsp/hello.jsp-This is working fine

 /webapps/jsp/hello.asp---its not working.

 I came to know that if tomcat is configured In process with
 IIS. Both asp and jsp page can communicate.

 Note: How  can i test my configuration that,it is in process.

 Need help urgently.

 Regards,

 Avinash Prasad







 -
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now



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




Re: JSP inside Javascript

2002-12-08 Thread Praveen Wicliff
You can use it, that is say if you want your tree name to be taken from JSP
you can define it like

var scriptTree = %=myTree%

Understand this, the page is processed by application server, and all the
JSP code is processes irrespective of where they occur. Once it is processed
to the browse, as far as browser is concerned the code will look like
this

var scriptTree = treeName

Hope this helps. If you are looking for completely different thing, please
mail with specifics :-)

Praveen Wicliff






- Original Message -
From: Laxmikanth M.S. [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, December 09, 2002 10:20 AM
Subject: JSP inside Javascript


 hi all,
 Can we have JSP expression inside javascript? I have javascript which is
 generating tree structure but I want to have JSP expression inside the
tree.
 If anybody knows how to put this I will appreciate if somebody forward me
 example or link.
 Thanx
 Laxmikanth
 *
 Disclaimer: The information in this e-mail and any attachments is
 confidential / privileged. It is intended solely for the addressee or
 addressees. If you are not the addressee indicated in this message, you
may
 not copy or deliver this message to anyone. In such case, you should
destroy
 this message and kindly notify the sender by reply email. Please advise
 immediately if you or your employer does not consent to Internet email for
 messages of this kind.
 *

 --
 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 went unconcious :-)

2002-12-06 Thread Praveen Wicliff
That is difficult to believe. But in either case, I think its more to do
with the page cache in the browser (assuming your programming is right
:-)try to delete temp. internet files and try again.

Praveen Wicliff


- Original Message -
From: Vy Ho [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 06, 2002 10:16 PM
Subject: Tomcat went unconcious :-)



 When a dog sneeze and the cat got knocked down.  The following case show
 that simple things could knock error out of tomcat (note that the cat does
 not die).

 Imagine authentication usin gmemory or database.  2 users 1 role for each.
 When you login with a valid user name/pass, but wrong role for the
 selected page, you won't see the invalid user/login, but you'll see access
 error.  Now, go back (clicking on the back button), and then login as
 valid user/role, you'll see a gain, the same message, although you should
 be able to get into the page without any problem.  That's 2 knockouts
 right there.

 How could something this obvious, and sensity, and common slip into the
 cat?





 --
 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: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-24 Thread Praveen Wicliff
The delay in the response might be because of your network settings
sometimes. Depending on your settings, for the first time, the browser tries
to find the server, in which case it needs to look for the DNS (or Proxy if
you are using one). This is true in some cases where its the server is also
the same machine.

Try to use 127.0.0.1 (local ip) and see if you still have the same problem.

Praveen Wicliff

- Original Message -
From: james [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, November 25, 2002 2:48 AM
Subject: Re: What the problem about tomcat 4.1 or IE? in my computer?


 Thanks for reply, I can see http://localhost:8080/index.jsp or
 http://localhost:8080
 but it takes a very long time (5 minutes), after that it is OK for other
 pages for the same IE, but if I open another IE, it still takes a very
long
 time in  the first time .
 What might be the problem?


 James


 - Original Message -
 From: David Brown [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Saturday, November 23, 2002 11:42 AM
 Subject: Re: What the problem about tomcat 4.1 or IE? in my computer?


  p niemandt writes:
 
   Uninstall win2k, install linux, see if your problem persists ... :)
  
   naah; seriously: check the logs: see if there is anything funny. Which
   JDK are you using? Maybe try reinstalling that, see if that helps.
  
  
  
   On Sat, 2002-11-23 at 15:41, james wrote:
   Hi,
  
   I used Tomcat 4.1 for 2 weeks, and I practiced some samples, it was
 fine,  but today, it didn't work well anymore.
  
   I uninstalled it and installer it again and again, the Tomcat Server
 looks OK, for the info on screen was the same as before.
   but when I tried : http://localhost:8080/hello/index.jsp
   or any tested sites I used before. All will take a long long time!!
 even after I reboot the computer. It was much fast before.
  
   The OS is Window 2000, and RAM is enough (327M), I checked and I only
 run 2 or 3  IEs, nothing else.
   What might be the problem?
  
   Any help will be appreciated.
  
   James
   --
   p niemandt [EMAIL PROTECTED]
  
  
   --
   To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
  
 
 
 
 
  Hello, also after u re-install new try just the suggested action:
  http://localhost:8080 to see if u get the initial tomcat demo screen.
 david.
 
  --
  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 as bundle

2002-11-24 Thread Praveen Wicliff

Ranjit,
Check the Jakarta site for the downloads

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/

if you require binaries they will be in the bin section. But if you are
intalling on any other OS (like what you mentioned, Irix), its preferable
that you download th source and make it yourself.

And, no, I do not have any experience on Irix.


- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, November 26, 2002 2:08 AM
Subject: tomcat as bundle


 Hi,

 Can any one tell me whether tomcat is avalable for download as a
 single tar.gz file?! and where is it available...

 I would like to install tomcat on Irix 6.5.16, anyone suggest if
 experimented already on this.

 thanks,
 Ranjit.

 -


 --
 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: JSP pages giving out source code

2002-11-19 Thread Praveen Wicliff
Depending on the webserver which you are using you need to use a connector
or ask your system admin to do that for you.

For apache JK connectors you can find information on the jakarta site
itself. If you are using IIS, this page can give you more info
http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/


If you do not have admin rights, all you can do is ask your admin to do it
for you, which in most cases they would have already done it so.


Praveen Wicliff

- Original Message -
From: Uma Maheswar [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 6:09 PM
Subject: Re: JSP pages giving out source code


 Hello,
 Thanks for the reply. I am not the owner of the server. I have hosted my
 site on some shared server. So, I do not have any admin previliages. How
can
 I use JK or JK2 or WARP. I have been given a directory as somename is
the
 root folder for my site. e.g  webapps/somename. I upload all my files
here.
 Can some one tell me in more detail how to prevent my jsp pages giving out
 the code. How can I prevent this?

 Thanks
 Uma
 http://www.javagalaxy.com


 - Original Message -
 From: Turner, John [EMAIL PROTECTED]
 To: 'Tomcat Users List' [EMAIL PROTECTED]
 Sent: Monday, November 18, 2002 8:53 PM
 Subject: RE: JSP pages giving out source code


 
  Apache doesn't understand that *.jsp requests need to be sent to Tomcat.
 
  You need a connector (WARP, JK, or JK2), and if you already have one,
it's
  misconfigured.
 
  John
 
 
   -Original Message-
   From: Uma Maheswar [mailto:[EMAIL PROTECTED]]
   Sent: Monday, November 18, 2002 10:17 AM
   To: Tomcat Users List
   Subject: JSP pages giving out source code
  
  
   Hello,
   Some of the links in my website to .jsp pages are giving out
   the source code
   and some or not. What is the reason?
  
   e.g http://www.javagalaxy.com/sss.jsp gives out source
   code (not true
   link)
   where as http://www.javagalaxy.com:8080/ss/s.jsp will work.
  
   How to correct this? Any one help.
  
   Uma
   http://www.javagalaxy.com
  
  
   --
   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]




4.0.4 struts app does not load in 4.1.9

2002-09-05 Thread Praveen Shenoy

I have my struts based app working fine in 4.0.4. The same thing does
not work in 4.1.9.  I see this message when I startup. My web.xml is
under WEB-INF. Not sure why it is complaining that web.xml is missing.

2002-09-05 10:21:16 ContextConfig[]: Missing application web.xml, using
defaults only
javax.servlet.ServletException: Exception processing JAR at resource
path /WEB-INF/lib/xmlParserAPIs.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:930)

at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)

at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3445)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2188)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)

at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
- Root Cause -
java.lang.IllegalArgumentException: Invalid TLD resource path
/WEB-INF/lib/xmlParserAPIs.jar
at
org.apache.catalina.startup.ContextConfig.tldScanJar(ContextConfig.java:898)

at
org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:868)

at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)

at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)

at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3445)

at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at
org.apache.catalina.core.StandardService.start(StandardService.java:497)

at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2188)
at org.apache.catalina.startup.Catalina.start(Catalina.java:510)

at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Praveen


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




is multiple init called in case of servlet pooling..

2002-06-23 Thread Praveen Acharya

hi

does the init get called for each instance of the
servlet in the pool..in cases where the servlet
container uses servlet pool for STM...



__
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]




Re: loading jdbc driver

2002-01-11 Thread Praveen Potineni

Adam,
Put the driver files in the WEB-INF/lib folder in webapps. Create a lib
folder if it dosen't exist in WEB-INF.
Hope that helps...Let us know...
Praveen

- Original Message -
From: Alfar, Adam [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 11, 2002 1:14 PM
Subject: loading jdbc driver


 I am using tomcat 4 and I am having problems loading the jdbc driver as
 follows:
 java.lang.ClassNotFoundException: com.informix.jdbc.IfxDriver  whenever
I
 try to load the servlet thru the web browser.
 However, if I run the jdbc loading through standalone java program, it
loads
 fine and executes the query. Please advice. Thanks!

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



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




Unable to load driver

2002-01-08 Thread Praveen Potineni

Hi all,
I have some problem loading the driver. I think i have put the driver files in a wrong 
place. When i run the code which looks like this:

 private String myDriver =com.sybase.jdbc2.jdbc.SybDriver;
...
...
...
...

try{
  Class.forName(myDriver).newInstance();
 }
  catch(Exception e){  
   throw new InstantiationException(Unable to load myDriver:+e.toString());
  }

I am getting this error below:

Exception java.lang.InstantiationException: Unable to load 
myDriver:java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDriver 
I am using tomcat 3.3 here...

Can some one suggest me where i have to include the driver files to make it work... 
And the environment variable CLASSPATH 
=C:\jakarta-tomcat-3.3\lib\common\servlet.jar;C:\jakarta-tomcat-3.3\webapps\examples\WEB-INF\classes;C:\Program
 Files\Sybase\SQL Anywhere 7\java\jdbcdrv.zip;c:\Program 
Files\Sybase\jConnect\classes\jconn2.jar

Thanks
Praveen



Path not found

2001-12-21 Thread Praveen Potineni

Hi all,
I had some problems with tomcat 4.0. So i installed tomcat 4.0.1 and now when i try to 
set it up and start tomcat, i get The system cannot find the path specified in the 
command window where i executed:
%CATALINA_HOME%\bin\startup
also tried: 
%CATALINA_HOME%\catalina\src\bin\startup

Both of these commands didn't work. I checked the CATALINA_HOME env variable and it is 
set to C:\jakarta-tomcat-4.0

Does anyone have an idea as to what the problem is.. and where i'm doing a mistake...
Looks like there are some significant changes made from tomcat 4.0 to 4.0.1.

Thanks in advance
Praveen



Re: Path not found

2001-12-21 Thread Praveen Potineni

Hi Ian,
I think the env variable is also fine. It is set to
C:\jakarta-tomcat-4.0.1\catalina\src

and when i execute %CATALINA_HOME%\bin\startup the tomcat window just popped
up and closed.
Any ideas...

Thanks
Praveen

- Original Message -
From: ian silvester [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 10:21 AM
Subject: Re: Path not found


 Perhaps your new install of 4.0.1 is using a path of
 c:\jakarta-tomcat-4.0.1, in which case your env. var. needs updating.

 ian


 - Original Message -
 From: Praveen Potineni [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, December 21, 2001 3:18 PM
 Subject: Path not found


 Hi all,
 I had some problems with tomcat 4.0. So i installed tomcat 4.0.1 and now
 when i try to set it up and start tomcat, i get The system cannot find
the
 path specified in the command window where i executed:
 %CATALINA_HOME%\bin\startup
 also tried:
 %CATALINA_HOME%\catalina\src\bin\startup

 Both of these commands didn't work. I checked the CATALINA_HOME env
variable
 and it is set to C:\jakarta-tomcat-4.0

 Does anyone have an idea as to what the problem is.. and where i'm doing a
 mistake...
 Looks like there are some significant changes made from tomcat 4.0 to
4.0.1.

 Thanks in advance
 Praveen



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



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




Re: Path not found

2001-12-21 Thread Praveen Potineni

I think i am missing some files in my new installation of tomcat 4.0.1 coz
in the version 4.0 there was servlet.jar in common\lib.

There is no common folder under jakarta-tomcat-4.0.1.

I think similarly some more files like xeres.jar also is missing. What are
all the files required to successfully run aa JSP application in tomcat.

Thanks in advance
Praveen

- Original Message -
From: ian silvester [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, December 21, 2001 11:16 AM
Subject: Re: Path not found


 Ah - as I understand it the env var CATALINA_HOME should be set to just
 c:\jakarta-tomcat-4.0.1

 For simplicity and greater visibility, its probably worth opening a DOS
box
 (assuming you're on Windows of course) and browse to
 c:\jakarta-tomcat-4.0.1\bin, then type 'startup' from there. That way
you'll
 get to see the error messages it throws.

 ian

 - Original Message -
 From: Praveen Potineni [EMAIL PROTECTED]
 To: Tomcat Users List [EMAIL PROTECTED]
 Sent: Friday, December 21, 2001 4:01 PM
 Subject: Re: Path not found


  Hi Ian,
  I think the env variable is also fine. It is set to
  C:\jakarta-tomcat-4.0.1\catalina\src
 
  and when i execute %CATALINA_HOME%\bin\startup the tomcat window just
 popped
  up and closed.
  Any ideas...
 
  Thanks
  Praveen
 
  - Original Message -
  From: ian silvester [EMAIL PROTECTED]
  To: Tomcat Users List [EMAIL PROTECTED]
  Sent: Friday, December 21, 2001 10:21 AM
  Subject: Re: Path not found
 
 
   Perhaps your new install of 4.0.1 is using a path of
   c:\jakarta-tomcat-4.0.1, in which case your env. var. needs updating.
  
   ian
  
  
   - Original Message -
   From: Praveen Potineni [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Friday, December 21, 2001 3:18 PM
   Subject: Path not found
  
  
   Hi all,
   I had some problems with tomcat 4.0. So i installed tomcat 4.0.1 and
now
   when i try to set it up and start tomcat, i get The system cannot
find
  the
   path specified in the command window where i executed:
   %CATALINA_HOME%\bin\startup
   also tried:
   %CATALINA_HOME%\catalina\src\bin\startup
  
   Both of these commands didn't work. I checked the CATALINA_HOME env
  variable
   and it is set to C:\jakarta-tomcat-4.0
  
   Does anyone have an idea as to what the problem is.. and where i'm
doing
 a
   mistake...
   Looks like there are some significant changes made from tomcat 4.0 to
  4.0.1.
  
   Thanks in advance
   Praveen
  
  
  
   --
   To unsubscribe:   mailto:[EMAIL PROTECTED]
   For additional commands: mailto:[EMAIL PROTECTED]
   Troubles with the list: mailto:[EMAIL PROTECTED]
  
  
 
  --
  To unsubscribe:   mailto:[EMAIL PROTECTED]
  For additional commands: mailto:[EMAIL PROTECTED]
  Troubles with the list: mailto:[EMAIL PROTECTED]
 
 



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



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




Hi Vinay and Wentzel

2001-07-09 Thread praveen



Hi vinay and Wentzel

SUCCES finally i got break 
through in TOMCATconfiguration and connectivity with ORACLE8i on LINUXThanks 
a lot for u r valuble help yaarbut all this is on port 8080 only i didnt 
integrate with apache (i didnt tried till now)but now i have confidence that i 
can do that by u r support after i got the databse connectivity first i am 
writing this mail to u..once again thanks a lot .Now integration with apache 
..for virtual sites and integration with SSL is left from tomorrow i will 
start that work..

Bye for now
Thanks and regards


  


Hi Vinay and Wentzel

2001-07-09 Thread praveen




Hi vinay and Wentzel

SUCCES finally i got break 
through in TOMCATconfiguration and connectivity with ORACLE8i on LINUXThanks 
a lot for u r valuble help yaarbut all this is on port 8080 only i didnt 
integrate with apache (i didnt tried till now)but now i have confidence that i 
can do that by u r support after i got the databse connectivity first i am 
writing this mail to u..once again thanks a lot .Now integration with apache 
..for virtual sites and integration with SSL is left from tomorrow i will 
start that work..

Bye for now
Thanks and regards
Praveen

  - Original Message - 
  From: 
  Vinay Menon 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, July 07, 2001 5:21 
  PM
  Subject: Re: need some help on 
  tomcat
  
  dump your oracle drivers [classes12.zip or 
  classes111.zip] inTOMCAT_HOME/lib/apps 
  or under TOMCAT_HOME/webapps/yourwebappname/WEB-INF/lib.
  
  Vinay
  
  
  
  1. If you have a jar file you want to share across all your webapps, just 
  put it under TOMCAT_HOME/lib/apps
  2. If you have a jar file you want to share across all your webapps and the 
  servlet engine, just put it under TOMCAT_HOME/lib/common
  3. If you have class files that you want to share across all your webapps, 
  just put it under any folder you wish to but make sure that the System 
  property 'org.apache.tomcat.apps.classpath' points to this directory.
  4. If you have class files that you want to share across all your webapps 
  and the servlet engine, just put it under any folder you wish to but make sure 
  that the System property 'org.apache.tomcat.common.classpath' points to this 
  directory.
  
- Original Message - 
From: 
praveen 
To: [EMAIL PROTECTED] 

Sent: Saturday, July 07, 2001 7:22 
AM
Subject: need some help on tomcat


Hi
I am very new to linux 
environment..Recently i downloaded tomcat and installed on my linuxbox...Now 
i want to configure connectivity between tomcat and oracle 
database...Anybody pls help me out how to do this and the classpath 
variables and any other settings to configure...
Pls do needful...

Thanks  Regards
Praveen


Hi vinay........

2001-07-08 Thread praveen



Hi vinay 
Thanks a lot for u r helpful response 
...I installed Tomcat 3.2 and jdk1.2.2 ...
U told me copy classes12.zip in 
TOMCAT_HOME/lib/apps but apps directory is not in lib .So can 
i copy that zip file directly in TOMCAT_HOME/lib directory? and one more 
thingfor classpath writing there are two files workers.properties and 
wrappers.properties are there with classpath parameterin 
TOMCAT_HOME/conf dir..So which file i have to edit.can u send me the 
classspath string for oracle connectivity ...and where to write that 
one...
I will wait for u r response

Thanks  Regards
Praveen


- Original Message - 

  From: 
  Vinay Menon 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Saturday, July 07, 2001 5:21 
  PM
  Subject: Re: need some help on 
  tomcat
  
  dump your oracle drivers [classes12.zip or 
  classes111.zip] inTOMCAT_HOME/lib/apps 
  or under TOMCAT_HOME/webapps/yourwebappname/WEB-INF/lib.
  
  Vinay
  
  
  
  1. If you have a jar file you want to share across all your webapps, just 
  put it under TOMCAT_HOME/lib/apps
  2. If you have a jar file you want to share across all your webapps and the 
  servlet engine, just put it under TOMCAT_HOME/lib/common
  3. If you have class files that you want to share across all your webapps, 
  just put it under any folder you wish to but make sure that the System 
  property 'org.apache.tomcat.apps.classpath' points to this directory.
  4. If you have class files that you want to share across all your webapps 
  and the servlet engine, just put it under any folder you wish to but make sure 
  that the System property 'org.apache.tomcat.common.classpath' points to this 
  directory.
  
- Original Message - 
From: 
praveen 
To: [EMAIL PROTECTED] 

Sent: Saturday, July 07, 2001 7:22 
AM
Subject: need some help on tomcat


Hi
I am very new to linux 
environment..Recently i downloaded tomcat and installed on my linuxbox...Now 
i want to configure connectivity between tomcat and oracle 
database...Anybody pls help me out how to do this and the classpath 
variables and any other settings to configure...
Pls do needful...

Thanks  Regards
Praveen


need some help on tomcat-oracle

2001-07-06 Thread praveen



Hi
I am very new to linux 
environment..Recently i downloaded tomcat and installed on my linuxbox...Now i 
want to configure connectivity between tomcat and oracle database...Anybody pls 
help me out how to do this and the classpath variables and any other settings to 
configure...
Pls do needful...

Thanks  Regards
Praveen


please unsubscribe me

2001-05-05 Thread praveen



please unsubscribe me