[ 
https://jira.terracotta.org/jira//browse/CDV-263?page=comments#action_20857 ] 
            
Juris Galang commented on CDV-263:
----------------------------------

We already generate the correct error message for why a certain class is not 
portable or even if it is adaptable; 

In this instance - java.io.InputStream - currently isn't flagged as permanently 
excluded, which is why the recommendation in the error message is to add it in 
the boot jar, instead of saying that it is not adaptable or that it's 
superclass is non-shareable.



> misleading error message
> ------------------------
>
>                 Key: CDV-263
>                 URL: https://jira.terracotta.org/jira//browse/CDV-263
>             Project: Community Development
>          Issue Type: Bug
>            Reporter: Taylor Gautier
>         Assigned To: Juris Galang
>
> From the forums:
> http://forums.terracotta.org/forums/posts/list/236.page
>  I have another question. In the exception what the following line exactly 
> means:
> ***************************************************
> Attempt to share an instance of a non-portable class referenced by a portable 
> class. This
> unshareable class has not been included for sharing in the configuration. 
> Please add this
> class to the <includes> section of the configuration file. This class also 
> has a super-class
> that must be in the DSO boot jar. Please add this class to the boot jar 
> configuration and
> re-create the DSO boot jar.
> Referring class : oracle.jdbc.driver.T4CMAREngine
> Referring field : oracle.jdbc.driver.T4CMAREngine.inStream
> Thread : main
> JVM ID : VM(3)
> Non-portable root name : com.pramati.jdbc.terracotta.DBBeanClient.dbBean
> Non-included class : oracle.net.ns.NetInputStream
> Class to add to boot jar: java.io.InputStream
> *********************************************** 
> Per the Moraga PRD we are supposed to tell the user the class is unshareable, 
> if we know it is unshareable, instead of telling them to add it to the boot 
> jar which will not have any effect.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to