• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Initializing TilesPlugin

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to use tiles in my application, however, I get an error message when the TilesPlugin initializes:

<04.11.2004 10.52 Uhr CET> <Warning> <Net> <BEA-000905> <Could not open connection with host: jakarta.apache.org and port: 80.>
2004-11-04 10:52:35,859 [main] ERROR org.apache.struts.tiles.TilesPlugin - Can't create Tiles definition factory for module ''.
<04.11.2004 10.52 Uhr CET> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "application".
javax.servlet.ServletException: IO Error while parsing file '/WEB-INF/tiles.xml'. Tried all: '1' addresses, but could not connect over HTTP to server: 'jakarta.apache.org', port: '80'
...

I added the taglib to my web.xml:
<taglib>
<taglib-uri>struts-tiles.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/struts-tiles.tld</taglib-location>
</taglib>

The plug-in is defined in the struts-config.xml:
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-parser-validate" value="false" />
<set-property property="definitions-config" value="/WEB-INF/tiles.xml" />
</plug-in>

As far as i can tell, the tiles.xml is also valid:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration//EN" "http://jakarta.apache.org/struts/dtds/tiles-config.dtd">
<tiles-definitions>
...
</tiles-definition>

I'm using Struts 1.2.4 on WebLogic 8.1

Thanks for your help.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic