You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paulchwd <pa...@sympatico.ca> on 2009/04/02 00:04:30 UTC

RE: Illegal access: this web application instance has been stoppedalready

Thnx for the reply, here is the information:

context.xml file changed was in META-INF directory
NetBeans version 6.5
Platform: Windows Vista Business 32 Bit
Apache Tomcat: 6.0.18
JDK 6

I will try to run it in a standalone version of Tomcat - after I figure out
how to build a war file from NetBeans

Any additional information / ideas / shots in the dark are greatly
appreciated

=========================================

Caldarale, Charles R wrote:
> 
>> From: Paulchwd [mailto:paulchwd@sympatico.capaulchwd@sympatico.ca]
>> Subject: Illegal access: this web application instance has been
>> stoppedalready
>> 
>> INFO: Illegal access: this web application instance has been stopped
>> already.  Could not load java.lang.Object.
> 
> Whatever you're doing is attempting multiple stops of your webapp.  This
> might be a configuration problem in NetBeans, but since I've never tried
> to run Tomcat from within an IDE, I can't help you there.
> 
> Can you try running a standalone Tomcat and see if the problem is
> reproducible with that?
> 
>> From my research I read setting reloadable to False would solve 
>> it (in context.xml) - didn't work
> 
> You don't say which context.xml you changed; while you're telling us that,
> also tell us the Tomcat version you're using, the JRE/JDK you're running
> with, and the platform you're on.
> 
>> Mar 31, 2009 7:54:48 PM org.apache.catalina.core.StandardContext start
>> INFO: Container
>> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/invoicer]
>> has already been started
> 
> This is another indication that you're doing something twice within
> NetBeans; again, try running a standalone Tomcat and see if the problem
> disappears.  If it does, it's a NetBeans, not Tomcat, issue.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Illegal-access%3A-this-web-application-instance-has-been-stopped-already-tp22817324p22834783.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Illegal access: this web application instance has beenstoppedalready

Posted by Paulchwd <pa...@sympatico.ca>.
Thnx for the help it is now working. The cause was either fixed by correcting
improper JSF syntax or rebooting. Cheers


Caldarale, Charles R wrote:
> 
>> From: Paulchwd [mailto:paulchwd@sympatico.ca]
>> Subject: RE: Illegal access: this web application instance has
>> beenstoppedalready
>> 
>> Any additional information / ideas / shots in the dark are
>> greatly appreciated
> 
> There's these interesting little comments in the doc concerning
> auto-deployment:
> 
> " When using automatic deployment, the docBase defined by an XML Context
> file should be outside of the appBase directory. If this is not the case
> difficulties may be experienced deploying the web application or the
> application may be deployed twice.
> 
> "Finally, note that if you are defining contexts explicitly, you should
> probably turn off automatic application deployment. Otherwise, your
> context will be deployed twice each, and that may cause problems for your
> app."
> 
> http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Automatic%20Application%20Deployment
> 
> You could experiment with turning off the autoDeploy attribute in your
> <Host> element (assuming you can find it in NetBeans).
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Illegal-access%3A-this-web-application-instance-has-been-stopped-already-tp22817324p22846544.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Illegal access: this web application instance has beenstoppedalready

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Paulchwd [mailto:paulchwd@sympatico.ca]
> Subject: RE: Illegal access: this web application instance has
> beenstoppedalready
> 
> Any additional information / ideas / shots in the dark are
> greatly appreciated

There's these interesting little comments in the doc concerning auto-deployment:

" When using automatic deployment, the docBase defined by an XML Context file should be outside of the appBase directory. If this is not the case difficulties may be experienced deploying the web application or the application may be deployed twice.

"Finally, note that if you are defining contexts explicitly, you should probably turn off automatic application deployment. Otherwise, your context will be deployed twice each, and that may cause problems for your app."

http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Automatic%20Application%20Deployment

You could experiment with turning off the autoDeploy attribute in your <Host> element (assuming you can find it in NetBeans).

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org