Jwsdp-1.4/xws-security/samples/simple/build.xml:108: wsdeploy failed

Hi everyone,
I am trying to deploy the simple sample for xws-security in the JWSDP 1.4 on redhat 9.0, I have done all the configurations as suggested by the tutorial and the readme file in the sample. But when I tried to run the sample by running "asant run-sample", I got a "wsdeploy failed" error. It looks like the following and happened at the "process-war" stage: (The earlier targets including "clean", "prepare", "gen-server", "compile-server", " set-web-inf", "raw-war" etc. work fine).
[snip]
process-war:
[echo] Running wsdeploy...
[wsdeploy] Exception in thread "main" java.lang.NoSuchMethodError: org.apache.xml.dtm.ref.sax2dtm.SAX2DTM.<init>(Lorg/apache/xml/dtm/DTMManager;Ljavax/xml/transform/Source;ILorg/apache/xml/dtm/DTMWSFilter;Lorg/apache/xml/utils/XMLStringFactory;ZIZZ)V
[wsdeploy] at org.apache.xml.dtm.ref.sax2dtm.SAX2DTM2.<init>(SAX2DTM2.java:1901)
[wsdeploy] at org.apache.xalan.xsltc.dom.SAXImpl.<init>(SAXImpl.java:767)
[wsdeploy] at org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:324)
[wsdeploy] at org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:267)
[wsdeploy] at org.apache.xalan.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:477)
[wsdeploy] at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:637)
[wsdeploy] at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:317)
[wsdeploy] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.defineServletsAndListeners(DeployTool.java:553)
[wsdeploy] at com.sun.xml.rpc.tools.wsdeploy.DeployTool.run(DeployTool.java:255)
[wsdeploy] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
[wsdeploy] at com.sun.xml.rpc.tools.wsdeploy.Main.main(Main.java:22)
[wsdeploy] Command invoked: /work/nzw3/SUNWappserver/jdk/jre/bin/java -classpath /work/nzw3/SUNWappserver/lib/endorsed/dom.jar:/work/nzw3/SUNWappserver/lib/endorsed/xercesImpl.jar:/work/nzw3/SUNWappserver/lib/endorsed/xalan.jar:/work/nzw3/SUNWappserver/lib/ant/lib/xercesImpl.jar:/work/nzw3/SUNWappserver/lib/ant/lib/ant.jar:/work/nzw3/SUNWappserver/lib/ant/lib/xml-apis.jar:/work/nzw3/SUNWappserver/lib/ant/lib/optional.jar:/work/nzw3/SUNWappserver/lib/soapprocessor.jar:/work/nzw3/SUNWappserver/lib/jaxr-api.jar:/work/nzw3/SUNWappserver/lib/saaj-api.jar:/work/nzw3/SUNWappserver/lib/activation.jar:/work/nzw3/SUNWappserver/lib/security-plugin.jar:/work/nzw3/SUNWappserver/lib/jaxb-xjc.jar:/work/nzw3/SUNWappserver/lib/jax-qname.jar:/work/nzw3/SUNWappserver/lib/jhall.jar:/work/nzw3/SUNWappserver/lib/xmlsec.jar:/work/nzw3/SUNWappserver/lib/j2ee-svc.jar:/work/nzw3/SUNWappserver/lib/deployment/sun-as-jsr88-dm.jar:/work/nzw3/SUNWappserver/lib/jaxrpc-sec.jar:/work/nzw3/SUNWappserver/lib/mail.jar:/work/nzw3/SUNWappserver/lib/appserv-admin.jar:/work/nzw3/SUNWappserver/lib/jaxb-impl.jar:/work/nzw3/SUNWappserver/lib/appserv-cmp.jar:/work/nzw3/SUNWappserver/lib/appserv-jstl.jar:/work/nzw3/SUNWappserver/lib/jaxb-libs.jar:/work/nzw3/SUNWappserver/lib/jwsdp-tools-lib/jax-qname.jar:/work/nzw3/SUNWappserver/lib/jwsdp-tools-lib/namespace.jar:/work/nzw3/SUNWappserver/lib/jaxr-impl.jar:/work/nzw3/SUNWappserver/lib/xercesImpl.jar:/work/nzw3/SUNWappserver/lib/jaxrpc-spi.jar:/work/nzw3/SUNWappserver/lib/verifier/verifierhelp.jar:/work/nzw3/SUNWappserver/lib/xalan.jar:/work/nzw3/SUNWappserver/lib/appserv-upgrade.jar:/work/nzw3/SUNWappserver/lib/appserv-assemblytool.jar:/work/nzw3/SUNWappserver/lib/deployhelp.jar:/work/nzw3/SUNWappserver/lib/j2ee.jar:/work/nzw3/SUNWappserver/lib/xmldsig.jar:/work/nzw3/SUNWappserver/lib/commons-logging.jar:/work/nzw3/SUNWappserver/lib/saaj-impl.jar:/work/nzw3/SUNWappserver/lib/jaxrpc-impl.jar:/work/nzw3/SUNWappserver/lib/appserv-tags.jar:/work/nzw3/SUNWappserver/lib/appserv-ext.jar:/work/nzw3/SUNWappserver/lib/relaxngDatatype.jar:/work/nzw3/SUNWappserver/lib/admin-cli.jar:/work/nzw3/SUNWappserver/lib/jaxrpc-api.jar:/work/nzw3/SUNWappserver/lib/jsf-api.jar:/work/nzw3/SUNWappserver/lib/jaxb-api.jar:/work/nzw3/SUNWappserver/lib/install/applications/__cp/jdbc.jar:/work/nzw3/SUNWappserver/lib/install/applications/__ds/jdbc.jar:/work/nzw3/SUNWappserver/lib/install/applications/__xa/jdbc.jar:/work/nzw3/SUNWappserver/lib/install/applications/jmsra/imqjmsra.jar:/work/nzw3/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/admin.jar:/work/nzw3/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/cc.jar:/work/nzw3/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/admingui-jsp.jar:/work/nzw3/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/framework.jar:/work/nzw3/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/jato.jar:/work/nzw3/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/admin-en.jar:/work/nzw3/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/admin-xml.jar:/work/nzw3/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/framework-en.jar:/work/nzw3/SUNWappserver/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/help.jar:/work/nzw3/SUNWappserver/lib/install/applications/samples.jar:/work/nzw3/SUNWappserver/lib/install/applications/com_sun_web_ui/WEB-INF/lib/registrationservlet.jar:/work/nzw3/SUNWappserver/lib/install/applications/jaxr-ra/jaxr-ra.jar:/work/nzw3/SUNWappserver/lib/commons-launcher.jar:/work/nzw3/SUNWappserver/lib/jsf-impl.jar:/work/nzw3/SUNWappserver/lib/sun-appserv-ant.jar:/work/nzw3/SUNWappserver/lib/appserv-rt.jar:/work/nzw3/SUNWappserver/lib/xsdlib.jar:/work/nzw3/j2sdk1.4.2_04/lib/tools.jar com.sun.xml.rpc.tools.wsdeploy.Main -keep -tmpdir /work/nzw3/jwsdp-1.4/xws-security/samples/simple/build/server -o /work/nzw3/jwsdp-1.4/xws-security/samples/simple/dist/securesimple.war /work/nzw3/jwsdp-1.4/xws-security/samples/simple/dist/simple-portable.war
BUILD FAILED
file:/work/nzw3/jwsdp-1.4/xws-security/samples/simple/build.xml:108: wsdeploy failed
If anyone has any idea about this problem, please let me know.
Many thanks,
Jake

Hello again,
I got progress today, but still have some errors for the simple sample in the xws-security . (I am running on Redhat 9.0 and with Sun Java System Application Server 8) Looks like the sending message is ok, but at the receiving message stage, I got the following errors when running "asant run-sample":
[snip]
run-sample:
[echo] Running the simple.TestClient program....
[java] Service URL=http://giga15.ncl.ac.uk:8080/securesimple/Ping
[java] Sep 8, 2004 1:14:19 AM com.sun.xml.wss.filter.DumpFilter process
[java] INFO: ==== Sending Message Start ====
[java] <?xml version="1.0" encoding="UTF-8"?>
[java] <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://xmlsoap.org/Ping" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
[java] <env:Header>
[java] <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" env:mustUnderstand="1">
[java] <wsse:BinarySecurityToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" wsu:Id="Id4487442798885738858">MIIFKDCCBBCgAwIBAgICBl4wDQYJKoZIhvcNAQEEBQAwcDELMAkGA1UEBhMCVUsxETAPBgNVBAoT
[java] CGVTY2llbmNlMRIwEAYDVQQLEwlBdXRob3JpdHkxCzAJBgNVBAMTAkNBMS0wKwYJKoZIhvcNAQkB
[java] Fh5jYS1vcGVyYXRvckBncmlkLXN1cHBvcnQuYWMudWswHhcNMDQwMjEwMTQzMDUyWhcNMDUwMjA5
[java] MTQzMDUyWjBcMQswCQYDVQQGEwJVSzERMA8GA1UEChMIZVNjaWVuY2UxEjAQBgNVBAsTCU5ld2Nh
[java] c3RsZTEPMA0GA1UEBxMGTkVSZVNDMRUwEwYDVQQDEwxqYWtlIHpoZW5nd3UwgZ8wDQYJKoZIhvcN
[java] AQEBBQADgY0AMIGJAoGBAO7B3texMjuzdA6zT6/F/hx3U4a+iWglhNWptB3JerhHHu7El0HkWky0
[java] 9AzYVKZ7Y3n5qpgmSOe16a2MKySii5ud44DABj+3qkRBzkb/LDgNuF02X/XORbFbuZYEWwCHckZI
[java] xQ50vJpdxJQqLOwrhMP48RXNBzrdXo9iYfcWP5cnAgMBAAGjggJiMIICXjAMBgNVHRMBAf8EAjAA
[java] MBEGCWCGSAGG+EIBAQQEAwIFoDAOBgNVHQ8BAf8EBAMCA+gwLAYJYIZIAYb4QgENBB8WHVVLIGUt
[java] U2NpZW5jZSBVc2VyIENlcnRpZmljYXRlMB0GA1UdDgQWBBRlyb19GkybkmGa6QnQ9fPZ7mQ+NzCB
[java] mgYDVR0jBIGSMIGPgBQCOKsRo5aAiw3TFSsIpY4w2rLaqKF0pHIwcDELMAkGA1UEBhMCVUsxETAP
[java] BgNVBAoTCGVTY2llbmNlMRIwEAYDVQQLEwlBdXRob3JpdHkxCzAJBgNVBAMTAkNBMS0wKwYJKoZI
[java] hvcNAQkBFh5jYS1vcGVyYXRvckBncmlkLXN1cHBvcnQuYWMudWuCAQAwKQYDVR0SBCIwIIEeY2Et
[java] b3BlcmF0b3JAZ3JpZC1zdXBwb3J0LmFjLnVrMBkGA1UdIAQSMBAwDgYMKwYBBAHZLwEBAQEEMD0G
[java] CWCGSAGG+EIBBAQwFi5odHRwOi8vY2EuZ3JpZC1zdXBwb3J0LmFjLnVrL2NnaS1iaW4vaW1wb3J0
[java] Q1JMMD0GCWCGSAGG+EIBAwQwFi5odHRwOi8vY2EuZ3JpZC1zdXBwb3J0LmFjLnVrL2NnaS1iaW4v
[java] aW1wb3J0Q1JMMDwGCWCGSAGG+EIBBwQvFi1odHRwOi8vY2EtcmVuZXcuZ3JpZC1zdXBwb3J0LmFj
[java] LnVrL3JlbmV3Lmh0bWwwPwYDVR0fBDgwNjA0oDKgMIYuaHR0cDovL2NhLmdyaWQtc3VwcG9ydC5h
[java] Yy51ay9jZ2ktYmluL2ltcG9ydENSTDANBgkqhkiG9w0BAQQFAAOCAQEAgdN714aoC53Wef9JGaDD
[java] PDJkmgmwVbL8ZuovBpORFsgy2GOPgIdtw15qTQx1NFbsFqW2I7d/9AteeXAk3sUGUODOvq8loeYB
[java] iA+QofduwJ0VWO8TZ0e+7+J3cDQKbsukptRJd2L2W8PeCNPojCRkfiV/nT6BiF5yjh4Ui5e+pWGw
[java] t3oN1qFDZViCFOTiB6Koi0MB+cu47gOEIxBQfP8jTEyf/SSy4RzjI+7C1LpDYCZpO/jqXMb67j9b
[java] KdcmlWhMrzNOyRDM7A11rt5nBMABgRVAJsdBZIDevfKJ/kRGxUHGHqf8Pg+3qK22mNwMN8U2plr7
[java] TgORAx6aOn4EQP2AzA==</wsse:BinarySecurityToken>
[java] <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
[java] <ds:SignedInfo>
[java] <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
[java] <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
[java] <ds:Reference URI="#Id5553294937503469412">
[java] <ds:Transforms>
[java] <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
[java] </ds:Transforms>
[java] <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
[java] <ds:DigestValue>AcRqiIoxfOWauZ/FDnng4D1C5WU=</ds:DigestValue>
[java] </ds:Reference>
[java] </ds:SignedInfo>
[java] <ds:SignatureValue>
[java] omVS7TF+IqESZuMcRdsFfet8INaU4J9Vall1oGaPMRoEkc9xks+YK2ew4nG7hSekITwJrQLx42hH
[java] Vb6HvEdWgsIrjOJslqQILQkYU7qdoptb6OEgY5lHQpjUJaTKNn4krsDXgpwZieQE45Gcu/zuP4eY
[java] v8yMhUwVUE8xHy+6dLs=
[java] </ds:SignatureValue>
[java] <ds:KeyInfo>
[java] <wsse:SecurityTokenReference>
[java] <wsse:Reference URI="#Id4487442798885738858" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
[java] </wsse:SecurityTokenReference>
[java] </ds:KeyInfo>
[java] </ds:Signature>
[java] </wsse:Security>
[java] </env:Header>
[java] <env:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Id5553294937503469412">
[java] <ns0:Ping>
[java] <ns0:ticket>SUNW</ns0:ticket>
[java] <ns0:text>Hello !</ns0:text>
[java] </ns0:Ping>
[java] </env:Body>
[java] </env:Envelope>
[java] ==== Sending Message End ====
[java] Sep 8, 2004 1:14:23 AM com.sun.xml.wss.filter.DumpFilter process
[java] INFO: ==== Received Message Start ====
[java] <?xml version="1.0" encoding="UTF-8"?>
[java] <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://xmlsoap.org/Ping" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
[java] <env:Body>
[java] <env:Fault>
[java] <faultcode xmlns:ans1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">ans1:InvalidSecurityToken</faultcode>
[java] <faultstring>Certificate validation failed</faultstring>
[java] </env:Fault>
[java] </env:Body>
[java] </env:Envelope>
[java] ==== Received Message End ====
[java] Sep 8, 2004 1:14:23 AM com.sun.xml.wss.filter.ProcessSecurityHeaderFilter process
[java] WARNING: Message does not contain wsse:Security header
[java] Exception in thread "main" javax.xml.rpc.soap.SOAPFaultException: Certificate validation failed
[java] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:515)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:294)
[java] at simple.PingPort_Stub.ping(PingPort_Stub.java:80)
[java] at simple.TestClient.main(TestClient.java:37)
[java] Java Result: 1
I don't know if I have configured anything wrong. Basically, i just want to sign the outgoing soap message with my own p12 format certificate, hence I have chosen the following in the $JWSDP_HOME/xws-security/samples/simple/build.properties :
client.security.config=config/sign-client.xml
server.security.config=config/dump-server.xml
Also, according to the last section of the jWSDP release notes at http://java.sun.com/webservices/docs/1.4/ReleaseNotes.html#KnownIssues
I added these two changes,
1. In the <jwsdp.home>/xws-security/samples/buildconfig/sjsas-config.xml file, delete the original .... app.classpath element definition and replace it with the following definition:
<path id="app.classpath">
<fileset dir="${sjsas.home}/lib/endorsed">
<include name="dom.jar"/>
</fileset>
<fileset dir="${sjsas.home}/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="${javahome}/lib">
<include name="tools.jar"/>
</fileset>
</path>
2. In the <as.home>/domains/domain1/config/server.policy file, add the following configurations to the server.policy file, for the securesimple sample and pingservice samples, respectively.
// These permissions apply to securesimple webapp grant codeBase "file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/securesimple/WEB-INF/-" {
permission javax.security.auth.AuthPermission "modifyPrincipals";
permission javax.security.auth.AuthPermission "modifyPublicCredentials"; permission javax.security.auth.AuthPermission "modifyPrivateCredentials";
permission javax.security.auth.AuthPermission "getSubject";
permission javax.security.auth.PrivateCredentialPermission "javax.security.auth.x500.X500PrivateCredential * \"*\"","read";
permission java.security.SecurityPermission "putProviderProperty.BC";
Moreover, has the sent message really been signed correctly? how can I tell the message has been signed by my own certificate? I have done the following:
1. In the $JWSDP_HOME/xws-security/samples/simple/config/sign-client.xml, change to
<xwss:SecurityConfiguration
xmlns:xwss="http://com.sun.xml.wss.configuration" dumpMessages="true">
<xwss:Sign/>
</xwss:SecurityConfiguration>
2. In the $JWSDP_HOME/xws-security/samples/simple/config/build.xml, change to something like the following in the run-sample target,
<sysproperty key="javax.net.ssl.keyStore" value="/work/nzw3/jakenew.p12"/>
<sysproperty key="javax.net.ssl.keyStorePassword" value="jake"/>
<sysproperty key="javax.net.ssl.keyStoreType" value="pkcs12"/>
I didn't change anything about truststore.
What was the problem? What have I done wrong?
Many thanks,
Jake

