You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Steve Eynon <st...@alienfactory.co.uk> on 2011/10/22 08:16:52 UTC

T5.3-beta-24 --> T5.3-beta-25 Breaking Change

Upgrading from T5.3-beta-24 to T5.3-beta-25 brings about a breaking
change which I believe is related to:

https://issues.apache.org/jira/browse/TAP5-1686

and

http://tapestry.1045711.n5.nabble.com/Revision-1181139-td4913594.html

I have a sub module defined with @SubModule(CuModule.class) which fails to load.

I'm developing on Windows XP, the webapp is Jetty 6.1.26 lauched via a
Java main class and yes, I have a space in my project path.

Thought I'd mention this as the thread talks about Tomcat which I'm not using.

I can supply more details if needed.

Caused by: java.io.FileNotFoundException:
C:\Projects\Content%20Uploader\build\classes\main\com\alienfactory\cu\services\CuModule.class
(The system cannot find the path specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.apache.tapestry5.internal.plastic.PlasticInternalUtils.getStreamForPath(PlasticInternalUtils.java:423)
	at org.apache.tapestry5.internal.plastic.PlasticInternalUtils.readBytecodeForClass(PlasticInternalUtils.java:386)

Registry - Failure reading bytecode for class
com.alienfactory.cu.services.CuModule:
C:\Projects\Content%20Uploader\build\classes\main\com\alienfactory\cu\services\CuModule.class
(The system cannot find the path specified)
Registry - Operations trace:
Registry - [ 1] Realizing service ServletApplicationInitializer
Registry - [ 2] Instantiating service ServletApplicationInitializer
implementation via
org.apache.tapestry5.services.TapestryModule.buildServletApplicationInitializer(Logger,
List, ApplicationInitializer) (at TapestryModule.java:1395)
Registry - [ 3] Constructing module class
org.apache.tapestry5.services.TapestryModule
Registry - [ 4] Determining injection value for parameter #1
(org.apache.tapestry5.ioc.services.PipelineBuilder)
Registry - [ 5] Resolving object of type
org.apache.tapestry5.ioc.services.PipelineBuilder using
MasterObjectProvider
Registry - [ 6] Realizing service ServiceOverride
Registry - [ 7] Instantiating service ServiceOverride implementation
via org.apache.tapestry5.ioc.internal.services.ServiceOverrideImpl(Map)
(at ServiceOverrideImpl.java:31) via
org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder)
(at TapestryIOCModule.java:49)
Registry - [ 8] Creating plan to instantiate
org.apache.tapestry5.ioc.internal.services.ServiceOverrideImpl via
public org.apache.tapestry5.ioc.internal.services.ServiceOverrideImpl(java.util.Map)
Registry - [ 9] Determining injection value for parameter #1 (java.util.Map)
Registry - [10] Collecting mapped configuration for service ServiceOverride
Registry - [11] Invoking
org.apache.tapestry5.services.TapestryModule.productionModeOverrides(MappedConfiguration,
boolean) (at TapestryModule.java:2869)
Registry - [12] Determining injection value for parameter #2 (boolean)
Registry - [13] Resolving object of type boolean using MasterObjectProvider
Registry - [14] Realizing service SymbolSource
Registry - [15] Instantiating service SymbolSource implementation via
org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl(List) (at
SymbolSourceImpl.java:198) via
org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder)
(at TapestryIOCModule.java:49)
Registry - [16] Creating plan to instantiate
org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl via public
org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl(java.util.List)
Registry - [17] Determining injection value for parameter #1 (java.util.List)
Registry - [18] Collecting ordered configuration for service SymbolSource

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: T5.3-beta-24 --> T5.3-beta-25 Breaking Change

Posted by Howard Lewis Ship <hl...@gmail.com>.
We're having some issues resolving spaces int he current directoyr
path name, vs. some class loader problems that are primarily occuring
in Tomcat. Please try beta-26, where the fix (for Tomcat) was reverted
to stop penalizing everyone else.

