Ant 1.4.1, ejbjar problem.
Hi there,
I am trying to use <ejbjar> task to create ejb jar files using WL 6.1
sp2.
My task is:
<ejbjar flatdestdir="true" naming="descriptor"
descriptordir="${ejb_stage}/META-INF" srcdir="${ejb_stage}"
destdir="${app_stage}">
<classpath>
<path refid="clpath"/>
<path>
<pathelement location="${support_jar}"/>
</path>
<path>
<pathelement location="${ejb_stage}"/>
</path>
</classpath>
<weblogic destdir="${app_stage}"/>
</ejbjar>
I have a task that compiles the EJB classes into ${ejb_stage}. When I
run ant -v, I get that it finds all the classes, but when it builds
the jar is excluding the LocalHome interface from the JAR (don't know
why). Now, it builds the jar file for the first EJB, but in the
second one, it says:
[ejbjar] Unrecognized publicId -//BEA Systems, Inc.//DTD WebLogic
6.0.0 EJB//
EN - using EJB 1.1 compiler
But the descriptor of this EJB has exactly the same DOCTYPE element as
the one it just built. Now, if I just change the date on the
descriptor file of that component, it seems to work; but still the
LocalHome interface is not in the jar file... I am not sure if the
LocalHome interface is really required to be there; it should
definetively be in the client side, anyway any help will be greately
appreciated.
Thanks in advance,
-- juan
Hi Juan,
It's possible to eliminate this problem and even to speed up build
process by adding these lines to <ejbjar> ANT task:
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" location="${external.dtd.dir}/ejb-jar_2_0.dtd"/>
<dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" location="${external.dtd.dir}/weblogic-ejb-jar-600.dtd"/>
<dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB RDBMS Persistence//EN" location="${external.dtd.dir}/weblogic-rdbms20-persistence-600.dtd"/>
Put dtds to external.dtd.dir.
Regards,
Slava Imeshev
"Juan Arjona" <[email protected]> wrote in message news:[email protected]..
Hi there,
I am trying to use <ejbjar> task to create ejb jar files using WL 6.1
sp2.
My task is:
<ejbjar flatdestdir="true" naming="descriptor"
descriptordir="${ejb_stage}/META-INF" srcdir="${ejb_stage}"
destdir="${app_stage}">
<classpath>
<path refid="clpath"/>
<path>
<pathelement location="${support_jar}"/>
</path>
<path>
<pathelement location="${ejb_stage}"/>
</path>
</classpath>
<weblogic destdir="${app_stage}"/>
</ejbjar>
I have a task that compiles the EJB classes into ${ejb_stage}. When I
run ant -v, I get that it finds all the classes, but when it builds
the jar is excluding the LocalHome interface from the JAR (don't know
why). Now, it builds the jar file for the first EJB, but in the
second one, it says:
[ejbjar] Unrecognized publicId -//BEA Systems, Inc.//DTD WebLogic
6.0.0 EJB//
EN - using EJB 1.1 compiler
But the descriptor of this EJB has exactly the same DOCTYPE element as
the one it just built. Now, if I just change the date on the
descriptor file of that component, it seems to work; but still the
LocalHome interface is not in the jar file... I am not sure if the
LocalHome interface is really required to be there; it should
definetively be in the client side, anyway any help will be greately
appreciated.
Thanks in advance,
-- juan[att1.html]
Similar Messages
-
Problem in Creating .wsdl file and mapping.xml with ant
hi
i am created my .wsdl file and mapping.xml file with wscompile tool but when i run this by ant tool it show a problem.
the command runs on command prompt but when run throught ant file it shows a following error :-
Execute failed: java.io.IOException: CreateProces: wscompile -define -mapping build\classes\META-INF\mapping.xml -d . -nd build\.................and so on
so if anybody have any idea then plz help me asap
thanxThe following Ant snippet is the way I've defined my wscompile task. I'm creating a web application and it looks like yours might be an EJB endpoint, but you can adjust where necessary:
<taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
<classpath refid="compile.classpath" />
</taskdef>
<target name="init">
<echo message="-------- ${appname} --------" />
</target>
<!-- This target compiles the server components using an existing WSDL as the driving document.
The configuration file must use the <wsdl> element giving the location (local file system
or URL) of the WSDL document.
Note: the fork argument is needed to over come a bug when using the mapping argument. See
http://forum.java.sun.com/thread.jspa?threadID=592994&tstart=0
-->
<target name="generate-server-from-WSDL" depends="init">
<wscompile fork="yes"
keep="true"
base="${basedir}/WebContent/WEB-INF/classes"
import="true"
features="wsi"
xPrintStackTrace="true"
verbose="true"
mapping="${basedir}/WebContent/WEB-INF/jaxrpc-mapping.xml"
sourcebase="${basedir}/src"
config="${config.server.doclit.file}">
<classpath>
<path refid="compile.classpath" />
</classpath>
</wscompile>
</target>
<target name="compile-server-from-WSDL" depends="generate-server-from-WSDL">
<javac srcdir="${basedir}/src" destdir="${basedir}/WebContent/WEB-INF/classes" debug="${compile.debug}">
<classpath refid="compile.classpath" />
</javac>
</target>Just make sure that the named destination directories exist before you run the script.
If you'd like more details on the wscompile Ant task, I found the following pages invaluable:
https://jax-rpc.dev.java.net/whitepaper/1.1/index-part1.html -
Hi,
I am trying to use the exported ant script from wls workshop for building the process application.But i am using IBM JDK 1.4.2 in AIX 5.2 box.
IBM has disintegrated the rt.jar by SUN into a number of other jar files.When i run the ant script, i have a problem like,
<b>classpath error:unable to find required rt.jar</b>
error and the build fails with
<b>noClassDefFoundError:org.apache/crimson/tree/XmlDocument</b>
I tried adding <b>rt.jar</b> into the classpath forcibly but it did not work out.
The ear file is built and packaged but the build fails.+
Do we have a fix for this either by bea or IBM?
Thanks,
VijayHi
This is a known issue addressed by CR205204
As you said, IBM actually does not have rt.jar in its JDK - they have moved contents of rt.jar into various jars.
IBM is not using org/apache/crimson/tree/ in their JDK at all.So the error shows up in the end of build even if it succeeds
You may need to add crimson.jar to wlwBuild classpath, since it is not part of IBMs JDK.
Note: the build will work even w/o crimson.jar giving a non build related IDE exception in the very end.
Thanks
Vimala -
Windows Vista start-up problem
Please help!!! I have hp pavilion p6152f with vista 64-bit. I used windows 7 upgrade program to upgrade to windows 7. After several OS freezing i decided to recover to Vista using hard drive partition. So i did it but vista never started. I am unable to run it. I haven't any access to safe mode. It redirects me to startup repair but it is unable to repair computer automatically ant it give me that:
Problem Event Name: StartupRepairV2
Problem Signature 01: AutoFailover
Problem Signature 02: 6.0.6001.18000.6.0.6001.18000
Problem Signature 03: 5
Problem Signature 04: 196611
Problem Signature 05: CorruptRegistry
Problem Signature 06: CorruptRegistry
Problem Signature 07: 2
Problem Signature 08: 3
Problem Signature 09: RollbackRegistry
Problem Signature 10: 0
OS Version: 6.0.6001.2.1.0.256.1
locale ID: 1033
so please helpHi,
This process will allow you to make a Vista Repair Disc. This is not an installation disc but will allow you to use the Vista Recovery Console that is available on retail versions of Vista.
Download the file on the link below.
Vista 64 bit
This is a zipped file. If you don't have an extraction utility installed, download and install 7-Zip which can be used to open this file. Simply right click the zipped file, select 7-Zip, select Extract Files and then click Ok. You should now see another folder containing the ISO file.
You will need software to burn the ISO to a CD. If you don't have this type on software installed, download and install ImgBurn and use this to burn the ISO to a CD.
Once you have created the Vista Repair Disc, follow the guide on the link below to see if this will repair your installation. If the initial startup repair doesn't work, try running windows System Restore from the Advanced Options as this may correct the registry corruption.
http://www.bleepingcomputer.com/tutorials/tutorial148.html#
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
FlexPMD not working in Ant 1.7
When attempting to run FlexPMD in Ant 1.7.0, we receive this error message:
Couldn't find that class Can't find resource com/adobe/ac/pmd/rulesets/architecture.xml. Make sure the resource is a valid file or URL or is on the CLASSPATH
However, switching to Ant 1.8 resolves the problem completely.
Does FlexPMD support Ant 1.7.0?
Anybody know why we might be getting this message?
ThanksWe resolved the issue.
It seems the Ant 1.7 supplied to us contained an old pmd-4.1.jar in the lib directory. Removing that jar solves the problem. -
Invalid initial heap size Problem with sdk1.4.2_03
Hi,
ich habe a troubling error with the java version 1.4.2_03.
I use an Ant Task to start a Weblogic Server (J2EE Server). For this, I use the following Ant code :
-----ANT CODE------------------------------------------------------------------------------------------------------------------------
<java classname="weblogic.Server" fork="true" failonerror="true" dir="${weblogic.domain.dir}">
<sysproperty key="bea.home" value="${bea.home.dir}"/>
<sysproperty key="weblogic.Name" value="${weblogic.admin.server.name}"/>
<sysproperty key="weblogic.management.username" value="${weblogic.user.name}"/>
<sysproperty key="weblogic.management.password" value="${weblogic.user.password}"/>
<sysproperty key="weblogic.ProductionModeEnabled" value="false"/>
<sysproperty key="java.security.policy" value="${weblogic.home.dir}\server\lib\weblogic.policy"/>
<sysproperty key="weblogic.security.SSL.trustedCAKeyStore" value="${weblogic.home.dir}\server\lib\cacerts"/>
<jvmarg value="-Xms32m -Xmx200m"/>
<classpath>
<pathelement path="${windows.classpath.wls}"/>
</classpath>
</java>
-----/ANT CODE------------------------------------------------------------------------------------------------------------------------
This Task perfectly works with the sdk java version 1.4.1_05, but I have the following message with the sdk java version 1.4.2_03 :
-----ERROR MESSAGE---------------------------------------------------
Invalid initial heap size: -Xms32m -Xmx200m
Could not create the Java virtual machine.
-----/ERROR MESSAGE---------------------------------------------------
The following parameter is anymore correct : <jvmarg value="-Xms32m -Xmx200m"/>
I have tried with a lot of possibilty, 64-200, 128-200, 128-128, 256-256, 512-512, nothing works.
I have tried without this parameter, this works fine.
I have tried with the weblogic server without the Ant Task, and this works fine too.
I think this is a bug in the JVM 1.4.2_03.
What do you think about this problem ??? Do you have some solution ???
I have also tried with another version of ant, I have the same problem. This works with JVM 1.4.1_05 and not with JVM 1.4.2_03.
If you have an idea, please, help.
ThanksIf you can start a 1.4.2 JVM with all these parameters independently (i.e. not from Ant) and it works, but from Ant it doesn't work, it's more likely that the problem is somehow related to interaction between Ant and the JVM, rather than the JVM itself. So I would suggest trying some Ant forum first - I think it would also work faster than if you try to submit this bug to Sun.
-
Cannot populate Example Database using ant create-tables
I encounter the problem like this [t-5362238]. But I've tried to do any thing, but I still cannot populate database. Somebody has another way to populate the database (not use ant) ?
And more. I can't use ant to deploy the *.WAR file. The terminal shows the message like the message when I perform ant create-tablesI encounter the problem like this [t-5362238]. But I've tried to do any thing, but I still cannot populate database. Somebody has another way to populate the database (not use ant) ?
And more. I can't use ant to deploy the *.WAR file. The terminal shows the message like the message when I perform ant create-tables -
hi,
i've re-posted this into a new post.
i'm following the java ee tutorial at sun.com and i'm having a problem with the bokstore1 example.
i've set the password file correctly and when i go to the bookstore1 dir and type 'ant' everything seems ok.
the problem i'm having is once i've started the server and DB server and then type ' ant create-tables' the build fails and i get this output-
"Starting database it the background. log redirected to c:\SunAppserver\......\....\...db.log
comand start-database failed
delete-tables:
BUILD FAILED
C:\javaeetutorial5\bp-project\database-ant.xml:48: c:\sun\appserver\javadb\lib not found"
can anyone help?
thanks in advance
matBased on the info. provided, seems to me the value for 'javaee.home' in build.properties may not be correct. Make sure that the property javaee.home in build .properties pints to valid installtion of application server, for ex. if you do 'dir' or 'ls' you should see javadb directory at this location.
Also check if you have a build.properties file under windows user directory (in addition to bp-project under tutorial) and if it points to a different application server installation.
- sreeni -
I know, this is not the right forum to talk about Ant. But they don't have an own one.
My first impression of Ant is: good idea, but no good design.
Ant's XML files effectively imitate an own programming syntax. Thats not what XML is suited for. I think no future programming language or script language will ever use XML as their main source files like Ant does. Nor will any other Library or Framework do that.
Being an Ant beginner, I have to learn to to program Ant scripts with XML. I cannot "reuse" my Java knowledge for that purpose. All the very basic things I must learn again when learning Ant: like calling a "method", passing "parameters", controlling program flow and so on. They are expressed different in XML syntax than in Java syntax.
So what is the alternative? The alternative would if the Ant creator would not have used XML as Ant's source files but Java source files instead. This would have resulted in a Library or a Framework.
Imagine all the Java Libraries and Java Frameworks being designed like Ant. How many different XML syntaxes would we have to learn!
I think its sad that Ant used the XML files. It wold be okay to use them as property files, but not as the main source files.
I could say more against the Ant design, but this is the main design blunder in my eyes.
What do you think?I know, this is not the right forum to talk about Ant. But they don't have an own one.There is an Ant mailing list. Perhaps you should send this to the list and see what kind of response you get.
My first impression of Ant is: good idea, but no good design.It's an excellent design, IMO. You couldn't be more wrong.
Ant's XML files effectively imitate an own programming syntax. Thats not what XML is suited for. I think no
future programming language or script language will ever use XML as their main source files like Ant does. Nor will any other Library or Framework do that.Ant does not pretend to be a programming language. There aren't constructs for looping, and the conditional logic is quite limited. I've even read in the docs (can't recall where right now) that it's not intended to be a full-fledged scripting language.
Being an Ant beginner, I have to learn to to program Ant scripts with XML. I cannot "reuse" my Java
knowledge for that purpose. All the very basic things I must learn again when learning Ant: like calling a
"method", passing "parameters", controlling program flow and so on. They are expressed different in XML syntax than in Java syntax."Being an Ant beginner" - there's the problem. Shallow knowledge.
They didn't intend for you to reuse your Java knowledge. Ant isn't a replacement for Java. It's a replacement for make. It is a framework that happens to use Java classes to implement common tasks, passing parameters to those tasks via XML.
Actually, I think it's a very nice framework that makes it possible for people to add tasks as they discover them, because they can define the task class and the XML to drive it in such a way that they're orthogonal to all other tasks. Today one programmer can add WebLogic EJB tasks, tomorrow it's another sending in JBoss EJB tasks for inclusion. It's a flexible, elegant design IMO.
So what is the alternative? The alternative would if the Ant creator would not have used XML as Ant's
source files but Java source files instead. This would have resulted in a Library or a Framework.What do you think is doing the work behind the scenes in that ant.jar? Java classes! XML happens to be a convenient, well-understood syntax for providing input values to drive those tasks and glue them together.
Imagine all the Java Libraries and Java Frameworks
being designed like Ant. How many different XML
syntaxes would we have to learn!This comment tells me that you don't understand libraries, frameworks, or Ant.
I think its sad that Ant used the XML files. It wold be okay to use them as property files, but not as the
main source files.You'd rather have property files than XML? You're a minority of one there. XML is routinely used to supply properties to Web apps, EJB descriptors, B2B apps, etc. What do you have against the use of XML? It's quite common, and a natural choice.
I could say more against the Ant design, but this is the main design blunder in my eyes.Please do pass this note to the Ant mailing list. I'm sure the designers are waiting to hear from you.
What do you think?I think this is one of the most ignorant posts I've seen in a while. - MOD -
How to deploy EJB by Ant?
Hi All,
I am working with the Ant build script for EJB, which deloy on Weblogic6.0. But I don't get any result from my Ant script which used ejbjar. So I wonder who can help me with ejbjar task of Ant.
Thanks,
JannieYou can execute any commandline action using ant. Here is a deployment target.
<target name="deploy" depends="ear" description="TBD: Deploy the Enterprise application EAR and generates ${client.app.ejb.jar}">
<apply executable="${j2ee_home}/bin/${appserver.deploytool}">
<arg value="-deploy" />
<srcfile />
<arg value="${appserver.hostname}" />
<arg value="${dist}/${client.app.ejb.jar}" />
<fileset dir="${dist}" includes="${container.ear}" />
</apply>
</target> -
Vision M problem persisting....I have tried EVERY solution
Hi there,
I know there are a million and one other threads about people having trouble with their Zen Vision M's and connection issues, but after having read them all and gone through every possible solution to the problem I could find my problem still persists.
The problem is this: I've had it since Christmas and everything has been fine, I ran the battery dead recently and tried to plug it in to charge from USB like normal......nothing, would not charge. So I bought a mains adapter and have charged it up to full but still I plug the zen vision M in and I get a popup about new hardware, 'zen vision m found', 'MPT device found' then the windows hardware installer pops up, trying to install any drivers....doesn't work.
I've gone through uninstalling the drivers and reinstalling, checking my USB registry permissions, uninstalling it from device manager and rebooting with the device still connected, all the fixes on the blog site, I have up-to-date SP2, I've tried all my USB ports, and still no joy.
If there are any other suggestions PLEASE let me know because I'm completely out of options.
Thanks.
Ant.I have solved the problem.
It seems that although I had Windows media player installed, some of it's key services with regards portable devices had been removed or stopped. I just reinstalled WMP and the player was detected by windows immediately.
Strange that the player should rely solely on a program's service that is not created by (and therefore not able to be fixed by) the manufacturer of the device itself.
But there you have it, that's one more solution to add to the growing list of 'reasons why the Zen isn't recognised'. -
"package javax.xml .rpc does not exist" error when compiling client jar
When I try to compile the web services client jar with either the clientgen or the <client> element of servicegen I get the following error "package weblogic.webservice.core.rpc does not exist"
Here is the error output
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:10: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:9: package javax.xml.rpc does not exist
[servicegen] public interface OSHService extends javax.xml.rpc.Service{
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:11: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext context();
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:13: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext joinContext()
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:14: package weblogic.webservice.context does not exist
[servicegen] throws weblogic.webservice.context.ContextNotFoundException;
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:16: package javax.xml.rpc does not exist
[servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort() throws javax.xml.rpc.ServiceException;
[servicegen]
^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
nt.jar-610368643\com\onexchange\tools\osh\client\OSHService.java:18: package javax.xml.rpc does not exist
[servicegen] com.onexchange.tools.osh.client.OSHServicePort getOSHServicePort(String username, String password) throws javax.xml.rpc.ServiceException;
[servicegen]
^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.StubImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
nt.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:12: package weblogic.webservice does not exist
[servicegen] public OSHServicePort_Stub( weblogic.webservice.Port _port ){
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:9: com.onexchange.tools.osh.client.OSHService_Impl should be declared abstract; it does not define context() in com.onexchange.tools.osh.client.OSHService_Impl
[servicegen] public class OSHService_Impl
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_clie
nt.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:40: cannot
resolve symbol
[servicegen] symbol : method _getPort (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
[servicegen] new com.onexchange.tools.osh.client.OSHServicePort_Stub( _g
etPort( "OSHServicePort" ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHService_Impl.java:49: cannot
resolve symbol
[servicegen] symbol : method _setUser (java.lang.String,java.lang.String,com.on
exchange.tools.osh.client.OSHServicePort)
[servicegen] location: class com.onexchange.tools.osh.client.OSHService_Impl
[servicegen] _setUser( username, password, getOSHServicePort() );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:24: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string", wrap( string ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:25: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string0", wrap( string0 ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:27: ca
nnot resolve symbol
[servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] java.lang.Object result = invoke( "login", _args );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:29: pa
ckage javax.xml.rpc does not exist
[servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:31: pa
ckage javax.xml.rpc.soap does not exist
[servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:44: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string", wrap( string ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:45: ca
nnot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] args.put( "string0", wrap( string0 ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:47: ca
nnot resolve symbol
[servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
[servicegen] location: class com.onexchange.tools.osh.client.OSHServicePort_Stub
[servicegen] java.lang.Object result = invoke( "oshRequest", _args );
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:49: pa
ckage javax.xml.rpc does not exist
[servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\fkhan\Local Settings\Temp\OSHService_client.jar-610368643\com\onexchange\tools\osh\client\OSHServicePort_Stub.java:51: pa
ckage javax.xml.rpc.soap does not exist
[servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
[servicegen] ^
[servicegen] 22 errors
[servicegen] java.io.IOException: Compiler failed executable.exec
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(Comp
ilerInvoker.java:470)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
er.java:329)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvok
er.java:337)
[servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compi
leFiles(CompilerHelper.java:80)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compil
eStubs(ClientGenImpl.java:608)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.genera
teStub(ClientGenImpl.java:553)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
ntGenFromEAR(ClientGenImpl.java:502)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
ientGenImpl.java:348)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.g
enerateClient(ServiceGenTask.java:597)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.e
xecute(ServiceGenTask.java:195)
[servicegen] at org.apache.tools.ant.Task.perform(Task.java:341)
[servicegen] at org.apache.tools.ant.Target.execute(Target.java:309)
[servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
[servicegen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[servicegen] at org.apache.tools.ant.Main.start(Main.java:196)
[servicegen] at org.apache.tools.ant.Main.main(Main.java:235)
BUILD FAILED
Below is the -debug from the ant task immediately following:
<target name="web-service" depends="osh_bean_jar">
<servicegen
destEar="${build}/osh_service"
warName="osh_service.war"
contextURI="web_services" >
<service
ejbJar="${dist}/osh_bean.jar"
targetNamespace="http://www.bea.com/webservices/basic/statelesSession"
serviceName="OSHService"
serviceURI="/OSHService"
generateTypes="True"
expandMethods="True"
style="rpc">
<client
packageName="com.onexchange.tools.osh.client" />
</service>
</servicegen>
</target>
Apache Ant version 1.5.3 compiled on August 13 2003
Buildfile: \onexv3.x\src\antfile\osh.xml
Detected Java version: 1.4 in: C:\bea\JDK141~1\jre
Detected OS: Windows 2000
+User task: propertyfile org.apache.tools.ant.taskdefs.optional.PropertyFile
+User task: vsscheckin org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKIN
+User task: sql org.apache.tools.ant.taskdefs.SQLExec
+User task: cvspass org.apache.tools.ant.taskdefs.CVSPass
+User task: p4reopen org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen
+User task: csc org.apache.tools.ant.taskdefs.optional.dotnet.CSharp
+User task: dirname org.apache.tools.ant.taskdefs.Dirname
+User task: wlrun org.apache.tools.ant.taskdefs.optional.ejb.WLRun
+User task: servicegen weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask
+User task: p4label org.apache.tools.ant.taskdefs.optional.perforce.P4Label
+User task: p4revert org.apache.tools.ant.taskdefs.optional.perforce.P4Revert
+User task: replaceregexp org.apache.tools.ant.taskdefs.optional.ReplaceRegExp
+User task: ddcreate weblogic.ant.taskdefs.build.DDCreateTask
+User task: get org.apache.tools.ant.taskdefs.Get
+User task: jjtree org.apache.tools.ant.taskdefs.optional.javacc.JJTree
+User task: sleep org.apache.tools.ant.taskdefs.Sleep
+User task: jarlib-display org.apache.tools.ant.taskdefs.optional.extension.JarLibDisplayTask
+User task: dependset org.apache.tools.ant.taskdefs.DependSet
+User task: zip org.apache.tools.ant.taskdefs.Zip
+User task: patch org.apache.tools.ant.taskdefs.Patch
+User task: jspc weblogic.ant.taskdefs.j2ee.Jspc
+User task: style org.apache.tools.ant.taskdefs.XSLTProcess
+User task: test org.apache.tools.ant.taskdefs.optional.Test
+User task: tstamp org.apache.tools.ant.taskdefs.Tstamp
+User task: unwar org.apache.tools.ant.taskdefs.Expand
+User task: vsshistory org.apache.tools.ant.taskdefs.optional.vss.MSVSSHISTORY
+User task: icontract org.apache.tools.ant.taskdefs.optional.IContract
+User task: cvschangelog org.apache.tools.ant.taskdefs.cvslib.ChangeLogTask
+User task: p4submit org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
+User task: ccmcheckin org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckin
+User task: p4change org.apache.tools.ant.taskdefs.optional.perforce.P4Change
+User task: bzip2 org.apache.tools.ant.taskdefs.BZip2
+User task: wspackage weblogic.ant.taskdefs.webservices.wspackage.WSPackage
+User task: p4delete org.apache.tools.ant.taskdefs.optional.perforce.P4Delete
+User task: vssadd org.apache.tools.ant.taskdefs.optional.vss.MSVSSADD
+User task: javadoc org.apache.tools.ant.taskdefs.Javadoc
+User task: translate org.apache.tools.ant.taskdefs.optional.i18n.Translate
+User task: signjar org.apache.tools.ant.taskdefs.SignJar
+User task: vajload org.apache.tools.ant.taskdefs.optional.ide.VAJLoadProjects
+User task: jarlib-available org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask
+User task: wsdd-merge weblogic.ant.taskdefs.webservices.autotype.DDMerge
+User task: WsdlToDotnet org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
+User task: buildnumber org.apache.tools.ant.taskdefs.BuildNumber
+User task: jpcovmerge org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge
+User task: compliance weblogic.ant.taskdefs.webservices.compliance.Compliance
+User task: ejbjar org.apache.tools.ant.taskdefs.optional.ejb.EjbJar
Could not load class (weblogic.ant.taskdefs.perforce.P4Changes) for task p4changes
+User task: war org.apache.tools.ant.taskdefs.War
Could not load a dependent class (com/starbase/starteam/Item) for task stlist
+User task: rename org.apache.tools.ant.taskdefs.Rename
+User task: sequential org.apache.tools.ant.taskdefs.Sequential
+User task: serverdeploy org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy
+User task: wsdlgen weblogic.ant.taskdefs.webservices.wsdlgen.WSDLGen
+User task: property org.apache.tools.ant.taskdefs.Property
+User task: move org.apache.tools.ant.taskdefs.Move
+User task: copydir org.apache.tools.ant.taskdefs.Copydir
+User task: cccheckin org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckin
+User task: wljspc org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
+User task: fixcrlf org.apache.tools.ant.taskdefs.FixCRLF
Could not load a dependent class (com/oroinc/net/SocketClient) for task telnet
+User task: sosget org.apache.tools.ant.taskdefs.optional.sos.SOSGet
Could not load class (weblogic.ant.taskdefs.perforce.P4VersionString) for task p4versionstring
+User task: pathconvert org.apache.tools.ant.taskdefs.PathConvert
+User task: autotype weblogic.ant.taskdefs.webservices.javaschema.JavaSchema
+User task: record org.apache.tools.ant.taskdefs.Recorder
+User task: p4sync org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
+User task: exec org.apache.tools.ant.taskdefs.ExecTask
+User task: p4edit org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
+User task: manifest org.apache.tools.ant.taskdefs.ManifestTask
+User task: maudit org.apache.tools.ant.taskdefs.optional.metamata.MAudit
+User task: antlr org.apache.tools.ant.taskdefs.optional.ANTLR
+User task: netrexxc org.apache.tools.ant.taskdefs.optional.NetRexxC
Could not load a dependent class (com/oroinc/net/ftp/FTP) for task ftp
+User task: jpcovreport org.apache.tools.ant.taskdefs.optional.sitraka.CovReport
+User task: wsdl2service weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service
+User task: execon org.apache.tools.ant.taskdefs.ExecuteOn
+User task: ccmcheckout org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckout
+User task: ant org.apache.tools.ant.taskdefs.Ant
+User task: xmlvalidate org.apache.tools.ant.taskdefs.optional.XMLValidateTask
+User task: xslt org.apache.tools.ant.taskdefs.XSLTProcess
+User task: iplanet-ejbc org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask
+User task: ccmcheckintask org.apache.tools.ant.taskdefs.optional.ccm.CCMCheckinDefault
+User task: gzip org.apache.tools.ant.taskdefs.GZip
+User task: native2ascii org.apache.tools.ant.taskdefs.optional.Native2Ascii
+User task: starteam org.apache.tools.ant.taskdefs.optional.scm.AntStarTeamCheckOut
+User task: ear org.apache.tools.ant.taskdefs.Ear
+User task: input org.apache.tools.ant.taskdefs.Input
+User task: wlpath weblogic.ant.taskdefs.WLPath
+User task: pointbase weblogic.ant.taskdefs.pointbase.PointBase
+User task: rmic weblogic.ant.taskdefs.j2ee.Rmic
+User task: checksum org.apache.tools.ant.taskdefs.Checksum
+User task: mail org.apache.tools.ant.taskdefs.email.EmailTask
+User task: loadfile org.apache.tools.ant.taskdefs.LoadFile
+User task: wsgen weblogic.ant.taskdefs.webservices.wsgen.WSGenTask
+User task: vsscheckout org.apache.tools.ant.taskdefs.optional.vss.MSVSSCHECKOUT
+User task: stylebook org.apache.tools.ant.taskdefs.optional.StyleBook
+User task: soscheckin org.apache.tools.ant.taskdefs.optional.sos.SOSCheckin
+User task: mimemail org.apache.tools.ant.taskdefs.optional.net.MimeMail
+User task: stlabel org.apache.tools.ant.taskdefs.optional.starteam.StarTeamLabel
+User task: gunzip org.apache.tools.ant.taskdefs.GUnzip
+User task: concat org.apache.tools.ant.taskdefs.Concat
+User task: cab org.apache.tools.ant.taskdefs.optional.Cab
+User task: touch org.apache.tools.ant.taskdefs.Touch
+User task: parallel org.apache.tools.ant.taskdefs.Parallel
+User task: splash org.apache.tools.ant.taskdefs.optional.splash.SplashTask
+User task: antcall org.apache.tools.ant.taskdefs.CallTarget
Could not load class (weblogic.ant.taskdefs.ejb.DDInit) for task ddinit
+User task: cccheckout org.apache.tools.ant.taskdefs.optional.clearcase.CCCheckout
+User task: typedef org.apache.tools.ant.taskdefs.Typedef
+User task: p4have org.apache.tools.ant.taskdefs.optional.perforce.P4Have
+User task: filter org.apache.tools.ant.taskdefs.Filter
+User task: xmlproperty org.apache.tools.ant.taskdefs.XmlProperty
Could not load a dependent class (jdepend/xmlui/JDepend) for task jdepend
+User task: copy org.apache.tools.ant.taskdefs.Copy
+User task: clientgen weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask
+User task: createidl weblogic.ant.taskdefs.iiop.CppIdlSetup
+User task: antstructure org.apache.tools.ant.taskdefs.AntStructure
Could not load a dependent class (com/ibm/bsf/BSFException) for task script
+User task: ccmcreatetask org.apache.tools.ant.taskdefs.optional.ccm.CCMCreateTask
+User task: rpm org.apache.tools.ant.taskdefs.optional.Rpm
+User task: delete org.apache.tools.ant.taskdefs.Delete
+User task: replace org.apache.tools.ant.taskdefs.Replace
+User task: mmetrics org.apache.tools.ant.taskdefs.optional.metamata.MMetrics
+User task: waitfor org.apache.tools.ant.taskdefs.WaitFor
+User task: untar org.apache.tools.ant.taskdefs.Untar
+User task: loadproperties org.apache.tools.ant.taskdefs.LoadProperties
+User task: wldeploy weblogic.ant.taskdefs.management.WLDeploy
+User task: available org.apache.tools.ant.taskdefs.Available
+User task: echoproperties org.apache.tools.ant.taskdefs.optional.EchoProperties
Could not load a dependent class (junit/framework/TestListener) for task junit
Could not load a dependent class (com/starbase/starteam/Item) for task stcheckin
+User task: vajexport org.apache.tools.ant.taskdefs.optional.ide.VAJExport
Could not load a dependent class (com/starbase/starteam/Item) for task stcheckout
+User task: bunzip2 org.apache.tools.ant.taskdefs.BUnzip2
+User task: copyfile org.apache.tools.ant.taskdefs.Copyfile
+User task: wlserver weblogic.ant.taskdefs.management.WLServer
+User task: vsscreate org.apache.tools.ant.taskdefs.optional.vss.MSVSSCREATE
+User task: wlconfig weblogic.ant.taskdefs.management.WLConfig
+User task: ejbc weblogic.ant.taskdefs.j2ee.Ejbc
+User task: unjar org.apache.tools.ant.taskdefs.Expand
+User task: wsdltodotnet org.apache.tools.ant.taskdefs.optional.dotnet.WsdlToDotnet
+User task: wlcompile weblogic.ant.taskdefs.build.WLCompileTask
+User task: mkdir org.apache.tools.ant.taskdefs.Mkdir
+User task: cvs org.apache.tools.ant.taskdefs.Cvs
+User task: condition org.apache.tools.ant.taskdefs.ConditionTask
+User task: tempfile org.apache.tools.ant.taskdefs.TempFile
+User task: junitreport org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator
+User task: taskdef org.apache.tools.ant.taskdefs.Taskdef
+User task: echo org.apache.tools.ant.taskdefs.Echo
+User task: ccupdate org.apache.tools.ant.taskdefs.optional.clearcase.CCUpdate
+User task: java org.apache.tools.ant.taskdefs.Java
+User task: vsslabel org.apache.tools.ant.taskdefs.optional.vss.MSVSSLABEL
+User task: renameext org.apache.tools.ant.taskdefs.optional.RenameExtensions
+User task: basename org.apache.tools.ant.taskdefs.Basename
+User task: javadoc2 org.apache.tools.ant.taskdefs.Javadoc
+User task: tar org.apache.tools.ant.taskdefs.Tar
+User task: vsscp org.apache.tools.ant.taskdefs.optional.vss.MSVSSCP
+User task: vajimport org.apache.tools.ant.taskdefs.optional.ide.VAJImport
+User task: setproxy org.apache.tools.ant.taskdefs.optional.net.SetProxy
+User task: p4counter org.apache.tools.ant.taskdefs.optional.perforce.P4Counter
+User task: wlstop org.apache.tools.ant.taskdefs.optional.ejb.WLStop
+User task: ilasm org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
+User task: soscheckout org.apache.tools.ant.taskdefs.optional.sos.SOSCheckout
+User task: apply org.apache.tools.ant.taskdefs.Transform
+User task: ccuncheckout org.apache.tools.ant.taskdefs.optional.clearcase.CCUnCheckout
+User task: jarlib-resolve org.apache.tools.ant.taskdefs.optional.extension.JarLibResolveTask
+User task: jlink org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
+User task: cvstagdiff org.apache.tools.ant.taskdefs.cvslib.CvsTagDiff
+User task: javacc org.apache.tools.ant.taskdefs.optional.javacc.JavaCC
+User task: chmod org.apache.tools.ant.taskdefs.Chmod
+User task: pvcs org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs
+User task: jarlib-manifest org.apache.tools.ant.taskdefs.optional.extension.JarLibManifestTask
+User task: jar org.apache.tools.ant.taskdefs.Jar
+User task: sound org.apache.tools.ant.taskdefs.optional.sound.SoundTask
+User task: wlappc weblogic.ant.taskdefs.j2ee.Appc
+User task: mparse org.apache.tools.ant.taskdefs.optional.metamata.MParse
+User task: blgenclient org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient
+User task: uptodate org.apache.tools.ant.taskdefs.UpToDate
+User task: genkey org.apache.tools.ant.taskdefs.GenerateKey
+User task: javah org.apache.tools.ant.taskdefs.optional.Javah
+User task: ccmreconfigure org.apache.tools.ant.taskdefs.optional.ccm.CCMReconfigure
+User task: fail org.apache.tools.ant.taskdefs.Exit
+User task: unzip org.apache.tools.ant.taskdefs.Expand
+User task: javac org.apache.tools.ant.taskdefs.Javac
+User task: source2wsdd weblogic.ant.taskdefs.webservices.autotype.JavaSource2DD
+User task: p4add org.apache.tools.ant.taskdefs.optional.perforce.P4Add
+User task: jpcoverage org.apache.tools.ant.taskdefs.optional.sitraka.Coverage
+User task: soslabel org.apache.tools.ant.taskdefs.optional.sos.SOSLabel
+User task: depend org.apache.tools.ant.taskdefs.optional.depend.Depend
+User task: wlpackage weblogic.ant.taskdefs.build.WLPackageTask
+User task: vssget org.apache.tools.ant.taskdefs.optional.vss.MSVSSGET
+User task: deltree org.apache.tools.ant.taskdefs.Deltree
+User task: ddcreator org.apache.tools.ant.taskdefs.optional.ejb.DDCreator
+User datatype: patternset org.apache.tools.ant.types.PatternSet
+User datatype: filterset org.apache.tools.ant.types.FilterSet
+User datatype: libfileset org.apache.tools.ant.taskdefs.optional.extension.LibFileSet
+User datatype: filterreader org.apache.tools.ant.types.AntFilterReader
+User datatype: extension org.apache.tools.ant.taskdefs.optional.extension.ExtensionAdapter
+User datatype: fileset org.apache.tools.ant.types.FileSet
+User datatype: dirset org.apache.tools.ant.types.DirSet
+User datatype: filelist org.apache.tools.ant.types.FileList
+User datatype: filterchain org.apache.tools.ant.types.FilterChain
+User datatype: path org.apache.tools.ant.types.Path
+User datatype: classfileset org.apache.tools.ant.types.optional.depend.ClassfileSet
+User datatype: description org.apache.tools.ant.types.Description
+User datatype: xmlcatalog org.apache.tools.ant.types.XMLCatalog
+User datatype: selector org.apache.tools.ant.types.selectors.SelectSelector
+User datatype: mapper org.apache.tools.ant.types.Mapper
+User datatype: substitution org.apache.tools.ant.types.Substitution
+User datatype: extensionSet org.apache.tools.ant.taskdefs.optional.extension.ExtensionSet
+User datatype: regexp org.apache.tools.ant.types.RegularExpression
Setting ro project property: ant.version -> Apache Ant version 1.5.3 compiled on August 13 2003
Setting ro project property: ant.file -> C:\onexv3.x\src\antfile\osh.xml
parsing buildfile \onexv3.x\src\antfile\osh.xml with URI = file:C:/onexv3.x/src/antfile/osh.xml
Setting ro project property: ant.project.name -> osh
Adding reference: osh -> org.apache.tools.ant.Project@12ad19e
Project base dir set to: C:\onexv3.x\src\antfile
resolving systemId: file:properties.xml
+Task: property
[property] Loading Environment env.
Setting project property: env.SYSTEMROOT -> C:\WINNT
Setting project property: env.ONEX_WL_IP -> localhost
Setting project property: env.ORACLE_HOME -> /oracle/ora92
Setting project property: env.WEBROOT -> /weblogic/weblogic81/config/onexdomain-v3x/applications/onexchange
Setting project property: env.PROMPT -> $P$G
Setting project property: env.MY_PASSWORD -> qa1
Setting project property: env.JAVA_OPTIONS -> -Xverify:none
Setting project property: env.POINTBASE_TOOLS -> C:\weblogic\WEBLOG~1\common\eval\pointbase\lib\pbtools44.jar
Setting project property: env.ONEX_CONFIG -> /onexv3.x/ops/config/config_dev-v2.x.txt
Setting project property: env.PWD -> /weblogic/weblogic81/server/bin
Setting project property: env.COMPUTERNAME -> FKHAN2
Setting project property: env.JSPWD -> /weblogic/weblogic81/config/onexdomain-v3x/classfiles
Setting project property: env.MAKE_MODE -> UNIX
Setting project property: env.ALLUSERSPROFILE -> C:\Documents and Settings\All Users
Setting project property: env.h -> /onexv3.x
Setting project property: env.SERVLET_CLASSES -> /weblogic/weblogic81/config/onexdomain-v3x/servletclasses
Setting project property: env.HOMEPATH -> \Documents and Settings\fkhan
Setting project property: env.ONEX_NOTIFY -> 1
Setting project property: env.ONEX -> /onexv3.x
Setting project property: env.ONEX_TQREADER -> 1
Setting project property: env.JDK_CLASSES -> /bea/jdk141_05/lib/rt.jar
Setting project property: env._ -> ./ant.bat
Setting project property: env.EXT -> .60
Setting project property: env.SHELL -> /bin/sh
Setting project property: env.Z -> ;
Setting project property: env.X -> 1
Setting project property: env.MY_NAME -> qa1
Setting project property: env.ONEX_AUDIT -> 1
Setting project property: env.MY_DW_DB_SERVICE -> qa
Setting project property: env.PATH -> C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;C:\weblogic\WEBLOG~1\server\bin;C:\bea\JDK141~1\jre\bin;C:\bea\JDK141~1\bin;.;C:\onexv3.x\ops\scripts;C:\onexv3.x\scripts;C:\onexv3.x\3rdparty\ant\bin;C:\bea\jdk141_05\bin;C:\onexv3.x\scripts\singledb;C:\Oracle\Ora9\bin;C:\cygnus\CYGWIN~1\H-I586~1\bin;C:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Perforce;C:\cygwin\bin;C:\putty;C:\weblogic\WEBLOG~1\server\bin\oci920_8
Setting project property: env.MY_INSTANCE -> qa
Setting project property: env.POINTBASE_HOME -> C:\weblogic\WEBLOG~1\common\eval\pointbase
Setting project property: env.WINDIR -> C:\WINNT
Setting project property: env.ONEX_WL_HOME -> /weblogic/weblogic81
Setting project property: env.ONEX_TRADING -> 1
Setting project property: env.HOSTTYPE -> i586
Setting project property: env.J -> /onexv3.x/jars
Setting project property: env.PROCESSOR_IDENTIFIER -> x86 Family 6 Model 8 Stepping 3, GenuineIntel
Setting project property: env.JAVA_VENDOR -> Sun
Setting project property: env.TEMP -> C:\DOCUME~1\fkhan\LOCALS~1\Temp
Setting project property: env.ONEX_JAVA_HOME -> /bea/jdk141_05
SettiCan somebody tell me how to run the webservices in weblogic samples,when i run this(build.xml)i get the following error.
=========================================================Buildfile: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml
clean:
[delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
[delete] Deleting directory E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
compile:
[mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
[mkdir] Created dir: E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\client
[javac] Compiling 1 source file to E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build
ear:
[servicegen] Generating service "HelloWorld" ...
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:9: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.StubImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:12: package weblogic.webservice does not exist
[servicegen] public HelloWorldPort_Stub( weblogic.webservice.Port _port ){
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:9: package javax.xml.rpc does not exist
[servicegen] public interface HelloWorld extends javax.xml.rpc.Service{
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:11: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext context();
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:13: package weblogic.webservice.context does not exist
[servicegen] weblogic.webservice.context.WebServiceContext joinContext()
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:14: package weblogic.webservice.context does not exist
[servicegen] throws weblogic.webservice.context.ContextNotFoundException;
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:16: package javax.xml.rpc does not exist
[servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort() throws javax.xml.rpc.ServiceException;
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld.java:18: package javax.xml.rpc does not exist
[servicegen] examples.webservices.basic.javaclass.HelloWorldPort getHelloWorldPort(String username, String password) throws javax.xml.rpc.ServiceException;
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:10: package weblogic.webservice.core.rpc does not exist
[servicegen] extends weblogic.webservice.core.rpc.ServiceImpl
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:24: cannot resolve symbol
[servicegen] symbol : method _wrap (int)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
[servicegen] args.put( "intVal", wrap( intVal ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:25: cannot resolve symbol
[servicegen] symbol : method _wrap (java.lang.String)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
[servicegen] args.put( "string", wrap( string ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:27: cannot resolve symbol
[servicegen] symbol : method _invoke (java.lang.String,java.util.HashMap)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorldPort_Stub
[servicegen] java.lang.Object result = invoke( "sayHello", _args );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:29: package javax.xml.rpc does not exist
[servicegen] } catch (javax.xml.rpc.JAXRPCException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorldPort_Stub.java:31: package javax.xml.rpc.soap does not exist
[servicegen] } catch (javax.xml.rpc.soap.SOAPFaultException e) {
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:9: examples.webservices.basic.javaclass.HelloWorld_Impl is not abstract and does not override abstract method joinContext() in examples.webservices.basic.javaclass.HelloWorld
[servicegen] public class HelloWorld_Impl
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:40: cannot resolve symbol
[servicegen] symbol : method _getPort (java.lang.String)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
[servicegen] new examples.webservices.basic.javaclass.HelloWorldPort_Stub( _getPort( "HelloWorldPort" ) );
[servicegen] ^
[servicegen] C:\Documents and Settings\ramchandra_rapolu\Local Settings\Temp\HelloWorld_javaclass_client.jar-990169626\examples\webservices\basic\javaclass\HelloWorld_Impl.java:49: cannot resolve symbol
[servicegen] symbol : method _setUser (java.lang.String,java.lang.String,examples.webservices.basic.javaclass.HelloWorldPort)
[servicegen] location: class examples.webservices.basic.javaclass.HelloWorld_Impl
[servicegen] _setUser( username, password, getHelloWorldPort() );
[servicegen] ^
[servicegen] 17 errors
[servicegen] java.io.IOException: Compiler failed executable.exec
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:469)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
[servicegen] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
[servicegen] at weblogic.webservice.tools.build.internal.CompilerHelper.compileFiles(CompilerHelper.java:80)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.compileStubs(ClientGenImpl.java:627)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.generateStub(ClientGenImpl.java:572)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClientGenFromEAR(ClientGenImpl.java:521)
[servicegen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(ClientGenImpl.java:345)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateClient(ServiceGenTask.java:597)
[servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:195)
[servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
[servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
[servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[servicegen] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[servicegen] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[servicegen] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[servicegen] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
BUILD FAILED
E:\eclipse\Workspace\WS\examples\webservices\basic\javaclass\build.xml:42: weblogic.webservice.tools.build.WSBuildException: Compiler failed executable.exec - with nested exception:
[java.io.IOException: Compiler failed executable.exec]
Total time: 29 seconds -
Headphone output not working on Audigy 2 ZS Platinum Pro
I've installed the (only available) beta driver for Vista under Vista RTM, but can't get the headphone output to work at all...
Sound keeps playing through the line out, but no matter what i do i can't get it routed through the headphone output. Is it a known issue or is there a solution?
(Oh, and for all the forum nazis - i DID try searching for a solution before posting and haven't found a single shred of useful information)
Regards and thanks in advance,
Ante VukorepaI can understand your problem cause i have the same one, and its very annoying.....
my equipment is:
Sound Drivers 2.2.000 (BETA) latest from creative.
Windows Vista Home Premium.
SoundBlaster Audigy / Platnum.
Sound system are Cambridge Soundworks with Sub 5..
Im trying my TECHNIKA TA-05 headphones i brought from tesco's rofl, and when i plug them into my jack BOOM, no sound, unplug and tada sound.
If anyone has a solution that would be great!!!.
Cheers! and have a good valentines. -
Target to execute multiple junit tests from jar file
I have written a custom selenium framework using JUnit and Selenium, problem I am having right now is our team wants to run the tests inside HP Quality Center (I have no idea or any experience with Quality Center) but if I provide a jar file the them they can execute it inside the Quality Center (Reason to run it in Quality Center is for reporting purpose).
Problem is that I have created my framework in away that You can create multiple JUnit base test files for different tests also keep in mind that these classes dont need main method (This is where the problem when it comes to jaring up ). I have introduced following ant target to run all the test cases.
<target name="test.selenium" depends="jar" description="target to execute all the selenium tests.">
<junit printsummary="yes">
<classpath>
<path refid="classpath"/>
<path refid="application"/>
</classpath>
<batchtest fork="yes">
<fileset dir="${src.dir}" includes="**/Test*Selenium.java"/>
</batchtest>
</junit>
</target>above ant target runs without any problem, but when you jar it up you need a manifest and main class, is there away I cant introduce some attribute that can execute all my tests without adding main method to each of them.
Here is my ant target for jar
<target name="jar" depends="compile"
description="Generates final jar">
<copy todir="${build.jar}">
<fileset dir="lib" excludes="**/*.java"/>
</copy>
<jar jarfile="${build.jar}/yukonSelenium.jar"
basedir="${build.classes}">
<manifest>
<attribute name="Main-Class" value="com.somepackage.selenium.test.TestAuthenticationSelenium"/>
<attribute name="Class-Path"
value=". /c:/build/jar/log4j-1.2.15.jar /c:/build/jar/junit-4.6.jar /c:/build/jar/selenium-java-client-driver.jar /c:/build/jar/dom4j-1.6.1.jar"/>
</manifest>
</jar>
</target>And this is how the Test Class looks like, I have added main method in this but once i do this after jaring java -jar myJarfile.jar will only execute just the class i have main method init.
public class TestAuthenticationSelenium extends SomePrivateFrameWorkClass {
private void init() {
start();
@Test
public void testProductNav() {
//somecode
@Test
public void multipleLogin() throws FileNotFoundException, InterruptedException {
//Some Code
public static void main(String[] args) {
org.junit.runner.JUnitCore.main("com.somepackage.selenium.test.TestAuthenticationSelenium");
}Please let me know if i should put the entire ant build file.
Thanks for any help.
anuradha.uduwage
Edited by: Tilter on Aug 24, 2009 10:05 PM
Edited by: Tilter on Aug 24, 2009 10:06 PMWhat i mean is if i have 3 class files in my jar file, and each one of those classes has a main method, how will i be able to execute a class of my choice from that jar file. In manifest files, you specify the main class, but how would i specify multiple classes with main methods, or achieve my objective here.
-
Jdeveloper 10.1.3.4 Test Connection failed for BPEL Process Manager.
Application Server: OK
BPEL Process Manager Server: FAILED
ESB Server: OK
Verified and tried below steps:
1. hw_services and orabpel and deploy_services are up and running
2. Jdeveloper and Oracle SOA Suite Version is 10.1.3.4
3. Tools->Preferences -> Web Browser and Proxy is disabled.
4. Restarted hw_services and orabpel via Application server control for OC4J_SOA > hw_services/orabpel
5. Able to connect the bpel process manager(BPELConsole) from Browser.
6. But Not able deploy using ant tool as well as with Jdev Deploy option(no domains are displayed under deploy option in Jdev)
7. Ant deployment throws error,
A problem occured while connecting to server "testinstance.com" using port "7777": <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL /integration/services/deploy/deployHttpClientProcess.jsp was not found on this server.<P>
<HR>
<ADDRESS>Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server Server at testsoa.art.com Port 7777</ADDRESS>
</BODY></HTML>
Went thru many threads under soa/bpel forums and couldn't find it worked.
Appreciate your helpApplication Server Test Passed
BPEL Identity Service Failed
BPEL Domains Not Run
BPEL Server Mode Not Run
BPEL Notification Service Not Run
BPEL TaskManager Service Not Run
ESB Connection Passed
When I select "BPEL Identity Service Failed" the error displayed as is below. But for the Not Run components it says "Not Executed".
java.lang.Exception:Exception not handled by the Collaxa Cube system.
An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-10555
Identity Service Configuration error.
Identity Service Configuration file has error.
at oracle.tip.pc.services.identity.config.ISConfiguration.load(ISConfiguration.java:277)
at oracle.tip.pc.services.identity.config.ISConfiguration.<clinit>(ISConfiguration.java:94)
at oracle.bpel.services.workflow.task.impl.WorkflowUtil.setUserNameCaseSensitiveFlagOnServer(WorkflowUtil.java:1193)
at oracle.bpel.services.workflow.task.impl.TaskService.<init>(TaskService.java:196)
at oracle.bpel.services.workflow.task.impl.TaskService.<clinit>(TaskService.java:153)
at oracle.bpel.services.common.InitializeServlet.init(InitializeServlet.java:56)
at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2379)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
at com.evermind.server.Application.getHttpApplication(Application.java:586)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:341)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:291)
at oracle.tip.pc.services.identity.config.ISConfiguration.parseDocument(ISConfiguration.java:339)
at oracle.tip.pc.services.identity.config.ISConfiguration.load(ISConfiguration.java:259)
... 23 more
Exception: ORABPEL-10555
Identity Service Configuration error.
Identity Service Configuration file has error.
Handled As: oracle.tip.pc.infra.exception.PCRuntimeException
Maybe you are looking for
-
How to use a jar from a external library DC Project?
I followed the steps of how to create DC, External Library Project, which contains the jar I want. I understood that this type of project can't be deployed so I build and deployed other DC Project from the type J2EE server component Library and added
-
Can't update itunes. I get " The feature you are trying to use is on a CD-ROM or other removable disk that is not available"
-
Downloading demo version of Oracle E-Business Suite 11i
Hello, I am planning to take 11i E-Business Suite Essentials for Implementers certification exam in a short while. I am presently self-studying the courseware. I do not feel a need to take an Oracle University class for this purpose. Is there any pla
-
How to avoid dock while certain apps runnin?
heya, while using logic, i have to move the mouse to the edges of the screen for certain tasks which almost invariably brings up the dock. can i disable the dock completely while certain apps r runnin, then jus comm-tab to the finder if i need to use
-
I have a new Apple Wireless keyboard. I would like to assign a keyboard command to open a specific folder (that I use all the time) but cannot seem to do this through System Preferences. Any hints would be appreciated. Innes