RE: Plain text passwords printed to catalina.out

2005-08-31 Thread Movva, Sudhir
Your logging is not configured properly. 
Setup the log4j.properties and this should take care of that issue.
-Sudhir.

-Original Message-
From: Evan Dillon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 31, 2005 1:27 PM
To: tomcat-user@jakarta.apache.org
Subject: Plain text passwords printed to catalina.out

Passwords submitted via password form fields over SSL are showing up in
plain text in my catalina.out. Is this something I should be concerned
about and, more importantly, something I can turn off? 

When any POST form is submitted (port 80 or 443,) The plain-text form
data is in my catalina.out. I see the following in catalina.out when a
login form is submitted via SSL(where ... is the actual password) It
doesn't seem to happen while logging in to the tomcat-admin app over
localhost:8080, only with apps accessed over apache/mod_jk (actual hex
has been obfuscated)
 
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | .4.?.=app_id=6u 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  | ser=USERNAMEpas 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00  | sword=XX 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00  | Xsubmit=sub 6d 69 74 
 
Catalina.out has the following permissions:
-rw--- 1 root root 902 Aug 31 09:04 catalina.out
 
Thanks
 
Evan


Tomcat 5.0.30
Apache 1.3.33
latest mod_jk





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



Issue with JK2 IIS 5.0 and Tomcat 4.1.30

2004-07-02 Thread Sudhir Sudhir
Hello All,

I am having a strange issue in that when I user Jk2 connector for IIS
(isapi_redirector2.dll). Everything works fine in the sense that all my
requests are by redirected to tomcat from the web server etc.

 

But my app passes chunks of XML back and forth between requests and when I
reach that part of the application the request for some reason the XML block
is being truncated? And as the XML block gets bigger it sometimes brings
down the IIS server!!!

 

So I was wondering if there are any known issues with Jk2 connector in terms
of size of data. Or is there some other setting that I am missing? The
application works fine if I by pass IIS and hit the Tomcat directly.

 

Help will be appreciated.

 

Thanks,

Sudhir

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



Issue with JK2 IIS 5.0 and Tomcat 4.1.30

2004-07-01 Thread Sudhir Sudhir
 
Hello All,
I am having a strange issue in that when I user Jk2 connector for IIS
(isapi_redirector2.dll). Everything works fine in the sense that all my
requests are by redirected to tomcat from the web server etc.
 
But my app passes chunks of XML back and forth between requests and when I
reach that part of the application the request for some reason the XML block
is being truncated? And as the XML block gets bigger it sometimes brings
down the IIS server!!!
 
So I was wondering if there are any known issues with Jk2 connector in terms
of size of data. Or is there some other setting that I am missing? The
application works fine if I by pass IIS and hit the Tomcat directly.
 
Help will be appreciated.
 
Thanks,
Sudhir


Re: Re: Tom cat set up problem

2003-10-22 Thread Sudhir
Thanks KOk and Lim...I got it working

Sudhir H

On Thu, 23 Oct 2003 Kok Wei, Koh wrote :
Hi Sudhir.

You may give 4.1.24 a shot. I used it with jdk1.3.x and it worked fine.

Lim is right, javax.xml.* is specific to jdk1.4 and above.

UR Friend wrote:
Thanks for the info...can you tell me which version of Tomcat will work with this 
version. Is it possible to include any jar file and get it working..

Sudhir H

On Wed, 22 Oct 2003 Lim Huat Heng wrote :

I guess the main problem is your jdk is version 1.3.1. If I am not wrong the
javax.xml.* only in jdk1.4 above.Try to get jdk1.4.1 or preferably jdk1.4.2,
then change your JAVA_HOME to point to the new jdk location. hope it helps.

- Original Message -
 From: UR Friend [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 22, 2003 4:40 PM
Subject: Tom cat set up problem


Hi!

I am trying to set up tomcat...tried to set-up following env var

It is installed in

C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12



SET JAVA_HOME=C:\jdk1.3.1_01
SET CATALINA_HOME=C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12

When tried to run, I got the following exception. Am I running it in a
proper manner...??


C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12\bincatalina run
Using CATALINA_BASE:   C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12
Using CATALINA_HOME:   C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12
Using CATALINA_TMPDIR: C:\jakarta-tomcat-5.0.12\jakarta-tomcat-5.0.12\temp
Using JAVA_HOME:   C:\jdk1.3.1_01
[ERROR] Digester - -Begin event threw error java.lang.NoClassDefFoundError:
jav
ax/xml/transform/Sourcejava.lang.NoClassDefFoundError:
javax/xml/transform/Sour
ce
at
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute
(MbeansDescriptorsDOMSource.java:130)
at
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDes
criptors(MbeansDescriptorsDOMSource.java:120)
at org.apache.commons.modeler.Registry.load(Registry.java:819)
at
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931
)
at
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:909
)
at
org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:
1646)
at
org.apache.catalina.mbeans.MBeanUtils.clinit(MBeanUtils.java:154)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.clinit(
GlobalResourcesLifecycleListener.java:112)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.j
ava:253)
at org.apache.commons.digester.Rule.begin(Rule.java:200)
at
org.apache.commons.digester.Digester.startElement(Digester.java:1273)

at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXP
arser.java:459)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Abst
ractXMLDocumentParser.java:221)
at
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBi
nder.java:595)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(XMLDocumentFragmentScannerImpl.java:747)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XM
LDocumentFragmentScannerImpl.java:329)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:525)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.jav
a:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.j
ava:1175)
at org.apache.commons.digester.Digester.parse(Digester.java:1548)
at org.apache.catalina.startup.Catalina.load(Catalina.java:512)
at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:258)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:391)

