JAXWS: clientgen generates code which it can't compile?

Hi,
I am trying to get the weblogic JAX-WS stack working, however I am stuck at the following:
C:\projects\eclipse\cml\test-ws-wls>ant -f clientgen_build.xml build_client
Buildfile: clientgen_build.xml
build_client:
     [echo] d:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-launcher.jar;d:\apps\oracle\WLS121~1\patch_wls1211\profiles\default\sys_manifest_cla
sspath\weblogic_patch.jar;d:\apps\oracle\WLS121~1\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\apps\java\CURREN~2\lib\tools.jar;d:
\apps\oracle\WLS121~1\wlserver\server\lib\weblogic_sp.jar;d:\apps\oracle\WLS121~1\wlserver\server\lib\weblogic.jar;d:\apps\oracle\WLS121~1\modules\features\webl
ogic.server.modules_12.1.1.0.jar;d:\apps\oracle\WLS121~1\wlserver\server\lib\webservices.jar;d:\apps\oracle\WLS121~1\modules\ORGAPA~1.1\lib\ant-all.jar;d:\apps\
oracle\WLS121~1\modules\NETSFA~1.0_1\lib\ant-contrib.jar;d:\apps\oracle\WLS121~1\wlserver\common\derby\lib\derbyclient.jar;d:\apps\oracle\WLS121~1\wlserver\serv
er\lib\xqrl.jar;C:\projects\wls\domains\cml\classes-ext\;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-all.jar;D:\apps\oracle\wls1211_dev\modu
les\org.apache.ant_1.7.1\lib\ant-antlr.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-apache-bcel.jar;D:\apps\oracle\wls1211_dev\modules\or
g.apache.ant_1.7.1\lib\ant-apache-bsf.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-apache-log4j.jar;D:\apps\oracle\wls1211_dev\modules\or
g.apache.ant_1.7.1\lib\ant-apache-oro.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-apache-regexp.jar;D:\apps\oracle\wls1211_dev\modules\o
rg.apache.ant_1.7.1\lib\ant-apache-resolver.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-commons-logging.jar;D:\apps\oracle\wls1211_dev\m
odules\org.apache.ant_1.7.1\lib\ant-commons-net.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-jai.jar;D:\apps\oracle\wls1211_dev\modules\o
rg.apache.ant_1.7.1\lib\ant-javamail.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-jdepend.jar;D:\apps\oracle\wls1211_dev\modules\org.apac
he.ant_1.7.1\lib\ant-jmf.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-jsch.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\li
b\ant-junit.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-launcher.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-net
rexx.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-nodeps.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-starteam.jar
;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-stylebook.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-swing.jar;D:\apps
\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-testutil.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant-trax.jar;D:\apps\oracle\wl
s1211_dev\modules\org.apache.ant_1.7.1\lib\ant-weblogic.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\ant.jar;D:\apps\oracle\wls1211_dev\modul
es\org.apache.ant_1.7.1\lib\xercesImpl.jar;D:\apps\oracle\wls1211_dev\modules\org.apache.ant_1.7.1\lib\xml-apis.jar;D:\apps\java\CURRENT-x64\lib\tools.jar
Trying to override old definition of datatype clientgen
[clientgen] System property "weblogic.wsee.client.ssl.stricthostchecking" is not supported
[clientgen] Catalog dir = C:\Users\xtrnatv\AppData\Local\Temp\_vhn32z\META-INF\wsdls
[clientgen] Rename file [ TestWSPolicyService?xsd=1 ] to [ TestWSPolicyService1.xsd]
[clientgen] Download file [TestWSPolicyService1.xsd] to C:\Users\xtrnatv\AppData\Local\Temp\_vhn32z\META-INF\wsdls
[clientgen] Download file [wls-policy.wsdl] to C:\Users\xtrnatv\AppData\Local\Temp\_vhn32z\META-INF\wsdls
[clientgen] Ignoring JAX-RPC options - building a JAX-WS client
[clientgen]
[clientgen] *********** jax-ws clientgen attribute settings ***************
[clientgen]
[clientgen] wsdlURI: file:/C:/projects/eclipse/cml/test-ws-wls/wls-policy.wsdl
[clientgen] packageName : null
[clientgen] destDir : C:\Users\xtrnatv\AppData\Local\Temp\_vhn32z
[clientgen]
[clientgen] *********** jax-ws clientgen attribute settings end ***************
[clientgen] Consider using <depends>/<produces> so that wsimport won't do unnecessary compilation
[clientgen] parsing WSDL...
[clientgen]
[clientgen]
[clientgen]
[clientgen] Generating code...
[clientgen]
[clientgen]
[clientgen] Compiling code...
[clientgen]
     [null] Compiling 7 source files to C:\Users\xtrnatv\AppData\Local\Temp\_vhn32z
[clientgen] C:\Users\xtrnatv\AppData\Local\Temp\_vhn32z\policy\jaxws\lab\nevexis\com\TestWSPolicyService.java:47: cannot find symbol
[clientgen] symbol  : constructor Service(java.net.URL,javax.xml.namespace.QName,javax.xml.ws.WebServiceFeature[])
[clientgen] location: class javax.xml.ws.Service
[clientgen]         super(TESTWSPOLICYSERVICE_WSDL_LOCATION, TESTWSPOLICYSERVICE_QNAME, features);
[clientgen]         ^
[clientgen] C:\Users\xtrnatv\AppData\Local\Temp\_vhn32z\policy\jaxws\lab\nevexis\com\TestWSPolicyService.java:55: cannot find symbol
[clientgen] symbol  : constructor Service(java.net.URL,javax.xml.namespace.QName,javax.xml.ws.WebServiceFeature[])
[clientgen] location: class javax.xml.ws.Service
[clientgen]         super(wsdlLocation, TESTWSPOLICYSERVICE_QNAME, features);
[clientgen]         ^
[clientgen] C:\Users\xtrnatv\AppData\Local\Temp\_vhn32z\policy\jaxws\lab\nevexis\com\TestWSPolicyService.java:63: cannot find symbol
[clientgen] symbol  : constructor Service(java.net.URL,javax.xml.namespace.QName,javax.xml.ws.WebServiceFeature[])
[clientgen] location: class javax.xml.ws.Service
[clientgen]         super(wsdlLocation, serviceName, features);
[clientgen]         ^
[clientgen] 3 errors
[AntUtil.deleteDir] Deleting directory C:\Users\xtrnatv\AppData\Local\Temp\_vhn32z
BUILD FAILED
Compile failed; see the compiler error output for details.
Total time: 3 seconds
The bulk on top is the classpath as you can see from my build.xml
<project name="test-ws-wls" basedir="." default="fork_build_client">
  <!--
  Using this build file:
  When launching from eclipse we want to run clientgen with the jvm on the user's
  classpath, not with the jvm that was used to launch the IDE.  The fork_build_client
  target accomplishes this.         
          INSTALL_HOME - The home directory of all your WebLogic installation.
          WL_HOME    - The root directory of your WebLogic server installation.
          ANT_HOME - The Ant Home directory.
          JAVA_HOME - Location of the version of Java used to start WebLogic
              Server. See the WebLogic platform support page for an
              up-to-date list of supported JVMs on your platform.       
        Command Line: 
        The build_client target can be run directly with the dev environment setup by
          WL_HOME/server/bin/setWLSEnv.
          Run As, Ant Build:
          Add WL_HOME/server/lib/weblogic.jar to the Classpath User Entries.  Verify ant home is set
          to INSTALL_HOME/modules/org.apache.ant_VERSION.  Verify JAVA_HOME/lib/tools.jar is on the classpath.
          As Builder:
          The following property fork.class.path must be set either in the global ant runtime or in the
          local ant build configuration.  The following values must be set in the path:
              - WL_HOME/server/lib/weblogic.jar
              - ANT_HOME/lib/ant-all.jar
              - JAVA_HOME/lib/tools.jar
              (ie: WL_HOME\server\lib\weblogic.jar;ANT_HOME\lib\ant-all.jar;JAVA_HOME\lib\tools.jar)
  -->
  <target name="fork_build_client">
    <java
        fork="true"
        failonerror="true"
        classname="org.apache.tools.ant.launch.Launcher"
        maxmemory="512m"
        jvm="${java.home}/bin/java"
        >
      <arg value="-f" />
      <arg value="${ant.file}" />
      <arg value="build_client" />
      <env key="CLASSPATH"
           value="${fork.class.path}" />       
    </java>
  </target>
  <target name="build_client">
      <echo>${java.class.path}</echo>
    <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
    <clientgen
        failonerror="true"
        type="JAXWS"
        wsdl="${basedir}/wls-policy.wsdl"
        destFile="${basedir}/WebContent/WEB-INF/lib/wls-policy.wsdl.jar"
        serviceName="TestWSPolicyService"
        copyWsdl="true"
        >
    <sysproperty key="weblogic.wsee.client.ssl.stricthostchecking" value="false"/>
    </clientgen>
  </target>
