pflanzenmoerder / wicktiviti

Wicket Aciviti integration
10 stars 1 forks source link

Activiti jars don't get downloaded/arent' available #1

Open chrisco484 opened 11 years ago

chrisco484 commented 11 years ago

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

<repositories>
    <repository>
        <id>activiti</id>
        <name>Activiti Repository</name>
        <url>http://maven.alfresco.com/nexus/content/repositories/activiti/</url>
    </repository>
</repositories>
pflanzenmoerder commented 11 years ago

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

— Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1..

chrisco484 commented 11 years ago

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/
  • Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1..

Reply to this email directly or view it on GitHub https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-133 30825 ..

https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif

pflanzenmoerder commented 11 years ago

It definitely isnÄt a Wicket 6 problem. I just mentioned that because I still need to port it. You might try to first install the parent into your local repo by doing a "mvn install" in the parent -directory. Not sure why the relative path is not working for you. Might be because you are on windows. I only use Linux/Max OS so I don't really have a chance to test it. As soon as I get my hands on a Window machine I will try to resolve your issue. CU Jochen

On Sun, Feb 10, 2013 at 4:17 AM, chrisco484 notifications@github.comwrote:

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1..

Reply to this email directly or view it on GitHub https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-133 30825 ..

https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif

— Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13343725..

chrisco484 commented 11 years ago

Ah yes, it's probably a Windows issue. The Wicket source code itself had a problem compiling on windows a few months back. They fixed it in a way that it worked for Windows and Linux somehow.


From: Jochen Mader [mailto:notifications@github.com] Sent: Monday, 11 February 2013 9:34 AM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

It definitely isnÄt a Wicket 6 problem. I just mentioned that because I still need to port it. You might try to first install the parent into your local repo by doing a "mvn install" in the parent -directory. Not sure why the relative path is not working for you. Might be because you are on windows. I only use Linux/Max OS so I don't really have a chance to test it. As soon as I get my hands on a Window machine I will try to resolve your issue. CU Jochen

On Sun, Feb 10, 2013 at 4:17 AM, chrisco484 notifications@github.comwrote:

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

<https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif>

  • Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13343725..

Reply to this email directly or view it on GitHub https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13362895 .. https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif

chrisco484 commented 11 years ago

Ok, it compiles when I build the parent first! Yeehah!

I looked up the Windows compile problem that wicket had. It was something to do with a tool called clirr. They ended up replacing '/' with OS agnostic file separator characters. This may or may not be the issue with building your project on windows.

Here's a link to the discussion:

http://mail-archives.apache.org/mod_mbox/wicket-users/201212.mbox/%3CA8E CB884346DC145B471FE2494746F71D31A7E@falcon.stepahead.local%3E

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/
  • Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1..

Reply to this email directly or view it on GitHub https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-133 30825 ..

https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif

chrisco484 commented 11 years ago

Looks like Spring hasn't injected the Identity object into the logon page because identity is null. Probably a venture into XML hell will be required to solve this one.

Regards, Chris Root cause: java.lang.NullPointerException at de.codepitbull.security.LoginPage.onInitialize(LoginPage.java:56) at org.apache.wicket.Component.fireInitialize(Component.java:919) at org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1002) at org.apache.wicket.Page.internalPrepareForRender(Page.java:278) at org.apache.wicket.Component.render(Component.java:2265) at org.apache.wicket.Page.renderPage(Page.java:1035) at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105) at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224) at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147) at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719) at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63) at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253) at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


From: Jochen Mader [mailto:notifications@github.com] Sent: Monday, 11 February 2013 9:34 AM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

It definitely isnÄt a Wicket 6 problem. I just mentioned that because I still need to port it. You might try to first install the parent into your local repo by doing a "mvn install" in the parent -directory. Not sure why the relative path is not working for you. Might be because you are on windows. I only use Linux/Max OS so I don't really have a chance to test it. As soon as I get my hands on a Window machine I will try to resolve your issue. CU Jochen

On Sun, Feb 10, 2013 at 4:17 AM, chrisco484 notifications@github.comwrote:

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

<https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif>

  • Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13343725..

Reply to this email directly or view it on GitHub https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13362895 .. https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif

pflanzenmoerder commented 11 years ago

I'd like to move your attention to spring.xml, which is just 17 lines ;) Ignore wicktiviti-bpmn.xml as it is the engine configuration (activiti decided to use the spring-format as it is pretty well known, they could have done their own thing as they did with JBPM, which was a pretty bad decision). I use Spring Aspects with AspectJ for injection which makes XML disappear like magic. Problem is that wicktiviti was part of an article I wrote for the German Java Magazin so you are probably lacking some information here. You need AspectJ configured in your IDE and things will start to work.

On Mon, Feb 11, 2013 at 12:24 AM, chrisco484 notifications@github.comwrote:

Looks like Spring hasn't injected the Identity object into the logon page because identity is null. Probably a venture into XML hell will be required to solve this one. IMHO Spring is an overgrown, monolithic, code bloat, XML obsessed piece of fatware ;) but lots of people seem to use it even though there seems to be much more light weight alternatives out there - including one I wrote: so I may be biased ;) Regards, Chris Root cause: java.lang.NullPointerException at de.codepitbull.security.LoginPage.onInitialize(LoginPage.java:56) at org.apache.wicket.Component.fireInitialize(Component.java:919) at org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1002)

at org.apache.wicket.Page.internalPrepareForRender(Page.java:278) at org.apache.wicket.Component.render(Component.java:2265) at org.apache.wicket.Page.renderPage(Page.java:1035) at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)

at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)

at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)

at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)

at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)

at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)

at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)

at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)

at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)

at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


From: Jochen Mader [mailto:notifications@github.com] Sent: Monday, 11 February 2013 9:34 AM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

It definitely isnÄt a Wicket 6 problem. I just mentioned that because I still need to port it. You might try to first install the parent into your local repo by doing a "mvn install" in the parent -directory. Not sure why the relative path is not working for you. Might be because you are on windows. I only use Linux/Max OS so I don't really have a chance to test it. As soon as I get my hands on a Window machine I will try to resolve your issue. CU Jochen

On Sun, Feb 10, 2013 at 4:17 AM, chrisco484 notifications@github.comwrote:

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1..

Reply to this email directly or view it on GitHub https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-133 30825 ..

https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif

Reply to this email directly or view it on GitHub< https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13343725>..

Reply to this email directly or view it on GitHub < https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13362895> .. < https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif>

Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13363851..

pflanzenmoerder commented 11 years ago

Aaaand: I ,ove Spring :) There's virtually no XML involved with my applications, and that's something that has been possible since Spring 2.5.

On Mon, Feb 11, 2013 at 2:06 AM, Jochen Mader pflanzenmoerder@gmail.comwrote:

I'd like to move your attention to spring.xml, which is just 17 lines ;) Ignore wicktiviti-bpmn.xml as it is the engine configuration (activiti decided to use the spring-format as it is pretty well known, they could have done their own thing as they did with JBPM, which was a pretty bad decision). I use Spring Aspects with AspectJ for injection which makes XML disappear like magic. Problem is that wicktiviti was part of an article I wrote for the German Java Magazin so you are probably lacking some information here. You need AspectJ configured in your IDE and things will start to work.

On Mon, Feb 11, 2013 at 12:24 AM, chrisco484 notifications@github.comwrote:

Looks like Spring hasn't injected the Identity object into the logon page because identity is null. Probably a venture into XML hell will be required to solve this one. IMHO Spring is an overgrown, monolithic, code bloat, XML obsessed piece of fatware ;) but lots of people seem to use it even though there seems to be much more light weight alternatives out there - including one I wrote: so I may be biased ;) Regards, Chris Root cause: java.lang.NullPointerException at de.codepitbull.security.LoginPage.onInitialize(LoginPage.java:56) at org.apache.wicket.Component.fireInitialize(Component.java:919) at org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1002)

at org.apache.wicket.Page.internalPrepareForRender(Page.java:278) at org.apache.wicket.Component.render(Component.java:2265) at org.apache.wicket.Page.renderPage(Page.java:1035) at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)

