I have setup the Qtcreator kits for NRF52832 as
mainly in this post:
search:'edgetx/wiki/Building-and-debugging-with-Qt-Creator'
All builds and deploy fine but when I start the debugger I get this:
7:25:56: Unable to create a debugging engine.
SEGGER J-Link GDB Server V6.88a Command Line Version
JLinkARM.dll V6.88a (DLL compiled Nov 18 2020 16:08:10)
Command line: -port 2331 -select usb -if SWD -speed 1000 -device NRF52832_XXAA
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: yes
Generate logfile: off
Verify download: off
Init regs on start: off
Silent mode: off
Single run mode: off
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: NRF52832_XXAA
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
17:25:57: The program has unexpectedly finished.
17:25:57: The process was ended forcefully.
17:25:57: /opt/SEGGER/JLink/JLinkGDBServer crashed.
</code>
Though from a shell command
<code>
$ /opt/SEGGER/JLink/JLinkGDBServer -port 2331 -select usb -if SWD -speed 1000 -device NRF52832_XXAA
SEGGER J-Link GDB Server V6.88a Command Line Version
JLinkARM.dll V6.88a (DLL compiled Nov 18 2020 16:08:10)
Command line: -port 2331 -select usb -if SWD -speed 1000 -device NRF52832_XXAA
-----GDB Server start settings-----
GDBInit file: none
GDB Server Listening port: 2331
SWO raw output listening port: 2332
Terminal I/O port: 2333
Accept remote connection: yes
Generate logfile: off
Verify download: off
Init regs on start: off
Silent mode: off
Single run mode: off
Target connection timeout: 0 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: NRF52832_XXAA
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Feb 2 2021 16:47:20
Hardware: V1.00
S/N: 682207044
Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
Checking target voltage...
Target voltage: 3.30 V
Listening on TCP/IP port 2331
Connecting to target...
Connected to target
Waiting for GDB connection..
I resolved the issue.
Qt->tools->options->kits->debugger->Manual [arm-none-eabi-gdb-py] from the toolchain I use
apt install --reinstall libpython2.7
I have a rabbitmq cluster setup in AWS. The 2 machines are ha-all, mirrored queued and they are behind an ELB. The queue name hips.preprod.queue has a springamqp consumer. The springamqp version is 3.3.4.
The consumer connects to the ELB and not the hosts directly. When the consumer connects to the rabbit cluster a single connection is created. But after sometime I see more connections in rabbit on the same IP but on a different socket. The weird part is that the some clients under the Connection tab indicates that the version is 3.2.4 and other clients 3.3.4. I also checked the classpath of my consumer and I cannot find any 3.2.4 amqp jar. I am at a total loss as to how is it possible to have same client with different version. Has anyone experienced anything similar to this.
Below is the data from Connections tab
Network Overview
Name Protocol Client Node From client To client Timeout Channels Virtual host User name State
10.161.2.178:27238 AMQP 0-9-1 RabbitMQ / Java3.3.4 rabbit#infopush-rabbit2 17B/s(37kB total) 8B/s(24kB total) 1s 1 /INFOPUSH
running
10.161.2.178:27312 AMQP 0-9-1 RabbitMQ / Java3.2.4 rabbit#infopush-rabbit2 1B/s(2.4kB total) 1B/s(1.2kB total) 25s 1 /INFOPUSH
running
10.161.2.178:27711 AMQP 0-9-1 RabbitMQ / Java3.3.4 rabbit#infopush-rabbit2 17B/s(20kB total) 9B/s(10kB total) 1s 1 /INFOPUSH
running
10.161.2.178:28833 AMQP 0-9-1 RabbitMQ / Java3.2.4 rabbit#infopush-rabbit1 1B/s(2.8kB total) 0B/s(1.4kB total) 25s 1 /INFOPUSH
running
10.161.2.178:29093 AMQP 0-9-1 RabbitMQ / Java3.2.4 rabbit#infopush-rabbit1 0B/s(2.5kB total) 0B/s(1.2kB total) 25s 1 /INFOPUSH
running
10.161.2.178:29692 AMQP 0-9-1 RabbitMQ / Java3.3.4 rabbit#infopush-rabbit1 16B/s(15kB total) 9B/s(7.9kB total) 1s 3 /INFOPUSH
running
10.161.2.92:10032 AMQP 0-9-1 RabbitMQ / Java3.2.4 rabbit#infopush-rabbit2 1B/s(1.7kB total) 0B/s(857B total) 25s 1 /INFOPUSH
running
10.161.2.92:56573 AMQP 0-9-1 RabbitMQ / Java3.3.4 rabbit#infopush-rabbit1 17B/s(40kB total) 8B/s(21kB total) 1s 4 /INFOPUSH
running
10.161.2.92:56703 AMQP 0-9-1 RabbitMQ / Java3.2.4 rabbit#infopush-rabbit1 1B/s(1.7kB total) 0B/s(1.1kB total) 25s 1 /INFOPUSH
running
10.161.2.92:9352 AMQP 0-9-1 RabbitMQ / Java3.3.4 rabbit#infopush-rabbit2 17B/s(46kB total) 9B/s(29kB total) 1s 5 /INFOPUSH
running
10.161.2.92:9506 AMQP 0-9-1 RabbitMQ / Java3.2.4 rabbit#infopush-rabbit2 1B/s(2.5kB total) 0B/s(1.2kB total) 25s 1 /INFOPUSH
running
Thanks
-Parshu
Sorry for not updating this post. I found out that another app had a connection leak which was using rabbit 3.2.4. Because rabbit is behind an ELB it was hard to track down the faulty application.
This issue is fixed now.
Thanks
-Parshu
My hard drive crashed earlier. It looks like my Clojure install was affected. When I try to do lein repl I am greeted with the following error.
$ lein repl
Exception in thread "Thread-5" java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:241)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:228)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:431)
at java.net.Socket.connect(Socket.java:527)
at java.net.Socket.connect(Socket.java:476)
at java.net.Socket.<init>(Socket.java:373)
at java.net.Socket.<init>(Socket.java:187)
at clojure.tools.nrepl$connect.doInvoke(nrepl.clj:184)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.tools.nrepl.ack$send_ack.invoke(ack.clj:47)
at clojure.tools.nrepl.server$start_server.doInvoke(server.clj:146)
at clojure.lang.RestFn.invoke(RestFn.java:619)
at user$eval597.invoke(NO_SOURCE_FILE:0)
at clojure.lang.Compiler.eval(Compiler.java:6703)
at clojure.lang.Compiler.eval(Compiler.java:6693)
at clojure.lang.Compiler.eval(Compiler.java:6666)
at clojure.core$eval.invoke(core.clj:2927)
at leiningen.core.eval$fn__4815.invoke(eval.clj:314)
at clojure.lang.MultiFn.invoke(MultiFn.java:231)
at leiningen.core.eval$eval_in_project.invoke(eval.clj:337)
at clojure.lang.AFn.applyToHelper(AFn.java:160)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core$apply.invoke(core.clj:626)
at leiningen.repl$server$fn__8776.invoke(repl.clj:203)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core$apply.invoke(core.clj:624)
at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1862)
at clojure.lang.RestFn.invoke(RestFn.java:425)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at clojure.core$apply.invoke(core.clj:628)
at clojure.core$bound_fn_STAR_$fn__4140.doInvoke(core.clj:1884)
at clojure.lang.RestFn.invoke(RestFn.java:397)
at clojure.lang.AFn.run(AFn.java:22)
at java.lang.Thread.run(Thread.java:695)
REPL server launch timed out.
My leiningen install is via homebrew, so I tried uninstalling and then reinstalling.
$ brew rm --force leiningen
Uninstalling leiningen...
$ brew install leiningen
==> Downloading https://github.com/technomancy/leiningen/archive/2.4.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/leiningen-2.4.2.tar.gz
==> Downloading https://github.com/technomancy/leiningen/releases/download/2.4.2/leining
Already downloaded: /Library/Caches/Homebrew/leiningen--jar-2.4.2.jar
==> Caveats
Dependencies will be installed to:
$HOME/.m2/repository
To play around with Clojure run `lein repl` or `lein help`.
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completion has been installed to:
/usr/local/share/zsh/site-functions
==> Summary
🍺 /usr/local/Cellar/leiningen/2.4.2: 8 files, 13M, built in 2 seconds
No dice. I still get the same error. What broke and how do I fix it?
Edit:
Additional diagnostic info:
$ lein repl :headless
nREPL server started on port 56785 on host 127.0.0.1 - nrepl://127.0.0.1:56785
$ lein repl :connect localhost:56785
Connecting to nREPL at localhost:56785
ConnectException Connection refused
java.net.PlainSocketImpl.socketConnect (PlainSocketImpl.java:-2)
java.net.PlainSocketImpl.doConnect (PlainSocketImpl.java:382)
java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:241)
java.net.PlainSocketImpl.connect (PlainSocketImpl.java:228)
java.net.SocksSocketImpl.connect (SocksSocketImpl.java:431)
java.net.Socket.connect (Socket.java:527)
java.net.Socket.connect (Socket.java:476)
java.net.Socket.<init> (Socket.java:373)
java.net.Socket.<init> (Socket.java:187)
clojure.tools.nrepl/connect (nrepl.clj:184)
clojure.core/apply (core.clj:624)
clojure.tools.nrepl/add-socket-connect-method!/fn--5686 (nrepl.clj:226)
Bye for now!
$ ping localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.059 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.133 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.141 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.149 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.119 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.078 ms
^C
--- localhost ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.059/0.113/0.149/0.033 ms
$ lein repl :connect 127.0.0.1:56785
Connecting to nREPL at 127.0.0.1:56785
REPL-y 0.3.1
Clojure 1.6.0
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
I am trying to write a webservice with netbeans and when i use tomcat server it can deploy but can not start. the following message is what netbeans says when i try to start the webapp on tomcat in servers tab:
Failed application at context path /webapp could not be started.
this is its log
Jul 22, 2014 9:11:12 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Jul 22, 2014 9:11:12 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.LinkageError: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/E:/ETC_PlazaStationSoft/WebApp/build/web/WEB-INF/lib/webservices-rt.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/)
************************************WARNING*************************************
To use JAX-WS 2.1 with JDK 6, newer versions of API jars need to be in bootclasspath
before rt.jar. To do this you can use Java endorsed mechanism to override what is in
Java platform. The easiest way to do so is to put JAX-WS 2.1 and JAXB 2.1 API jars to
C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 7.0.22\endorsed folder.
java.lang.LinkageError: JAXB 2.1 API is being loaded from the bootstrap classloader, but this RI (from jar:file:/E:/ETC_PlazaStationSoft/WebApp/build/web/WEB-INF/lib/webservices-rt.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.2 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.6.0/docs/guide/standards/)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.(ModelBuilder.java:173)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:456)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:302)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1140)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:106)
at com.sun.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:109)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:161)
at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:154)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:153)
at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:258)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:338)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:201)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:505)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:253)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:124)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Jul 22, 2014 9:11:12 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Jul 22, 2014 9:11:12 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/WebApp] startup failed due to previous errors
Jul 22, 2014 9:11:12 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFO: WSSERVLET13: JAX-WS context listener destroyed
I created a Maven web application which name is "aa3" on Netbeans. I choose Tomcat server which Netbeans installed. And then I added a web service class. A warning appeared, it says:
I choose Yes.
Then I run my project but it did not work.
Outputs are:
aa3
cd /home/ekcdr/NetBeansProjects/aa3; JAVA_HOME=/usr/lib/jvm/java-7-oracle /home/ekcdr/netbeans-7.3/java/maven/bin/mvn -Dnetbeans.deploy=true -Dnetbeans.deploy.clientUrlPart=/NewWebService package
Scanning for projects...
------------------------------------------------------------------------
Building aa3 1.0-SNAPSHOT
------------------------------------------------------------------------
[dependency:copy]
[resources:resources]
[debug] execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory /home/ekcdr/NetBeansProjects/aa3/src/main/resources
[compiler:compile]
Compiling 1 source file to /home/ekcdr/NetBeansProjects/aa3/target/classes
[resources:testResources]
[debug] execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory /home/ekcdr/NetBeansProjects/aa3/src/test/resources
[compiler:testCompile]
No sources to compile
[surefire:test]
No tests to run.
Surefire report directory: /home/ekcdr/NetBeansProjects/aa3/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[war:war]
Packaging webapp
Assembling webapp [aa3] in [/home/ekcdr/NetBeansProjects/aa3/target/aa3-1.0-SNAPSHOT]
Processing war project
Copying webapp resources [/home/ekcdr/NetBeansProjects/aa3/src/main/webapp]
Webapp assembled in [79 msecs]
Building war: /home/ekcdr/NetBeansProjects/aa3/target/aa3-1.0-SNAPSHOT.war
WEB-INF/web.xml already added, skipping
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 8.208s
Finished at: Fri May 24 19:06:43 EEST 2013
Final Memory: 16M/132M
------------------------------------------------------------------------
NetBeans: Deploying on Apache Tomcat 7.0.34.0
profile mode: false
debug mode: false
force redeploy: true
Starting Tomcat process...
Waiting for Tomcat...
Tomcat server started.
Undeploying ...
OK - Undeployed application at context path /aa3
In-place deployment at /home/ekcdr/NetBeansProjects/aa3/target/aa3-1.0-SNAPSHOT
Deployment is in progress...
deploy?config=file%3A%2Ftmp%2Fcontext6381208068383234000.xml&path=/aa3
FAIL - Deployed application at context path /aa3 but context failed to start
The module has not been deployed.
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:210)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:178)
at org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:130)
at org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:212)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Apache Tomcat 7.0.34.0 Log
May 24, 2013 4:50:15 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
java.lang.ClassNotFoundException: com.sun.xml.ws.transport.http.servlet.WSServletContextListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:536)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1462)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1445)
at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:860)
at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:357)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
May 24, 2013 4:50:15 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
May 24, 2013 4:50:47 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Error configuring application listener of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
java.lang.ClassNotFoundException: com.sun.xml.ws.transport.http.servlet.WSServletContextListener
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:532)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:133)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1256)
at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:376)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
May 24, 2013 4:50:47 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Skipped installing application listeners due to previous error(s)
Apache Tomcat 7.0.34.0
May 24, 2013 7:06:47 PM org.apache.catalina.core.AprLifecycleListener init
Using CATALINA_BASE: /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base
Using CATALINA_HOME: /home/ekcdr/apache-tomcat-7.0.34
Using CATALINA_TMPDIR: /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/temp
Using JRE_HOME: /usr/lib/jvm/java-7-oracle
Using CLASSPATH: /home/ekcdr/apache-tomcat-7.0.34/bin/bootstrap.jar:/home/ekcdr/apache-tomcat-7.0.34/bin/tomcat-juli.jar
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-7-oracle/jre/lib/amd64:/usr/lib/jvm/java-7-oracle/jre/lib/i386::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
May 24, 2013 7:06:48 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8084"]
May 24, 2013 7:06:48 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
May 24, 2013 7:06:48 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2289 ms
May 24, 2013 7:06:49 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
May 24, 2013 7:06:49 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.34
May 24, 2013 7:06:49 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/d1.xml
May 24, 2013 7:06:49 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /home/ekcdr/NetBeansProjects/d1/target/d1-1.0-SNAPSHOT does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4906)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5086)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
May 24, 2013 7:06:49 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
May 24, 2013 7:06:49 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
May 24, 2013 7:06:49 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/d1] startup failed due to previous errors
May 24, 2013 7:06:49 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/aa2.xml
May 24, 2013 7:06:58 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener parseAdaptersAndCreateDelegate
SEVERE: WSSERVLET11: failed to parse runtime descriptor: java.lang.NoClassDefFoundError: org/glassfish/ha/store/api/BackingStoreException
java.lang.NoClassDefFoundError: org/glassfish/ha/store/api/BackingStoreException
at com.sun.xml.ws.transport.http.servlet.ServletAdapter.<init>(ServletAdapter.java:95)
at com.sun.xml.ws.transport.http.servlet.ServletAdapterList.createHttpAdapter(ServletAdapterList.java:77)
at com.sun.xml.ws.transport.http.servlet.ServletAdapterList.createHttpAdapter(ServletAdapterList.java:53)
at com.sun.xml.ws.transport.http.HttpAdapterList.createAdapter(HttpAdapterList.java:77)
at com.sun.xml.ws.transport.http.HttpAdapterList.createAdapter(HttpAdapterList.java:71)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:266)
at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:152)
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.parseAdaptersAndCreateDelegate(WSServletContextListener.java:131)
at com.sun.xml.ws.transport.http.servlet.WSServletContainerInitializer.onStartup(WSServletContainerInitializer.java:65)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5274)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.ClassNotFoundException: org.glassfish.ha.store.api.BackingStoreException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 22 more
May 24, 2013 7:06:58 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/aa2] startup failed due to previous errors
May 24, 2013 7:06:58 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/d6_tc_yes.xml
May 24, 2013 7:06:58 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /home/ekcdr/NetBeansProjects/d6_tc_yes/target/d6_tc_yes-1.0-SNAPSHOT does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4906)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5086)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
May 24, 2013 7:06:58 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
May 24, 2013 7:06:58 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
May 24, 2013 7:06:58 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/d6_tc_yes] startup failed due to previous errors
May 24, 2013 7:06:58 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/aa1.xml
May 24, 2013 7:07:01 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/aa1] startup failed due to previous errors
May 24, 2013 7:07:01 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/deneme1.xml
May 24, 2013 7:07:01 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /home/ekcdr/NetBeansProjects/deneme1/target/deneme1-1.0-SNAPSHOT does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4906)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5086)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
May 24, 2013 7:07:01 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
May 24, 2013 7:07:01 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
May 24, 2013 7:07:01 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/deneme1] startup failed due to previous errors
May 24, 2013 7:07:01 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/ROOT.xml
May 24, 2013 7:07:01 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/a1.xml
May 24, 2013 7:07:01 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /home/ekcdr/NetBeansProjects/a1/build/web does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4906)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5086)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
May 24, 2013 7:07:01 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
May 24, 2013 7:07:01 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
May 24, 2013 7:07:01 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/a1] startup failed due to previous errors
May 24, 2013 7:07:01 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/manager.xml
May 24, 2013 7:07:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/aa3.xml
May 24, 2013 7:07:02 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/aa3] startup failed due to previous errors
May 24, 2013 7:07:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/deneme2.xml
May 24, 2013 7:07:02 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /home/ekcdr/NetBeansProjects/deneme2/build/web does not exist or is not a readable directory
at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4906)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5086)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:657)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1637)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)
May 24, 2013 7:07:02 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error in resourceStart()
May 24, 2013 7:07:02 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error getConfigured
May 24, 2013 7:07:02 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/deneme2] startup failed due to previous errors
May 24, 2013 7:07:02 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8084"]
May 24, 2013 7:07:02 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
May 24, 2013 7:07:02 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 13561 ms
May 24, 2013 7:07:03 PM org.apache.catalina.util.LifecycleBase stop
INFO: The stop() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/aa3]] after stop() had already been called. The second call will be ignored.
May 24, 2013 7:07:03 PM org.apache.catalina.startup.HostConfig deleteRedeployResources
INFO: Undeploying context [/aa3]
May 24, 2013 7:07:03 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor /home/ekcdr/.netbeans/7.3/apache-tomcat-7.0.34.0_base/conf/Catalina/localhost/aa3.xml
May 24, 2013 7:07:04 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/aa3] startup failed due to previous errors
What is the problem in my project?
You need to copy ha-api.jar to your Tomcat/lib regardless if your project is bundled with jaxb-api or not (Mine is).