Client.jar file not being generated by weblogic 6.1

Hi,
I have developed a web service for our Internal network. I have deployed the web
service onto weblogic 6.1 and have been able to obtain the wsdl file. I have coded
my java client, but to compile and run the client, I require the client.jar file,
which weblogic should create on its own once the actual web service is successfully
deployed. wl server is not able able to create the client.jar file and hence I am
unable to run the client. Could anyone tell me why the client.jar file is not being
created and is there any workaround for coding the java client without using the
client.jar file.
Thanx
sudipto

Hi Sudipto,
I'm assuming that you used the <wsgen> Ant task (in your build.xml) to create this
web service, right?
Are you sure the client.jar file isn't in the web-services.war? You can verify this
by extracting this file (web-services.war) from the .ear for your web service, and
viewing its contents with WinZip (or the jar.exe utility that comes with the JDK).
There is a way to create client code without having a client.jar (or a WSDL document),
but it takes a little more work :-) I have attached a "heavily commented" example
of this, at the bottom of this post.
Regards,
Mike Wooten
"Sudipto" <[email protected]> wrote:
>
Hi,
I have developed a web service for our Internal network. I have deployed
the web
service onto weblogic 6.1 and have been able to obtain the wsdl file. I
have coded
my java client, but to compile and run the client, I require the client.jar
file,
which weblogic should create on its own once the actual web service is successfully
deployed. wl server is not able able to create the client.jar file and hence
I am
unable to run the client. Could anyone tell me why the client.jar file is
not being
created and is there any workaround for coding the java client without using
the
client.jar file.
Thanx
sudipto[NoWSDLWeatherClient.java]

