AssertionError: java.io.IOException when executing jwsc - weblogic.developer.interest.webservices.general(Archived)

Hi gents,
I am trying to build Spring On WebLogic Kit on my Linux Fedora 3 machine. ( http://commerce.bea.com/showproduct.jsp?family=SPRING&major=1.2.5&minor=0 ) After some fiddling with bundled in the kit Ant I've eventually managed to pass EJB generation and moved to web services. There I am executing the following task
<target name="build.sync.ws">
        <jwsc
            srcdir="${basedir}/webservice/com/bea/medrec/webservice"
            sourcepath="${basedir}/webservice"
            destdir="${dest.dir}"
            applicationXml="${src.dir}/medrecEar/META-INF/application.xml"
            classpath="${jsr.jar};${antlr.jar};${weblogic.jar};${java.class.path};${app-inf.dest.classes};${app-inf.src.lib}/${log.jar};${app-inf.src.lib}/${spring.jar}"
            keepGenerated="true"
            deprecation="false"
            debug="true"
            failonerror="false"
            verbose="true">
            <jws file="MedRecWebServices.java" explode="true" />
        </jwsc>
    </target>No luck though. I am getting
BUILD FAILED
/home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build.xml:35: The following error occurred while executing this line:
/home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/src/build.xml:29: The following error occurred while executing this line:
java.lang.AssertionError: java.io.IOException
Argh! That's it - java.lang.AssertionError: java.io.IOException
I badly need a tip why is it happening and what should be done to make my service generated. Any ideas, gents? Is it known issue? Is it WebLogic or Fedora? It might be Fedora as I am using v.3. But I am running various Java things on this v.3 Fedora for years on end and had no complaints as it is. I suspect, it is WebLogic jwsc task implementation.
I am attaching my CLI output. JDK 1.5.0_04, Ant 1.6.5
Please, have a look. Please, help me out.
Yet, have a great weekend, gents!
Iouri
build.sync.ws:
     [echo] /home/iouri/java/server/BEA/real_time/server/lib/weblogic.jar
     [jwsc] 1 JWS files will be processed.
     [jwsc] Processing JWS: /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/src
/medrecEar/webservice/com/bea/medrec/webservice/MedRecWebServices.java
     [jwsc] JWS: /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/src/medrecEar/
webservice/com/bea/medrec/webservice/MedRecWebServices.java Validated.
     [jwsc] Compiling 1 source file to /tmp/_ptaghb
     [jwsc] [parsing started /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/sr
c/medrecEar/webservice/com/bea/medrec/webservice/MedRecWebServices.java]
     [jwsc] [parsing completed 2ms]
     [jwsc] [search path for source files: [/home/iouri/java/server/BEA/real_time/samples/domains/m
edrec-spring/src/medrecEar/webservice]]
     [jwsc] [search path for class files: [/home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar, /home/iouri
/java/jdk1.5.0_04/jre/lib/jsse.jar, /home/iouri/java/jdk1.5.0_04/jre/lib/jce.jar, /home/iouri/java/
jdk1.5.0_04/jre/lib/charsets.jar, /home/iouri/java/jdk1.5.0_04/jre/lib/ext/sunpkcs11.jar, /home/iou
ri/java/jdk1.5.0_04/jre/lib/ext/sunjce_provider.jar, /home/iouri/java/jdk1.5.0_04/jre/lib/ext/dnsns
.jar, /home/iouri/java/jdk1.5.0_04/jre/lib/ext/localedata.jar, /tmp/_ptaghb, /home/iouri/java/ws/jw
sdp/jaxws/lib/jsr181-api.jar, /home/iouri/java/lib/ant/antlr-2.7.5.jar, /home/iouri/java/server/BEA
/real_time/server/lib/weblogic.jar, /home/iouri/java/server/BEA/real_time/server/lib/schema/weblogi
c-container-binding.jar, /home/iouri/java/server/BEA/real_time/server/lib/schema/weblogic-domain-bi
nding.jar, /home/iouri/java/server/BEA/real_time/server/lib/schema/diagnostics-binding.jar, /home/i
ouri/java/server/BEA/real_time/server/lib/schema/diagnostics-image-binding.jar, /home/iouri/java/se
rver/BEA/real_time/server/lib/wlcipher.jar, /home/iouri/java/server/BEA/real_time/server/lib/jsafeF
IPS.jar, /home/iouri/java/server/BEA/real_time/server/lib/webservices.jar, /home/iouri/java/server/
BEA/real_time/server/lib/xmlx.jar, /home/iouri/java/server/BEA/real_time/server/lib/ojdbc14.jar, /h
ome/iouri/java/server/BEA/real_time/server/lib/jconn2.jar, /home/iouri/java/server/BEA/real_time/se
rver/lib/jConnect.jar, /home/iouri/java/server/BEA/real_time/server/lib/EccpressoAsn1.jar, /home/io
uri/java/server/BEA/real_time/server/lib/EccpressoCore.jar, /home/iouri/java/server/BEA/real_time/s
erver/lib/EccpressoJcae.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant.jar, /home/io
uri/java/server/BEA/real_time/server/lib/ant/ant-nodeps.jar, /home/iouri/java/server/BEA/real_time/
server/lib/ant/ant-antlr.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-jakarta-bcel
.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-junit.jar, /home/iouri/java/server/B
EA/real_time/server/lib/ant/ant-vaj.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-a
pache-bsf.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-jakarta-log4j.jar, /home/io
uri/java/server/BEA/real_time/server/lib/ant/ant-launcher.jar, /home/iouri/java/server/BEA/real_tim
e/server/lib/ant/ant-weblogic.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-apache-
resolver.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-jakarta-oro.jar, /home/iouri
/java/server/BEA/real_time/server/lib/ant/ant-netrexx.jar, /home/iouri/java/server/BEA/real_time/se
rver/lib/ant/ant-xalan1.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-commons-loggi
ng.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-jakarta-regexp.jar, /home/iouri/ja
va/server/BEA/real_time/server/lib/ant/ant-xalan2.jar, /home/iouri/java/server/BEA/real_time/server
/lib/ant/ant-commons-net.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-javamail.jar
, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-starteam.jar, /home/iouri/java/server/BE
A/real_time/server/lib/ant/ant-xslp.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-c
ontrib-1.0b1.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-jdepend.jar, /home/iouri
/java/server/BEA/real_time/server/lib/ant/ant-stylebook.jar, /home/iouri/java/server/BEA/real_time/
server/lib/ant/ant-icontract.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-jmf.jar,
/home/iouri/java/server/BEA/real_time/server/lib/ant/ant-swing.jar, /home/iouri/java/server/BEA/re
al_time/server/lib/ant/ant-jai.jar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-jsch.j
ar, /home/iouri/java/server/BEA/real_time/server/lib/ant/ant-trax.jar, /home/iouri/java/server/BEA/
real_time/server/lib/ant/jakarta-oro-2.0.7.jar, /home/iouri/java/server/BEA/real_time/server/lib/an
t/commons-net-1.1.0.jar, /home/iouri/java/server/BEA/real_time/server/lib/wlbase.jar, /home/iouri/j
ava/server/BEA/real_time/server/lib/wlutil.jar, /home/iouri/java/server/BEA/real_time/server/lib/wl
sqlserver.jar, /home/iouri/java/server/BEA/real_time/server/lib/wldb2.jar, /home/iouri/java/server/
BEA/real_time/server/lib/wlsybase.jar, /home/iouri/java/server/BEA/real_time/server/lib/wloracle.ja
r, /home/iouri/java/server/BEA/real_time/server/lib/wlinformix.jar, /home/iouri/java/server/BEA/rea
l_time/server/lib/wlw-langx.jar, /home/iouri/java/server/BEA/real_time/server/lib/../../javelin/lib
/javelinx.jar, /home/iouri/java/server/BEA/real_time/server/lib/../../javelin/lib/bcel-5.1.jar, /ho
me/iouri/java/server/BEA/real_time/server/lib/../../javelin/lib/../../common/lib/wlw-util.jar, /hom
e/iouri/java/server/BEA/real_time/server/lib/../../javelin/lib/../../server/lib/xbean.jar, /home/io
uri/java/server/BEA/real_time/server/lib/logkit/logkit.jar, /home/iouri/java/server/BEA/real_time/s
erver/lib/../../common/lib/pdev.jar, /home/iouri/java/server/BEA/real_time/server/lib/../../common/
lib/., /home/iouri/java/server/BEA/real_time/server/lib/../../common/lib/3rdparty.jar, /home/iouri/
java/server/BEA/real_time/server/lib/../../common/lib/plugin-wizard.jar, /home/iouri/java/server/BE
A/real_time/server/lib/../../common/lib/comdev.jar, /home/iouri/java/server/BEA/real_time/server/li
b/../../common/lib/wizard.jar, /home/iouri/java/server/BEA/real_time/server/lib/../../common/lib/pl
ugin.jar, /home/iouri/java/server/BEA/real_time/server/lib/../../common/lib/oxy-cci.jar, /home/iour
i/java/server/BEA/real_time/server/lib/../../common/lib/config.jar, /home/iouri/java/server/BEA/rea
l_time/server/lib/../../common/lib/wlw-plaf.jar, /home/iouri/java/server/BEA/real_time/server/lib/.
./../common/lib/upgradeplugin.jar, /home/iouri/java/server/BEA/real_time/server/lib/../../common/li
b/jython.jar, /home/iouri/java/server/BEA/real_time/server/lib/debugging.jar, /home/iouri/java/serv
er/BEA/real_time/server/lib/wlw-system.jar, /home/iouri/java/server/BEA/real_time/server/lib/wlxbea
n.jar, /home/iouri/java/server/BEA/real_time/server/lib/jcom.jar, /home/iouri/java/apache-ant/lib/a
nt-launcher.jar, /home/iouri/java/apache-ant/lib/ant-trax.jar, /home/iouri/java/apache-ant/lib/ant-
apache-bsf.jar, /home/iouri/java/apache-ant/lib/ant-vaj.jar, /home/iouri/java/apache-ant/lib/ant-an
tlr.jar, /home/iouri/java/apache-ant/lib/ant-nodeps.jar, /home/iouri/java/apache-ant/lib/ant-styleb
ook.jar, /home/iouri/java/apache-ant/lib/ant-jai.jar, /home/iouri/java/apache-ant/lib/ant-swing.jar
, /home/iouri/java/apache-ant/lib/ant-commons-logging.jar, /home/iouri/java/apache-ant/lib/ant-comm
ons-net.jar, /home/iouri/java/apache-ant/lib/ant.jar, /home/iouri/java/apache-ant/lib/ant-netrexx.j
ar, /home/iouri/java/apache-ant/lib/ant-apache-bcel.jar, /home/iouri/java/apache-ant/lib/ant-jmf.ja
r, /home/iouri/java/apache-ant/lib/ant-javamail.jar, /home/iouri/java/apache-ant/lib/ant-jsch.jar,
/home/iouri/java/apache-ant/lib/ant-apache-regexp.jar, /home/iouri/java/apache-ant/lib/xercesImpl.j
ar, /home/iouri/java/apache-ant/lib/ant-junit.jar, /home/iouri/java/apache-ant/lib/ant-jdepend.jar,
/home/iouri/java/apache-ant/lib/ant-xalan1.jar, /home/iouri/java/apache-ant/lib/xml-apis.jar, /hom
e/iouri/java/apache-ant/lib/ant-apache-oro.jar, /home/iouri/java/apache-ant/lib/ant-xslp.jar, /home
/iouri/java/apache-ant/lib/ant-icontract.jar, /home/iouri/java/apache-ant/lib/ant-starteam.jar, /ho
me/iouri/java/apache-ant/lib/ant-apache-log4j.jar, /home/iouri/java/apache-ant/lib/ant-weblogic.jar
, /home/iouri/java/apache-ant/lib/ant-apache-resolver.jar, /home/iouri/java/jdk1.5.0_04/lib/tools.j
ar, /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medrecEar/APP-INF/cla
sses, /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/src/medrecEar/APP-INF/lib
/log4j-1.2.8.jar, /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/src/medrecEar
/APP-INF/lib/spring-1.2.5.jar]]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/util/ArrayList.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/util/List.class)]
     [jwsc] [loading /home/iouri/java/ws/jwsdp/jaxws/lib/jsr181-api.jar(javax/jws/WebMethod.class)]
     [jwsc] [loading /home/iouri/java/ws/jwsdp/jaxws/lib/jsr181-api.jar(javax/jws/WebService.class)
]
     [jwsc] [loading /home/iouri/java/ws/jwsdp/jaxws/lib/jsr181-api.jar(javax/jws/soap/SOAPBinding.
class)]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/src/medrec
Ear/APP-INF/lib/log4j-1.2.8.jar(org/apache/log4j/Logger.class)]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/server/lib/weblogic.jar(weblogic/jws/WLH
ttpTransport.class)]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medr
ecEar/APP-INF/classes/com/bea/medrec/domain/Patient.class]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medr
ecEar/APP-INF/classes/com/bea/medrec/domain/Record.class]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medr
ecEar/APP-INF/classes/com/bea/medrec/domain/RecordsSummary.class]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medr
ecEar/APP-INF/classes/com/bea/medrec/exceptions/MedRecException.class]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medr
ecEar/APP-INF/classes/com/bea/medrec/utils/MedRecLog4jFactory.class]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medr
ecEar/APP-INF/classes/com/bea/medrec/webservice/MedRecBaseWebServices.class]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/io/Serializable.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Object.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Integer.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Exception.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/annotation/Retention.cla
ss)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/annotation/RetentionPoli
cy.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/annotation/Target.class)
]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/annotation/ElementType.c
lass)]
     [jwsc] [loading /home/iouri/java/ws/jwsdp/jaxws/lib/jsr181-api.jar(javax/jws/soap/SOAPBinding$
Style.class)]
     [jwsc] [loading /home/iouri/java/ws/jwsdp/jaxws/lib/jsr181-api.jar(javax/jws/soap/SOAPBinding$
Use.class)]
     [jwsc] [loading /home/iouri/java/ws/jwsdp/jaxws/lib/jsr181-api.jar(javax/jws/soap/SOAPBinding$
ParameterStyle.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/annotation/Annotation.cl
ass)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/String.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Deprecated.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/SuppressWarnings.class)]
     [jwsc] [checking com.bea.medrec.webservice.MedRecWebServices]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Class.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Throwable.class)]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/src/medrec