</project>
The error is a one I know it has to do with the difference between
Service (Java EE 5 SDK)
and
Service (Java EE 6 )
I wonder why does this compilation fail? I think I am missing the javax.xml.ws.Service in my CLASSPATH, or may be I should be using some of the jars as "endorsed" ...
I tried following this article:
Developing WebLogic Web Service Clients - 12c Release 1 (12.1.1)
Can someone give me a clue?
Thanks!

There is a way to do it, but your memory will be lost. Plug the iPod into the computer and hold the lock and the home button at the same time and continue holding. It will turn off automatically and turn back on. When the apple logo shows up, release the home button and continue holding the home button. Then it will come up in iTunes and say you need to restore the iPod.
You may be able to use one of your backups to restore the lost memory, but probably the old passcode will come back with the backup. All of your apps and music should be in iTunes, so very little worries.

Similar Messages

  • I have an iPad screen that won't swipe.  I cannot connect it to Itunes because it's locked with a pass code which I can't enter because I can't swipe.  Any suggestions on how to fix this?

    I have a 16GM Mini IPad.  The screen won't swipe.  I tried resetting it but that didn't work.  I attempted to connect to ITunes to try a restore but I can't do that.  This is because the IPad is locked with a pass code which I can't enter because I can't swipe.  Does anyone have any suggestions on how to fix this?

    If Ralph's suggestion doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  It could take well over an hour!  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow the on-screen directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    At the end of the basic Restore, you will be asked if you wish to sync the iPad/iPod.  As before, say "yes."  Note that that sync selection will disappear and the Restore will end if you do not respond within a reasonable time.  If that happens, only the apps that are part of the IOS will appear on your device.  Corrective action is simple -  choose manual "Sync" from the bottom right of iTunes.
    If you're unable to do the Restore (or it doesn't help), go into Recovery Mode per the instructions here.  You WILL lose all of your data (game scores, etc,) but, for the most part, you can redownload apps and music without being charged again.  Also, if you have IOS-7, read this.

  • In other words jQuery mobile does not generate code with result can not test Apps in dw cs6

    from the time compiled in phonegap dw c6 tools and tested from dw the App in Android sdk, for a jQuery mobile App the, code in split/Live is the same as split/Live/Live Code.... in other words jQuery mobile does not generate code with result can not test Apps in dw cs6, but design shown without jQ mobile generated code, well?

    well, jQuery mobile stopped to generate code with result can not test Apps in dw cs6, but design shown without jQ mobile generated code, well (neither generated code seems nor design as seem in mobile)....????

  • HT1212 My iPad locked after 1 incorrect passcode entry and I tried what a senior advisor told my to do, but it could not download the info unless I entered the correct pass code, which I can not do since it does not give me the opportunity.

    My iPad locked after 1 incorrect passcode entry and I tried what a senior advisor told my to do, but it could not download the info unless I entered the correct pass code, which I can not do since it does not give me the opportunity.  How do I get the window to enter my pass code?

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • I just bought a new macbook pro, i lost my receipt which had a website on it that i had to go to were i would receive a code which i can redeem for the new mountain lion software. What do i do?

    I just bought a new macbook pro, i lost my receipt which had a website on it that i had to go to were i would receive a code which i can redeem for the new mountain lion software. What do i do?

    See Apple - Free OS X Mountain Lion upgrade Program.

  • JAXB generated code gives deprecation warnings on compile

    I have a schema that was previously had its binding generated using jwsdp 1.3. I recent;y made some minor changes to the schema and also upgraded to jwsdp 1.5. I made all the required changes to my environmental varibles on my system (acutal no other version of jwsdp was every installed on this box). xjc generates the code without issue:
    xjc -p my.package myxsd.xsd
    When I build my software using an ant script I get hundreds of warnings such as the following:
    [javac] c:\sandbox\code\my\package\ObjectFactory.java:499: warning: com.sun.xml.bind.GrammarInfo in com.sun.xml.bind has been deprecated
    Has anyone seen anything like this, or know what may cause such a problem? I have check all of the jars that my build file calls and they are of the correct version (this so called deprecated package exists in jaxb-impl.jar)
    Any help would be appricated. Thnx.

    JAXB questions should be better directed to the users list of http://jaxb.dev.java.net/
    you should subscribe to the 'users' mailing list, then post a question there.
    Thank you!

  • Netbeans generated code

    Hi I have casually added an entity manager to the UI and am unable to remove it completely as some reference is still maintained in the generated code.
    (I can find it it in the Declarations View) - thanks

    I am unsure how to proceed.I dunno... but this isn't a java language question... so you'll do probably do better:
    1. search the netbeans FAQ's; and/or
    2. posting on the netbeans forum.
    Some of the locals here get narky whenever anyone posts any even slightly "off topic"... Personally I couldn't give a toss, but I do know (from personal experience) that IDE specific questions don't tend to attract a good response on this forum... And this thread is yet more evidence... I'm the only one who is currently active who is willing to address the problem at all.
    I wish you the best of luck with it... and very merry Yuletide to boot.
    beer++;

  • How can I compile Javascript from Java??

    Hi all,
    I am facing a problem, problem is I have to compile JavaScript code in Java. JavaScript code will given in Text field, those code i have to compile and i should display a message saying this is valid Java script code or Invalid code.Can anyone help on this...

    JavaScript code interpreting but not compiling... I need to compile, but not Interpret the code. How can i Compile the JavaScript Code...

  • Can't Compile JavaBeans

    hi everyone...can you please help me in comliping my package...there's this error that i don't understand...
    here is my add_user.jsp where it all begins...
    <jsp:useBean id="Users" class="ris.Users"/>
    <%
         name = (request.getParameter("name") == null) ? "" : request.getParameter("name");
         if(request.getParameter("create") != null) {
              if(Users.checkReg(name, workgroup_id)) {
    %>
                   <jsp:setProperty name="Users" property="name"/>
                   <jsp:setProperty name="Users" property="password"/>
                   <jsp:setProperty name="Users" property="workgroup_id"/>
                   <jsp:setProperty name="Users" property="dworklist"/>
                   <jsp:setProperty name="Users" property="dforms"/>
                   <jsp:setProperty name="Users" property="printer"/>
    <%
                   if(Users.createUser()) {
                        Users.getUser(name, workgroup_id);
                        session.setAttribute("user_id", Users.getUserid());
                        session.setAttribute("workgroup_id", Users.getWorkgroupID());               
    %>
              <%           
                   else {
                        request.setAttribute("create", "Error - unsuccessful");
              else {
                   request.setAttribute("create", "Error - created");
         if(request.getAttribute("create") != null) {
              if(request.getAttribute("create").equals("Error - unsuccessful"))
                   message = "Could not add user. Please try again";
              if(request.getAttribute("create").equals("Error - registered"))
                   message = "The name and user type you selected has been already in created.";
              request.removeAttribute("create");
    %>
    <html>
    <body>
    <%= message %>
    <form action ="add_user.jsp" method ="POST">
    Name: <input type = "text" name="name" size=5><br>
    Password: <input type = "password" name="password" size=5><br>
    Confirm Password: <input type = "password" name="cpassword" size=5><br>
    User Type:
    <select name="workgroup_id">
    <option value="x" selected="Selected">Select User Type</option>
    <option value="1">Physician</option>
    <option value="2">Scheduler</option>
    <option value="3">Clerk</option>
    <option value="4">Technologist</option>
    <option value="5">Radiologist</option>
    <option value="6">Transcriptionist</option>
    </select><br>
    Default Worklist: <input type = "text" name="dworklist" size=5><br>
    Default Forms: <input type = "text" name="dforms" size=5><br>
    Printer: <input type = "text" name="printer" size=5><br>
    <br>
    <br>
    <input name="create" type = "submit" value="Submit">
    <input type = "reset" value="Clear">
    </form>
    </body>
    </html>and here is my Users.java which i can't compile..
    package ris;
    import java.sql.*;
    import java.util.*;
    public class Users {
         private int user_id, workgroup_id;
         private String name, password, dworklist, dforms, printer;
         public int getUserid() {
              return user_id;
         public void setUserid(int user_id) {
              this.user_id = user_id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public int getPassword() {
              return user_id;
         public void setPassword(String password) {
              this.password = password;
         public int getWorkgroupID() {
              return workgroup_id;
         public void setWorkgroupID(int workgroup_id) {
              this.workgroup_id = workgroup_id;
         public String getDWorklist() {
              return dworklist;
         public void setDWorklist(String dworklist) {
              this.dworklist = dworklist;
         public String getDForms() {
              return dforms;
         public void setDForms(String dforms) {
              this.dforms = dforms;
         public String getPrinter() {
              return printer;
         public void setPrinter(String printer) {
              this.printer = printer;
         public boolean checkReg(String name, int workgroup_id) {
                   String query = "SELECT User_ID FROM users WHERE [Name]='" + name + "' AND [Workgroup_ID]='" + workgroup_id + "'";
              try {
                   String driver = "org.gjt.mm.mysql.Driver";
                   Class.forName(driver).newInstance();
                   String url="jdbc:mysql://localhost/ris?user=root&password=restricted";
                   Connection con=DriverManager.getConnection(url);
                   Statement stat = con.createStatement();
                   ResultSet rst = stat.executeQuery(query);
                   if(rst.next() == false) {
                        con.close();
                        return true;
                   else {
                        con.close();
                        return false;
              catch(Exception e) {
                   e.printStackTrace();
                   return false;
         public boolean createUser() {
              user_id = (int) (1000 + Math.random()* 1000);
              dworklist = "";
              workgroup_id = (int)
              name = "";
              password = "";
              dforms = "";
              printer = "";
              String query = "INSERT INTO users (User_ID, [Name], [Password], [Workgroup_ID], [Default_Worklist], [Default_Forms], [Printer_Assignment]) " +
                                  "VALUES (" + user_id + ", " +
                                  "'" + name + "', " +
                                  "'" + password + "', " +
                                  "'" + workgroup_id + "', " +
                                  "'" + dworklist + "', " +
                                  "'" + dforms + "', " +
                                  "'" + printer + "')";
              try {
                   String driver = "org.gjt.mm.mysql.Driver";
                   Class.forName(driver).newInstance();
                   String url="jdbc:mysql://localhost/ris?user=root&password=restricted";
                   Connection con=DriverManager.getConnection(url);
                   Statement stat = con.createStatement();
                   stat.execute(query);
                   con.close();
                   return true;
              catch(Exception e) {
                   e.printStackTrace();
                   return false;
         public boolean getUser(String name, int workgroup_id) {
              String query = "SELECT * FROM users WHERE [Name]='" + name + "' AND [Workgroup_ID]='" + workgroup_id + "'";
              try {
                   String driver = "org.gjt.mm.mysql.Driver";
                   Class.forName(driver).newInstance();
                   String url="jdbc:mysql://localhost/ris?user=root&password=restricted";
                   Connection con=DriverManager.getConnection(url);
                   Statement stat = con.createStatement();
                   ResultSet rst = stat.executeQuery(query);
                   while(rst.next()) {
                        user_id = rst.getInt("User_ID");
                        this.name = rst.getString("Name");
                        this.workgroup_id = rst.getInt("Workgroup_ID");
                        dworklist = rst.getString("Default_Worklist");
                        dforms = rst.getString("Default_Forms");
                        printer = rst.getString("Printer_Assignment");     
                   con.close();
                   return true;
              catch(Exception e) {
                   e.printStackTrace();
                   return false;
    }and here is my problem, when i try to compile my Users.java this error shows up...
    Users.java:96: inconvertible types
    found : java.lang.String
    required: int
    name = "";
    ^
    please help me with this...any help would be greatly appreciated...thanks in advance...

    Ok, I reinstalled jboss with the EJB 3.0 option and now it works

  • Can't generate code from class diagram

    I have installed Studio Enterprise 8. I tried to create a class, but when I right-clicked on a class, there was no "Generate Code" on the contextual menu.
    I've tried the Help guide as pasted below. Would appreciate anybody's help. Thanks.
    To generate code:
    In the Projects window or in a diagram, right-click the element or elements for which you want to generate code.
    In the Projects window, this code generation function is supported for entire UML projects and for individual diagram elements.
    On the contextual menu, choose Generate Code. The IDE generates source code for all of the target items and displays the code in the Source Editor.

    Thanks, but I still have problem.
    File / New Project
    UML / Java Platform Model
    Name: UMLTest Location: D:\UML Unchecked Generate Code
    The UMLTest Project appears in the Project Window
    --- So far so good
    File / New Project
    General / Java Application
    --- There is no General category
    Under Category: Samples, Standard, UML, Web
    Under Samples, there is general, but project = Anagram Game.
    I still can't create a Java application from scratch.
    Using Web and Standard, I must provide ANT

  • I have installed ios7 on my iPad 4. After installation it asked me pass code which I have never set. After multiple attempts it is disabled. I don't have backup on my iCloud or iTunes. Is there anyone who can help to enable it or to reverse iPad to ios6.

    I have installed ios7 on my iPad 4. After installation it asked me a pass code which I have never set. After multiple attempts it is disabled. I don't have backup on my iCloud or iTunes. Is there anyone who can help to enable it or to reverse iPad to ios6. I asked Apple store & tech said to format it but I will lose all the data..!

    Thanks for that. Much more constructive than the last comment. It's only the restriction code I can't recall, not the access passcode. So I can currently access the device, just not age restricted content. Does that's make a difference? I also wondered if anyone knew how many attempts you get to try to get it right. Now tried 21 times and so far nothing bad has happened but I am concerned I'll eventually be completely locked out of the device. That doesn't seem in the spirit of things though. Surely it's foreseeable that a child could repeatedly try to guess the code so I can't see that it would be right to lock the device down completely in that circumstance, particularly if the access code is being typed in correctly every time.
    Thanks

  • HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    HI, I need your help. How can I delete all data, when I do not have the special security code, which I didn´t remember ? I also think, that I never create this code before. But I cannot put my settings back.

    You must remember the code, if you can't then take the phone and proof of purchase to an Apple Store.

  • How can we put program code which looks similar to SAP Program in SAP ?

    when we copy the code and paste here in this editor, the setup of all the code becomes disturbed and we may not able to understand, plz suggest how can we post the code which is actully looks similar in SAP abap program ?
    Thanks & Regards,
    Amit
    Edited by: akg.amit on Oct 20, 2010 8:35 AM

    Hi Amit,
    Check this thread.
    How to post code in SCN, and some things NOT to do...
    Regards,
    Immanuel.

  • How can i see number of T code which to assinged to perticular user with di

    Dear All,
    How can i see number of T code which to assinged to perticular user with discription.
    Which report i have to be execute with T code.
    reply me.
    Thanks,
    Regards,
    sachin

    Hi
    Try transaction S_BCE_68001426, or repor RSUSR010 (The Same)
    Regards
    Morten Nielsen

  • I can't get in my iPod and it won't reset unless i put in my pass code which i don't know what should i do ?

    I can't get in my iPod and it won't reset unless i put in my pass code which i don't know what should i do ?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

Maybe you are looking for