Help With wscompile On A config.xml

Hello,
I'm a newbie to Jax-rpc, so please bear with I'm having
difficulties compiling this config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="GetTenQService"
targetNamespace="http://localhost/getTenQ.wsdl"
typeNamespace="http://localhost/getTenQ/types"
packageName="getTenQ">
<interface name="getTenQ.JaxRpcGetTenqI"
servantName="getTenQ.JaxRpcGetTenqImpl"/>
</service>
</configuration>
I tried running >wscompile.sh -gen:both -keep -d classout -model wscmodel.xml.gz config.xml
and I'm seeing the following error message:
error: RmiModeler error: java.lang.ClassNotFoundException: getTenQ$JaxRpcGetTenqI
What am I doing wrong? Any info would be appreciated.
A.
P.S Where are the docs for coding the config.xml
and jaxrpc-ri.xml?

Thanks for the reply. I was already specifying the
-cp or -classpath. Turns out when using either
option they need to be the first arg passed to
wscompile

Similar Messages

  • Managed Servers not starting with options configured in config.xml

    Hi,
    I Installed an Weblogic 10.3 on a Red Hat system and i configured an domain and 2 managed servers.
    I configured the servers with some java arguments like this:
    -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/home/oracle/logs/managed-server{1,2}_gc.log -XX:NewSize=128m -XX:MaxNewSize=128m -Xms384m -Xmx384m -XX:PermSize=128m
    I do see in the ${DOMAIN_HOME}/config/config.xml the managed servers with the settings that I have configured it via the Web Gui Admin Console.
    Now I want to start the Managed Servers with the following command:
    +cd ${DOMAIN_HOME}/bin+
    +./startManagedWebLogic.sh managed-server1 http://admin:port+
    When i check the console, I don't see the correct JVM settings! Also other options that I configured in the Web Gui Admin Console, don't appear in the logfile.
    The JVM settings I see, are those from the AdminServer.
    How can I change/fix this?
    Please help.
    Kind regards,
    Werner

    Hi,
    Please add the changes to the startup script startManagedWeblogic.sh.
    You can add the memory args settings as "-XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xloggc:/home/oracle/logs/managed-server{1,2}_gc.log -XX:NewSize=128m -XX:MaxNewSize=128m -Xms384m -Xmx384m -XX:PermSize=128m"
    Please let me know if it dosent fix.

  • Help with ActionScript 2.0 and XML

    Here  I am trying  to use actionscript to load my content with is an XML file with html formatting. I have the actionscript on only 1 Scene  and i have links that switch between scences. The problem(s) is(are) that when I click the link  for the scene that has the actionscipt all it says is "null" where it should have the text i want to display from the XML file. Here is the code for the AS and XML:
    xml = new XML();
    xml.ignoreWhite = true;
    xml.load("contenido.xml");
    xml.onLoad = function () {
        txt = createTextField("txt",getNextHighestDepth(), 30, 300, 300, 100);
        txt.html = true;
        txt.htmlText = xml.firstChild.nodeValue;
    <?xml version="1.0" encoding="UTF-8"?>
    <htmlData><![CDATA[   Here is my <br/> html text   ]]></htmlData>
    any help is greatly appreciated

    Try...
    xml.onLoad = function () {
         txt = createTextField("txt",getNextHighestDepth(), 30, 300, 300, 100);
         txt.multiline = true;
         txt.html = true;
         txt.htmlText = xml.firstChild.childNodes[0].nodeValue;

  • Need help with ext. SWF and XML

    I'm trying to create an External SWF to load into my main
    site (photography).
    Home | Portfolio | Published Work | Bio | Contact
    The SWF I want to load externally is Portfolio because it has
    5 sections
    Those 5 sections are:
    -Editorial
    -Adventure
    -Fly Fishing
    -Multimedia
    -Weddings
    I'm looking to keep this dynamic as possible, but I'm one of
    those guys who doesn't write code from scratch, but knows AS well
    enough to modify a base or a generic template if ever given. It
    would be easier to use one subsection as an example, which could be
    applied to all others.
    e.g. "Fly Fishing" 1-Main container; 5-10 thumbnails (1
    dyanamic thumbnailcontainer)
    - I don't know XML (but can modify it). basically having an
    ID tag for each image, possibly dynamically generate a thumbnail
    too. Also have a spot for dynamic text to load in (captions with
    multiple text lines for images upon onRelease - maybe this could be
    it's own MC that loads on top of the main photo container)
    - on (release) on a thumbnail: there would be a little
    information icon that would appear. If you mouse over, it would
    overlay a layer over that specific ID photo, and the text appear.
    RollOut it would fade out the layer above that specific ID photo.
    - Transition: FadeOut/Blur/Exposure Blur, something
    interesting to that nature.
    - Thumbnails: is it just easier to create thumbnail images
    manually, and just create a separate container?
    - Image folders: I would imagine each section would have
    it's own watch folder. For example "Fly Fishing" would be a folder
    "/swfImg_flyFishing/", but perhaps having one XML file.
    - XML file details
    id
    location
    caption summary
    title
    As you can see, if I had one template to build off of, I
    could repeat it self for the others. I need help and if there is a
    flash component (free or purchase) that does at least 70% of what I
    need, please share information. thank you!Portfolio

    I know doing a pushback to the client requires Flex Data
    Services, but since I don't use FDS I can't tell you exactly how.
    But look in the documentation about "pushing" data to the client.
    Once you've figured out how to do that, you can trigger that push
    once you've finished editing the xml file. You may want to ask over
    in the FDS forum.

  • Help with Acrobat X Pro Config Error

    Hello, I'm looking for some assistance with Config Error 130:11 on Acrobat X Pro running on Windows 7.
    The message reads:
    A problem has occured with the licensing of this product. Restart your computer and re-launch the product.
    Error: 130:11
    I'm using the subscription service for CS6.
    Help appreciated!
    Kieran

    Hi Sandeep,
    Thanks for your response.
    Acrobat Reader had been installed on the machine, but not an earlier version of Acrobat - it's a new machine, but I installed CS5 Design Standard before subscribing to CS6.
    Since my CS5 software was an upgrade (as was CS4 - I had been asked to re-enter the CS4 serial number), I think the Acrobat software was never fully installed prior to the CS6 download.
    The permissions for SLStore were:
    System & Administrator - Full Control
    Creator Owner - Special
    Users - Read & Execute
    Users - Speical
    The permissions for Adobe PCD & caps were:
    Administrator - Full Control
    Everyone - Read
    When the Adobe PCD & caps folders were moved to the Desktop & the Acrobat X Pro re-launched, I received an Error: 6 response:
    Please uninstall and reinstall the product. If this problem still occurs, please contact Adobe technical support... etc
    I assume this is my next step?
    Many thanks,
    Kieran

  • Need help with image slide show using xml

    I have a flash document that pulls up images using xml but I
    would like for the images to also link to different urls and to be
    able to change these links in the XML document. I have included my
    code
    Also my xml file looks simular to this
    <images>
    <pic>
    <image>images/1.jpg</image>
    </pic>
    <images>
    Please if anyone can help me that would be great. Once again
    I would like for these images to be able to link to a url and to
    read the url in my XML document.

    Here's my quick suggestion:
    Add a <link> child element to your <pic> elements
    - each <link> would be a sibling of each <image>, like
    this:
    <pic>
    <image>filename.jpg</image>
    <link>
    http://www.example.com</link>
    </pic>
    Then, in your loadXML function, add this:
    link = []
    for(...){
    link
    = xmlNode.childNodes.childNode[2].firstChild.nodeValue
    Finally, in each function where you call picture.loadMovie(),
    add a line below it:
    picture.onRelease = function(){
    getURL(link
    Best,
    Brian Driscoll
    Owner
    Driscoll Web Development
    http://driscollwebdev.com

  • Help with a 6RD Basic config!

    Hi there,
    I am trying to start a basic setup to demonstrate 6RD and I am in trouble for a few hours. I just found an excellent pdf on this site and I tried to use it to start something using the same config but I did not have any success for the ulimated "ping" test !
    I am using a very simple and basci setup using a:      
            CE ------ IP Router --------BR
    This is my relevant config for the CE :
    interface Loopback0
    ip address 10.0.0.10 255.255.255.255
    interface Tunnel0
    no ip address
    no ip redirects
    ipv6 address 2001:DB80:A0A:100::/128
    ipv6 rip fred enable
    tunnel source Loopback0
    tunnel mode ipv6ip 6rd
    tunnel 6rd ipv4 prefix-len 16
    tunnel 6rd prefix 2001:DB80::/32
    tunnel 6rd br 10.0.0.1
    ipv6 route 2001:DB80::/32 Tunnel0
    And at the BR I got the following relevant info:
    interface Tunnel0
    no ip address
    no ip redirects
    tunnel source Loopback0
    tunnel mode ipv6ip 6rd
    tunnel 6rd ipv4 prefix-len 16
    tunnel 6rd prefix 2001:DB80::/32
    This is my version:
    P1R3#sh ver
    Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 15.1(3)T2, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2011 by Cisco Systems, Inc.
    Compiled Wed 10-Aug-11 03:46 by prod_rel_team
    More info about tunnels and intf:
    P1R3#sh tunn 6rd
    Interface Tunnel0:
      Tunnel Source: 10.0.0.10
      6RD: Operational, V6 Prefix: 2001:DB80::/32
           V4 Prefix, Length: 16, Value: 10.0.0.0
           V4 Suffix, Length: 0, Value: 0.0.0.0
           Border Relay address: 10.0.0.1
      General Prefix: 2001:DB80:A::/48
    P1R3#sh ipv6int tu0
                ^
    % Invalid input detected at '^' marker.
    P1R3#sh ipv6i nt tu0
                ^
    % Invalid input detected at '^' marker.
    P1R3#sh ipv6i nt tu0
    *Oct 30 22:06:13.266: Tunnel0 count tx, adding 20 encap bytes
    P1R3#sh ipv6 int tu0
    Tunnel0 is up, line protocol is up
      IPv6 is enabled, link-local address is FE80::A00:A
      No Virtual link-local address(es):
      Global unicast address(es):
        2001:DB80:A0A:100::, subnet is 2001:DB80:A0A:100::/128
      Joined group address(es):
        FF02::1
        FF02::2
        FF02::9
        FF02::1:FF00:0
        FF02::1:FF00:A
      MTU is 1480 bytes
      ICMP error messages limited to one every 100 milliseconds
      ICMP redirects are enabled
      ICMP unreachables are sent
      Post_Encap features: Tunnel 6RD
      ND DAD is not supported
      ND reachable time is 30000 milliseconds (using 30000)
      Hosts use stateless autoconfig for addresses.
    P1R3#
    1R3#
    *Oct 30 22:08:40.146: Tunnel0 count tx, adding 20 encap bytes
    P1R3#show ipv6 route
    IPv6 Routing Table - default - 5 entries
    Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
           B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
           I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
           D - EIGRP, EX - EIGRP external, ND - Neighbor Discovery
           O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
           ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
    C   2001:DB8:BAD:F00D::/64 [0/0]
         via FastEthernet0/0, directly connected
    L   2001:DB8:BAD:F00D::1/128 [0/0]
         via FastEthernet0/0, receive
    S   2001:DB80::/32 [1/0]
         via Tunnel0, directly connected
    LC  2001:DB80:A0A:100::/128 [0/0]
         via Tunnel0, receive
    L   FF00::/8 [0/0]
         via Null0, receive
    P1R3#
    *Oct 30 22:09:07.226: Tunnel0 count tx, adding 20 encap bytes
    P1R3#
    P1R2#show ipv6 route
    IPv6 Routing Table - default - 5 entries
    Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
           B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
           I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
           D - EIGRP, EX - EIGRP external, ND - Neighbor Discovery
           O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
           ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
    LC  2001:DB8:CAFE:1::1:2/128 [0/0]
         via Loopback0, receive
    C   2001:DB80:6400:FECA::/64 [0/0]
         via Loopback99, directly connected
    L   2001:DB80:6400:FECA:CACA::1/128 [0/0]
         via Loopback99, receive
    LC  2020:1:1:1::1/128 [0/0]
         via Loopback99, receive
    L   FF00::/8 [0/0]
         via Null0, receive
    P1R2#
    Sending on one side:
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 2020:1:1:1::1, timeout is 2 seconds:
    Packet sent with a source address of 2001:DB8:BAD:F00D::1
    *Oct 30 22:12:28.318: Tunnel0 count tx, adding 20 encap bytes
    *Oct 30 22:12:28.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
    *Oct 30 22:12:30.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
    *Oct 30 22:12:32.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
    *Oct 30 22:12:34.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
    *Oct 30 22:12:36.958: ICMPv6: Sent echo request, Src=2001:DB8:BAD:F00D::1, Dst=2020:1:1:1::1.
    Success rate is 0 percent (0/5)
    P1R3#
    Does not show up on the other side:
    Invalid input detected at '^' marker.
    P1R2#deb ipv6 icmp
      ICMP Packet debugging is on
    P1R2#
    Any idea of something missing or wrong ?
    Setups can be accessed remotely...
    TIA
    Fred

    thank you harold!
    actually I did this lab after a few nights and days with almost no sleep to prepare a nice new training I have developped from an existing CISCO training
    The first sessions are for you (cisco) ;-) and I wanted it to be perfect... 
    I was sure to have done some BIG mistakes that I would have discover after a good night sleep ;-)
    The first session is currently running this week.
    I am going to try again tonight so maybe I will show this to my students tomorrow
    http://www.fastlaneus.com/course/fl-ipv6spse

  • Help with Sample on Converting an XML string to a byte stream

    Hello All,<br /><br />I am sure this is something simple, but I am just not figuring it out right now.<br /><br />I am following the sample - "Converting an XML string to a byte stream" from the developer guide since I want to prepopulate just 1 field in my PDF form.<br /><br />How do I reference my form field within my servlet code properly??<br /><br />I have tried a few things now, my field is within a subform, so I thought it would be <root><subformName><fieldname>My data</fieldname></subformName></root>  I have also tried adding <page1> in there too.<br /><br />I am following everything else exactly as given in the sample code.<br /><br />I do have an embedded schema within the form and the field is bound.<br /><br />Thanks,<br />Jennifer

    Well, if you have a schema defined in the form, then the hierarchy of your data must match what is described in the schema. So, can't really tell you what it would look like, but just follow your schema.
    Chris
    Adobe Enterprise Developer Support

  • Need help with a form I created XML to ??

    Hi,
    I created a pdf form in LC ES 8.2 and when it gets filled out and e-mailed to me it comes in as an xml document.  Is there a way to have it come in as an excel document so I can collect the data and arrange in categories?  If not, can I get it to come a a pdf?
    I've attached it for you guys to see.
    thanks!

    Reader provides you a subset of the functions that you can do in Acrobat. That is why Reader is free and there is a charge for Acrobat. Reader Extensions allows you to extend the functionality of Reader to include specific functionality that it mormally does not have for that PDF only.
    There is a Distribute Form function that can be used to send your form around, allow your users to fill it out and send back the results to you. Those results canbe displayed in a grid structure. This is a function of Acrobat and can also be used from Designer (under the File menu). It leverages acrobat.com to accomplish this so you must be connected to the Net to make use of this.
    Give it a try to see if it does what you want.
    Paul

  • Need help with setting a variable using xml

    So I am trying to import in XML and this is working fine, But
    once in flash I need to reference this variable in a later script.
    Here is what I got.
    function loadXML(loaded) {
    if (loaded) {
    /////this is the variable, which is working, it pulls the
    info from the xml document properly.
    var node1 =
    this.firstChild.childNodes[0].childNodes[0].firstChild.nodeValue;
    ////another variable, etc...
    var node2 =
    this.firstChild.childNodes[0].childNodes[1].firstChild.nodeValue;
    /////when traced it outputs the proper value.
    trace(node1);
    ////////does not work here though.
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("co.xml");
    var latmin = 37;
    var latmax = 41;
    var lonmin = -109;
    var lonmax = -102;
    this.geoPlotter_gp.setRange(latmin, latmax, lonmin, lonmax);
    this.geoPlotter_gp.setNodeSymbol("geoPloterNodeSymbol");
    this.geoPlotter_gp.addNode(40.48, -107);
    ////////////////This is where I need to now use the variables
    defined above//////////////
    this.geoPlotter_gp.addNode(node1);// Boulder
    this.geoPlotter_gp.addNode(node2);// Denver
    /////any ideas all? I am sure this is something simple...I am
    just overlooking something.

    var node1 is a local variable to the loadXML function and not
    visible
    outside the function.
    Place var node1 on the timeline say in Frame 1 and it will be
    visible to all
    functions on the timeline.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "GDrider" <[email protected]> wrote in
    message
    news:e2p0r5$33i$[email protected]..
    So I am trying to import in XML and this is working fine, But
    once in flash
    I
    need to reference this variable in a later script. Here is
    what I got.
    function loadXML(loaded) {
    if (loaded) {
    /////this is the variable, which is working, it pulls the
    info from the xml
    document properly.
    var node1 =
    this.firstChild.childNodes.childNodes.firstChild.nodeValue;
    ////another variable, etc...
    var node2 =
    this.firstChild.childNodes.childNodes.firstChild.nodeValue;
    /////when traced it outputs the proper value.
    trace(node1);
    ////////does not work here though.
    xmlData = new XML();
    xmlData.ignoreWhite = true;
    xmlData.onLoad = loadXML;
    xmlData.load("co.xml");
    var latmin = 37;
    var latmax = 41;
    var lonmin = -109;
    var lonmax = -102;
    this.geoPlotter_gp.setRange(latmin, latmax, lonmin, lonmax);
    this.geoPlotter_gp.setNodeSymbol("geoPloterNodeSymbol");
    this.geoPlotter_gp.addNode(40.48, -107);
    ////////////////This is where I need to now use the
    variables defined
    above//////////////
    this.geoPlotter_gp.addNode(node1);// Boulder
    this.geoPlotter_gp.addNode(node2);// Denver
    /////any ideas all? I am sure this is something simple...I
    am just
    overlooking
    something.

  • Need help with iTunes and audio config

    i get an error message and can't open up the program.
    iTunes cannot open because it has detected a problem with your audio configuration.
    So what do i do??

    Try the instructions in this article.
    (23165)

  • Problem w.r.t. JSF 2.0 with faces-config.xml

    Hi All,
    I am trying to evaluate the features of JSF2.0.
    For that, I have created a very simple application with "JSF 2.0.2".
    There is a page that displays a composite component and some other form related components (inputtext, commandbutton).
    When I deploy my application without any faces-config.xml file, everything renders perfectly fine.
    When I deploy the app with faces-config.xml (even an empty one without any configuration), none of the components get rendered.
    Only the html elements get displayed.
    I need to define some navigation-rules in my config file. I am not sure how to go further from here.
    The app server I am using for deploying my app is GlassFish(v3).
    Any help or pointers towards solving my problem are highly appreciated.
    You can find the xhtml file, etc of my project below.
    Thank you,
    With best regards,
    Praveen
    web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
         <context-param>
              <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
              <param-value>.xhtml</param-value>
         </context-param>
         <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.jsf</url-pattern>
         </servlet-mapping>
    </web-app>
    faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
    <faces-config xmlns="http://java.sun.com/JSF/Configuration">
    </faces-config>
    resources->acicomp->namesection.xhtml
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:composite="http://java.sun.com/jsf/composite">
    <composite:interface>
    </composite:interface>
    <composite:implementation>
         <h:panelGroup>
         <h:panelGrid columns="2">
              <h:outputText value="Name: "/>
              <h:inputText value="myName"/>
              <h:outputText value="Company: "/>
              <h:inputText value="myComp"/>
         </h:panelGrid>
         </h:panelGroup>
    </composite:implementation>
    </html>
    index.xhtml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:aci="http://java.sun.com/jsf/composite/acicomp">
    <h:head>
         <title>JSF Test Program</title>
    </h:head>
    <h:body>
         <p>My Simple Test Program</p>
            <h:form id="testForm" >
                <p>TEST</p>
                <aci:namesection></aci:namesection>
                <h:inputText id="username" value="John" />
                <h:commandButton id="submit" action="response" value="Submit"/>
            </h:form>
    </h:body>
    </html>

    I found the problem.
    The dtd location of the faces-config.xml had to be changed. It was pointing to the schema of 1.1.
    With the following faces-config.xml, my application worked perfectly fine.
    <?xml version="1.0"?>
    <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
                  version="2.0">             
    </faces-config>

  • Problem with the config.xml

    Dear all,
    After doing a wscompile on the config.xml file (JWSDP1.6), I am able to generate the wsdl for the interface defined.
    But now the config.xml shows an error
    "Cannot find the declaration of element 'configuration' "
    for the attribute xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config"
    Any idea what is the problem as "http://java.sun.com/xml/ns/jax-rpc/ri/config" is no longer available on the sun site.
    Any alternate references to be made to this xml namespace declaration.
    Rgds,
    Seetesh

    My point above is that Project 2007 was extremely buggy and unless files are saved using Project 2007 SP3 first you are likely to experience problems with the files when opening in project 2010. Project 2007 to 2010 with no service packs is problematic.
    With SPs applied you should have far fewer problems.
    Doesn't look like a exe with SP2 is available yet so you need to add the service pack separately, probably in the updates folder.
    If all Project 2007 installs are already at SP3 then no need for this.
    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

  • Need help with Berkeley XML DB Performance

    We need help with maximizing performance of our use of Berkeley XML DB. I am filling most of the 29 part question as listed by Oracle's BDB team.
    Berkeley DB XML Performance Questionnaire
    1. Describe the Performance area that you are measuring? What is the
    current performance? What are your performance goals you hope to
    achieve?
    We are measuring the performance while loading a document during
    web application startup. It is currently taking 10-12 seconds when
    only one user is on the system. We are trying to do some testing to
    get the load time when several users are on the system.
    We would like the load time to be 5 seconds or less.
    2. What Berkeley DB XML Version? Any optional configuration flags
    specified? Are you running with any special patches? Please specify?
    dbxml 2.4.13. No special patches.
    3. What Berkeley DB Version? Any optional configuration flags
    specified? Are you running with any special patches? Please Specify.
    bdb 4.6.21. No special patches.
    4. Processor name, speed and chipset?
    Intel Xeon CPU 5150 2.66GHz
    5. Operating System and Version?
    Red Hat Enterprise Linux Relase 4 Update 6
    6. Disk Drive Type and speed?
    Don't have that information
    7. File System Type? (such as EXT2, NTFS, Reiser)
    EXT3
    8. Physical Memory Available?
    4GB
    9. Are you using Replication (HA) with Berkeley DB XML? If so, please
    describe the network you are using, and the number of Replica’s.
    No
    10. Are you using a Remote Filesystem (NFS) ? If so, for which
    Berkeley DB XML/DB files?
    No
    11. What type of mutexes do you have configured? Did you specify
    –with-mutex=? Specify what you find inn your config.log, search
    for db_cv_mutex?
    None. Did not specify -with-mutex during bdb compilation
    12. Which API are you using (C++, Java, Perl, PHP, Python, other) ?
    Which compiler and version?
    Java 1.5
    13. If you are using an Application Server or Web Server, please
    provide the name and version?
    Oracle Appication Server 10.1.3.4.0
    14. Please provide your exact Environment Configuration Flags (include
    anything specified in you DB_CONFIG file)
    Default.
    15. Please provide your Container Configuration Flags?
    final EnvironmentConfig envConf = new EnvironmentConfig();
    envConf.setAllowCreate(true); // If the environment does not
    // exist, create it.
    envConf.setInitializeCache(true); // Turn on the shared memory
    // region.
    envConf.setInitializeLocking(true); // Turn on the locking subsystem.
    envConf.setInitializeLogging(true); // Turn on the logging subsystem.
    envConf.setTransactional(true); // Turn on the transactional
    // subsystem.
    envConf.setLockDetectMode(LockDetectMode.MINWRITE);
    envConf.setThreaded(true);
    envConf.setErrorStream(System.err);
    envConf.setCacheSize(1024*1024*64);
    envConf.setMaxLockers(2000);
    envConf.setMaxLocks(2000);
    envConf.setMaxLockObjects(2000);
    envConf.setTxnMaxActive(200);
    envConf.setTxnWriteNoSync(true);
    envConf.setMaxMutexes(40000);
    16. How many XML Containers do you have? For each one please specify:
    One.
    1. The Container Configuration Flags
              XmlContainerConfig xmlContainerConfig = new XmlContainerConfig();
              xmlContainerConfig.setTransactional(true);
    xmlContainerConfig.setIndexNodes(true);
    xmlContainerConfig.setReadUncommitted(true);
    2. How many documents?
    Everytime the user logs in, the current xml document is loaded from
    a oracle database table and put it in the Berkeley XML DB.
    The documents get deleted from XML DB when the Oracle application
    server container is stopped.
    The number of documents should start with zero initially and it
    will grow with every login.
    3. What type (node or wholedoc)?
    Node
    4. Please indicate the minimum, maximum and average size of
    documents?
    The minimum is about 2MB and the maximum could 20MB. The average
    mostly about 5MB.
    5. Are you using document data? If so please describe how?
    We are using document data only to save changes made
    to the application data in a web application. The final save goes
    to the relational database. Berkeley XML DB is just used to store
    temporary data since going to the relational database for each change
    will cause severe performance issues.
    17. Please describe the shape of one of your typical documents? Please
    do this by sending us a skeleton XML document.
    Due to the sensitive nature of the data, I can provide XML schema instead.
    18. What is the rate of document insertion/update required or
    expected? Are you doing partial node updates (via XmlModify) or
    replacing the document?
    The document is inserted during user login. Any change made to the application
    data grid or other data components gets saved in Berkeley DB. We also have
    an automatic save every two minutes. The final save from the application
    gets saved in a relational database.
    19. What is the query rate required/expected?
    Users will not be entering data rapidly. There will be lot of think time
    before the users enter/modify data in the web application. This is a pilot
    project but when we go live with this application, we will expect 25 users
    at the same time.
    20. XQuery -- supply some sample queries
    1. Please provide the Query Plan
    2. Are you using DBXML_INDEX_NODES?
    Yes.
    3. Display the indices you have defined for the specific query.
         XmlIndexSpecification spec = container.getIndexSpecification();
         // ids
         spec.addIndex("", "id", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         spec.addIndex("", "idref", XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         // index to cover AttributeValue/Description
         spec.addIndex("", "Description", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_SUBSTRING, XmlValue.STRING);
         // cover AttributeValue/@value
         spec.addIndex("", "value", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         // item attribute values
         spec.addIndex("", "type", XmlIndexSpecification.PATH_EDGE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         // default index
         spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ELEMENT | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         spec.addDefaultIndex(XmlIndexSpecification.PATH_NODE | XmlIndexSpecification.NODE_ATTRIBUTE | XmlIndexSpecification.KEY_EQUALITY, XmlValue.STRING);
         // save the spec to the container
         XmlUpdateContext uc = xmlManager.createUpdateContext();
         container.setIndexSpecification(spec, uc);
    4. If this is a large query, please consider sending a smaller
    query (and query plan) that demonstrates the problem.
    21. Are you running with Transactions? If so please provide any
    transactions flags you specify with any API calls.
    Yes. READ_UNCOMMITED in some and READ_COMMITTED in other transactions.
    22. If your application is transactional, are your log files stored on
    the same disk as your containers/databases?
    Yes.
    23. Do you use AUTO_COMMIT?
         No.
    24. Please list any non-transactional operations performed?
    No.
    25. How many threads of control are running? How many threads in read
    only mode? How many threads are updating?
    We use Berkeley XML DB within the context of a struts web application.
    Each user logged into the web application will be running a bdb transactoin
    within the context of a struts action thread.
    26. Please include a paragraph describing the performance measurements
    you have made. Please specifically list any Berkeley DB operations
    where the performance is currently insufficient.
    We are clocking 10-12 seconds of loading a document from dbd when
    five users are on the system.
    getContainer().getDocument(documentName);
    27. What performance level do you hope to achieve?
    We would like to get less than 5 seconds when 25 users are on the system.
    28. Please send us the output of the following db_stat utility commands
    after your application has been running under "normal" load for some
    period of time:
    % db_stat -h database environment -c
    % db_stat -h database environment -l
    % db_stat -h database environment -m
    % db_stat -h database environment -r
    % db_stat -h database environment -t
    (These commands require the db_stat utility access a shared database
    environment. If your application has a private environment, please
    remove the DB_PRIVATE flag used when the environment is created, so
    you can obtain these measurements. If removing the DB_PRIVATE flag
    is not possible, let us know and we can discuss alternatives with
    you.)
    If your application has periods of "good" and "bad" performance,
    please run the above list of commands several times, during both
    good and bad periods, and additionally specify the -Z flags (so
    the output of each command isn't cumulative).
    When possible, please run basic system performance reporting tools
    during the time you are measuring the application's performance.
    For example, on UNIX systems, the vmstat and iostat utilities are
    good choices.
    Will give this information soon.
    29. Are there any other significant applications running on this
    system? Are you using Berkeley DB outside of Berkeley DB XML?
    Please describe the application?
    No to the first two questions.
    The web application is an online review of test questions. The users
    login and then review the items one by one. The relational database
    holds the data in xml. During application load, the application
    retrieves the xml and then saves it to bdb. While the user
    is making changes to the data in the application, it writes those
    changes to bdb. Finally when the user hits the SAVE button, the data
    gets saved to the relational database. We also have an automatic save
    every two minues, which saves bdb xml data and saves it to relational
    database.
    Thanks,
    Madhav
    [email protected]

    Could it be that you simply do not have set up indexes to support your query? If so, you could do some basic testing using the dbxml shell:
    milu@colinux:~/xpg > dbxml -h ~/dbenv
    Joined existing environment
    dbxml> setverbose 7 2
    dbxml> open tv.dbxml
    dbxml> listIndexes
    dbxml> query     { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }
    dbxml> queryplan { collection()[//@date-tip]/*[@chID = ('ard','zdf')] (: example :) }Verbosity will make the engine display some (rather cryptic) information on index usage. I can't remember where the output is explained; my feeling is that "V(...)" means the index is being used (which is good), but that observation may not be accurate. Note that some details in the setVerbose command could differ, as I'm using 2.4.16 while you're using 2.4.13.
    Also, take a look at the query plan. You can post it here and some people will be able to diagnose it.
    Michael Ludwig

  • ADF:How to use NavigationHandler in Phase-Listener with adfc-config.xml

    Hi,
    in our application a user should be navigated to the login-page, when he tries to navigate directly to a page where he has no right for or if the session is expired.
    Our navigation is complete in the adfc-config.xml. So I created a phase-listener, which is called by the adf-settings.xml.
    Inside the phase-listener I'm checking the rights. If the user doesn't have the needed rights, he should be linked to the login page. But how can I do that?
    Some days ago our navigation has been complete in the faces-config.xml. But now we moved the navigation to the adfc-config.xml, because we are sure that it's better. E.g. for using the dialog framework.
    In the face-config.xml we had also the call of the phase-listener. There we did the forwarding like this and it worked:
    FacesContext facesContext = FacesContext.getCurrentInstance();
    facesContext.getApplication().getNavigationHandler().handleNavigation(facesContext, null, "login_page");But now I think I have to use the ADFContext somehow, or?
    So how can I do that with the adfc-config.xml?
    Thanks a lot for your help,
    Bastian
    I'm using JDeveloper 11g Release 1 (11.1.1.3.0)

    Hello Frank,
    thanks for your answer, but it doesn't really help me, because I'm a newbie, sorry.
    Does your answer mean, that I should leave the call of the phase-listener in the faces-config and then I would also have access to the login-page, which is in the adfc-config?
    Or does it mean, that I call now my phase-listener by adf-settings but don't have to change the phase-listener itself and can still use my code (FacesContext...)? But that's not working. I get no error but he is also not redirecting.
    Maybe my problem starts on an earlier point.
    Is it better to create all pages in the adfc-config or faces-config? (Maybe you have a good reference for reading about such a basic discussion)
    I thought adfc-config would be the better one. But there I'm not able to redirect to another page (login) if somebody calls a special page without rights for example.
    So my second basic question would be about the relation of adfc-config, faces-config and ADFContext and FacesContext.
    Because I think it's not a short answer I hope you could give me also for this a reference so that I can read these basics myself.
    Thanks a lot for helping a newbie becoming better :-)
    Bastian

Maybe you are looking for