-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Hello

I have a servlet that compiles okay, but when run, gives the following 
error in 'error_log'.

[26/09/1999 22:05:37:839 EDT] java.lang.NoSuchMethodError: 
com.oroinc.text.regex.Util: method 
substitute(Lcom/oroinc/text/regex/PatternMatcher;Lcom/oroinc/text/regex/Patt 
ern;Lcom/oroinc/text/regex/Substitution;Ljava/lang/String;I)Ljava/lang/Strin 
g; not found
         at org.apache.jserv.JServConnection.run(JServConnection.java:336)
         at java.lang.Thread.run(Thread.java)

  The method in question (substitute) is a part of the ORO Inc, regular 
expression class. The static method 'substitute' is called from a second 
static function called 'swap' that I have written as part of a support 
class. When I use the 'swap' function from a standalone Java application, 
everything is fine. I have tried running the command-line application as 
'nobody', the same user I run Apache as, and everything is still fine.

The zone the support class is in has a 'wrapper.classpath' line in its 
config file that points to the ORO regular expression class. However, it 
still seems to me that some sort of CLASSPATH problem is the most likely 
cause. Any ideas?

Regards,
Stuart


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to