Resend: custom realm administration issue

2004-02-24 Thread sushma
I found in the archives that tomcat admin console
doesn't display custom valves/realms. Is this true ? 
Please help. Is there a workaround ?

Thanks
sushma

--- sushma [EMAIL PROTECTED] wrote:
 I wrote a custom realm and when I administer this
 custom realm from the tomcat admin console, I see an
error 'Attribute digest not found'. How can I get rid
of these errors ? I even defined the attribute digest
but that lead to more such 'Attribute not found'
errors. Why is the admin webapp looking for these
attributes when I did not even define them in my mbean
descriptor file ?
 
 Thanks,
 sushma
 
 __
 Do you Yahoo!?
 Yahoo! Mail SpamGuard - Read only the mail you want.
 http://antispam.yahoo.com/tools
 

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


__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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



Re: how to set java-environment variables in catalina.sh

2004-02-24 Thread sushma

You can also create a file called 'setenv.sh' and set
JAVA_OPTS in this file. setenv.sh gets included in
catalina.sh.

-sushma

--- Nathan Maves [EMAIL PROTECTED] wrote:
 I think either of these will work.  I use the second
 one and it works 
 fine for me
 
 #JAVA_OPTS=-Djava.awt.headless=true
 CATALINA_OPTS=-Djava.awt.headless=true
 
 
 Nathan Maves
 Sun Microsystems
 
  
 On Feb 24, 2004, at 8:28 AM, Peter Forster wrote:
 
  hi,
  I want to start tomcat so it knows environment
 variables. in regular a
  java-programm, i do that with the -D option (java
 -DMY_ENV=$MY_ENV).
  i know i have to do this in the catalina.sh
 script.
  i just can't find the correct syntax. can anyone
 help me or point to a
  tutorial?
 
  thanks
  pete
 
 
 

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


__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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



custom realm administration issue

2004-02-23 Thread sushma
I wrote my custom realm. When I administer this
custom realm from the tomcat admin console, I see
'Error 500, Attribute debug not found'. I defined the
debug attribute in the mbean-descriptors.xml file. But
now I see another similiar error 'Attribute digest not
found'. How can I get rid of these errors ? Please
help.

Thanks,
sushma

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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



RE: jdk14Logger.log NoSuchMethodError

2004-01-12 Thread sushma

No, basically I see this startup error after I added
logging related classes to the bootclasspath in the
startup script. Tomcat is starting up fine when I use
jdk1.3 and jdk1.4 minus the bootclasspath change.


--- Shapira, Yoav [EMAIL PROTECTED] wrote:
 
 Howdy,
 You can't use JDK 1.4 logging in JDK 1.3.1.
 
 Yoav Shapira
 Millennium ChemInformatics
 
 
 -Original Message-
 From: sushma [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 06, 2004 6:22 PM
 To: [EMAIL PROTECTED]
 Subject: jdk14Logger.log NoSuchMethodError
 
 I added some of the jdk logging classes from 1.4 to
 the bootclasspath in catalina.sh.
 JAVA_OPTS =
 -Xbootclasspath/a:/tmp/lib/jdk_logging.jar. Now
 the
 server fails to start. Using tomcat 4.1.27 and jdk
 1.3.1.
 The exception message is
 java.lang.NoSuchMethodError
 at

org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:116)
 at

org.apache.commons.logging.impl.Jdk14Logger.info(Jdk14Logger.java:193)
 at

org.apache.commons.modeler.Registry.loadRegistry(Registry.java:264)
 at

org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:17
 02)
 at

org.apache.catalina.mbeans.MBeanUtils.clinit(MBeanUtils.java:163)
 at

org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.clinit(Gl
 obal
 ResourcesLifecycleListe
 ner.java:117)
 at java.lang.Class.newInstance0(Native
 Method)
 at
 java.lang.Class.newInstance(Class.java:232)
 at

org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.jav
 a:25
 3)
 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(Unknown
 Source)
 at

