Generating webservices client without warning messages.

Hi,
I am using RAD7.0 and WAS6.1 [Java 5]. While generating web services from .wsdl file auto generated files contains statements without type safety parameters [Java 5 Generics].
For ex following fragment is from the auto generated file:
java.util.Map inner0 = new java.util.HashMap();
inner0.put("create",list0);
While compiling the files following warning is displayed
Type Safety: the method put(Object,Object) belongs to the raw type Map. References to generic Map<K,V> should be parameterized.
Any way it doesn't hinder the development. But I would like to know how to generate the web services client as per standards of Java 5.

Apparently, a hosed CS5 installation. Its manager is crashing causing a windowserver crash. Uninstall it, using the uninstaller that came with it (that's a WAG), download and install the 10.6.4 COMBO update, repair permissions, and restart. If everything else works without crashing, then reinstall CS5. BTW, update your My Settings file, since your current one's showing 10.5.2, which has nothing to do with SL.

Similar Messages

  • Problem running ClientGen  generated webservice client

    I'm using Workshop for Weblogic 10.3 and I'm trying to generate a webservice client. When I generate it with ClientGen and I try to use it I get the following error:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/j2ee/descriptor/ServiceRefHandlerBean
    at weblogic.wsee.jaxrpc.HandlerRegistryImpl.<init>(HandlerRegistryImpl.java:32)
    at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:88)
    at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
    at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
    at testClient.main(testClient.java:18)
    If I add the com.bea.core.descriptor.j2ee_1.1.0.0.jar to the libraries then I get the following error:
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/sun/xml/ws/util/JAXWSUtils
    at weblogic.wsee.util.is.InputSourceUtil.loadURL(InputSourceUtil.java:44)
    at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:118)
    at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:65)
    at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
    at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:403)
    at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:389)
    at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:79)
    at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:66)
    at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:476)
    at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:119)
    at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
    at com_service_osadia_interface.wovenware.SERVICE_OSADIA_Impl.<init>(Unknown Source)
    at testClient.main(testClient.java:18)
    How can I fix it?

    I didn't see a mistake, but my sample works fine. Are you trying to execute the client from Workshop / Eclipse? If that is the case, then I believe it's a matter of just using the appropriate client libraries, which I believe is your issue even though the error is misleading. You should definitely try using a Java Project for a stand-alone web service invocation. According to this link: http://edocs.bea.com/wls/docs103/webserv_rpc/client.html#wp229351 you simply need 1 jar file named wseeclient.jar on your path, which is archived inside <WL_INSTALL>\wlserver_10.3\server\lib\wseeclient.zip
    Once I set up a new Java Project with wseeclient.jar on my path and my clientgen generated classes, I could invoke the sample.
    Also, here is what the successful invocation from the command line using (ant build, ant deploy, ant run):
    C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple>ant build
    Buildfile: build.xml
    clean:
    [delete] Deleting directory C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar
    [delete] Deleting directory C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    server:
    [mkdir] Created dir: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar
    [jwsc] JWS: processing module /SimpleImpl
    [jwsc] Parsing source files
    [jwsc] Parsing source files
    [jwsc] 1 JWS files being processed for module /SimpleImpl
    [jwsc] JWS: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple\SimpleImpl.java Validated.
    [jwsc] Since compiler setting isn't classic or modern,ignoring fork setting.
    [jwsc] Compiling 2 source files to C:\temp\_x58sqp
    [jwsc] Since compiler setting isn't classic or modern,ignoring fork setting.
    [jwsc] Copying 1 file to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\SimpleImpl\WEB-INF
    [jwsc] Copying 22 files to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\SimpleImpl\WEB-INF
    [jwsc] Copying 2 files to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\SimpleImpl\WEB-INF\classes
    [jwsc] Copying 1 file to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\SimpleImpl
    [jwsc] [EarFile] Application File : C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar\META-INF\application.xml
    [AntUtil.deleteDir] Deleting directory C:\temp\_x58sqp
    client:
    [mkdir] Created dir: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    [clientgen] Ignoring JAX-WS options - building a JAX-RPC client
    [clientgen]
    [clientgen] *********** jax-rpc clientgen attribute settings ***************
    [clientgen]
    [clientgen] wsdlURI: file:/C:/Oracle/wls10.3/wlserver_10.3/samples/server/examples/build/webservicesJwsSimpleEar/SimpleImpl/WEB-INF/SimpleImplService.wsdl
    [clientgen] serviceName : null
    [clientgen] packageName : examples.webservices.jws_basic.simple.client
    [clientgen] destDir : C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    [clientgen] handlerChainFile : null
    [clientgen] generatePolicyMethods : false
    [clientgen] autoDetectWrapped : true
    [clientgen] jaxRPCWrappedArrayStyle : true
    [clientgen] generateAsyncMethods : true
    [clientgen]
    [clientgen] *********** jax-rpc clientgen attribute settings end ***************
    [clientgen] Package name is examples.webservices.jws_basic.simple.client
    [clientgen] DestDir is C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    [clientgen] class name is Simple_Stub
    [clientgen] service class name is SimpleImplService
    [clientgen] Porttype name is Simple
    [clientgen] service impl name is SimpleImplService_Impl
    [javac] Compiling 4 source files
    [javac] Note: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client\examples\webservices\jws_basic\simple\client\Simple_Stub.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 1 source file to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\clientclasses\webservicesJwsSimple_client
    [jar] Updating jar: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\examplesWebApp\WEB-INF\lib\jws_basic_simple.jar
    [copy] Copying 1 file to C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\examplesWebApp
    build:
    BUILD SUCCESSFUL
    Total time: 22 seconds
    C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple>ant deploy
    Buildfile: build.xml
    deploy:
    [wldeploy] weblogic.Deployer -verbose -noexit -source C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar -targets examplesServer -adminurl t3://localhost:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -verbose -noexit -source C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJwsSimpleEar -targets examplesServer -adminurl t3://localhost:7001 -user weblogic -deploy
    [wldeploy] <Dec 23, 2008 2:48:19 PM CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, webservicesJwsSimpleEar [archive: C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\build\webservicesJws
    SimpleEar], to examplesServer .>
    [wldeploy] Task 0 initiated: [Deployer:149026]deploy application webservicesJwsSimpleEar on examplesServer.
    [wldeploy] Task 0 completed: [Deployer:149026]deploy application webservicesJwsSimpleEar on examplesServer.
    [wldeploy] Target state: deploy completed on Server examplesServer
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + webservicesJwsSimpleEar examplesServer
    BUILD SUCCESSFUL
    Total time: 9 seconds
    C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple>ant run
    Buildfile: build.xml
    run:
    [java] Got result: Here is the message: 'Hi there!'
    BUILD SUCCESSFUL
    Total time: 7 seconds
    C:\Oracle\wls10.3\wlserver_10.3\samples\server\examples\src\examples\webservices\jws_basic\simple>

  • TECO deletes open PR without warning message

    Hi PM experts,
    When you perform technical completion for a PM order, the outstanding purchase requisition will be deleted without any warning message. Is there a SAP standard message that I can activate to prompt there is still open PR for that order?
    Thanks,

    Dear Charlie,
    I as your requirement it may help you.
    go to T code OME0 check wich message is suitable to your condition.there are so many messages thease all realted to different function.
    take care when you doing, better note down and priceed.
    Hope this helps you
    Prem.

  • Open indd without warning message

    Hi....
    currently i am working on a batch job to open indd files from a folder. But those file have character set and image link missing. Once the file is opened, it will pop up the warning windows, and my script can't close the file as well. Finally, it will come up an error because of the warning windows is still open.
    Is there any method to disable warning message?
    my code is something like:
    var myFolder = Folder("C:\\temp_indd");
    var myINDD = myFolder.getFiles("*.indd");
    for (f = 0; f < myINDD.length; f++) {
        app.open(myINDD[f]);
        do_something();
        myINDD[f].close();
    Chris

    Set the user interaction level to ignore each and every warning:
    // The script does not display any dialogs or alerts.
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
    and make sure this gets reset after your script is done -- because otherwise, InDesign will not display any dialogs and alerts at all:
    // The script displays all dialogs and alerts.
    app.scriptPreferences.userInteractionLevel =
    UserInteractionLevels.INTERACT_WITH_ALL;
    even though the description says "The script ...", this applies to the entire program, not just 'the script'.

  • Error in generated webservice client

    Hello all,
    I've been working on some webservice that receives large attachments, and my eye fell on the "streaming attachments" functionality of oc4j 10.1.3. So I've followed the examples of the "Oracle Application server Web Services Developer's Guide" pdf, assembled my webservice and deployed it. No problem so far. So, intent on testing my fresh service, I took the wsdl that was generated and used the WebserviceAssembler to generate a clientwith the genProxy command.
    However, everytime I try to run the client I get the following error:
    java.rmi.RemoteException: Error parsing envelope: (1, 1) Start of root element expected.; nested exception is:
         javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
         at com.xplanation.workflow.soap.runtime.HttpSoap11Binding_Stub.launch(HttpSoap11Binding_Stub.java:124)
         at com.xplanation.workflow.soap.ProjectLaunchPortClient.launch(ProjectLaunchPortClient.java:74)
         at com.xplanation.workflow.soap.ProjectLaunchPortClient.main(ProjectLaunchPortClient.java:57)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
         at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:93)
         at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:75)
         at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:678)
         at oracle.j2ee.ws.client.StreamingSender._preHandlingHook(StreamingSender.java:662)
         at oracle.j2ee.ws.client.StubBase._preHandlingHook(StubBase.java:634)
         at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:194)
         at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:110)
         at com.xplanation.workflow.soap.runtime.HttpSoap11Binding_Stub.launch(HttpSoap11Binding_Stub.java:96)
         ... 7 more
    Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:290)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:199)
         at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:67)
         ... 14 more
    Is there any way to check the SOAP message that is being sent? Maybe I'm initializing the Attachments incorrectly?
    Here's the code I use for that...
    DataSource dataSource = new InputStreamDataSource("application/octet-stream", new FileInputStream(file));
                        dataHandler = new DataHandler(dataSource);
                        att = new AttachmentImpl(file.getName(), dataHandler);
                        System.out.println(" - attachment created for " + att.getId());
    //                    att = factory.createAttachment(file.getName(), "application/octet-stream", new FileInputStream(file));
                        atts.getOutgoingAttachments().addAttachment(att);
    Finding documentation about these streaming attachments is such a drag, that I'm considering switching to MIME or DIME. Does anyone have any suggestions? Keep in mind that I'll have to deal with possibly large files (certainly up to 20MB)...
    Regards,
    Stan

    Thought I'd add the generated WSDL file...
    Thanks in advance for any replies!
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://soap.workflow.xplanation.com/" name="projectlaunch" targetNamespace="http://soap.workflow.xplanation.com/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://soap.workflow.xplanation.com/" elementFormDefault="qualified">
    <complexType name="launch">
    <sequence>
    <element name="processCode" type="string" nillable="true"/>
    <element name="processType" type="string" nillable="true"/>
    <element name="projectTitle" type="string" nillable="true"/>
    <element name="projectNumber" type="string" nillable="true"/>
    <element name="docTypeCode" type="string" nillable="true"/>
    <element name="domainCode" type="string" nillable="true"/>
    <element name="sourceLanguage" type="string" nillable="true"/>
    <element name="targetLanguages" type="string" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
    <element name="dueDate" type="string" nillable="true"/>
    <element name="userLogin" type="string" nillable="true"/>
    <element name="password" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="launchResponse">
    <sequence>
    <element name="result" type="int" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="IOException">
    <sequence>
    <element name="message" type="string" nillable="true"/>
    </sequence>
    </complexType>
    <element name="launchElement" type="tns:launch"/>
    <element name="launchResponseElement" type="tns:launchResponse"/>
    <element name="IOExceptionElement" type="tns:IOException"/>
    </schema>
    </types>
    <message name="StreamedProjectLaunch_launchResponse">
    <part name="parameters" element="tns:launchResponseElement"/>
    </message>
    <message name="StreamedProjectLaunch_launch">
    <part name="parameters" element="tns:launchElement"/>
    </message>
    <message name="IOException">
    <part name="IOExceptionElement" element="tns:IOExceptionElement"/>
    </message>
    <portType name="StreamedProjectLaunch">
    <operation name="launch">
    <input message="tns:StreamedProjectLaunch_launch"/>
    <output message="tns:StreamedProjectLaunch_launchResponse"/>
    <fault name="IOException" message="tns:IOException"/>
    </operation>
    </portType>
    <binding name="HttpSoap11Binding" type="tns:StreamedProjectLaunch">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="launch">
    <soap:operation soapAction="http://soap.workflow.xplanation.com//launch"/>
    <sa:stream-attachments xmlns:sa="http://oracle.com/schemas/webservices/streaming-attachments" name="attachments"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    <fault name="IOException">
    <soap:fault name="IOException" use="literal" encodingStyle=""/>
    </fault>
    </operation>
    </binding>
    <service name="projectlaunch">
    <port name="ProjectLaunchPort" binding="tns:HttpSoap11Binding">
    <soap:address location="http://localhost:8888/projectlaunch/projectlaunch"/>
    </port>
    </service>
    </definitions>

  • Unable to generate WebService Client with Exported (BAPI) WSDL file from XI

    Hi there,
    I, trying to setup a simple Web Service environment where I'll be exposing a BAPI as Web Service via XI.
    So these are the steps I followed:
    <b>1)</b> first I imported the BAPI meta data into my SWC in the repository. <b>2)</b> Second I defined my interrface etc.. <b>3)</b> Third I exported the generated BAPI WSDL file. <b>4)</b> Fourth, I tried to generate a Java proxy/client for my Web Service using a Java IDE (IBM WebSphere Application Developer and XML Spy).
    Now the problem is that Im not able to generate the Web Service client using the exported WSDL file, the WSDL seems not to be valid...From the generated errors in the IDE, I can see that the problem has to do somewhere/somehow with the WSDL Binding element, which input parameters do not match the input parameters of the port type.
    This is a small part of the WSDL file as generated by XI:
         <wsdl:message name="BAPI_AR_ACC_GETOPENITEMS.Input">
              <wsdl:part name="parameters" element="s0:BAPI_AR_ACC_GETOPENITEMS" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
         </wsdl:message>
         <wsdl:message name="BAPI_AR_ACC_GETOPENITEMS.Output">
              <wsdl:part name="parameters" element="s0:BAPI_AR_ACC_GETOPENITEMS.Response" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
         </wsdl:message>
         <wsdl:portType name="BAPI_AR_ACC_GETOPENITEMS.PortType">
              <wsdl:operation name="BAPI_AR_ACC_GETOPENITEMS">
                   <wsdl:input message="s0:BAPI_AR_ACC_GETOPENITEMS.Input"/>
                   <wsdl:output message="s0:BAPI_AR_ACC_GETOPENITEMS.Output"/>
              </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="BAPI_AR_ACC_GETOPENITEMS.SAPBinding" type="s0:BAPI_AR_ACC_GETOPENITEMS.PortType" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
              <s0:binding style="rfc"/>
    Has anyone faced a situation like this before? Any clues where to look? I appreciate any feedback, thanks!
    Rob.
    Message was edited by: rob viana

    Hi Rob!
    I'm facing the same problem - how did you solve your issue then? I'm getting following error during generation on .NET side:
    ============================================================================================
    Error: There was an error processing 'http://server/wsdl/MIAMI_ACCDOCPost.wsdl'.
      - The document at the url http://server/wsdl/MIAMI_ACCDOCPost.wsdl
    was not recognized as a known document type.
    The error message from each known type may help you fix the problem:
    - Report from 'DISCO Document' is 'Discovery document at the URL http://server/wsdl/MIAMI_ACCDOCPost.wsdl could not be found.'.
      - The document format is not recognized (the content type is 'content/unknown').
    - Report from 'WSDL Document' is 'There is an error in XML document (2, 70138).'.
      - Value cannot be null.
    Parameter name: name
    - Report from 'XML Schema' is 'The root element of a W3C XML Schema should be <schema> and its namespace should be 'http://www.w3.org/2001/XMLSchema'.'.
    ============================================================================================
    kr Martin

  • WLS 8.1.4 - Generating WebService client with HTTP 1.1 protocol

    I tried to generated a web service client (Weblogic Workshop 8.1.4) from a WSDL.
    When I run this client I found that it uses HTTP 1.0 protocol (from access log)
    Is there a way (flag,...) to force the client to use HTTP 1.1 protocol ?
    Thanks
    Andrea

    martin ng wrote:
    any reply so far?....seems to me weblogic need to improve their support. Whenever i make a query eveything goes to Forum.Hi. I hope it's documented somewhere that these forums are not
    official BEA/WebLogic support. For quick official support, open
    a case with them at:
    http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/support/contacts/
    Joe

  • Specify keystore for https webservice client without system properties?

    I'm writing an application that communicates with multiple https webservice using multiple keys. I'd like to define keys in configuration file and specify key path. alias and password, etc programmaticly.
    Is there a way to specify key information without system properties? Thanks.
    Regards
    -Jiaqi

    After further search, I believe https://jax-ws.dev.java.net/guide/HTTPS_SSLSocketFactory.html answered my question.

  • Loading resources generates warning messages

    Our application uses a number of resources stored in multiple +.properties+ files. These files are on the server machine and accessed by the Java client applet using Apache WebServer.
    When any such resource file loads on the client, a number of warning messages are getting logged by Apache. So, for example, if the Java client applet is loading login.properties, Apache log would show:
    File does not exist: /data/apache/htdocs/xaqpsprd/login.class
    File does not exist: /data/apache/htdocs/xaqpsprd/login_en.class
    File does not exist: /data/apache/htdocs/xaqpsprd/login_en.properties
    File does not exist: /data/apache/htdocs/xaqpsprd/login_en_US.class
    File does not exist: /data/apache/htdocs/xaqpsprd/login_en_US.properties
    The application otherwise functions correct. Because of the volume of these warnings generated, they crowd out the real useful message in the Apache log file. So users are complaining and asking us to suppress them.
    I am looking for a way to suppress these warnings and prevent them from showing in the Apache log.
    Any suggestions?
    Thanks!

    Thanks for you suggestion. I had tried a similar idea as you suggested before. And the problem was partly addressed. The product I work on however support 13 languages. So I would need to create about 300 such dummy properties files for all the resource bundles-locale (en, en_US, etc) that product needs to support. That makes it unwieldy as you can imagine.
    I have not been successful at bundling the files into a JAR. So I am looking for a way to suppress them completely so other way. *Does anyone know what the root cause of this warning is? I presume this is some kind of default JVM behavior where it looks for the the resource bundles in order of en_US, _en, etc*
    Suggestions on suppressing that behavior?

  • SQL Developer 1.5.1 - warning messages generated by CREATE TABLE

    Hi,
    Have an issue with a CREATE TABLE statement - it works correctly, but generates a warning message when used in SQL Developer (1.2 or 1.5.1). Full test case below:
    Setup:
    drop table samplenames;
    drop table customers;
    drop table phones;
    drop table customers_phone;
    drop sequence primkey;
    create table samplenames
    (name VARCHAR2(10));
    insert into samplenames values ('dan');
    insert into samplenames values ('joe');
    insert into samplenames values ('bob');
    insert into samplenames values ('sam');
    insert into samplenames values ('weslington');
    insert into samplenames values ('sue');
    insert into samplenames values ('ann');
    insert into samplenames values ('mary');
    insert into samplenames values ('pam');
    insert into samplenames values ('lucy');
    create sequence primkey
    start with 1000000
    increment by 1;
    create table customers as
    select primkey.nextval as cust_id,
    tmp1.name || tmp2.name as first_name,
    tmp3.name || tmp4.name || tmp5.name as last_name
    from samplenames tmp1,
    samplenames tmp2,
    samplenames tmp3,
    samplenames tmp4,
    samplenames tmp5;
    CREATE TABLE PHONES AS
    SELECT cust_id, 'H' as phn_loc, trunc(dbms_random.value(100,999)) as area_cde,
    trunc(dbms_random.value(1000000,9999999)) as phn_num
    FROM customers;
    INSERT INTO PHONES
    SELECT cust_id, 'B' as phn_loc, trunc(dbms_random.value(100,999)) as area_cde,
    trunc(dbms_random.value(1000000,9999999)) as phn_num
    FROM customers;
    --randomly delete ~10% of records to make sure nulls are handled correctly.
    delete from phones
    where MOD(area_cde + phn_num, 10) = 0;
    create table statement (there are legacy reasons for why this is written the way it is):
    CREATE TABLE customers_phone NOLOGGING AS
    SELECT cst.*,
    piv.HOME_PHONE,
    piv.WORK_PHONE
    FROM (SELECT cust_id,
    MAX(decode(phn_loc, 'H', '(' || area_cde || ') ' ||
    substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS HOME_PHONE,
    MAX(decode(phn_loc, 'B', '(' || area_cde || ') ' ||
    substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS WORK_PHONE
    FROM phones phn
    WHERE phn_loc IN ('H', 'B')
    AND cust_id IS NOT NULL
    AND EXISTS (SELECT NULL
    FROM customers
    WHERE cust_id = phn.cust_id)
    GROUP BY cust_id) piv,
    customers cst
    WHERE cst.cust_id = piv.cust_id (+)
    Warning message output:
    "Error starting at line 1 in command:
    CREATE TABLE customers_phone NOLOGGING AS
    SELECT cst.*,
    piv.HOME_PHONE,
    piv.WORK_PHONE
    FROM (SELECT cust_id,
    MAX(decode(phn_loc, 'H', '(' || area_cde || ') ' || substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS HOME_PHONE,
    MAX(decode(phn_loc, 'B', '(' || area_cde || ') ' || substr(phn_num,1,3) || '-' || substr(phn_num,4,4), NULL)) AS WORK_PHONE
    FROM phones phn
    WHERE phn_loc IN ('H', 'B')
    AND cust_id IS NOT NULL
    AND EXISTS (SELECT NULL
    FROM customers
    WHERE cust_id = phn.cust_id)
    GROUP BY cust_id) piv,
    customers cst
    WHERE cst.cust_id = piv.cust_id (+)
    Error report:
    SQL Command: CREATE TABLE
    Failed: Warning: execution completed with warning"
    I am on 10.2.0.3. The CREATE TABLE always completes successfully, but the warning bugs me, and I have had no success tracking it down since there is no associated numberr.
    Anyone have any ideas?

    Hi ,
    The Oracle JDBC driver is returning this warning so I will be logging an issue with them, but for the moment SQL Developer will continue to report the warning as is.
    The reason for the warning is not clear or documented as far as I can tell,
    but I have replicated the issue with a simpler testcase which makes it easier to have a guess about the issue :)
    ----START
    DROP TABLE sourcetable ;
    CREATE TABLE sourcetable(col1 char);
    INSERT INTO sourcetable VALUES('M');
    DROP TABLE customers_phone;
    CREATE TABLE customers_phone AS
    SELECT MAX(decode(col1, 'm','OK' , NULL)) COLALIAS
    FROM sourcetable;
    ----END
    The warning occurs in the above script in SQL Developer , but not in SQL*Plus.
    The warning disappears when we change 'm' to 'M'.
    The warning disappears when we change NULL to 'OK2'
    In all cases the table creates successfully and the appropriate values inserted.
    My gut feeling is ...
    During the definition of customers_phone, Oracle has to work out what the COLALIAS datatype is.
    When it sees NULL as the only alternative (as sourcetable.col1 = 'M' not 'm') it throws up a warning. It then has to rely on the 'OK' value to define the COLALIAS datatype, even though the 'OK' value wont be inserted as sourcetable.col1 = 'M' and not 'm'. So Oracle makes the correct decision to define the COLALIAS as VARCHAR2(2), but the warning is just to say it had to use the alternative value to define the column.
    Why SQL*Plus does not report it and JDBC does, I'm not sure. Either way it doesn't look like a real issue.
    Again, this is just a guess and not a fact.
    Just though an update was in order.
    Regards,
    Dermot.

  • How to trap warning messages generated from the background processing?

    Hi all,
    Following is my requirement, i want to know whether it can be done and how?
    The credit management (CM) warning messages generated as a result of the CM background processes, where do the messages go? Can you trap them and include them in an interface control report?
    Thanks

    Hi
    If it's created a job for that process, you can try to read the log: here you should find all triggered messages, so the warning ones too.
    U can try to use fm like BP_JOBLOG_READ or BP_JOBLOG_SHOW in order to get the log.
    Max

  • MI warning messages on to client.

    Hi All,
    We came up with a problem in MI, can somebody help us...?
    We are using MAM3.0 on MI2.5SP21, the problem is that user creates some documents on the device, due to some reason it didn't reach the R/3 and displays a warning message in MI (Merep_Mon).
    Here neither the user knows that his data has not reached R/3, not it shows a error log for warnings in MI. Also since it is not in error log, this data can not be reprocessed on the client.
    So is there a way to send the warning logs also to the MI client for display from MI.
    Thanks & Regards,
    Sai Krishna.K

    Hi Larissa,
    I understand that for Consistancy that data is deleted from the device and on error it will sit in middleware , where you can reprocess this data after fixing the data problem.
    My problem here is
    The middle ware inbound process shows no errors, so we expect that data reached in backed but which is not, neither its in MI client device. when we check log for this particular item in middleware indound process, it's warning. Since its in waring state we cannot reprocess the data.
    So when the message is warning either the user knows that there is a problem looking on device, nor the MI monitoring person knows that there is a warning untill he navigates to each individual log. and infact nobody from R/3 knows that there was a data change attempt failed.
    So here if the warning messages are highlited in the MI monitor at the In & out bound sequence status it self similar to errors, then at least the MI monitoring person will be aware of the problems with out navigating to each individual item log.
    As a whole is there a config setting to show the warning and alert items at the record sequnece status screen itself similar to errors.
    If you need further explanation of the problem, please inform me..
    Thanks & regards,
    Sai krishna.K

  • Application generated warning messages

    I seem to be constantly vexed by integrating warning messages into my applications. I am fine with javascript and am a former PHP (LAMP) developer so I think I just have to get the proper architecture for warning messages through my head and them I will be all set. The built in validation functionality is great but I am looking for information about the traditional warning messages like 'that value seems to high, are you sure' which would then allow the user to click 'OK' and save the records.
    Sometimes this involves going against the database to generate the warning and that is the part that I am struggling with. Could someone point me toward a good post, blog, or any resource that has a good overview of the best way to accomplish this.
    TIA.

    JSF sees and merges all configuration files listed below:
    (1) WEB-INF/faces-config.xml
    (2) some xml files you specify using the context-param element of WEB-INF/web.xml
    (3) META-INF/faces-config.xml files included in all jar files
    Check the all configuration files and see whether they have doubled elements
    and merge them.

  • Script for generating warning message during Shutdown by GPO

    Hello,
    I want to apply GPO in my AD to generate a warning message in the pop-up window just after when user click SHUT-DOWN  in their system .
    But I don't know what are the script for the same in batch file. Any body please suggest me.
    Thanks 

    Hello,
    i know the process how to apply it , the only things i have a problem is the content of script  as i mentioned above and now below also. I shown the script above which i used so far here only i need how to improve my script .
    echo msgbox "Hey! Here is a message!" > %tmp%\tmp.vbs
    cscript /nologo %tmp%\tmp.vbs del %tmp%\tmp.vbs
    Thanks

  • PSE 9 reboots my machine without any warning message..

    I am using Photoshop elements 9. i brought it recently. And the installation went
    well.. but when i am using the software, my machine reboots without any warning message.
    My System Configuration:  INtel Pentium 2.19GH,  80GB Hard Disk and 2GB RAM. and operating system is XP.
    Please help me in this regard.. what needs to be done...???

    Hi,
    Since nobody else is coming up with ideas for your problem, I'll let you know my thoughts.
    As the system is suddenly rebooting, I tend to feel you might have a hardware problem. PSE 9 does use a lot of resource when it is working and could be causing the hardware to fail.
    Just a few questions first:
    1) how much free space on your disk drive?
    2) does the system reboot when using any other software?
    I have seen similar failures caused by overheating - sometimes a fan fails and needs replacing. Other causes could be a problem with the power supply unit - the extra processing load can sometimes cause the voltages to drop.
    Since you said about the screen becomes blurry sometimes, it could be that there is a problem with the graphics card.
    I'm not being rude, but how well are you with computers? If I were to ask you to check the event viewer, would you know what to do or would I have to give detailed instructions?
    Brian

Maybe you are looking for

  • Open item account line with flow type has to contain a partner

    Hi, I am getting the following error while doing periodic posting in flexible real estate management. " Open item account line with flow type Z240 has to contain a partner" " Open item account line with flow type Z820 has to contain a partner" Messag

  • Can't drag and drop bookmarks in FF12

    I just upgraded to FF 12.0, and I find that I'm unable to drag and drop bookmarks in the "Show All Bookmarks" window. I used to be able to organize my bookmarks that way, order them, put in folders, etc. I can delete bookmarks, and I can even "copy"

  • Using sequences in oracle

    Hi all, I am using a sequence in a cursor. i want the select statement to return 2 consecutive values of the sequence.. like it should give me a result x y 1 2 3 4 5 6 how do i do this using nextval? thanks

  • IMac refuses to start up without running installer

    We have a very big problem here in the Philippines with Apple's new policy of software only via the internet because the internet for most people cannot handle it.  I have been running Snow Leopard with some updates on my 26" iMac and had a problem w

  • Automatic customer account determination for EBS

    Dear all, I'm configuring Electronic Bank Statement. Could you please explain, how can I setup automatic customer account determination for incoming receipts? Based on what information these accounts should be determined? Where to configure it? Thank