Re: Couple of OSAccess errors

"Ilja" <[email protected]>
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
Ok, I will, but does that mean that I cannot make use of osaccess for
now?

Ilja

no-one who managed to get osaccess working icw hibernate?

On Tue, 7 Oct 2003 18:09:27 -0500, [email protected] said:
> I will look into to it. Please add this to jira. The Hibernate provider  
> is new and I did not write it and have not tested it yet.
> 
> SnowWolf
> 
> 
> On Monday, Oct 6, 2003, at 17:23 America/Indianapolis, Ilja wrote:
> 
> > I'm trying to setup an osaccess test, but am getting three errors:
> >
> > SEVERE: Could not init provider
> > net.sf.hibernate.PropertyNotFoundException: Could not find a setter for
> > property acls in class
> > com.opensymphony.module.access.provider.hibernate.resource.Resource
> > 	at  
> > net.sf.hibernate.util.ReflectHelper.getSetter(ReflectHelper.java:138)
> > 	at ...
> >
> > and:
> >
> > [ERROR] com.opensymphony.module.access.config.ConfigLoader : Could not
> > initialize provider
> > com.opensymphony.module.access.provider.hibernate.HResourceProvider
> >
> > and:
> >
> > [FATAL] com.opensymphony.module.access.config.ConfigLoader : Exception
> > java.lang.NoClassDefFoundError:
> > com/opensymphony/module/user/EntityNotFoundException
> > 	at java.lang.Class.forName0(Native Method)
> > 	at java.lang.Class.forName(Class.java:217)
> > 	at  
> > com.opensymphony.module.access.config.ConfigLoader.addProvider(ConfigLo 
> > ader.java:137)
> > 	at
> >
> > config file:
> >
> > <opensymphony-access>
> >
> >     <provider
> >      
> > class="com.opensymphony.module.access.provider.hibernate.HResourceProvi 
> > der">
> >         <property name="realm">default</property>
> >         <property
> >          
> > name="hibernate.connection.datasource">java:comp/env/jdbc/Mathesis</ 
> > property>
> >         <property
> >          
> > name="hibernate.dialect">net.sf.hibernate.dialect.MySQLDialect</ 
> > property>
> >         <property name="autocommit">false</property>
> >         <property name="create.tables">true</property>
> >     </provider>
> >
> >     <provider
> >      
> > class="com.opensymphony.module.access.provider.osuser.OSUserUserProvide 
> > r">
> >         <property name="realm">default</property>
> >         <property
> >          
> > name="hibernate.connection.datasource">java:comp/env/jdbc/Mathesis</ 
> > property>
> >         <property
> >          
> > name="hibernate.dialect">net.sf.hibernate.dialect.MySQLDialect</ 
> > property>
> >         <property name="autocommit">false</property>
> >         <property name="create.tables">true</property>
> >     </provider>
> >
> > </opensymphony-access>
> >
> > Servlet-source:
> >
> > /*
> >  * Created on 4-okt-2003
> >  *
> >  * To change the template for this generated file go to
> >  * Window - Preferences - Java - Code Generation - Code and Comments
> >  */
> > package org.mathesis.test;
> >
> > import java.io.IOException;
> > import java.io.PrintWriter;
> >
> > import javax.servlet.ServletException;
> > import javax.servlet.http.HttpServlet;
> > import javax.servlet.http.HttpServletRequest;
> > import javax.servlet.http.HttpServletResponse;
> >
> > import com.opensymphony.module.access.AccessManager;
> >
> > /**
> >  * @author ilja
> >  *
> >  * To change the template for this generated type comment go to
> >  * Window - Preferences - Java - Code Generation - Code and Comments
> >  */
> > public class OSAccessTest extends HttpServlet
> > {
> > 	public void doGet(HttpServletRequest request, HttpServletResponse  
> > response) throws IOException, ServletException
> > 	{
> > 		PrintWriter out = response.getWriter();
> > 		
> > 		try
> > 		{
> > 			AccessManager am = AccessManager.getInstance();
> > 		}
> > 		catch (Exception e)
> > 		{
> > 			// TODO Auto-generated catch block
> > 			e.printStackTrace(out);
> > 		}
> > 	}
> > }
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Opensymphony-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
> >
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
> 


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.