I tried to run the samples so when I run ant in the samples directory somewhere in the end
I get this exception
| init:
| [echo] jboss.home = /usr/local/jboss-4.0.4.GA/
| [echo] tomcat.home = ${tomcat.home}
| [echo] java.home = /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre
| [echo] node0 = ${env.HOSTNAME}
|
|
| compile15:
|
| copy-resources:
|
| generate-sources:
| [wstools] log4j:WARN No appenders could be found for logger
(org.jboss.ws.tools.WSTools).
| [wstools] log4j:WARN Please initialize the log4j system properly.
| [wstools] java.lang.NullPointerException
| [wstools] at java.lang.System.arraycopy(Native Method)
| [wstools] at org.apache.xerces.impl.xs.XSModelImpl.getAnnotations(Unknown
Source)
| [wstools] at
org.jboss.ws.metadata.wsdl.xmlschema.WSSchemaUtils.copyXSModel(WSSchemaUtils.java:737)
| [wstools] at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:180)
| [wstools] at
org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:227)
| [wstools] at
org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118)
| [wstools] at
org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145)
| [wstools] at
org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:121)
| [wstools] at
org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:324)
| [wstools] at org.jboss.ws.tools.WSTools.process(WSTools.java:138)
| [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
| [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
| [wstools] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:276)
| [wstools] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| [wstools] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [wstools] at java.lang.reflect.Method.invoke(Method.java:585)
| [wstools] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
| [wstools] at org.apache.tools.ant.Task.perform(Task.java:342)
| [wstools] at org.apache.tools.ant.Target.execute(Target.java:357)
| [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [wstools] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1282)
| [wstools] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
| [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1134)
| [wstools] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:390)
| [wstools] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:276)
| [wstools] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
| [wstools] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| [wstools] at java.lang.reflect.Method.invoke(Method.java:585)
| [wstools] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
| [wstools] at org.apache.tools.ant.Task.perform(Task.java:342)
| [wstools] at org.apache.tools.ant.Target.execute(Target.java:357)
| [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:385)
| [wstools] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1282)
| [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1251)
| [wstools] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
| [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1134)
| [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:698)
| [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:199)
| [wstools] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:300)
| [wstools] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:106)
|
| BUILD FAILED
|
/usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/build.xml:23:
The following error occurred while executing this line:
|
/usr/local/progrs/jbossws-1.0.3.GA/jbossws-samples-1.0.3.GA/jbossws-samples-1.0.3.GA/jsr181pojo/build.xml:28:
Error running jbossws:
|
|
|
any idea?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980614#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...