Ear/APP-INF/lib/log4j-1.2.8.jar(org/apache/log4j/Category.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Number.class)]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medr
ecEar/APP-INF/classes/com/bea/medrec/service/MedRecServiceFacade.class]
     [jwsc] [loading /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medr
ecEar/APP-INF/classes/com/bea/medrec/domain/Entity.class]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/util/AbstractList.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/util/AbstractCollection.class
)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/util/Collection.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Iterable.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Error.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/RuntimeException.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/StringBuilder.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/AbstractStringBuilder.cl
ass)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/CharSequence.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/Comparable.class)]
     [jwsc] [loading /home/iouri/java/jdk1.5.0_04/jre/lib/rt.jar(java/lang/StringBuffer.class)]
     [jwsc] [wrote /tmp/_ptaghb/com/bea/medrec/webservice/MedRecWebServices.class]
     [jwsc] [total 1117ms]
     [jwsc] Note: /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/src/medrecEar
/webservice/com/bea/medrec/webservice/MedRecWebServices.java uses unchecked or unsafe operations.
     [jwsc] Note: Recompile with -Xlint:unchecked for details.
     [jwsc] Copying 1 file to /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/b
uild/medrecEar/MedRecWebServices/WEB-INF/classes
     [jwsc] Created JWS deployment directory: /home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build/medrecEar/MedRecWebServices
[AntUtil.deleteDir] Deleting directory /tmp/_ptaghb
BUILD FAILED
/home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/build.xml:35: The following error occurred while executing this line:
/home/iouri/java/server/BEA/real_time/samples/domains/medrec-spring/src/build.xml:29: The following error occurred while executing this line:
java.lang.AssertionError: java.io.IOException
Total time: 41 seconds
[iouri#fedora medrec-spring]$Message was edited by:
IouriLeonov#yahoo.com 

I am having the same problem, were you able to resolve it? 

Anyone can help? I am getting the same error.
Thanks,

Related

jwsc doesn't recognizes certain annotations and fails to generate wsdl?

i try to generate WSDL for my very basic webservices using java6 and weblogic 10.3 running JWSC ant task and that's what i get:
[jwsc] JWS: processing module jws
[jwsc] Parsing source files
[jwsc] Parsing source files
[jwsc] 1 JWS files being processed for module jws
[jwsc] JWS: TestService.java Validated.
[jwsc] Processing 1 JAX-WS web services...
[jwsc] warning: Annotation types without processors: [javax.annotation.Resource]
[jwsc] 1 warning
[jwsc] warning: Annotation types without processors: [javax.xml.bind.annotation.XmlRootElement, javax.xml.bind.annotation.XmlAccessorType, javax.xml.bind.annotation.XmlType, javax.xml.bind.annotation.XmlElement]
[jwsc] 1 warning
[jwsc] JWS Compile failed: Error processing JAX-WS web servicesthe Resource annotation i use for spring things, while JWSC itself uses these JAXB annotations and strangely sucks in analysing them?
why does it fails and how can i fix it? i run the task forked with jaxb-api included in the classpath...
Edited by: konkere on Jul 7, 2009 4:56 PM 
You can safely ignore these warnings. Run jwsc again with the options verbose="on" debug="on" to generate more info. 
well, i can't ignore the warnings because the wsdl generation fails because of that.
that's the output with verbose and debug on, skipping classpaths (toolong).
     [jwsc] JWS: processing module /spring/hibernate/webservices/weblogic/ws/GetPeople
     [jwsc] Parsing source files
     [jwsc] Parsing source files
[JAM] Warning: failed to resolve class com.bea.util.jam.JClass
     [jwsc] 1 JWS files being processed for module /spring/hibernate/webservices/weblogic/ws/GetPeople
[JAM] Warning: failed to resolve class org.apache.xmlbeans.XmlObject
[JAM] Warning: failed to resolve class com.bea.xml.XmlObject
[JAM] Warning: failed to resolve class javax.xml.rpc.holders.Holder
     [jwsc] JWS: I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\ws\GetPeople.java Validated.
     [jwsc] Processing 1 JAX-WS web services...
     [jwsc] command line: apt "C:\Program Files\Java\jdk6\jre\bin\java.exe" -classpath "toolong" com.sun.tools.apt.Main -d I:\sources\premises-interface\ws-test\target\_quwmga\_22p1 -s I:\sources\premises-interface\ws-test\target\_quwmga\_22p1 -sourcepath I:\sources\premises-interface\ws-test\src\main\java;I:\sources\premises-interface\ws-test\target\_quwmga -g -verbose -AdoNotOverWrite=true -AignoreNoWebServiceFoundWarning=true -factory com.sun.istack.ws.AnnotationProcessorFactoryImpl I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\ws\GetPeople.java
     [jwsc] [parsing started I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\ws\GetPeople.java]
     [jwsc] [parsing completed 94ms]
     [jwsc] [search path for source files: I:\sources\premises-interface\ws-test\src\main\java,I:\sources\premises-interface\ws-test\target\_quwmga]
     [jwsc] [search path for class files: toolong]
     [jwsc] [loading java\util\concurrent\atomic\AtomicReference.class(java\util\concurrent\atomic:AtomicReference.class)]
     [jwsc] [loading javax\annotation\Resource.class(javax\annotation:Resource.class)]
     [jwsc] [loading javax\jws\WebMethod.class(javax\jws:WebMethod.class)]
     [jwsc] [loading javax\jws\WebResult.class(javax\jws:WebResult.class)]
     [jwsc] [loading javax\jws\WebService.class(javax\jws:WebService.class)]
     [jwsc] [loading javax\jws\soap\SOAPBinding.class(javax\jws\soap:SOAPBinding.class)]
     [jwsc] [loading javax\servlet\ServletContext.class(javax\servlet:ServletContext.class)]
     [jwsc] [loading javax\xml\ws\ResponseWrapper.class(javax\xml\ws:ResponseWrapper.class)]
     [jwsc] [loading javax\xml\ws\WebServiceContext.class(javax\xml\ws:WebServiceContext.class)]
     [jwsc] [loading org\springframework\web\context\WebApplicationContext.class(org\springframework\web\context:WebApplicationContext.class)]
     [jwsc] [loading org\springframework\web\context\support\WebApplicationContextUtils.class(org\springframework\web\context\support:WebApplicationContextUtils.class)]
     [jwsc] [loading I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\domain\Person.java]
     [jwsc] [parsing started I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\domain\Person.java]
     [jwsc] [parsing completed 15ms]
     [jwsc] [loading I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\ws\IGetPeople.java]
     [jwsc] [parsing started I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\ws\IGetPeople.java]
     [jwsc] [parsing completed 0ms]
     [jwsc] [loading java\lang\Object.class(java\lang:Object.class)]
     [jwsc] [loading java\lang\String.class(java\lang:String.class)]
     [jwsc] [loading java\lang\annotation\Target.class(java\lang\annotation:Target.class)]
     [jwsc] [loading java\lang\annotation\ElementType.class(java\lang\annotation:ElementType.class)]
     [jwsc] [loading java\lang\annotation\Retention.class(java\lang\annotation:Retention.class)]
     [jwsc] [loading java\lang\annotation\RetentionPolicy.class(java\lang\annotation:RetentionPolicy.class)]
     [jwsc] [loading javax\annotation\Resource$AuthenticationType.class(javax\annotation:Resource$AuthenticationType.class)]
     [jwsc] [loading javax\jws\soap\SOAPBinding$Style.class(javax\jws\soap:SOAPBinding$Style.class)]
     [jwsc] [loading javax\jws\soap\SOAPBinding$Use.class(javax\jws\soap:SOAPBinding$Use.class)]
     [jwsc] [loading javax\jws\soap\SOAPBinding$ParameterStyle.class(javax\jws\soap:SOAPBinding$ParameterStyle.class)]
     [jwsc] [loading java\lang\annotation\Annotation.class(java\lang\annotation:Annotation.class)]
     [jwsc] warning: Annotation types without processors: [javax.annotation.Resource]
     [jwsc] [loading java\rmi\Remote.class(java\rmi:Remote.class)]
     [jwsc] [loading java\rmi\RemoteException.class(java\rmi:RemoteException.class)]
     [jwsc] [loading java\lang\Exception.class(java\lang:Exception.class)]
     [jwsc] [loading javax\xml\ws\Holder.class(javax\xml\ws:Holder.class)]
     [jwsc] [loading java\util\Collection.class(java\util:Collection.class)]
     [jwsc] [loading java\util\Map.class(java\util:Map.class)]
     [jwsc] Note: [ProcessedMethods Class: spring.hibernate.webservices.weblogic.ws.GetPeople]
     [jwsc] Note: [should process method: getPeople hasWebMethods: true ]
     [jwsc] Note: [endpointReferencesInterface: false]
     [jwsc] Note: [declaring class has WebSevice: true]
     [jwsc] Note: [returning: true]
     [jwsc] Note: [WrapperGen - method: getPeople()]
     [jwsc] Note: [method.getDeclaringType(): spring.hibernate.webservices.weblogic.ws.GetPeople]
     [jwsc] Note: [requestWrapper: spring.hibernate.webservices.weblogic.ws.jaxws.GetPeople]
     [jwsc] Note: [ProcessedMethods Class: java.lang.Object]
     [jwsc] spring\hibernate\webservices\weblogic\ws\jaxws\GetPeople.java
     [jwsc] spring\hibernate\webservices\weblogic\ws\jaxws\GetPeopleResponse.java
     [jwsc] [total 111243ms]
     [jwsc] 1 warning
     [jwsc] [parsing started I:\sources\premises-interface\ws-test\target\_quwmga\_22p1\spring\hibernate\webservices\weblogic\ws\jaxws\GetPeopleResponse.java]
     [jwsc] [parsing completed 0ms]
     [jwsc] [parsing started I:\sources\premises-interface\ws-test\target\_quwmga\_22p1\spring\hibernate\webservices\weblogic\ws\jaxws\GetPeople.java]
     [jwsc] [parsing completed 0ms]
     [jwsc] [search path for source files: I:\sources\premises-interface\ws-test\src\main\java,I:\sources\premises-interface\ws-test\target\_quwmga,I:\sources\premises-interface\ws-test\target\_quwmga\_22p1]
     [jwsc] [search path for class files: toolong.]
     [jwsc] [loading javax\xml\bind\annotation\XmlAccessType.class(javax\xml\bind\annotation:XmlAccessType.class)]
     [jwsc] [loading javax\xml\bind\annotation\XmlAccessorType.class(javax\xml\bind\annotation:XmlAccessorType.class)]
     [jwsc] [loading javax\xml\bind\annotation\XmlElement.class(javax\xml\bind\annotation:XmlElement.class)]
     [jwsc] [loading javax\xml\bind\annotation\XmlRootElement.class(javax\xml\bind\annotation:XmlRootElement.class)]
     [jwsc] [loading javax\xml\bind\annotation\XmlType.class(javax\xml\bind\annotation:XmlType.class)]
     [jwsc] [loading I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\domain\Person.java]
     [jwsc] [parsing started I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\domain\Person.java]
     [jwsc] [parsing completed 0ms]
     [jwsc] [loading java\lang\Object.class(java\lang:Object.class)]
     [jwsc] [loading java\lang\String.class(java\lang:String.class)]
     [jwsc] [loading java\lang\annotation\Retention.class(java\lang\annotation:Retention.class)]
     [jwsc] [loading java\lang\annotation\RetentionPolicy.class(java\lang\annotation:RetentionPolicy.class)]
     [jwsc] [loading java\lang\annotation\Target.class(java\lang\annotation:Target.class)]
     [jwsc] [loading java\lang\annotation\ElementType.class(java\lang\annotation:ElementType.class)]
     [jwsc] [loading java\lang\annotation\Annotation.class(java\lang\annotation:Annotation.class)]
     [jwsc] warning: Annotation types without processors: [javax.xml.bind.annotation.XmlRootElement, javax.xml.bind.annotation.XmlAccessorType, javax.xml.bind.annotation.XmlType, javax.xml.bind.annotation.XmlElement]
     [jwsc] [loading java\rmi\Remote.class(java\rmi:Remote.class)]
     [jwsc] [loading java\rmi\RemoteException.class(java\rmi:RemoteException.class)]
     [jwsc] [loading java\lang\Exception.class(java\lang:Exception.class)]
     [jwsc] [loading javax\xml\ws\Holder.class(javax\xml\ws:Holder.class)]
     [jwsc] [total 69590ms]
     [jwsc] 1 warning
     [jwsc] [parsing started I:\sources\premises-interface\ws-test\src\main\java\spring\hibernate\webservices\weblogic\ws\GetPeople.java]
     [jwsc] [parsing completed 0ms]
     [jwsc] [parsing started I:\sources\premises-interface\ws-test\target\_quwmga\_22p1\spring\hibernate\webservices\weblogic\ws\jaxws\GetPeopleResponse.java]
     [jwsc] [parsing completed 0ms]
     [jwsc] [parsing started I:\sources\premises-interface\ws-test\target\_quwmga\_22p1\spring\hibernate\webservices\weblogic\ws\jaxws\GetPeople.java]
     [jwsc] [parsing completed 0ms]
     [jwsc] [search path for source files: I:\sources\premises-interface\ws-test\src\main\java,I:\sources\premises-interface\ws-test\target\_quwmga,I:\sources\premises-interface\ws-test\target\_quwmga\_22p1]
     [jwsc] [search path for class files:toolong]
     [jwsc] [loading java\util\concurrent\atomic\AtomicReference.class(java\util\concurrent\atomic:AtomicReference.class)]
     [jwsc] [loading javax\annotation\Resource.class(javax\annotation:Resource.class)]
     [jwsc] [loading javax\jws\WebMethod.class(javax\jws:WebMethod.class)]
     [jwsc] [loading javax\jws\WebResult.class(javax\jws:WebResult.class)]
     [jwsc] [loading javax\jws\WebService.class(javax\jws:WebService.class)]
     [jwsc] [loading javax\jws\soap\SOAPBinding.class(javax\jws\soap:SOAPBinding.class)]
     [jwsc] [loading javax\servlet\ServletContext.class(javax\servlet:ServletContext.class)]
     [jwsc] [loading javax\xml\ws\ResponseWrapper.class(javax\xml\ws:ResponseWrapper.class)]
     [jwsc] [loading javax\xml\ws\WebServiceContext.class(javax\xml\ws:WebServiceContext.class)]
     [jwsc] [loading org\springframework\web\context\WebApplicationContext.class(org\springframework\web\context:WebApplicationContext.class)]
     [jwsc] [loading org\springframework\web\context\support\WebApplicationContextUtils.class(org\springframework\web\context\support:WebApplicationContextUtils.class)]
     [jwsc] [loading I:\sources\premises-interface\ws-test\target\classes\spring\hibernate\webservices\weblogic\domain\Person.class]
     [jwsc] [loading I:\sources\premises-interface\ws-test\target\classes\spring\hibernate\webservices\weblogic\ws\IGetPeople.class]
     [jwsc] [loading java\lang\Object.class(java\lang:Object.class)]
     [jwsc] [loading javax\xml\bind\annotation\XmlAccessType.class(javax\xml\bind\annotation:XmlAccessType.class)]
     [jwsc] [loading javax\xml\bind\annotation\XmlAccessorType.class(javax\xml\bind\annotation:XmlAccessorType.class)]
     [jwsc] [loading javax\xml\bind\annotation\XmlElement.class(javax\xml\bind\annotation:XmlElement.class)]
     [jwsc] [loading javax\xml\bind\annotation\XmlRootElement.class(javax\xml\bind\annotation:XmlRootElement.class)]
     [jwsc] [loading javax\xml\bind\annotation\XmlType.class(javax\xml\bind\annotation:XmlType.class)]
     [jwsc] [loading java\lang\annotation\Target.class(java\lang\annotation:Target.class)]
     [jwsc] [loading java\lang\annotation\ElementType.class(java\lang\annotation:ElementType.class)]
     [jwsc] [loading java\lang\annotation\Retention.class(java\lang\annotation:Retention.class)]
     [jwsc] [loading java\lang\annotation\RetentionPolicy.class(java\lang\annotation:RetentionPolicy.class)]
     [jwsc] [loading javax\annotation\Resource$AuthenticationType.class(javax\annotation:Resource$AuthenticationType.class)]
     [jwsc] [loading javax\jws\soap\SOAPBinding$Style.class(javax\jws\soap:SOAPBinding$Style.class)]
     [jwsc] [loading javax\jws\soap\SOAPBinding$Use.class(javax\jws\soap:SOAPBinding$Use.class)]
     [jwsc] [loading javax\jws\soap\SOAPBinding$ParameterStyle.class(javax\jws\soap:SOAPBinding$ParameterStyle.class)]
     [jwsc] [loading java\lang\annotation\Annotation.class(java\lang\annotation:Annotation.class)]
     [jwsc] [loading java\lang\String.class(java\lang:String.class)]
     [jwsc] [checking spring.hibernate.webservices.weblogic.ws.GetPeople]
     [jwsc] [loading javax\xml\ws\handler\MessageContext.class(javax\xml\ws\handler:MessageContext.class)]
     [jwsc] [loading java\util\Map.class(java\util:Map.class)]
     [jwsc] [loading org\springframework\context\ApplicationContext.class(org\springframework\context:ApplicationContext.class)]
     [jwsc] [loading org\springframework\beans\factory\ListableBeanFactory.class(org\springframework\beans\factory:ListableBeanFactory.class)]
     [jwsc] [loading org\springframework\beans\factory\BeanFactory.class(org\springframework\beans\factory:BeanFactory.class)]
     [jwsc] [loading org\springframework\beans\factory\HierarchicalBeanFactory.class(org\springframework\beans\factory:HierarchicalBeanFactory.class)]
     [jwsc] [loading org\springframework\context\MessageSource.class(org\springframework\context:MessageSource.class)]
     [jwsc] [loading org\springframework\context\ApplicationEventPublisher.class(org\springframework\context:ApplicationEventPublisher.class)]
     [jwsc] [loading org\springframework\core\io\support\ResourcePatternResolver.class(org\springframework\core\io\support:ResourcePatternResolver.class)]
     [jwsc] [loading org\springframework\core\io\ResourceLoader.class(org\springframework\core\io:ResourceLoader.class)]
     [jwsc] [loading org\springframework\beans\factory\config\AutowireCapableBeanFactory.class(org\springframework\beans\factory\config:AutowireCapableBeanFactory.class)]
     [jwsc] [loading java\lang\Error.class(java\lang:Error.class)]
     [jwsc] [loading java\lang\IllegalStateException.class(java\lang:IllegalStateException.class)]
     [jwsc] [loading java\lang\RuntimeException.class(java\lang:RuntimeException.class)]
     [jwsc] [loading java\lang\Exception.class(java\lang:Exception.class)]
     [jwsc] [loading java\lang\Throwable.class(java\lang:Throwable.class)]
     [jwsc] [loading org\springframework\beans\BeansException.class(org\springframework\beans:BeansException.class)]
     [jwsc] [loading org\springframework\core\NestedRuntimeException.class(org\springframework\core:NestedRuntimeException.class)]
     [jwsc] [wrote I:\sources\premises-interface\ws-test\target\_quwmga\_22p1\spring\hibernate\webservices\weblogic\ws\GetPeople.class]
     [jwsc] [checking spring.hibernate.webservices.weblogic.ws.jaxws.GetPeopleResponse]
     [jwsc] [wrote I:\sources\premises-interface\ws-test\target\_quwmga\_22p1\spring\hibernate\webservices\weblogic\ws\jaxws\GetPeopleResponse.class]
     [jwsc] [checking spring.hibernate.webservices.weblogic.ws.jaxws.GetPeople]
     [jwsc] [wrote I:\sources\premises-interface\ws-test\target\_quwmga\_22p1\spring\hibernate\webservices\weblogic\ws\jaxws\GetPeople.class]
     [jwsc] [total 139101ms]
     [jwsc] Deleting directory I:\sources\premises-interface\ws-test\target\_quwmga\_22p1
     [jwsc] Temporary files for module /spring/hibernate/webservices/weblogic/ws/GetPeople created in:
     [jwsc]      I:\sources\premises-interface\ws-test\target\_quwmga
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: weblogic.wsee.tools.WsBuildException: Error processing JAX-WS web services
1 counts of IllegalAnnotationExceptionsEdited by: konkere on Jul 8, 2009 10:15 AM 
You can ignore those warnings like javax.xml.bind.*, etc. This will happen in any case (it's apt complaining not finding specific processors for those annotations but they will be processed anyway).
You got a "IllegalAnnotationExceptions" ath the end, unfortunately no stack trace coming with that. I suggest to post the annotations section of GetPeople.java to have a look at.
Also, the JAM warnings shouldn't come up. This suggests your classpath is missing jars (for example com.bea.util.jam.JClass is in com.bea.core.annogen_1.2.0.0.jar) though I can't tell whether this adds to the problem. 
>
You got a "IllegalAnnotationExceptions" ath the end, unfortunately no stack trace coming with that. I suggest to post the annotations section of GetPeople.java to have a look at.
>
yeah, it's very unfortunate that there's no stacktrace :(.
well my service is like the one from WL tutorial:
package spring.hibernate.webservices.weblogic.ws;
import java.util.concurrent.atomic.AtomicReference;
import javax.annotation.Resource;
import javax.jws.WebMethod;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.servlet.ServletContext;
import javax.xml.ws.ResponseWrapper;
import javax.xml.ws.WebServiceContext;
import spring.hibernate.webservices.weblogic.domain.Person;
#WebService(name = "GetPeople", targetNamespace = "http://spring.hibernate.webservices.weblogic", serviceName = "GetPeople")
#SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
public class GetPeople implements IGetPeople {
     #Resource
     private WebServiceContext context;
     private PersonDAO personDao;
     #WebMethod(operationName = "getPeople")
     #WebResult(name = "People", targetNamespace = "http://spring.hibernate.webservices.weblogic")
     public Person[] getPeople() {
          return personDao.getPeople();
     }
     public void setPersonDao(PersonDAO pd) {
          personDao = pd;
     }
}as you can see, it's exactly like in the tutorial, except the fact that it's a spring managed bean as well.
>
Also, the JAM warnings shouldn't come up. This suggests your classpath is missing jars (for example com.bea.util.jam.JClass is in com.bea.core.annogen_1.2.0.0.jar) though I can't tell whether this adds to the problem.>
that's not possible, i include all the jars in weblogic's "server/lib" to the classpath of jwsc, so maybe i need to include something else? where do i get these jars from? 
Your code looks ok.
The extra jars are located in bea\modules (tons of them). Compare your classpath to one from a working WLS example. 
Hi,
I too am having a similar problem:
I am following the "Use Cases and Examples" documentation for WebLogic 10.3 and I cannot get the "Creating a Web Service from a WSDL File" section to work.
When I use the contents of the pasted wsdl and build.xml file, included in the documentation, I get an error where examples.webservices.wsdlc.TemperaturePortType class is not found and therefore the command ant build-service fails.
The class is in the correct namespace and in the TemperatureService_wsld.jar file which is pointed to by the compiledWsdl argument in jws element under jwsc element so either the example is incomplete or WRONG or the jwsc tool is broken.
Please help me resolve this issue. I shoudln't have to spend 1/2 a day without success just following a simple example and using all code from the example so either the documentation and example are wrong and were not tested before being published or the jwsc tool is broken in Weblogic 10.3.
Here is the link for the documentation and source code for the example:
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webserv/use_cases.html#wp244395 
Before you (or we) spend too much time on analyzing your issues, why don't you try the shipped example coming with the samples: samples\server\examples\src\examples\webservices\jaxws\wsdl2service?
This one will work (I ran it myself) and then you have a reference to compare against. 
Hi,
Thanks for your reply but I can't find the example you are referring to. Is there a link where I can download this example?
Joe 
I figured out part of the problem:
This task in the build.xml file:
<target name="generate-from-wsdl">
<wsdlc
srcWsdl="wsdl_files/TemperatureService.wsdl"
destJwsDir="${compiledWsdl-dir}"
destImplDir="${impl-dir}"
packageName="examples.webservices.wsdlc" />
</target>
generates the output\compileWsdl\TemperatureService_wsdl.jar file but the contents of the jar file are as follows (there is no TemperaturePortType.class file; instead the source code is there):
META-INF/MANIFEST.MF
examples/
examples/webservices/
examples/webservices/wsdlc/
examples/webservices/wsdlc/TemperaturePortType.java
META-INF/
META-INF/binding-file.ser
META-INF/binding-file.xml
META-INF/binding-mapping-file.ser
wsdls/
wsdls/TemperatureService.wsdl
Is the wsdlc tool broken or does it have a bug? Did something or some intermediate step get left out in the documentation? Please tell me what I have to do to make sure the TemperaturePortType.class gets included in the jar file?
Edited by: user9976753 on Jul 17, 2009 10:54 AM 
Please let me know if you plan to help me with this issue or if I need to file a bug report in the Oracle Bug tracker in order to get some help with this?
I believe it is a bug since I am just following the documentation in the link I already provided and it is not working.
BTW, it should take about 5 minutes for someone to test the documentation and example I already mentioned and verify what I am saying.
Thanks,
Joe 
Joe,
Thanks for using Weblogic webservice, this turns out to be a doc bug. In order to not hijack this thread, I'm going to answer your question in Is wsdlc suppposed to generate *.java files or *.class files inside a JAR?
Thanks
Bethune 
The sample build uses RPC, but JAXWS. If I added type="JAXWS" to jws, I got the same warning. 
Hi,
Thank you for your response. I am afraid it does not help me. The example in the documentation is wrong. Can someone please provide me an example that works - preferably a build.xml file and TemperatureService.wsdl set of files that will actually build successfully and generate the appropriate classes without errors?
I hate to repeat myself but apparently this forum is not watched very much.
Thanks,
Joe
Edited by: user9976753 on Jul 22, 2009 4:33 PM

Problem in Building OTN Financial Brokerage Service Application

Dear all,
I have Downloaded recent Financial Brokerage Service Application JAR file .
When I was trying to build I found Couple of Errors ,
1.In make.xml line No328 USER NAME IS GIVEN AS "admin" insted of "oc4jadmin".
I fixed this one and moved further
WHen I try to Build I got the FOllowing ERror
[echo] Using Web Service Asswembler from C:\\oc4j/webservices/lib/wsa.jar
[java] Error: Invalid command 'config'
[java]
[java] Usage:
[java] java -jar wsa.jar -<command> -debug -help
[java] where command can be one of:
[java] analyze
[java] aqAssemble
[java] assemble
[java] corbaAssemble
[java] dbJavaAssemble
[java] ejbAssemble
[java] fetchWsdl
[java] genApplicationDescriptor
[java] genConcreteWsdl
[java] genDDs
[java] genInterface
[java] genProxy
[java] genQosWsdl
[java] genValueTypes
[java] genWsdl
[java] help
[java] jmsAssemble
[java] plsqlAssemble
[java] sqlAssemble
[java] topDownAssemble
[java] version
BUILD FAILED
C:\ibfbs\build.xml:205: Java returned: 1
HERE IS COMPLETE MESSAGE
C:\ibfbs>ant make
Buildfile: build.xml
init:
clean:
[delete] Deleting directory C:\ibfbs\lib
[delete] Deleting directory C:\ibfbs\build
setup:
[mkdir] Created dir: C:\ibfbs\lib
[mkdir] Created dir: C:\ibfbs\build
[mkdir] Created dir: C:\ibfbs\build\ejb
[mkdir] Created dir: C:\ibfbs\build\ejb\META-INF
[mkdir] Created dir: C:\ibfbs\build\ws
[mkdir] Created dir: C:\ibfbs\build\ws\META-INF
[mkdir] Created dir: C:\ibfbs\build\web
[mkdir] Created dir: C:\ibfbs\build\web\WEB-INF
[mkdir] Created dir: C:\ibfbs\build\web\jsps
[mkdir] Created dir: C:\ibfbs\build\web\images
[mkdir] Created dir: C:\ibfbs\build\web\includes
[mkdir] Created dir: C:\ibfbs\build\web\schema
[mkdir] Created dir: C:\ibfbs\build\web\WEB-INF\classes
[mkdir] Created dir: C:\ibfbs\build\web\WEB-INF\lib
[mkdir] Created dir: C:\ibfbs\build\web\WEB-INF\xml
[mkdir] Created dir: C:\ibfbs\build\toplink
[mkdir] Created dir: C:\ibfbs\build\wsejb
[mkdir] Created dir: C:\ibfbs\build\wsejb\META-INF
[mkdir] Created dir: C:\ibfbs\build\j2ee
[mkdir] Created dir: C:\ibfbs\build\j2ee\META-INF
toplink-classes:
[javac] Compiling 4 source files to C:\ibfbs\build\toplink
toplink-descriptor:
[copy] Copying 4 files to C:\ibfbs\build\toplink
toplink-jar:
[jar] Building jar: C:\ibfbs\lib\ibfbs_toplink.jar
ejb-classes:
[javac] Compiling 40 source files to C:\ibfbs\build\ejb
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
ejb-descriptor:
[copy] Copying 2 files to C:\ibfbs\build\ejb\META-INF
ejb-jar:
[jar] Building jar: C:\ibfbs\lib\ibfbs_ejb.jar
wsejb-descriptors:
[copy] Copying 1 file to C:\ibfbs\build\wsejb\META-INF
wsejb-classes:
[javac] Compiling 3 source files to C:\ibfbs\build\wsejb
[javac] C:\ibfbs\webservices\src\oracle\otnsamples\ibfbs\admin\ejb\StockQuot
eBean.java
[javac] C:\ibfbs\webservices\src\oracle\otnsamples\ibfbs\admin\ejb\StockQuot
eService.java
[javac] C:\ibfbs\webservices\src\oracle\otnsamples\ibfbs\trademanagement\ejb
\TradeHelper.java
wsejb-jar:
[jar] Building jar: C:\ibfbs\lib\ibfbs_service_ejb.jar
gen-service:
[echo] Using Web Service Asswembler from C:\\oc4j/webservices/lib/wsa.jar
[java] Error: Invalid command 'config'
[java]
[java] Usage:
[java] java -jar wsa.jar -<command> -debug -help
[java] where command can be one of:
[java] analyze
[java] aqAssemble
[java] assemble
[java] corbaAssemble
[java] dbJavaAssemble
[java] ejbAssemble
[java] fetchWsdl
[java] genApplicationDescriptor
[java] genConcreteWsdl
[java] genDDs
[java] genInterface
[java] genProxy
[java] genQosWsdl
[java] genValueTypes
[java] genWsdl
[java] help
[java] jmsAssemble
[java] plsqlAssemble
[java] sqlAssemble
[java] topDownAssemble
[java] version
BUILD FAILED
C:\ibfbs\build.xml:205: Java returned: 1
Total time: 5 seconds
C:\ibfbs>
Could u please Help me how to proceed further
With Thanks And Regrads
G P P 
me too face the same problem... any reply pls....

Error while creating ear  file

I got error like this
D:\Fahc\web services\ejb>ant
Buildfile: build.xml
webservice:
clean:
init:
[mkdir] Created dir: D:\Fahc\web services\ejb\build
[mkdir] Created dir: D:\Fahc\web services\ejb\build\META-INF
[copy] Warning: build.xml modified in the future.
[copy] Warning: ejb-jar.xml modified in the future.
[copy] Warning: weblogic-ejb-jar.xml modified in the future.
[copy] Copying 5 files to D:\Fahc\web services\ejb\build\META-INF
compile_ejb:
[javac] Warning: Weather.java modified in the future.
[javac] Warning: WeatherBean.java modified in the future.
[javac] Warning: WeatherHome.java modified in the future.
[javac] Compiling 3 source files to D:\Fahc\web services\ejb\build
jar_ejb:
[jar] Building jar: D:\Fahc\web services\ejb\a_statelessSession.jar
ejbc:
[java] error: cannot read: D:\Fahc\web services\ejb\ejbcgen\examples\webservices\rpc\weatherEJB\*.java
[java] 1 error
[java] Exec failed .. exiting
[java] Java Result: 1
all:
wsgen:
[wsgen] Ejbjar 'weather.jar' not found. Skipping.
java.util.zip.ZipException: The system cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at java.util.jar.JarFile.<init>(JarFile.java:82)
at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
at weblogic.ant.taskdefs.ejb.WSGenHelper.ejb_modules(WSGenHelper.java:1595)
at weblogic.ant.taskdefs.ejb.WSGenHelper.getEJBDescriptor(WSGenHelper.java:422)
at weblogic.ant.taskdefs.ejb.WSGenHelper.updateWAR(WSGenHelper.java:517)
at weblogic.ant.taskdefs.ejb.WSGenHelper.init(WSGenHelper.java:377)
at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1539)
at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:94)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
[wsgen] Can't find module: [module: weather.jar
path: weather.jar
uri: /weatheruri
]
copy:
[copy] Copying 1 file to E:\bea\wlserver6.1\config\mydomain\applications
BUILD SUCCESSFUL
Total time: 11 seconds
Will anybody solve my problem
Thanks in advance
Regards,
Vinoth.C
Hi vinoth,
Just a suggestion, could be ejbc is having trouble with the filename you have in "[java] error: cannot read:
D:\Fahc\web services". You might try it without the space. Otherwise, post the build.xml and maybe we can
provide further assistance.
HTH,
Bruce
vinoth wrote:
I got error like this
D:\Fahc\web services\ejb>ant
Buildfile: build.xml
webservice:
clean:
init:
[mkdir] Created dir: D:\Fahc\web services\ejb\build
[mkdir] Created dir: D:\Fahc\web services\ejb\build\META-INF
[copy] Warning: build.xml modified in the future.
[copy] Warning: ejb-jar.xml modified in the future.
[copy] Warning: weblogic-ejb-jar.xml modified in the future.
[copy] Copying 5 files to D:\Fahc\web services\ejb\build\META-INF
compile_ejb:
[javac] Warning: Weather.java modified in the future.
[javac] Warning: WeatherBean.java modified in the future.
[javac] Warning: WeatherHome.java modified in the future.
[javac] Compiling 3 source files to D:\Fahc\web services\ejb\build
jar_ejb:
[jar] Building jar: D:\Fahc\web services\ejb\a_statelessSession.jar
ejbc:
[java] error: cannot read: D:\Fahc\web services\ejb\ejbcgen\examples\webservices\rpc\weatherEJB\*.java
[java] 1 error
[java] Exec failed .. exiting
[java] Java Result: 1
all:
wsgen:
[wsgen] Ejbjar 'weather.jar' not found. Skipping.
java.util.zip.ZipException: The system cannot find the file specified
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at java.util.jar.JarFile.<init>(JarFile.java:82)
at weblogic.utils.jars.VirtualJarFile.<init>(VirtualJarFile.java:24)
at weblogic.ant.taskdefs.ejb.WSGenHelper.ejb_modules(WSGenHelper.java:1595)
at weblogic.ant.taskdefs.ejb.WSGenHelper.getEJBDescriptor(WSGenHelper.java:422)
at weblogic.ant.taskdefs.ejb.WSGenHelper.updateWAR(WSGenHelper.java:517)
at weblogic.ant.taskdefs.ejb.WSGenHelper.init(WSGenHelper.java:377)
at weblogic.ant.taskdefs.ejb.WSGenHelper.doit(WSGenHelper.java:1539)
at weblogic.ant.taskdefs.ejb.WSGen.execute(WSGen.java:94)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:213)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
[wsgen] Can't find module: [module: weather.jar
path: weather.jar
uri: /weatheruri
]
copy:
[copy] Copying 1 file to E:\bea\wlserver6.1\config\mydomain\applications
BUILD SUCCESSFUL
Total time: 11 seconds
Will anybody solve my problem
Thanks in advance
Regards,
Vinoth.C

OSR Installation on Linux

Hi guys,
Ive installed OSR once on Windows and i know there are some problems which i had but i managed to solve them.
Now im trying to install OSR on Linux (i have SOA suite already here - yes, i know OSR and SOA Suite in one domain its not a good idea, so i will create second domain)
Installation goes to 24% and then i got
#
#Mon May 21 14:33:10 GMT+02:00 2012
oracle.database.user=OSR
porting.type.condition=weblogic11g
porting.weblogic.admin.name=
alldb.jdbc.drivers.paths=/oracle/soa/Oracle/Middleware/wlserver_10.3/server/lib
porting.server.type.condition=standalone
porting.weblogic.http.port=7101
oracle.server.port=1521
install.server.smtp.port=25
install.server.admin.password=***
install.directory=/oracle/soa/Oracle/Middleware/registry111
porting.weblogic.https.port=7102
porting.weblogic.admin.host=localhost
oracle.database.name=xe
install.server.admin.mail=admin#localhost
porting.support.multihost=true
setup.skip.marker=
porting.weblogic.deploy.type.condition=domain
alldb.install.demo.data.settings=
alldb.jdbc.custom.uribox=no
install.server.smtp.password=***
install.type.condition=standalone
alldb.create.datasource=yes
porting.https.use=no
alldb.install.registry.name=Oracle Service Registry
dist.version=11.1.1
install.server.admin.password.confirmation=***
install.server.admin.name=admin
alldb.advance.condition=false
install.server.smtp.title=
alldb.install.demo.data=yes
alldb.create.datasource.weblogic=yes
account.backend.type.condition=database
install.server.smtp.default.sender.email=
install.server.smtp.host=[ SMTP server hostname ]
porting.weblogic.admin.port=7001
alldb.create.drop.condition=createSchema
install.server.smtp.default.sender.name=
porting.weblogic.home=
install.os.is.win.andcondition=false
install.server.smtp.password.confirmation=***
porting.weblogic.admin.password=***
alldb.create.datasource.name=jdbc/registryDS
oracle.server.host=localhost
db.showall.condition=false
alldb.jdbc.custom.urifield=
porting.weblogic.deploy.mark=
porting.hostname=soabpm-vm
install.server.operator.name=Oracle
db.system.name.condition=oracle
porting.context=registry
porting.weblogic.java.home=
install.server.smtp.account.name=
oracle.database.password=***
properties:
install-unpack:
[echo] Expanding /oracle/soa/osr/ofm_osr_generic_11.1.1.6.0_disk1_1of1.zip_FILES/OSR111160_generic_.jar to /oracle/soa/Oracle/Middleware/registry111 ...
[unjar2] Expanding: /oracle/soa/osr/ofm_osr_generic_11.1.1.6.0_disk1_1of1.zip_FILES/OSR111160_generic_.jar into /oracle/soa/Oracle/Middleware/registry111
install-copy:
install:
[echo] Building scripts ...
install:
prepareOs:
initWin:
initUnix:
[echo] Platform is unix
set.globaldef_bc:
unset.globaldef_bc:
[delete] Deleting: /oracle/soa/Oracle/Middleware/registry111/etc/bin/globaldef_bc.xml
[touch] Creating /oracle/soa/Oracle/Middleware/registry111/etc/bin/globaldef_bc.xml
init:
clean:
[delete] Deleting 2 files from /oracle/soa/Oracle/Middleware/registry111/etc/bin
delete:
prepare:
[copy] Copying 2 files to /oracle/soa/Oracle/Middleware/registry111/etc/bin
build.tools:
build.tools.specific.for.weblogic11g:
btool:
[style] Processing /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xml to /oracle/soa/Oracle/Middleware/registry111/bin/SoapSpy.sh
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xsl
btool:
[style] Processing /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xml to /oracle/soa/Oracle/Middleware/registry111/bin/setup.sh
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xsl
btool:
[style] Processing /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xml to /oracle/soa/Oracle/Middleware/registry111/bin/PStoreTool.sh
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xsl
btool:
[style] Processing /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xml to /oracle/soa/Oracle/Middleware/registry111/bin/signer.sh
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xsl
btool:
[style] Processing /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xml to /oracle/soa/Oracle/Middleware/registry111/bin/sslTool.sh
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xsl
btool:
[style] Processing /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xml to /oracle/soa/Oracle/Middleware/registry111/bin/register.sh
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xsl
build.envfile:
btool:
[style] Processing /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xml to /oracle/soa/Oracle/Middleware/registry111/bin/env.sh
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/tools.xsl
generate.commandline.scripts:
update.runner.jar:
[mkdir] Created dir: /oracle/soa/Oracle/Middleware/registry111/tmp/META-INF
[propertyfile] Creating new property file: /oracle/soa/Oracle/Middleware/registry111/tmp/META-INF/wasp.properties
[zip] Updating zip: /oracle/soa/Oracle/Middleware/registry111/lib/runner.jar
[delete] Deleting directory /oracle/soa/Oracle/Middleware/registry111/tmp
platform.Windows:
platform.Linux:
[delete] Deleting 20 files from /oracle/soa/Oracle/Middleware/registry111/demos
[delete] Deleting 41 files from /oracle/soa/Oracle/Middleware/registry111/demos
[delete] Deleting directory /oracle/soa/Oracle/Middleware/registry111/etc/icons
java.vendor.IBM:
props:
props2:
account_core:
[echo] Preparing 'admin' account ...
[style] Processing /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/account_core.xml to /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/account_core.xml.new
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/account_core_admin.xsl
[style] Processing /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/group_core.xml to /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/group_core.xml.new
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/group_admin.xsl
[move] Moving 1 files to /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf
[move] Moving 1 files to /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf
accountList:
[echo] Preparing account_list ...
[style] Processing /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/account_list.xml to /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/account_list.xml.new
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/account_list.xsl
[move] Moving 1 files to /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf
permissionList:
[echo] Preparing permission_list ...
[style] Processing /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/permission_list.xml to /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/permission_list.xml.new
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/permission_list.xsl
[move] Moving 1 files to /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf
approvalManagement:
[echo] Preparing approval management ...
[copy] Copying 1 file to /oracle/soa/Oracle/Middleware/registry111/etc/db/data
[style] Processing /oracle/soa/Oracle/Middleware/registry111/etc/db/data/approvalManagement.xml.old to /oracle/soa/Oracle/Middleware/registry111/etc/db/data/approvalManagement.xml
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/approvalManagement.xsl
[delete] Deleting: /oracle/soa/Oracle/Middleware/registry111/etc/db/data/approvalManagement.xml.old
[copy] Copying 1 file to /oracle/soa/Oracle/Middleware/registry111/etc/db/data
[style] Processing /oracle/soa/Oracle/Middleware/registry111/etc/db/data/demo_approvalManagement.xml.old to /oracle/soa/Oracle/Middleware/registry111/etc/db/data/demo_approvalManagement.xml
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/demo_approvalManagement.xsl
[delete] Deleting: /oracle/soa/Oracle/Middleware/registry111/etc/db/data/demo_approvalManagement.xml.old
databaseScripts:
[copy] Copying 1 file to /oracle/soa/Oracle/Middleware/registry111/etc/db/data
[copy] Copying 1 file to /oracle/soa/Oracle/Middleware/registry111/etc/db/data
[copy] Copying 1 file to /oracle/soa/Oracle/Middleware/registry111/etc/db/data
[copy] Copying 1 file to /oracle/soa/Oracle/Middleware/registry111/etc/db/data
changeAdmin:
standalone:
[echo] Creating standalone configuration ...
remove_approval:
[delete] Deleting: /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/staging.xml
[delete] Deleting: /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf/production.xml
[delete] Deleting 3 files from /oracle/soa/Oracle/Middleware/registry111/app/uddi/conf
[delete] Deleting: /oracle/soa/Oracle/Middleware/registry111/app/uddi/services/WASP-INF/lib/approval_production_v3.jar
[delete] Deleting: /oracle/soa/Oracle/Middleware/registry111/app/uddi/services/WASP-INF/lib/approval_staging_v3.jar
[style] Processing /oracle/soa/Oracle/Middleware/registry111/app/uddi/services/WASP-INF/package.xml to /oracle/soa/Oracle/Middleware/registry111/app/uddi/services/WASP-INF/package.xml.new
[style] Loading stylesheet /oracle/soa/Oracle/Middleware/registry111/etc/bin/package_approval.xsl
[move] Moving 1 files to /oracle/soa/Oracle/Middleware/registry111/app/uddi/services/WASP-INF
forkAntTask:
[java] Buildfile: /oracle/soa/Oracle/Middleware/registry111/etc/setup/setupserver.xml
[java] installprops:
[java] props:
[java] props2:
[java] changeSecurity:
[java] changeSecurity.with.ssl:
[java] changeSecurity.without.ssl:
[java] install.authtoken.identity:
[java] [java] Error during command execution
[java] [java] com.idoox.wasp.security.tools.IdentityToolException: Cannot create new identity
[java] [java] at com.idoox.wasp.security.tools.IdentityTool.newIdentity(IdentityTool.java:535)
[java] [java] at com.idoox.wasp.security.tools.IdentityTool.main(IdentityTool.java:846)
[java] [java] Caused by: java.security.cert.CertificateException: cannot parse date
[java] [java] at gnu.java.security.provider.X509CertificateFactory.engineGenerateCertificate(libgcj.so.7rh)
[java] [java] at java.security.cert.CertificateFactory.generateCertificate(libgcj.so.7rh)
[java] BUILD FAILED
[java] /oracle/soa/Oracle/Middleware/registry111/etc/setup/setupserver.xml:54: The following error occurred while executing this line:
[java] /oracle/soa/Oracle/Middleware/registry111/etc/setup/setupserver.xml:67: The following error occurred while executing this line:
[java] [java] at com.idoox.security.util.IdentityGenerator.generate(IdentityGenerator.java:119)
[java] /oracle/soa/Oracle/Middleware/registry111/etc/bin/install-security.xml:74: Java returned: 255
[java] [java] at com.idoox.wasp.security.tools.IdentityTool.newIdentity(IdentityTool.java:526)
[java] [java] ...1 more
[java] [java] Caused by: gnu.java.security.der.DEREncodingException: cannot parse date
[java] [java] at gnu.java.security.der.DERReader.makeTime(libgcj.so.7rh)
[java] [java] at gnu.java.security.der.DERReader.readUniversal(libgcj.so.7rh)
[java] [java] at gnu.java.security.der.DERReader.read(libgcj.so.7rh)
[java] [java] at gnu.java.security.x509.X509Certificate.parse(libgcj.so.7rh)
[java] [java] at gnu.java.security.x509.X509Certificate.<init>(libgcj.so.7rh)
[java] [java] at gnu.java.security.provider.X509CertificateFactory.generateCert(libgcj.so.7rh)
[java] [java] at gnu.java.security.provider.X509CertificateFactory.engineGenerateCertificate(libgcj.so.7rh)
[java] [java] ...4 more
[java] Total time: 2 seconds
Java returned: 1
Installation failed. If accessible, see "/oracle/soa/Oracle/Middleware/registry111/log/install.log".
To correct installation parameters and resume installation click Recovery.
.
Any ideas?
Edited by: 934372 on 2012-05-21 06:29
Dont know why i didnt see it earlier, it cannot parse date.. but how can i do something about it? 
Problem solved.. it was easier that i thought. 
and the answer was? 
Wrong path to Java.
Im a newbie Linux user, so i thought if i have jdk160_29 installed im using it all the time.. (OSR installation requires 1.5 or above) but i was wrong.
In terminal i typed "java -version" and then "which java" and i saw im using java 1.4.
So to run OSR installation .jar file i typed "[path to jdk160_29/bin/java] -jar [path to osr .jar file]" instead of "java -jar [path to osr .jar file]"
then i got another error but i managed to solve it too.