org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknow
 n
 Source)
 at

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(
 Unkn
 own
 Source)
 at

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDi
 spat
 cher.dispatch(Unknown
 S
 ource)
 at

org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkn
 own
 Source)
 at

org.apache.xerces.parsers.XML11Configuration.parse(Unknown
 Source)
 at

org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
 Source)
 at
 org.apache.xerces.parsers.XMLParser.parse(Unknown
 Source)
 at

org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
 Source)
 at

org.apache.commons.digester.Digester.parse(Digester.java:1548)
 at

org.apache.catalina.startup.Catalina.start(Catalina.java:449)
 at

org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at

org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 at java.lang.reflect.Method.invoke(Native
 Method)
 at

org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
 
 __
 Do you Yahoo!?
 Yahoo! Hotjobs: Enter the Signing Bonus
 Sweepstakes
 http://hotjobs.sweepstakes.yahoo.com/signingbonus
 

-
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 This e-mail, including any attachments, is a
 confidential business communication, and may contain
 information that is confidential, proprietary and/or
 privileged.  This e-mail is intended only for the
 individual(s) to whom it is addressed, and may not
 be saved, copied, printed, disclosed or used by
 anyone else.  If you are not the(an) intended
 recipient, please immediately delete this e-mail
 from your computer system and notify the sender. 
 Thank you.
 
 

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


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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



adding new jars to classpath

2004-01-06 Thread sushma
Hi,

I added new jars to the classpath in
setclasspath.sh(using tomcat 4.1.27) but these are not
being picked up. I got a CNF error. I copied these
jars to common/lib and then it worked fine. These jars
are used by the custom realm classes placed at
server/lib.

why am I not able to modify the classpath to add new
jars ?

thanks


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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



Re: adding new jars to classpath

2004-01-06 Thread sushma

I checked the faq and also see the same
java.lang.NoClassDefFoundError: javax/servlet/Filter
Error message. I verified that there is only one
servlet.jar in common/lib.
The new jars that I added in the classpath depend on
servlet.jar. So is the error due to this ? 

-sushma


--- Tim Funk [EMAIL PROTECTED] wrote:

http://jakarta.apache.org/tomcat/faq/classnotfound.html
 
 Especially read the link for  Tomcat 4.1 Classloader
 HOWTO
 
 -Tim
 
 sushma wrote:
 
  Hi,
  
  I added new jars to the classpath in
  setclasspath.sh(using tomcat 4.1.27) but these are
 not
  being picked up. I got a CNF error. I copied these
  jars to common/lib and then it worked fine. These
 jars
  are used by the custom realm classes placed at
  server/lib.
  
  why am I not able to modify the classpath to add
 new
  jars ?
   
 
 

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


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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



jdk14Logger.log NoSuchMethodError

2004-01-06 Thread sushma
I added some of the jdk logging classes from 1.4 to
the bootclasspath in catalina.sh.
JAVA_OPTS =
-Xbootclasspath/a:/tmp/lib/jdk_logging.jar. Now the
server fails to start. Using tomcat 4.1.27 and jdk
1.3.1.
The exception message is 
java.lang.NoSuchMethodError
at
org.apache.commons.logging.impl.Jdk14Logger.log(Jdk14Logger.java:116)
at
org.apache.commons.logging.impl.Jdk14Logger.info(Jdk14Logger.java:193)
at
org.apache.commons.modeler.Registry.loadRegistry(Registry.java:264)
at
org.apache.catalina.mbeans.MBeanUtils.createRegistry(MBeanUtils.java:1702)
at
org.apache.catalina.mbeans.MBeanUtils.clinit(MBeanUtils.java:163)
at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.clinit(GlobalResourcesLifecycleListe
ner.java:117)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:232)
at
org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java: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(Unknown
Source)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
S
ource)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at
org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
at
org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
org.apache.commons.digester.Digester.parse(Digester.java:1548)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:449)
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native
Method)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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