wsjpaversion command

Use this command line tool to find out information about the installed version of Java™ Persistence API (JPA) for WebSphere® Application Server.

Syntax

The command syntax is as follows:

[AIX] [HP-UX] [Linux] [Solaris]
wsjpaversion.sh 
[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.

The command is run from the <WAS_HOME> directory.

Examples

Find the version information of your JPA installation example output:
WSJPA 1.2.0-SNAPSHOT
version id: WSJPA-1.2.0-SNAPSHOT-r1118:1319
revision: 1118:1319

OpenJPA 1.2.0-SNAPSHOT
version id: openjpa-1.2.0-SNAPSHOT-r420667:634150
Apache svn revision: 420667:634150

os.name: Linux
os.version: 2.6.9-55.0.9.ELsmp
os.arch: x86

java.version: 1.6.0
java.vendor: IBM Corporation

java.class.path:
app_server_root\dev\JavaEE\5.0\j2ee.jar
app_server_root\plugins\com.ibm.ws.jpa.jar

user.dir: /opt/WebSphere70/AppServer9/bin
On Windows® operating systems, the output looks like the following:
C:\a.was.src\WASX Iww0811.63 S11.48 F11.32>wsjpaversion
WSJPA 1.2.0-SNAPSHOT
version id: WSJPA-1.2.0-SNAPSHOT-r1118:1356
revision: 1118:1356

OpenJPA 1.2.0-SNAPSHOT
version id: openjpa-1.2.0-SNAPSHOT-r420667:638667M
Apache svn revision: 420667:638667M

os.name: Windows XP
os.version: 5.1 build 2600 Service Pack 2
os.arch: x86

java.version: 1.6.0
java.vendor: IBM Corporation

java.class.path:
app_server_root\dev\JavaEE\5.0\j2ee.jar
app_server_root\plugins\com.ibm.ws.jpa.jar
c:\a.tools.common\java.tools

user.dir: C:\a.was.src\WASX Iww0811.63 S11.48 F11.32

C:\a.was.src\WASX Iww0811.63 S11.48 F11.32>



Related tasks
Troubleshooting Java™ Persistence API (JPA) applications
Reference topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 9:57:58 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-base-dist&topic=rejb_wsjpaversion
File name: rejb_wsjpaversion.html