Problem when I invoke the Client. The JBoss server is still as a background
process
Jon
|--------+------------------------>
| | Phil Magill |
| | <phil.magill@p|
| | hocis.com> |
| | |
| | 23/05/01 13:59|
| | Please respond|
| | to |
| | jakarta-common|
| | s |
| | |
|--------+------------------------>
>----------------------------------------------------------------------------|
| |
| To: "'[EMAIL PROTECTED]'" |
| <[EMAIL PROTECTED]> |
| cc: (bcc: Jon Belinfante/London/CWB) |
| Subject: RE: Cactus Configuration Problem |
>----------------------------------------------------------------------------|
Jon
Is the error when you start JBoss or when you call the test.....
Have you got a method similar to this in your test class
public static void main(String[] theArgs)
{
junit.textui.TestRunner.main(new String[] {CLASSNAME.class.getName()});
}
just a thought....
Thanks
Phil
-----Original Message-----
From: Jon Belinfante [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 13:49
To: [EMAIL PROTECTED]
Subject: RE: Cactus Configuration Problem
I have now added the cactus.properties file to my Client classpath.
I now have moved to next error which is
'java.lang.NoSuchMethodError: main
Exception in thread main.
I have followed the cactus example code ....
Jon B.
|--------+------------------------>
| | Phil Magill |
| | <phil.magill@p|
| | hocis.com> |
| | |
| | 23/05/01 13:27|
| | Please respond|
| | to |
| | jakarta-common|
| | s |
| | |
|--------+------------------------>
>---------------------------------------------------------------------------
-|
|
|
| To: "'[EMAIL PROTECTED]'"
|
| <[EMAIL PROTECTED]>
|
| cc: (bcc: Jon Belinfante/London/CWB)
|
| Subject: RE: Cactus Configuration Problem
|
>---------------------------------------------------------------------------
-|
Jon
Add the path to the cactus.properties file to your classpath and it should
work.
Thanks
Phil
-----Original Message-----
From: Jon Belinfante [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2001 13:13
To: [EMAIL PROTECTED]
Subject: Cactus Configuration Problem
Trying to configure Cactus with JBoss and Tomcat
I am trying to run Cactus on a servlet and I keep getting the following
error
message
java.lang.ExceptionInInitializerError: java.util.MissingResourceException:
Can't
find bundle for base name cactus, locale en_GB
at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:7
07)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:679)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:546)
at
org.apache.commons.cactus.client.AbstractHttpClient.<clinit>(AbstractHttpCli
ent.java:82)
at
org.apache.commons.cactus.ServletTestCase.runTest(ServletTestCase.java:128)
at
org.apache.commons.cactus.AbstractTestCase.runBare(AbstractTestCase.java:266
)
I need help....
Cheers
Jon Belinfante
****************************************************************************
**************************************************************************
This e-mail has been prepared using information believed by the author
to be reliable and accurate, but CWB makes no warranty as to accuracy or
completeness. In particular CWB does not accept responsibility for
changes made to this e-mail after it was sent. Any opinions expressed in
this document are those of the author and do not necessarily reflect the
opinions of the company or its affiliates. They may be subject to change
without notice.
****************************************************************************
***************************************************************************