Where to set Java system parameter for embedded WLS in JDev 11g?

Hi,
I am trying to test web service invocation via JAX-WS proxy generation on Jdeveloper 11g.
When I test client code, I got following error message.
Exception in thread "main" java.lang.Error: Jaxrpc 1.1 method is not supported.
     at weblogic.webservice.core.rpc.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:65)
From a forum discussion, it was suggested to add following java parameter in the path.
-Ddebug=true -Djavax.xml.rpc.ServiceFactory=oracle.j2ee.ws.client.ServiceFactoryImpl -Djavax.xml.soap.SOAPConnectionFactory=oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnectionFactory -Djavax.xml.soap.SOAPFactory=oracle.j2ee.ws.saaj.soap.SOAPFactoryImpl-Dweblogic.log.Log4jLoggingEnabled=true -Djbo.debugoutput=console
I can not find where to set this parameter under "Tools"->"Preferences". Is there any place in IDE that I can set this value?
Thanks for the help,
Jim

The parameters are defined in the Run configuration of your application. You find the Run configuration in the project properties under run. Open the 'Default' configuration, there you find the java properties where you put the parameters.
Timo

Similar Messages

  • How do set the system parameter for user defaults?

    When we are creating new users they are getting the European default for date format and decimal format.  I have found is there is a structure BAPIDEFAUL that contains these values.  However, I have not found the configuration for changing these values.  Does anyone have the answer to this problem?

    Ronald,
    with USERS_GEN, users are created with BBP_USER_CREATECP.
    This function uses DEFAULTS to pass parameters.
    But those parameters are not available in interface or file upload
    USERS_GEN will take default values in system parameters:
    Set date format and decimal format like in system parameters
      data: defaults   type bapidefaul.
      clear defaults.
      CALL 'C_SAPGPARAM'
           ID 'NAME' FIELD 'zcsa/moddatfm'
           ID 'VALUE' FIELD DEFAULTS-DATFM.
      CALL 'C_SAPGPARAM'
           ID 'NAME' FIELD 'zcsa/moddcpfm'
           ID 'VALUE' FIELD DEFAULTS-DCPFM.
    So, this is the only way to "customize" it: define system parameters zcsa/moddatfm & zcsa/moddcpfm in RZ10.
    Rgds
    Christophe

  • Sun Java System Connector for Microsoft Outlook 7.3 Update 1

    Good Day,
    Could somebody please advise me where I can download:
    Sun Java System Connector for Microsoft Outlook 7.3 Update 1
    Thanks,
    Gilbert

    Gilbert_Gerber wrote:
    I thought it is suppose to be part of Sun Java Communications Suite 6 update1?You can download it from the following location:
    http://wikis.sun.com/display/CommSuite6U1/Get+the+Software
    Select the Download Link => Platform: Windows
    Regards,
    Shane.

  • Where do we set flag -D... for embedded and standalone oc4j?

    hi,
    I want to set flag -Doc4j.formauth.redirect=true in embedded and standalone oc4j. Where should I add this definition for both environments?

    Hi,
    stand-alone its
    java -jar -Doc4j.formauth.redirect=true oc4j.jar
    in embedded OC4J,
    double click the project node in JDeveloper and select the Run/Debug option. Then press edit on the "Default" configuration and add -Doc4j.formauth.redirect=true to the "Java Options" field
    Frank

  • How set and get parameter for a session of a portlet (Java)

    I would like get parameter and set parameter for a portlet in portal 9.02. This parameter must be availbale during the session of the portal.
    With Java Servlet
    // I retrieve my session
    HttpServletRequest httpreq = (HttpServletRequest)req;
    HttpServletResponse httpresp = (HttpServletResponse)resp;
    HttpSession session = httpreq.getSession();
    //And after i can get or set some parameter for this servlet
    //Example
    session.setAttribute("MyEmployeeNumber","600000");
    String id = (String)session.getAttribute("MyEmployeeNumber");
    // But with Portlet in portal, i can't do it.
    PortletRenderRequest pr= (PortletRenderRequest)httpreq.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String sUser=pr.getUser().getName();
    ProviderSession session=pr.getSession();
    // But after if i want get or set a value in this session i have a internal error 500
    session.setAttribute("MyEmployeeNumber","600000");
    I would like my parameter is avalaible during a session for a user in each page of the portal, because my portlet is on each page.

    I have almost the same problem. I tried as you suggested, but it doesn't work yet.
    provider.xml
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    My code in my jsp-portlet is
    <%@page contentType="text/html; charset=windows-1252"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.render.PortletRendererUtil"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    import="oracle.portal.provider.v2.ParameterDefinition"
    import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"
    %>
    <%@page session="true"%>
    <%
    PortletRenderRequest pReq = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String valueSession = (String)pReq.getAttribute("sesion");
    if (valueSession != null) {
    pReq.setAttribute("session", "value1");
    out.println("<br>(1)valueSession != null");
    out.println("<br>(1)valueSession : " + pReq.getAttribute("session"));
    } else {
    pReq.setAttribute("session", "value2");
    out.println("<br>(2)valueSession == null");
    out.println("<br>(2)valueSession : " + pReq.getAttribute("session"));
    %>
    And i always get as result:
    (2)valueSession == null
    (2)valueSession : value2
    Even when i send values (post) at the same page or browsing between tabs:
    I check my provider registration and it has the value "once per session"
    I have portal 9.0.2.2.14
    Thanks

  • Set different System Prefs for specific projects?

    What I need to be able to do is to maintain everything about a client project in one place. We use a different drive for each client, that way everything is kept very orderly and we can easily manage it.
    But if I set the system prefs (like where to save render files, capture scratch, etc.) for one project, those settings are saved even when another project is opened and I have to remember to change them or I'll get render files from Client A saved to Client B's drive.
    And of course the problem is even worse with multiple projects open.
    So, is there any way to say: Save Everything about this project HERE and Everything about this other project over HERE? And not have to manually change system prefs every single time?
    Thanks!
    G5 Dual 2.0   Mac OS X (10.4.9)  

    I simply created three different users for three diffrent projects when specifically requested to meet such odd and onerous and unnecessary (in my view) requirements. That way each project could be assigned its own preferences for such things as targets for scratch etc. I find the FCP file management system more than adequate to quickly keep crucial original files in order without resorting to the log in/out user dance, but its the only thing I could come up with at the time. Maybe someone else has an easy cure.
    G4 Powermac Dual   Mac OS X (10.4.9)   1G RAM,200GB scratch int, FCPS, LaCie Ext FW DL DVDburner

  • Modifying Memory Optimization parameter for BPEL process in SOA 11g

    Hello
    I have turned on memory optimization parameter for my BPEL process in the composite.xml (11g)
    this is what I have in composite.xml:
    <property name="bpel.config.inMemoryOptimization">false</property>
    How do we modify this parameter in the EM console at runtime? I changed this property to "true" using the System MBean browser, but it wasn't taking effect. I thought the SOA server must be restarted (similar to what we used to do in 10g). But when I restart the SOA server, the parameter goes back to whatever the value was in the composite.xml ignoring the change I made in the System MBean browser
    Please share your thoughts.
    Thanks in advance.
    Raja

    Deploying a newer version is not an option, as the endpoints could change (not sure if it would in 11g, but in 10g it does) and also, our service consumers will be pointing to the older version.As mentioned above, if clients are using URL without version then call will be forwarded to default version of composite internally. No manual tweaking required for this. Just make sure that while deploying the new version you are marking it as default.
    Besides, we report on service metrics and having multiple versions just complicates things.Not at all. If you are not using versioning feature, you are really under utilizing the Oracle SOA 11g. Remember that metrics can be collected for a single composite with same effort, irrespective of the number of composite versions deployed. Only few product tables refer the version while storing composite name and rest all use only the composite name without version. I do not know how you are collecting service metrics but we use DB jobs for same it works perfectly with any number of composites having multiple versions deployed.
    The idea is to do some debugging and collect audit trail in case there is a production issue by disabling inMemoryOptimization parameter. This is a live production environment and deploying whenever we want is not even an option for us, unfortunately. Why not debug by increasing log level. Diagnostic logs are the best option to debug an issue even in production. For getting audit trail you may re-produce the issue in lower environments. I think no organization will allow re-deployments just for debugging some issue in production until and unless it is too critical issue to handle.
    Does this not supported in 11g? if it isn't, it does seem like a bug to me. You may always go ahead and raise a case with support.
    Regards,
    Anuj

  • (realistic) system requirements for development environment under Forms 11g

    Hello !
    How are the realistic system requirements for a complete development environment
    under Forms 11g (Forms11g/Reports11g/Weblogic-Server) ?
    From our experience there is a problem with the RAM-limitation of Windows 32 bit !
    Is there anybody to exchange his experiences ...
    Thanks in advance !
    Thomas

    The Oracle Solaris Studio 12.4 will officially support Oracle Linux 5,6 when it releases later this year.
    Since Oracle  Linux is based on RHEL, Oracle Solaris Studio should work on RHEL.
    Support customers may report issues against RHEL and the Oracle Solaris Studio team will do its  best to address these issues but fixes are not guaranteed.
    Oracle Solaris Studio components such as compilers and command line tools do not require Java.  If you install the product using the Oracle Solaris Studio Installer in non-interactive mode you can install the Solaris Studio product without having Java on your system though the installer will issue a warning message if Java is not found on the system.  Alternately you can install the product using the tar file distribution if Java is not installed. If you install via the tar file, it is not possible to install patches later.

  • Unable to Give Input for my Program in JDEV 11g(11.1.1.3.0)

    I'm using Windows 7_Ultimate -32 Bit OS with Administrator Priviliges
    I'm trying to Run The Following Program
    package appln;
    import java.util.Scanner;
    public class arr {
    public static void main(String[] args) {
    Scanner so = new Scanner(System.in);
    System.out.println("Enter a value into variableID");
    int id = so.nextInt();
    System.out.println("Variable ="+id);
    I'm getting the following errors in "Extensions" Sub window of Output window
    oracle.BC4J:
    Warning: Classpath entry D:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.jdeveloper.junit\junit4.5\junit-4.5.jar not found.
    oracle.xsqldt-ide:
    Warning: Classpath entry D:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.jdeveloper.junit\junit4.5\junit-4.5.jar not found.
    Unknown Source: "Error: Field {0} of analyzer {1} references undefined bean {2}
    The MAIN purpose of the program is to Accept input into variable named id and display to output.
    Program Compiled Successfully but while the program is running,
    Out put is "Enter a value into variableID"
    And i'm unable to give input i.e unable to place cursor to give input
    Also i've configured the Input Settings as Mentioned in the BLOG at "http://blogs.oracle.com/shay/2008/02/enabling_user_input_when_runni.html"
    Even though the same thing thing is being repeated
    But when i've run the program in NET BEANS IDE 6.9.1, the program is compiled and runned well.

    John Stegeman WROTE: " Any way to avoid what, exactly?"
    I mean that every time we need to insert the cursor into INPUT field using mouse then input the value and press enter.
    But for large input's it becomes tedious to each time place the cursor in Input field.
    SO i meant to avoid this.
    How can i avoid this.
    Also you've mentioned me to run program's out of JDEV, if i do so i will be mising the Beauty and Advanced Capabilities of "ORACLE JDEV 11G".
    So i can't use any other IDE Than JDEV.
    Also can we Modify the way JDEV prompts for input's rather than this INPUT Field i.e by enabling the user input field for every program.
    If there any, please mention.
    Thanks for help in advance :)
    Edited by: Tejaswi.B on Jan 22, 2011 11:30 PM

  • Setting Java class parameters for a JSP page

    Hi,
    I have a Java class that has a reference to a Session Id. I want to call a JSP from the class and set the session id to a String variable in the JSP. I am using a URL class to call the JSP. After the actual URL is passed to the URL constructor, I am appending the "?m_sessionId=e_session Id" at the end of the URL. In my JSP, I have the m_sessionId String parameter that i want to set e_sessionId to. What should i do in my JSP to set this? Any answers will be very helpful and I'd like to offer many thanks in advance
      public void loadSessionStuff(String sessionID){
       String e_sessionId = URLEncode.encode(sessionID);
       URL url = new URL("http://localhost:9000/MyJSP.jsp?m_sessionId="+e_sessionId);
       .....MyJSP.jsp looks something like this
       <%!
          String m_sessionId;
          public void setSessionId(){
           m_sessionid = request.getParameter("e_sessionId");    
           public String getSessionId(){
               return m_sessionId;
            other stuff....
        %>Is this the correct way to do things. It's not working.
    Regards
    R

    Hi Rahul,
    Yeah, i got that resolved. Do you know how i can get the thing in reverse gear. What i mean is i can successfully call and get the JSP to do things for me from my Java bean. What about sending stuff back to my bean?
    I want to send the List back to my calling class so i can work with it.
    Thanks
    Regards
    Jeeves
    My Java code is as follows
    Results i_krf = null;
      if(null != getSessionId()){                   
                    String e_sessionId = URLEncoder.encode(this.m_sessionId);
                    String eQuestion = URLEncoder.encode(sQuestion);
                    Object obj;               
                    String URL = "http://"+m_rea.getHostname()+":"+m_rea.getPort()+"/"+"SecondaryInitiator.jsp"+"?m_sessionId="+e_sessionId+"&question="+eQuestion;
                    URL url = new URL(URL);
                             URLConnection urlConn = url.openConnection();
                    ois = new ObjectInputStream(new BufferedInputStream(urlConn.getInputStream()));
                    while((obj = ois.readObject()) != null){
                         System.out.println("From OIS::"+obj.getClass());
                                    i_krf = (Reults) obj;
    <%@ page import = "java.io.*,java.sql.*,java.util.*"%>
    <%
      String m_sessionId;
      String eQuestion;
      System.out.println("In the JSP Page. Scriptlet part");
      m_sessionId = request.getParameter("m_sessionId");
      eQuestion = request.getParameter("question");
      System.out.println("Session Id in JSP::"+m_sessionId+"::"+eQuestion);
      Results i_krf = loadSession(m_sessionId);
      if(null != i_krf){
       System.out.println("NOT NULL::");
       List list = i_krf.getPathList(eQuestion);
       for(Iterator it = list.iterator();it.hasNext();){
        PathKeys pk = (PathKeys) it.next();
        System.out.println("PATH::"+pk.getPathKey());
    %>
    <%!     
         Shopper m_sSession = null;
         Results i_krf;
         public Results loadSession(String m_sessionId){
          if(null != m_sessionId){
            m_sSession = Shopper.findShopSession(m_sessionId);       
            System.out.println("Session ID from JSP"+m_sessionId);
            if(null != m_sSession ){
              i_krf = new ResultsImpl(m_sSession );
          return (null==i_krf?null:i_krf);
    %>

  • Where to set external system credential?

    Hi,
    I am trying to use external system (business system) to post message. Then I noticed I cannot find somewhere to set the password (also refer as "secret key" as in "POST /api/external_systems/authentication")
    In another thread, it was mentioned: "For provisioning we created what is called an external system, but this only currently works with the provisioning end point.If you go to admin settings => provisioning => "Enable provisioning via external system" you can see the feature"
    What is a "provisioning end point"? Is it a paid feature?
    Thanks,
    Wei

    Hi sogoImotley:
    Thanks for your reply. The problem for us is that I cannot find Admin Settings => Provisioning => "Enable provisioning via external system" (No "Provisioning" section from the list on left -- see my screenshot attached)
    Where can I find it?
    Thanks,
    Wei

  • Where to increase Java Heap settings for Admin and Managed Server.

    Hello Experts
    I am having issue with increasing the JVM memory arguments for the Admin and Managed Servers. I have tried in a couple of places to increase the memory arguments (Xms and Xmx to 1024m)but its not taking effect. When I start the Admin Server and Managed server , I do not see the increased Heap settings. Here is what I see -
    "Starting WLS with line : /oracle/app/bi/Oracle_BI1/jdk/java -server - Xms256m -Xmx512m -XX:MaxPermSize=512m"
    I have the following memory arguments in the setDomainEnv.sh located in <DOMAIN_HOME>/bin
    XMS_SUN_64BIT ="2048"
    export XMS_SUN_64BIT
    XMX_SUN_64BIT="2048"
    export XMX_SUN_64BIT
    Looks like this did not work , so I added an entry in the setOBIDomainEnv.sh file hoping to increase the Java memory , but that does not work either. Below is from setOBIDomainEnv.sh file -
    Really, trying to understand where/how the JVM settings are controlled from. Please guide me.
    Appreciate your time.
    Rakesh

    Under setobidomainenv.sh you will also find the admin server tag's so you need to increase the jvm parameters in there too. Depending upon your java vendor and bit version(Sun/Oracle/IBM/HP and 32-bit vs 64-bit ) So change accordingly
    eg:
    if server group is not obi then we can assume that it is Admin Server
      if [ "${JAVA_VENDOR}" = "Sun" ] ; then
      # -UseSSE42Intrinsics required for server running EM
      if [ "${JAVA_USE_64BIT}" = "true" ] ; then
      # Admin Server memory args for 64-bit Sun JVM
      SERVER_MEM_ARGS="-Xms256m -Xmx1024m -XX:MaxPermSize=512m -XX:-UseSSE42Intrinsics"
      export SERVER_MEM_ARGS
    similarly in setdomain.sh you will find the args as below:
    XMX_SUN_64BIT="512"
    export XMX_SUN_64BIT
    XMS_SUN_64BIT="256"
    export XMS_SUN_64BIT
    if [ "${JAVA_VENDOR}" = "Sun" ] ; then
      WLS_MEM_ARGS_64BIT="-Xms256m -Xmx512m"
      export WLS_MEM_ARGS_64BIT
      WLS_MEM_ARGS_32BIT="-Xms256m -Xmx512m"
      export WLS_MEM_ARGS_32BIT
    after setting them just execute them ./setdomain.sh and ./setobidomainenv.sh and then try to start the admin and managed servers and see the process running with the updated values.

  • Where to set UserID and Password for NFS file share in Central File Adapter

    Hi All,
    Does anyone know if/where it is possible to set the userID and password if you want to connect to an NFS fileshare with the central XI30 file adapter?
    Cheers,
    Frank

    Hi Frank,
    The file adapter uses user ID SAPSERVICE... with the addition of the system ID of your SAP XI system. So if your system ID is EXD the user id which needs read/write access should be SAPSERVICEEXD.
    Have fun

  • How to set my System Property for frmall.jar like !

    I have a JAR file named SecAuth.jar in ORACLE_HOME\forms\java\ directory.
    I configured this JAR file in ORACLE_HOME\forms\server\formsweb.cfg file archive tag. Like,
    archive=frmall.jar,SecAuth.jar
    Its working very nice.
    Now I need to give a System Property to one of the Class file in the SecAuth.jar !
    Actually my System Property is,
    -Dproject.system.securityFile=C:\client\security.properties
    How can I do this sir ? Can someone help me ?

    Try looking in the $ORACLE_HOME/opmn/conf/opmn.xml file. You'll see a set of process definitions that correspond to the OC4J instances you have configured. There should be a "start-properties" or some similar element to that, in which you can place your required System property. There should be examples of properties in there already.
    When OPMN starts your OC4J process, it will pass it the System property you set (along with all the other ones that were already there).
    -steve-

  • How to set billing doc parameter for multiple selection ?????

    Hi all,
    Output for Billing
    VF31, SD70AV3A
    i would like to add ‘Multiple selection’ to the Billing Document parameter.  multiple Currently, it would only give data for one of the documents in the selection.
    According to me the billing parameter can be changed for multiple selection, need your suggestion for how to proceed with this..
    Thx in adv
    Megha

    VF31 <b>does</b> have multiple selection option for Billing document, at least in my world (4.7).

Maybe you are looking for

  • GE60 Apache Pro-003 mutes mic when S key pressed. Need recovery help...

    I don't actually believe that this is an issue with hardware as I have tried external keyboards and my friend pressed S using teamviewer and it still muted me.  I think the issue originated when I decided to install Ubuntu in front of the windows mai

  • Can Multiple ipods use the same computer/itunes program

    I recently purchased two ipods for different family members. Can both be used on the same computer. I seem to remember seeing a blurb in the user agreement for itunes that said the program was only for one ipod. Can anyone elaborate?

  • IPhoto 09 June update destroys RAW support on Nikon D80 images

    Anyone else see this? You can go to edit a D80 image after the update and it just turns it a dark shade of green as soon as you try to do anything else to it. MacBook Pro (new) user here. It didn't do this before the patch. I called tech support they

  • N95 Can't get it to connect to PC

    Can anyone please suggest why my N95 will not connect to Nokia PC Suite - it has connected in the past, the cable is the correct one and the keypad is unlocked.   I get as far as step 3 on the connection wizard but then nothing happens other than the

  • ITunes-Won't upgrade, can't removed old version, can't add new version,etc

    I just bought a new Ipod yesterday, 30GB Photo/Video. I connected my Ipod however it was not responding to the old version of iTunes which I had, this is when the problems started. 1st. I tried to update my iTunes, I tried with the new disc which cam