wsjpaversion command

Use this command line tool to find out information about the installed version of JPA for WebSphere Application Server.

Syntax

The command syntax is as follows:

[AIX] [HP-UX] [Linux] [Solaris] [z/OS]
wsjpaversion.sh 
[iSeries]
wsjpaversion
[Windows]
wsjpaversion.bat

Usage

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.

Examples

Find the version information of your JPA installation:
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
On Windows operating systems the output looks like this:
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



Related information
Troubleshooting Java Persistence API (JPA) applications
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 2:56:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-dist&topic=rejb_wsjpaversion
File name: rejb_wsjpaversion.html