Jwsdp-1_0_01 JAXRPCContextListener failed

I'm trying to deploy a web service created with the jwsdp-1_0_01 api. Weblogic 7.0 loads it up and trys to deploy but we get a ClassCastException:
User defined listener com.sun.xml.rpc.server.http.JAXRPCContextListener failed: java.lang.ClassCastException: weblogic.utils.classloaders.ChangeAwareClassLoader.
JAXRPCContextListener is a standard ServletContextListener used by sun's wsgen and it's listed in the generated web.xml file in the war. This error is preventing the war from being fully deployed.
I'm using sun tutorial example \jwsdp-1_0_01\docs\tutorial\examples\jaxrpc\hello\* with the documentation/instructions at \jwsdp-1_0_01\docs\tutorial\doc\JAXRPC3.html
We've been using webservices on 6.1 for the past year without problems. But I can't get this one to go on 7.0.
Any thoughts?

WLS 7.0 got its own implementation of JAX-RPC. I think, the exception is
because the JAX-RPC factorys are mapped to the WLS impls. You could
remove the mapping by deleting the following files from weblogic.jar or
webservice.jar:
META-INF\services\javax.xml.rpc.ServiceFactory
META-INF\services\javax.xml.soap.MessageFactory
META-INF\services\javax.xml.soap.SOAPConnectionFactory
META-INF\services\javax.xml.soap.SOAPFactory
HTHS,
-manoj
"kris young" <[email protected]> wrote in message
news:3e4446f4$[email protected]..
I'm trying to deploy a web service created with the jwsdp-1_0_01 api.Weblogic 7.0 loads it up and trys to deploy but we get a ClassCastException:
>
User defined listener com.sun.xml.rpc.server.http.JAXRPCContextListenerfailed: java.lang.ClassCastException:
weblogic.utils.classloaders.ChangeAwareClassLoader.
>
JAXRPCContextListener is a standard ServletContextListener used by sun'swsgen and it's listed in the generated web.xml file in the war. This error
is preventing the war from being fully deployed.
>
I'm using sun tutorial example\jwsdp-1_0_01\docs\tutorial\examples\jaxrpc\hello\* with the
documentation/instructions at \jwsdp-1_0_01\docs\tutorial\doc\JAXRPC3.html
>
We've been using webservices on 6.1 for the past year without problems.But I can't get this one to go on 7.0.
>
Any thoughts?

