Error: C:\jdevstudio10133\webservices\lib\jaxr_api.jar

Hi all,
I newly creating asynchronous web service using jdeveloper editor and then bpel process with pl/sql web service but my system given following error
Error: C:\jdevstudio10133\webservices\lib\jaxr_api.jar (The system cannot find the file specified)
any bodies know how solve this problem i need jaxr_api, jaxr_impl jar files how can download this files.

Creating a WS client in a BPEL project breaks BPEL compilatiopn, that's easy to reproduce.
I dont' know how you can fix this without getting rid of the WS client, but if you want to keep the BPEL and are happy to remove the WS client, then proceed as follows:
- delete the src directory
- remove the "oracle.jdevimpl.config.JProjectLibraries" and "ownerMap" sections in the *.jpr.
- restart JDev
After this you should be able to compile the BPEL again.

Similar Messages

  • Error: C:\jdev10134\webservices\lib\jaxb-impl.jar The system cannot find..

    In jdeveloper 10.1.3.4, I created a new synchronous BPEL project, then connected to my db and selected a package and did the right-click, create a web service from it. Now that I compile the project it returns this error:
    Error: C:\jdev10134\webservices\lib\jaxb-impl.jar (The system cannot find the file specified)
    Do I need to add something to jdeveloper to allow it to compile web services?
    Thanks,
    Edited by: srollins on Aug 21, 2009 12:42 PM

    Creating a WS client in a BPEL project breaks BPEL compilatiopn, that's easy to reproduce.
    I dont' know how you can fix this without getting rid of the WS client, but if you want to keep the BPEL and are happy to remove the WS client, then proceed as follows:
    - delete the src directory
    - remove the "oracle.jdevimpl.config.JProjectLibraries" and "ownerMap" sections in the *.jpr.
    - restart JDev
    After this you should be able to compile the BPEL again.

  • Using XSLProcessor in $ORACLE_HOME/lib/xmlparserv2.jar giving error in 10g

    Being absolutely frustrated with the generic FOTY 001 fault for any mapping failure I tried looking for different solution in web.I did actually find out some interesting soutions which is to use XSLProcessor class $ORACLE_HOME/lib/xmlparserv2.jar for parsing XML to a partcular XSLT file.It is giving me the actual error with the proper line number for simple XSLT files.But when I try to use one of the PIP transformations it is still throwing errors for aia and xpath functions.For aia:getServiceProperty it can find out the proper attribute from AIAConfigurationProperties.xml and for xref:lookupXREF it is giving class initializer error.I have added both the jar aia.jar and bpm-services.jar to do that.I have also tried to use oraxsl command line utility which comes with oracle xdk but no luck there also.
    In case anyone have been able to use them succesfully please help me out.
    Thanks
    Animesh Roy
    [email protected]

    you have to do the migration one time. Better now than in the future. One day a forms patch will say: Graphics is now obsolete, please migrate.
    To run a 6i graphics service on a 10g platform is (please believe me) the badest way to run your old graphics in the new world.
    its like toothache. you can eliminate them through eating 10 aspirins each day. But you know, that you have to go one day to the dentist...

  • Getting error on initializing webservice in Oracle Apps 12.1.3

    Hello,
    We have upgraded from oracle apps 12.0.6 to 12.1.3.
    after upgrade we are getting following error on initializing a web service .
    "java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis2.description.AxisService"
    AxisService class is present in axis2-kernel.jar and this jar file is already present in the JAVA_TOP. CLASS PATH is also set to point this jar file.
    In 12.0.6 it is working fine but In upgraded instance its throwing error.
    Please help me on this.
    Thanks
    Sandeep

    Hi Hussein,
    Thanks for the reply.
    class path set dint resolve this issue. so i tried other solutions.
    Actually we developed this webservice with the help of Jdeveloper 9i and it is working fine in oracle apps 11i and 12.0.6 but gives error in 12.1.3 instance.
    So i downloaded Jdeveloper 10.* compatible with 12.1.3 and tried running this same webservice. here m getting below error
    ## Detail 0 ##
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: org.apache.commons.logging.Log
         Dependent class: oracle.webdb.wsrp.server.CommonsLogAdapter
         Loader: default.root:0.0.0
         Code-Source: /C:/JDEV/WebService-Issue/p9879989_R12_GENERIC/jdevbin/jdev/appslibrt/wsrp-container.jar
         Configuration: <library> in /C:/JDEV/WebService-Issue/p9879989_R12_GENERIC/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/application.xml
    The missing class is available from the following locations:
         1. Code-Source: /C:/JDEV/WebService-Issue/p9879989_R12_GENERIC/jdevbin/webservices/lib/commons-logging.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\JDEV\WebService-Issue\p9879989_R12_GENERIC\jdevbin\j2ee\home\oc4j.jar)
         This code-source is available in loader apache.commons.logging:1.0.4. This shared-library can be imported by the "default" application.
         This code-source is available in loader current-workspace-app.root:0.0.0. This is a child of the dependent loader default.root:0.0.0.
         2. Code-Source: /C:/JDEV/WebService-Issue/p9879989_R12_GENERIC/jdevbin/jdev/lib/commons-logging-1.1.jar (from <library> in /C:/Dev-ameren/WebService-Issue/p9879989_R12_GENERIC/jdevhome/jdev/myprojects/CCTM-oc4j-app.xml)
         This code-source is available in loader current-workspace-app.root:0.0.0. This is a child of the dependent loader default.root:0.0.0.
         at oracle.classloader.PolicyClassLoader.defineClass(PolicyClassLoader.java:2264)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1462)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
    Please tel me how can i resolve this issue in Jdeveloper as well as in 12.1.3 Instance?
    Thanks
    Sandeep

  • Error to generate webservice from java file with JAXWS

    I need to build a webservice to run on Glassfish, but I have problems, I did downloaded the latest JAX-WS recently(2 days).
    I have the follow class to generate a wsdl file:
    package com.dudhoo.farmacopedia.web;
    import com.dudhoo.farmacopedia.web.hibernate.FarmacopediaKey;
    import com.dudhoo.farmacopedia.web.key.KeyGenerator;
    import java.util.Calendar;
    import java.util.Date;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    @WebService(serviceName="FarmacoWebService", name="nomeservice")  
    public class FarmacoWebService {
        public FarmacoWebService() {
        @WebMethod()
        public Date getServerTime(){
            return Calendar.getInstance().getTime();
        public FarmacopediaKey generateSerial(Date ini, int dias){
            return new KeyGenerator().generateKey(ini, dias);
    }I have the follow ant code:
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper 10g-->
    <!--Generated 01/08/2006 22:56:00-->
    <project name="FarmacoWeb" default="all" basedir=".">
      <property file="build.properties"/>
      <path id="classpath">
        <fileset dir="../libs/" includes="**/*.jar"/>   
      </path>
      <path id="jaxws.classpath">
        <fileset dir="../libs/jaxws" includes="**/*.jar"/>   
      </path>
      <target name="init">
        <tstamp/>
        <mkdir dir="${output.dir}"/>
        <mkdir dir="${output.dir}/new"/>
        <mkdir dir="${output.dir}/res"/>
      </target>
      <target name="all" description="Build the project" depends="compile,copy"/>
      <target name="clean" description="Clean the project">
        <delete includeemptydirs="true" quiet="true">
          <fileset dir="${output.dir}" includes="**/*"/>
        </delete>
      </target>
      <target name="compile" description="Compile Java source files" depends="init">
        <javac destdir="${output.dir}" classpathref="classpath"
               debug="${javac.debug}" nowarn="${javac.nowarn}"
               deprecation="${javac.deprecation}" encoding="Cp1252" source="1.5"
               target="1.5">
          <src path="src"/>
        </javac>
      </target>
      <target name="copy" description="Copy files to output directory"
              depends="init">
        <patternset id="copy.patterns">
          <include name="**/*.gif"/>
          <include name="**/*.GIF"/>
          <include name="**/*.jpg"/>
          <include name="**/*.JPG"/>
          <include name="**/*.jpeg"/>
          <include name="**/*.JPEG"/>
          <include name="**/*.png"/>
          <include name="**/*.PNG"/>
          <include name="**/*.properties"/>
          <include name="**/*.xml"/>
          <include name="**/*-apf.xml"/>
          <include name="**/*.ejx"/>
          <include name="**/*.xcfg"/>
          <include name="**/*.cpx"/>
          <include name="**/*.dcx"/>
          <include name="**/*.wsdl"/>
          <include name="**/*.ini"/>
          <include name="**/*.tld"/>
          <include name="**/*.tag"/>
        </patternset>
        <copy todir="${output.dir}">
          <fileset dir="src">
            <patternset refid="copy.patterns"/>
          </fileset>
        </copy>
      </target>
      <target name="-pre-dist" >
            <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
                <classpath refid="classpath"/>
            </taskdef>
            <wsgen
                debug="true"
                keep="true"
                destdir="${output.dir}/new"
                resourcedestdir="${output.dir}/res"
                sei="com.dudhoo.farmacopedia.web.FarmacoWebService">
                <classpath>
                    <pathelement path="${jaxws.classpath}"/>
                    <pathelement location="${output.dir}"/>               
                </classpath>
            </wsgen>
        </target>
    </project>When I run ant the the follow error is throwed:
    Buildfile: /home/duduzera/jdevhome/mywork/Farmaco/FarmacoWeb/build.xml
    -pre-dist:
        [wsgen] Problem encountered during annotation processing;
        [wsgen] see stacktrace below for more information.
        [wsgen] java.lang.NoSuchMethodError: javax.jws.WebMethod.exclude()Z
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.hasWebMethods(WebServiceVisitor.java:373)
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:349)
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:143)
        [wsgen]      at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:345)
        [wsgen]      at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:230)
        [wsgen]      at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
        [wsgen]      at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
        [wsgen]      at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
        [wsgen]      at com.sun.tools.apt.main.Main.compile(Main.java:1075)
        [wsgen]      at com.sun.tools.apt.main.Main.compile(Main.java:938)
        [wsgen]      at com.sun.tools.apt.Main.processing(Main.java:95)
        [wsgen]      at com.sun.tools.apt.Main.process(Main.java:85)
        [wsgen]      at com.sun.tools.apt.Main.process(Main.java:67)
        [wsgen]      at com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:603)
        [wsgen]      at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:536)
        [wsgen]      at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:54)
        [wsgen]      at com.sun.tools.ws.ant.WsGen.execute(WsGen.java:457)
        [wsgen]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        [wsgen]      at org.apache.tools.ant.Task.perform(Task.java:364)
        [wsgen]      at org.apache.tools.ant.Target.execute(Target.java:341)
        [wsgen]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
        [wsgen]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        [wsgen]      at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        [wsgen]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        [wsgen]      at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        [wsgen]      at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
        [wsgen]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        [wsgen]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        [wsgen]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        [wsgen]      at java.lang.reflect.Method.invoke(Method.java:585)
        [wsgen]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:293)
        [wsgen]      at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java)
        [wsgen]      at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
        [wsgen] error: compilation failed, errors should have been reported
        [wsgen]
    BUILD SUCCESSFUL
    Total time: 3 secondsI'm using JDeveloper 10g. Did someone had problems like this?
    I think the problem maybe is caused by jar lib concurrences...
    thanks

    You get that error when response headers have already been sent to the client (browser). This can happen in two ways that I know of:
    - you flushed data to the client, or somewhere the data was automatically flushed
    - you already did a redirect/forward and are attempting to do a second one.
    So if you want to prevent yourself from getting the error, you'll need to make sure that neither of the situations has occurred. Don't output content unless you are absolutely certain that you won't need to foward/redirect later and don't do a redirect/forward twice in the same resource.

  • Error while generating webservices using Date

    I am facing the following problem while generating a web service which is having Date as one its members.
    I have serialized a class with the following DataStructure
    private String rowId1;
    private Date created;
    private String name;
    private String quoteNum;
    private String revNum;
    private String curcyCd;
    private String activeFlg;
    private Number discntAmt;
    private Number discntPercent;
    When i tried to expose this as webservice, If I use the class oracle.jbo.domain.Date for Date type, the webservice is not generated properly. It is not including the method which contains this call. ie) This method is not present in the WSDL file as well as in the proxy.
    When I used java.util.Date instead of oracle.jbo.domain.Date, I am able to expose the method and webservice got generated properly. But When i tried to generate the proxy for the WSDL in the consumer, I go the following error.
    oracle.jdeveloper.webservices.model.GenerationException: Proxy generation failed for the following reason:
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.doGeneration(ProxyGenerator.java:608)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.generateImpl(ProxyGenerator.java:365)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.mav$generateImpl(ProxyGenerator.java:77)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator$1ThrowingRunnable.run(ProxyGenerator.java:206)
         at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.RuntimeException: generator error: no encoder for type "{http://www.w3.org/2001/XMLSchema}dateTime" and Java type "java.lang.String"
         at oracle.j2ee.ws.common.processor.Processor.runActions(Processor.java:105)
         at oracle.j2ee.ws.tools.wsa.AssemblerTool.run(AssemblerTool.java:99)
         at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createProxy(WsdlToJavaTool.java:354)
         at oracle.j2ee.ws.tools.wsa.Util.createProxy(Util.java:838)
         at oracle.jdeveloper.webservices.model.proxy.ProxyGenerator.doGeneration(ProxyGenerator.java:549)
         ... 6 more
    Caused by: generator error: no encoder for type "{http://www.w3.org/2001/XMLSchema}dateTime" and Java type "java.lang.String"
         at oracle.j2ee.ws.common.processor.generator.GeneratorBase.doGeneration(GeneratorBase.java:181)
         at oracle.j2ee.ws.common.processor.generator.GeneratorBase.perform(GeneratorBase.java:137)
         at oracle.j2ee.ws.common.processor.Processor.runActions(Processor.java:97)
         ... 10 more
    I am referring to "Entity and view objects based on web service " in the following URL
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#93
    Thanks and Regards,
    James

    Hi all,
    I have applied the consolidated JRI fixes - patch 17191279 .
    Then, when generating Jar, received keypass is tampered error.
    re-generated the key using $ adjkey -initialize.
    Now, its working fine.
    Regards,
    Krish.

  • Tomcat6 does not load class files from WEB-INF/lib/myjarfile.jar  WHY???

    I have placed my jar file in c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jar
    But, after restarting tomcat6, when i try to import the class file contained in the myjarfile.jar in a servlet, it says
    ProcessFileUpload.java:4: package test.test1 does not exist
    import test.test1.*;
    ^It clearly tomcat's class loading problem.
    As i unzipped my jar and placed the packagefolder structure to
    c:\tomcat6\webapps\my-application\WEB-INF\classes\testand it works perfectly.
    Anyone knows its workaround? please suggest if any configuration changes is required in tomcat or so.
    Thanks.
    ---Sujoy

    Thank you gimbal2 . There was error in creating the jar file myjarfile.jar.
    But, now I have created it again and placed it in place
    c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jarand tried to use one on the Class file included within the jar to compile my servlet. But, still I am getting error at servlet compilation time. I want to place executable jar files in
    c:\tomcat6\webapps\my-application\WEB-INF\lib\myjarfile.jar and compile my servlet and execute the servlet.
    I DO NOT WANT TO unzip the jar, placing all unzipped files to
    c:\tomcat6\webapps\my-application\WEB-INF\classes\ folder and comiple my servlet and execute the servlet. But, I am failing to user WEB-INF\lib\ folder facility....please help me why i am not getting class files from WEB-INF\lib\ folder.
    If you please see the small code bit and tell me any possible error that would be very helpful.
    Step 1: my library java file MyClass.java
    package test.test1;
    public class MyClass {
         String myName = "Default return string value";
         public void setMyName(String varName) {
              this.myName = varName;
         public String getMyName() {
              return this.myName;
    }Step2 : Creating jar file of my library class files
    C:\jdk1.6\bin>jar cvf myjarfile.jar test
    added manifest
    adding: test/(in = 0) (out= 0)(stored 0%)
    adding: test/test1/(in = 0) (out= 0)(stored 0%)
    adding: test/test1/MyClass.class(in = 452) (out= 296)(deflated 34%)
    adding: test/test1/MyClass.java(in = 230) (out= 140)(deflated 39%)
    C:\jdk1.6\bin>Step3 : Double checking the created jar file content by listing its content
    C:\jdk1.6\bin>jar tf myjarfile.jar
    META-INF/
    META-INF/MANIFEST.MF
    test/
    test/test1/
    test/test1/MyClass.class
    test/test1/MyClass.java
    C:\jdk1.6\bin>Step4 : Placed myjarfile.jar to
    c:\tomcat6\webapps\my-application\WEB-INF\lib\Step5 : Restarted standalone Tomcat6 in my Windows XP SP2.
    Step6 : Created a simple servlet LibFolderTest.java within my-application\WEB-INF\classes\ folder with code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import test.test1.*;
    public class LibFolderTest extends HttpServlet {
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              response.setContentType("text/html");
              PrintWriter out = response.getWriter();
              MyClass mc = new MyClass();
              out.println(mc.getMyName());
    }Step7 : Tried to compile my servlet LibFolderTest.java and got the following error
    LibFolderTest.java:4: package test.test1 does not exist
    import test.test1.*;
    ^
    LibFolderTest.java:11: cannot find symbol
    symbol  : class MyClass
    location: class LibFolderTest
                    MyClass mc = new MyClass();
                    ^
    LibFolderTest.java:11: cannot find symbol
    symbol  : class MyClass
    location: class LibFolderTest
                    MyClass mc = new MyClass();
                                     ^
    3 errorsThe above servlet compilation error on Step7 is telling me that myjarfile.jar is not loaded by Tomcat6 or not available for use when compiling servlet. I want to use myjarfile.jar from within WEB-INF\lib\ folder but I can not. please help.
    ---Sujoy

  • [svn:fx-3.3.0] 5655: remove FlexCompilerShell-license. txt due to the src for lib/mxmlc.jar is released under the mpl

    Revision: 5655
    Author: [email protected]
    Date: 2009-03-27 11:00:00 -0700 (Fri, 27 Mar 2009)
    Log Message:
    remove FlexCompilerShell-license.txt due to the src for lib/mxmlc.jar is released under the mpl
    Removed Paths:
    flex/sdk/branches/3.3.0/modules/compiler/FlexCompilerShell-license.txt

    Looking at the error message "The Network Adapter could not establish the connection" , It appears hostname and port may be incorrect. Review the targets.xml under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\emd and
    emoms.properties under E:\oracle\product\10.2.0\db_1\SAP_solman_SDB\config folder to make sure host ( sap_solman) and port (1527) are correct.
    As far as setting the environment variables goes, you can go to control panel -> system -> advanced -> environment variables and set the ORACLE_HOME and ORACLE_SID
    -Ramesh

  • Class not found: C:\Orcl\OracleXSU\lib\xmlparser.jar;

    Hi,
    I am testing out the XML functionality within Oracle 8i. I
    downloaded XML SQL Utilities, modified the .bat files and run
    it. The env.bat file ran fine, however, the oraclexmlsql.bat
    file keeps giving me the message error:
    "C:\ORCL\OracleXSU\lib>loadjava -resolve -verbose -
    user "system/manager" xmlparse
    r.jar
    Class not found: C:\Orcl\OracleXSU\lib\xmlparser.jar;"
    I added the xmlparser.jar in the classpath already.
    I am running Oracle 8i, JDK 1.1.8 on NT 4.0 Server Machine. I
    would appreciate any help I can get on this.
    null

    Hi Minh,
    It could be because of case-sensitvity. Looks like your
    directory is C:\ORCL\OracleXSU\lib whereas the error message
    indicates C:\Orcl\... Please check that. (i.e. set the path to
    C:\ORCL\ in the bat file and execute the bat file).
    Also please check the xmlparser.jar file is indeed present in
    the directory shown in the error message.
    Also in the command line window in which you are running the XML
    SQL, please verify the CLASSPATH settings by printing out the
    CLASSPATH. e.g. set %CLASSPATH%.
    Thx
    Murali
    Minh Pham (guest) wrote:
    : Hi,
    : I am testing out the XML functionality within Oracle 8i. I
    : downloaded XML SQL Utilities, modified the .bat files and run
    : it. The env.bat file ran fine, however, the oraclexmlsql.bat
    : file keeps giving me the message error:
    : "C:\ORCL\OracleXSU\lib>loadjava -resolve -verbose -
    : user "system/manager" xmlparse
    : r.jar
    : Class not found: C:\Orcl\OracleXSU\lib\xmlparser.jar;"
    : I added the xmlparser.jar in the classpath already.
    : I am running Oracle 8i, JDK 1.1.8 on NT 4.0 Server Machine. I
    : would appreciate any help I can get on this.
    null

  • JDeveloper 9031 creating WEB-INF/lib/struts.jar

    Hello,
    I just upgraded to 9.0.3.1 from 9.0.2, and I have a problem where JDeveloper will occasionally create a WEB-INF/lib/struts.jar in my project, causing a conflict with the version of struts I am using (RC2). Is there any way to prevent this? I ended up creating an empty jar and setting it to read-only to stop JDeveloper from placing it's version. Also, I tried disabling struts support, but that seemed to have no effect.
    Thanks,
    Patrick

    Hi.
    Hmm, this was a known issue that should have been fixed in 6.1. Please
    open a support case on this.
    Thanks,
    Michael
    Jim B wrote:
    I've seen alot of posts for this, but no answer.
    I have a WAR file which contains
    WEB-INF/lib/struts.jar
    And get an error that a struts class is not found.
    I checked 6728 times and it's there :-)
    If I explode the war file, all is well.
    Other posts allude to this being broken (exploded file
    works, war does not fond jars) as of WL6.0SP2.
    I'm using WL6.1SP1.
    Any ideas?
    Thanks
    Jim--
    Developer Relations Engineer
    BEA Support

  • Error while invoking webservice throu https

    Error while invoking webservice throu https://
    can any one help me on this topic please:
    CODE:
    SOAPConnection con = null;
              try{
                   String endpoint = "https://wks3089639:4565/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint = "http://wks3101999:5539/Service.serviceagent/PortTypeEndpoint1";
                   //String endpoint      = args[0];
                   //String soapAction      = args[1];
                   System.out.println("javax.net.ssl.keyStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.ssl.trustStore","C:/Documents and Settings/1067555/Desktop/certificates/cer.jks");
                   System.setProperty("javax.net.ssl.keyStore","C:/Documents and Settings/1067555/Desktop/certificates/server.keystore");
                   System.setProperty("javax.net.ssl.trustStorePassword","password");
                   System.setProperty("javax.net.ssl.keyStorePassword","password");
                   // use Sun's reference implementation of a URL handler for the     "https" URL protocol type.
                   //System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
                   // dynamically register sun's ssl provider
                   System.setProperty("security.provider","com.sun.net.ssl.internal.ssl.Provider");
                   //Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                   System.out.println("javax.net.ssl.trustStore-->"+System.getProperty("javax.net.ssl.trustStore"));
                   System.setProperty("javax.net.debug","ssl,handshake");
                   SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
                   con = connectionFactory.createConnection();
                   MessageFactory messageFactory      = MessageFactory.newInstance();
                   SOAPMessage message                = messageFactory.createMessage();
                   SOAPPart soapPart                     = message.getSOAPPart();
         SOAPEnvelope envelope                = soapPart.getEnvelope();
         SOAPBody body                          = envelope.getBody();
    //     MimeHeaders headers = message.getMimeHeaders();
    //     headers.addHeader("SOAPAction", soapAction);
    //     headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/Operation");
    //     headers.addHeader("Content-Type","text/xml");
    //     headers.addHeader("charset","utf-8");
         MimeHeaders headers = message.getMimeHeaders();
         headers.addHeader("SOAPAction", "/Service.serviceagent/PortTypeEndpoint1/sampleOperation");
         headers.addHeader("Content-Type","text/xml");
         headers.addHeader("charset","utf-8");
         StreamSource inputmsg = new StreamSource(new FileInputStream("client.wsdl"));
         soapPart.setContent(inputmsg);
         System.out.println("REQUEST:\n");
         message.writeTo(System.out);
         System.out.println();
         message.saveChanges();
         SOAPMessage reply = con.call(message, new URL(endpoint));
         System.out.println("RESPONSE:\n"+reply.toString());
         System.out.println("Header:::"+reply.getSOAPHeader());
         System.out.println("Body:::"+reply.getSOAPBody());
         System.out.println("RESPONSE:\n");
         TransformerFactory transformerFactory      = TransformerFactory.newInstance();
         Transformer transformer                     = transformerFactory.newTransformer();
         //Extract the content of the reply
         Source responseContent                          = reply.getSOAPPart().getContent();
         //Set the output for the transformation
         StreamResult result = new StreamResult(System.out);
         transformer.transform(responseContent, result);
         System.out.println();
              }catch(Exception e){
                   e.printStackTrace();
              finally{
                   con.close();
    Exception:
    10-Nov-2008 11:55:04 com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:127)
         at com.Sample.main(Sample.java:91)
    Caused by: java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         ... 1 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    CAUSE:
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:121)
         at com.Sample.main(Sample.java:91)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Message send failed
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:325)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedPost.run(HttpSOAPConnection.java:150)
         ... 3 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
         at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:282)
         ... 4 more
    Edited by: javausers07 on Nov 10, 2008 11:58 AM

    I hope the sun forum can help for me. Lets see

  • Errors while invoking webservice

    I am getting below error while invoking webservice in jdev:
    <env:Envelope
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
      <env:Fault>
       <faultcode>env:Server</faultcode>
       <faultstring>Failure in SDOSerializer.deserialize.</faultstring>
      </env:Fault>
    </env:Body>
    </env:Envelope>
    I can see only below log in jdev server log :
    <oracle.adf.model> <SDOHelper> <findHelperContext> <SDOHelperContext identified by {http://xmlns.oracle.com/apps/projects/projectManagement/common/projectServiceV2/}ProjectService has not been defined yet!>
    <oracle.adf.model> <SDOHelper> <findHelperContext> <SDOHelperContext identified by {http://xmlns.oracle.com/apps/projects/projectManagement/common/projectServiceV2/}ProjectService has not been defined yet!>
    could anybody help me to understand what gone wrong ?

    This thread might help you:
    Problems invoke Web Service

  • InvalidSecurity Error while accessing Webservice

    Hi,
    I am getting an "*InvalidSecurity*" error while accessing webservice.
    Below is the error, which I got while invoking the webservice :
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault
    xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <faultcode>ns0:InvalidSecurity</faultcode>
    <faultstring>InvalidSecurity : error in processing the WS-Security security header</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Thanks
    Abheek
    Edited by: 1005832 on May 14, 2013 6:16 AM

    The error was generated on the endpoint and indicates that the SOAP request message had incorrect WS-Security information in its headers. The SOAP response message you included doesn't contain specific information about what is wrong (we wouldn't want to reveal too much to hackers, of course!).
    Without seeing the SOAP request message and the WS-SecurityPolicy that the endpoint requires, it's impossible to tell what's wrong.
    Other important information:
    - what version of WLS are you running?
    - is the endpoint a WLS JAX-WS or a WLS JAX-RPC web service?
    - is WS-Security configured using native WLS WS-Security (e.g. @Policy) or using OWSM WS-Security (i.e. @SecurityPolicy)?
    - what specific policy is being used to enforce security at the endpoint (the advertised WSDL for the endpoint should contain this)

  • Error Exception activating module: EJBModule(p13n_ejb.jar) Unable to deploy

    Dears ,
    i'm facing this exception when try to activate changes after portal Ear deployment please help ???
    Message icon - Error An error occurred during activation of changes, please see the log for details.
    Message icon - Error Exception activating module: EJBModule(p13n_ejb.jar) Unable to deploy EJB: TrackedAnonymous from p13n_ejb.jar: Internal error: Cannot obtain XAConnection weblogic.common.resourcepool.ResourceDeadException: Pool portalDataSource has been disabled because of hanging connection tests, cannot allocate resources to applications. We waited 10010 milliseconds. A typical test has been taking 1209 at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1540) at weblogic.common.resourcepool.ResourcePoolImpl.checkAndReturnResource(ResourcePoolImpl.java:1496) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:375) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:332) at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:433) at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:316) at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:93) at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:61) at weblogic.jdbc.jta.DataSource.getXAConnectionFromPool(DataSource.java:1584) at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1357) at weblogic.jdbc.jta.DataSource.getConnection(DataSource.java:438) at weblogic.jdbc.jta.DataSource.connect(DataSource.java:395) at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:355) at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:4028) at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.verifyDatabaseType(RDBMSPersistenceManager.java:4250) at weblogic.ejb.container.cmp.rdbms.RDBMSPersistenceManager.setup(RDBMSPersistenceManager.java:261) at weblogic.ejb.container.manager.BaseEntityManager.setupPM(BaseEntityManager.java:300) at weblogic.ejb.container.manager.BaseEntityManager.setup(BaseEntityManager.java:249) at weblogic.ejb.container.manager.DBManager.setup(DBManager.java:172) at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1166) at weblogic.ejb.container.deployer.EntityBeanInfoImpl.activate(EntityBeanInfoImpl.java:238) at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1324) at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:480) at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227) at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:415) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83) at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:75) at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:67) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:54) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Message icon - Error Substituted for missing class Internal error - Cannot obtain XAConnection weblogic.common.resourcepool.ResourceDeadException: Pool portalDataSource has been disabled because of hanging connection tests, cannot allocate resources to applications. We waited 10010 milliseconds. A typical test has been taking 1209

    Hi
    As per the below stack trace, looks like the root cause is for some reasons, portal framework Datasources (connection pools) are not able to connect to the Database having portal schema. Make sure that before you deploy, if possible test all the Datasources from weblogic admin console to make sure they are able to communicate with backend portal db schema. There should be a TestConnection for each portal datasource. Or may be there is some network issue preventing access to this database. Once db is connected properly and connection pool testing is fine, then deploy your portal EAR.
    "...Cannot obtain XAConnection weblogic.common.resourcepool.ResourceDeadException: Pool portalDataSource has been disabled because of hanging connection tests, cannot allocate resources to applications. We waited 10010 milliseconds..."
    HTH
    Ravi Jegga

  • /WEB-INF/lib/reports_tld.jar

    /WEB-INF/lib/reports_tld.jar
    Elaboré una pagina JSP en Jdeveloper utilizando el Reports pero me pide /WEB-INF/lib/reports_tld.jar y no se como crearlo.

    1ro que nada te aconsejo que respondas en ingles... este es un foro en esa lengua.
    si tu ingles es malo te sugiero que uses http://babelfish.altavista.com
    2) do you have include the Reports library in yours projects.

Maybe you are looking for

  • Error when exporting to pdf - cannot read a jpeg image, but I do not know which jpeg image.

    I have created a document (A5) in Indesign cs6 with 116 pages. Because I would like to print the book I want to export it to pdf. Normally this is no problem for me, but now I got the following error: "Error encountered while reading JPEG image. Imag

  • Ipod 5th Gen. Corrupted. Help please.

    Hi there everybody, im sorry if this has already been posted before, but this is my first post here. I have a 5th generation ipod 30gb, it is saying corrupted once plugged in via itunes. When I do manage to start it, its showing no music at all I had

  • Purchasing Report help

    Hi, I need to create a report from EKKO,EKPO,KOMV,MSEG & LIFNR table....I found the related data sources as 2LIS_02_ITM, 2LIS_11_VAKON /2LIS_13_VDKON, 2LIS_03_BF & 0VENDOR_ATTR. Now my doubt is what are the key fields I should take to consolidate the

  • Unable to edit instantpage in GoDaddy domain website

    trying to edit instantpage/temporary webpage for a website domain. unable to edit. the picture is only part showing - too big, zooming in and out does not help, trying another browser doesn't either. No sidebar or bottom bar, I notice, on this page.

  • Help with Settins document in GeneratePDFService Optimize PDF

    How do you use the Settings document in the input section of the optimize pdf service operation? Using ES2.5