What steps will reproduce the problem?
1.Follow steps on
https://jwebsocket.org/documentation/User-Guide/embedding-jwebsocket-server-tomc
at-web-applications
2.Start Tomcat (7.0+ version) which deploys new webapp
3.Exception
What is the expected output? What do you see instead?
20-Apr-2014 23:52:34.683 SEVERE [localhost-startStop-1] org.apache.catalina.star
tup.HostConfig.deployDirectory Error deploying web application directory C:\mypr
oject\tomcat\webapps\wsClient
java.lang.NoSuchMethodError: org.apache.tomcat.util.buf.UDecoder.URLDecode(Ljav
a/lang/String;)Ljava/lang/String;
at org.apache.tomcat.util.descriptor.web.LoginConfig.setLoginPage(LoginC
onfig.java:117)
at org.apache.tomcat.util.descriptor.web.LoginConfig.<init>(LoginConfig.
java:63)
at org.apache.catalina.startup.ContextConfig.<clinit>(ContextConfig.java
:129)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.jav
a:1125)
at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig
.java:1780)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:47
1)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
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:744)
20-Apr-2014 23:52:34.687 INFO [main] org.apache.coyote.AbstractProtocol.start St
arting ProtocolHandler ["http-apr-8080"]
20-Apr-2014 23:52:34.695 INFO [main] org.apache.coyote.AbstractProtocol.start St
arting ProtocolHandler ["ajp-apr-8009"]
20-Apr-2014 23:52:34.698 INFO [main] org.apache.catalina.startup.Catalina.start
Server startup in 61 ms
What version of the product are you using? On what operating system?
On Windows7, Latest jWebSocketserver, Tomcat ver 8.0
Please provide any additional information below.
I am not able to deploy webapp on Tomcat embedded with jWebSocketServer, with
given documentation, what I am missing here?
I have added WEB-INF folder in jWebSocketClient Demo webapp, added two files
there web.xml & jWebSocket.xml
PFA files.
Original issue reported on code.google.com by anurag.d...@gmail.com on 20 Apr 2014 at 6:32
Original issue reported on code.google.com by
anurag.d...@gmail.com
on 20 Apr 2014 at 6:32Attachments: