Sure. I'm missing XML schema declaration at the top. Could that be it?
I also don't have a hivemind DTD.

500 Servlet Exception

org.apache.hivemind.ApplicationRuntimeException: Error at
file:/opt/opendating/webapps/WEB-INF/classes/META-INF/hivemodule.xml,
line 12: Module org.opendating has contributed to unknown configuration
point tapestry.services.ApplicationServices. The contribution has been
ignored.
        at 
org.apache.hivemind.impl.StrictErrorHandler.error(StrictErrorHandler.java:39)
        at 
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addContributions(RegistryInfrastructureConstructor.java:451)
        at 
org.apache.hivemind.impl.RegistryInfrastructureConstructor.addImplementationsAndContributions(RegistryInfrastructureConstructor.java:400)
        at 
org.apache.hivemind.impl.RegistryInfrastructureConstructor.constructRegistryInfrastructure(RegistryInfrastructureConstructor.java:176)
        at 
org.apache.hivemind.impl.RegistryBuilder.constructRegistry(RegistryBuilder.java:151)
        at 
org.apache.tapestry.ApplicationServlet.constructRegistry(ApplicationServlet.java:253)
        at 
org.apache.tapestry.ApplicationServlet.init(ApplicationServlet.java:194)
        at org.opendating.tapestry.MainServlet.init(MainServlet.java:130)
        at 
com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:600)
        at 
com.caucho.server.dispatch.ServletManager.init(ServletManager.java:152)
        at com.caucho.server.webapp.Application.start(Application.java:1599)
        at 
com.caucho.server.deploy.DeployController.startImpl(DeployController.java:587)
        at 
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
        at 
com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:475)
        at 
com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:158)
        at 
com.caucho.server.webapp.ApplicationContainer.start(ApplicationContainer.java:651)
        at com.caucho.server.host.Host.start(Host.java:385)
        at 
com.caucho.server.deploy.DeployController.startImpl(DeployController.java:587)
        at 
com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
        at 
com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:475)
        at 
com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:158)
        at com.caucho.server.host.HostContainer.start(HostContainer.java:467)
        at com.caucho.server.resin.ServletServer.start(ServletServer.java:945)
        at 
com.caucho.server.deploy.DeployController.startImpl(DeployController.java:587)
        at 
com.caucho.server.deploy.AbstractDeployControllerStrategy.start(AbstractDeployControllerStrategy.java:56)
        at 
com.caucho.server.deploy.DeployController.start(DeployController.java:483)
        at com.caucho.server.resin.ResinServer.start(ResinServer.java:478)
        at com.caucho.server.resin.Resin.init(Resin.java)
        at com.caucho.server.resin.Resin.main(Resin.java:623)

----------------------------- web.xml -------------------------------------

<?xml version="1.0" encoding="ISO-8859-1"?>

<web-app xmlns="http://java.sun.com/xml/ns/j2ee";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
    version="2.4">
        
        <display-name>opendating</display-name>
        
        <servlet>
                <servlet-name>opendating</servlet-name>
                
<servlet-class>org.opendating.tapestry.MainServlet</servlet-class>
                <!-- 
<servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
 -->
                <load-on-startup>0</load-on-startup>
        </servlet>
        <servlet-mapping>
                <servlet-name>opendating</servlet-name>
                <url-pattern>/app</url-pattern>
        </servlet-mapping>

        <resource-ref>
                <description>OpenDating Database</description>
                <res-ref-name>jdbc/opendating</res-ref-name>
                <res-type>javax.sql.DataSource</res-type>
                <res-auth>Container</res-auth>
        </resource-ref>

        <listener>
                
<listener-class>org.opendating.session.ServletContextSniffer</listener-class>
        </listener>
        <listener>
                
<listener-class>org.opendating.session.HttpSessionSniffer</listener-class>
        </listener>
        <listener>
                
<listener-class>org.opendating.session.HttpRequestSniffer</listener-class>
        </listener>

</web-app>

----------------------------------- hivemodule.xml ------------------------

<?xml version="1.0"?>
<module id="org.opendating" version="0.1.0">

        <service-point id="CaptchaService"
interface="org.apache.tapestry.engine.IEngineService">
                <invoke-factory>
                        <construct 
class="org.opendating.tapestry.services.CaptchaService">
                                <set-object property="linkFactory"
value="service:tapestry.url.LinkFactory"/>
                        </construct>
                </invoke-factory>
        </service-point>
        
        <contribution configuration-id="tapestry.services.ApplicationServices">
                <service name="captcha" object="service:CaptchaService"/>
        </contribution>

        <contribution configuration-id="tapestry.state.ApplicationObjects">
                <state-object name="member" scope="session">
                        <create-instance 
class="org.opendating.data.model.Member"/>
                </state-object>
        </contribution>

        <service-point id="daoProvider"
interface="org.opendating.data.dao.IApplicationDAOProvider"/>

        <implementation service-id="daoProvider">
                <create-instance
class="org.opendating.data.dao.standard.StandardDAOProvider"
model="singleton"/>
        </implementation>

</module>

On 4/1/06, Leonardo Quijano Vincenzi <[EMAIL PROTECTED]> wrote:
> Adam Zimowski wrote:
> > Hi,
> >
> > I'm trying to deploy my app to Resin, but I'm getting exception from
> > Hivemind on startup about unknown configuration point
> > tapestry.services.ApplicationServices. When testing it under Tomcat
> > the app works just fine, so I'm guessing something Hivemind wants is
> > missing. I basically created lib-tapestry-4.0 directory inside Resin,
> > and told Resin about it. Standard stuff, configured my app, tried
> > starting it and I keep getting that Hivemind error. Anybody seen this
> > before? It's driving me nuts...
> >
> > Adam
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> It would be useful if you actually post the error information:
>
> - The exception stack trace.
> - Your web.xml
> - Your hivemodule.xml
>
> And any other relevant stuff.
>
> --
> Ing. Leonardo Quijano Vincenzi
> DTQ Software
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to