I've been able to work successfully with AppFuse and Tomcat offline.
Do you have another application installed in Tomcat that works?  You
might want to change your Cargo configuration to point at your
CATALINA_HOME instead of downloading and installing it. If you look at
the Cargo configuration in pom.xml, there's a comment in there that
tells you how to do this. Here's the jist of it:

Change this:

   <container>
       <containerId>${cargo.container}</containerId>
       <!--home>${cargo.container.home}</home-->
       <zipUrlInstaller>
           <url>${cargo.container.url}</url>
           <installDir>${installDir}</installDir>
       </zipUrlInstaller>
   </container>

To this:

   <container>
       <containerId>${cargo.container}</containerId>
       <home>${cargo.container.home}</home>
   </container>

Matt

On 5/22/07, lars3006 <[EMAIL PROTECTED]> wrote:

Hi all,

I am just doing the AppFuse QuickStart tutorial behind a firewall. After
configuring the proxy in Maven2's settings.xml checking out the "JSF Basic"
archetype did work, building the WAR and Eclipse integration have  been
quite easy.

When I run the integration test, however, Tomcat (5.5.23) fails to start.
I suspect the firewall prevents tomcat from validating taglib dtds. How can
I make cargo/tomcat use the proxy. Am I missing something?

Here is an excerpt from the console output.

[INFO] [talledLocalContainer] [appfuse-jsf] ERROR [main]
Digester.fatalError(1473) | Parse Fatal Error at line 3 column 57: parsing
initialization error: org.gjt.xpp.XmlPullParserException: <![DOCTYPE
declarations not supported at line 3 and column 57 see
n "...\n    "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"";... (parser
state UNKNONW_EVENT (-1))
[INFO] [talledLocalContainer] org.gjt.xpp.XmlPullParserException: <![DOCTYPE
declarations not supported at line 3 and column 57 seen "...\n
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"";... (parser state
UNKNONW_EVENT (-1))
[INFO] [talledLocalContainer]   at
org.gjt.xpp.sax2.Driver.parse(Driver.java:304)
[INFO] [talledLocalContainer]   at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1562)
[INFO] [talledLocalContainer]   at
org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:515)
[INFO] [talledLocalContainer]   at
org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:554)
[INFO] [talledLocalContainer]   at
org.apache.catalina.startup.TldConfig.execute(TldConfig.java:302)
[INFO] [talledLocalContainer]   at
org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4307)
[INFO] [talledLocalContainer]   at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4144)
...
(full console output:  http://www.nabble.com/file/p10736760/fehler.log
fehler.log )

I am using AppFuse 2 m4, jdk 1.5.0_08, maven 2.0.6.

Any help is highly welcome.

Thanks,
Lars



--
View this message in context: 
http://www.nabble.com/XML-Parser-Issue-tf3796008s2369.html#a10736760
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to