java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
jav
ax/xml/transform/Source
at
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.execute
(MbeansDescriptorsDOMSource.java:130)
at
org.apache.commons.modeler.modules.MbeansDescriptorsDOMSource.loadDes
criptors(MbeansDescriptorsDOMSource.java:120)
at org.apache.commons.modeler.Registry.load(Registry.java:819)
at
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:931
)
at
org.apache.commons.modeler.Registry.loadDescriptors(Registry.java:909
)
at
org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:
1646)
at
org.apache.catalina.mbeans.MBeanUtils.clinit(MBeanUtils.java:154

RE: JSP vs C#/.NET

2003-09-02 Thread Sudhir Movva
Please do not make this a politics discussion list. Decisions to use a
technology is made based on many factors (which technology suits the
requirements and preference of an enterprise as a whole, availability of
resources in that technology, support provided, confidence of the
customers... many more). Bias towards Java or MS doesn't have to do with
decision making, as it's not one person's decision.

-Sudhir.


-Original Message-
From: Jerry Birchler [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 01, 2003 11:02 PM
To: Tomcat Users List
Subject: RE: JSP vs C#/.NET

M$ thinks they can take on the US justice department and doesn't mind
offshoring jobs from the US. I'd say that the eventual backlash of that
political reality will hurt them if the majority of American people believe
that can they elect people who will represent them--That could be a stretch.

Otherwise, .Net will take hold and dominate, especially if Sun Microsystems
and IBM does nothing to improve the performance of the virtual machine, and
the US Congress does nothing to protect its citizens from the exploits of
globalization. Oddly enough, the few IT jobs I see in America these days are
both .Net and Java.

I love Java, but I am willing to learn .Net as means to survive a hostile
market. In fact, I have already written my share of C# and VB.NET. It makes
me sick, but I'm not going to obselete myself. Let's just hope that the US
government goes after Linux for the obvious reasons and that this push
results in the advances that us Java lovers  would all benefit from.

-Original Message-
From: Xingqun Jiang [mailto:[EMAIL PROTECTED]
Sent: Monday, September 01, 2003 4:12 PM
To: Tomcat Users List
Subject: Re: JSP vs C#/.NET


Sorry, guys,

I posted this messages a few days ago. And I don't why it comes up again.

Xingqun


- Original Message -
From: Xingqun Jiang [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, August 25, 2003 4:16 PM
Subject: JSP vs C#/.NET


Hi,

I am a pure java supporter. I don't like C# or .Net because of Microsoft's
monopolization (sorry, kind of prejudice). However, I notice that more and
more people pick up C#/.NET due to their new advantages. I also heard that
C# is much faster than Java. My concern is, can Java/JSP still be
competitive to Microsoft's products? I don't like to see java be beaten by
Microsoft since it borrowed so many ideas from java to make up the so-called
C#.

ok, feel free to talk about this topic.

Lance


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


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

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



RE: urgent

2003-08-14 Thread Sudhir Movva
i had placed the class file under 
webapps/call/web-unf/classes/callreg
This must be webapps/call/WEB-INF/classes
Post the package structure you are currently using.
Also post the error message from the logs. And file where this error is
thrown.
-Sudhir.

-Original Message-
From: shaman jain [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 14, 2003 8:41 AM
To: [EMAIL PROTECTED]
Subject: urgent

hi there,
i had made a bean(URLBean ) which is used to connect to database 
and another jar file--tds-- which act as a bridge
but i am not able to configure the server and it gives me error, 
bean not found
i had placed the class file under 
webapps/call/web-unf/classes/callreg
and jar file under webapps/call.web-inf/lib
pls help me out as it is very very very urgent
thanx in advance
regards
Shaman



___
Meet your old school or college friends from
1 Million + database...
Click here to reunite www.batchmates.com/rediff.asp



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

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



RE: Hello Sir, Madam,Miss

2003-07-31 Thread Sudhir Movva
Post your web.xml and server.xml files.

-Original Message-
From: Felix gt [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 31, 2003 2:57 PM
To: [EMAIL PROTECTED]
Subject: Hello Sir, Madam,Miss

Hello Sir, Madam, Miss
Sorry because Disturb your time to reading my Email

i have the Question About Setting the tomcat.
my Question is 
i have Open new Folder in ROOT Folder call Book, in
this Book Folder i have Copy all the JSP File in to
this Folder. after i Finish Copy, i Type
http://localhost:8080/Book/AdminBook.jsp, my Browser
come out this Error :
The server encountered an internal error () that
prevented it from fulfilling this request. What is
This Means for?
how to solve this Problem?? can u teach me how to
Solve it? Please.

Thanks for Reading my Email

Wait for Reply.



__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

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



RE: digest/form authentication

2003-07-24 Thread Sudhir Movva
If everyone using those, responds we would have a plethora of mails :).
Please post your question.

-Original Message-
From: Hirsch, Barbara [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2003 3:25 PM
To: 'Tomcat Users List'
Subject: digest/form authentication

Is anyone using digest authentication?

Or form authentication?

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

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



RE: configuring an ODBC database with JNDI

2003-07-24 Thread Sudhir Movva
First of all you need a jdbc driver to connect to your database (inicio)
using Java. If there is one...
Check this out
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-how
to.html

-Original Message-
From: dein_metzger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2003 8:44 PM
To: [EMAIL PROTECTED]
Subject: configuring an ODBC database with JNDI

I am new to the list. and to JSP and JavaBeans
  I would like to know how i configure an ODBC database called inicio 
 to work with JNDI, and how I use it in my JSP / Javabean.  (I am using 
 tomcat 4.1 on windows xp)

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18/7/2003
 


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

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



RE: configuring an ODBC database with JNDI

2003-07-24 Thread Sudhir Movva

Tomcat doesn't provide any drivers. 
Driver is something you get from your database vendor or a third party. If
it is not provided or you don't find one, you can use the JDBC-ODBC Bridge
driver provided by sun that allows your programs to access databases via
Microsoft's ODBC on windows. 
Check http://servlet.java.sun.com/products/jdbc/drivers to see if there is a
driver available for the database you are using.
-Sudhir.



-Original Message-
From: dein_metzger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2003 9:20 PM
To: 'Tomcat Users List'
Subject: RE: configuring an ODBC database with JNDI

hi.
I was thinking that tomcat comes with a native jdbc driver... where I
can get one for winxp?
how can I get certified if there is one compatible driver?

thanks in advance,
inaciow

-Original Message-
From: Sudhir Movva [mailto:[EMAIL PROTECTED] 
Sent: quinta-feira, 24 de julho de 2003 22:03
To: 'Tomcat Users List'
Subject: RE: configuring an ODBC database with JNDI


First of all you need a jdbc driver to connect to your database (inicio)
using Java. If there is one... Check this out
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples
-how
to.html

-Original Message-
From: dein_metzger [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2003 8:44 PM
To: [EMAIL PROTECTED]
Subject: configuring an ODBC database with JNDI

I am new to the list. and to JSP and JavaBeans
  I would like to know how i configure an ODBC database called inicio 
 to work with JNDI, and how I use it in my JSP / Javabean.  (I am using 
 tomcat 4.1 on windows xp)

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18/7/2003
 


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

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

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18/7/2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.502 / Virus Database: 300 - Release Date: 18/7/2003
 


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

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



RE: How do we get an erro.jsp when an exception occured in the test.j sp

2003-07-21 Thread Sudhir Movva
Try using 
% response.sendRedirect(yourerrorpage.jsp); %
in catch block

-Sudhir.

-Original Message-
From: Srinivasu Gandu [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 21, 2003 3:27 PM
To: 'Tomcat Users List'
Subject: How do we get an erro.jsp when an exception occured in the test.j
sp

My web.xml contains error page tag as below
error-page 
  exception-typejava.lang.Exception/exception-type
  location/error/error.jsp/location
/error-page
-
Here is my test.jsp..
%@ page import=java.util.* %
%@ page import=java.io.* %
%@ page errorPage=/error/error.jsp %

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
head
%  
try{
//Do some logic to get the some variables..


%
/head

!-- display the variables --
tabletr
td width=38 align=left valign=topnbsp;/td
td width=10 align=left valign=topnbsp;/td
td width=946 align=left valign=top
class=heading%=test%/td
/tr/table   

%
}catch(Exception e){
e.printStackTrace();
}
%
/html



When an exception occures in the test.jsp how do I pass it to the
error.jsp I want to display this exception in the jsp what ever it might
be..
will appreciate the response! I am using tomcat4.1.24 on win98.
Thanks - srini.

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

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



RE: Pl can anybody give me the solution

2003-07-17 Thread Sudhir Movva
What do you have in your Login.jsp?

-Original Message-
From: Amit Khedkar [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 17, 2003 8:42 AM
To: [EMAIL PROTECTED]
Cc: Amit Khedkar
Subject: Pl can anybody give me the solution

Hello Sir/Madam

I am using Tomcat 4.1

I have created a web application having context as gm.
All classes are placed at appropriate places, and jsps are at approprate

places.
In this application we are using struts frame work.

I copied
a) struts.jar
b) commons-beanutils.jar
c) commons-collections.jar
d) commons-digester.jar
e) commons-validator.jar
in my web application's WEB-INF/lib

And placed *.tld files related to struts in my application's WEB-INF
folder.

placed web.xml and struts-config.xml in WEB-INF folder.

and when i run the application and click the Login.jsp i get following
exception


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

exception

javax.servlet.ServletException: Cannot inherit from final class
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)

 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)

 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)

 at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)

 at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)

 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)

 at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

 at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)

 at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)

 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)

 at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)

 at