at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)

at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)

at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)

at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)

at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)

at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)

at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)

at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)

at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


From: Jochen Mader [mailto:notifications@github.com] Sent: Monday, 11 February 2013 9:34 AM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

It definitely isnÄt a Wicket 6 problem. I just mentioned that because I still need to port it. You might try to first install the parent into your local repo by doing a "mvn install" in the parent -directory. Not sure why the relative path is not working for you. Might be because you are on windows. I only use Linux/Max OS so I don't really have a chance to test it. As soon as I get my hands on a Window machine I will try to resolve your issue. CU Jochen

On Sun, Feb 10, 2013 at 4:17 AM, chrisco484 notifications@github.comwrote:

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1]

http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2]

http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1..

Reply to this email directly or view it on GitHub < https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-133 30825> ..

< https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif>

Reply to this email directly or view it on GitHub< https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13343725>..

Reply to this email directly or view it on GitHub < https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13362895> .. < https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif>

—

Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13363851..

chrisco484 commented 11 years ago

I'd like to move your attention to spring.xml, which is just 17 lines ;) Ignore wicktiviti-bpmn.xml as it is the engine configuration (activiti decided to use the spring-format as it is pretty well known, they could have done their own thing as they did with JBPM, which was a pretty bad decision).

      I understood that from the Actitiviti getting started guide. It makes sense to reuse Spring's parser for config.

I use Spring Aspects with AspectJ for injection which makes XML disappear like magic.

Yeah, the initial Spring required a world of typeless XML grunge which didn't have the advantage of good compiler errors to let you know what part was wrong. It's good they've moved to less XML config. The config is only a part of my gripe though.

Problem is that wicktiviti was part of an article I wrote for the German Java Magazin so you are probably lacking some information here.

      I'll have to learn German ;)

You need AspectJ configured in your IDE and things will start to work.

      Ah, that's probably what's wrong.

On Mon, Feb 11, 2013 at 12:24 AM, chrisco484 notifications@github.comwrote:

Looks like Spring hasn't injected the Identity object into the logon page because identity is null. Probably a venture into XML hell will be required to solve this one. IMHO Spring is an overgrown, monolithic, code bloat, XML obsessed piece of fatware ;) but lots of people seem to use it even though there seems to be much more light weight alternatives out there - including one I wrote: so I may be biased ;) Regards, Chris Root cause: java.lang.NullPointerException at de.codepitbull.security.LoginPage.onInitialize(LoginPage.java:56) at org.apache.wicket.Component.fireInitialize(Component.java:919) at org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1002)

at org.apache.wicket.Page.internalPrepareForRender(Page.java:278) at org.apache.wicket.Component.render(Component.java:2265) at org.apache.wicket.Page.renderPage(Page.java:1035) at org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)

at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)

at org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)

at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)

at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)

at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)

at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)

at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)

at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)

at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)

at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


From: Jochen Mader [mailto:notifications@github.com] Sent: Monday, 11 February 2013 9:34 AM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

It definitely isnÄt a Wicket 6 problem. I just mentioned that because I still need to port it. You might try to first install the parent into your local repo by doing a "mvn install" in the parent -directory. Not sure why the relative path is not working for you. Might be because you are on windows. I only use Linux/Max OS so I don't really have a chance to test it. As soon as I get my hands on a Window machine I will try to resolve your issue. CU Jochen

On Sun, Feb 10, 2013 at 4:17 AM, chrisco484 notifications@github.comwrote:

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

<https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif>

Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13363851..

Reply to this email directly or view it on GitHub https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13365386 .. https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif

pflanzenmoerder commented 11 years ago

Learning German? I am still fighting with that beast of a language and I was born here! Nah, let's try and get this working and I will enhance the README. I think the article is old enough by now so the publisher won't mind a few more details in there.

On Mon, Feb 11, 2013 at 8:29 AM, chrisco484 notifications@github.comwrote:

I'd like to move your attention to spring.xml, which is just 17 lines ;) Ignore wicktiviti-bpmn.xml as it is the engine configuration (activiti decided to use the spring-format as it is pretty well known, they could have done their own thing as they did with JBPM, which was a pretty bad decision).

I understood that from the Actitiviti getting started guide. It makes sense to reuse Spring's parser for config.

I use Spring Aspects with AspectJ for injection which makes XML disappear like magic.

Yeah, the initial Spring required a world of typeless XML grunge which didn't have the advantage of good compiler errors to let you know what part was wrong. It's good they've moved to less XML config. The config is only a part of my gripe though.

Problem is that wicktiviti was part of an article I wrote for the German Java Magazin so you are probably lacking some information here.

I'll have to learn German ;)

You need AspectJ configured in your IDE and things will start to work.

Ah, that's probably what's wrong.

On Mon, Feb 11, 2013 at 12:24 AM, chrisco484 notifications@github.comwrote:

Looks like Spring hasn't injected the Identity object into the logon page because identity is null. Probably a venture into XML hell will be required to solve this one. IMHO Spring is an overgrown, monolithic, code bloat, XML obsessed piece of fatware ;) but lots of people seem to use it even though there seems to be much more light weight alternatives out there - including one I wrote: so I may be biased ;) Regards, Chris Root cause: java.lang.NullPointerException at de.codepitbull.security.LoginPage.onInitialize(LoginPage.java:56) at org.apache.wicket.Component.fireInitialize(Component.java:919) at

org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1002)

at org.apache.wicket.Page.internalPrepareForRender(Page.java:278) at org.apache.wicket.Component.render(Component.java:2265) at org.apache.wicket.Page.renderPage(Page.java:1035) at

org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)

at

org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)

at

org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)

at

org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)

at

org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)

at

org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)

at

org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)

at

org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)

at

org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)

at

org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at

org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at

org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at

org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)

at

org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


From: Jochen Mader [mailto:notifications@github.com] Sent: Monday, 11 February 2013 9:34 AM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

It definitely isnÄt a Wicket 6 problem. I just mentioned that because I still need to port it. You might try to first install the parent into your local repo by doing a "mvn install" in the parent -directory. Not sure why the relative path is not working for you. Might be because you are on windows. I only use Linux/Max OS so I don't really have a chance to test it. As soon as I get my hands on a Window machine I will try to resolve your issue. CU Jochen

On Sun, Feb 10, 2013 at 4:17 AM, chrisco484 notifications@github.comwrote:

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1]

http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2]

http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1..

Reply to this email directly or view it on GitHub < https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-133 30825> ..

< https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif>

Reply to this email directly or view it on GitHub<

https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13343725>..

Reply to this email directly or view it on GitHub <

https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13362895>

.. <

https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif>

Reply to this email directly or view it on GitHub< https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13363851>..

Reply to this email directly or view it on GitHub < https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13365386> .. < https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif>

— Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13370633..

chrisco484 commented 11 years ago

Hi Jochen,

I couldn't find any explicit AspectJ settings in IntelliJ. It is a jar I need to download and install?

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Monday, 11 February 2013 7:28 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Learning German? I am still fighting with that beast of a language and I was born here! Nah, let's try and get this working and I will enhance the README. I think the article is old enough by now so the publisher won't mind a few more details in there.

On Mon, Feb 11, 2013 at 8:29 AM, chrisco484 notifications@github.comwrote:

I'd like to move your attention to spring.xml, which is just 17 lines ;) Ignore wicktiviti-bpmn.xml as it is the engine configuration (activiti decided to use the spring-format as it is pretty well known, they could have done their own thing as they did with JBPM, which was a pretty bad decision).

I understood that from the Actitiviti getting started guide. It makes sense to reuse Spring's parser for config.

I use Spring Aspects with AspectJ for injection which makes XML disappear like magic.

Yeah, the initial Spring required a world of typeless XML grunge which didn't have the advantage of good compiler errors to let you know what part was wrong. It's good they've moved to less XML config. The config is only a part of my gripe though.

Problem is that wicktiviti was part of an article I wrote for the German Java Magazin so you are probably lacking some information here.

