Use this command line tool to find out information about the installed version of JPA for WebSphere Application Server.
The command syntax is as follows:
wsjpaversion.sh
wsjpaversion
wsjpaversion.bat
The version tool can be very useful when debugging problems with JPA in applications and for providing customer support teams with the information about the current JPA environment.
WSJPA 1.0.1 version id: WSJPA-1.0.1-r737:957 revision: 737:957 OpenJPA 1.0.1-SNAPSHOT version id: openjpa-1.0.1-r420667:589784 Apache svn revision: 420667:589784 os.name: Linux os.version: 2.6.22-14-generic os.arch: x86 java.version: 1.5.0 java.vendor: IBM Corporation java.class.path: /opt/IBM/WebSphere/AppServer/lib/j2ee.jar /opt/IBM/WebSphere/AppServer/plugins/com.ibm.ws.jpa_6.1.0.jar user.dir: /opt/IBM/WebSphere/AppServer
WSJPA 1.0.1 version id: WSJPA-1.0.1-r737:957 revision: 737:957 OpenJPA 1.0.1 version id: openjpa-1.0.1-r420667:589784 Apache svn revision: 420667:589784 os.name: Windows XP os.version: 5.1 build 2600 Service Pack 2 os.arch: x86 java.version: 1.5.0 java.vendor: IBM Corporation java.class.path: C:\Program Files\IBM\WebSphere\AppServer\lib\j2ee.jar C:\Program Files\IBM\WebSphere\AppServer\plugins\com.ibm.ws.jpa_6.1.0.jar