org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)

 at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

 at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
 at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
 at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)

 at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:380)

 at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)

 at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:533)

 at java.lang.Thread.run(Thread.java:536)


root cause

java.lang.VerifyError: Cannot inherit from final class
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
 at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
 at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1664)

 at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:953)

 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1394)

 at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1274)

 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
 at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatcher(Unkn
own

Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.(XMLDocumentFragmentSc
annerImpl.java:248)

 at
org.apache.xerces.impl.XMLDocumentScannerImpl.(XMLDocumentScannerImpl.java:2
45)

 at org.apache.xerces.impl.XMLNSDocumentScannerImpl.(Unknown Source)
 at
org.apache.xerces.parsers.IntegratedParserConfiguration.createDocumentScanne
r(Unknown

Source)
 at
org.apache.xerces.parsers.DTDConfiguration.(DTDConfiguration.java:366)
 at

SSL configuration for Apache HTTP server

2003-07-16 Thread Sudhir Kumar
hello,
How to configure SSL in apache HTTP server. Apache and tomcat are
integrated.

please help

thanks and regards
Sushir


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



RE: Session timeout

2003-07-16 Thread Sudhir Movva
The default setting for session timeout should be done in 
%CATALINA_HOME%/conf/web.xml 
Look for the tag session-config

-Sudhir.

-Original Message-
From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 16, 2003 10:47 AM
To: 'Tomcat Users List' (E-mail)
Subject: Session timeout

Hi everyone,

How do I configure the session timeout value in Tomcat. I don't want to use
code to do it.

Any help is appreciated.

Thanks,
Tarek M. Nabil

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

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



RE: Session timeout

2003-07-16 Thread Sudhir Movva
For application specific setting modify web.xml file of your application by
adding 
session-config
session-timeouttime in ms/session-timeout
 /session-config

-Sudhir.

-Original Message-
From: Tarek M. Nabil [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 16, 2003 10:47 AM
To: 'Tomcat Users List' (E-mail)
Subject: Session timeout

Hi everyone,

How do I configure the session timeout value in Tomcat. I don't want to use
code to do it.

Any help is appreciated.

Thanks,
Tarek M. Nabil

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

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



RE: tomcat-3.3.2 dev 12. July 2003

2003-07-15 Thread Sudhir Movva

Check and see if you have commons-logging-api.jar under the
%CATALINA_HOME%/common/lib directory. If you don't, you can download one at
http://mirrors.ccs.neu.edu/Apache/dist/jakarta/commons/logging/binaries/

-Sudhir.

-Original Message-
From: Power-Netz (Schwarz) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 7:22 AM
To: tomcat liste
Subject: tomcat-3.3.2 dev 12. July 2003


[EMAIL PROTECTED] /java]# less /var/log/tomcat.log
Exception in thread main java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
at
org.apache.tomcat.util.compat.Jdk11Compat.clinit(Jdk11Compat.java:77)
at org.apache.tomcat.startup.Main.clinit(Main.java:153)
[EMAIL PROTECTED] /java]# cd tomcat