Similar Messages

  • Couldn't startup Tomcat in JWSDP-1_0_01

    Hi,
    I have trouble starting the tomcat using the %JWSDP_HOME%\startup.bat. I traced the process and found out that startup.bat calls catalina.bat in the same folder and the following error is generated right after this line in the catalina.bat. (BTW, I am on Windows XP, J2SE 1.4.0)
    rem Execute the Tomcat launcher
    e:\j2sdk1.4.0\jre\bin\java.exe" -classpath startup\..\catalina.bat\..;"E:\com\sun\java\jwsdp-1_0_01\bin;e:\j2sdk1.4.0\bin;E:\apache\jakarta-ant-1.5\bin;E:\microsoft\visualStudioDotNet\FrameworkSDK\Bin;C:\WI
    NDOWS\Microsoft.NET\Framework\v1.0.3705;E:\j2sdkee1.3.1\bin;e:\PATH;E:\oracle\ora90\bin;e:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\" -Dcom.sun.launcher.executableNam
    e=startup\..\catalina.bat com.sun.jwsdp.launcher.TomcatExecutable start
    THIS IS THE ERROR MESSAGE
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options .....
    As you can tell, I have the %JWSDP_HOME%\bin and the J2SE bin in the path. I even have Ant 1.5.1 installed. But it still fails....
    MY PATH VARIABLE:
    %JWSDP_HOME%\bin;%JAVA_HOME%\bin;%ANT_HOME%\bin;E:\microsoft\visualStudioDotNet\FrameworkSDK\Bin;C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705;%J2EE_HOME%\bin;e:\PATH;E:\oracle\ora90\bin;%EProgramFiles%\Oracle\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%MSSQL_HOME%\80\Tools\BINN;%MSSQL_HOME%\80\Tools\Binn\
    Any idea about this error?
    Any help is greatly appreciated,
    Wilson

    I have the absolutely same problem!
    I was confused about that, so I re-installed the SDK (version 1.4.0.02) and the JWSDP (version 1.0.01). But there was no improvement - its always the same: I type "startup" or "ant" in the console and the following message appears:
    Usage: java [-options] class [args...]
    (to execute a class)
    or java -jar [-options] jarfile [args...]
    (to execute a jar file)
    where options include:
    -client to select the "client" VM
    -server to select the "server" VM
    -hotspot is a synonym for the "client" VM [deprecated]
    The default VM is client.
    If I doubleclick the ant.bat or startup.bat, the same happens!
    I ckecked my PATH variable, but the bin directories of JWSDP and SDK are correct. Also the JWSDP_HOME variable is correct.
    I wished anybody could help. I'm very confused.
    any ideas?
    M. Kretzschmar,
    Germany

  • Error message when using xrpcc in JWSDP 1_0_01

    Dear all,
    I've got the following error message when using xrpcc of JWSDP 1_0_01 for my config.xml file.
    D:\jwsdp-1_0_01\Message>xrpcc -classpath build -both -d build config.xml
    error: invalid element "{http://java.sun.com/jax-rpc-ri/xrpcc-config}configurati
    on" in configuration file (line 2)
    The content of 'config.xml' is shown as follows.
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/jax-rpc-ri/xrpcc-config">
    <rmi name="MessageService"
    targetNamespace="http://messageuri.com/wsdl"
    typeNamespace="http://messageuri/types">
    <service name="MyMessage" packageName="Message">
    <interface name="Message.MessageIF"
    servantName="Message.MessageImpl"/>
    </service>
    </rmi>
    </configuration>
    Thank you for your kind attention!
    Regards,
    Eddie

    Thanks all! I've already solved my previous problem, however, i got another one now.
    =========================================================
    error: unknown model info in configuration file (line 5)
    =========================================================
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <rmi name="MessageService"
    targetNamespace="http://messageuri.com/wsdl"
    typeNamespace="http://messageuri.com/types">
    <service name="MyMessage" packageName="Message">
    <interface name="Message.MessageIF"
    servantName="Message.MessageImpl" />
    </service>
    </rmi>
    </configuration>
    Thanks,
    Eddie

  • Jwsdp-1_0_01 and wsdeploy Tool

    Hi,
    I am using "jwsdp-1_0_01" software for developing/deploying web serivces, i just installed the software and run the demo Helloworld example it runes fine. but when i developed new Web Service and try to deploy the service using that "wsdeploy" tool (i am using ant build files for that which were bundeled with the demo application) i got a error mesage (see below).
    error: modeler error: uniqueness constraint violation.
    I don't know from where comes that error message but what i know is that, it could be because of any wrong mapping in one of manny ".xml" file. where ..? i have't any clue. If some one have any idea please do response.
    P.S - the same web service is running fine with previous version of Web service development kit, but at that time i used xrpcc tool for making server side code.

    Hi,
    There has been some changes on the JAXRPC side which
    recquires you to to rebuild your jaxrpc end points and
    deploy the endpoints freshly on the new jwsdp1_0_01
    download .......
    Please try that and post back on if you still get the
    constraint error - asengup

  • JWSDP-1_0_01 and xrpcc

    With the JWSDP-1_0_01, when I try to run xrpcc I get this error...
    Exception in thread "main" java.lang.NoClassDefFoundError: Files
    What am I missing here?

    I experienced the same problem. The way I solved: Edited the last line of xrpcc.bat file (in JWSDP-1_0_01\bin directory) to take out the PATH which created a too long command line. But I have to add the bin directory of JWSDP!
    Original text:
    "%JAVA_HOME%\bin\java.exe" -classpath %PRG%\..;"%PATH%" -Dcom.sun.launcher.executableName=%PRG% com.sun.jwsdp.launcher.XRPCCExecutable %CMD_LINE_ARGS%
    Modified text:
    "%JAVA_HOME%\bin\java.exe" -classpath %PRG%\..;c:\JWSDP-1_0_01\bin -Dcom.sun.launcher.executableName=%PRG% com.sun.jwsdp.launcher.XRPCCExecutable %CMD_LINE_ARGS%
    John

  • JWSDP 1.1 fails to install on Linux/JDK 1.4.1_01

    I just tried to install JWSDP 1.1 on Linux with a JDK 1.4.1_01 and failed miserably. That happened both when doing the install as root or as normal user. The installer displays an error page without any error message. The log.txt contains the following exception:
    (Feb 28, 2003 2:43:08 PM), Setup.product.install, com.installshield.product.service.product.PureJavaProductServiceImpl$Installer, err, ServiceException: (error code = 315; message = ""; severity = 0)
    STACK_TRACE: 22
    ServiceException: (error code = 315; message = ""; severity = 0)
    at com.ibm.wizard.platform.linux.LinuxRegistryServiceImpl.getPackageInfo(LinuxRegistryServiceImpl.java:221)
    at com.ibm.wizard.platform.linux.LinuxRegistryServiceImpl.getSoftwareObject(LinuxRegistryServiceImpl.java:144)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.installshield.wizard.service.LocalImplementorProxy.invoke(LocalImplementorProxy.java:52)
    at com.installshield.wizard.service.AbstractService.invokeImpl(AbstractService.java:51)
    at com.installshield.product.service.registry.GenericRegistryService.getSoftwareObject(GenericRegistryService.java:120)
    at com.installshield.product.service.product.PureJavaProductServiceImpl.setSoftwareObject(PureJavaProductServiceImpl.java:1582)
    at com.installshield.product.service.product.PureJavaProductServiceImpl.access$14(PureJavaProductServiceImpl.java:1578)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.addToVPD(PureJavaProductServiceImpl.java:4662)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.checkInstalledVersion(PureJavaProductServiceImpl.java:4632)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitSoftwareObject(InstallableObjectVisitor.java:252)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBean(InstallableObjectVisitor.java:171)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:122)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4355)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3590)
    at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:40)
    at java.lang.Thread.run(Thread.java:536)
    Has anyone had similar problems?
    A few general remarks for Sun:
    I only needed JAXB 1.0, why do I have to get the whole JWSDP? Why do I have to deal with this @$#! installer?

    I did,
    installation with 1.4.0_03 and running under 1.4.1_02.
    It does work so far.
    I would like to know what this is all about - but I don't
    want to invest my time in something stupid like that.
    Makes you wonder how Sun tests their own software before
    they release it.
    Cheers,
    Torsten
    <quote>
    This release of the Java Web Services Developer Pack has been tested with various configurations with the Java 2 SDK, Standard Edition version 1.3.1_07, 1.4.0_03, and 1.4.1_01 on the following platforms:
    * Sun SolarisTM Operating Environment 8 and 9
    * Windows 2000 Professional Edition
    * Windows XP Professional Edition
    * RedHat Linux 7.2
    </quote>
    well, I tried 1.4.1_01 as well - and - surprise - it didn't work
    either ?!

  • I just install jwsdp-1_0_01.What is "Model" on web service page

    What is Model at http://localhost:8080/hello-jaxrpc/hello?model ?

    This is a model is a complete description of the web service that the JAX-RPC RI uses to generate all code and other artifacts.

  • JWSDP1.1 fails to install!

    Hi all,
    I have an annoying problem: neither jwsdp-1_0_01-windows-i586.exe nor
    jwsdp-1_1-windows-i586.exe will install on my home machine as the both produce the following error message:
    "A suitable JVM could not be found. Please run the installer again using the option -is:javahome <JAVA HOME DIR> CreateProcess failed ==> The process cannot access the file because it is being used by another process. "
    JAVA_HOME=G:\j2sdk1.4.1_01 ( Eclipse, Sun One Studio, Tomcat 4.1 are all happily using it!)
    Also, jwsdp-1_1-windows-i586.exe -console is:javahome G:\j2sdk1.4.1_01
    will produce the error message shown above.
    Any ideas anyone?
    Regards
    Daniel

    I had the same problem. Then I installed j2sdk1.4.1_02. Even then the web services installaion wizard didn't detect it. I had to set the path to the dir where I had installed sdk. Hope it helps.

  • Ant deploy fails

    I installed configured the Java Web Services Dev Pack 1.0_01. I built installed and tested the HelloWorld Java-RPC example without any problem. Next I tried creating a new Web Service but when I try to deploy it I get the following error:
    C:\Projects\MyRPCTest\source>ant deploy
    Buildfile: build.xml
    deploy:
    BUILD FAILED
    Total time: 1 second
    C:\Projects\MyRPCTest\source\build.xml:14: java.io.IOException: Server returned
    HTTP response code: 403 for URL: http://localhost:8080/lmrp/deploy?path=%2Flmrp-jaxrpc
    Has anyone seen this error and know a solution?

    Figured it out. I changed my build.xml to point build.properties in Java Web Services directory.
    <property file="/jwsdp-1_0_01/docs/tutorial/examples/jaxrpc/common/build.properties"/>

  • Jwsdp - examples  ant install problem

    hi,
    this is what i get when trying to install bookstore1 example app with ant (-verbose)install.
    ant prepare and ant build worked successfully. can someone give me a hint what i have to change? thanks a lot. jens
    Ant version 1.4.1 compiled on July 31 2002
    Buildfile: build.xml
    Detected Java version: 1.4 in: /home/jens/sdk1.4/jre
    Detected OS: Linux
    parsing buildfile /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.xml with URI = file:/home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.xml
    Project base dir set to: /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1
    [property] Loading /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.properties
    [property] Unable to find property file: /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.properties
    [property] Loading /home/jens/build.properties
    Build sequence for target `install' is [init, prepare, build, install]
    Complete build sequence is [init, prepare, build, install, reload, package, deploy, remove, list, undeploy]
    init:
    prepare:
    build:
    [javac] cart/ShoppingCart.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/cart/ShoppingCart.class is up to date.
    [javac] cart/ShoppingCartItem.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/cart/ShoppingCartItem.class is up to date.
    [javac] util/Currency.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/util/Currency.class is up to date.
    [javac] util/Counter.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/util/Counter.class is up to date.
    [javac] messages/BookstoreMessages.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/messages/BookstoreMessages.class is up to date.
    [javac] messages/BookstoreMessages_es.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/messages/BookstoreMessages_es.class is up to date.
    [javac] database/BookDB.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/database/BookDB.class is up to date.
    [javac] database/BookDetails.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/database/BookDetails.class is up to date.
    [javac] exception/BookNotFoundException.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/exception/BookNotFoundException.class is up to date.
    [javac] exception/BooksNotFoundException.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/exception/BooksNotFoundException.class is up to date.
    [javac] exception/OrderException.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/exception/OrderException.class is up to date.
    [javac] CatalogServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/CatalogServlet.class is up to date.
    [javac] BookDetailsServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/BookDetailsServlet.class is up to date.
    [javac] filters/HitCounterFilter.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/filters/HitCounterFilter.class is up to date.
    [javac] filters/OrderFilter.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/filters/OrderFilter.class is up to date.
    [javac] filters/CharResponseWrapper.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/filters/CharResponseWrapper.class is up to date.
    [javac] ReceiptServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/ReceiptServlet.class is up to date.
    [javac] listeners/ContextListener.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/listeners/ContextListener.class is up to date.
    [javac] BannerServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/BannerServlet.class is up to date.
    [javac] BookStoreServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/BookStoreServlet.class is up to date.
    [javac] ShowCartServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/ShowCartServlet.class is up to date.
    [javac] CashierServlet.java omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/classes/CashierServlet.class is up to date.
    [copy] web.xml omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/WEB-INF/web.xml is up to date.
    [copy] duke.books.gif omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/duke.books.gif is up to date.
    [copy] errorpage.html omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/errorpage.html is up to date.
    [copy] context.xml omitted as /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build/META-INF/context.xml is up to date.
    install:
    [install] FAIL - Encountered exception java.io.IOException: java.lang.reflect.InvocationTargetException
    BUILD FAILED
    /home/jens/jwsdp-1_0_01/docs/tutorial/examples/web/bookstore1/build.xml:91: FAIL - Encountered exception java.io.IOException: java.lang.reflect.InvocationTargetException
    at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:278)
    at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:171)
    at org.apache.catalina.ant.InstallTask.execute(InstallTask.java:157)
    at org.apache.tools.ant.Task.perform(Task.java:217)
    at org.apache.tools.ant.Target.execute(Target.java:184)
    at org.apache.tools.ant.Target.performTasks(Target.java:202)
    at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    at org.apache.tools.ant.Main.runBuild(Main.java:454)
    at org.apache.tools.ant.Main.start(Main.java:153)
    at org.apache.tools.ant.Main.main(Main.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.launcher.Launcher.main(Launcher.java:208)
    --- Nested Exception ---
    FAIL - Encountered exception java.io.IOException: java.lang.reflect.InvocationTargetException
    at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:274)
    at org.apache.catalina.ant.AbstractCatalinaTask.execute(AbstractCatalinaTask.java:171)
    at org.apache.catalina.ant.InstallTask.execute(InstallTask.java:157)
    at org.apache.tools.ant.Task.perform(Task.java:217)
    at org.apache.tools.ant.Target.execute(Target.java:184)
    at org.apache.tools.ant.Target.performTasks(Target.java:202)
    at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    at org.apache.tools.ant.Main.runBuild(Main.java:454)
    at org.apache.tools.ant.Main.start(Main.java:153)
    at org.apache.tools.ant.Main.main(Main.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.launcher.Launcher.main(Launcher.java:208)

    Unable to load the launcher file index. Invalid file type in file index.
    what is wrong here? ive downloaded file for 3 hours and this is what i get?

  • Wsdeploy problem on jdk1.5 with tomcat 4.1.2 and jwsdp 1.0.0.1

    We're trying to upgrade to jdk1.5 from 1.4.0. We're running tomcat 4.1.2 and jwsdp 1.0.0.1. When running wsdeploy, we're receiving the following error:
    [echo] Running wsdeploy...
    [echo] /db/dbdev/jwsdp-1_0_01/bin/wsdeploy.sh -tmpdir build/wsdeploy-generated -o dist/cpws.war dist/cpws-portable.war -verbose
    [exec] Note: sun.tools.javac.Main has been deprecated.
    [exec] 1 warning
    [exec] error: javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:/export/home/dnassirp/RIDE/Profiler/build/wsdeploy-generated/jaxrpc-deploy-a64a8e/WEB-INF/web.xml (No such file or directory)
    [exec] javax.xml.transform.TransformerException: java.io.FileNotFoundException: file:/export/home/dnassirp/RIDE/Profiler/build/wsdeploy-generated/jaxrpc-deploy-a64a8e/WEB-INF/web.xml (No such file or directory)
    [exec] at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:1043)
    [exec] at org.apache.xalan.transformer.TransformerImpl.createResultContentHandler(TransformerImpl.java:934)
    The original web.xml file does exist (but in it's original location). There is a web-before.xml in the wsdeploy-generated directory but no web.xml (we're execting that wsdeploy should generate this).
    Has anyone else had this problem? Any suggestions?
    Thanks.

    I'm seeing exactly the same thing in Netbeans.
    I upgraded to Netbeans 5.0 today and used a JDK1.5 (1.5.0_06) that I already had installed as the JDK for it.
    I see exactly the same problem (web.xml not found) with an ant build script that does a wscompile first and which works fine with my previous Netbeans 4.1 install. My Netbeans 4.1 was using a 1.4.2_02 JDK.

  • Tomcat 4.0.4 Internal Server Error with JWSDP 1.0.01 examples

    Hi,
    I am trying to run the JWSDP 1.0.01 tutorial examples with
    Apache Tomcat 4.0.4. I have j2sdk 1.4.0.01 installed on
    Windows 2000.
    I have successfully built and installed the 'date' example
    jwsdp-1_0_01\docs\tutorial\examples\web\date. When I point my browser at http://localhost:8080/date/ I get the following:
    Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
    1 error, 1 warning
    at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)
    Any ideas ?
    Thanks,
    Mike.

    Check if you've the latest servlet.jar file
    -Dieter

  • Error deploying JAX-RPC war in JBoss

    I am using the JBoss 3.0.3 with Tomcat 4.1.12. After creating a JAX-RPC application I have tried deploying the completed war to JBoss, but get an error saying that Jboss cannot find the:
    com.sun.xml.rpc.server.JAXRPCContextListener. java.lang.ClassNotFoundException
    This class lives in the jaxrpc-ri.jar file, from the jwsdp-1_0_01 distribution (Java Web Services Developer Pack). I've tried copying this jar file to the Jboss lib directory, but it still doesn't get past the error.
    How can install this jar (and/or other JAX-RPC jars) for Jboss to use? See server errors below:
    9:56:31,071 INFO [Engine] WebappLoader[VehicleInfoService]: Deploy class files /WEB-INF/classes/space/jboss/jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/work/MainEngine/localhost/VehicleInfoService/WEB-INF/classes
    19:56:31,671 INFO [Engine] ContextConfig[VehicleInfoService]: Added certificates -> request attribute Valve
    19:56:31,852 INFO [EmbeddedCatalinaService41] Using Java2 parent classloader delegation: true
    19:56:31,853 INFO [Engine] StandardManager[VehicleInfoService]: Seeding random number generator class java.security.SecureRandom
    19:56:31,856 INFO [Engine] StandardManager[VehicleInfoService]: Seeding of random number generator has been completed
    19:56:32,141 ERROR [Engine] StandardContext[VehicleInfoService]: Error configuring application listener of class com.sun.xml.rpc.server.http.JAXRPCContextListener
    java.lang.ClassNotFoundException:
    com.sun.xml.rpc.server.http.JAXRPCContextListener
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1428)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3217)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3524)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
    at org.jboss.web.catalina.EmbeddedCatalinaService41.createWebContext(EmbeddedCatalinaService41.java:427)
    at org.jboss.web.catalina.EmbeddedCatalinaService41.performDeploy(EmbeddedCatalinaService41.java:302)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
    at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
    at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
    at $Proxy4.deploy(Unknown Source)
    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:427)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:648)
    at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499)
    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
    at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
    at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:397)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
    at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)

    Deploy the jax-rpc implementation along with your application.
    The library is found in the Webservices Developers Kit at
    jaxrpc-1.0.3/lib/jaxrpc-ri.jar

  • Problem with JAX-RPC tutorial

    I am studying "The JavaTM Web Services Tutorial"-Java API for XML-based RPC.
    When I read "Deploying the Service", I encounter some errors.
    I type "ant deploy".
    Here is error message:
    Buildfile: build.xml
    deploy:
    BUILD FAILED
    Total time: 3 seconds
    D:\jwsdp-1_0_01\docs\tutorial\examples\jaxrpc\hello\build.xml:14: java.io.FileNotFoundException: http://localhost:8080/manager/deploy?path=%2Fhello-jaxrpc
    I don't know what to do.I can't get any infomation from the tutorial.
    Please help me.Thanks.

    OK!
    I have solved this problem.
    I put build.properties in my home directory(On WinXP, C:\Documents and Settings\myProfile).
    The file looks like this:
    username=my_username
    password=my_password
    I think, when I deploy my web service to Tomcat, Tomcat need to verifiy my infomation. So, I must provide my authorization information to Tomcat.
    build.properties contains infomation which I provide.
    Read "Creating the Build Properties File" in JavaWSTutorial for more details

  • The command "ant install" is not running

    I have a problem when I entered the command "ant install" in the .
    I am using the JWSDP and I followed the procedure to install this web service package, but when I try to run the ANT task install, the result is:
    C:\jwsdp-1_0_01\docs\tutorial\examples\web\hello1>ant install
    Buildfile: build.xml
    init:
    prepare:
    build:
    [javac] Compiling 1 source file to C:\jwsdp\docs\tutorial\examples\web\hello
    1\build\WEB-INF\classes
    install:
    BUILD FAILED
    Total time: 14 seconds
    C:\jwsdp-1_0_01\docs\tutorial\examples\web\hello1\build.xml:86: java.io.FileNotF
    oundException: http://localhost:8080/manager/install?path=%2Fhello1&war=file%3AC
    %3A%5Cjwsdp%2Fdocs%2Ftutorial%2Fexamples%2Fweb%2Fhello1%2Fbuild
    The log
    access_log.2003-03-14.txt
    127.0.0.1 - - [14/Mar/2003:23:48:44 -0300] "GET /hello1/greeting?username=plautz HTTP/1.1" 200 -
    127.0.0.1 - - [14/Mar/2003:23:48:48 -0300] "GET /hello1/greeting?username=Tchau HTTP/1.1" 200 -
    127.0.0.1 - - [14/Mar/2003:23:51:27 -0300] "GET /manager/install?path=%2Fhello1&war=file%3AC%3A%5Cjwsdp%2Fdocs%2Ftutorial%2Fexamples%2Fweb%2Fhello1%2Fbuild HTTP/1.1" 401 -
    Path C:\oracle\ora81\bin;
    C:\oracle\ora81\Apache\Perl\5.00503\bin\mswin32-x86;
    C:\Program Files\Oracle\jre\1.1.7\bin;
    %SystemRoot%\system32;%SystemRoot%;
    %SystemRoot%\System32\Wbem;
    %PATH%;%ANT_HOME%\bin;
    %PATH%;
    c:\jdk1.3.1\bin;
    c:\jwsdp\bin
    ANT_HOME %=JWSDP_HOME%
    JAVA_HOME c:\jdk1.3.1
    JWSDP_HOME c:\jwsdp
    The servlet that I am using is the first one that comes with the JWSDP-TUTORIAl.
    The diretory C:\JWSDP is the home for the web server pachage
    C:\JWSDP-1_0_01 is the diretory of the tutorial package.
    I have Windows 2000 professional install in my Laptop.
    I have this problem for more than two weeks.
    Thanks in advance
    Plautz

    Hello. I've made that.
    1. Create build.bat in the folder docs\tutorial\examples\web\hello1 with a content:
    =================================
    set JWSDP_HOME=c:/jwsdp-1_0_01
    %JWSDP_HOME%/bin/ant.bat -buildfile build.xml -logfile build.log %1
    =================================
    2. You have to specify a correct server manager username and password to the build.xml at the line 86. You can find these in the %JWSDP_HOME%/conf/tomcat-users.xml or you have to add the username, password and associate with a role "manager". This is the tomcat-users.xml content:
    =================================
    <?xml version='1.0'?>
    <tomcat-users>
    <role rolename="manager"/>
    <role rolename="provider"/>
    <role rolename="admin"/>
    <user username="your_name" password="your_password" roles="admin,manager,provider"/>
    </tomcat-users>
    =================================
    This is the build.xml correct content at line 86:
    =================================
    <target name="install" description="Install web application"
    depends="build">
    <install url="${url}" username="your_name" password="your_password"
    path="${path}" war="file:${build}"/>
    </target>
    3. Run Tomcat.
    4. Run 'build.bat install' command.
    Good luck.

Maybe you are looking for

  • [Solved]Having trouble with Grub detecting Windows 8 in dualboot

    Hey there, I have a UEFI board. When I first installed archlinux I did not used the Windows boot partition. To fix this I loaded up the installation media, mounted the partitions as they should be, mounting the microsoft boot partition as /mnt/boot a

  • "File is already open or in use by another application"

    I get "File is already open or in use by another application" when opening a PDF in Acrobat and Reader. Only happens intermittently.Files are on a network share. It doesn't seem to happen as often if Acrobat/Reader are already running. Sometimes it w

  • PDF file creatiom

    Hi, I have one important requirement! I have some data in a oracle table & based on that I want to generate a .PDF file which store the data. Is there any way to create a pdf file in PL/SQL like we create HTML file using set mark up html on. Please l

  • Iphoto crashing while upgrading library

    i transferred my old photo library from my iMac G4 (10.2.8) to my iMac OSX (10.6.7) by trashing the OSX Iphoto folder and importing the G4 folder via FireWire. Now when i try to open Iphoto it says I have to choose a Library, which I do. Then it says

  • Why Does FCE capture DV audio as dual mono instead of stereo?

    FCE captures DV audio as dual mono audio files instead of a single stereo audio file. You can see this if you "Show Movie Properties" in Quicktime. Files I captured in Premiere 6 years ago have a single stereo file. The problem is that the new dual m