Hi all,
Are there any official docs for how to run Tomcat as an embedded server?
Searching returns some results such as
https://devcenter.heroku.com/articles/create-a-java-web-application-using-embedded-tomcat
but I haven't seen any official docs.
Are there any?
Thanks in advance,
Behrang
After updating to Tomcat 8.5.49 starting TC on daemon fails with:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:48)
at java.base/java.lang.String.charAt(String.java:709)
at
org.apache.com
On 23/11/2019 09:43, i...@flyingfischer.ch wrote:
> After updating to Tomcat 8.5.49 starting TC on daemon fails with:
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> at java.base/java.lang.StringLatin1.charAt(StringLatin1.java:48)
> at java.base/java.l
On 23/11/2019 08:17, Behrang Saeedzadeh wrote:
> Hi all,
>
> Are there any official docs for how to run Tomcat as an embedded server?
> Searching returns some results such as
> https://devcenter.heroku.com/articles/create-a-java-web-application-using-embedded-tomcat
> but I haven't seen any offici
openjdk version "13.0.1" 2019-10-15
OpenJDK Runtime Environment Zulu13.28+11-CA (build 13.0.1+10-MTS)
OpenJDK 64-Bit Server VM Zulu13.28+11-CA (build 13.0.1+10-MTS, mixed
mode, sharing)
Linux
built with
commons-daemon-native
tomcat-native (./configure --with-apr=/usr/bin/apr-1-config
--with-java
On 23/11/2019 15:38, i...@flyingfischer.ch wrote:
> openjdk version "13.0.1" 2019-10-15
> OpenJDK Runtime Environment Zulu13.28+11-CA (build 13.0.1+10-MTS)
> OpenJDK 64-Bit Server VM Zulu13.28+11-CA (build 13.0.1+10-MTS, mixed
> mode, sharing)
And how are you calling jsvc?
>From the stack trace i
I will create a PR if I find the time to write one.
On Sat, Nov 23, 2019 at 9:40 PM Mark Thomas wrote:
> On 23/11/2019 08:17, Behrang Saeedzadeh wrote:
> > Hi all,
> >
> > Are there any official docs for how to run Tomcat as an embedded server?
> > Searching returns some results such as
> >
> ht
When sending such a request, Tomcat throws an exception:
$ curl -d documentDate=foo -d documentOwner=A123
localhost:8080/file-server/a/upload
SEVERE
[http-nio-8080-exec-16]
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service()
for servlet [A.UploadServlet]
in context with path [/f
My bad. It is documented in the API Java Docs:
* @throws ServletException if this request is not of type
* multipart/form-data
On Sun, Nov 24, 2019 at 3:15 PM Behrang Saeedzadeh
wrote:
> When sending such a request, Tomcat throws an exception:
>
> $ curl -d documentDate=foo -d documentOwner=A1