something is missing in the tomcat.jar .
Has someone a replacement for it?


Ihr Support-Team

 POWER-NETZ(r)
Full-Service-Provider 


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

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



RE: Servlet Context Listener problem...

2003-07-15 Thread Sudhir Movva
If you are using ant, this target can validate your web.xml and see if the
listener is in the right place according to the 2.3 specification. Run the
target and check it out.

target name=validate-web-xml description=validates the web.xml file
xmlvalidate file=WEB-INF/web.xml warn=true
dtd publicid=-//Sun Microsystems, Inc.//DTD Web Application
2.3//EN
location=http://java.sun.com/dtd/web-app_2_3.dtd; /
/xmlvalidate
/target

-Sudhir.

-Original Message-
From: John Turner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 12:27 PM
To: Tomcat Users List
Subject: Re: Servlet Context Listener problem...


Is declared before anything else a literal statement?  Are you following 
the DTD?  listener comes after several other elements, it can't come 
first unless you don't use any of the preceeding elements at all.

John

On Tue, 15 Jul 2003 09:27:39 +0530, Mufaddal Khumri [EMAIL PROTECTED] 
wrote:

 Yes , my listener has been declared before anything else under  web-app 
 .. the problem persists .. any clues ?
 On Tuesday, July 15, 2003, at 07:00  AM, Januski, Ken wrote:

 Listeners must be declared before any servlets in web.xml. I'd check  
 that
 first.


 -Original Message-
 From: Mufaddal Khumri [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 14, 2003 6:41 AM
 To: Tomcat List
 Subject: Servlet Context Listener problem...


 Hi:

 I implemented ServletContextListener in my class. I then wrote the xml
 in the web.xml file and started tomcat. The error tomcat threw tells me
 that it did not recognize the listener and listener-class elements ?? i
 have them declared in the web.xml as:

 web-app
  
  !-- ServletContextListener --
  listener
  listener-class
  
 com.wavesinmotion.cw.classes.jsphelpers.CourseWizardContextListener
  /listener-class
  /listener
 /web-app

 Any ideas where I am going wrong ?
 Thanks.

 Tomcat threw this error below:

 SEVERE: Parse Error at line 10 column 12: Element type listener must
 be declared.
 org.xml.sax.SAXParseException: Element type listener must be  
 declared.
  at
 org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Erro 
 r
 HandlerWrapper.java:232)
  at
 org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.ja 
 v
 a:173)
  at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.ja 
 v
 a:371)
  at
 org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.ja 
 v
 a:305)
  at
 org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(XMLDTDVal 
 i
 dator.java:1833)
  at
 org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator 
 .
 java:724)
  at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement( 
 X
 MLDocumentFragmentScannerImpl.java:759)
  at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi 
 s
 patcher.dispatch(XMLDocumentFragmentScannerImpl.java:1477)
  at
 org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLD 
 o
 cumentFragmentScannerImpl.java:329)
  at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java: 
 5
 25)
  at
 org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java: 
 5
 81)
  at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
  at
 org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.jav 
 a
 :1175)
  at org.apache.commons.digester.Digester.parse(Digester.java:1495)
  at
 org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConf 
 i
 g.java:282)
  at
 org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
  at
 org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig. 
 j
 ava:243)
  at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS 
 u
 pport.java:166)
  at
 org.apache.catalina.core.StandardContext.start(StandardContext.java:356 
 7
 )
  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:2189)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
  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.ja 
 v
 a:39)
  at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso 
 r
 Impl.java:25