Similar Messages

  • Errors trying to run the xws-security sample app

    Hi all,
    I'm geting errors trying to compile the xws-security sample app, does anyone have any advice? Thanks in advance!
    [kerzhner@kerzhner]~/jwsdp-1.5/xws-security/samples/simple% ant run-sample Buildfile: build.xml
    clean:
    [delete] Deleting directory /home/kerzhner/jwsdp-1.5/xws-security/samples/simple/build
    [delete] Deleting directory /home/kerzhner/jwsdp-1.5/xws-security/samples/simple/dist
    as8-check:
    ws-check:
    tc-check:
    [mkdir] Created dir: /home/kerzhner/jwsdp-1.5/xws-security/samples/simple/build/client/classes
    [mkdir] Created dir: /home/kerzhner/jwsdp-1.5/xws-security/samples/simple/build/server/WEB-INF/classes
    [mkdir] Created dir: /home/kerzhner/jwsdp-1.5/xws-security/samples/simple/dist
    compile-handler-code:
    [echo] Compiling the handler source code
    [javac] Compiling 1 source file to /home/kerzhner/jwsdp-1.5/xws-security/samples/simple/build/server/WEB-INF/classes
    [javac] /home/kerzhner/jwsdp-1.5/xws-security/samples/simple/src/com/sun/xml/wss/sample/SecurityEnvironmentHandler.java:0: error: malformed .zip archive in CLASSPATH: /home/kerzhner/jdk1.5.0_03/lib/tools.jar/
    [javac] /home/kerzhner/jwsdp-1.5/xws-security/samples/simple/src/com/sun/xml/wss/sample/SecurityEnvironmentHandler.java:25: error: Class or interface `java.security.cert.X509CertSelector' not found in import.
    [javac] import java.security.cert.X509CertSelector;
    [javac] ^
    [javac] /home/kerzhner/jwsdp-1.5/xws-security/samples/simple/src/com/sun/xml/wss/sample/SecurityEnvironmentHandler.java:535: error: Type `X509CertSelector' not found in the declaration of the local variable `certSelector'.
    [javac] X509CertSelector certSelector = new X509CertSelector();
    [javac] ^
    [javac] 2 errors
    BUILD FAILED
    file:/home/kerzhner/jwsdp-1.5/xws-security/samples/simple/build.xml:68: Compile failed; see the compiler error output for details.

    Resolved. It was a space issue. Deleted a couple of old apps and have now installed the Sample Websheet Application.

  • Compilation error- xws-security sample aplication for signing

    hi
    I tried to run the sample application (xws-security) in JWSDP 1.6 but i am getting the following error.
    [echo] Running wscompile....
    [wscompile] C:\Sun\jwsdp-2.0\xws-security\samples\simple\build\server\WEB-INF\c
    asses\simple\PingService.java:10: cannot access java.lang.Object
    [wscompile] bad class file: C:\Sun\AppServer\jdk\jre\lib\rt.jar(java/lang/Objec
    .class)
    [wscompile] class file has wrong version 49.0, should be 48.0
    [wscompile] Please remove or make sure it appears in the correct subdirectory o
    the classpath.
    [wscompile] public interface PingService extends javax.xml.rpc.Service {
    [wscompile] ^
    [wscompile] 1 error
    [wscompile] error: compilation failed, errors should have been reported

    it worked ....thank you ghstark

  • JWSDP 1.6 xws-security Simple fails with "block not properly padded"

    Environment:
    - Windows 2000
    - Tomcat50-jwsdp
    - JAVA_HOME=C:/Progra~1/Java/jdk1.5.0_05
    - Security environment handler: SecurityEnvironmentHandler.java supplied with JWSDP 1.6 (Hello, Ron!)
    I get the following in the Tomcat Window:
    ==== Received Message End ====
    Nov 13, 2005 10:38:56 AM com.sun.org.apache.xml.internal.security.encryption.XMLCipher decryptKey
    INFO: Decryption of key type http://www.w3.org/2001/04/xmlenc#tripledes-cbc OK
    Nov 13, 2005 10:38:56 AM com.sun.xml.wss.impl.apachecrypto.DecryptionProcessor decryptElementWithCipher
    SEVERE: WSS_ENC0004: Exception [ Given final block not properly padded ] while trying to decrypt message
    Nov 13, 2005 10:38:56 AM com.sun.xml.wss.impl.filter.DumpFilter process
    INFO: ==== Sending Message Start ====
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/enco
    ding/" xmlns:ns0="http://xmlsoap.org/Ping" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.or
    g/2001/XMLSchema-instance">
    <env:Body>
    <env:Fault>
    <faultcode xmlns:ans1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">ans1:Fail
    edCheck</faultcode>
    <faultstring>Unable to decrypt message</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    ==== Sending Message End ====
    Please help!
    George

    Hi, I got the xws-security/samples/simple application
    working successfully with my own keystores. I have 2
    questions regarding this sample application.
    1) When running the application with the
    encrypt-server.xml and encrypt-client.xml
    configuration, why is it necessary to import the
    client's certificate into the server's truststore and
    the server's certificate into client's truststore when
    their certificates have already been signed by a
    trusted root CA (e.g. Verisign), whose certificate is
    in both truststores? Shouldn't their certificates
    containing their public keys get automatically
    exchanged during the connection request? It's a pain
    to publish a web service and expect a manual public
    certificate import for each client wanting to use the
    service.Certificates are sent only when the keyReferenceType is "Direct" which is the default. It's possible that our code is checking the certificate sent with one found in the KeyStore, but a quick scan of the code doesn't show it. If that's what's happening it's a bug. All of the other key reference strategies send only a referece to the sender's certificate in which case the reciever must have a copy of that certificate in its keystore.
    2) I use Tomcat to run the sample application and did
    set up the SSL connector to point to the keystores.
    When the client connects to the server, it uses a
    http endpoint not https. I'm aware that htpps is
    needed for SSL support but not clear on where does
    https come into play during the client's
    request/server's response process.We share the SSL keystore so that certificates don't have to be stored in more than one place. The functionality of XWS-Security and SSL is logically the same so it make sense to use the same keystore. XWS-Security operates completely separately from the transport and never knows whether HTTPS is in use or not.
    Phil Goodwin
    Technical Lead
    XWS-Security

  • Jwsdp-1.4 xws-security

    Hi, I got the xws-security/samples/simple application working successfully with my own keystores. I have 2 questions regarding this sample application.
    1) When running the application with the encrypt-server.xml and encrypt-client.xml configuration, why is it necessary to import the client's certificate into the server's truststore and the server's certificate into client's truststore when their certificates have already been signed by a trusted root CA (e.g. Verisign), whose certificate is in both truststores? Shouldn't their certificates containing their public keys get automatically exchanged during the connection request? It's a pain to publish a web service and expect a manual public certificate import for each client wanting to use the service.
    2) I use Tomcat to run the sample application and did set up the SSL connector to point to the keystores. When the client connects to the server, it uses a http endpoint not https. I'm aware that htpps is needed for SSL support but not clear on where does https come into play during the client's request/server's response process.

    Hi, I got the xws-security/samples/simple application
    working successfully with my own keystores. I have 2
    questions regarding this sample application.
    1) When running the application with the
    encrypt-server.xml and encrypt-client.xml
    configuration, why is it necessary to import the
    client's certificate into the server's truststore and
    the server's certificate into client's truststore when
    their certificates have already been signed by a
    trusted root CA (e.g. Verisign), whose certificate is
    in both truststores? Shouldn't their certificates
    containing their public keys get automatically
    exchanged during the connection request? It's a pain
    to publish a web service and expect a manual public
    certificate import for each client wanting to use the
    service.Certificates are sent only when the keyReferenceType is "Direct" which is the default. It's possible that our code is checking the certificate sent with one found in the KeyStore, but a quick scan of the code doesn't show it. If that's what's happening it's a bug. All of the other key reference strategies send only a referece to the sender's certificate in which case the reciever must have a copy of that certificate in its keystore.
    2) I use Tomcat to run the sample application and did
    set up the SSL connector to point to the keystores.
    When the client connects to the server, it uses a
    http endpoint not https. I'm aware that htpps is
    needed for SSL support but not clear on where does
    https come into play during the client's
    request/server's response process.We share the SSL keystore so that certificates don't have to be stored in more than one place. The functionality of XWS-Security and SSL is logically the same so it make sense to use the same keystore. XWS-Security operates completely separately from the transport and never knows whether HTTPS is in use or not.
    Phil Goodwin
    Technical Lead
    XWS-Security

  • JWSDP 1.5: Certificates for XWS-Security samples expired April 9

    The digitial certificates supplied with the XWS-Security samples in JWSDP 1.5 (e.g., JWSDP_HOME/xws-security/etc/client-truststore.jks) expired April 9, 2005. The XWSS sample programs now fail because the certificates are invalid. Are newer versions of the truststores available to replace the existing truststores, or do I need reinstall JWSDP to get newer certificates?
    Thanks,
    Mike

    I am having the same problem. I tried creating my own RSA keys with the same aliases, self signing them and putting them into the key/trust stores but still get errors. What procedure is there to replace them? Included below are my steps for dropping the certs and adding in new self signed ones, that I tried.
    Josh
    keytool -delete -keystore server-keystore.jks -alias s1as -storepass changeit
    keytool -delete -keystore client-truststore.jks -alias s1as -storepass changeit
    keytool -genkey -keyalg RSA -alias s1as -keystore server-keystore.jks -dname "cn=Client" -keypass changeit -storepass changeit
    keytool -selfcert -alias s1as -keystore server-keystore.jks -keypass changeit -storepass changeit
    keytool -export -keystore server-keystore.jks -alias s1as -storepass changeit -file s1as
    keytool -import -alias s1as -keystore client-truststore.jks -storepass changeit -file s1as
    keytool -delete -keystore client-keystore.jks -alias xws-security-client -storepass changeit
    keytool -delete -keystore server-truststore.jks -alias xws-security-client -storepass changeit
    keytool -genkey -keyalg RSA -alias xws-security-client -keystore client-keystore.jks -dname "cn=Client" -keypass changeit -storepass changeit
    keytool -selfcert -alias xws-security-client -keystore client-keystore.jks -keypass changeit -storepass changeit
    keytool -export -keystore client-keystore.jks -alias xws-security-client -storepass changeit -file xws-security-client
    keytool -import -alias xws-security-client -keystore server-truststore.jks -storepass changeit -file xws-security-client

  • Xws-security web service

    Hi guys,
    I finished running the xws-security samples in the JWSDP, and start trying to build a web services with xws-security feature.
    I copied the "config" folder containing config xml files, and the build.properties file from the sample to my own netbeans project folder. The build file was modified as well. I simply added the "-security" option followed by the path of the config file to the <wscompile> tag in the build file.
    <wscompile sourceBase="${build.generated.dir}/wsservice" features="${wscompile.service.sec.features}" config="${sec.config.name}"
    mapping="${build.web.dir.real}/WEB-INF/${sec.mapping}" classpath="${wscompile.classpath}:${build.classes.dir.real}:${javac.classpath}"
    nonClassDir="${build.web.dir.real}/WEB-INF/wsdl"
    verbose="true" xPrintStackTrace="true" base="${build.generated.dir}/wsbinary"
    keep="true"
    fork="true"
    define="true"
    security="${client.security.config}"/>No errors came out during the Build process. However, I looked in to the wsdl file created, and found that it seemed the xws-security did not take any effects.
    Did I miss something? Is adding the -security option of the wscompile command the only step I should take while deploying the xws-security?

    Hi,
    i am a new user of xws security.Since you have already done the simple example,I rather ask you a question about it.i am getting the following message..........wher'e build is failed!!!! i am using jdk1.5, app server 8....if you know the solution plz help me.
    C:\Sun\jwsdp-1.6\xws-security\samples\simple>asant run-sample
    Buildfile: build.xml
    clean:
    [delete] Deleting directory C:\Sun\jwsdp-1.6\xws-security\samples\simple\buil
    d
    [delete] Deleting directory C:\Sun\jwsdp-1.6\xws-security\samples\simple\dist
    as8-check:
    [mkdir] Created dir: C:\Sun\jwsdp-1.6\xws-security\samples\simple\build\clie
    nt\classes
    [mkdir] Created dir: C:\Sun\jwsdp-1.6\xws-security\samples\simple\build\serv
    er\WEB-INF\classes
    [mkdir] Created dir: C:\Sun\jwsdp-1.6\xws-security\samples\simple\dist
    ws-check:
    tc-check:
    compile-handler-code:
    [echo] Compiling the handler source code
    [javac] Compiling 1 source file to C:\Sun\jwsdp-1.6\xws-security\samples\sim
    ple\build\server\WEB-INF\classes
    [javac] C:\Sun\jwsdp-1.6\xws-security\samples\simple\src\sample\SecurityEnvi
    ronmentHandler.java:44: package com.sun.org.apache.xml.internal.security.utils d
    oes not exist
    [javac] import com.sun.org.apache.xml.internal.security.utils.RFC2253Parser;
    [javac] ^
    [javac] C:\Sun\jwsdp-1.6\xws-security\samples\simple\src\sample\SecurityEnvi
    ronmentHandler.java:351: cannot find symbol
    [javac] symbol : variable RFC2253Parser
    [javac] location: class sample.SecurityEnvironmentHandler
    [javac] RFC2253Parser.normalize(x509Cert.getIssuerDN().g
    etName());
    [javac] ^
    [javac] C:\Sun\jwsdp-1.6\xws-security\samples\simple\src\sample\SecurityEnvi
    ronmentHandler.java:410: cannot find symbol
    [javac] symbol : variable RFC2253Parser
    [javac] location: class sample.SecurityEnvironmentHandler
    [javac] RFC2253Parser.normalize(x509Cert.getIssuerDN().g
    etName());
    [javac] ^
    [javac] 3 errors
    BUILD FAILED
    C:\Sun\jwsdp-1.6\xws-security\samples\simple\build.xml:68: Compile failed; see t
    he compiler error output for details.
    Total time: 10 seconds

  • JavaFx2 Samples DataApp Build Problems

    Download Samples
    http://download.oracle.com/otn/java/javafx/2.1.1-b04/javafx_samples-2_1_1-windows.zip
    From:http://www.oracle.com/technetwork/java/javafx/downloads/index.html
    And follow : DataApp Installation Guide
    ---Running the Sample
    ---Start the server:
    ---In NetBeans, right-click the DataAppServer project.
    ---Select Run.
    ---Wait until a browser window opens that says: YOU ARE DONE!
    A : Build Problem?
    ant -f D:\\DataApp\\DataAppServer -DforceRedeploy=false -Ddirectory.deployment.supported=true -Dnb.wait.for.caches=true run
    check-mysql-drivers-installed:
    D:\DataApp\DataAppServer\build.xml:72: D:\DataApp\DataAppServer\${j2ee.server.home}\lib does not exist.
    构建失败 (总时间: 0 秒)
    I have install C:\Program Files\glassfish-3.1.2
    Any suggestions?

    ant -f D:\\DataApp\\DataAppServer -DforceRedeploy=false clean dist
    check-mysql-drivers-installed:
    init:
    undeploy-clean:
    deps-clean:
    DataAppClient.init:
    DataAppClient.deps-clean:
    Updating property file: D:\DataApp\DataAppClient\build\built-clean.properties
    DataAppLibrary.init:
    DataAppLibrary.deps-clean:
    Updating property file: D:\DataApp\DataAppClient\build\built-clean.properties
    Deleting directory D:\DataApp\DataAppLibrary\build
    DataAppLibrary.clean:
    Duplicated project name in import. Project jfx-impl defined first in D:\DataApp\DataAppClient\nbproject\jfx-impl.xml and again in D:\DataApp\DataAppPreloader\nbproject\jfx-impl.xml
    DataAppPreloader.init:
    DataAppPreloader.deps-clean:
    Updating property file: D:\DataApp\DataAppClient\build\built-clean.properties
    Deleting directory D:\DataApp\DataAppPreloader\build
    DataAppPreloader.clean:
    Deleting directory D:\DataApp\DataAppClient\build
    DataAppClient.clean:
    DataAppLibrary.init:
    DataAppLibrary.deps-clean:
    Created dir: D:\DataApp\DataAppLibrary\build
    Updating property file: D:\DataApp\DataAppLibrary\build\built-clean.properties
    Deleting directory D:\DataApp\DataAppLibrary\build
    DataAppLibrary.clean:
    do-clean:
    check-clean:
    clean:
    check-mysql-drivers-installed:
    init:
    deps-module-jar:
    DataAppClient.init:
    DataAppClient.deps-jar:
    Created dir: D:\DataApp\DataAppClient\build
    Updating property file: D:\DataApp\DataAppClient\build\built-jar.properties
    DataAppLibrary.init:
    DataAppLibrary.deps-jar:
    Created dir: D:\DataApp\DataAppLibrary\build
    Updating property file: D:\DataApp\DataAppClient\build\built-jar.properties
    Created dir: D:\DataApp\DataAppLibrary\build\classes
    Created dir: D:\DataApp\DataAppLibrary\build\classes\META-INF
    Copying 1 file to D:\DataApp\DataAppLibrary\build\classes\META-INF
    Created dir: D:\DataApp\DataAppLibrary\build\empty
    Created dir: D:\DataApp\DataAppLibrary\build\generated-sources\ap-source-output
    Compiling 29 source files to D:\DataApp\DataAppLibrary\build\classes
    警告: [options] 未与 -source 1.6 一起设置引导类路径
    注: Creating non-static metadata factory ...
    注: Found Option : eclipselink.canonicalmodel.use_static_factory, with value: false
    注: Optional file was not found: META-INF/orm.xml continuing with generation.
    注: Optional file was not found: META-INF/eclipselink-orm.xml continuing with generation.
    注: Found Option : eclipselink.canonicalmodel.use_static_factory, with value: false
    注: Optional file was not found: META-INF/orm.xml continuing with generation.
    注: Optional file was not found: META-INF/eclipselink-orm.xml continuing with generation.
    警告: 以下选项未被任何处理程序识别: '[eclipselink.canonicalmodel.use_static_factory]'
    注: 某些输入文件使用了未经检查或不安全的操作。
    注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    1 个警告
    Copying 1 file to D:\DataApp\DataAppLibrary\build\classes
    DataAppLibrary.compile:
    Created dir: D:\DataApp\DataAppLibrary\dist
    Copy libraries to D:\DataApp\DataAppLibrary\dist\lib.
    Building jar: D:\DataApp\DataAppLibrary\dist\DataAppLibrary.jar
    To run this application from the command line without Ant, try:
    C:\Program Files\Java\jdk1.7.0_05/bin/java -jar "D:\DataApp\DataAppLibrary\dist\DataAppLibrary.jar"
    DataAppLibrary.jar:
    Duplicated project name in import. Project jfx-impl defined first in D:\DataApp\DataAppClient\nbproject\jfx-impl.xml and again in D:\DataApp\DataAppPreloader\nbproject\jfx-impl.xml
    DataAppPreloader.init:
    DataAppPreloader.deps-jar:
    Created dir: D:\DataApp\DataAppPreloader\build
    Updating property file: D:\DataApp\DataAppClient\build\built-jar.properties
    Created dir: D:\DataApp\DataAppPreloader\build\classes
    Created dir: D:\DataApp\DataAppPreloader\build\empty
    Created dir: D:\DataApp\DataAppPreloader\build\generated-sources\ap-source-output
    Compiling 2 source files to D:\DataApp\DataAppPreloader\build\classes
    Copying 5 files to D:\DataApp\DataAppPreloader\build\classes
    DataAppPreloader.compile:
    Created dir: D:\DataApp\DataAppPreloader\dist
    Copying 1 file to D:\DataApp\DataAppPreloader\build
    Not copying library D:\DataApp\DataAppPreloader\dist\DataAppPreloader.jar , it can't be read.
    Nothing to copy.
    Building jar: D:\DataApp\DataAppPreloader\dist\DataAppPreloader.jar
    To run this application from the command line without Ant, try:
    C:\Program Files\Java\jdk1.7.0_05/bin/java -jar "D:\DataApp\DataAppPreloader\dist\DataAppPreloader.jar"
    Detected JavaFX Ant API version 1.1
    DataAppPreloader.jfx-deployment:
    DataAppPreloader.jar:
    Created dir: D:\DataApp\DataAppClient\build\classes
    Created dir: D:\DataApp\DataAppClient\build\empty
    Created dir: D:\DataApp\DataAppClient\build\generated-sources\ap-source-output
    Compiling 19 source files to D:\DataApp\DataAppClient\build\classes
    注: 某些输入文件使用了未经检查或不安全的操作。
    注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
    Copying 27 files to D:\DataApp\DataAppClient\build\classes
    DataAppClient.compile:
    Created dir: D:\DataApp\DataAppClient\dist
    Copying 27 files to D:\DataApp\DataAppClient\dist\lib
    Moving 1 file to D:\DataApp\DataAppClient\dist
    Expanding: D:\DataApp\DataAppClient\dist\lib\DataAppLibrary.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-core-asl-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-jaxrs-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-mapper-asl-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jackson-xc-1.7.1.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jersey-client-1.8.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jersey-core-1.8.jar into D:\DataApp\DataAppClient\build\classes
    Expanding: D:\DataApp\DataAppClient\dist\lib\jersey-json-1.8.jar into D:\DataApp\DataAppClient\build\classes
    Deleting directory D:\DataApp\DataAppClient\dist\lib
    D:\DataApp\DataAppServer\nbproject\build-impl.xml:860: The following error occurred while executing this line:
    D:\DataApp\DataAppClient\build.xml:48: Problem: failed to create task or type javafx:com.sun.javafx.tools.ant:application
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.
    No types or tasks have been defined in this namespace yet
    构建失败 (总时间: 25 秒)

  • Build.xml for model project  is showing package dosen't exist while compiling

    Hi all.
    For building my application i'm using ANT.I have followed the below link for deploying ant.
    Building Projects with Ant
    After created jdev-libs.xml and build.xml for the model project ,i tried to compile build.xml for model project.
    Below is my build.properties
    #Fri Nov 15 15:10:25 IST 2013
    javac.debug=on
    output.dir=classes
    javac.deprecation=off
    javac.nowarn=off
    build.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <!--Ant buildfile generated by Oracle JDeveloper-->
    <!--Generated Nov 15, 2013 3:10:25 PM-->
    <project xmlns="antlib:org.apache.tools.ant" name="Model" default="all" basedir=".">
      <property file="build.properties"/>
      <import file="../JDeveloperLibs/jdev-libs.xml"/>
      <path id="classpath">
        <path refid="JDeveloperLibs.library.ADF.Model.Runtime"/>
        <path refid="JDeveloperLibs.library.BC4J.Oracle.Domains"/>
        <path refid="JDeveloperLibs.library.BC4J.Runtime"/>
        <path refid="JDeveloperLibs.library.BC4J.Security"/>
        <path refid="JDeveloperLibs.library.BC4J.Tester"/>
        <path refid="JDeveloperLibs.library.MDS.Runtime"/>
        <path refid="JDeveloperLibs.library.MDS.Runtime.Dependencies"/>
        <path refid="JDeveloperLibs.library.Oracle.JDBC"/>
        <path refid="JDeveloperLibs.library.Resource.Bundle.Support"/>
        <path refid="JDeveloperLibs.library.ADF.Common.Runtime"/>
        <path refid="JDeveloperLibs.library.Log4j-1.2.17.jar"/>
      </path>
      <target name="init">
        <tstamp/>
        <mkdir dir="${output.dir}"/>
      </target>
      <target name="all" description="Build the project" depends="compile,copy"/>
      <target name="clean" description="Clean the project">
        <delete includeemptydirs="true" quiet="true">
          <fileset dir="${output.dir}" includes="**/*"/>
        </delete>
      </target>
      <target name="compile" description="Compile Java source files" depends="init">
        <javac destdir="${output.dir}" classpathref="classpath" debug="${javac.debug}" nowarn="${javac.nowarn}"
               deprecation="${javac.deprecation}" encoding="Cp1252" source="1.6" target="1.6">
          <src path="src"/>
        </javac>
      </target>
      <target name="copy" description="Copy files to output directory" depends="init">
        <patternset id="copy.patterns">
          <include name="**/*.gif"/>
          <include name="**/*.jpg"/>
          <include name="**/*.jpeg"/>
          <include name="**/*.png"/>
          <include name="**/*.properties"/>
          <include name="**/*.xml"/>
          <include name="**/*.ejx"/>
          <include name="**/*.xcfg"/>
          <include name="**/*.cpx"/>
          <include name="**/*.dcx"/>
          <include name="**/*.sva"/>
          <include name="**/*.wsdl"/>
          <include name="**/*.ini"/>
          <include name="**/*.tld"/>
          <include name="**/*.tag"/>
          <include name="**/*.xlf"/>
          <include name="**/*.xsl"/>
          <include name="**/*.xsd"/>
          <include name="**/*.jpx"/>
        </patternset>
        <copy todir="${output.dir}">
          <fileset dir="src">
            <patternset refid="copy.patterns"/>
          </fileset>
        </copy>
      </target>
    </project>
    jdev-libs.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <!-- created using version 11.6.0 of com.consideringred.jdevlibsforant -->
    <project name="JDeveloperLibs" default="" basedir=".">
      <dirname property="JDeveloperLibs.basedir" file="${ant.file.JDeveloperLibs}"/>
      <path id="JDeveloperLibs.srcpath">
        <pathelement location="${JDeveloperLibs.basedir}D:\wrkspace backup from stpi\Nov\Nov 15\JDeveloperLibs\src"/>
      </path>
      <!-- to accommodate the Ant copy/fileset element in "Apache Ant version 1.6.5 compiled on June 2 2005" bundled with JDeveloper 10.1.3.2 -->
      <property name="JDeveloperLibs.srcpath.first" value="${JDeveloperLibs.basedir}D:\wrkspace backup from stpi\Nov\Nov 15\JDeveloperLibs\src"/>
      <property name="JDeveloperLibs.outputdir" value="${JDeveloperLibs.basedir}D:\wrkspace backup from stpi\Nov\Nov 15\JDeveloperLibs\classes"/>
      <path id="JDeveloperLibs.library.ADF.Common.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javacache_11.1.1/cache.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-share-security.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-controller-security.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Common.Web.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adflibfilter.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javatools_11.1.1/javatools-nodeps.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Controller.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.controller_11.1.1/adf-controller.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.controller_11.1.1/adf-controller-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.controller_11.1.1/adf-controller-rt-common.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Controller.Schema">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adf-controller-schema.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.DVT.Faces.Databinding.MDS.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/dvt-databindings-mds.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.DVT.Faces.Databinding.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-databindings.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-facesbindings.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.DVT.Faces.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-utils.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-basemaps.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-jclient.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-trinidad.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/dvt-faces.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/prefuse.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-anim.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-awt-util.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-bridge.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-codec.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-css.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-dom.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-ext.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-extension.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-gui-util.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-gvt.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-parser.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-script.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-svg-dom.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-svggen.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-swing.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-transcoder.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-util.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/batik-xml.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/xml-apis-ext.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Faces.Runtime.11">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-impl.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/adf-richclient-api-11.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/adf-richclient-impl-11.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Model.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/groovy-all-1.6.3.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adftransactionsdt.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/adf-dt-at-rt.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfdt_common.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adflibrary.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ldap_11.1.1/ojmisc.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-share-security.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-controller-security.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.mail_1.1.0.0_1-4-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Page.Flow.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.pageflow_11.1.1/adf-pageflow-impl.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.pageflow_11.1.1/adf-pageflow-dtrt.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.pageflow_11.1.1/adf-pageflow-fwk.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.pageflow_11.1.1/adf-pageflow-rc.jar"/>
      </path>
      <path id="JDeveloperLibs.library.ADF.Web.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfmweb.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Apache.Ant">
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-antlr.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-bcel.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-bsf.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-log4j.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-oro.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-regexp.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-apache-resolver.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-commons-logging.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-commons-net.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-jai.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-javamail.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-jdepend.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-jmf.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-jsch.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-junit.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-launcher.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-netrexx.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-nodeps.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-starteam.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-stylebook.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-swing.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-trax.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-weblogic.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Apache.Maven.2.2.1">
        <pathelement location="../JDeveloperLibs/jdeveloper/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/apache-maven-2.2.1/boot/classworlds-1.1.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant-nodeps.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ant/lib/ant.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adfsharembean.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/bc4j-mbeans.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/groovy-all-1.6.3.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ldap_11.1.1/ojmisc.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javatools_11.1.1/resourcebundle.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.mail_1.1.0.0_1-4-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Security">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ldap_11.1.1/ldapjclnt11.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-common.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-ee.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-internal.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-unsupported-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-manifest.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jacc-spi.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.pki_11.1.1/oraclepki.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.osdt_11.1.1/osdt_core.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.osdt_11.1.1/osdt_cert.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.osdt_11.1.1/osdt_xmlsec.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.osdt_11.1.1/osdt_ws_sx.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.iau_11.1.1/fmw_audit.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.security.jacc_1.0.0.0_1-1.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.idm_11.1.1/identitystore.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.security_11.1.1/adf-share-security.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Oracle.Domains">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Client">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
      </path>
      <path id="JDeveloperLibs.library.BC4J.Tester">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/BC4J/jlib/bc4jtester.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jps_11.1.1/jps-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/adfm-debugger.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/db-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/regexp.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.help_5.0/ohj.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.help_5.0/help-share.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.bali.share_11.1.1/share.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/jlib/jewt4.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.help_5.0/oracle_ice.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ldap_11.1.1/ojmisc.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ide/lib/idert.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/ide/lib/javatools.jar"/>
        <pathelement location="../JDeveloperLibs/wlserver_10.3/server/lib/weblogic.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Commons.Beanutils.1.6">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/org.apache.commons.beanutils_1.6.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Commons.Collections.3.1">
        <pathelement location="../JDeveloperLibs/modules/com.bea.core.apache.commons.collections_3.2.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Commons.Logging.1.0.4">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/org.apache.commons.logging_1.0.4.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Connection.Manager">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.model_11.1.1/jdev-cm.jar"/>
      </path>
      <path id="JDeveloperLibs.library.JDeveloper.Runtime">
        <pathelement location="../JDeveloperLibs/jdeveloper/jdev/lib/jdev-rt.jar"/>
      </path>
      <path id="JDeveloperLibs.library.JSF.2.0">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jsf_2.0/jsf-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jsf_2.0/jsf-impl.jar"/>
      </path>
      <path id="JDeveloperLibs.library.JSTL.1.2">
        <pathelement location="../JDeveloperLibs/modules/glassfish.jstl_1.2.0.1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.JSP.Runtime">
        <pathelement location="../JDeveloperLibs/modules/javax.servlet_1.0.0.0_2-5.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.jsp_1.2.0.0_2-1.jar"/>
        <pathelement location="../JDeveloperLibs/modules/glassfish.el_1.0.0.0_2-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.MDS.Runtime">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.mds_11.1.1/mdsrt.jar"/>
      </path>
      <path id="JDeveloperLibs.library.MDS.Runtime.Dependencies">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.mds_11.1.1/oramds.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adf-share-support.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/adflogginghandler.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-ca.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share.ca_11.1.1/adf-share-base.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.servlet_1.0.0.0_2-5.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.jsp_1.2.0.0_2-1.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/jlib/commons-cli-1.0.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/commons-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/jsp-el-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.share_11.1.1/oracle-el.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.bali.share_11.1.1/share.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xmlef_11.1.1/xmlef.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.dms_11.1.1/dms.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.activation_1.1.0.0_1-1.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xml.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javacache_11.1.1/cache.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.ucp_11.1.0.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javatools_11.1.1/javatools-nodeps.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxframework.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jmx_11.1.1/jmxspi.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.management_1.2.1.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.management.j2ee_1.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Oracle.JEWT">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.bali.share_11.1.1/share.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/jlib/jewt4.jar"/>
        <pathelement location="../JDeveloperLibs/jdeveloper/jlib/inspect4.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Oracle.JDBC">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.jdbc_11.1.1/ojdbc6dms.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.odl_11.1.1/ojdl.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.dms_11.1.1/dms.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Oracle.XML.Parser.v2">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xmlparserv2.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.xdk_11.1.0/xml.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.nlsrtl_11.1.0/orai18n-mapping.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Resource.Bundle.Support">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.javatools_11.1.1/resourcebundle.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Resource.Bundle.Variable.Resolver">
        <pathelement location="../JDeveloperLibs/jdeveloper/jlib/bundleresolver.jar"/>
      </path>
      <path id="JDeveloperLibs.library.SQLJ.Runtime">
        <pathelement location="../JDeveloperLibs/jdeveloper/sqlj/lib/runtime12.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Servlet.Runtime">
        <pathelement location="../JDeveloperLibs/modules/javax.servlet_1.0.0.0_2-5.jar"/>
        <pathelement location="../JDeveloperLibs/modules/javax.jsp_1.2.0.0_2-1.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Trinidad.Runtime.11">
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-api.jar"/>
        <pathelement location="../JDeveloperLibs/oracle_common/modules/oracle.adf.view_11.1.1/trinidad-impl.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Bcpkix-jdk15on-1.48.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/bcpkix-jdk15on-1.48.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Bcprov-jdk15on-1.48.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/bcprov-jdk15on-1.48.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Commons-codec-1.8.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/commons-codec-1.8.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-asian.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-asian.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-hyph-xml.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-hyph-xml.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-pdfa-5.4.0-javadoc.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-pdfa-5.4.0-javadoc.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-pdfa-5.4.0-sources.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-pdfa-5.4.0-sources.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-pdfa-5.4.0.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-pdfa-5.4.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-xtra-5.4.0-javadoc.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-xtra-5.4.0-javadoc.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-xtra-5.4.0-sources.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-xtra-5.4.0-sources.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itext-xtra-5.4.0.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itext-xtra-5.4.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itextpdf-5.4.0-javadoc.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itextpdf-5.4.0-javadoc.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itextpdf-5.4.0-sources.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itextpdf-5.4.0-sources.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Itextpdf-5.4.0.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/itextpdf-5.4.0.jar"/>
      </path>
      <path id="JDeveloperLibs.library.Log4j-1.2.17.jar">
        <pathelement location="${JDeveloperLibs.basedir}/../lib/log4j-1.2.17.jar"/>
      </path>
      <path id="JDeveloperLibs.classpath">
        <path refid="JDeveloperLibs.library.ADF.Common.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Common.Web.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Controller.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Controller.Schema"/>
        <path refid="JDeveloperLibs.library.ADF.DVT.Faces.Databinding.MDS.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.DVT.Faces.Databinding.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.DVT.Faces.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Faces.Runtime.11"/>
        <path refid="JDeveloperLibs.library.ADF.Model.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Page.Flow.Runtime"/>
        <path refid="JDeveloperLibs.library.ADF.Web.Runtime"/>
        <path refid="JDeveloperLibs.library.Apache.Ant"/>
        <path refid="JDeveloperLibs.library.Apache.Maven.2.2.1"/>
        <path refid="JDeveloperLibs.library.BC4J.Runtime"/>
        <path refid="JDeveloperLibs.library.BC4J.Security"/>
        <path refid="JDeveloperLibs.library.BC4J.Oracle.Domains"/>
        <path refid="JDeveloperLibs.library.BC4J.Client"/>
        <path refid="JDeveloperLibs.library.BC4J.Tester"/>
        <path refid="JDeveloperLibs.library.Commons.Beanutils.1.6"/>
        <path refid="JDeveloperLibs.library.Commons.Collections.3.1"/>
        <path refid="JDeveloperLibs.library.Commons.Logging.1.0.4"/>
        <path refid="JDeveloperLibs.library.Connection.Manager"/>
        <path refid="JDeveloperLibs.library.JDeveloper.Runtime"/>
        <path refid="JDeveloperLibs.library.JSF.2.0"/>
        <path refid="JDeveloperLibs.library.JSTL.1.2"/>
        <path refid="JDeveloperLibs.library.JSP.Runtime"/>
        <path refid="JDeveloperLibs.library.MDS.Runtime"/>
        <path refid="JDeveloperLibs.library.MDS.Runtime.Dependencies"/>
        <path refid="JDeveloperLibs.library.Oracle.JEWT"/>
        <path refid="JDeveloperLibs.library.Oracle.JDBC"/>
        <path refid="JDeveloperLibs.library.Oracle.XML.Parser.v2"/>
        <path refid="JDeveloperLibs.library.Resource.Bundle.Support"/>
        <path refid="JDeveloperLibs.library.Resource.Bundle.Variable.Resolver"/>
        <path refid="JDeveloperLibs.library.SQLJ.Runtime"/>
        <path refid="JDeveloperLibs.library.Servlet.Runtime"/>
        <path refid="JDeveloperLibs.library.Trinidad.Runtime.11"/>
        <path refid="JDeveloperLibs.library.Bcpkix-jdk15on-1.48.jar"/>
        <path refid="JDeveloperLibs.library.Bcprov-jdk15on-1.48.jar"/>
        <path refid="JDeveloperLibs.library.Commons-codec-1.8.jar"/>
        <path refid="JDeveloperLibs.library.Itext-asian.jar"/>
        <path refid="JDeveloperLibs.library.Itext-hyph-xml.jar"/>
        <path refid="JDeveloperLibs.library.Itext-pdfa-5.4.0-javadoc.jar"/>
        <path refid="JDeveloperLibs.library.Itext-pdfa-5.4.0-sources.jar"/>
        <path refid="JDeveloperLibs.library.Itext-pdfa-5.4.0.jar"/>
        <path refid="JDeveloperLibs.library.Itext-xtra-5.4.0-javadoc.jar"/>
        <path refid="JDeveloperLibs.library.Itext-xtra-5.4.0-sources.jar"/>
        <path refid="JDeveloperLibs.library.Itext-xtra-5.4.0.jar"/>
        <path refid="JDeveloperLibs.library.Itextpdf-5.4.0-javadoc.jar"/>
        <path refid="JDeveloperLibs.library.Itextpdf-5.4.0-sources.jar"/>
        <path refid="JDeveloperLibs.library.Itextpdf-5.4.0.jar"/>
        <path refid="JDeveloperLibs.library.Log4j-1.2.17.jar"/>
      </path>
    </project>
    Problem:
    While executing im getting the below error:package dosent exist.Please help on this.Thanks
    Buildfile: D:\wrkspace backup from stpi\Nov\Nov 15\Model\build.xml
    init:
    compile:
        [javac] Compiling 116 source files to D:\wrkspace backup from stpi\Nov\Nov 15\Model\classes
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:17: package javax.persistence does not exist
        [javac] import javax.persistence.EntityManager;
        [javac]                         ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:18: package javax.persistence does not exist
        [javac] import javax.persistence.Query;
        [javac]                         ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\comworkflow\common\entity\detailsEOImpl.java:40: package oracle.toplink.queryframework does not exist
        [javac] import oracle.toplink.queryframework.DataModifyQuery;
        [javac]                                     ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:41: package oracle.toplink.queryframework does not exist
        [javac] import oracle.toplink.queryframework.StoredProcedureCall;
        [javac]                                     ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:43: package oracle.toplink.sessions does not exist
        [javac] import oracle.toplink.sessions.Session;
        [javac]                               ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:45: package org.eclipse.persistence.annotations does not exist
        [javac] import org.eclipse.persistence.annotations.NamedStoredProcedureQuery;
        [javac]                                           ^
        [javac] D:\wrkspace backup from stpi\Nov\Nov 15\Model\src\com\workflow\common\entity\detailsEOImpl.java:46: package org.eclipse.persistence.annotations does not exist
        [javac] import org.eclipse.persistence.annotations.StoredProcedureParameter;
        [javac]                                           ^
        [javac] 7 errors
    BUILD FAILED
    D:\wrkspace backup from stpi\Nov\Nov 15\Model\build.xml:33: Compile failed; see the compiler error output for details.
    Total time: 6 seconds

    Timo and dvohra21,
    I found the mistake that javax.persistance jar is missed in modules folder.After added that and inculdeJavaRuntime i was able to compile model's build.xml.
    When compiling view's build.xml im getting
    cannot access weblogic.security.acl.internal.AuthenticatedSubject
    [javac] class file for weblogic.security.acl.internal.AuthenticatedSubject not found
    weblogic.servlet.security.ServletAuthentication.runAs(subject,request)
    I have searched the forums and applied the solutions :
    1.Added com.bea.core.weblogic.security.identity jar,added weblogic 10.3 remote client and its corresponding jar weblogic.jar
    2.javax.security.auth.subject subject=Authentication.login(new URLCallbackHandler(un,pw));
      weblogic.servlet.security.ServletAuthentication.runAs(subject,request);
    still im getting the same exception.Any idea on this?Thanks.

  • Setting ProGuard options in build.xml (SOLVED)

    Hi guys,
    I'm trying to obfuscate my MIDlet so I can use BCrypt and the bouncy castle library. I'm getting the following error and I see that I need to add '-dontskipnonpubliclibraryclasses' and/or '-dontskipnonpubliclibraryclassmembers'. I've read ProGuard's instructions on adding options to an xml file but they are incompatible with Netbeans 6.8's build.xml. How can I set these two options for ProGuard through my build.xml file? I've included the obfuscation related part of my build-imp.xml.
    NetBeans Output:
    Building jar: C:\Users\Vladimir\Documents\NetBeansProjects\SecureIM_MIDP\build\before-obfuscation.jar
    ProGuard, version 4.4
    Reading program jar [C:\Users\Vladimir\Documents\NetBeansProjects\SecureIM_MIDP\build\before-obfuscation.jar]
    Reading library jar [C:\Java_ME_platform_SDK_3.0\lib\midp_2.0.jar]
    Reading library jar [C:\Java_ME_platform_SDK_3.0\lib\cldc_1.1.jar]
    Note: duplicate definition of library class [java.io.ByteArrayOutputStream]
    Note: there were 1 duplicate class definitions.
    Warning: shared.BCrypt: can't find referenced method 'java.lang.Object clone()' in class java.lang.Object
    Warning: there were 1 unresolved references to program class members.
             Your input classes appear to be inconsistent.
             You may need to recompile them and try again.
             Alternatively, you may have to specify the options
             '-dontskipnonpubliclibraryclasses' and/or
             '-dontskipnonpubliclibraryclassmembers'.
    Error: Please correct the above warnings first.
    C:\Users\Vladimir\Documents\NetBeansProjects\SecureIM_MIDP\build.xml:94: Obfuscation failed with error code 1.
    BUILD FAILED (total time: 13 seconds)build-imp.xml's obfuscation:
    <!--proguard-->
        <target name="proguard-init" description="Up-to-date check before obfuscation.">
            <property name="obfuscation.level" value="0"/>
            <condition property="no.obfusc">
                <or>
                    <equals arg1="${obfuscation.level}" arg2="0"/>
                    <uptodate targetfile="${obfuscator.destjar}">
                        <srcfiles dir="${buildsystem.baton}"/>
                    </uptodate>
                </or>
            </condition>
            <uptodate property="obfuscation.up-to-date" targetfile="${obfuscator.destjar}">
                <srcfiles dir="${buildsystem.baton}"/>
            </uptodate>
        </target>
        <target name="skip-obfuscation" depends="proguard-init" if="obfuscation.up-to-date">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <target name="proguard" depends="skip-obfuscation" description="Obfuscate project classes." unless="no.obfusc">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>
            <fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>
            <property name="obfuscator.classpath" value=""/>
            <dirname file="${obfuscator.srcjar}" property="obfuscator.srcjar.dir"/>
            <dirname file="${obfuscator.destjar}" property="obfuscator.destjar.dir"/>
            <mkdir dir="${obfuscator.srcjar.dir}"/>
            <mkdir dir="${obfuscator.destjar.dir}"/>
            <jar jarfile="${obfuscator.srcjar}" basedir="${buildsystem.baton}"/>
            <property name="obfuscation.custom" value=""/>
            <nb-obfuscate srcjar="${obfuscator.srcjar}" destjar="${obfuscator.destjar}" obfuscatorclasspath="${obfuscator.classpath}" classpath="${platform.bootclasspath}:${extra.classpath}" obfuscationLevel="${obfuscation.level}" extraScript="${obfuscation.custom}"/>
            <mkdir dir="${obfuscated.classes.dir}"/>
            <unjar src="${obfuscator.destjar}" dest="${obfuscated.classes.dir}"/>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <!--obfuscate-->
        <target name="pre-obfuscate"/>
        <target name="post-obfuscate"/>
        <target name="obfuscate" depends="compile,pre-obfuscate,proguard,post-obfuscate" description="Obfuscate project classes."/>Thanks guys,
    jangozo
    Edited by: jangozo on Jan 24, 2010 1:55 PM
    I just got rid of the BCrypt file.

    I ran into this same problem when using ProGuard 4.1 for Java obfuscation. The problem is that there is a space in the path to your JDK/JRE, for example: c:\Program Files\Java\jdk1.6.0_03. Because there is a space before the word "Files", it isn't working. The solution to to wrap quotes around that particular command-line argument. In ANT, I needed to use single-quotes (because double-quotes were already in use for the XML attribute) such as:
    <java jar="proguard.jar" fork="true" timeout="30000">
    <arg value="-libraryjars"/>
    <arg value="'${java.home}/lib/rt.jar'"/> <!-- Notice both double and single quotes used on this line. -->
    ...rest of the arguments go here...
    </java>
    Alternatively, using ProGuard's custom ANT Task, it would look something like (notice the use of double-quotes around the rt.jar location):
    <proguard>
    -libraryjars "${java.home}/lib/rt.jar"
    ...rest of the arguments go here...
    </proguard>
    Anyways, I hope this helps you or anyone else who runs into the same problem. Both of these approaches have worked for me.

  • Sample-simple.2.2.1 error in build.xml

    Hi all,
    First, I ask for excuses for my english, is that I am Spanish
    I have a error in build.xml when I try to ejecute "gen-all". The error is in "gen-component", "gen-beaninfo" and "gen-taglib". The exit prints:
    Command Line Options:
    -c {classname} CategoryDescriptors constants class
    -C {packagename} Package containing ConstantMethodBinding
    -d {directory} Destination directory for generators
    -e {classname} Add FQCN of class to exclude for generation
    -f {config URL} Parse configuration URL (repeatable)
    -h Display help information
    -i {classname} Add FQCN of class to include for generation
    -L {classname} Add FQCN to list of servlet listeners
    -m {markup} Default markup section [FORM]
    -nobundles Encode description and display strings into gen code, not in resource bundles
    -o {jarURL} Omit generation for classes in (design time) JAR
    -O Override component and property descriptions from renderer and attributes
    -p {prefix} Default taglib prefix
    -r {id} Default render kit identifier
    -t {filename} Filename to contain TLD
    -T {packagename} Package for generated tag classes
    -u {uri} Default taglib URI
    -v Generated output should be verbose
    -V {classname} Add FQCN to list of JSP validators
    -x Exclude all classes parsed so far
    -w Warn on missing config URLs, instead of error
    --baseBI {class} Base class for java.beans.BeanInfo classes
    --implBD {class} Implementation class for BeanDescriptors
    --implPD {class} Implementation class for PropertyDescriptors
    --cpBeanInfo     Generate component BeanInfo classes
    --cpBeanInfoBase Generate component BeanInfoBase classes
    --cpClass        Generate component classes
    --cpClassBase    Generate component base classes
    --tlClass         Generate tag library classes
    --tlClassBase     Generate tag library base classes
    --tlDescriptor    Generate tag library descriptor
    --dump           Dump contents of root configuration bean
    --help           Display help information
    Exception in thread "main" java.lang.IllegalArgumentException: and
    at com.sun.rave.jsfmeta.generators.Main.run(Main.java:521)
    at com.sun.rave.jsfmeta.generators.Main.main(Main.java:279)
    Java Result: 1
    What am I doing bad? Please help me!
    Thanks

    Hi ,
    I have an error like this below:
    [java] Exception in thread "main" java.lang.IllegalArgumentException: and
    [java] at com.sun.rave.jsfmeta.generators.Main.run(Main.java:521)
    [java] at com.sun.rave.jsfmeta.generators.Main.main(Main.java:279)
    BUILD FAILED
    if someone know solution plz post it here
    Thanks

  • XWS-Security

    Are there any tutorials or examples demonstrating how to setup a webservice and client using XWS-Security from scratch? I've setup the sample applications that come with JWSDP, but I would like a tutorial that walks through the process of setting up a web service, using callbacks, to validate a user login.

    I'm glad I'm not the only one that finds the JWSDP documentation obtuse and difficult to translate into my own situation. If anyone knows of any good "how-tos" that really explain how to use XWS-Security, then please post them. I'm struggling mightily with it.

  • Xws-security returns always HTTP 200

    Hi,
    I am using libraries of JWSDP 2.0, jaxws and xws-security.
    My web service was generated from a WSDL schema and works so
    far fine. I need to secure the transportation with a xml signature.
    For that I am using the xws libraries.
    My problem is that xws-security and jaxws returns always HTTP 200. I
    would expect a negative HTTP status code if the signature validation
    fails, such as HTTP 401 or HTTP 500 or whatever.
    Is this a bug or any idea what my problem might be ?
    Thanks,
    Simel.

    Hi,
    I am using libraries of JWSDP 2.0, jaxws and xws-security.
    My web service was generated from a WSDL schema and works so
    far fine. I need to secure the transportation with a xml signature.
    For that I am using the xws libraries.
    My problem is that xws-security and jaxws returns always HTTP 200. I
    would expect a negative HTTP status code if the signature validation
    fails, such as HTTP 401 or HTTP 500 or whatever.
    Is this a bug or any idea what my problem might be ?
    Thanks,
    Simel.

  • XWS-Security, modify namespace location

    Hi,
    we are using JWSDP 2.0 and xws-security for sign our SOAP message.
    We need to save the payload and the signature in a database and need
    to to validate it on some occations. So have to save the <Signature>
    Tag. The Problem is it is not valid due to missing namespace
    declarations.
    Is it possible to modify the placing of namespace, or to modifiy the
    defining of namespaces as default ns ?
    SECURITY INFO GENERATED BY XWSS:
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/w...">
    ---CUT HERE BEGIN---
    <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:SignedInfo> ... </ds:SignedInfo>
    <ds:SignatureValue> ... </ds:SignatureValue>
    <ds:KeyInfo>
    <wsse:SecurityTokenReference
    wsu:Id="XWSSGID-1168439423391-1452886180"
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <ds:X509Data> ...     </ds:X509Data>
    </wsse:SecurityTokenReference>
    </ds:KeyInfo>
    </ds:Signature>
    ---CUT HERE END---
    </wsse:Security>
    ===> IF WE CUT THE SINGATURE PART, THE NS-PREFIX wsse IS NOT BOUND
    A BETTER SOLUTION WOULD BE:
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/w...">
    ---CUT HERE BEGIN---
    <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
    <SignedInfo> ...     </SignedInfo>
    <SignatureValue> ... </SignatureValue>
    <KeyInfo>
    <SecurityTokenReference
    xmlns="http://docs.oasis-open.org/w...">
    <X509Data     xmlns="http://www.w3.org/2000/09/xmldsig#"> ... </X509Data>
    </SecurityTokenReference>
    </KeyInfo>
    </Signature>
    ---CUT HERE END---
    </wsse:Security>
    Any idea how to resolve this problem ?
    Thanks for help.
    Simil.

    no it is not possible to change the namespace

  • Struts Security Sample

    I am attempting to run the Struts Security Sample and am getting a Error: invalid node name (null). I have commented out the error code as suggested in the readme.html file, compiled and then removed my comments. I get this error when I try to run the logon action per the instructions. Any ideas on what else to check for this error?
    Thanks!

    No the file is at the workspace level not the viewcontroller project level.
    The exception to this is that you can place a copy of jazn-data.xml in the meta-inf directory of a project. We do this in SRDemo for example to make it simple to distribute the credentials with the sample - however - this is not normal as you'd never normally distribute credentials as part of the application - Demos are a special case.
    So check your workspace root directory.
    If in doubt use a tool like filemon.exe from sysinternals.com to see where JDeveloper is writing to.

Maybe you are looking for

  • What is wrong? facetime has completely vanished.

    Hi, I'm desperate to solve this problem. I have an unlocked iphone 4s, up until a week ago, i had a green facetime icon in my home screen and i was making and receiving facetime video calls perfectly. then i wake up to find the facetime icon gone (tr

  • EC-CS: Group account Vs FS Item

    Hi everyone, This is about EC-CS, I realized that a transactional account that is maintained with x group account, come to EC-CS with a different FS Item. Example: Transactional account  (G/L Account) - 50000900 Group accont number maintained - RD_02

  • Not able to startup Database- getting "ORA-27121" error

    Hi All, When i try to start database it fails with the below error. Enter user-name: sys as sysdba Enter password: Connected to an idle instance. SQL> !echo $ORACLE_HOME /glohd/Oracle10g/product/10.2.0/db_2 SQL> !echo $ORACLE_SID ORATECH SQL> !ls -al

  • ACE 4710: No image in GRUB loader

    I have an ACE 4710 appliance that has only a Linux kernel in its GRUB loader, no ACE image.  Is anyone aware of how I could copy the image to the ACE via TFTP, USB drive, etc.?

  • Best provider to user for asp classic to oracle 10g?

    can someone recommend the best data provider to use with an asp classic application and oracle 10g? something where there is good documentation? thanks in advance.