From: Wouter Z. <wz...@br...> - 2004-04-26 22:27:32
|
I am currently fixing this issue, it is related to the parser used by the Struts Tiles plugin. A possible fix would be to include the DTD into the XML. Nevertheless I am looking for an alternative way (unfortunately turning validation off does not seem to change anything). I'll try to solve it today. I'll keep you posted and reply to this mail when it's done. -- Wouter > -----Original Message----- > From: and...@li... [mailto:andromda-user- > ad...@li...] On Behalf Of Matthias Bohlen > Sent: Monday, April 26, 2004 10:54 PM > To: iam...@ne...; '"Tobi"'; andromda- > us...@li... > Subject: RE: [Andromda-user] Can not deploy animal-quiz >=20 > Hi Wouter, >=20 > since I want to show animal-quiz at the JAX 2004 in May, I am a little > concerned about this one. Does this mean I am not able to demonstrate > the sample when I am off line? >=20 > Cheers... > Matthias >=20 > > -----Original Message----- > > From: and...@li... > > [mailto:and...@li...] On Behalf > > Of iam...@ne... > > Sent: Monday, April 26, 2004 9:15 AM > > To: "Tobi"; and...@li... > > Subject: RE: [Andromda-user] Can not deploy animal-quiz > > > > > > hi Tobi, > > > > the problem occurs when the server cannot go online for the > > XML schema, apparently this only occurs with the Tiles plugin. > > > > I have been looking for a solution, such as disabling the XML > > validation or removing the doctype in tiles-defs.xml > > altogether, but I did not find a solution yet. I cannot avoid > > the xml parser going online, putting the DTD files locally is > > also problematic because I have seen this solution behave > > differently on different systems (depending on how you start > > JBoss, from which directory...). > > > > My guess is you're behind a firewall or at least are using a > > gateway/proxy. In this case it is sufficient to start JBoss > > with the following command line arguments: > > > > -Dhttp.proxyPort=3D80 -Dhttp.proxyHost=3Dde.tobi.proxy > > > > (replace the values with real ones of course) > > > > > > If you are not connected to the internet I am afraid I cannot > > help you at this point. If somebody knows what to do, please > > let us know. > > > > Anyway, I'll keep looking... > > > > hth > > -- Wouter > > > > > > > > "Tobi" <k....@gm...> wrote: > > > > >Hi, > > > > > >I downloaded the nightly build today > > >(http://team.andromda.org/maven/andromda/distributions/ > > >andromda-bin-3.0-SNAPSHOT.zip) and built successful the animal-quiz > > >example with maven. > > > > > >When I deploy the WAR on a Jboss 3.2.3 server an exception is thrown > > >(see below). The same occurs when I deploy the EAR. It seems to be a > > >problem of struts? > > > > > >What=B4s going wrong? > > > > > >Thanks, > > >Tobias > > > > > >15:27:47,483 INFO [MainDeployer] Starting deployment of package: > > >file:/D:/Programme/jboss-3.2.3/server/andromda/deploy/animal- > > quiz-sampl > > >e-web.war > > >15:27:49,483 INFO [EmbeddedTomcatService] deploy, > > ctxPath=3D/animal-quiz-sample-web, > > >warUrl=3Dfile:/D:/Programme/jboss-3.2.3/server/andromda/tmp/dep > > loy/tmp61236animal-quiz-sample-web.war/ > > >15:27:52,389 INFO [Engine] > > SingleSignOnContextConfig[/animal-quiz-sample-web]: Added > > certificates -> request attribute Valve > > >15:27:52,592 WARN [EmbeddedTomcatService] Unable to invoke > > setDelegate on class > > >loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@94cbe2 > > >15:27:52,592 INFO [Engine] > > StandardManager[/animal-quiz-sample-web]: Seeding random > > number generator class > > >java.security.SecureRandom > > >15:27:52,592 INFO [Engine] > > StandardManager[/animal-quiz-sample-web]: Seeding of random > > number generator has been completed > > >15:27:54,139 INFO [ValidatorPlugIn] Loading validation > > rules file from '/WEB-INF/validation.xml' > > >15:27:54,342 INFO [ValidatorPlugIn] Loading validation > > rules file from '/WEB-INF/validator-rules.xml' > > >15:27:54,701 ERROR [TilesPlugin] Can't create Tiles > > definition factory for module ''. > > >15:27:54,701 ERROR [Engine] > > StandardContext[/animal-quiz-sample-web]: Servlet > > /animal-quiz-sample-web threw load() exception > > >javax.servlet.ServletException: IO Error while parsing file > > '/WEB-INF/tiles-defs.xml'. Connection refused: connect > > > at > > org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(Til > > esPlugin.java:235) > > > at > > org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:139) > > > at > > org.apache.struts.action.ActionServlet.initModulePlugIns(Actio > > nServlet.java:827) > > > at > > org.apache.struts.action.ActionServlet.init(ActionServlet.java:327) > > > at javax.servlet.GenericServlet.init(GenericServlet.java:256) > > > at > > org.apache.catalina.core.StandardWrapper.loadServlet(StandardW > > rapper.java:935) > > > at > > org.apache.catalina.core.StandardWrapper.load(StandardWrapper. > > java:823) > > > at > > org.apache.catalina.core.StandardContext.loadOnStartup(Standar > > dContext.java:3422) > > > at > > org.apache.catalina.core.StandardContext.start(StandardContext > > .java:3623) > > > at > > org.apache.catalina.core.ContainerBase.addChildInternal(Contai > > nerBase.java:821) > > > at > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase. > > java:807) > > > at > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) > > > at > > org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContex > > t(EmbeddedTomcatService.java:549) > > > at > > org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(E > mbeddedTomcatService.java:309) > > > at > > org.jboss.web.AbstractWebContainer.start(AbstractWebContainer. > > java:428) > > > at > > org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) > > > at > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) > > > at > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) > > > at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) > > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > > odAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > at > > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec > tedMBeanDispatcher.java:284) > > > at > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) > > > at > > org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) > > > at $Proxy6.deploy(Unknown Source) > > > at > > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDe > > ploymentScanner.java:302) > > > at > > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDepl > > oymentScanner.java:476) > > > at > > org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner > > Thread.doScan(AbstractDeploymentScanner.java:201) > > > at > > org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner > > Thread.loop(AbstractDeploymentScanner.java:212) > > > at > > org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner > > Thread.run(AbstractDeploymentScanner.java:191) > > >15:27:54,717 ERROR [Engine] ----- Root Cause ----- > > >org.apache.struts.tiles.DefinitionsFactoryException: IO > > Error while parsing file '/WEB-INF/tiles-defs.xml'. > > Connection refused: > > >connect > > > at > > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlF > > ile(I18nFactorySet.java:538) > > > at > > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.parseXmlF > > iles(I18nFactorySet.java:467) > > > at > > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.createDef > > aultFactory(I18nFactorySet.java:271) > > > at > > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFacto > > ry(I18nFactorySet.java:246) > > > at > > org.apache.struts.tiles.xmlDefinition.I18nFactorySet.initFacto > > ry(I18nFactorySet.java:196) > > > at > > org.apache.struts.tiles.definition.ComponentDefinitionsFactory > > Wrapper.init(ComponentDefinitionsFactoryWrapper.java:104) > > > at > > org.apache.struts.tiles.TilesUtilImpl.createDefinitionsFactory > > (TilesUtilImpl.java:138) > > > at > > org.apache.struts.tiles.TilesUtil.createDefinitionsFactory(Til > > esUtil.java:167) > > > at > > org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(Til > > esPlugin.java:224) > > > at > > org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:139) > > > at > > org.apache.struts.action.ActionServlet.initModulePlugIns(Actio > > nServlet.java:827) > > > at > > org.apache.struts.action.ActionServlet.init(ActionServlet.java:327) > > > at javax.servlet.GenericServlet.init(GenericServlet.java:256) > > > at > > org.apache.catalina.core.StandardWrapper.loadServlet(StandardW > > rapper.java:935) > > > at > > org.apache.catalina.core.StandardWrapper.load(StandardWrapper. > > java:823) > > > at > > org.apache.catalina.core.StandardContext.loadOnStartup(Standar > > dContext.java:3422) > > > at > > org.apache.catalina.core.StandardContext.start(StandardContext > > .java:3623) > > > at > > org.apache.catalina.core.ContainerBase.addChildInternal(Contai > > nerBase.java:821) > > > at > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase. > > java:807) > > > at > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) > > > at > > org.jboss.web.tomcat.tc4.EmbeddedTomcatService.createWebContex > > t(EmbeddedTomcatService.java:549) > > > at > > org.jboss.web.tomcat.tc4.EmbeddedTomcatService.performDeploy(E > mbeddedTomcatService.java:309) > > > at > > org.jboss.web.AbstractWebContainer.start(AbstractWebContainer. > > java:428) > > > at > > org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) > > > at > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642) > > > at > > org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605) > > > at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) > > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > > odAccessorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:324) > > > at > > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(Reflec > tedMBeanDispatcher.java:284) > > > at > > org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) > > > at > > org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) > > > at $Proxy6.deploy(Unknown Source) > > > at > > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDe > > ploymentScanner.java:302) > > > at > > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDepl > > oymentScanner.java:476) > > > at > > org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner > > Thread.doScan(AbstractDeploymentScanner.java:201) > > > at > > org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner > > Thread.loop(AbstractDeploymentScanner.java:212) > > > at > > org.jboss.deployment.scanner.AbstractDeploymentScanner$Scanner > > Thread.run(AbstractDeploymentScanner.java:191) > > >15:27:54,717 INFO [Engine] > > StandardWrapper[/animal-quiz-sample-web:default]: Loading > > container servlet default > > > > > > > > > > > > > > >------------------------------------------------------- > > >This SF.net email is sponsored by: The Robotic Monkeys at > > ThinkGeek For > > >a limited time only, get FREE Ground shipping on all orders > > of $35 or > > >more. Hurry up and shop folks, this offer expires April 30th! > > >http://www.thinkgeek.com/freeshipping/?cpg=3D12297 > > >_______________________________________________ > > >Andromda-user mailing list > > >And...@li... > > >https://lists.sourceforge.net/lists/listinfo/andromda-user > > > > > > > __________________________________________________________________ > > Introducing the New Netscape Internet Service. > > Only $9.95 a month -- Sign up today at > > http://isp.netscape.com/register > > > > Netscape. Just the Net You > > Need. > > > > New! Netscape Toolbar for Internet Explorer > > Search from anywhere on the Web and block those annoying > > pop-ups. Download now at > > http://channels.netscape.com/ns/search/inst> all.jsp > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: The Robotic Monkeys at > > ThinkGeek For a limited time only, get FREE Ground shipping > > on all orders of $35 or more. Hurry up and shop folks, this > > offer expires April 30th! > > http://www.thinkgeek.com/freeshipping/?cpg=3D> 12297 > > > > _______________________________________________ > > > > Andromda-user mailing list > > And...@li... > > https://lists.sourceforge.net/lists/listinfo/andromda-user > > >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek > For a limited time only, get FREE Ground shipping on all orders of $35 > or more. Hurry up and shop folks, this offer expires April 30th! > http://www.thinkgeek.com/freeshipping/?cpg=12297 > _______________________________________________ > Andromda-user mailing list > And...@li... > https://lists.sourceforge.net/lists/listinfo/andromda-user |