Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error SEVERE: Exception starting filter X509AuthFilter #52

Open
adayanecoutinho opened this issue Oct 16, 2018 · 7 comments
Open

Error SEVERE: Exception starting filter X509AuthFilter #52

adayanecoutinho opened this issue Oct 16, 2018 · 7 comments

Comments

@adayanecoutinho
Copy link

As I try to compile version 1.4.0 this error happens.

Oct 16, 2018 12:19:40 PM org.apache.catalina.core.StandardContext filterStart
SEVERE: Exception starting filter X509AuthFilter
javax.servlet.ServletException: java.lang.NullPointerException
at org.alfresco.web.scripts.servlet.X509ServletFilterBase.init(X509ServletFilterBase.java:103)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:262)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:107)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4775)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5452)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at org.alfresco.solr.servlet.Solr4X509ServletFilter.findCores(Solr4X509ServletFilter.java:133)
at org.alfresco.solr.servlet.Solr4X509ServletFilter.checkEnforce(Solr4X509ServletFilter.java:72)
at org.alfresco.web.scripts.servlet.X509ServletFilterBase.init(X509ServletFilterBase.java:73)
... 12 more

@douglascrp
Copy link
Contributor

Why are you trying to compile the version 1.4.0 when there is already a new version available, which is the 1.4.2?
Have you tried to compile it?
What command are you using? And from what folder are you running it?

@adayanecoutinho
Copy link
Author

In version 1.4.2 I also had errors, then I decided to try version 1.4.0. I am compiling on a linux centos 7 server, I just run the run.sh script.

@douglascrp
Copy link
Contributor

In order to "compile/package" the project, run "mvn install" instead
The AMP files will be generated inside the target folder

@adayanecoutinho
Copy link
Author

Running the run.sh script from pdftoolkit 1.4.2 it does not show error, but finishes executing with the message:
2018-10-16 16: 19: 37,032 INFO [solr.component.AsyncBuildSuggestComponent] [Suggestor-alfresco-1] Loaded suggester shingleBasedSuggestions, took 718 ms

is correct?

@douglascrp
Copy link
Contributor

That means there is an Alfresco server running on your machine.

@adayanecoutinho
Copy link
Author

I was able to compile, installed on alfresco but only the options appear when creating folder rules. Is there anything to do?

@douglascrp
Copy link
Contributor

@adayanecoutinho The actions will appear automatically inside the document libraries for PDF documents.
If that is not the case, so you have something wrong with your setup.
Can you share the versions for alfresco, share, and the addon.
Share the file names too (just to make sure you are using the right files) and the method you used to install it?

I am using it without any problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants