Got error when trying to generate Java proxy jar file for webservice

Hi,
I am having a warning message when trying to generate java proxy jar file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United Airlines
got an enterprise weblogic license deal with BEA, any help will be highly appreciated.
Thanks!!!
Naichen
[ModifyPNRWSContract.wsdl]

Hi Naichen,
I was able to successfully run both the autotype and clientgen Ant task, on the
WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
to try with that version.
Regards,
Mike Wooten
"Naichen Liu" <[email protected]> wrote:
>
>
>
Hi,
I am having a warning message when trying to generate java proxy jar
file on weblogic8.1
webservice test web app, the message is as follows:
"Warning Failed to generate client proxy from WSDL definition for this
service.
Prescription Please verify the <types> section of the WSDL."
in the mean time, on weblogic starting terminal, I saw the following
exceptions,
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
symbol : class FacetUtils
location: package binding
weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
^
C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
symbol
symbol : class FacetUtils"
Can anybody help me about this issue? I attached WSDL file, also United
Airlines
got an enterprise weblogic license deal with BEA, any help will be highly
appreciated.
Thanks!!!
Naichen

Similar Messages

  • Including helper classes in java proxy jar file

    I must not be using the right header search criteria because I'm sure this question
    has been asked before. In a Web Service File (.jws) I've imported a couple of
    helper classes that function as data transfer objects. I did this to maintain
    consistency with other portions of the application. The Java Proxy jar file generated
    by Workshop does not include these files. Is there a way of including these dependencies
    or do I need to distribute another jar file with my helper classes?

    Hi Naichen,
    I was able to successfully run both the autotype and clientgen Ant task, on the
    WSDL you provided. The code behind those Ant tasks are pretty much what the WebLogic
    Web Services test page run. Are you using WLS 8.1 SP2? If not, you might want
    to try with that version.
    Regards,
    Mike Wooten
    "Naichen Liu" <[email protected]> wrote:
    >
    >
    >
    Hi,
    I am having a warning message when trying to generate java proxy jar
    file on weblogic8.1
    webservice test web app, the message is as follows:
    "Warning Failed to generate client proxy from WSDL definition for this
    service.
    Prescription Please verify the <types> section of the WSDL."
    in the mean time, on weblogic starting terminal, I saw the following
    exceptions,
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength4Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,4L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\OSIFieldAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkMaxLengthFacet(__typed_obj,69L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\AlphaLength2Deserializer.java:36: cannot resolve symbol
    symbol : class FacetUtils
    location: package binding
    weblogic.xml.schema.binding.FacetUtils.checkLengthFacet(__typed_obj,2L);
    ^
    C:\DOCUME~1\u252738\LOCALS~1\Temp\wlwproxy37508.jar1533409921\com\ual\www\rcc\cb
    t\schema\modifypnr\FreeFormAnonTypeDeserializer.java:36: cannot resolve
    symbol
    symbol : class FacetUtils"
    Can anybody help me about this issue? I attached WSDL file, also United
    Airlines
    got an enterprise weblogic license deal with BEA, any help will be highly
    appreciated.
    Thanks!!!
    Naichen

  • Error when trying to download iTunes 10.6.3 for Windows XP

    I am receiving the following error when trying to download iTunes 10.6.3 for Windows XP:
    There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package.
    I have looked a several sites that have suggested several fixes, but nothing seems to work. I dont know what program I need to install so I can download iTunes; it never tells me that.
    Please help!
    Thanks

    Have you tried the following user tip with that one?
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • Error when trying to generate a report using BEX Quesry in Crystal Reoprts

    HI Experts,
    As per the SAP NOTE we did  FP 2.6 Unicode Transports and then SP3 transports. Transports are imported with min Errors.
    Now *when am trying to generate a report using BEX Quesry in Crystal Reoprts* am getting error
    "Database Connector Error: BAPI Error #:0
    Error occurred when starting the parser:   timeout during allocate /CPIC-CALL: 'ThSAPCMRCV' "
    *When trying to Generate using OLAP CUBE Report Wizard. AM getting Error*
    " READING OLAP META DATA FAILED."
    Thanks,
    Bharath

    This is not really the correct forum to be posting Reports issues. However, if I were to guess, your issue is likely related to the known issues related to installing FMw11R1 on machines which had IPv6 enabled. In most cases, disabling IPv6 would correct the problem, however some issues were not resolved even after disabling IPv6 post-install. I would recommend patching to WLS 10.3.6 and FMw 11.1.1.6 as these versions include fixes for all of those issues as far as I recall.
    Consider referring to this MyOracleSupport document if you have access:
    Steps to Maintain Oracle Fusion Middleware 11g Release 1 (11.1.1) (Doc ID 1073776.1)

  • I keep getting an error when trying to install Java for OS X 2014-001

    I was trying to download this because I was getting errors when trying open some applications saying you need Java 6 and it directed me to the download link for this but it always gets and error when installing.

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Select
              /var/log ▹ install.log
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. The contents of the log will appear on the right. Each log message begins with a timestamp. Select the messages from the time of the last installation or update attempt. If you're not sure when that was, click the Clear Display button in the toolbar of the Console window and then try the installation again. Select the new messages that appear. Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    ☞ If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    ☞ When posting a log extract, be selective. Don't post more than is requested.
    ☞ Please don't indiscriminately dump thousands of lines from the log into this discussion.
    ☞ Please don't post screenshots of log messages—post the text.
    ☞ Some private information, such as your name, may appear in the log. Anonymize before posting. You may need to use a text editor with search and replace, such as TextEdit.

  • Error when trying to create a types jar from a web service WSDL

    Hi,
    I generated a WSDL from a web service. When I try to generate a types jar from that WSDL in another project, I get an error:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    com.bea.workshop.webservices.servicecontrol.ui.except.TypeGenerationFailedException: Buildfile: C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml
    Trying to override old definition of task wsgen
    build:
    build-types:
    clean-types:
    [echo] Deleting types directory c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [echo] Deleting types jar C:\eclipsews\AAATest\WebContent\WEB-INF\lib\CaregiverEBillingMasterServiceServiceTypes_xmlbeans_apache.jar
    [mkdir] Created dir: C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    generate-src-code:
    [echo] Generating types of family xmlbeans_apache from WSDL at file:/C:/eclipsews/AAATest/src/test/CaregiverEBillingMasterServiceService.wsdl, all services. Outputting to c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [typesGen] Generating complex Java types for schema types in WSDL file:/C:/eclipsews/AAATest/src/test/CaregiverEBillingMasterServiceService.wsdl. Outputting to C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474 ...
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfTreatmentDetailItem@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfDocumentTypeAutoPayWrapper_literal@java:org.abc.claims.caregiver.ebilling.services.util
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfJavaLangint_literal@java:org.abc.claims.caregiver.ebilling.services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfDocumentSubmissionHierarchy@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfMessageCode@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfFeeCodeType@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfBatchMessage@http://org/abc/claims/caregiver/ebilling/services
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfArrayOfJavaLangstring_literal@java:org.abc.claims.caregiver.ebilling.services.util
    [typesGen] [WARNING] Generating array which is non-compliant with JaxRPC 1.1 for XML name: t=ArrayOfJavaLangstring_literal@java:org.abc.claims.caregiver.ebilling.services.util
    compile-src-code:
    [echo] Compiling source files from c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474 to c:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [javac] Compiling 298 source files to C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474
    [javac] ----------
    [javac] 1. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 51)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 54)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 3. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 58)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 4. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 61)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 5. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 64)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 6. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\com\abc\claims\caregiver\ebilling\FeeCodeDocument.java (at line 67)
    [javac]      public static com.abc.claims.caregiver.ebilling.FeeCodeDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    === snipped here due to huge file size ===
    [javac] 2680. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 99)
    [javac]      public static org.xfa.schema.xfaData.x10.SignatureDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2681. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 103)
    [javac]      public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2682. ERROR in C:\development\wlwBuild\XCaregiverEBillingMasterServiceService1297810259474\org\xfa\schema\xfaData\x10\SignatureDocument.java (at line 107)
    [javac]      public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
    [javac]      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] No exception of type XmlException can be thrown; an exception type must be a subclass of Throwable
    [javac] ----------
    [javac] 2682 problems (2682 errors)
    BUILD FAILED
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:73: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:107: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:181: Compile failed; see the compiler error output for details.
    Total time: 17 seconds
         at com.bea.workshop.webservices.servicecontrol.ui.util.TypesGenerationScript.run(TypesGenerationScript.java:197)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.core.runtime.CoreException: C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:73: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:107: The following error occurred while executing this line:
    C:\eclipsews\.metadata\com.bea.workshop.webservices.servicecontrol.ui\build-dir\build.xml:181: Compile failed; see the compiler error output for details.
         at org.eclipse.ant.core.AntRunner.handleInvocationTargetException(AntRunner.java:451)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:383)
         at com.bea.workshop.webservices.servicecontrol.ui.util.TypesGenerationScript.run(TypesGenerationScript.java:185)
         ... 1 more
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I was previously able to generate a types jar just fine from the web service's WSDL. Recently, I made some changes to the web service. Apparently, these changes to the web service now cause the WSDL to be unparseable when trying to generate types jars.
    Any ideas?

    The WSDL is generated from my web service. I made heavy revisions to my web service which, in turn, affected the resultant WSDL. The changes I made to my web service were almost exclusively related to object substitution. For example, prior to the change I was referencing object A from my web service; after the change, I was referencing object B. The objects that I'm referring to are XMLBeans, if that matters. I can't really describe it more than that without actually showing you the WSDL.
    I would post the WSDL file here to allow you to try to create a types jar out of it, but the WSDL exceeds the 30000 character limit for this field. There is no way for me to attach the WSDL to this post.

  • Error when trying to preview screen in screen file

    A few of us are receiving an error when trying to 'preview' a screen via screen file in rulebase. A large error window pops up with about 30 lines of text in it. The window is 'Preview in Web Determinations'. It starts with:
    class com.oracle.determinations.interview. engine.exceptions.CorruptSessionException: A unauthorised change to the Rule Session has been detected.
    further down in error there are multiple lines starting org.apache.catalina ......
    Has anyone seen this error, it's intermittent, not all screens, but once it's appeared for a particular screen, it won't stop (for that particular screen), even after re-boots etc.
    Does anyone know how to fix it?
    many thanks

    Hi There,
    I have faced this type of scenario and it will happen if we are in interview screen for long time with (inactive mode) and when we try to "Preview". You can try being at interview screen (some time inactive) and you can reproduce this type of Error.
    Thanks,
    Raj

  • Error when trying to run the rcu.bat file as part of OBIEE 11g installation

    when trying to run the rcu.bat file as part of OBIEE 11g installation on windows 7 64 bit I am getting the following error
    "windows cannot find C:\Users\manoj\Desktop\Oracle.Make sure you typed the name correctly, and then try again".
    Please help me how to overcome this error, I am not able to understand why it is looking for C:\Users\manoj\Desktop\Oracle.
    Thanks
    Manoj

    after setting the ORACLE_HOME and Path environment variables also....I am still getting the same error...so is it like RCU can be run only on windows 7 32-bit machines and it does not work on 64-bit machines? and also it seems like the previous versions of OBIEE 10.1.3.X does not support windows 7 64-bit machines...
    please help me finding a solution to this error....
    and what are all the versions of OBIEE can be installed on windows 7 64-bit machines?
    can't we install OBIEE 11g on windows 7 64-bit machines without including RCU?
    thanks
    Manoj
    Edited by: mkumar on Jun 2, 2011 3:47 AM

  • CHART BUILDER ERROR WHEN TRYING TO GENERATE DYNAMIC CHARTS ON A JSP PAGE

    I'm working with J Develop 9.03 on Windows 2000 Professional Edition.
    I'm using the JSP demo files provided with Oracle Chart Builder to generate
    dynamic charts. The user specifies the query parameters, including the date
    range and the query results are returned by means of a line chart (with date on
    the x axis and values on the y axis).
    When trying to compile the project I get the following error messages:
    Error(165,2): class FileOutputStream not found in class _graph
    Error(170,5): class File not found in class _graph
    Error(176,4): exception java.io.IOException is never thrown in the
    corresponding try block
    I checked to see that the chartbuilder library (chartbuilder.jar) files are
    loaded into the project library. It's unusual that the class is not being
    found. I don't understand why. I developed my project using the following steps:
    1. Unzipped Chart Builder installation files into c:\Oraclechartbuilder
    2. Loaded chartbuilder class library
    c:\Oraclechartbuilder\chartbuilder\lib\chartbuilder.jar into J Developer class
    path (by selecting <Project Settings> <Paths> and browsing to the
    chartbuilder.jar file).
    3. Created a new JSP page in J Developer (graph.jsp)
    4. Copied JSP code syntax from the Word Pad demo file and pasted into graph.jsp
    5. Changed the DB connection parameters and static directory location on the
    JSP page.
    6. Compiled the project and received the above errors.
    I would like to know why the classes are not being found and how to fix the problem. Thanks, Jaafar

    Hi mshah101,
    This can happen if the applet is compiled using an higher version of java and the browser is pointing to an older version (even if minor version number is higher)

  • FTPSClient - Error when trying to connect - java.lang.NoSuchFieldError:

    I'm working on trying to connect to an FTPS server to pull over a file. I've managed to create a test application that works just fine, however when I try to put it into the main application (Spring) it fails on the connection and gives this error:
    [#|2010-03-16T08:08:01.441-0500|SEVERE|sun-appserver2.1|org.quartz.core.JobRunShell|_ThreadID=16;_ThreadName=jobScheduler_Worker-9;_RequestID=a3641bfd-a137-43c1-9611-4031e2ce24eb;|Job DEFAULT.eventsDataJobDetail threw an unhandled Exception:
    org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'execute' on target class [class com.chw.job.daemon.jobs.eventsdata.EventsDataJob] failed; nested exception is java.lang.NoSuchFieldError: _controlInput_
         at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:269)
         at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
         at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
    Caused by: java.lang.NoSuchFieldError: _controlInput_
         at org.apache.commons.net.ftp.FTPSClient.sslNegotiation(FTPSClient.java:243)
         at org.apache.commons.net.ftp.FTPSClient._connectAction_(FTPSClient.java:166)
         at org.apache.commons.net.SocketClient.connect(SocketClient.java:163)
         at com.chw.job.daemon.jobs.eventsdata.BaseEventsDataFtpJob.test(BaseEventsDataFtpJob.java:78)
         at com.chw.job.daemon.jobs.eventsdata.EventsDataJob.processFile(EventsDataJob.java:54)I've looked at the source code of where it errors on line 243 of the FTPSClient.html and it has the following:
    214        /**
    215         * SSL/TLS negotiation. Acquires an SSL socket of a control
    216         * connection and carries out handshake processing.
    217         * @throws IOException A handicap breaks out by sever negotiation.
    218         */
    219        private void sslNegotiation() throws IOException {
    220            // Evacuation not ssl socket.
    221            planeSocket = _socket_;
    222           
    223            initSslContext();
    224   
    225            SSLSocketFactory ssf = context.getSocketFactory();
    226            String ip = _socket_.getInetAddress().getHostAddress();
    227            int port = _socket_.getPort();
    228            SSLSocket socket =
    229                (SSLSocket) ssf.createSocket(_socket_, ip, port, true);
    230            socket.setEnableSessionCreation(isCreation);
    231            socket.setUseClientMode(isClientMode);
    232            // server mode
    233            if (!isClientMode) {
    234                socket.setNeedClientAuth(isNeedClientAuth);
    235                socket.setWantClientAuth(isWantClientAuth);
    236            }
    237            if (protocols != null) socket.setEnabledProtocols(protocols);
    238            if (suites != null) socket.setEnabledCipherSuites(suites);
    239   
    240            socket.startHandshake();
    241   
    242            _socket_ = socket;
    243            _controlInput_ = new BufferedReader(new InputStreamReader(
    244                    socket .getInputStream(), getControlEncoding()));
    245            _controlOutput_ = new BufferedWriter(new OutputStreamWriter(
    246                    socket.getOutputStream(), getControlEncoding()));
    247        }What I'm not understanding at this point of where controlInput is declared? It seems like with that error it is giving, it doesn't know what this is and must get declared somewhere.
    Is this a conflict with some other JAR file, as there is quite the list of jar files that is in this application.
    Thanks, Michael

    Solution: Delete all the build path and all under the deploy path - it must have retained some OLD jar files and was still looking at those...I did that and now it works just fine.

  • Suffering an complie error when trying to compile java class in EBS11i

    Hi,
    When I trying to compile java classes with which imported the HttpServletResponse class, will get the follow error message:
    package javax.servlet does not exist
    cannot resolve symbol
    symbol : class HttpServletResponse
    It seems the javax.servlet package is not included in the classpath. But I checked the $CLASSPATH, it seems no problem.
    echo $CLASSPATH
    /u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/u02/applvis/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u02/applvis/viscomn/java/appsborg2.zip:/u02/applvis/visora/8.0.6/forms60/java:/u02/applvis/viscomn/java
    Does anyone know the reason?
    environment: ebs 11i
    Thanks&Regards,
    Xiaofeng

    resolved this issue.
    1. Edit $APPL_TOP/admin/adovars.env file -
    Add the following jar files to the AF_CLASSPATH line -
    Full path of /...../iAS/Apache/Jsdk/lib/jsdk.jar
    Full path of /...../iAS/Apache/Jserv/libexec/ApacheJServ.jar
    2. Bounce the concurrent manager in order to have the changes take effect.

  • Got error when trying to populate JSP from ActionServlet......Help me

    Hi Guys,
    In My application, I need to search a directory on my machine like if i give abc, it should display all files that match "abc". For that i have a Jsp page which accepts the pattern and am using MVC architecture for developing this application and I got this error when i ran the application. My jsp page:
    <body>
    <html:form action="/searchPattern">
    <TABLE border="0">
    <TBODY>     <TR>
         <TH>File Pattern</TH>
         <TD><html:text property="pattern" /></TD></TR>          <TR><TD><html:submit property="submit" value="Submit" /></TD></TR>
    </TBODY>
    </TABLE>
    </html:form>
    </body>
    another Jsp for displaying the results:
    <body>
    <jsp:useBean class="com.mot.struts.form.SearchForm" id="fileDetail" scope="session"/>
    <table>     
    <tr><td>File Names</td>
         <td><jsp:getProperty name="fileDetail" property="pattern"/></td>
         <td><ul>
         <logic:iterate name="fileDetail" property="listFiles"
         id="fileDetails" scope="session">               
         <li><bean:write name="fileDetails" property="listFiles" />
         </li>                
         </logic:iterate>
         </ul></td>
         </tr>
    </table>
    </body>
    and the Action servlet is:
    public ActionForward execute(ActionMapping mapping, ActionForm form,
                   HttpServletRequest request, HttpServletResponse response) {
         SearchForm searchForm = (SearchForm) form;
    String pattern=request.getParameter("pattern");
    File dir = new File("D:\\satish\\archive");
    System.out.println("Searching....");               
    File[] children=dir.listFiles();
    for (int i=0; i<children.length; i++) {
    String fileMatch=children.getAbsoluteFile().getName();
    if(fileMatch.contains(pattern)==true){      
    System.out.println("File pattern with .log found, File Name "+ fileMatch);
              request.setAttribute("fileDetail", searchForm);           
    return mapping.findForward("success");
    else{
    System.out.println("File pattern does not found");
    return mapping.findForward("failure");
    and the FormBean is:
    public class SearchForm extends ActionForm {
         private List pattern;
         private List fileName;
         private List listFiles;
         public SearchForm(){          
         public SearchForm(List pattern, List fileName, List listFiles){
              this.pattern=pattern;
              this.fileName=fileName;
              this.listFiles=listFiles;
         public static class Files{          
         private Object fName;
         public Files(){               
         public Files(Object fName){               
         this.fName=fName;
         public Object getFName() {
         return fName;
         public void setFName(Object name) {
         fName = name;
         public List getListFiles() {
         int size=pattern.size();
         List listFiles=new ArrayList(size);
    for( int p = 0; p < size; p++ ) {
         listFiles.add(new Files(fileName.get(p)));
         return listFiles;
         public void setListFiles(List listFiles) {
              this.listFiles = listFiles;
         public List getPattern() {
              return pattern;
         public void setPattern(List pattern) {
              this.pattern = pattern;
         public List getFileName() {
              return fileName;
         public void setFileName(List fileName) {
              this.fileName = fileName;
    and I got the following error:
    javax.servlet.ServletException: BeanUtils.populate
         org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254)
    .........root cause:
    java.lang.IllegalArgumentException: argument type mismatch
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Plz help me in solving this

    your form bean probably has a property that was declared using the wrong data type

  • Error when trying to pass the proxy server

    jdev version: 10.1.2.3.0
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    Hello,
    i've follow a tutorial to make a client to consume e web service in forms.
    i must work through a proxy server.
    here is the jdev code:
    public class PrimeNumbersStubnew extends WrappedDocLiteralStub
    +{+
    public PrimeNumbersStubnew()
    +{+
    m_httpConnection = new OracleSOAPHTTPConnection();
    Properties props = new Properties();
    props.put(OracleSOAPHTTPConnection.PROXY_HOST, "10.0.2.21");
    props.put(OracleSOAPHTTPConnection.PROXY_PORT, "8070");
    props.put(OracleSOAPHTTPConnection.PROXY_AUTH_TYPE, "basic");
    props.put(OracleSOAPHTTPConnection.PROXY_USERNAME, "XXXXX");
    props.put(OracleSOAPHTTPConnection.PROXY_PASSWORD, "XXXXX");
    m_httpConnection.setProperties(props);
    +}+
    +private String _endpoint = "http://www50.brinkster.com/vbfacileinpt/np.asmx";+
    public String getEndpoint()
    +{+
    +....+
    And a receive an error when i execute the forms:
    +Exception: java.lang.Exception: [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type &quot;text/html; charset=utf-8&quot;, must be: &quot;text/xml&quot;. Response was:+
    +&lt;HTML&gt;&lt;HEAD&gt;+
    +&lt;TITLE&gt;Access Denied&lt;/TITLE&gt;+
    +&lt;/HEAD&gt;+
    +&lt;BODY&gt;+
    +&lt;FONT face=&quot;Helvetica&quot;&gt;+
    +&lt;big&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/big&gt;&lt;BR&gt;+
    +&lt;/FONT&gt;+
    +&lt;blockquote&gt;+
    +&lt;TABLE border=0 cellPadding=1 width=&quot;80%&quot;&gt;+
    +&lt;TR&gt;&lt;TD&gt;+
    +&lt;FONT face=&quot;Helvetica&quot;&gt;+
    +&lt;big&gt;Access Denied (authentication_failed)&lt;/big&gt;+
    +&lt;BR&gt;+
    +&lt;BR&gt;+
    +&lt;/FONT&gt;+
    +&lt;/TD&gt;&lt;/TR&gt;+
    +&lt;TR&gt;&lt;TD&gt;+
    +&lt;FONT face=&quot;Helvetica&quot;&gt;+
    +Your credentials could not be authenticated: &quot;Credentials are missing.&quot;. You will not be permitted access until your credentials can be verified.+
    +...+
    It's like the credential were bad but i'm sure that they are correct.
    How can i do to resolve that?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I've tested and it change nothings.
    I've try to put the property "ALLOW_USER_INTERACTION" and it work fine.
    It ask for user and pass and after it work.
    I don't understand why when i put that property it work.
    Properties prop = new Properties();
    prop.setProperty(OracleSOAPHTTPConnection.ALLOW_USER_INTERACTION,"true");
    prop.setProperty(OracleSOAPHTTPConnection.PROXY_HOST, "10.0.2.21");
    prop.setProperty(OracleSOAPHTTPConnection.PROXY_PORT,"8070");
    m_httpConnection = new OracleSOAPHTTPConnection(prop);
    A thing that i see with that prop, is that we use a Realm but even if i put the realm, the error is still there.
    Here are the screens that the property show me:
    <img src="http://www.imageshotel.org/thumbs/Malebodja/setcookierequest.jpg" alt="hébergé sur http://www.imageshotel.org/" />
    <img src="http://www.imageshotel.org/thumbs/Malebodja/authorizationrequest.jpg" alt="hébergé sur http://www.imageshotel.org/" />
    Any suggestions?
    Edited by: Malebodja on Feb 24, 2010 2:39 AM
    Edited by: Malebodja on Feb 24, 2010 2:40 AM

  • Xrpcc modeler error when trying to generate stub classes from a WSDL

    I'm trying to generate JAX-RPC stub classes (both client and server side) from a WSDL in which one of the message parts references a complexType element defined in the <types> section of the WSDL. Here is my little WSDL document:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="Book_Def"
    targetNamespace="myTypes"
    xmlns:tns="myTypes"
    xmlns:xsd1="myTypes"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <xsd:schema targetNameSpace="myTypes"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="Book" type="xsd1:BookType"/>
    <xsd:complexType name="BookType">
    <xsd:all>
    <xsd:element name="authors" type="xsd:string" maxOccurs="10"/>
    <xsd:element name="preface" type="xsd:string"/>
    <xsd:element name="price" type="xsd:float"/>
    </xsd:all>
    </xsd:complexType>
    </xsd:schema>
    </types>
    <message name="runMyPgm">
    <part name="book" type="xsd1:Book"/>
    </message>
    <message name="getPgmResponse">
    <part name="result" type="xsd:string"/>
    </message>
    <portType name="MyPgmIFPortType">
    <operation name="runMyPgm">
    <input message="tns:runMyPgm"/>
    <output message="tns:getPgmResponse"/>
    </operation>
    </portType>
    ... Binding stuff
    </port>
    </service>
    </definitions>
    I've tried many combinations of defining my complex type and input message and whenever I run xrpcc using this WSDL as input, I get a Error: Modeler error: invalid entity name: Book (in namespace "myTypes"). Sorry if this is a dumb question, but what am I doing wrong in my <types> or <message> definitions to cause this error? I've had some luck generating stubs when the part types are all simple types, but I've not had any luck with getting a <complexType> definition accepted by xrpcc. Thanks in advance for any help you can offer.

    Yes you can specify type mapping in configuration file and probably this will solve the problem, but I've never tested this approach. Perhaps I'm not advanced user. Actually the serializerFactory and deserializerFactory are a little vague for me:(

  • P6.2.1: Got error when running update baselines: java error

    In P6.2.1 I tried to update my baseline but received
    Error running the selected application: C:\Program Files\Common Files\Primavera Common\Java\_jvm\bin\java.exe
    I followed the note "Error Running Selected Application Java.exe" When Running Update Baseline [ID 899322.1]
    Im using an account with no spaces in username. I have uninstalled Primavera and reinstalled and still get the same error.

    Hi,
    I am using P6 pro R8.2.0 Built # 1926
    Java 1.6.0_27-b07
    I have the same problem when trying to use the Baseline Updates.
    Here is the error message
    The Selected application : \Bin\JAVA.EXE cannot be found.
    I also have a similar error when using the Claim Digger
    Here is the error message
    The selected application : \bin\JAVAW.EXE cannot be found
    Can someone help me ?
    Thanks

Maybe you are looking for

  • Using latest version of fireFox to access Think Central, pages will not load and they say that this is a security issue with FireFox?

    Teachers in our district are supposed to use www.thinkcentral.com with FireFox. Some have no problem accessing the lesson plans. Most when they login click on a lesson plan and an icon shows up that says loading but never does. If you reboot the comp

  • Tap function doesn't work, recovered files in bin etc

    Hi I'm using Mac Book Pro 13' - Mac OS 10.6.8 1) Every time, I switched on my laptop, the one finger (tap to click) function doesn't work (although I have set it up). I have to go to 'systems preferences' to set it up again. 2) Why is there 'Recovere

  • Takes more time - DELETING

    Hi The following delete takes more time to execute. DELETE FROM credential_on      WHERE credential_on_id IN (SELECT credential_on_id      FROM credential_on_appl      WHERE appn_num <= ANY (SELECT appn_num FROM masterdriver)); Is there a way to tune

  • BEx Analyzer 7.0 result column

    Hi Gurus I have a question regarding the BEx Analyzer 7.0. Hope you can help. My customer wants to use BEx Analyzer 7.0 but is not happy with the fact that the excel query result starts in column F instead of column A (like the old BEx Analyzer did.)

  • Bar Code in Java ?

    I had developed a site and this site needs to suport bar code. Somebody knows how do i do Bar Code in Java ? Sorry about my english.