Checking the (Tapestry) code:
public IAsset createAbsoluteAsset(String path, Locale locale, Location
location)
{
Resource base = new ClasspathResource(_classResolver, path);
Resource localized = _localizer.findLocalization(base, locale);
if (localized == null)
throw new
ApplicationRuntimeException(AssetMessages.missingClasspathResource(path),
location, null);
return createAsset(localized, location);
}
_localizer.findLocalization(base, locale);
Returns "null" for '/dojo' ... why would this happen?
Thanks,
-J.
Jan Vissers wrote:
Hi,
I'm starting a new project for a customer of ours and want to use
Tapestry 4.1.1 on Oracle's J2EE container - OC4J.
Having tested various aspects of this T version on 10.1.3 - I'm pretty
keen on using this version, however there are issues...
Firstly I ran into a known issue with Hivemind's URLResource class on
OC4J 9.0.4/10.1.2.xxx.
I used a proposed hack to fix this issue. But now when I drop a Shell
component on a form, I get this error:
Caused by: org.apache.hivemind.ApplicationRuntimeException: Missing
classpath resource '/dojo/'.
[classpath:/org/apache/tapestry/html/Shell.jwc, line 179, column 61]
at
org.apache.tapestry.asset.ClasspathAssetFactory.createAbsoluteAsset(ClasspathAssetFactory.java:61)
at
$AssetFactory_112dd0124f3.createAbsoluteAsset($AssetFactory_112dd0124f3.java)
at
org.apache.tapestry.asset.AssetSourceImpl.findAsset(AssetSourceImpl.java:84)
at $AssetSource_112dd0124a7.findAsset($AssetSource_112dd0124a7.java)
at
org.apache.tapestry.pageload.PageLoader.convertAsset(PageLoader.java:695)
at
org.apache.tapestry.pageload.PageLoader.addAssets(PageLoader.java:670)
at
org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:415)
at
org.apache.tapestry.pageload.PageLoader.createImplicitComponent(PageLoader.java:478)
at
$IPageLoader_112dd0124a3.createImplicitComponent($IPageLoader_112dd0124a3.java)
at
$IPageLoader_112dd0124a4.createImplicitComponent($IPageLoader_112dd0124a4.java)
at
org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.createImplicitComponent(ComponentTemplateLoaderLogic.java:218)
at
org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:172)
at
org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.process(ComponentTemplateLoaderLogic.java:111)
at
org.apache.tapestry.services.impl.ComponentTemplateLoaderLogic.loadTemplate(ComponentTemplateLoaderLogic.java:88)
at
org.apache.tapestry.services.impl.ComponentTemplateLoaderImpl.loadTemplate(ComponentTemplateLoaderImpl.java:61)
at
$ComponentTemplateLoader_112dd0124ad.loadTemplate($ComponentTemplateLoader_112dd0124ad.java)
at
org.apache.tapestry.pageload.PageLoader.loadTemplateForComponent(PageLoader.java:637)
at
org.apache.tapestry.BaseComponent.readTemplate(BaseComponent.java:77)
at
org.apache.tapestry.BaseComponent.finishLoad(BaseComponent.java:107)
at $Exception_5.finishLoad($Exception_5.java)
at
org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:425)
at
org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:600)
at $IPageLoader_112dd0124a3.loadPage($IPageLoader_112dd0124a3.java)
at $IPageLoader_112dd0124a4.loadPage($IPageLoader_112dd0124a4.java)
at
org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:119)
at $IPageSource_112dd012406.getPage($IPageSource_112dd012406.java)
at
org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:248)
at
org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:235)
at
org.apache.tapestry.error.ExceptionPresenterImpl.presentException(ExceptionPresenterImpl.java:42)
... 30 more
Can somebody enlighten me what's wrong here and whether or not this is
a known issue?
I sure as ***** hope I don't have to hack my way around this (probably
Oracle related) issue also...
Thanks,
-J.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Cumquat Information Technology
De Dreef 19
3706 BR Zeist
T +31 (0)30 - 6940490
F +31 (0)30 - 6940499
W http://www.cumquat.nl
E [EMAIL PROTECTED]
M +31 6 51 169 556
B http://www.cumquat.nl/technology_atom10.xml
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]