Re: How to call an external class from a webapp (i.e. - implement a plugin)

2010-07-07 Thread Goren Il
so the basic idea is: 1. Define an interface (WSDL or named parameters for a post message) 2. Enable specifying the URL of the plugin in the context of the webapp 3. As part of the flow, call that URL with the defined format Did I follow your thought? It seems like an overhead in terms of

Re: [OT] How to call an external class from a webapp (i.e. - implement a plugin)

2010-07-07 Thread André Warnier
Goren Il wrote: so the basic idea is: 1. Define an interface (WSDL or named parameters for a post message) 2. Enable specifying the URL of the plugin in the context of the webapp 3. As part of the flow, call that URL with the defined format Did I follow your thought? It seems like an

listener initialized twice

2010-07-07 Thread daniel polonsky
Hi We have a web application running on Tomcat as a service and because of historical reasons this web app is using ROOT folder (it is ugly but i can't change it). Recently we have added and initializing listener that (implements ServletContextListener) here its definition in web.xml

Re: Strange difference in behavior ELSupport in Tomcat 6.0.20 and Tomcat 6.0.26

2010-07-07 Thread Mark Thomas
On 06/07/2010 22:20, Pid wrote: On 06/07/2010 18:20, Roxana wrote: What i don't understand is why, with the same code , Tomcat 6.0.20 didn't complain. Is the type check in ELSupport stronger now? Have you read to EL specification to see what the correct behaviour should be? Have you

Re: favicon when serving non-html

2010-07-07 Thread Nikola Milutinovic
Why would you? FavIcon is meant as attributes of pages, more specifically pages of whole sites. You can potentially have different FavIcons for different parts of your web site, but that is not common. Resources, which PDF is, have no reason for having a favourite icon. It would be the same

Re: listener initialized twice

2010-07-07 Thread Mark Thomas
On 07/07/2010 10:26, daniel polonsky wrote: *in development * on server 2003 when running under tomcat 6.0.16, i am getting the following info INFO: The listener com.nextnine.web.ComServerConfigListener is already configured for this context. The duplicate definition has been ignored. while

Re: listener initialized twice

2010-07-07 Thread daniel polonsky
Hi Sorry for not being clear, but i still have an issue with the latest version of 6.0.26 tomcat, deployed on Windows 2008 *tomcat log* Jul 7, 2010 11:57:31 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in

Re: listener initialized twice

2010-07-07 Thread Mark Thomas
On 07/07/2010 11:01, daniel polonsky wrote: Hi Sorry for not being clear, but i still have an issue with the latest version of 6.0.26 tomcat, deployed on Windows 2008 Jul 7, 2010 11:57:32 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT

tomcat /manager not working

2010-07-07 Thread Tapas Mishra
I downloaded tomcat 5.5.29 and tried to access an application http://IP of Tomcat server:8080/manager which the doc says http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html that it is included and deployed by default it did not showed me any thing did I miss any thing. -- Tapas

Re: listener initialized twice

2010-07-07 Thread daniel polonsky
and here is the localhost log Jul 7, 2010 11:57:32 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Jul 7, 2010 11:57:32 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Jul 7, 2010 11:57:33 AM

Re: SignatureMethodAlgorithm

2010-07-07 Thread Pid
On 07/07/2010 09:39, Simone Tripodi wrote: Hola Pid On Tue, Jul 6, 2010 at 10:38 PM, Pid p...@pidster.com wrote: I'm working on a prototype integrating the signature-api with the config stuff the spec api. Couple of things: #1 no problems/objections, feel free to commit it ;) #2

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Tomislav Petrović
Tomislav Petrović said on 30.6.2010 16:27: Forgot to say: Tomcat service is started with following parameters: JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Did you find out the exact version? Yup JVM path for tomcat is

the welcome file index.jsp returns an 302 redirection

2010-07-07 Thread lei jiang
Hi, guys: I am using the Tomcat 5.0.28.0, and I put the my website into webapps directory. The welcome-file-list section likes this: welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list In the index.jsp, I use the jsp:forward tag to forward the request to a struts

Re: the welcome file index.jsp returns an 302 redirection

2010-07-07 Thread André Warnier
lei jiang wrote: Hi, guys: I am using the Tomcat 5.0.28.0, and I put the my website into webapps directory. The welcome-file-list section likes this: welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list In the index.jsp, I use the jsp:forward tag to forward the request

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Pid
On 07/07/2010 11:07, Tomislav Petrović wrote: Tomislav Petrović said on 30.6.2010 16:27: Forgot to say: Tomcat service is started with following parameters: JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Did you find out the exact version?

Re: the welcome file index.jsp returns an 302 redirection

2010-07-07 Thread Pid
On 07/07/2010 11:25, André Warnier wrote: lei jiang wrote: Hi, guys: I am using the Tomcat 5.0.28.0, and I put the my website into webapps directory. The welcome-file-list section likes this: welcome-file-list welcome-fileindex.jsp/welcome-file /welcome-file-list In the index.jsp,

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Tomislav Petrović
Pid said on 7.7.2010 12:26: On 07/07/2010 11:07, Tomislav Petrović wrote: Tomislav Petrović said on 30.6.2010 16:27: Forgot to say: Tomcat service is started with following parameters: JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Did you find

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Tapas Mishra wrote: I downloaded tomcat 5.5.29 and tried to access an application http://IP of Tomcat server:8080/manager which the doc says http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html that it is included and deployed by default it did not showed me any thing did I miss any

Re: Strange difference in behavior ELSupport in Tomcat 6.0.20 and Tomcat 6.0.26

2010-07-07 Thread Konstantin Kolinko
2010/7/6 Roxana missbl...@gmail.com: What i don't understand is why, with the same code , Tomcat 6.0.20 didn't complain.  Is the type check in ELSupport stronger now? Yes, it is stronger. In my case i try to compare two different enums: DocboxListColumn  and GenericListColumn, but they both

Re: listener initialized twice

2010-07-07 Thread Mark Thomas
On 07/07/2010 10:44, daniel polonsky wrote: and here is the localhost log Jul 7, 2010 11:57:33 AM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.nextnine.web.ComServerConfigListener

Re: SignatureMethodAlgorithm

2010-07-07 Thread Mark Thomas
On 07/07/2010 10:46, Pid wrote: Wrong list me thinks. Mark On 07/07/2010 09:39, Simone Tripodi wrote: Hola Pid On Tue, Jul 6, 2010 at 10:38 PM, Pid p...@pidster.com wrote: I'm working on a prototype integrating the signature-api with the config stuff the spec api. Couple of things:

Re: tomcat /manager not working

2010-07-07 Thread Mark Thomas
On 07/07/2010 11:50, André Warnier wrote: I have no idea if this triggers secondary unwanted effects. Oddles of them. It breaks large sections of the manager app. If it does not however, then I would respectively suggest to the Tomcat developers to incorporate this as a standard

Re: SignatureMethodAlgorithm

2010-07-07 Thread Pid
On 07/07/2010 12:00, Mark Thomas wrote: On 07/07/2010 10:46, Pid wrote: Wrong list me thinks. Doh. Email address auto-complete FAIL. p Mark signature.asc Description: OpenPGP digital signature

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Pid
On 07/07/2010 11:35, Tomislav Petrović wrote: Pid said on 7.7.2010 12:26: On 07/07/2010 11:07, Tomislav Petrović wrote: Tomislav Petrović said on 30.6.2010 16:27: Forgot to say: Tomcat service is started with following parameters: JVM: have to check whether server or client, not sure at the

Re: EL expressions do not work in tag file (tomcat 6.26)

2010-07-07 Thread Konstantin Kolinko
2010/7/6 赵顺 cnjoy...@gmail.com: there must be a default isELIgnored  flag for tag files once I used %@ tag    import=org.apache.commons.beanutils.BeanUtils    pageEncoding=UTF-8    description= isELIgnored=false % in my tag files and tomcat 6.0.26 says org.apache.jasper.JasperException:

Re: WebappClassLoader clearReferencesThreads

2010-07-07 Thread Konstantin Kolinko
2010/7/6 Leo Donahue - PLANDEVX leodona...@mail.maricopa.gov: Part 2: What is the correct way to make connections to things that are not data sources in Tomcat?  Can Tomcat manage the connection information (machine name, domain, user, password)?  How? There is JNDI support available, so

Re: Updating webapps classes

2010-07-07 Thread Gabriele Bulfon
I get back to this discussion beacuse I was brainstorming again on it, and found that the already present class loader may actually be able to do this alone. My thought was: if Tomcat is capable of managing different application contexts under its work folder, and have them run different

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Mark Thomas wrote: On 07/07/2010 11:50, André Warnier wrote: I have no idea if this triggers secondary unwanted effects. Oddles of them. It breaks large sections of the manager app. If it does not however, then I would respectively suggest to the Tomcat developers to incorporate this as a

Re: listener initialized twice

2010-07-07 Thread daniel polonsky
The same deployment runs OK on other machines and in development, while on server 2008 i am getting this error. java.lang.NoClassDefFoundError is thrown when creating a java.io.FileFilter instance which is part of JDK and we do have a JDK 1.5 installed On Wed, Jul 7, 2010 at 1:59 PM, Mark Thomas

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread André Warnier
Pid wrote: .. I wondered if it doesn't like spaces in File paths. I did not want to ask that question. Good that someone did. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: tomcat /manager not working

2010-07-07 Thread Mark Thomas
On 07/07/2010 13:20, André Warnier wrote: Mark Thomas wrote: On 07/07/2010 11:50, André Warnier wrote: I have no idea if this triggers secondary unwanted effects. Oddles of them. It breaks large sections of the manager app. If it does not however, then I would respectively suggest to the

Re: listener initialized twice

2010-07-07 Thread Mark Thomas
On 07/07/2010 13:22, daniel polonsky wrote: The same deployment runs OK on other machines and in development, while on server 2008 i am getting this error. java.lang.NoClassDefFoundError is thrown when creating a java.io.FileFilter instance which is part of JDK and we do have a JDK 1.5

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Mark Thomas wrote: On 07/07/2010 13:20, André Warnier wrote: Mark Thomas wrote: On 07/07/2010 11:50, André Warnier wrote: I have no idea if this triggers secondary unwanted effects. Oddles of them. It breaks large sections of the manager app. If it does not however, then I would

RE: listener initialized twice

2010-07-07 Thread Caldarale, Charles R
From: daniel polonsky [mailto:danpolon...@gmail.com] Subject: Re: listener initialized twice The same deployment runs OK on other machines and in development, while on server 2008 i am getting this error. Does WEB-INF/classes/tool/HandleFiles$2.class actually exist on your Win2K8

RE: tomcat /manager not working

2010-07-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working So the /* mapping above should win only if none of the others does, no ? Am I missing something ? Yup - you've broken the non-HTML usage of the manager, which is what all the scripts use to access the

Re: listener initialized twice

2010-07-07 Thread daniel polonsky
Thanks, I will give it a shot, although we don't have UI and no JSP files. This application serves as sort of background mail server I can't send you the relevant code, but here is the relevant piece of code *listener class:* public class ComServerConfigListener implements ServletContextListener

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working So the /* mapping above should win only if none of the others does, no ? Am I missing something ? Yup - you've broken the non-HTML usage of the manager, which is what all the

Multiple Tomcat Instance Issues

2010-07-07 Thread Rob Gosling
Hi, I have more or less successfully setup multiple instances of Tomcat using the same $CATALINA_HOME install, but am encountering a couple of issues I can't seem to resolve after searching for answers.  I am running Tomcat 5.5.29 on Windows XP Pro SP3. For each new instance I have performed

RE: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Caldarale, Charles R
From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re: Webapp reloading issue and intermittent 404 errors Don't know have to check with customer, but actual index varies in each occurrence of stack trace, sometimes it is even -1. Here's the code of interest: 127 while (true)

Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread mmg
Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call to request.getLocalName(). For some reason, this call takes a very long time (about 20 seconds!). I profiled the application, and I

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread André Warnier
mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call to request.getLocalName(). For some reason, this call takes a very long time (about 20 seconds!). I profiled the

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread mmg
Thanks for your suggestion. I will ask the system admin to add this entry. The ip address is 69.90.208.57 awarnier wrote: mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application

RE: Multiple Tomcat Instance Issues

2010-07-07 Thread Caldarale, Charles R
From: Rob Gosling [mailto:rob.p...@yahoo.com] Subject: Multiple Tomcat Instance Issues 2) created a bin/setenv.bat setting some JAVA_OPTS and CATALINA_OPTS as follows: set JAVA_OPTS= -XX:MaxPermSize=256M set CATALINA_OPTS= -Xms512m -Xmx1024m You might want to take out the spaces after

RE: tomcat /manager not working

2010-07-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working I am not going to play with /undeploy just to further verify my theory, but does that look like I broke something ? No, it looks like it's working. Things must have changed since the last time I tried

Re: Multiple Tomcat Instance Issues

2010-07-07 Thread Konstantin Kolinko
2010/7/7 Rob Gosling rob.p...@yahoo.com: 1) created a new CATALINA_BASE directory with the following structure:     bin             setenv.bat         conf             |- Catalina |    |- localhost             |        |-admin.xml             |        |-manager.xml        

Re: tomcat /manager not working

2010-07-07 Thread Mark Thomas
On 07/07/2010 15:35, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working I am not going to play with /undeploy just to further verify my theory, but does that look like I broke something ? No, it looks like it's working.

Re: Multiple Tomcat Instance Issues

2010-07-07 Thread Rob Gosling
Hi Chuck, Thanks for that note about /manager/html - that is one thing I had missed - that does work - just using manager (as I was doing) didn't work (resource not available). Yes, there is a logs directory in each $CATALINA_BASE From: Caldarale, Charles

Re: Multiple Tomcat Instance Issues

2010-07-07 Thread Rob Gosling
Hi Konstantin, Thanks for that - that resolved the logging immediately. The guides/documentation I had been following did not mention those files, so I assumed they would be resolved to the ones in $CATALINA_HOME, which was not happening. I was led to believe the docbase had to be an

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Konstantin Kolinko
2010/6/30 Tomislav Petrović t.petro...@inet.hr: Pid said on 30.6.2010 13:06: On 30/06/2010 11:59, Tomislav Petrović wrote:        Context path=/some_webapp docBase=/some_webapp debug=0 reloadable=true crossContext=true        ResourceLink global=jdbc/SomeDB name=jdbc/SomeDB

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Mark Thomas wrote: On 07/07/2010 15:35, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working I am not going to play with /undeploy just to further verify my theory, but does that look like I broke something ? No, it looks like it's

Re: Multiple Tomcat Instance Issues

2010-07-07 Thread André Warnier
Rob Gosling wrote: Hi Chuck, Thanks for that note about /manager/html - that is one thing I had missed - that does work - just using manager (as I was doing) didn't work (resource not available). ..which illustrates the point I was making in another thread, about /manager/html not being

How to implement a webapp class loader

2010-07-07 Thread Goren Il
I would like to implement my on webapp class loader, that will look for jars in specific places (to be defined in the configuration). I would like to inherit the behavior of the default class loader of the webapp, so I can not start use a regular ClassLoader. I considered inheriting from

Re: How to implement a webapp class loader

2010-07-07 Thread Pid
On 07/07/2010 16:05, Goren Il wrote: I would like to implement my on webapp class loader, that will look for jars in specific places (to be defined in the configuration). I would like to inherit the behavior of the default class loader of the webapp, so I can not start use a regular

Re: tomcat /manager not working

2010-07-07 Thread Konstantin Kolinko
2010/7/7 André Warnier a...@ice-sa.com: I have made the change in the Manager's web.xml, restarted Tomcat, and so far all the manager functions and links seem to be working fine. Namely, I have added this mapping at the end of the existing servlet-mappings of the manager webapp's web.xml :

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread Pid
On 07/07/2010 15:08, mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call to request.getLocalName(). For some reason, this call takes a very long time (about 20

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread Rainer Jung
On 07.07.2010 16:08, mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call to request.getLocalName(). For some reason, this call takes a very long time (about 20 seconds!). I

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread mmg
Hi Rainer, Thanks for that suggestion, but it's not my code that's calling the method: it's the icefaces framework so it's out of my control. Mathias Rainer Jung-3 wrote: On 07.07.2010 16:08, mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread Rainer Jung
On 07.07.2010 18:03, mmg wrote: Hi Rainer, Thanks for that suggestion, but it's not my code that's calling the method: it's the icefaces framework so it's out of my control. If you don't find a good other solution, you can write a simple filter, that registers a ServletRequestWrapper, so

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Konstantin Kolinko wrote: 2010/7/7 André Warnier a...@ice-sa.com: I have made the change in the Manager's web.xml, restarted Tomcat, and so far all the manager functions and links seem to be working fine. Namely, I have added this mapping at the end of the existing servlet-mappings of the

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread André Warnier
Pid wrote: On 07/07/2010 15:08, mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call to request.getLocalName(). For some reason, this call takes a very long time (about 20

Re: Very slow HttpServletRequest.getLocalName()

2010-07-07 Thread Pid
On 07/07/2010 17:36, André Warnier wrote: Pid wrote: On 07/07/2010 15:08, mmg wrote: Hello, I've recently deployed an application on our Linux staging server; a Tomcat 5.5.28 server on Java 1.5.0_09-b01. At some point, the application makes a call to request.getLocalName(). For some

Re: tomcat /manager not working

2010-07-07 Thread Mark Thomas
On 07/07/2010 17:21, André Warnier wrote: As far as I know, I am not making any changes to the logic of the manager application by doing this. All I am doing is making the HTMLManager servlet be the default servlet. So when a user requests any URL starting with /manager and not specifically

Re: How to call an external class from a webapp (i.e. - implement a plugin)

2010-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Goren, On 7/6/2010 10:51 AM, Goren Il wrote: There are 2 issues (not in order of priority): 1. The steps are not straight forward, and may cause the system to stop working (the customer should change the WAR suffix to zip, open it, add the files

Re: favicon when serving non-html

2010-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dola, On 7/6/2010 2:34 PM, Dola Woolfe wrote: Thanks for the responses. When I serve up a pdf file with the code below, it shows it in an embedded acrobat, as desired. However, the icon in the browser (in the tab) is the Tomcat logo. I'd

RE: How to call an external class from a webapp (i.e. - implement a plugin)

2010-07-07 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: How to call an external class from a webapp (i.e. - implement a plugin) Another option is to implement your own ClassLoader that scans a directory (such as /my/great/plugins) for JAR files and will load them

Re: How to call an external class from a webapp (i.e. - implement a plugin)

2010-07-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 7/7/2010 3:48 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: How to call an external class from a webapp (i.e. - implement a plugin) Another option is to implement your

RE: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Webapp reloading issue and intermittent 404 errors Given the test on lines 129-130, it is impossible to have a -1 at line 131 - unless there's a JVM bug. 6u21 was just released tonight, so you might give that a shot and see if the problem has been

Re: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Konstantin Kolinko
2010/7/8 Caldarale, Charles R chuck.caldar...@unisys.com: From: Caldarale, Charles R Subject: RE: Webapp reloading issue and intermittent 404 errors Given the test on lines 129-130, it is impossible to have a -1 at line 131 - unless there's a JVM bug. 6u21 was just released tonight, so you

RE: Webapp reloading issue and intermittent 404 errors

2010-07-07 Thread Caldarale, Charles R
From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Subject: Re: Webapp reloading issue and intermittent 404 errors Oh. It matches this case. All three seem to. The issue names mention SSE 4.2, so it supposedly happens only on certain families of Intel CPUs. Right - just Nehalem

SSL problem

2010-07-07 Thread Allen Razdow
Using Tomcat 6.0.14 on an amazon EC2 server instance, trying to get SSL working. 1) succeeded when following Tomcat doc for installing a self-signed certificate so I know server works and can do SSL 2) tomcat gives errors on startup using a .keystore made with java keytool by adding cert