I'll have to learn German ;)

You need AspectJ configured in your IDE and things will start to work.

Ah, that's probably what's wrong.

On Mon, Feb 11, 2013 at 12:24 AM, chrisco484 notifications@github.comwrote:

Looks like Spring hasn't injected the Identity object into the logon page because identity is null. Probably a venture into XML hell will be required to solve this one. IMHO Spring is an overgrown, monolithic, code bloat, XML obsessed piece of fatware ;) but lots of people seem to use it even though there seems to be much more light weight alternatives out there - including one I wrote: so I may be biased ;) Regards, Chris Root cause: java.lang.NullPointerException at de.codepitbull.security.LoginPage.onInitialize(LoginPage.java:56) at org.apache.wicket.Component.fireInitialize(Component.java:919) at

org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1002)

at org.apache.wicket.Page.internalPrepareForRender(Page.java:278) at org.apache.wicket.Component.render(Component.java:2265) at org.apache.wicket.Page.renderPage(Page.java:1035) at

org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)

at

org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)

at

org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)

at

org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)

at

org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)

at

org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)

at

org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)

at

org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)

at

org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)

at

org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at

org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at

org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at

org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)

at

org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


From: Jochen Mader [mailto:notifications@github.com] Sent: Monday, 11 February 2013 9:34 AM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

It definitely isnÄt a Wicket 6 problem. I just mentioned that because I still need to port it. You might try to first install the parent into your local repo by doing a "mvn install" in the parent -directory. Not sure why the relative path is not working for you. Might be because you are on windows. I only use Linux/Max OS so I don't really have a chance to test it. As soon as I get my hands on a Window machine I will try to resolve your issue. CU Jochen

On Sun, Feb 10, 2013 at 4:17 AM, chrisco484 notifications@github.comwrote:

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1]

http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2]

http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.com] Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

< https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif>

  • Reply to this email directly or view it on GitHub<

https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13343725>..

  • Reply to this email directly or view it on GitHub <

https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13362895>

.. <

https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif>

Reply to this email directly or view it on GitHub< https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13363851>..

— Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13370633..

Reply to this email directly or view it on GitHub https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13371621 .. https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif

pflanzenmoerder commented 11 years ago

You need the AspectJ IDE PlugIn, that is it.

Von meinem iPhone gesendet

Am 11.02.2013 um 20:27 schrieb chrisco484 notifications@github.com:

Hi Jochen,

I couldn't find any explicit AspectJ settings in IntelliJ. It is a jar I need to download and install?

Regards, Chris


From: Jochen Mader [mailto:notifications@github.comnotifications@github.com]

Sent: Monday, 11 February 2013 7:28 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Learning German? I am still fighting with that beast of a language and I was born here! Nah, let's try and get this working and I will enhance the README. I think the article is old enough by now so the publisher won't mind a few more details in there.

On Mon, Feb 11, 2013 at 8:29 AM, chrisco484 notifications@github.comwrote:

I'd like to move your attention to spring.xml, which is just 17 lines ;) Ignore wicktiviti-bpmn.xml as it is the engine configuration (activiti decided to use the spring-format as it is pretty well known, they could have done their own thing as they did with JBPM, which was a pretty bad decision).

I understood that from the Actitiviti getting started guide. It makes sense to reuse Spring's parser for config.

I use Spring Aspects with AspectJ for injection which makes XML disappear like magic.

Yeah, the initial Spring required a world of typeless XML grunge which didn't have the advantage of good compiler errors to let you know what part was wrong. It's good they've moved to less XML config. The config is only a part of my gripe though.

Problem is that wicktiviti was part of an article I wrote for the German Java Magazin so you are probably lacking some information here.

I'll have to learn German ;)

You need AspectJ configured in your IDE and things will start to work.

Ah, that's probably what's wrong.

On Mon, Feb 11, 2013 at 12:24 AM, chrisco484 notifications@github.comwrote:

Looks like Spring hasn't injected the Identity object into the logon page because identity is null. Probably a venture into XML hell will be required to solve this one. IMHO Spring is an overgrown, monolithic, code bloat, XML obsessed piece of fatware ;) but lots of people seem to use it even though there seems to be much more light weight alternatives out there - including one I wrote: so I may be biased ;) Regards, Chris Root cause: java.lang.NullPointerException at de.codepitbull.security.LoginPage.onInitialize(LoginPage.java:56) at org.apache.wicket.Component.fireInitialize(Component.java:919) at

org.apache.wicket.MarkupContainer.internalInitialize(MarkupContainer.java:1002)

at org.apache.wicket.Page.internalPrepareForRender(Page.java:278) at org.apache.wicket.Component.render(Component.java:2265) at org.apache.wicket.Page.renderPage(Page.java:1035) at

org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:105)

at

org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:224)

at

org.apache.wicket.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:147)

at

org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:719)

at

org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:63)

at

org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:210)

at

org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:253)

at

org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162)

at

org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218)

at

org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)

at

org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at

org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)

at

org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at

org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440) at

org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at

org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)

at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at

org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)

at

org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)


From: Jochen Mader [mailto:notifications@github.comnotifications@github.com]

Sent: Monday, 11 February 2013 9:34 AM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

It definitely isnÄt a Wicket 6 problem. I just mentioned that because I still need to port it. You might try to first install the parent into your local repo by doing a "mvn install" in the parent -directory. Not sure why the relative path is not working for you. Might be because you are on windows. I only use Linux/Max OS so I don't really have a chance to test it. As soon as I get my hands on a Window machine I will try to resolve your issue. CU Jochen

On Sun, Feb 10, 2013 at 4:17 AM, chrisco484 notifications@github.comwrote:

Hi Jochen,

I'm not sure if it's a Wicket 6 problem. It seems more like an issue with the pom.xml file(s).

I get this when I try to mvn package the app:

[INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project de.codepitbull.bpmn:wicktiviti-web:1.0-SNAPSHOT (C:\Users\Chris\Personal\GitHub\wicktiviti\wicktiviti-web\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact de.codepitbull.bpmn:wicktiviti-parent:pom:1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 18, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1]

http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExceptio n [ERROR] [Help 2]

http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelExcept ion

Regards, Chris


From: Jochen Mader [mailto:notifications@github.comnotifications@github.com]

Sent: Saturday, 9 February 2013 11:35 PM To: pflanzenmoerder/wicktiviti Cc: Chris Colman Subject: Re: [wicktiviti] Activiti jars don't get downloaded/arent' available (#1)

Uhh, you're completely right. Haven't updated the project in quite a while. I still need to port it to Wicket 6. Will do so next week :) Thanks for the info.

Jochen

On Sat, Feb 9, 2013 at 4:06 AM, chrisco484 notifications@github.com wrote:

I pulled the project into IDEA InteliJ and it proceeds to pull down Wicket jars and most other Jar dependencies. The one it doesn't seem to pull down is Activiti. Perhaps the URL provided is out of date:

activiti Activiti Repository http://maven.alfresco.com/nexus/content/repositories/activiti/

Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1..

Reply to this email directly or view it on GitHub < https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-133 30825> ..

< https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKBdtfKNGOHL 3GSXLpw00om0WNYF7byNR-oyYO7qzTU_J.gif>

Reply to this email directly or view it on GitHub<

https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13343725>..

Reply to this email directly or view it on GitHub <

https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13362895>

.. <

https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif>

Reply to this email directly or view it on GitHub<

https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13363851>..

Reply to this email directly or view it on GitHub <

https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13365386>

.. <

https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif>

Reply to this email directly or view it on GitHub< https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13370633>..

Reply to this email directly or view it on GitHub < https://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13371621> .. < https://github.com/notifications/beacon/r7ykkBHsWUtVKWOWTpSLS6yuVON6ucWXJCq6rgGERAbv-aahg8yihuugj0cANLDo.gif>

Reply to this email directly or view it on GitHubhttps://github.com/pflanzenmoerder/wicktiviti/issues/1#issuecomment-13397730.