Jwsdp 1.1 and endorsed mechanism

Am using j2sdk 1.4.1_01. As the jwsdp tutorial suggested, in order to use the new jaxp classes, I placed the jars in a new \\jre\lib\endorsed directory in the j2sdk and also set the endorsed directories system variable to point to them. When running the xml example from the jwsdp-1.1\docs\tutorial\doc\JAXPSAX6.html file, I'm still getting the crimson parser and not the xerces parser that the tutorial says should be operating. Can anyone tell me why? Or what I must do to get the right parser? I tried running the command on the command line (Windows 2000) and in an UltraEdit DOS command but I get the same results with both - no Xerces parser.
Thanks.
Madeleine

Just to say this works if you put the jars in the classpath. Is this the only way?
Mad

Similar Messages

  • How best we can use the Rollback and RollbackAlways mechanism in Visual Studio Release Management Template

    Hello All,
    We need a clarification on Rollback and RollbackAlways in Release template.
    We checked a scenario for Rollback and RollbackAlways:
    In Release Template, we have the first activity as “Configure Application Pool” and then followed by a rollback action of “Create Application Pool”
    and “Create Web Site” then followed by "Code Deployment" via TFS build.
    We tested with 2 scenario’s:
    With App Pool and Web Site already existing: when triggered the build, configure
    app pool succeeded, then Rollback action was skipped (as previous action was successful), finally deploy the code executed (code deployed) and build got succeeded.
    Deleted App Pool and Web Site: when triggered the build, configure app pool failed (as no app pool existed), Rollback action executed (as previous action failed) – created app pool and web site then finally
    deploy the code executed (code deployed)
    But build failed (Error: Configure app pool action failed).
    Ideally the build should succeed as the roll back action got executed and code deployed successfully.
    Please correct us if our understanding is wrong.
    Also, Kindly let us know how best we can use the Rollback and RollbackAlways mechanism in Release Management
    Looking forward for your positive response.
    Thanks in advance.
    Regards,

    Hi Shashank,
    Rollback Always runs if any of the actions in the template failed. Rollback will run if action just above rollback fails or if any of the actions below the Rollback fails.
    Article here (http://www.incyclesoftware.com/2014/03/understanding-rollbacks-release-management/) clearly explains how Rollback and Rollback
    Always work.
    I think you come across this issue since you are using build to do the "code deployment" action. You should use the release template to do that. 
    As far as I know you cannot use Rollback to achieve condition check (App pool exist in your case) action.
    For this you can create your own Power Shell component (which checks if the app pool exist and is not create it) and add it as a tool in RM server (RM Server Inventory).
    Another option is you can follow the workaround in below thread "Answer" quoted below. That is execute Remove app pool regardless if it exist or not (which does not fail) and then create app pool.
    I was able to get it working by removing the app pool which does not fail if it doesn't exist. Removing then creating seems the long way around but it works.
    Flow:
    Remove Application Pool
    Create Application Pool
    https://social.msdn.microsoft.com/Forums/en-US/43bf21c8-e233-4e58-a5a8-2592b78bc466/vs-2013-release-management-create-application-pool-fails-if-it-already-exists?forum=tfsbuild
    Cheers!
    Chaminda

  • JWSDP 1.5 and Tomcat for jwsdp

    Hi,
    I downloaded and installed both JWSDP 1.5 and Tomcat for jwsdp.
    I set the variables JWSDP_HOME,JAVA_HOME,CATALINA_HOME,ANT_HOME as usual.
    But, when I launch "catalina.sh run" I have the seguent warning....
    INFO: Processing Context configuration file URL file:/opt/tomcat50-jwsdp/conf/Catalina/localhost/xindice.xml
    10-dic-2004 17.31.48 org.apache.xindice.server.XindiceServlet init
    WARNING: NamingException: javax.naming.NameNotFoundException: Name org.xml.sax.driver is not bound in this Context
    10-dic-2004 17.31.50 org.apache.xindice.core.Database setConfig
    INFO: Database points to /opt/tomcat50-jwsdp/registry-server/Xindice/./db
    10-dic-2004 17.31.51 org.apache.xindice.server.XindiceServlet init
    INFO: Database successfully started
    Does anybody tell me why?
    Thanks, Tony

    Tony:
    I'm seeing the same issue on my system.
    Redhat 9.0
    JDK 1.5.0_01
    JWSDP 1.5
    TOMCAT 5 for JWSDP
    Did a complete system wipe and reinstall and have the same issues.
    Did you get any responses, or discover a solution?
    TIA,
    drjohn

  • JWSDP 1.2 and dynamic proxies

    I am running the jaxrpc/HelloWorld example in the
    JWSDP 1.2 and I generated the client with static stubs
    and the web service works fine.
    Then I wanted to create a client that uses the same
    web service but in this time with a dynamic proxy that
    utilizes the WSDL-file. In order to do so, I had to
    modify the deployed war-file a little so that I have a URL reference
    http://127.0.0.1:80/jaxrpc-HelloWorld/HelloWorldService.wsdl
    to the HelloWorldService.wsdl file.
    My dynamic proxy client looks like that:
    package hello;
    import java.net.URL;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ServiceFactory;
    public class HelloClient {
    public static void main(String[] args) {
    try {
    String wsdlString ="http://127.0.0.1:8080/jaxrpc-HelloWorld/HelloWorldService.wsdl";
    String nameSpaceUri = "http://hello.org/wsdl";
    String serviceName = "HelloWorld";
    String portName = "HelloIFPort";
    URL helloWsdlUrl = new URL(wsdlString);
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    QName qName = new QName(nameSpaceUri, serviceName);
    Service helloService = serviceFactory.createService(helloWsdlUrl, qName);
    HelloIF myProxy = (HelloIF) helloService.getPort(
    new QName(nameSpaceUri, portName),
    HelloIF.class);
    System.out.println(myProxy.sayHelloBack("Buzz"));
    } catch (Exception ex) {
    ex.printStackTrace();
    And I included the server side HelloIF.class file with this HelloClient file.
    The compilation was successful (ant compile-client)
    but when I try to run this (ant run-client)
    I get this following error log:
    run-client:
    [java] could not find service: {http://hello.org/wsdl}HelloWorld
    in the specified WSDL file. The service names found were: {http://hello.org/wsdl}HelloWorldService
    [java] at com.sun.xml.rpc.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java:110)
    [java] at com.sun.xml.rpc.client.dii.ConfiguredService.<init>(ConfiguredService.java:58)
    [java] at com.sun.xml.rpc.client.dii.ConfiguredService.<init>(ConfiguredService.java:47)
    [java] at com.sun.xml.rpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:38)
    [java] at hello.HelloClient.main(HelloClient.java:18)
    BUILD SUCCESSFUL
    Total time: 7 seconds
    What am I doing wrong? Is it the WSDL URL http://hello.org/wsdl
    that does not exist? If yes, what is the correct name space URI?
    Thanks in advance.
    [email protected]

    namespaceuri should be the same as the urn in the wsdl file.

  • 0FC_BP_ITEMS: ERP customizing and delta mechanism

    Hi BI fans
    I have two questions:
    1.) The following link describes how to make the settings for delta enabling of datasource 0FC_BP_ITEMS:
    http://help.sap.com/saphelp_nw70/helpdata/en/27/42073e774a4329b6dd6bab21eef613/frameset.htm
    Prerequisites-
    "...If you want to use the delta method, you first have to activate it in the Implementation Guide for Contract Accounts Receivable and Payable ->  Integration Business Intelligence -> Maintain Central Settings in the clients of the OLTP system..."
    But I cannot find the setting for "Maintain Centrall Settings" in the implementation guide!
    Any idea from your side?
    What I see are entries for:
    Define Fields for the Extraction of Items
    Define Grid for Grouping of Items
    2.) What is the exact delta logic of this extractor (working through function module)?
    Which fields are relevant for the delta logic?
    Thanks
    BEOplanet

    Hi Andrea
    First of all I activated the whole content (datasource, BW content, etc.).
    Regarding the pseudo-delta on CPUDT I have designed a BEx variable on a DATS 8 time characteristic, e.g. 0NETDUEDATE. It is a BEx variable feeded by a customer exit, you will find a sample coding below. Furthermore an interval variable, mandatory input.
    Screen for BEx variable properties:
    Assign this BEx variable into your infopackage for intended use of pseudo-deltas, type OLAP-variable:
    The sample coding below gives you an idea about our pseudo-delta mechanism, from 1st. of last month until sy-datum.
    Data wa1 like line of e_t_range.
    data d1 type d.
    data fdate type d.
    data fyear type d.
    data ldate type d.
    data fmonth type d.
    case i_vnam.
    when 'ZL2MTDY'. "BEx variable on 0NETDUEDATE or any other DATS 8 time characteristic
    d1 = sy-datum.
    fdate = d1 - 31.
    fdate+6(2) = '01'.
    ldate = sy-datum.
    wa1-opt = 'BT'.
    wa1-sign = 'I'.
    wa1-low = fdate.
    wa1-high = ldate.
    append wa1 to e_t_range.
    ENDCASE.

  • JWSDP 2.0 and SAAJ SOAP - envelope error

    I've integrated JWSDP 2.0 SAAJ security into a J2EE servlet that sends and receives SAAJ SOAP. I have tested and verified all sample security configurations except encryptv1.xml and encryptv2.xml. My issues is that although I am able to encrypt messages within the servlet, I am unable to decrypt. I have a java client running on the command line that interacts with the servlet and it is able to encrypt and decrypt (actually decrypts the encrypted error response raised by the servlet). I am also able to get the client to interact (encrypt/decrypt) successfully with a simpler servlet on standalone tomcat. I am using jboss 4.0.3RC2 and jboss 4.0.4GA both with tomcat55 and java 5. The error I receive is as follows:
    [STDOUT] ERROR: 'NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.'
    [STDOUT] Jun 5, 2006 12:16:13 PM com.sun.xml.messaging.saaj.soap.EnvelopeFactory createEnvelope
    SEVERE: SAAJ0511: Unable to create envelope from given source
    [STDOUT] Jun 5, 2006 12:16:13 PM com.sun.xml.wss.impl.SecurableSoapMessage findSoapHeader
    SEVERE: WSS0369: Error getting SOAPHeader from SOAPEnvelope due to Unable to create envelope from given source:
    [STDOUT] com.sun.xml.wss.XWSSecurityException: com.sun.xml.wss.XWSSecurityException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:
    [STDOUT]      at com.sun.xml.wss.impl.misc.XWSSProcessor2_0Impl.verifyInboundMessage(XWSSProcessor2_0Impl.java:115)
    Any help will be greatly appreciated...

    I figured it out! I needed to remove the Timestamp in the server config file.
    Thanks

  • Third Party integration and Delta Mechanism

    Hi Gurus,
    We have the following Scenario:
    An SAP R/3 system with 3-4 different tables (without TimeStamp) and seperate DBMS (Non-SAP) reporting application with 4-5 different tables (without TimeStamp).
    Questions: What is the best approach to integrate and merge the data together from both of the above systems into SAP BI?
    How do we achieve a mechanism for recording changed records (similar to Delta capability)?
    I appreciate all your help...
    We are on BI 7.0

    You could look at integrating them using a DSO ... otherwise you can handle delta in the DBMS if possible - and DBConnect / UDConnect does not support delta.
    The best option would be to consolidate the same using a DSO in BW and then using the DSO to handle changed records.
    Arun

  • Java "Endorsed" Mechanism not working?

    Hello,
    I came across a very strange issue earlier this week. I was getting a "NoSuchMethodError" from somewhere in my code. Googling the problem revealed that I was supposed to "endorse" some certain jar files (jaxb-api.jar and jaxws-api.jar). Here is where my problem started.
    I added the following option to java when running my code (my jar file(s) ):
    -Djava.endorsed.dirs="/path/endorsed"
    (For the record: YES, the jar files are in that directory. I've tried all sorts of different configurations in terms of this endorsed dirs option, the classpath, and copying/moving files around. I have thus far been unable to get it to work.)
    My code is run from C++ which looks at a conf file to see what options to pass java. This is a potential weakness (an extra "moving part"), but I'm pretty sure these options are concatenated correctly because when I put in the "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=1044" option, it correctly suspends execution until I attach a debugger. Clearly this is a pretty lazy test, but like I said it's passing the option. Unless java is peculiar about the order of these commandline options, I don't see a problem here.
    So, by this point I was pulling my hair out trying to figure this out. I am extremely averse to shoving these jars into the jre/lib/endorsed directory, but I finally tried that (I actually didn't think there was any difference, but it was a last-ditch effort). To my surprise, my code ran fine without the "NoSuchMethodError." So, for now we have this jar file in the "official" jre endorsed directory, but ideally I would be able to figure out this java.endorsed.dirs option so we didn't have to do that (it just seems so dirty - and global, which I especially don't like).
    Getting the full java command is a little trick, but I can provide that if necessary. From what I can see in the code it's being constructed as:
    java <JAVA_OPTIONS> -jar "<MY_JAR>" "<MY_MAIN_ARGS>"
    where:
    <JAVA_OPTIONS> comes from this conf file (which I was setting as '-Djava.endorsed.dirs="/path/endorsed" ')
    <MY_JAR> is the full path to my "main" jar file which obviously references a bunch of other jars, including these jaxws-api and jaxb-api jars.
    <MY_MAIN_ARGS> is the list of arguments passed into the main function which tells "<MY_JAR>" what to do.
    P.S.> I also noticed that if I shove these files into the jre/lib/endorsed directory and I still specify the -Djava.endorsed.dirs option, it acts as though the files are not endorsed ("NoSuchMethodError"). As soon as I take the option out, it starts working (no error). I don't know if this is relevant information besides the fact that it seems the -Djava.endorsed.dirs option is actually being passed, even though it's not doing what I expect (as in, it's affecting the execution in some way so it must be making a difference in the call somehow).
    So, what gives? Why does -Djava.endorsed.dirs not work?

    Hi Gayatri,
    There are a lot of reasons as to why the java stack could be down. Try bouncing the J2EE stack again. ( restart), and see if it works
    All the best!
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Jserv balancing across several machines and failure mechanism

    Hi all,
    I have a question regarding JSERV (ias 1.0.2.2) configured in load balancing (software) across
    several machines (Application Servers). Customer has a 3-tier architecture, like this:
    - a local director
    - two web servers (HTTP Apache)
    - three application servers (Jserv Servlet Engine)
    - a db server (Oracle db)
    I'm investigating on JSERV failure mechanism and I'd like to know if iAS supports a Jserv process failure
    when an application server or jserv process goes down. I want that when a Jserv process or application server goes down, all the java request are managed by the other application server up and running. I tried to simulate a crashing of an application server, but when it goes down that specific request die. Is Jserv failure mechanism supported in iAS 1.0.2.2 ?
    Thank you in advance,
    Regards
    Luigi Capodiferro
    [email protected]

    zittergrotte,
    Its sounds very similar to a persistent and annoying issue that affected all new C2D iMac owners after the 10.4.8 upgrade and I think I read that, re-installing the 10.4.9 combo update over the incremental software update has cured the problem for some users. Have you tried this as yet?
    To all reading: has the wireless connectivity issues that affected so many C2D OSX users after the 10.4.8 update resurfaced in 10.4.9 or is this an isolated incident?
    I hvaen't as yet updated to 10.4.9 cause I lost all faith after being stung on 10.4.8; but even after the apparent cure in the Airport Extreme 2007-002 update, I still get a consistently better connection, surfing time / speed on my works Dell Latitude D620 running WXP SP2. The iMac is generally sporadic and slow at best wirelessly whereas the Windows laptop zips along at quite a speed 95% of the time.
    Quite disappointing to see a Windows machine so consistently outstrip a Mac so conclusively, but the Airport Extreme drivers just appear to be completely naff.
    Luke

  • Help install jwsdp 1.0 and run JAX-RPC  example

    I installed jwsdp1.0 today and I tried to run the Hello world example for JAX-RPC (http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXRPC3.html).
    The problem is with any command passed at the console (ant command or startup (tomcat), deploytool, etc) I always get the following message : Exception in thread "main" java.lang.NoClassDefFoundError: Files/Microsoft.
    The operating system in win XP and jre is 1.4.0.
    The variables I used are JAVA_HOME (D:\Java\j2sdk1.4.0)
    and JWSPD_HOME (d:\java\jwsdp-1_0). Both bin folder are setup on the path variable (%JAVA_HOME%\bin;%JWSPD_HOME%\bin).
    Help will be very much appreciated

    Maybe this is just a typo in your post, but the variable name should be JWSDP_HOME, not JWSPD_HOME.
    Mike

  • DNS SRV Proxy Lookup and Failover Mechanism / Unexpected Behavior

    Group,
    I came across some unexpected behavior yesterday I was wondering if someone could help shed some light on the problem. In my DNS I created this record: _sip._upd.platautofinance.com which when I do a query using MX Toolbox it is correctly reporting the following:
    On the SPA504 I have programmed the SRV records into the system using the following:
    So here is the issue, the phones will register correctly to the primary server but after a length of time ALL the phones will abandon ship and jump to the secondary server and stay there. I have to manually shut the secondary down, reboot the endpoints at which point they will re-register with the primary. So I think I need to understand the mechanism a bit better. Here is what I can think of:
    The phones are not using the primary DNS service record providers DNS servers, we are using OpenDNS instead of Network Solutions <-- Unlikely because the SPA would not be able to resolve the SIP SRV records / servers at all with a broken DNS resolution. I can tell by dropping from the primary to the secondary that resolution is taking place on the phone because they are jumping between the right ones.
    My understanding is the proxy fallback interval should have the phone register (and they should be checking periodically if the primary is available again and if so, re-register the to the lowest-weighted server) but that's not happening without a manual reboot. Once on the secondary they want to stay there.
    My firewall for both the primary and secondary servers do not answer ICMP. 
    So the question is: why do the SPA phones think the primary is offline? What is the mechanism or criteria the SPA uses to determine a server is offline and then rolling to the secondary? Why do they want to stick around the secondary which is using only a best effort connection when we have a bonded T on the primary?
    Thanks as always for your help and input group! Appreciate your time.

    Hello Adam,
    I believe it will be easier if you call SBSC and ask the questions directly. The questions are very good and exact. I will try to answer shortly. Assuming you use only CCA to configure the system.
    1. If you have set dns for your internet connection it should work, you may try with different dns servers. Please delete the SIP trunk and recreate it.
    2. Please delete the SIP trunk and recreate it.
    3. If you need to configure more codecs through CCA you may send feature request using envelope button of the CCA.
    I hope the above answers will be helpful although very short. If they are not helpful please contact SBSC and open a case.
    Best regards,
    Alex

  • Jwsdp 1.3 and weblogic 8.1

    I am using JWSDP 1.3 with WLS 8.1. I have generated client classes using WSDL and JAX-RPC in JWSDP 1.3.
    When I am using these client classes with WLS 8.1, I get errors.
    There may be a conflict between WLS jars and JWSDP jars.
    Please let me know if someone has worked on similar issue.
    Thanks for you help.
    BG

    How do you use JWSDP with WLS ? Is this a supported config ?
    /s
    Badal Garg wrote:
    I am using JWSDP 1.3 with WLS 8.1. I have generated client classes using WSDL and JAX-RPC in JWSDP 1.3.
    When I am using these client classes with WLS 8.1, I get errors.
    There may be a conflict between WLS jars and JWSDP jars.
    Please let me know if someone has worked on similar issue.
    Thanks for you help.
    BG

  • BPEL and retry mechanism

    What does BPEL PM offer with regard to QoS provisions w.r.t partner invocations eg if my attempt to invoke a partner WS fails, can I specify a number of retries?

    Each BPEL PM node includes a recovery agent. The recovery agent wakes up periodically and queries the dehydration store for work that should have been scheduled to be performed and has not be performed yet. For reducing lock contention, we recommend to run the scheduled recovery on one node of the cluster only and manually reprogram another node to become the recoverer if the existing recoverer goes down. -Edwin

  • JWSDP 1.2 and RegistryServer

    I have a problem with JWSDP 1.2.
    All in the Tomcat Server seem to work, but when I want to use RegistryServer, the server return an error HTTP 404.
    If anyone have a solution!!!
    Thanks in advance.

    hi
    I have also problems here the answer of registryserver:
    (tcpmon)
    ==========================================================
    HTTP/1.1 200 OK
    Transfer-Encoding: chunked
    Date: Thu, 14 Aug 2003 11:50:15 GMT
    Server: Apache-Coyote/1.1
    11f
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Header/>
    <soap-env:Body>
    <tModelList generic="2.0" operator="Sun Microsystems Inc." xmlns="urn:uddi-org:api_v2">
    <tModelInfos/>
    </tModelList>
    </soap-env:Body></soap-env:Envelope>
    0
    ==========================================================
    thanks

  • Tomcat50-jwsdp Security Manager and RMI

    I need to know how to configure the Tomcat 5.0 security manager to run RMI applications.
    I'm building a jax-rpc application that uses RMI to access a back-end process.
    I cannot run RMI because no security manager is running:
    java.rmi.RemoteException: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.lang.ClassNotFoundException: wxservice.remote.WebService$Listener (no security manager: RMI class loader disabled); nested exception is:
         java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
         java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
         java.lang.ClassNotFoundException: wxservice.remote.WebService$Listener (no security manager: RMI class loader disabled)However, when I try to enable security using the command
    C:\tomcat50-jwsdp\bin\catalina.bat run -securityI get the following exception:
    java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.commons.launcher.waitForChild read)
            at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
            at java.security.AccessController.checkPermission(AccessController.java:427)
            at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
            at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1285)
            at java.lang.System.getProperty(System.java:627)
            at org.apache.commons.launcher.ChildMain.run(ChildMain.java:199)Any help would be sincerely appreciated.

    First of all, you don't have to use RMISecurityManager as the security manager at all. It's a legacy class from Java 1.1. times that the RMI tutorials continue to refer to, see this thread:
    http://forum.java.sun.com/thread.jsp?forum=58&thread=161874
    Secondly, it is tricky but Java 2 allows a security manager to be set more than once -- it all depends on whether the currently installed manager allows to be replaced [RuntimePermission("setSecurityManager") permission].
    Finally, if you expect that the user will define a security policy through command line, all you have to do is code something like this:
    if (System.getSecurityManager() == null)
       System.setSecurityManager(your_security_manager);to set yours only when nothing was set on the command line.
    Vlad.

Maybe you are looking for