WL 10.3 ANT compiler error

We are migrating from WL9.2 to WL10.3 and are getting a compiler error that previously worked with JDK 1.5
$JAVA_HOME = /opt/weblogic/java/jrockit_160_05
This is how the ANT task is configured
<target name="build">
          <jwsc srcdir="src" destdir="${ear-dir}" classpathref="transform.class.path">
               <jws file="com/ws/transform/TransformImpl.java" explode="true"/>
          </jwsc>
          <javac
               srcdir="src/com/util"
               destdir="${ear-dir}/com/ws/transform/TransformImpl"
               classpath="${activation.jar}:${dom.jar}:{FastInfoset.jar}:${jaxp-api.jar}:${jsr173_api.jar}:${sax.jar}:${servlet-api.jar}:${serializer.jar}:${xalan.jar}:${xml-apis.jar}:${xercesImpl.jar}:${log4j.jar}:${Ngl.jar}:${NglIEntities.jar}:${perltools.jar}:${gatesdk.jar}">
          </javac>
<path id="transform.class.path">
<pathelement path="${weblogic.jar}"/> <!-- ADDED this to avoid the below initial error --->
</path>
Without 10.3 Weblogic.jar in classpath, getting
/tmp/WAPI2450/transform/transformWS/build.xml:62: java.lang.RuntimeException: Unknown javadoc problem: result=1, root=null:
JAM: error - Cannot find doclet class com.bea.util.jam.internal.javadoc.JavadocRunner_150
1 error
After adding 10.3 Weblogic.jar in classpath, seeing this error
build-service:
[jwsc] JWS: processing module /com/ws/transform/TransformImpl
[jwsc] Parsing source files
[jwsc] Parsing source files
[jwsc] 1 JWS files being processed for module /com/fedex/ws/transform/TransformImpl
[jwsc] JWS: /tmp/WAPI2450/transform/transformWS/src/com/ws/transform/TransformImpl.java Validated.
[jwsc] EJBGen WebLogic Server 10.3 SP0 Fri Jul 25 16:30:05 EDT 2008 1137967
[jwsc] /tmp/WAPI2450/transform/transformWS/src/com/ws/transform/TransformImpl.java:75: Warning: [TransformBean] This EJB is declared local but doesnt have any local methods.
[jwsc] /tmp/WAPI2450/transform/transformWS/src/com/ws/transform/TransformImpl.java:75: Warning: [TransformBean] This EJB is declared remote but doesnt have any remote methods.
[jwsc] Creating /tmp/_hwf09i/TransformBeanHome.java
[jwsc] Creating /tmp/_hwf09i/TransformBean.java
[jwsc] Creating /tmp/_hwf09i/TransformBeanLocal.java
[jwsc] Creating /tmp/_hwf09i/TransformBeanLocalHome.java
[jwsc] Creating /tmp/_hwf09i//ejb-jar.xml
[jwsc] Compiling 6 source files to /tmp/_hwf09i
*[jwsc] An exception has occurred in the compiler (1.6.0_05). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.*
*[jwsc] java.lang.IllegalAccessError: tried to access field com/sun/tools/javac/util/JCDiagnostic$DiagnosticType.keyLjava/lang/String; from class com/sun/tools/javac/util/JCDiagnostic$Factory*
[jwsc] at com.sun.tools.javac.util.JCDiagnostic$Factory.qualify(JCDiagnostic.java:145)
[jwsc] at com.sun.tools.javac.util.JCDiagnostic$Factory.warning(JCDiagnostic.java:101)
[jwsc] at com.sun.tools.javac.util.Log.strictWarning(Log.java:452)
[jwsc] at com.sun.tools.javac.comp.Attr.checkId(Attr.java:2127)
[jwsc] at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1899)
[jwsc] at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1522)
[jwsc] at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
[jwsc] at com.sun.tools.javac.comp.Attr.attribType(Attr.java:391)
[jwsc] at com.sun.tools.javac.comp.MemberEnter.attribImportType(MemberEnter.java:681)
[jwsc] at com.sun.tools.javac.comp.MemberEnter.visitImport(MemberEnter.java:545)
[jwsc] at com.sun.tools.javac.tree.JCTree$JCImport.accept(JCTree.java:495)
[jwsc] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
[jwsc] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:398)
[jwsc] at com.sun.tools.javac.comp.MemberEnter.visitTopLevel(MemberEnter.java:513)
[jwsc] at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:446)
[jwsc] at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
[jwsc] at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:819)
[jwsc] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
[jwsc] at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
[jwsc] at com.sun.tools.javac.comp.Enter.complete(Enter.java:451)
[jwsc] at com.sun.tools.javac.comp.Enter.main(Enter.java:430)
[jwsc] at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819)
[jwsc] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727)
[jwsc] at com.sun.tools.javac.main.Main.compile(Main.java:353)
[jwsc] at com.sun.tools.javac.main.Main.compile(Main.java:279)
[jwsc] at com.sun.tools.javac.main.Main.compile(Main.java:270)
[jwsc] at com.sun.tools.javac.Main.compile(Main.java:69)
[jwsc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[jwsc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[jwsc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[jwsc] at java.lang.reflect.Method.invoke(Method.java:597)
[jwsc] at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:55)
[jwsc] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
[jwsc] at weblogic.wsee.tools.anttasks.DelegatingJavacTask$ExposingJavac.compile(DelegatingJavacTask.java:344)
[jwsc] at weblogic.wsee.tools.anttasks.DelegatingJavacTask.compile(DelegatingJavacTask.java:286)
[jwsc] at weblogic.wsee.tools.anttasks.JwscTask.javac(JwscTask.java:335)
[jwsc] at weblogic.wsee.tools.anttasks.JwsModule.compile(JwsModule.java:391)
[jwsc] at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:262)
[jwsc] at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:227)
[jwsc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[jwsc] at org.apache.tools.ant.Task.perform(Task.java:364)
[jwsc] at org.apache.tools.ant.Target.execute(Target.java:341)
[jwsc] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[jwsc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[jwsc] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:39)
[jwsc] at org.apache.tools.ant.Project.executeTargets(Project.java:1070)
[jwsc] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[jwsc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[jwsc] at org.apache.tools.ant.Task.perform(Task.java:364)
[jwsc] at org.apache.tools.ant.Target.execute(Target.java:341)
[jwsc] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[jwsc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[jwsc] at org.apache.tools.ant.Project.executeTarget(Project.java:1186)
[jwsc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[jwsc] at org.apache.tools.ant.Project.executeTargets(Project.java:1070)
[jwsc] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[jwsc] at org.apache.tools.ant.Main.startAnt(Main.java:188)
[jwsc] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[AntUtil.deleteDir] Deleting directory /tmp/_hwf09i
Edited by: user2921469 on Nov 23, 2009 10:45 AM
Edited by: user2921469 on Nov 23, 2009 10:47 AM
Edited by: user2921469 on Nov 23, 2009 10:57 AM
Edited by: user2921469 on Nov 23, 2009 11:01 AM 
Hi,
Just try adding "*C:\bea103\jrockit_160_05\lib\tools.jar*" and "*rt.jar*" in the Beginning of your Classpath of ANT script...or in
ANT_CLASSPATH
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com (WebLogic Wonders Are Here) 
This is still not working for me. Following is my classpath setting
<ant:path id="weblogic-webservices-classpath">
<ant:fileset dir="/opt/app/d1tvt1m7/bea/jdk1.6.0_18/jre/lib" includes="*.jar" />
<ant:fileset dir="/opt/app/d1tvt1m7/bea/jdk1.6.0_18/lib"     includes="*.jar" />
<ant:fileset dir="/opt/app/d1tvt1m7/apache-ant-1.8.0RC1/lib" includes="*.jar"/>
<ant:fileset dir="/opt/app/d1tvt1m7/bea/wlserver_10.3/server/lib" includes="*.jar"/>
<ant:path refid="maven.dependency.classpath" />
</ant:path>
Would you please let me know if you could resolve this issue and how? Thanks in advance. 
I resolved it by running the wl10.3x server/setWLSEnv.sh command before running Ant build. It seems like maybe the environment was not set properly. 
I solved this problem. I've extracted all required libraries from weblogic server.
com.bea.core.descriptor.settable.binding_1.4.0.0.jar
com.bea.core.descriptor.wl.binding_1.1.0.0.jar
com.bea.core.descriptor.wl_1.1.0.0.jar
com.bea.core.descriptor_1.4.0.0.jar
com.bea.core.xml.beaxmlbeans_1.0.0.0_2-4-0.jar
com.bea.core.xml.beaxmlbeans_2.2.0.0.jar
com.bea.core.xml.staxb.buildtime_1.3.0.0.jar
com.bea.core.xml.staxb.runtime_1.3.0.0.jar
com.bea.core.xml.stax_1.1.0.0.jar
com.bea.core.xml.xmlbeans_1.0.0.0_2-4-0.jar
com.bea.core.xml.xmlbeans_2.2.0.0.jar
glassfish.jaxb.xjc_2.1.6.jar
glassfish.jaxws.rt_2.1.3.jar
glassfish.jaxb_2.1.6.jar
glassfish.jaxws.tools_1.0.0.0_2-1-3.jar     
wlfullclient.jar
weblogic.jar
webserviceclient+ssl.jar
webserviceclient.jar
webservices.jar
wlfullclient5.jar
wlclient.jar

Categories

Resources