[Design of JBoss Web Services] - Re: Using jbossws/trunk for jboss-5.0, jboss-4.2, jboss-4.0.
by dwin
Sorry to be a newbie about this, I am not too familiar with the build environment of JBossWS
The tests fail for me, it doesn't compile. It seems to be another class path issue where Junit.jar cannot be found (the only instance of junit.jar is in jbossws/build/thirdparty). I even put a force get in my ant.properties in the build folder.
I get the following output, it appears to fail at the "main" task. It all fails on Junit classes but it stops at 100 errors. I am guessing even if I do manually junit.jar to the classpath, there will be other dependency errors to deal with. I am guessing there is something wrong with my ant.properties or something did not check out right (via SVN).
| Buildfile: build.xml
|
| prepare:
| [echo] -----------------------------------------------
| [echo] jboss.home = C:\examples\jboss-4.2.x\build\output\jboss-4.2.0.CR1-ejb3
| [echo] tomcat.home = ${tomcat.home}
| [echo] java.home = C:\Sun\AppServer\jdk\jre
| [echo] endorsed.dirs = C:\examples\jboss-4.2.x\build\output\jboss-4.2.0.CR1-ejb3/lib/endorsed
| [echo] -----------------------------------------------
| .
| .
| .
| .
| . (taken out for the sake of keeping the post short)
|
| [unzip] Expanding: C:\examples\jbossws\build\thirdparty\ejb3.deployer.zip into C:\examples\jbossws\build\thirdparty
|
| thirdparty-classpath:
|
| thirdparty:
|
| init:
| [echo] excludefile = tests-jboss42-excludes.txt
|
| compile14:
|
| compile15:
| [javac] Compiling 1006 source files to C:\examples\jbossws\jbossws-tests\output\classes
| [javac] C:\examples\jbossws\jbossws-tests\src\main\java\org\jboss\test\ws\JBossWSTest.java:34: package junit.framework does not exist
| [javac] import junit.framework.TestCase;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-tests\src\main\java\org\jboss\test\ws\JBossWSTest.java:48: cannot find symbol
| [javac] symbol: class TestCase
| [javac] public abstract class JBossWSTest extends TestCase
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-tests\src\main\java\org\jboss\test\ws\JBossWSTestSetup.java:24: package junit.extensions does not exist
| [javac] import junit.extensions.TestSetup;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-tests\src\main\java\org\jboss\test\ws\JBossWSTestSetup.java:25: package junit.framework does not exist
| [javac] import junit.framework.TestSuite;
| [javac] ^
| [javac]
| .
| .
| .
| .
| .
| .(taken out for the sake of keeping the post short)
|
| [javac] 100 errors
|
| compile:
|
| copy-resources:
|
| generate-sources:
| [wstools] log4j:ERROR setFile(null,false) call failed.
| [wstools] java.io.FileNotFoundException: \test.log (Access is denied)
| [wstools] at java.io.FileOutputStream.open(Native Method)
| [wstools] at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
| [wstools] at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
| [wstools] at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
| [wstools] at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
| [wstools] at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:206)
| [wstools] at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
| [wstools] at org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:210)
| [wstools] at org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:140)
| [wstools] at org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:153)
| [wstools] at org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:415)
| [wstools] at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
| [wstools] at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
| [wstools] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
| [wstools] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
| [wstools] at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:602)
| [wstools] at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
| [wstools] at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
| [wstools] at org.jboss.logging.log4j.Log4jLoggerPlugin.init(Log4jLoggerPlugin.java:80)
| [wstools] at org.jboss.logging.Logger.getDelegatePlugin(Logger.java:393)
| [wstools] at org.jboss.logging.Logger.<init>(Logger.java:119)
| [wstools] at org.jboss.logging.Logger.getLogger(Logger.java:357)
| [wstools] at org.jboss.ws.tools.WSTools.<clinit>(Unknown Source)
| [wstools] at org.jboss.ws.tools.ant.wstools.execute(Unknown Source)
| [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
| [wstools] at org.apache.tools.ant.Task.perform(Task.java:364)
| [wstools] at org.apache.tools.ant.Target.execute(Target.java:341)
| [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:369)
| [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
| [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
| [wstools] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
| [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
| [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:668)
| [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:187)
| [wstools] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
| [wstools] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
| [wstools] log4j:ERROR Either File or DatePattern options are not set for appender [FILE].
| [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(Unknown Source)
| [wstools] at org.jboss.ws.tools.JavaToXSD.parseSchema(Unknown Source)
| [wstools] at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(Unknown Source)
| [wstools] at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(Unknown Source)
| [wstools] at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(Unknown Source)
| [wstools] at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(Unknown Source)
| [wstools] at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(Unknown Source)
| [wstools] at org.jboss.ws.tools.WSTools.process(Unknown Source)
| [wstools] at org.jboss.ws.tools.WSTools.generate(Unknown Source)
| [wstools] at org.jboss.ws.tools.ant.wstools.execute(Unknown Source)
| [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
| [wstools] at org.apache.tools.ant.Task.perform(Task.java:364)
| [wstools] at org.apache.tools.ant.Target.execute(Target.java:341)
| [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:369)
| [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
| [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
| [wstools] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
| [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
| [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:668)
| [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:187)
| [wstools] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
| [wstools] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
|
|
Any help would be much apperciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000180#4000180
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000180
17 years, 4 months
[Design of JBoss Web Services] - Re: Using jbossws/trunk for jboss-5.0, jboss-4.2, jboss-4.0.
by dwin
Hey guys
I am following exactly step by step as described in the FAQ, except I use anonymous access to SVN as opposed to the committer access to SVN
I get the following build errors, I don't really want to mess with the class path build paths because it obviously worked for some people. I am obviously missing some jars in my classpath or I have an outdated build.xml file (I checked out the code about two days ago)
| Buildfile: build.xml
|
| prepare:
| [echo] jboss50.home = ${jboss50.home}
| [echo] jboss42.home = C:\examples\jboss-4.2.x\build\output\jboss-4.2.0.CR1-ejb3
| [echo] jboss40.home = C:\examples\jboss-4.0.5\build\output\jboss-4.0.5.GA-ejb3
| [echo] tomcat.home = ${tomcat.home}
|
|
| thirdparty-get:
|
| thirdparty-classpath:
|
| thirdparty:
|
| init:
|
| core-init:
|
| core-compile-classes:
| [javac] Compiling 77 source files to C:\examples\jbossws\jbossws-core\output\classes14
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\JAXRPCException.java:24: package org.jboss.util.id does not exist
| [javac] import org.jboss.util.id.SerialVersion;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\ServiceException.java:24: package org.jboss.util.id does not exist
| [javac] import org.jboss.util.id.SerialVersion;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\ServiceFactory.java:31: package org.jboss.logging does not exist
| [javac] import org.jboss.logging.Logger;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\ServiceFactory.java:49: cannot find symbol
| [javac] symbol : class Logger
| [javac] location: class javax.xml.rpc.ServiceFactory
| [javac] private static Logger log = Logger.getLogger(ServiceFactory.class);
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\soap\SOAPFaultException.java:33: package org.jboss.logging does not exist
| [javac] import org.jboss.logging.Logger;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\soap\SOAPFaultException.java:34: package org.jboss.util.id does not exist
| [javac] import org.jboss.util.id.SerialVersion;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\soap\SOAPFaultException.java:57: cannot find symbol
| [javac] symbol : class Logger
| [javac] location: class javax.xml.rpc.soap.SOAPFaultException
| [javac] private static Logger log = Logger.getLogger(SOAPFaultException.class);
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPException.java:24: package org.jboss.util.id does not exist
| [javac] import org.jboss.util.id.SerialVersion;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPMessage.java:29: package javax.activation does not exist
| [javac] import javax.activation.DataHandler;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\AttachmentPart.java:27: package javax.activation does not exist
| [javac] import javax.activation.DataHandler;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPMessage.java:108: cannot find symbol
| [javac] symbol : class DataHandler
| [javac] location: class javax.xml.soap.SOAPMessage
| [javac] public AttachmentPart createAttachmentPart(DataHandler datahandler)
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\AttachmentPart.java:182: cannot find symbol
| [javac] symbol : class DataHandler
| [javac] location: class javax.xml.soap.AttachmentPart
| [javac] public abstract DataHandler getDataHandler() throws SOAPException;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\AttachmentPart.java:284: cannot find symbol
| [javac] symbol : class DataHandler
| [javac] location: class javax.xml.soap.AttachmentPart
| [javac] public abstract void setDataHandler(DataHandler dataHandler);
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\server\ServletEndpointContext.java:26: package javax.servlet does not exist
| [javac] import javax.servlet.ServletContext;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\server\ServletEndpointContext.java:27: package javax.servlet.http does not exist
| [javac] import javax.servlet.http.HttpSession;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\server\ServletEndpointContext.java:60: cannot find symbol
| [javac] symbol : class HttpSession
| [javac] location: interface javax.xml.rpc.server.ServletEndpointContext
| [javac] public HttpSession getHttpSession();
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\server\ServletEndpointContext.java:78: cannot find symbol
| [javac] symbol : class ServletContext
| [javac] location: interface javax.xml.rpc.server.ServletEndpointContext
| [javac] public ServletContext getServletContext();
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\FactoryLoader.java:34: package org.jboss.logging does not exist
| [javac] import org.jboss.logging.Logger;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\FactoryLoader.java:47: cannot find symbol
| [javac] symbol : class Logger
| [javac] location: class javax.xml.soap.FactoryLoader
| [javac] private static Logger log = Logger.getLogger(MessageFactory.class);
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPConnection.java:24: package org.jboss.util does not exist
| [javac] import org.jboss.util.NotImplementedException;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPConnectionFactory.java:27: package org.jboss.logging does not exist
| [javac] import org.jboss.logging.Logger;
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPConnectionFactory.java:43: cannot find symbol
| [javac] symbol : class Logger
| [javac] location: class javax.xml.soap.SOAPConnectionFactory
| [javac] private static Logger log = Logger.getLogger(SOAPConnectionFactory.class);
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\JAXRPCException.java:36: cannot find symbol
| [javac] symbol : variable SerialVersion
| [javac] location: class javax.xml.rpc.JAXRPCException
| [javac] if (SerialVersion.version == SerialVersion.LEGACY)
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\JAXRPCException.java:36: cannot find symbol
| [javac] symbol : variable SerialVersion
| [javac] location: class javax.xml.rpc.JAXRPCException
| [javac] if (SerialVersion.version == SerialVersion.LEGACY)
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\ServiceException.java:36: cannot find symbol
| [javac] symbol : variable SerialVersion
| [javac] location: class javax.xml.rpc.ServiceException
| [javac] if (SerialVersion.version == SerialVersion.LEGACY)
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\ServiceException.java:36: cannot find symbol
| [javac] symbol : variable SerialVersion
| [javac] location: class javax.xml.rpc.ServiceException
| [javac] if (SerialVersion.version == SerialVersion.LEGACY)
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\ServiceFactory.java:49: cannot find symbol
| [javac] symbol : variable Logger
| [javac] location: class javax.xml.rpc.ServiceFactory
| [javac] private static Logger log = Logger.getLogger(ServiceFactory.class);
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\soap\SOAPFaultException.java:57: cannot find symbol
| [javac] symbol : variable Logger
| [javac] location: class javax.xml.rpc.soap.SOAPFaultException
| [javac] private static Logger log = Logger.getLogger(SOAPFaultException.class);
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\soap\SOAPFaultException.java:68: cannot find symbol
| [javac] symbol : variable SerialVersion
| [javac] location: class javax.xml.rpc.soap.SOAPFaultException
| [javac] if (SerialVersion.version == SerialVersion.LEGACY)
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\rpc\soap\SOAPFaultException.java:68: cannot find symbol
| [javac] symbol : variable SerialVersion
| [javac] location: class javax.xml.rpc.soap.SOAPFaultException
| [javac] if (SerialVersion.version == SerialVersion.LEGACY)
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPException.java:36: cannot find symbol
| [javac] symbol : variable SerialVersion
| [javac] location: class javax.xml.soap.SOAPException
| [javac] if (SerialVersion.version == SerialVersion.LEGACY)
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPException.java:36: cannot find symbol
| [javac] symbol : variable SerialVersion
| [javac] location: class javax.xml.soap.SOAPException
| [javac] if (SerialVersion.version == SerialVersion.LEGACY)
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\FactoryLoader.java:47: cannot find symbol
| [javac] symbol : variable Logger
| [javac] location: class javax.xml.soap.FactoryLoader
| [javac] private static Logger log = Logger.getLogger(MessageFactory.class);
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPConnection.java:69: cannot find symbol
| [javac] symbol : class NotImplementedException
| [javac] location: class javax.xml.soap.SOAPConnection
| [javac] throw new NotImplementedException();
| [javac] ^
| [javac] C:\examples\jbossws\jbossws-core\src\main\java\javax\xml\soap\SOAPConnectionFactory.java:43: cannot find symbol
| [javac] symbol : variable Logger
| [javac] location: class javax.xml.soap.SOAPConnectionFactory
| [javac] private static Logger log = Logger.getLogger(SOAPConnectionFactory.class);
| [javac] ^
| [javac] 35 errors
|
Here is my ant.properties file
| jboss42.home=C:\\examples\\jboss-4.2.x\\build\\output\\jboss-4.2.0.CR1-ejb3
| jboss40.home=C:\\examples\\jboss-4.0.5\\build\\output\\jboss-4.0.5.GA-ejb3
|
| # The JBoss server under test. This can be [jboss50|jboss42|jboss40|tomcat]
| jbossws.integration.target=jboss42
I am running under Windows XP
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000109#4000109
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000109
17 years, 4 months
Q4/2006 recap
by Thomas Diesler
Folks,
I'd like to warm heartedly and sincerely thank you for your continuous
support during Q4/2006. We managed to
- make significant progress in JAXWS
- bring up the WS CTS to 70% of pass rate
- find our way back to a single code base. Which brings the JAXWS
offering to the jboss-4.2, jboss-4.0 folks
- had an excellent JBW Berlin with about 180 people attending the WS
sessions
I won't name you individually and won't point out specific features
since you all did a great job and I would only forget stuff that is
important to you. Regardless, be assured we could only achieve as we did
as a team and as a team I would like to thank you. The team is not just
the dev team, also the support team was doing an excellent job and
making my life really easy - at least on that front ;-)
Q4/2006 was great, Q1/2007 will be even bigger and more important.
- We plan to do our 2.0.0 fully certified release by the end of this
quarter.
- We will have proper JAXWS support and documentation, quick start, etc
- With the 2.0.0.GA release we will leave the "catching up" mode behind
and can finally focus on new exciting areas like ESB, TX integration,
WS-RM and others.
Currently, we have 65 open CTS issues until certification. If on average
the team manages to resolve one issue a day, we should be done by the
end of this quarter. There are of course many uncertainties, but thats
probably a general truth.
Again, thanks for last quarter and I look forward to continue working
with you.
cheers
-thomas
PS: The future is so bright, I almost need my shades.
--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thomas Diesler
Web Service Lead
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
17 years, 4 months