Hi All,
Please advise the url to find the War Archive installation guide.
Seems that it have shifted.
Thanks,
Andrew
Hi All,
Please advise the url to find the War Archive installation guide.
Seems that it have shifted.
Thanks,
Andrew
Hi @bDurtaut
Thanks for the link.
That page used to have windows, war archive installation instructions. Appears to be gone now? Can confirm? Thanks.
Sorry , the link is from sources. I install directly from war on windows without problem .
Hi @bDurtaut ,
Thanks but I am just a half-past-six. So truly needs a good installation guide.
Have multiple non-Axelor issues related to tomcat and postgre sql installation on my windows, which I will try to settle on my own.
Thanks.
Okay, I have settled the non-axelor queries and created
db.default.driver = org.postgresql.Driver
db.default.ddl = update
db.default.url = jdbc:postgresql://localhost:5432/axelor_7.2.4
db.default.user = axelor
db.default.password = *****
4. Copied into tomcat as webapps\axelor-erp-v7.2.4
5. Accessed the url as http://localhost:8080/axelor-erp-v7.2.4
Error message
Type Status Report
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Please advise. Thanks.
db.default.user = axelor-db if is the name on your database settings
Hi @bDurtaut ,
Thanks and have upated it.
Btw, which version of tomcat are you using?
I guess if I can « Start » the axelor applications in tomcat, it should work, but the above 2 is stopping.
Thanks,
Andrew
I use tomcat 9 for 7.2 version
Nice advise on Tomcat and manage to get it up and running.
But facing a redirect issue
localhost redirected you too many times.
ERR_TOO_MANY_REDIRECTS
And have tried
On further logcheck,
Stacktrace:
2023-12-13 12:56:11.512 ERROR 2664 — [nio-8080-exec-3] com.axelor.auth.pac4j.ErrorHandler : An exception occurred processing [index.jsp] at line [40]
37: String appName = settings.get(AvailableAppSettings.APPLICATION_NAME, « My App »);
38: String appDesc = settings.get(AvailableAppSettings.APPLICATION_DESCRIPTION, null);
39: String appHome = settings.get(AvailableAppSettings.APPLICATION_HOME, « #/ »);
40: String appLogo = info.getLogo();
41: String appAuthor = settings.get(AvailableAppSettings.APPLICATION_AUTHOR, « »);
42: String appTheme = info.getTheme();
43: String appMenu = settings.get(AvailableAppSettings.VIEW_MENUBAR_LOCATION, « both »);
Seems getting logo is a issue and caused this redirect?
Do kindly advise if possible. Thanks.
Hi,
Seems that there is a error at
String appHome = settings.get(AvailableAppSettings.APPLICATION_HOME, « #/ »);
How should I troubleshoot this?
Thanks.
What have on the application.home properties ?
Hi @bDurtaut
Not sure why it seems to be an authentication error. Been trying to troubleshoot by removing tomcat persistence but nothing works.
Any chance of a « stroke of genius »? Thanks.
Hi @bDurtaut
Appears that this is not the issue, and though I tried to modify it.
2023-12-20 23:37:37.708 ERROR 7708 — [0.1-8080-exec-9] com.axelor.auth.pac4j.ErrorHandler : An exception occurred processing [index.jsp] at line [40]
37: String appName = settings.get(AvailableAppSettings.APPLICATION_NAME, « My App »);
38: String appDesc = settings.get(AvailableAppSettings.APPLICATION_DESCRIPTION, null);
39: String appHome = settings.get(AvailableAppSettings.APPLICATION_HOME, « #/ »);
40: String appLogo = info.getLogo();
41: String appAuthor = settings.get(AvailableAppSettings.APPLICATION_AUTHOR, « »);
42: String appTheme = info.getTheme();
43: String appMenu = settings.get(AvailableAppSettings.VIEW_MENUBAR_LOCATION, « both »);
How do I know the actual error « 2023-12-20 23:37:37.708 ERROR 7708 — [0.1-8080-exec-9] com.axelor.auth.pac4j.ErrorHandler : An exception occurred processing [index.jsp] at line [40] »
Can’t seem to find the logs.
Thanks.
One thing is I didn’t place the folder at the ROOT level, but directly under webapps.
I tried to place in at ROOT level.
21-Dec-2023 00:09:07.311 SEVERE [http-nio-127.0.0.1-8080-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to find taglib [x] for URI: [WEB-INF/axelor.tld]] with root cause
org.apache.jasper.JasperException: Unable to find taglib [x] for URI: [WEB-INF/axelor.tld]
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:54)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:301)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:82)
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:181)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:435)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:493)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1450)
at org.apache.jasper.compiler.Parser.parse(Parser.java:144)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:245)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:106)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:207)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:392)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:368)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:352)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:603)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:379)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:670)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1794)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:1583)
This errors occurs for « org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [] threw exception [Unable to find taglib [x] for URI: [WEB-INF/axelor.tld]] with root cause »
Thanks.
Hello , put the war in the webapps folder , stop and run tomcat , a repository withe the same name as war was created . Rename the war as axelor.war :
Hi @bDurtaut
Thanks for the screenshot.
The error I get is
127.0.0.1 - - [25/Dec/2023:13:28:57 +0800] « GET /axelor-erp-v7.2.4/ HTTP/1.1 » 302 -
127.0.0.1 - - [25/Dec/2023:13:28:57 +0800] « GET /axelor-erp-v7.2.4/error.jsp HTTP/1.1 » 302 -
127.0.0.1 - - [25/Dec/2023:13:28:57 +0800] « GET /axelor-erp-v7.2.4/login.jsp?error=Authentication%20error HTTP/1.1 » 302 -
Wondering what is the real error?
Thanks.
Can you send error on log file ?