[jboss-user] [Installation, Configuration & Deployment] - Error trying to start Jboss with Proxy settings

petejboss do-not-reply at jboss.com
Thu Sep 17 03:10:35 EDT 2009


Hi, 

I have currently inherited a jboss installation and am trying to setup a development environment which unlike the production environment sits behind a proxy. Because of the proxy a call to an external web-service fails with a java.net.ConnectException: Connection refused: connect.

When I try to pass the proxy settings in as jvm args the server fails to start and falls over with the error bellow. 

Jboss version is [Trinity] 4.2.3.GA running on windows xp

Java opts are passed in run.bat as follows -Dhttp.proxySet=true -Dhttp.proxyHost=my.proxy.ip -Dhttp.proxyPort=80 -Dhttp.proxyUserName=myUsername -Dhttp.proxyPassword=myPassword


2009-09-17 14:31:28,721 ERROR [org.apache.struts.tiles.TilesPlugin] Can't create Tiles definition factory for module ''.
2009-09-17 14:31:28,721 ERROR [org.apache.struts.action.ActionServlet] Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable.  Most likely, this is due to an incorrect or missing library dependency.
javax.servlet.ServletException: org.apache.struts.tiles.DefinitionsFactoryException: IO Error while parsing file '/WEB-INF/tiles-defs.xml'. Server returned HTTP response code: 407 for URL: http://jakarta.apache.org/struts/dtds/tiles-config_1_3.dtd
	at org.apache.struts.tiles.TilesPlugin.initDefinitionsFactory(TilesPlugin.java:237)
	at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:141)
	at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:871)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:359)
	at javax.servlet.GenericServlet.init(GenericServlet.java:212)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


Any help much appreciated

Pete

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255654#4255654

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255654



More information about the jboss-user mailing list