P.S.

About the attached link: please take care to the doc starting from documentation at "Deployment directories" section.

Il 05/09/19 16:04, Dalrymple, Philip ha scritto:
OK I will give that a go.


--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed.  If you have received this email in error,
please advise postmas...@mdtsoft.com <mailto:postmas...@mdtsoft.com>.

3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005

Philip W. Dalrymple III <p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003

________________________________________
From: Andrea Patricelli <andreapatrice...@apache.org>
Sent: Thursday, September 5, 2019 10:03
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login

Ok, maybe I got your first problem.

Please follow this [1]. Basically, in order to do a correct deploy, you
should build with a special mvn command specifying bundles, logs and
conf directories and, moreover, in order to let Syncope take correct
configuration parameters (like for the jdbc connection) copy some of the
properties files in sources under the specific conf directory.

HTH,
Andrea

[1] https://syncope.apache.org/docs/2.1/reference-guide.html#customization

Il 05/09/19 15:56, Dalrymple, Philip ha scritto:
OK this is weird

I did a

sudo find / -name "*core*.log*" -print

and only find the logs from my first try using docker.
(was not able to customize well enough and switched to
maven deleting the docker images)

I will keep looking.


--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed.  If you have received this email in error,
please advise postmas...@mdtsoft.com <mailto:postmas...@mdtsoft.com>.

3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005

Philip W. Dalrymple III <p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003

________________________________________
From: Dalrymple, Philip <p...@mdtsoft.com>
Sent: Thursday, September 5, 2019 9:53
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login


OK I need to find where the logs are.

--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed.  If you have received this email in error,
please advise postmas...@mdtsoft.com <mailto:postmas...@mdtsoft.com>.

3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005

Philip W. Dalrymple III <p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003

________________________________________
From: Andrea Patricelli <andreapatrice...@apache.org>
Sent: Thursday, September 5, 2019 9:52
To: user@syncope.apache.org
Subject: Re: Syncope trying to deploy using Maven and not getting login

Hi Philip,

you should check core.log, core-rest.log, core-persistence.log and
core-connid.log files in order to understand what is the problem.
The NOT FOUND error in console simply means that core is unavailable,
probably because it failed to start.

Please check for exceptions in core*.log files and attach it into this
thread.

Best regards,
Andrea

Il 05/09/19 15:32, Dalrymple, Philip ha scritto:
I am trying to deploy Syncope using the Maven method. I have followed the
instructions in

http://syncope.apache.org/docs/2.1/getting-started.html#maven-project

and then edited core/src/main/resources/domains/Master.properties

to have the correct postgres password, I re-did the mvn clean install
and placed the war files in my tomcat/webapps directory, they deployed
without me restarting tomcat.

When I got to http://XXXXX:8080/syncope-console I get a 500 error (see below)
when I got to .../syncope or .../syncope/index.html or .../syncope-enduser I 
get a 404 error.

I checked in WEB-INF/classes/persistence.properties  (in syncope) and it had the
correct DB user, host, and password info and I verified that I could connect to 
the DB BUT
the DB was empty.

the stack trace on the syncope-console


type Exception report

message Unable to instantiate web session class 
org.apache.syncope.client.console.SyncopeConsoleSession

description The server encountered an internal error that prevented it from 
fulfilling this request.

exception

org.apache.wicket.WicketRuntimeException: Unable to instantiate web session 
class org.apache.syncope.client.console.SyncopeConsoleSession
        
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:121)
        
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
        org.apache.wicket.Session.get(Session.java:176)
        
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
        
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
        
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
        
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
        
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
        
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
        
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
        
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
        
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
        
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
        
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)

root cause

java.lang.reflect.InvocationTargetException
        sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
        
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
        org.apache.wicket.Session.get(Session.java:176)
        
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
        
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
        
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
        
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
        
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
        
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
        
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
        
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
        
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
        
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
        
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)

root cause

javax.xml.ws.WebServiceException: Remote exception with status code: NOT_FOUND
        
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:76)
        
org.apache.syncope.client.lib.RestClientExceptionMapper.fromResponse(RestClientExceptionMapper.java:42)
        
org.apache.cxf.jaxrs.client.ClientProxyImpl.checkResponse(ClientProxyImpl.java:372)
        
org.apache.cxf.jaxrs.client.ClientProxyImpl.handleResponse(ClientProxyImpl.java:948)
        
org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:854)
        
org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:295)
        com.sun.proxy.$Proxy119.platform(Unknown Source)
        
org.apache.syncope.client.console.SyncopeConsoleSession.<init>(SyncopeConsoleSession.java:103)
        sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        
org.apache.wicket.authroles.authentication.AuthenticatedWebApplication.newSession(AuthenticatedWebApplication.java:117)
        
org.apache.wicket.Application.fetchCreateAndSetSession(Application.java:1555)
        org.apache.wicket.Session.get(Session.java:176)
        
org.apache.syncope.client.console.SyncopeConsoleSession.get(SyncopeConsoleSession.java:91)
        
org.apache.syncope.client.console.SyncopeConsoleRequestCycleListener.onException(SyncopeConsoleRequestCycleListener.java:80)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
        
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:126)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection$4.notify(RequestCycleListenerCollection.java:122)
        
org.apache.wicket.util.listener.ListenerCollection.notify(ListenerCollection.java:80)
        
org.apache.wicket.request.cycle.RequestCycleListenerCollection.onException(RequestCycleListenerCollection.java:121)
        
org.apache.wicket.request.cycle.RequestCycle.handleException(RequestCycle.java:368)
        
org.apache.wicket.request.cycle.RequestCycle.executeExceptionRequestHandler(RequestCycle.java:314)
        
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:259)
        
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
        
org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
        
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
        
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)


thanks


--
This email, and any files transmitted with it, are confidential
and intended solely for the use of the individual or entity to
whom they are addressed.  If you have received this email in error,
please advise postmas...@mdtsoft.com <mailto:postmas...@mdtsoft.com>.

3480 Preston Ridge Road
Suite 450
Alpharetta, GA 30005

Philip W. Dalrymple III <p...@mdtsoft.com>
MDT Software - Automation Management Company
+1 678 297 1001
Fax +1 678 297 1003
--
Dott. Andrea Patricelli
Tel. +39 3204524292

Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member

--
Dott. Andrea Patricelli
Tel. +39 3204524292

Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member

--
Dott. Andrea Patricelli
Tel. +39 3204524292

Engineer @ Tirasa S.r.l.
Viale Vittoria Colonna 97 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member

Reply via email to