You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Amy Roh <am...@apache.org> on 2002/09/19 20:01:28 UTC
Re: cvs commit:
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeansMBeanFactory.java
Remy Maucherat wrote:
> Amy Roh wrote:
> > MBeanFactory.createStandardContext() still throws
> > "java.lang.IllegalArgumentException: Document base .\webapps\newpath
> > does not exist or is not a readable directory" after recent change in
> > StandardContext. Is there something else missing that is preventing
> > host.addChild(newContext) to work?
>
> I do not understand the problem, or what is wrong. BTW, before the
> change, the context was never properly initialized.
It's good that the context is now properly initialized with the new fix. :-)
However, the problem is that admin is not working in creating Context now. It's
broken in the head branch if anyone cares. :-(
You'll see the problem if you try to create a new Context and it'll fail
throwing IllegalArgumentException. This is new and I'm not sure where the
problem either. I'll investigate further.
Amy
>
>
> The contexts which are in the host appbase will be automatically
> deployed, so I barely see a use case for that.
>
> This is working fine for me in all useful cases, so I will not fix it.
>
>
> Remy
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/mbeansMBeanFactory.java
Posted by Remy Maucherat <re...@apache.org>.
Amy Roh wrote:
>
> Remy Maucherat wrote:
>
>
>>Amy Roh wrote:
>>
>>>MBeanFactory.createStandardContext() still throws
>>>"java.lang.IllegalArgumentException: Document base .\webapps\newpath
>>>does not exist or is not a readable directory" after recent change in
>>>StandardContext. Is there something else missing that is preventing
>>>host.addChild(newContext) to work?
>>
>>I do not understand the problem, or what is wrong. BTW, before the
>>change, the context was never properly initialized.
>
>
> It's good that the context is now properly initialized with the new fix. :-)
>
> However, the problem is that admin is not working in creating Context now. It's
> broken in the head branch if anyone cares. :-(
It's working fine for me, at least with an absolute docBase. Given that
the webapps in the host appBase will be live deployed, that's the main
use case.
What are the docBase values you're trying to use ?
> You'll see the problem if you try to create a new Context and it'll fail
> throwing IllegalArgumentException. This is new and I'm not sure where the
> problem either. I'll investigate further.
Well, you probably never got the exception before, because the context
was never initialized at all (so it didn't get a chance to complain
about a non existent docBase).
Remy
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>