HttpServlet.init() Method called twice.

2003-07-11 Thread Sudhir Movva
Hi! 
I have a servlet which is loaded when tomcat is started. The servlet uses
the resource, which is configured in the server.xml, to get a database
connection.  I have two weird problems here.
1. The init method in my servlet is called twice. First time it is able to
get the connection and load the data from the database.
2. The second time I get
 
java.sql.SQLException: Cannot load JDBC driver class 'null'
at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.jav
a:529)
at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:3
12).

I have classes12.jar file in the common/lib and have all the xml parsers
classes required. 
Ideas?

-Sudhir.


Concurrent users accesing JSP application

2003-03-19 Thread Sudhir Kumar

hello,
I am running a JSP application with tomcat 4.1.12. It works fine when
accessed individually. But when more than 3 users try to access the same
page or link simultaniously,it behaves abnormally, sometimes the tomcat
crashes, sometimes i get some JParser exception. I have defined my own
context in server.xml. Is there any configuration to be done in server.xml
to allow maximun number of concurrent users ?  The tomcat i am using is
freely down loaded from the net and is an evaluation copy.

Can anyone help me in this regard

Thanks and best regards
Sudhir


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



RE: Concurrent users accesing JSP application

2003-03-19 Thread Sudhir Kumar
hi Tim,
Thanks for the reply..
I am using JDBC-ODBC bridge, the JSP's are thread safe and the block of
code accessing the database are Syncronized. Will that be sufficient to say
that my code is thread safe ? or will i have to do anything extra ?

