geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bevon <bevon.pa...@gmail.com>
Subject jaxws/wsgen fails with "Missing C:\Program Files\Java\lib....."
Date Sat, 05 Dec 2009 04:38:32 GMT

Greetings,
I am trying to generate a WSDL for a simple POJO, but I cannot seem to get
wsgen working.  All attempts to use jaxws/wsgen fail with "[JAXWSTools]
Missing C:\Program Files\Java\lib. This may be r
equired for wsgen to run."

A couple of examples:
Example 1:
-psop_jaxws20_1.jar contains my POJO + SEI
-com.psop.controller.ws.CreatePlayerJaxws is the POJO

C:\Program Files\Apache\Geronimo_v2.1.4\bin>gsh
Apache Geronimo (2.1.4)

Type 'help' for more information.
-------------------------------------------------------------------------------
Bevon Palod@BEVONTP:/> jaxws/wsgen -classpath
E:/PSOP/wsdl/psop_jaxws20_1.jar -d
 E:/PSOP/wsdl -wsdl:soap1.1 com.psop.controller.ws.CreatePlayerJaxws
23:33:56,830 WARN  [JAXWSTools] Missing C:\Program Files\Java\lib. This may
be r
equired for wsgen to run.
ERROR InvocationTargetException: null
Bevon Palod@BEVONTP:/>


Example 2:
-attempting to see the help for wsgen

C:\Program Files\Apache\Geronimo_v2.1.4\bin>gsh
Apache Geronimo (2.1.4)

Type 'help' for more information.
-------------------------------------------------------------------------------
Bevon Palod@BEVONTP:/> jaxws/wsgen -help
23:28:46,048 WARN  [JAXWSTools] Missing C:\Program Files\Java\lib. This may
be r
equired for wsgen to run.
ERROR InvocationTargetException: null
Bevon Palod@BEVONTP:/>


My Java-related environment variables correctly point to the location of my
Java install:
C:\Program Files\Apache\Geronimo_v2.1.4\bin>gsh
Apache Geronimo (2.1.4)

Type 'help' for more information.
-------------------------------------------------------------------------------
Bevon Palod@BEVONTP:/> set
env={USERPROFILE=C:\Documents and Settings\Bevon Palod,
GSHELL_HOME=C:\Program F
iles\Apache\Geronimo_v2.1.4\bin\.., JAVA_HOME=C:\Program
Files\Java\jre1.6.0_17,
 DIRNAME=C:\Program Files\Apache\Geronimo_v2.1.4\bin\, =ExitCode=00000000,
BASED
IR=C:\Program Files\Apache\Geronimo_v2.1.4\bin\, SystemDrive=C:,
_RUNJDB="C:\Pro
gram Files\Java\jre1.6.0_17\bin\jdb",
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WIN
DOWS\system32\wbem;C:\Program Files\Intel\WiFi\bin;C:\Program Files\ATI
Technolo
gies\ATI.ACE\Core-Static;c:\Program Files\Common Files\Lenovo;C:\Program
Files\C
ommon Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Common Files\Roxio
Shar
ed\DLLShared;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program
Files\Lenovo\
Client Security Solution;C:\Program Files\Common Files\DivX
Shared;C:\Program Fi
les\QuickTime\QTSystem, PROCESSOR_REVISION=1706,
TPCCommon=C:\PROGRA~1\THINKV~1\
PrdCtr, USERDOMAIN=BEVONTP, ALLUSERSPROFILE=C:\Documents and Settings\All
Users,
 SESSIONNAME=Console, TMP=C:\DOCUME~1\BEVONP~1\LOCALS~1\Temp,
LOGONSERVER=\\BEVO
NTP, =::=::\, CommonProgramFiles=C:\Program Files\Common Files, PROMPT=$P$G,
PRO
CESSOR_LEVEL=6, SWSHARE=C:\SWSHARE, TVTPYDIR=C:\Program Files\Common
Files\Lenov
o\Python24, COMPUTERNAME=BEVONTP, SystemRoot=C:\WINDOWS,
EMC_AUTOPLAY=C:\Program
 Files\Common Files\Roxio Shared\, USERNAME=Bevon Palod,
APPDATA=C:\Documents an
d Settings\Bevon Palod\Application Data,
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.
JS;.JSE;.WSF;.WSH, __COMPAT_LAYER=EnableNXShowUI ,
TEMP=C:\DOCUME~1\BEVONP~1\LOC
ALS~1\Temp, ProgramFiles=C:\Program Files, HOMEDRIVE=C:, =C:=C:\Program
Files\Ap
ache\Geronimo_v2.1.4\bin, QTJAVA=C:\Program
Files\Java\jre1.6.0_17\lib\ext\QTJav
a.zip, BOOTJAR=C:\Program
Files\Apache\Geronimo_v2.1.4\bin\..\lib\boot\gshell-bo
otstrap.jar, PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6,
GenuineIntel
, RoxioCentral=C:\Program Files\Common Files\Roxio Shared\10.0\Roxio
Central36\,
 _REQUIRE_JDK=0, CLASSPATH=.;C:\Program
Files\Java\jre1.6.0_17\lib\ext\QTJava.zi
p, PROCESSOR_ARCHITECTURE=x86, OS=Windows_NT, FP_NO_HOST_CHECK=NO,
HOMEPATH=\Doc
uments and Settings\Bevon Palod, TVT=C:\Program Files\Lenovo,
JRE_HOME=C:\Progra
m Files\Java\jre1.6.0_17, jdkOrJreHomeSet=1, RR=C:\Program
Files\Lenovo\Rescue a
nd Recovery, _RUNJAVAW="C:\Program Files\Java\jre1.6.0_17\bin\javaw",
_RUNJAVA="
C:\Program Files\Java\jre1.6.0_17\bin\java", windir=C:\WINDOWS,
NUMBER_OF_PROCES
SORS=2, TVTCOMMON=C:\Program Files\Common Files\Lenovo,
ComSpec=C:\WINDOWS\syste
m32\cmd.exe, DERBY_INSTALL=C:\Program Files\Apache\Derby_v10.5.3.0}


Any help would be appreciated.  If more is needed, please let me know.
Thanks in advance,
Bevon
-- 
View this message in context: http://old.nabble.com/jaxws-wsgen-fails-with-%22Missing-C%3A%5CProgram-Files%5CJava%5Clib.....%22-tp26652969s134p26652969.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message