David, Of course I am always giving bad examples ;-) They should be named but doesn�t matter how.
The handlers are there in the store web services in order to enlarge the transaction borders around the session beans when you need to serialize/deserialize entity beans (getting/setting values must be transactionally shielded depending on your bean meta-data). If you do not interact with entity beans, you can simply omit them. Otherwise, if you also play around with entity bean serialization, give them the worst "bad names" that you know of, go on ;-) CGJ -----Urspr�ngliche Nachricht----- Von: David Ward [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 22. Juli 2002 16:01 An: [EMAIL PROTECTED] Betreff: Re: AW: [JBoss-user] JBoss.net: error on wsr UNdeployment Dr. Jung, I do have some unnamed handler elements, but I do that because I was following example. In the jboss.net module, there is testsuite/src/resources/store/wsr/META-INF/web-service.xml that has in the requestflow: <handler type="java:org.jboss.net.axis.server.TransactionRequestHandler"/> and in the responseFlow, a similar SerialisationResponseHandler and TransactionResponseHandler. Should I name these (if so, as what)? Actually, do I even need them? The other jboss.net example web-service.xml files don't use them. All my entities, marked as TX "Required", are behind a single SLSB who is also marked as TX "Required" (it's a small app). Thanks, David -- Jung , Dr. Christoph wrote: > David, > > AxisService will turn your deployment element automatically into a > corresponding undeploy element when tearing down your app. Guess it is > complaining about an element > inside the undeploy which could be most likely an unnamed handler, a chain, > or something like that? > > CGJ > > -----Urspr�ngliche Nachricht----- > Von: David Ward [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 19. Juli 2002 23:24 > An: [EMAIL PROTECTED] > Betreff: [JBoss-user] JBoss.net: error on wsr UNdeployment > > > I'm getting a stack trace when I undeploy a wsr (that is housed in an > ear). > > It's complaining that I don't have a 'name' attribute in an > undeployment > element. I'm assuming that it's talking about in web-service.xml, but > here's my confusion: To have a valid XML document, you can only have > one root element. Mine is <deployment/>. Am I supposed to also have an > <undeployment/> element? Maybe in a different xml file? I haven't seen > an example of this. > > How can I make this error go away? > > my env: > JBoss 3.0.1RC1 > Sun JDK 1.4.0_01 > Red Hat 7.1, Linux 2.4.9-31, i686 > > Thanks, > David > > -- > > server.log stack trace: > > 2002-07-19 17:10:11,797 DEBUG [org.jboss.deployment.MainDeployer] > Stopping sub deployment: > file:/data/packages/jboss/3.0.1RC1/server/all/tmp/deploy/server/all/deploy/d > otech-gizzard-app.ear/71.dotech-gizzard-app.ear-contents/dotech-gizzard-axis > .wsr > 2002-07-19 17:10:11,798 INFO [org.jboss.net.axis.server.AxisService] > About to undeploy axis descriptor > org.jboss.deployment.DeploymentInfo@d0f8b676 { > url=file:/data/packages/jboss/3.0.1RC1/server/all/tmp/deploy/server/all/depl > oy/dotech-gizzard-app.ear/71.dotech-gizzard-app.ear-contents/dotech-gizzard- > axis.wsr > } > deployer: org.jboss.net.axis.server.AxisService@29c58e > status: Deployed > watch: > jar:file:/data/packages/jboss/3.0.1RC1/server/all/tmp/deploy/server/all/depl > oy/dotech-gizzard-app.ear/71.dotech-gizzard-app.ear-contents/dotech-gizzard- > axis.wsr!/META-INF/web-service.xml > lastDeployed: 1027112667200 > lastModified: 1027112666000 > mbeans: > , stop step. > 2002-07-19 17:10:11,918 DEBUG [org.apache.axis.ConfigurationException] > Exception: > java.lang.Exception: No ''name'' attribute was specified in an > undeployment element > at > org.apache.axis.ConfigurationException.<init>(ConfigurationException.java:82 > ) > at > org.apache.axis.deployment.DeploymentException.<init>(DeploymentException.ja > va:70) > at > org.apache.axis.deployment.wsdd.WSDDException.<init>(WSDDException.java:72) > at > org.apache.axis.deployment.wsdd.WSDDUndeployment.getQName(WSDDUndeployment.j > ava:126) > at > org.apache.axis.deployment.wsdd.WSDDUndeployment.<init>(WSDDUndeployment.jav > a:145) > at org.jboss.net.axis.server.AxisService.stop(AxisService.java:644) > at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:470) > at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:482) > at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:444) > at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:439) > at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:412) > 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 > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat > cher.java:284) > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy4.undeploy(Unknown Source) > at > org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploymentScan > ner.java:440) > at > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner. > java:523) > at > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab > stractDeploymentScanner.java:202) > at > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs > tractDeploymentScanner.java:191) > 2002-07-19 17:10:11,930 DEBUG [org.jboss.util.NestedThrowable] > org.jboss.util.NestedThrowable.parentTraceEnabled=true > 2002-07-19 17:10:11,935 DEBUG [org.jboss.util.NestedThrowable] > org.jboss.util.NestedThrowable.nestedTraceEnabled=false > 2002-07-19 17:10:11,935 DEBUG [org.jboss.util.NestedThrowable] > org.jboss.util.NestedThrowable.detectDuplicateNesting=true > 2002-07-19 17:10:11,935 ERROR [org.jboss.deployment.MainDeployer] > Undeployment failed: > file:/data/packages/jboss/3.0.1RC1/server/all/tmp/deploy/server/all/deploy/d > otech-gizzard-app.ear/71.dotech-gizzard-app.ear-contents/dotech-gizzard-axis > .wsr > org.jboss.deployment.DeploymentException: Could not undeploy url.; - > nested throwable: (org.apache.axis.deployment.wsdd.WSDDException: > java.lang.Exception: No ''name'' attribute was specified in an > undeployment element) > at org.jboss.net.axis.server.AxisService.stop(AxisService.java:650) > at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:470) > at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:482) > at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:444) > at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:439) > at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:412) > 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 > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat > cher.java:284) > at > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy4.undeploy(Unknown Source) > at > org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploymentScan > ner.java:440) > at > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner. > java:523) > at > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab > stractDeploymentScanner.java:202) > at > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs > tractDeploymentScanner.java:191) > Caused by: org.apache.axis.deployment.wsdd.WSDDException: > java.lang.Exception: No ''name'' attribute was specified in an > undeployment element > at > org.apache.axis.deployment.wsdd.WSDDUndeployment.getQName(WSDDUndeployment.j > ava:126) > at > org.apache.axis.deployment.wsdd.WSDDUndeployment.<init>(WSDDUndeployment.jav > a:145) > at org.jboss.net.axis.server.AxisService.stop(AxisService.java:644) > ... 17 more > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
