You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by "rzo1 (via GitHub)" <gi...@apache.org> on 2023/02/27 18:52:57 UTC

[GitHub] [tomee] rzo1 opened a new pull request, #1025: TOMEE-4189 - java.lang.ClassNotFoundException: org.apache.openejb.loader.SystemInstance

rzo1 opened a new pull request, #1025:
URL: https://github.com/apache/tomee/pull/1025

   # What does this PR do?
   
   The classpath for the `version` command of  `./catalina[.sh|.bat] ` does only contain
   
   ```bash
    -classpath "$CATALINA_HOME/lib/catalina.jar"  org.apache.catalina.util.ServerInfo
   ```
   
   Thus, our reflection code introduced with https://github.com/apache/tomee/commit/7ce518e29111ba10cd6bcf5a8fc613fc912b84a8 and https://github.com/apache/tomee/commit/14a034cc9528247d2c30c052412e730d64dea094 will fail with a `ClassNotFoundException` as `openejb-core` isn't available in the given classpath.
   
   However, this is the only occurence within  `./catalina[.sh|.bat] ` , so it should be ok to adjust the classpath for the given command only. 
   
   


-- 
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: dev-unsubscribe@tomee.apache.org

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


[GitHub] [tomee] cesarhernandezgt merged pull request #1025: TOMEE-4189 - java.lang.ClassNotFoundException: org.apache.openejb.loader.SystemInstance

Posted by "cesarhernandezgt (via GitHub)" <gi...@apache.org>.
cesarhernandezgt merged PR #1025:
URL: https://github.com/apache/tomee/pull/1025


-- 
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: dev-unsubscribe@tomee.apache.org

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