Similar Messages

  • SWF File not being generated by compiler

    I am using Flash Builder 4.5.
    One of the modules that compiles without error is still not being bound into the runtime image (in this case debug).
    There are no compiler errors (auto build is switched ON) but a swf file is not being generated.
    I have tried removing the reference to the module in the Project ->Properties->Modules window and then adding it back in to no avail.
    This was working up until I made a change to the module in question and then saved it.

    I would check all imported images in the library. If you cannot see the image in your library preview; there is a good chance that there is an issue and it will need to be reimported.

  • Spool file not being generated in production server

    Hello
    Our end users are using automatic payment program F110 to print multiple cheques.
    The settings in SPAD are identical in Quality and Production Server,but some how
    spool file is not being generated in production.
    Test printing is fine in Quality server.
    Printer being used is Epson LQ 300.Device type is EPESCP2.
    We are using z custom page size ,and it is assigned to printer device Type as well
    Would be very great if some can can comment on which settings to check,as SPAD setting is
    same in both server ,yet no spool.Very Very urgent.
    Iam not sure ,whose domain is it now-BASIS or ABAP.
    Thanks a lot
    Nouman

    If there is a problem with the spool, the variant that is being in F110 parameters.
    As you are saying the quality system is working fine, please compare both the variants in Production and Quality systems.
    This should solve your situation.

  • URGENT: New JAR file NOT being pushed to web clients.

    Greetings...
    When our web app first came to market, some of our customers were still using a dial-up connection. Therefore, since one of our web pages uses an applet, it was decided to ship the necessary JAR files to clients on an installation CD, rather than burden our dialup customer with having the JAR files pushed out to them over the line. The jar files are installed in the C:\Program Files\JavaSoft\JRE\1.3\lib\ext directory on the client computers.
    Don't ask why, but we are now attempting to have our web site push out a new JAR file to just one of our clients, but the problem I'm running into is that if the OLD jar file already exists in the C:\Program Files\JavaSoft\JRE\1.3\lib\ext directory, the NEW jar file isn't pushed out by the website. My understanding was that the system would automatically detect if the JAR file on the client was older than the JAR file on the server and would then push the newer JAR file out to the client, but obviously, I'm missing something.
    Any help/suggestions you can provide would be greatly appreciated. Following is the kludgy ASP code for this...
    <%szCustomer = getCustomer();%>
    <%if (szCustomer="SccTest") {%>
    <!-- NEW CODE: Push out the NEW JAR file with the meters to feet change. -->
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="600" height="400" name="SccMapplet"
    codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0" ID="IMSMap" VIEWASTEXT>
    <PARAM NAME="code" VALUE="com.scc.mapplet.SccMapplet">
    <param name="archive" value="SccMapplet.jar,xml.jar,iiimp.jar,jai_codec.jar,jai_core.jar,mlibwrapper_jai.jar">
    <PARAM NAME="scriptable" VALUE="true">
    <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
    <PARAM NAME="WebAXL" VALUE="/EweData/<%=getCustomer()%>.axl">
    <PARAM NAME="Session" VALUE="<%=SCCSession.SessionID%>">
    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.3" width="600" height="400"
    code="com.scc.mapplet.SccMapplet" archive="SccMapplet.jar,xml.jar,iiimp.jar,jai_codec.jar,jai_core.jar,mlibwrapper_jai.jar"
    pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html">
    <NOEMBED>
    </COMMENT>
    No Java 2 SDK, Standard Edition v 1.3 support for APPLET!!
    </NOEMBED></EMBED>
    </OBJECT>
    <%} else {%>
    <!-- OLD CODE: Use the JAR file already installed on C:\Program Files\JavaSoft\JRE\1.3\lib\ext -->
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    width=600 height=400 ID="IMSMap" name="SccMapplet" VIEWASTEXT>
    <param NAME="code" VALUE="com/scc/mapplet/SccMapplet">
    <param NAME="name" VALUE="IMSMap">
    <param NAME="SCRIPTABLE" VALUE="TRUE">
    <param NAME="type" VALUE="application/x-java-applet;version=1.2">
    <PARAM NAME="WebAXL" VALUE="/EweData/<%=getCustomer()%>.axl">
    <PARAM NAME="Session" VALUE="<%=SCCSession.SessionID%>">
    <comment>
    <embed type="application/x-java-applet;version=1.2" width="600" height="480" code="com/esri/ae/applet/IMSMap" name="IMSMap">
    <noembed>
    </COMMENT>
    No JDK 1.2 support for APPLET!!
    </noembed></embed>
    </object>
    <%}%>

    I guess the problem is, that your local jar file's classes copied to the JRE's ext directory have higher priority. The JRE does not store your applet jar locally and so does not overwrite anything you may have installed, it only executes the jar file given by the browser which may cache it or not.
    Why don't you use the Java Webstart technolgy? It's pretty simple to use it. Customers would have to download every new jar version only once and Webstart will take care that the local version is up-to-date every time your app is started.

  • Trace file not being generated

    Hi,
    I am using Oracle 10g Rel2.
    I am trying to generate trace file for a session using DBMS_SYSTEM.
    Firstly I used DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION procedure to generate trace file for a session, but this was generating trace files in udump directory. Then i checked on net & found that we can not generate trace file this way for active sessions.
    Then I tried using DBMS_SYSTEM.SET_ENV procedure, same results. This is also not generating trace files?
    Any idea why this is happening? Moreover for around how much duration I should enable trace?
    Thanks in advance.

    Firstly I used DBMS_SYSTEM.SET_SQL_TRACE_IN_SESSION procedure to generate trace file for a session, but this was generating trace files in udump directory.
    As is the normal behavior, so nothing wrong.
    Then i checked on net & found that we can not generate trace file this way for active sessions.
    Which is, of course, nonsense.
    Then I tried using DBMS_SYSTEM.SET_ENV procedure, same results. This is also not generating trace files?
    This is again nonsense.
    As you didn't consider it necessary to post your exact commands, and nobody is looking over your shoulder, an adequate response is impossible.
    Sybrand Bakker
    Senior Oracle DBA

  • SWF file not being generated

    I moved an old project (from Intellij, without Flex artifacts) into a new location and recreated
    a new Flex project with Flex 4.0 integrated product over the old file structure.
    However, I am now unable to generate the application's swf file or the swf's for its modules.
    I am using Flex 4.0 in MacBook Pro OS X 10.6
    In Compiler options I do have "Generate accessible swf file" checked.
    All options have been checked under HTML wrapper.
    Under menu choice Project Build Automatically is checked, and I also tried "clean"
    Any ideas on what I need to do to generate?
    Thank you.

    Thanks a million Amy - I had an error in a classpath. Once it was traced, everything compiles.
    Thanks again, and enjoy your weekend.

  • (261705413) Q RPCC-7 Does the client.jar file tie you Weblogic Server?

    Q<RPCC-7> BEA is providing client-side helpers in the client.jar file, including
    parsing and SOAP facilities, etc. But, are we saying that there is nothing
    in there that ties the client to the server-side WLS implemenation? It seems
    that putting the interface of the underlying implementation EJB SLS bean is a
    coupling...??? It also seems that by coupling the client to WebLogic classes
    (weblogic.soap.WebServiceProxy|SoapMethod) we are coupling it to WLS.
    A<RPCC-7>: I understand your concerns, but you are not tied to WLS that tightly.
    Certainly, the static client code utilizes the EJB interface that underlies the
    web service but it is possible to invoke the web service dynamically. The use
    of weblogic library classes to invoke the web service just indicates the use of
    weblogic's client API. This client API can also be used to invoked webservices
    hosted on other application server or frameworks. Additionally, other client APIs
    can be used to invoke this web service, for instance the VB client example that
    ended Thursday's presentation. Lastly, the remote interface in the client.jar
    file could actually just be a java presentation generated from a WSDL file that
    represents a C# web service (this is actually only possible in WLS7.0 and not
    6.1 but the point is you do not actually know the inderlying framework or implementation
    andnor should you care).
    Adam

    check the server log;
    /app/oracle/product/fwm11g/user_projects/domains/fwm_domain/servers/AdminServer/logs/AdminServer.log
    you can launch the console and see if it is running; http://<server>:<port>/console

  • Migration from windows to Linux - JAR files not generating under JAVA_TOP

    Hi DBA's
    Jar files not generating under JAVA_TOP after migration from windows to linux.
    I followed workaround but same in result.
    Workaround
    Run this command. It will give the missing file
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive $JAVA_TOP -sync -reportfile javatopfiles.lst
    Then run this command
    adjava -mx512m -nojit oracle.apps.ad.jri.adjcopy -masterArchive JAVA_TOP -sync -mode APPLY
    I have checked in google.
    Best Regards,
    Suresh Gelda

    Suresh,
    I can find the following error in the log file:
    JarSigner error output:
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
    Caused by: java.lang.ClassNotFoundException: sun.security.tools.JarSigner
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    Could not find the main class: sun.security.tools.JarSigner.  Program will exit.Please review the following notes for suggested solutions:
    Note: 393306.1 - Generate Jar File causes NoClassDefFoundError sun/security/tools/JarSigner
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393306.1
    Note: 269054.1 - Running adadmin to Force Regenerate of the Java Files Fails
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=269054.1

  • Why is the .jar file not created??

    the error i get is :
    com.sun.kvem.midletsuite.InvalidJadException: Reason = 36
    Error in opening jar file: list.jar
    and in the \j2mewtk\2.5.2\apps\list\bin there are only 2 files are :
    list.jad
    MANIFEST.MF.
    Why is that so?
    Edited by: angelusPiper on May 7, 2009 7:24 AM

    Hi Sudipto,
    I'm assuming that you used the <wsgen> Ant task (in your build.xml) to create this
    web service, right?
    Are you sure the client.jar file isn't in the web-services.war? You can verify this
    by extracting this file (web-services.war) from the .ear for your web service, and
    viewing its contents with WinZip (or the jar.exe utility that comes with the JDK).
    There is a way to create client code without having a client.jar (or a WSDL document),
    but it takes a little more work :-) I have attached a "heavily commented" example
    of this, at the bottom of this post.
    Regards,
    Mike Wooten
    "Sudipto" <[email protected]> wrote:
    >
    Hi,
    I have developed a web service for our Internal network. I have deployed
    the web
    service onto weblogic 6.1 and have been able to obtain the wsdl file. I
    have coded
    my java client, but to compile and run the client, I require the client.jar
    file,
    which weblogic should create on its own once the actual web service is successfully
    deployed. wl server is not able able to create the client.jar file and hence
    I am
    unable to run the client. Could anyone tell me why the client.jar file is
    not being
    created and is there any workaround for coding the java client without using
    the
    client.jar file.
    Thanx
    sudipto[NoWSDLWeatherClient.java]

  • DAC source system parameters not being generated

    HI all,
    We are implementing BI apps 7962 with Informatica 861 Hot FX11, OBIEE 101341 on Linux5. We have installed and set up the configuration completely. The Informatica services are created and the DAC was configured with the Source System Parameters. When I generated the execution plan parameters, the files are being generated in the SRC files folder. But it seems like the source system parameters I set in the DAC client are not being picked up.
    For example I have set the Initial Extract date as 1/1/2008. But when I ran the load and saw the log files it still seems like the Initial Extract date is 1/1/1970. We have set the custom property for Integration Service overrideMpltVarWithMapVar as Yes. Please help me if any one has seen this before.
    Thanks
    MN
    Edited by: MNRK on Apr 5, 2011 12:49 PM

    Hi,
    When you have configured all the tasks in DAC, while running the loads DAC will generate the parameter files at runtime.
    You need to make sure that parameterfileDW.txt and parameterfileOLTP.txt files are present in DAC Installation Directory\bifoundation\DAC\Informatica\Parameter\Input folder.
    If these files are not present in the above mentioned location then you need to copy them from Informatica Installation Directory\PowerCenter 8.6.1\server\Infa_Shared\SrcFiles folder.
    Hope this helps...................
    Thanks,
    Navin Kumar Bolla

  • How to create a client jar file???

    How do I create a client jar file for the client program? Please see my attached
    ejb-jar.xml. I compiled the my EJB and deployed it successfully. However, I couldn't
    find the client jar anywhere. I use the weblogic admin console DD editor, I can
    see that the edit field has been populated with my client jar file name defined
    in the ejb-jar.xml. However, I searched entire system, I could not locate this
    jar anywhere.
    How do I do that? If someone knows how to do it, please let me know. Thank you
    very much.
    [ejb-jar.xml]

    How do I create a client jar file for the client program? Please see my attached
    ejb-jar.xml. I compiled the my EJB and deployed it successfully. However, I couldn't
    find the client jar anywhere. I use the weblogic admin console DD editor, I can
    see that the edit field has been populated with my client jar file name defined
    in the ejb-jar.xml. However, I searched entire system, I could not locate this
    jar anywhere.
    How do I do that? If someone knows how to do it, please let me know. Thank you
    very much.
    [ejb-jar.xml]

  • TA1 Acknowledgement not being generated.

    Hi All,
    I have a requirement for the Inbound 820 to generate 999 and TA1 Acknowledgement. 999 is fine but TA1 is not being generated. I tried changing the ISA14 element to '1' from '0'(by referring http://docs.oracle.com/cd/E28280_01/user.1111/e10229/app_ta1.htm), but of no use. The ISA of the EDI file is as follows
    (ISA*00* *00* *30*905454545 *30*805454545 *130315*0758*^*00501*100000174*1*T*\~). I am using B2B 11.1.1.6.
    Please help me out with some suggestions.
    Thanks in Advance!!
    Edited by: soa999 on Apr 15, 2013 4:17 PM

    I am using B2B 11.1.1.6.TA1 Ack feature has been introduced in PS6 (11.1.1.7). So please use PS6 (11.1.1.7) to get benefit of this feature. If you cannot use PS6 then raise a SR with support to check if you can get a patch on top of PS5 (11.1.1.6) to use this feature.
    Regards,
    Anuj

  • Imported Jar file not loaded at run time ORA-105100

    Oracle 9iDS forms Version 9.0.2.9.0
    Oracle 9iAS Release 2
    I have imported java classes from a jar file into my form. I have it working in client server. Added the entries to the classpath in the default.env and system environment variable for development of the form and for execution.
    Moved the jar file, form and testing html to the application server. Modified the classpath in the default.env file. Tested the form. Got the ORA-105100 error. MetaLink note 261650.1 states that error frm-40735 When-Button-Pressed triger raised exception ORA-105100 if calling a java function from a jar file. Cause: Jar file not loaded at run time. Solution: add in your default.env CLASSPATH parameter your jar file including the whole directory of the jar file location. That has been done and the OC4J has been restarted. Still get error.
    Oracle support has not been able to give me much help as of yet. Does anyone have any further ideas, or documentation that I can read to help get this working?
    Thanks in advance for any assistance that is offered.

    Hey people any clues?

  • How to protect my jar file from being downloaded

    How can i protect my jar file from being downloaded by users by accessing it through the web site.
    Now everybody can just type the url www.mysite.com/applets/myApplet.jar
    And download it to his computer.
    I realize that anybody who really wants to download it he will get it anyway, but I want to make it harder.
    thanks in advance

    Your browser has to download the jar file if it's going to run the applet. That's applets work. The browser downloads the classes and then runs them locally.
    I suppose if you wanted to make something to make it difficult for users to explicitly download the jar, you could set some kind of permission flag when the HTML is page is rendered, and then unset it some amount of time (10 seconds?) later, and then only let the user download the jar when the flag is set. But this would be fragile and irritating and unhelpful. It would probably break more than you'd like and not prevent download very much (it wouldn't take long to figure out what was happening), and besides nobody is ever going to try to steal your code.

  • IO Error while deploying application client jar file ???????

    Hi,
    In my .ear file, one application-client jar(which contains all helper classes which are used in whole application) file is there. While deploying .ear file, all ejb are getting deployed well, while deploying application client jar file(Global.jar file here) it is giving the following message:
    IO Error deploying Global.jar: D:\oracle9ias\oc4j_extended\j2ee\home\applications\trainiumear\Global.jar
    Here is application-client.xml of Global.jar file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application-client_1_2.dtd'>
    <application-client>
    <display-name>TrainiumClientApp</display-name>
    <description>Application description</description>
    </application-client>
    My Environment: Oracle9iAS (9.0.3.0.0), Windows-NT
    Please let me know Why i am getting 'IO Error' , where i may done wrong ?
    Thanks in Advance
    Srinivas

    Srinivas,
    Before we continue, PLEASE tell me if you've looked through the available
    documentation, code samples, "how-to" documents, etc., for OC4J. It
    seems to me that you're mixing things up a bit. I use the "deploy"
    command to deploy my EARs, example (partial):
    java -jar admin.jar ormi://<host> admin <password> -deploy ...
    And my EAR file is not in the "application-deployments" directory
    when I issue that command.
    Perhaps you could also show me the contents of your "application.xml"
    file for this application you are having trouble with.
    But I repeat, please tell me if you have already looked at the
    available documents regarding OC4J!
    Thanks,
    Avi.

Maybe you are looking for

  • CROSSTAB Using Report Builder

    Hi all, Is it possible to create a crosstab report using Report Builder? Is so please suggest some references. Thanks for your time.

  • About configurable material

    hello, any body pls explain me. i am facing to issues pls provide me solution 1) my scenario is make to order with configurable material. when i am creating sales order in configuration i have maintined characteristic which were mainly required and s

  • Where to fing HR user's password?

    Hi, I've installed Oracle DB 10g Personal edition. It is HR user and I'd like to use it, but I don't know the password.. Could anyone help me?

  • Unfair Upgrade policy

    Adobe upgrade policy is unfair. I can not upgrade Photoshop CS3 to CS4 because I purchased it in a collection, Design Standard. I have to upgrade the whole set @ $500. I do not use Illustrator or InDesign and do not want to upgrade them. In this econ

  • Best way to create a glossay from scratch?

    HI, is there any easy way of cerating the Glossay from scratch? or is it just adding word by word 1 ar a time? Kind regards Rossco