Installing XML::Simple - CPAN

I need some help, I've been trying to install the CPAN module XML::Simple on OS X Lion 10.7.3 so far with no good results.
I installed this on my linux mint machine in no time but for some reason the simple task had turned onto a project on the Mac.
I found an old posting for setting up the CPAN modules on Mac but I haven't been able to applied to my environment.
-------   this is the old post ---------------
Two of my friends today asked me to help them get XML::Simple working on their Mac's. Somthing that should be a simple cpan one-liner "install XML::Simple" doesnt work on OSX. It took me a half hour to figure all this out... here are the steps:
Prerequisites:
- X11 1.1.3 package from the OSX install disk (or Apple download site)
- Perl 5.8.x w/cpan (default on OSX)
- a terminal
- A reasonable working knowledge of Perl and Unix
Step 1:
Open terminal, type 'cpan' to enter the cpan installer.
cpan> install XML::Simple
It will ask you three times if you want to follow the prerequired modules. Hit enter every time. Eventually you will get a dozen test failures. These are in XML::Parser, a required module.
Step 2:
cpan> exit
$ cd ~/.cpan/build/XML-Parser-2.34 **Note the version may change
$ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11R6/include
$ make test
$ make install
Step 3:
Back to cpan...
$ cpan
cpan> install XML::Parser
Already Installed
cpan> install XML::Parser::Expat
Already Installed
cpan> install XML::SAX::Expat
Installs with some silly warning about ParserDetails.ini. Lets fix that.
cpan> exit
Step 4:
Here is the command/code to add Expat to the ParserDetails.ini file. If we don't, we can't proceed past this point.
$ sudo perl -MXML::SAX -e "XML::SAX->addparser(q(XML::SAX::Expat))->saveparsers()"
Step 5:
Back to cpan to finish the install
$ cpan
cpan> install XML::Simple
Hit enter if it asks you anyting. The whole thing should work.
cpan> exit
Step 6:
Verify XML::Simple existance with:
$ perl -MXML::Simple -e '1;'
If you don't get an error, you're all done!
-------- end of old post ---------------------
This is where I have gotten so far:
to get in CPAN I use sudo cpan <enter>
cpan[6]> cpan[6]> install XML::Simple
Going to read '/Users/josephhandschu/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Going to read '/Users/josephhandschu/.cpan/sources/modules/02packages.details.txt.gz'
  Database was generated on Mon, 13 Feb 2012 00:12:32 GMT
  New CPAN.pm version (v1.9800) available.
  [Currently running version is v1.9456]
  You might want to try
    install CPAN
    reload cpan
  to both upgrade CPAN.pm and run the new version without leaving
  the current session.
..............................................................DONE
Going to read '/Users/josephhandschu/.cpan/sources/modules/03modlist.data.gz'
............................................................................DONE
Going to write /Users/josephhandschu/.cpan/Metadata
XML::Simple is up to date (2.18).
Then I get out of CPAN
cpan[11]> exit
Terminal does not support GetHistory.
Lockfile removed.
Josephs-MacBook-Air-2:/ josephhandschu$ cd ~/.cpan/build/XML-Parser*
Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$ perl^C
Try to run the Makefile.PL
Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11/include
Couldn't find your C compiler
Compilation failed in require at Makefile.PL line 5.
BEGIN failed--compilation aborted at Makefile.PL line 5.
Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$
or with a shorter version taking the default parameters
Josephs-MacBook-Air-2:XML-Parser-2.41-2ew4TC josephhandschu$ perl Makefile.PL
Couldn't find your C compiler
Compilation failed in require at Makefile.PL line 5.
BEGIN failed--compilation aborted at Makefile.PL line 5.
But this complains about not finding the C compiler
Any ideas?
Suggestions are greatly appreciated, I've hitted a wall....
Joseph.

(I'm using the bash shell below. If you use csh, some of these commands won't work.)
It sounds like the compiler is not in your PATH. Test this by:
$ which cc
My guess is that nothing will be returned by that command.
You've already installed XCode, so it should be on your system. If your locate(1) database is up to date, the fastest way to find the compiler is this:
$ locate cc | grep /cc$
On my machine (OS X 10.7), the compiler is /Developer/usr/bin/cc so I added /Developer/usr/bin to my PATH:
$ export PATH="$PATH:/Developer/usr/bin"
And obviously add that to your ~.bashrc file.

