Hi Greg,
I'm using the same setup as you, except I use the straight org.apache.struts.action.SecurePlugIn and it works.


Haven't seen that exception before.

Adam

On 01/19/2004 09:06 PM Greg Hess wrote:
Hi All,



I am having difficulty integrating the sslext11 plug-in with Struts 1.1 using Tiles.



I get the following error when accessing any action:



javax.servlet.UnavailableException

at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1169)

at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)

at javax.servlet.GenericServlet.init(GenericServlet.java:82)

at com.caucho.server.http.Application.createServlet(Application.java:2982)

at com.caucho.server.http.Application.loadServlet(Application.java:2941)

at com.caucho.server.http.Application.initServlets(Application.java:1841)

at com.caucho.server.http.Application.init(Application.java:1772)

at com.caucho.server.http.VirtualHost.init(VirtualHost.java:621)

at com.caucho.server.http.ServletServer.initHosts(ServletServer.java:831)

at com.caucho.server.http.ServletServer.initInternal(ServletServer.java:648)

at com.caucho.server.http.ServletServer.init(ServletServer.java:483)

at com.caucho.server.http.ResinServer.init(ResinServer.java:360)

at com.caucho.server.http.ResinServer.main(ResinServer.java:1107)

at com.caucho.server.http.HttpServer.main(HttpServer.java:103)



My struts-config.xml:



<struts-config>

<action-mappings type="org.apache.struts.config.SecureActionConfig">



</action-mappings>



<!-- ===================================== Controller Configuration -->

<controller

processorClass="org.apache.struts.action.SecureTilesRequestProcessor"

nocache="true"/>



<!-- ================================ Message Resources Definitions -->

<message-resources parameter="struts.resources.application"/>



<!-- ======================================= Plug Ins Configuration -->

<plug-in className="org.apache.struts.tiles.TilesPlugin" >

<set-property property="definitions-config"

value="/WEB-INF/tiles-defs.xml" />

<set-property property="moduleAware" value="true" />

<set-property property="definitions-parser-validate" value="true" />

</plug-in>



<plug-in className="org.apache.struts.validator.ValidatorPlugIn">

<set-property

property="pathnames"

value="/WEB-INF/validator-rules.xml,/WEB-INF/validator-rules-custom.xml,

/WEB-INF/validation.xml"/>

</plug-in>



<plug-in className="org.apache.struts.tiles.SecureTilesPlugIn">

<set-property property="httpPort" value="80"/>

<set-property property="httpsPort" value="443"/>

<set-property property="enable" value="true"/>

<set-property property="addSession" value="true"/>

</plug-in>



</struts-config>





Any help is much appreciated,



Thanks,



Greg Hess

*Software Engineer*

*Wrapped Apps Corporation*

275 Michael Cowpland Dr.

Suite 201

Ottawa, Ontario

K2M 2G2

Tel: (613) 591 -7552

Fax: (613) 591-0523

1 (877) 388-6742

www.wrappedapps.com <http://www.wrappedapps.com>

<http://www.wrappedapps.com>





--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian


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



Reply via email to