Re: Codebehind issue?
Hi Brian, did u checked this thread http://forums.opensymphony.com/thread.jspa?threadID=71257tstart=15 and Note , the struts.codebehind.defaultPackage is the package name defined in struts.xml not the real package name for example [code] struts package name=testPackage../package .. /struts then struts.codebehind.defaultPackage shoud be struts.codebehind.defaultPackage =testPackage [/code] - Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=71861messageID=134480#134480 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Codebehind issue?
Yeah, I've done some more investigation. The Struts docs are pretty lacking in general and I've brought up most of the doc issues before. I think there are still bugs out there for them. I'm hoping to help clean them up next week. I was supposed to start on a large project a few weeks ago that would give me enough time to contribute code and documentation to Struts2, but I'm just now getting to that project. I should have a contributors agreement ready to go later this week. -bp Usama Rashwan wrote: Hi Brian, did u checked this thread http://forums.opensymphony.com/thread.jspa?threadID=71257tstart=15 and Note , the struts.codebehind.defaultPackage is the package name defined in struts.xml not the real package name for example [code] struts package name=testPackage../package .. /struts then struts.codebehind.defaultPackage shoud be struts.codebehind.defaultPackage =testPackage [/code] - Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=71861messageID=134480#134480 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Codebehind issue?
Brian you got enough memory setup for Maven? I have MAVEN_OPTS=-Xmx512m and have no problems. - Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=71861messageID=134516#134516 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Codebehind issue?
I use the default memory, which is 64 or 128 I think. However, I'm a little surprised that unit tests should be creating more than 64M worth of objects (minus the maven footprint). This seems like an issue to me. After each test case all test objects should be released. If a test creates a large set of Objects and the heap space runs out the JVM should perform a full GC and clear out memory for use. So, this means one single test case is creating 64M worth of objects. -bp Claus Ibsen wrote: Brian you got enough memory setup for Maven? I have MAVEN_OPTS=-Xmx512m and have no problems. - Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=71861messageID=134516#134516 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Codebehind issue?
I haven't grabbed the code yet, but that is my next step. Just grabbed all the 2.0.6 JARs and I think I have a dependency issue or something. Anyone know off the top of their heads? java.lang.NullPointerException org.apache.struts2.codebehind.CodebehindUnknownHandler.init(CodebehindUnknownHandler.java:73) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:513) com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:388) com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:461) com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501) com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549) (snip) -bp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Codebehind issue?
This occurs when I add this declaration to my struts.properties: struts.codebehind.defaultPackage=com.texturemedia.prototype_webapp.action Removing it makes it work fine. This package does exist and there are classes in there. So, I'm not sure what is happening. -bp Brian Pontarelli wrote: I haven't grabbed the code yet, but that is my next step. Just grabbed all the 2.0.6 JARs and I think I have a dependency issue or something. Anyone know off the top of their heads? java.lang.NullPointerException org.apache.struts2.codebehind.CodebehindUnknownHandler.init(CodebehindUnknownHandler.java:73) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:513) com.opensymphony.xwork2.inject.ContainerImpl$ConstructorInjector.construct(ContainerImpl.java:388) com.opensymphony.xwork2.inject.ContainerImpl.inject(ContainerImpl.java:461) com.opensymphony.xwork2.inject.ContainerImpl$7.call(ContainerImpl.java:501) com.opensymphony.xwork2.inject.ContainerImpl.callInContext(ContainerImpl.java:549) (snip) -bp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Codebehind issue?
--- Brian Pontarelli [EMAIL PROTECTED] wrote: struts.codebehind.defaultPackage=com.texturemedia.prototype_webapp.action Just out of curiosity does it still break if it's a package w/o underscores? d. 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]