thanks
Sudhir

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 7:12 PM
To: Tomcat Users List
Subject: Re: Concurrent users accesing JSP application


All tomcat binaries are free and there are no evaluations. Make sure
someone isn't swindling you.

As for concurrent access, tomcat can handle many concurrent users. The
only restriction is your code (or code your using) must be thread safe.

If you are using ODBC (JDBC-ODBC bridge) - you will probably be very
unstable since ODBC isn't very thread friendly with respect to java.

If you are using 3rd party code, make sure it is thread safe.


-Tim

Sudhir Kumar wrote:
   hello,
   I am running a JSP application with tomcat 4.1.12. It works fine when
 accessed individually. But when more than 3 users try to access the same
 page or link simultaniously,it behaves abnormally, sometimes the tomcat
 crashes, sometimes i get some JParser exception. I have defined my own
 context in server.xml. Is there any configuration to be done in server.xml
 to allow maximun number of concurrent users ?  The tomcat i am using is
 freely down loaded from the net and is an evaluation copy.

 Can anyone help me in this regard

 Thanks and best regards
 Sudhir



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


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



Multiple hits on tomcat

2003-03-18 Thread Sudhir Kumar
hi,
i have a jsp application. each page has got more than one links. if i
click on one link and before it actually opens that page, i will click on
the other link.. and keep doing it continuously, The tomcat crashes, It
gives Invalid handle
exception, soemtimes it gives null pointer exception. How can i stop this.
Please help..

Thanks and best regards
Sudhir


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



Browser showing the directory structure

2003-03-13 Thread Sudhir Kumar

Hello,
When i open my jsp application in Netscape browser on a Unix machine, 
it
is displaying the entire directory structure. How can i avoid this ? Do i
have to do any configuration in server.xml ? please help ..

thanks and regards
sudhir


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



SSLException

2003-02-26 Thread Sudhir Kumar

Hi,
i had generated the *.keystore file by running the command as given in
tomcat-docs. i have configured my server.xml file also as given in the docs.
but when i run http://localhost:8443 in the browser, it shows a window
telling that it is going to enter a secured website, when i say ok, it shows
one more dialog box showing that , The company which has provided the
certificate is untrusted if i say yes again it opens the default index page
of tomcat. but on the tomcat windo i can see Exception being thrown. What is
the reason ? Is it necessary to buy the certificate from a third party like
verisign ?


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



JSP to JSP

2002-11-12 Thread Sudhir Kumar
i need to communicate between two jsp's which are running on 2 remote
machines. both the jsp's are running on tomcat. i need to pass some data
between these jsp's. both the jsp's are connected to two seperate databases.
is it possible to get the data of a remote database by invoking the jsp
running at that location ???. Any help in this regard will be helpfull..

thanks in advance
sudhir


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org




JINtegra-tomcat-servlets

2002-08-01 Thread Sudhir Kumar


 hi,
i am using JIntegra to communicate between Vb and java. when i request for
data from a perticular method in vb,the vb server method calls a java class,
which in turn calls a servlet running on tomcat4.1, this servlet will call
another servlet running on a similar setup in another machine. using url
connection. Now my problem is , instead of the data i am getting an
exception on tomcat console telling  HTTP 500 error. what might be the
reason./.

any help in this regard will be appreciated
thanks
Sudhir


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




SOAP

2002-07-24 Thread Sudhir Kumar


I ahve a VB client server aplication running on my machine. Now i need to
communicate with a similar VB application running on a remote machine. Can i
use SOAP to achive this. if yes, is there any code change required in the
existing one??
Any other better ways of achiving this?? Any help in this regard will be
appreciated..

Thanks in advance..
Sudhir


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




java help

2002-06-11 Thread Sudhir Kumar