On Fri, Oct 21, 2011 at 11:16 PM, Steve Eynon
<st...@alienfactory.co.uk> wrote:
> Upgrading from T5.3-beta-24 to T5.3-beta-25 brings about a breaking
> change which I believe is related to:
>
> https://issues.apache.org/jira/browse/TAP5-1686
>
> and
>
> http://tapestry.1045711.n5.nabble.com/Revision-1181139-td4913594.html
>
> I have a sub module defined with @SubModule(CuModule.class) which fails to load.
>
> I'm developing on Windows XP, the webapp is Jetty 6.1.26 lauched via a
> Java main class and yes, I have a space in my project path.
>
> Thought I'd mention this as the thread talks about Tomcat which I'm not using.
>
> I can supply more details if needed.
>
> Caused by: java.io.FileNotFoundException:
> C:\Projects\Content%20Uploader\build\classes\main\com\alienfactory\cu\services\CuModule.class
> (The system cannot find the path specified)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at org.apache.tapestry5.internal.plastic.PlasticInternalUtils.getStreamForPath(PlasticInternalUtils.java:423)
>        at org.apache.tapestry5.internal.plastic.PlasticInternalUtils.readBytecodeForClass(PlasticInternalUtils.java:386)
>
> Registry - Failure reading bytecode for class
> com.alienfactory.cu.services.CuModule:
> C:\Projects\Content%20Uploader\build\classes\main\com\alienfactory\cu\services\CuModule.class
> (The system cannot find the path specified)
> Registry - Operations trace:
> Registry - [ 1] Realizing service ServletApplicationInitializer
> Registry - [ 2] Instantiating service ServletApplicationInitializer
> implementation via
> org.apache.tapestry5.services.TapestryModule.buildServletApplicationInitializer(Logger,
> List, ApplicationInitializer) (at TapestryModule.java:1395)
> Registry - [ 3] Constructing module class
> org.apache.tapestry5.services.TapestryModule
> Registry - [ 4] Determining injection value for parameter #1
> (org.apache.tapestry5.ioc.services.PipelineBuilder)
> Registry - [ 5] Resolving object of type
> org.apache.tapestry5.ioc.services.PipelineBuilder using
> MasterObjectProvider
> Registry - [ 6] Realizing service ServiceOverride
> Registry - [ 7] Instantiating service ServiceOverride implementation
> via org.apache.tapestry5.ioc.internal.services.ServiceOverrideImpl(Map)
> (at ServiceOverrideImpl.java:31) via
> org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder)
> (at TapestryIOCModule.java:49)
> Registry - [ 8] Creating plan to instantiate
> org.apache.tapestry5.ioc.internal.services.ServiceOverrideImpl via
> public org.apache.tapestry5.ioc.internal.services.ServiceOverrideImpl(java.util.Map)
> Registry - [ 9] Determining injection value for parameter #1 (java.util.Map)
> Registry - [10] Collecting mapped configuration for service ServiceOverride
> Registry - [11] Invoking
> org.apache.tapestry5.services.TapestryModule.productionModeOverrides(MappedConfiguration,
> boolean) (at TapestryModule.java:2869)
> Registry - [12] Determining injection value for parameter #2 (boolean)
> Registry - [13] Resolving object of type boolean using MasterObjectProvider
> Registry - [14] Realizing service SymbolSource
> Registry - [15] Instantiating service SymbolSource implementation via
> org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl(List) (at
> SymbolSourceImpl.java:198) via
> org.apache.tapestry5.ioc.services.TapestryIOCModule.bind(ServiceBinder)
> (at TapestryIOCModule.java:49)
> Registry - [16] Creating plan to instantiate
> org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl via public
> org.apache.tapestry5.ioc.internal.services.SymbolSourceImpl(java.util.List)
> Registry - [17] Determining injection value for parameter #1 (java.util.List)
> Registry - [18] Collecting ordered configuration for service SymbolSource
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org