You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Thufir <ha...@gmail.com> on 2009/03/01 07:17:16 UTC

instance has been stopped. could not load oracle.toplink.essentials...

I can't quite predict with certainty when this error will occur:

 86899	Feb 28, 2009 10:05:50 PM 
org.apache.catalina.loader.WebappClassLoader loadClass
 86900	INFO: Illegal access: this web application instance has been 
stopped already.  Could not load 
oracle.toplink.essentials.internal.localization.i18n.LoggingLocalizationResource.  
The eventual following stack trace is caused by an error thrown for 
debugging purposes as well as to attempt to terminate the thread which 
caused the illegal access, and has no functional impact.
 86901	java.lang.IllegalStateException


but generally restarting tomcat, and some combination of undeploy/
redeploy fixes the problem.  (I'm using NB 6.1, which automagically 
deploys the .war)  I'm not entirely whether undeploying the app does 
anything or not, I don't see why it would, but it seems to help.

>From what I've read the general solution is to just restart tomcat.  What 
does the error mean?

Also, just to clarify, if I'm using toplink for JPA then the toplink 
jars, and whatever I'm using for jdbc, need to be copied to tomcat as per:

http://wiki.netbeans.org/DeployREST2Tomcat55

(instead of derby I'm using mssql.jar)



thanks,

Thufir


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


Re: instance has been stopped. could not loadoracle.toplink.essentials...

Posted by Thufir <ha...@gmail.com>.
On Sun, 01 Mar 2009 09:24:08 -0600, Caldarale, Charles R wrote:

>> From: news [mailto:news@ger.gmane.org] On Behalf Of Thufir Subject:
>> instance has been stopped. could not loadoracle.toplink.essentials...
> 
>> I can't quite predict with certainty when this error will occur:
> 
> And we can't predict what Tomcat version you're running on.  You might
> be a mentat, but the rest of us aren't.

    Uproot your questions from their ground and the dangling roots will 
be seen. More questions!
        -Mentat Zensufi

Server Information
Tomcat Version 	JVM Version 	JVM Vendor 	OS Name 	OS 
Version 	OS Architecture
Apache Tomcat/6.0.18 	1.6.0_10-b33 	Sun Microsystems Inc. 	Linux 	
2.6.27-11-generic 	i386


Which is all manually installed on ubuntu.

>>  86899  Feb 28, 2009 10:05:50 PM
>> org.apache.catalina.loader.WebappClassLoader loadClass
>>  86900  INFO: Illegal access: this web application instance has been
>> stopped already.
> 
> It looks like the webapp was already on the way down when the above
> message (note that it's INFO, not ERROR) was displayed.  You may have
> run into the problem of your logging environment trying to reinitialize
> itself when it shouldn't.  You can try setting the system property:

Yeah, I've just been ignoring the INFO, as you point out and it doesn't 
seem to matter.  Nebeans undeploys and redeploys, and maybe restarts 
tomcat as well.  I suppose settings for those actions would be in 
netbeans.

Sounds like something fairly safely ignored?



thanks,

Thufir


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


Re: instance has been stopped. could not loadoracle.toplink.essentials...

Posted by Thufir <ha...@gmail.com>.
On Sun, 01 Mar 2009 21:46:30 -0600, Caldarale, Charles R wrote:

>> From: news [mailto:news@ger.gmane.org] On Behalf Of Thufir Subject: Re:
>> instance has been stopped. could not loadoracle.toplink.essentials...
>>
>> Glad you saw that.  It seems like toplink is required for JPA?
> 
> Got no idea; what I said was mostly a joke, like mixing oil and water. 
> Should have used a smiley face.
> 
>> Do you have suggestion beyond "don't use mssql" because mssql is what
>> my school uses
> 
> Nothing wrong with MSSQL; it has its quirks, just like every other DB.
> 
>  - 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.



LOL.  I took it as that, but also thought there might be something to it, 
too.  I swear the "tutorials" on JDBC settings for mssql are wrong.  
Anyhow, thanks for the help.


-Thufir


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


RE: instance has been stopped. could not loadoracle.toplink.essentials...

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: news [mailto:news@ger.gmane.org] On Behalf Of Thufir
> Subject: Re: instance has been stopped. could not
> loadoracle.toplink.essentials...
>
> Glad you saw that.  It seems like toplink is required for JPA?

Got no idea; what I said was mostly a joke, like mixing oil and water.  Should have used a smiley face.

> Do you have suggestion beyond "don't use mssql" because
> mssql is what my school uses

Nothing wrong with MSSQL; it has its quirks, just like every other DB.

 - 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


Re: instance has been stopped. could not loadoracle.toplink.essentials...

Posted by Thufir <ha...@gmail.com>.
On Sun, 01 Mar 2009 09:24:08 -0600, Caldarale, Charles R wrote:

> (Mixing anything from Oracle with MSSQL?  That's gutsy.)
> 
>  - Chuck


Glad you saw that.  It seems like toplink is required for JPA?  Do you 
have suggestion beyond "don't use mssql" because mssql is what my school 
uses, so I have to connect to that db.

Maybe I should setup some sort of derby thing?  I'm not sure how that 
works, but I'm guessing that it would add a layer of abstraction.  
However, I'm not sure that would get me anywhere.  Kinda a java question 
rather than tomcat.


-Thufir


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


RE: instance has been stopped. could not loadoracle.toplink.essentials...

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: news [mailto:news@ger.gmane.org] On Behalf Of Thufir
> Subject: instance has been stopped. could not
> loadoracle.toplink.essentials...

> I can't quite predict with certainty when this error
> will occur:

And we can't predict what Tomcat version you're running on.  You might be a mentat, but the rest of us aren't.

>  86899  Feb 28, 2009 10:05:50 PM
> org.apache.catalina.loader.WebappClassLoader loadClass
>  86900  INFO: Illegal access: this web application instance has been
> stopped already.

It looks like the webapp was already on the way down when the above message (note that it's INFO, not ERROR) was displayed.  You may have run into the problem of your logging environment trying to reinitialize itself when it shouldn't.  You can try setting the system property:

org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES

to false, but that may end up with a webapp that can't be reloaded.  Doc is here:
http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html#Other

(Mixing anything from Oracle with MSSQL?  That's gutsy.)

 - 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