hi,
 i hjave a situation where in which i invoke help files through a click of
a button.
i am using a helpbreeze to develop help files. My problem is when the help
is open i need to
work on my application. so i made it non modal. but if i click on help
button again it is opening
another window of help.this should not happen. how will i control it? how
can i make this help file close
by pressing escape key ?? please help..

thanks in advance.
SKN


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




J2EE

2002-05-20 Thread Sudhir Kumar

hi,
This quiestion may look very dumb, but still i want to know , What is this
J2EE consists of?? What are the things which this Technology covers?? WHen
can u say that ur application is built on J2EE technology ???

Thanks in advance
SKN


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




batch file

2002-05-20 Thread Sudhir Kumar

 hi,
i have a an application which runs when i click on a batch file. But my
problem is, once i click on the batch file and the application starts
running, the user can come back and click on this batch file again to create
another instance of this application. How can i stop this ??

Thanks in advance.
SKN


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




session expiree

2002-04-22 Thread Sudhir

Hi,

Can anybody tell me if the user closed the window without logging out but pressing the 
X button of the browser, how do we close the
session.

Thanks and Best Regards,

Venkata Sudhir Kurapati


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




RE: Problem with SQL

2002-04-08 Thread Sudhir Kumar

Ya.. it is the same JDBC-ODBC bridge.. any solution for this ??

-Original Message-
From: Gurmeet [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 11:58 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Problem with SQL


Are u using the same JDBC-ODBC bridge in case of oracle and Access also?

Anyway this problem comes becuase JDBC-ODBC bridge drivers are not
serialisable.

Gurmeet

-Original Message-
From: Sudhir Kumar [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 08, 2002 9:07 AM
To: 'Tomcat Users List'
Subject: Problem with SQL



 Hi,
I have a problem with the SQL Database. I have connected to SQL server
through JDBC-ODBC bridge. In the code since i need to fetch the data inside
a number of loops one inside the other , i have used 5 different resultset
objects , 5 statement onjects  and a single connection object. In each loop
i am fetching data from different tables. The code is working fine with
Oracle 8 and MS Access Database. But SQl is throwing this exception, Can any
one help me out...??
 The Exception is :
 java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Connection is
busy with results for another hstmt
Thanks in advance..
Sudhir


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




Problem with SQL

2002-04-07 Thread Sudhir Kumar


 Hi,
I have a problem with the SQL Database. I have connected to SQL server
through JDBC-ODBC bridge. In the code since i need to fetch the data inside
a number of loops one inside the other , i have used 5 different resultset
objects , 5 statement onjects  and a single connection object. In each loop
i am fetching data from different tables. The code is working fine with
Oracle 8 and MS Access Database. But SQl is throwing this exception, Can any
one help me out...??
 The Exception is :
 java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Connection is
busy with results for another hstmt
Thanks in advance..
Sudhir


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




Strange problem in Tomcat 3.2.1

2001-11-03 Thread sudhir agrawal

Hi all,

I am facing a very strange problem with tomcat 3.2.1
 i have integrated it with Apache 1.3.12

whenever i made a request to load a jsp file from
browser .browser open a popup window to download the
file.

What my be the problem.My browser Mime Type is
configured to accept jsp file. I think there is some
problem in configuring web.xml.

Is there any option for configuring MIME type in
tomcat configuration file.

or this is a bug in tomcat??

Please help me
Thanks in Advance

__
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

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




Hi Need Help

2001-01-08 Thread Sudhir


Why I am getting request.getPathInfo() null . I want the absolute path of
the URL . Is there any way  




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




need help

2001-01-08 Thread Sudhir

Why I am getting request.getPathInfo() null . I want the absolute path of
the URL . Is there any way 

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




Hi

2001-01-08 Thread Sudhir

HI

Why request.getPathInfo() is giving null . Is there any settings to be done
to get the pathInfo

Thanks

Sudhir

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