Similar Messages

  • Installing XML::Simple Perl module on 10.4.8

    Two of my friends today asked me to help them get XML::Simple working on their Mac's. Somthing that should be a simple cpan one-liner "install XML::Simple" doesnt work on OSX. It took me a half hour to figure all this out... here are the steps:
    Prerequisites:
    - X11 1.1.3 package from the OSX install disk (or Apple download site)
    - Perl 5.8.x w/cpan (default on OSX)
    - a terminal
    - A reasonable working knowledge of Perl and Unix
    Step 1:
    Open terminal, type 'cpan' to enter the cpan installer.
    cpan> install XML::Simple
    It will ask you three times if you want to follow the prerequired modules. Hit enter every time. Eventually you will get a dozen test failures. These are in XML::Parser, a required module.
    Step 2:
    cpan> exit
    $ cd ~/.cpan/build/XML-Parser-2.34 **Note the version may change
    $ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11R6/include
    $ make test
    $ make install
    Step 3:
    Back to cpan...
    $ cpan
    cpan> install XML::Parser
    Already Installed
    cpan> install XML::Parser::Expat
    Already Installed
    cpan> install XML::SAX::Expat
    Installs with some silly warning about ParserDetails.ini. Lets fix that.
    cpan> exit
    Step 4:
    Here is the command/code to add Expat to the ParserDetails.ini file. If we don't, we can't proceed past this point.
    $ sudo perl -MXML::SAX -e "XML::SAX->addparser(q(XML::SAX::Expat))->saveparsers()"
    Step 5:
    Back to cpan to finish the install
    $ cpan
    cpan> install XML::Simple
    Hit enter if it asks you anyting. The whole thing should work.
    cpan> exit
    Step 6:
    Verify XML::Simple existance with:
    $ perl -MXML::Simple -e '1;'
    If you don't get an error, you're all done!
    Enjoy.
    Macbook Pro 15" C2D   Mac OS X (10.4.8)  

    Two of my friends today asked me to help them get XML::Simple working on their Mac's. Somthing that should be a simple cpan one-liner "install XML::Simple" doesnt work on OSX. It took me a half hour to figure all this out... here are the steps:
    Prerequisites:
    - X11 1.1.3 package from the OSX install disk (or Apple download site)
    - Perl 5.8.x w/cpan (default on OSX)
    - a terminal
    - A reasonable working knowledge of Perl and Unix
    Step 1:
    Open terminal, type 'cpan' to enter the cpan installer.
    cpan> install XML::Simple
    It will ask you three times if you want to follow the prerequired modules. Hit enter every time. Eventually you will get a dozen test failures. These are in XML::Parser, a required module.
    Step 2:
    cpan> exit
    $ cd ~/.cpan/build/XML-Parser-2.34 **Note the version may change
    $ perl Makefile.PL EXPATLIBPATH=/usr/X11R6/lib EXPATINCPATH=/usr/X11R6/include
    $ make test
    $ make install
    Step 3:
    Back to cpan...
    $ cpan
    cpan> install XML::Parser
    Already Installed
    cpan> install XML::Parser::Expat
    Already Installed
    cpan> install XML::SAX::Expat
    Installs with some silly warning about ParserDetails.ini. Lets fix that.
    cpan> exit
    Step 4:
    Here is the command/code to add Expat to the ParserDetails.ini file. If we don't, we can't proceed past this point.
    $ sudo perl -MXML::SAX -e "XML::SAX->addparser(q(XML::SAX::Expat))->saveparsers()"
    Step 5:
    Back to cpan to finish the install
    $ cpan
    cpan> install XML::Simple
    Hit enter if it asks you anyting. The whole thing should work.
    cpan> exit
    Step 6:
    Verify XML::Simple existance with:
    $ perl -MXML::Simple -e '1;'
    If you don't get an error, you're all done!
    Enjoy.
    Macbook Pro 15" C2D   Mac OS X (10.4.8)  

  • Error Installing XML Publisher 5.6.3

    Hi
    I am getting an error when installing XML Publisher Desktop 5.6.3. I have installed the Microsoft .NET Framework 2 and JRE 1.5, but after the setup program starts get an error, Unhandled Exception , Error Number 0x800706AA, Description Products, Setup will now terminate.
    Checked on forum but couldn't see anything similar.
    Anybody have any ideas?

    You can use J2SE 1.5.0 if you follow the migration steps from the following note:
    Using J2SE Version 5.0 with Oracle E-Business Suite 11i
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=304099.1
    Apply 4372996 J2SE 5.0 CONSOLIDATED PATCH FOR USE WITH ORACLE EBS 11I
    txkrun.pl -script=SetJDKCfg -contextfile=$CONTEXT_FILE -runautoconfig=Yes -appspass=apps_password -jdktop=/usr/jdk1.5.0_11
    You will want to migrate to 1.4.2 first in order to upgrade to adkeystore.dat for jinitiator certificates to avoid the following error:
    Upgrading To J2SE 5.0 Gives adkeystore.dat No Such File Error
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=406675.1
    Using J2SE Version 1.4 with Oracle E-Business Suite 11i, Release 11.5.9 or Higher
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=246105.1
    Follow the instructions to migrate the AD utilities off 1.1.8:
    /usr/j2se = 1.4.2
    cd $AD_TOP/bin
    perl $AD_TOPbin/adjavamig.pl java=/usr/j2se contextfile=$CONTEXT_FILE
    Then regen JAR files will take 5 minutes instead of 60 on 1.1.8 adjava.

  • How can I install XML publisher on my Desktop - Urgent

    I need instructions on following.
    1.where do I get XML publisher download?
    2.How do I install XML publisher on my Desktop?
    Please help me
    Thanks in advance

    I just got it via:
    http://edelivery.oracle.com/EPD/Download/get_form
    Edelivery from Oracle:
    Search for Oracle Application Server Products: 216 Mb Partnumber B23145-01
    Guido

  • Installing xml parser jar files in oracle 8i

    hi list
    please i need help on how to install xml parser jar files manually into the database
    we have 8i running on windowsNT box
    i have checked my database these classes are not there .
    thanks

    You'll need to use the LOADJAVA program. Check out the Oracle XML Portal website. It has information on how to do this.
    www.webspedite.com/oracle

  • Can I install XML parser for Java in Windows 98?

    Could someone tell me how to install XML parser for Java in my PC Windows98 (I already installed JDK1.3)? Or it can not be installed in Windows98?
    Thanks in advance!

    There's no reason why it shouldn't work on any platform for which JDK1.3 is available. If you're using the batch files shipped with XDK to run the parser, you might need to change the syntax slightly; in any event the key command is just
    java -cp c:\xdk\lib\xmlparserv2.jar oracle.xml.parser.v2.oraxml %xdkparm%Brian

  • Solution Manager DB was installed in 'Simple mode'

    We are just a couple months into our first SAP installation.  I just received this message from my hardware/server guy:
    "Please be aware that the Solution Manager DB was installed in “Simple mode.”  This means that we don’t have transaction logs, and will only be able to recover back to the most recent back-up."
    How critical is this for solution manager?

    Hi people!!
    i found the solution, if some one have this problem, can check the sapnote 1951729.
    if you don't see any changes, try creating the connection through  trx. dbacockpit and then  assing  the DB conection created previously  (dbco trx-sapnote). Next step check it on solman setup (enter system parameter step).
    Best regards.
    Iván.

  • JWSDP1.3 - 'pre-installed' XML deployment files

    In the current JWSDP-1.3 Tutorial, there is the following text on p. 810 (chapter on JSF):
    "Running the Examples Using the Pre-Installed XML Files
    The Java WSDP 1.3 includes an XML file for each example application in the <JWSDP_HOME>/webapps directory. This file causes an application to be automatically deployed when you start Tomcat...."
    However, in the JWSDP-1.3 (installable download), those files are not there (I have downloaded and installed it twice).
    I assume this is an error. Where are these files in the v 1.3 release? How are they used? There appears to be inconsitencies between the 1.2 and 1.3 directory/file locations as indicated in the Tutorial documentation.
    Thanks

    You are right. The location of the context files changed in
    1.3. They are now located in <jwsdp_home>/conf/Catalina/locahost.
    Tom

  • Installing XML Parser for Java v2

    I downloaded Oracle XML Parser for Java v2 and looked in the doc directory of the unzipped files but couldn't find any doc about installation. Can anyone point me in the right the direction or tell me how to install and use it to convert XML files stored in the files system to HTML output using XSL stylesheet. Thanks

    There is no installation involved beyond including the xmlparserv2.jar in your CLASSPATH. Take a look in the sample directory where we have included sample code and instructions on their use.
    Addiaitonal HTML conversion samples are included with the XSQL Servlet download.
    Oracle XML Team
    null

  • Help with ABAP Structure to XML - Simple Transformation

    Hi guys,
    I need help with a Simple Transformation. I am trying to convert a structure in ABAP to XML String but i ma getting short dumps...
    Can any of you help.
    Thanks in advance.
    *& Report  ZTESTXML
    REPORT  ZTESTXML.
    class demo DEFINITION.
       PUBLIC SECTION.
       CLASS-METHODS main.
       ENDCLASS.
       CLASS demo IMPLEMENTATION.
         method main.
           data : begin of account,
                    partner type bu_partner,
                    primary(1),
                    update(3),
                    email(50),
                    memberid(4),
                    telephone(12),
                    fax(10),
                    dept(20),
                    end of account.
            data : xmlstr type xstring.
                    account-partner = '12345'.
                    account-primary = 'N'.
                    account-update = 'Yes'.
                    account-email = 'zz at hotmail.com'.
                    account-memberid = '555'.
                    account-telephone = '123-448-6710'.
                    account-fax = '345-123-7899'.
                    account-dept = 'Info Systems'.
                    call TRANSFORMATION ztest_inttable
                                        SOURCE account = 'account'
                                        result XML xmlstr.
           call FUNCTION 'DISPLAY_XML_STRING'
               EXPORTING xml_string = xmlstr.
           ENDMETHOD.
           ENDCLASS.
           start-of-SELECTION.
             demo=>main( ).
    Transformation
    <?sap.transform simple?>
    <tt:transform xmlns:tt="http://www.sap.com/transformation-templates">
      <tt:root name="account"/>
      <tt:template>
        <IGT_CRM_AccountInfo>
          <Account>
            <tt:ref name=".account">
              <tt:attribute name="Id" value-ref="PARTNER"/>
              <tt:attribute name="Primary" value-ref="primary"/>
              <tt:attribute name="Update" value-ref="update"/>
              <Contact>
                <tt:attribute name="EMail" value-ref="email"/>
                <tt:attribute name="Member Id" value-ref="memberid"/>
              </Contact>
              <Communications>
                <tt:attribute name="Telephone" value-ref="telephone"/>
                <tt:attribute name="Fax" value-ref="fax"/>
              </Communications>
              <IGT>
                <tt:attribute name="Department" value-ref="dept"/>
              </IGT>
            </tt:ref>
          </Account>
        </IGT_CRM_AccountInfo>
      </tt:template>
    </tt:transform>
    Dump message
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_ST_REF_ACCESS', was not caught in
    procedure "MAIN" "(METHOD)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    The goal was to access variable "PARTNER". However, this access was not
    possible.

    to convert abap itab or variable into xml string use ABAP key word call transformation.
    call transformation (`ID`)
                source output = itab[]
                result xml xml_out.
    where itab is your internal table or any abap variable.
    xml_out is type string which will hold the resulting xml.
    ID is the transformation program. if you wanto use your own transformation, use your XSLT or ST program there.
    Raja

  • Errors installing XML Parser for PL/SQL

    I tried to install the parser and get the following errors :
    D:\xml\lib\java>loadjava -user user/pwd -r -v xmlparserv2.jar
    initialization complete
    loading : oracle/xml/parser/v2/XSLResultElement
    creating : oracle/xml/parser/v2/XSLResultElement
    Error while retrieving errors for oracle/xml/parser/v2/XSLResultElement
    ORA-00904: invalid column name
    loading : oracle/xml/parser/v2/XSLCopy
    creating : oracle/xml/parser/v2/XSLCopy
    Error while retrieving errors for oracle/xml/parser/v2/XSLCopy
    ORA-00904: invalid column name
    loading : oracle/xml/parser/v2/XMLByteReader
    creating : oracle/xml/parser/v2/XMLByteReader
    Error while retrieving errors for oracle/xml/parser/v2/XMLByteReader
    ORA-00904: invalid column name
    We have Oracle 8.1.5.0.0 running with JRE 1.1.8 installed.
    I updated loadjava.bat to call JRE 1.1.8 instead of JRE 1.1.7.
    Can't afford an upgrade to 8.1.6
    Any help appreciated

    Geoff Hicks (guest) wrote:
    : Problems being experienced trying to install the XML parser for
    : PL/SQL (zip file plxmlparser_v1_0_0_1_tar.gz).
    : We are on Oracle8i (8.1.5.0.0) (with JServer).
    : On installing the Oracle XML parser for PL/SQL the following
    : errors appear having run the loadjava command line tool for
    : xmlparser.jar:-
    : loading : META-INF/MANIFEST.MF
    : creating : META-INF/MANIFEST.MF
    : Error while creating resource META-INF/MANIFEST.MF
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : loading : xmlparser_1.0.1.4_production
    : creating : xmlparser_1.0.1.4_production
    : Error while creating resource xmlparser_1.0.1.4_production
    : ORA-29547: Java system class not available:
    : oracle/aurora/rdbms/Compiler
    : Lots of the following resolver errors are returned:-
    : resolver :
    : Error while resolving class org/w3c/dom/html/HTMLDivElement
    : ORA-00904: invalid column name
    It looks like you have not initialized JServer in your 8.1.5
    database. This needs to be done first.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Installing XML Parser for PL/SQL

    Hi,
    I have downloaded the plxmlparser_V1_0_1.tar.gz and followed the instruction to install it. The README file said to use the loadjava to upload xmlparserv2.jar and plsql.jar in order.
    When I tried to load xmlparserv2.jar using the following command
    loadjava -user test/test -r -v xmlparserv2.jar
    to upload the jar file into an 8i database.
    After much of the uploading, I got the following error messages:
    identical: oracle/xml/parser/v2/XMLConstants is unchanged from previously loaded file
    identical: org/xml/sax/Locator is unchanged from previously loaded file
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    Error while creating resource META-INF/MANIFEST.MF
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
    loading : oracle/xml/parser/v2/mesg/XMLErrorMesg_en_US.properties
    creating : oracle/xml/parser/v2/mesg/XMLErrorMesg_en_US.properties
    Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg_en_US.properties
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
    loading : xmlparser_2.0.2.1_production
    creating : xmlparser_2.0.2.1_production
    Error while creating resource xmlparser_2.0.2.1_production
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
    loading : oracle/xml/parser/v2/mesg/XMLErrorMesg.properties
    creating : oracle/xml/parser/v2/mesg/XMLErrorMesg.properties
    Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg.properties
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
    resolver :
    Error while resolving class org/w3c/dom/DOMImplementation
    ORA-00904: invalid column name
    Error while resolving class org/w3c/dom/html/HTMLDivElement
    ORA-00904: invalid column name
    Error while resolving class org/w3c/dom/html/HTMLMapElement
    ORA-00904: invalid column name
    Error while resolving class org/xml/sax/Locator
    ORA-00904: invalid column name
    loadjava: 229 errors
    Then I removed -r from the previous command:
    loadjava -user test/test -v xmlparserv2.jar
    I still got errors but it's down to four.
    identical: org/xml/sax/Locator is unchanged from previously loaded file
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    Error while creating resource META-INF/MANIFEST.MF
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
    loading : oracle/xml/parser/v2/mesg/XMLErrorMesg_en_US.properties
    creating : oracle/xml/parser/v2/mesg/XMLErrorMesg_en_US.properties
    Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg_en_US.properties
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
    loading : xmlparser_2.0.2.1_production
    creating : xmlparser_2.0.2.1_production
    Error while creating resource xmlparser_2.0.2.1_production
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
    loading : oracle/xml/parser/v2/mesg/XMLErrorMesg.properties
    creating : oracle/xml/parser/v2/mesg/XMLErrorMesg.properties
    Error while creating resource oracle/xml/parser/v2/mesg/XMLErrorMesg.properties
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
    loadjava: 4 errors
    Then I tried to load the plsql.jar but I got the following errors:
    loading : META-INF/MANIFEST.MF
    creating : META-INF/MANIFEST.MF
    Error while creating resource META-INF/MANIFEST.MF
    ORA-29547: Java system class not available: oracle/aurora/rdbms/Compiler
    resolver :
    Error while resolving class oracle/xml/parser/plsql/XMLDOMImplCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLDocumentCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XSLStylesheetCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLNodeListCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLEntityCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLNodeCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLPICover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLAttrCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLCharDataCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLTextCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLElementCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLNotationCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLDTDCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLNNMCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XMLParserCover
    ORA-00904: invalid column name
    Error while resolving class oracle/xml/parser/plsql/XSLProcessorCover
    ORA-00904: invalid column name
    loadjava: 17 errors
    Could someone tell me how to resolve the problems? I think I have install the JServer on the database, correctly.
    null

    The JServer option is not properly installed if you're getting errors like this during loadjava.
    You need to run INITJVM.SQL and INITDBJ.SQL to get the JavaVM properly installed.
    Usually these are in the ./javavm subdirectory of your Oracle Home.

  • XML simple code help

    Hello Everyone, I am learning XML and I'm trying to make a simple code that will display three different messages on a separate line. I already have the code but there is something that does not let it work. Please if somebody can take a quick look at the code and tell me what should I do in order to get it working. Thanks in advance
    This is my simplerequestdata.xml
    {<root>
    <message1>This</message1>
    <message2>Technology</message2>
    <message3>Is confusing</message3>
    </root>}
    This is my xmlrequest.html code
    {<html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript">
    var req=null;
    function xhr(){
    try
    { // Firefox, Opera 8.0+, Safari
    req=new XMLHttpRequest();
    catch (e)
    // Internet Explorer
    try
    req=new ActiveXObject("Msxml2.XMLHTTP");
    catch (e)
    req=new ActiveXObject("Microsoft.XMLHTTP");
    return req;
    function getData(){
    req = new xhr();
    req.open("get","simpleRequestData.xml");
    req.send(null);
    if(req.readyState==4){
    if(req.status==200){
    var doc = req.responseXML;
    var msgNodes = doc.documentElement.getElementsByTagName('message');
    var msgDiv = document.getElementById("message");
    var msg = document.createElement("message");
    msg.innerHTML = msgNodes[0].firstChild.nodeValue + "<br />" + msgNodes[1].firstChild.nodeValue + '
    ' + msgNodes[2].firstChild.nodeValue;
    msgDiv.innerHTML = '';
    msgDiv.appendChild(msg);
    </script>
    <style>
    #message{color:red;}
    message{display:block;color:green;}
    </style>
    </head>
    <body>
    <form>
    <input type="button" onclick="getData()" value="Get Message"/>
    <div id="message">Message Goes Here</div>
    </form>
    </body>
    </html>
    }

    That looks like Javascript to me. This forum is about Java and XML, not Javascript and XML. However the error is pretty obvious:
    var msgNodes = doc.documentElement.getElementsByTagName('message');You don't have any elements named "message" in that XML document. You have an element named "message1" and an element named "message2" and an element named "message3", but no "message" elements. So you get a list of zero elements there. You need to rewrite your DOM-handling code to reflect the actual input.

  • How to install .xml profiles for Anyconnect for Mac??

    Hi,
    I have AnyConnect 3.0.4235 installed on my Mac (OS X Mountain Lion), and my company uses .xml profile files so that the list of sites to connect to is autopopulated when you run the client.
    I know where they go on Windows boxes, but have never done this on a Mac and have no idea where these .xml files should go.   I tried putting them in the following location:  opt/cisco/anyconnect/profile  but when I run AnyConnect the "Connect to" box is still blank.
    Does anybody know where these should go?  Is there something else I need to do that I'm missing?

    You have the right place for the xml file but the user preferences is a file in /Users/username/.anyconnect
    Reference

  • How install XML-DB components?

    Hi all,
    I am new to XML-DB. My Oracle10gR2 DB does not seem to know DBMS_XMLSCHEMA, regardless of the user account. That makes me doubt, whether XML-DB has been installed at the beginning at all. Which script do I execute in order to get XML-DB on my DB up and running?
    Thanks in advance for any helpful advice.

    Have a look at the howto's: http://www.liberidu.com/blog/?cat=17
    Your specific question is addressed here: http://www.liberidu.com/blog/?p=222 (there are more detailed post on the net though)
    There are dependancies to the Oracle JVM, so install this first and then the XMLDB functionality

Maybe you are looking for

  • Multiple Email Accounts on Mail

    morning all, I have a MACBook Pro Retina 2013 model running Software  OS X 10.9.4 (13E28). I have set up all of my email accounts (3 of them) in the default Mail program on the MAC. When I create a mail it always uses (defaults) to my yahoo account,

  • How to make row selection by checkbox in ADF table

    hello, using jdev11g TP4 , fusion web application when i drag my view object as ADF table into jsf page, i want to know how to make row selection by checkbox thanks greenApple Edited by: greenApple on Nov 10, 2008 11:33 AM

  • Kind of sum distinct

    Hi to everybody...i have to solve a big problem, and i can't find a way to get it.. i have a table like this Italy 1000 Spain 2000 Germany 1500 and for some reason, i have to make a join, so the result is a duplicate rows... Italy 1000 AA 50 Italy 10

  • Time Dependent Hierarchies in Bex Queries.

    We are using Time depenedent Hierarchy structures. year and period will be entered by the user in the query Is there any simple solution where in based on the User entered year and period, corresponding hierarchy should be used in the query execution

  • Client Security - Password Manager reinstalling

    Hello all,        For an unknown reason, I have been experiencing this problem over and over.  Whenever I restart my computer and open a new explorer window, windows installer pops up with CSS trying to install the password manager.  No matter how ma