You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/12/17 08:56:52 UTC

[GitHub] [shardingsphere] zhangpan-soft opened a new issue, #22933: Sharding cannot be initialized correctly under multithreading

zhangpan-soft opened a new issue, #22933:
URL: https://github.com/apache/shardingsphere/issues/22933

   ## Bug Report
   
   During the initial loading of sharding, if the initial loading is multi-threaded and SQL queries are executed under multiple threads at the same time, class loading will be performed, including Parser classes, javax packages, etc However, because it is multithreaded at this time, multiple threads will load classes, which will result in concurrent loading errors, and the classes cannot be loaded correctly, resulting in the inability of all sharding supported sql to run.
   
   jdk version: 11
   sharding-jdbc version: 4.0.1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] azexcy commented on issue #22933: Sharding cannot be initialized correctly under multithreading

Posted by GitBox <gi...@apache.org>.
azexcy commented on issue #22933:
URL: https://github.com/apache/shardingsphere/issues/22933#issuecomment-1356680383

   Hi @zhangpan-soft , the version of sharding-jdbc-4.0.1 is deprecated, please try the latest version


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN commented on issue #22933: Sharding cannot be initialized correctly under multithreading

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #22933:
URL: https://github.com/apache/shardingsphere/issues/22933#issuecomment-1361014545

   Obviously, the root cause is `java.lang.ClassNotFoundException: com.sun.xml.internal.bind.v2.ContextFactory`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] TeslaCN closed issue #22933: Sharding cannot be initialized correctly under multithreading

Posted by GitBox <gi...@apache.org>.
TeslaCN closed issue #22933: Sharding cannot be initialized correctly under multithreading
URL: https://github.com/apache/shardingsphere/issues/22933


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org