Re: Geronimo 2.0/openejb/postgresql
On Jan 15, 2008 10:44 PM, the666pack <[EMAIL PROTECTED]> wrote: > problem solved. the last error where i spent a lot of time with, > > No registered metadata for type "class vt.bean.entity.Director" > > was in fact created by some attribute in the Director entity bean which > should not have been there. Wait. What was the attribute that stirred up the trouble? I must admit I'm still unable to figure that out from the entire thread. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl
Adding third party libraries in GBean and ClassNotFound Exception
Hi, I am developing GBean and within my bean, I am using third party libraries like quartz. I have deployed quarz.jar in geronimo and then in my Gbean config, I am including this quartz.jar as dependency. When I am deploying GBean, I am getting error org.quartz.Trigger class not found. My geronimo-service.xml file in my Gbean jar file is : phaip-test phaip-test 1.1 quartz quartz 1.6.0 jar Please help. Qaiser Mehmood -- View this message in context: http://www.nabble.com/Adding-third-party-libraries-in-GBean-and-ClassNotFound-Exception-tp14859517s134p14859517.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Geronimo-trunk and fresh GeronimoEclipsePlugin
Hi Tomasz, when you get a chance would you try to deploy your EAR file using the latest version of the GEP from the unstable site and let me know how it goes ?? It should work now as I've finally figured out the problem you were having before. If it does not work, would you be able to attach it in an email to me so that I can determine any remaining issues ?? Thanks very much Tomasz Mazan wrote: Hi I downloaded Geronimo from binaries repository and Eclipse+GeronimoEclipsePlugin using build.xml from http://svn.apache.org/repos/asf/geronimo/devtools/eclipse-plugin/trunk/eclipse/build.xml When I try to configure new server runtime for Geronimo-trunk I get error "An incorrect version of Geronimo was detected. Version 2.0 was expected, but version 2.1-SNAPSHOT was found." How can I make this stuff working ? regards Beniamin -- Thanks, Tim McConnell
Re: Geronimo 2.0/openejb/postgresql
hello, problem solved. the last error where i spent a lot of time with, No registered metadata for type "class vt.bean.entity.Director" was in fact created by some attribute in the Director entity bean which should not have been there. i was just searching on the wrong side of the tracks for a long long time. thanks for your help with setting up the connection to postgresql, i come back for MDBs later ;) greetings, mario. the666pack wrote: > > ok, > > it seems to me that the only reason i got the "no No registered metadata > for type "class vt.bean.entity.Director"" error was because in my > persistence.xml file the following property was set: > > > > can you tell me what this property is good for? > > as soon as i dont set this property or set it to some other value (like in > your mdb-tutorial to > value="buildSchema(SchemaAction='add,deleteTableContents')")i get an error > again as soon as i call "emf.createEntityManager()": > > [exec] WAITING... to see if entitymanager is created successfully > [exec] 12:47:49,858 ERROR [OpenEJB] The bean instances business > method encountered a system exception: null > [exec] <1.0.0-r561970-r561970 nonfatal general error> > org.apache.openjpa.persistence.PersistenceException: null > [exec] at > org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:204) > [exec] at > org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142) > [exec] at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:190) > [exec] at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:143) > [exec] at > org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:55) > [exec] at > vt.bean.stateful.WriteDataBean.writeToDB(WriteDataBean.java:89) > [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > [exec] at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [exec] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [exec] at java.lang.reflect.Method.invoke(Method.java:597) > [exec] at > org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146) > [exec] at > org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129) > [exec] at > org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67) > [exec] at > org.apache.openejb.core.stateful.StatefulContainer._invoke(StatefulContainer.java:427) > [exec] at > org.apache.openejb.core.stateful.StatefulContainer.businessMethod(StatefulContainer.java:389) > [exec] at > org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:246) > [exec] at > org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:211) > [exec] at > org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:65) > [exec] at > org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:244) > [exec] at > org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49) > [exec] at $Proxy57.writeToDB(Unknown Source) > [exec] at > org.apache.jsp.addTool_jsp._jspService(addTool_jsp.java:108) > [exec] at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > [exec] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > [exec] at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388) > [exec] at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > [exec] at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > [exec] at > javax.servlet.http.HttpServlet.service(HttpServlet.java:806) > [exec] at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > [exec] at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > [exec] at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) > [exec] at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > [exec] at > org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56) > [exec] at > org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:351) > [exec] at > org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(Geroni
Plugin Installer ERROR [Batch]
Hi all, I'm trying to use the plugin installer in console (m2 repo), the first time i initiate installing something it usually goes through processing... however, upon going back into the plugin installer and attempting to install another plugin i am encountered with "ERROR [Batch] A request has been denied as a potential CSRF attack." in shell. I believe it comes from a batch..java file that originates from the DWR components.. but does anyone have idea as to what is causing either my request.isRequestedSessionIdValid() or request.isRequestedSessionIdFromCookie() to invalidate? Thanks. The best, Joseph Leong
Re: Geronimo 2.0/openejb/postgresql
ok, it seems to me that the only reason i got the "no No registered metadata for type "class vt.bean.entity.Director"" error was because in my persistence.xml file the following property was set: can you tell me what this property is good for? as soon as i dont set this property or set it to some other value (like in your mdb-tutorial to value="buildSchema(SchemaAction='add,deleteTableContents')")i get an error again as soon as i call "emf.createEntityManager()": [exec] WAITING... to see if entitymanager is created successfully [exec] 12:47:49,858 ERROR [OpenEJB] The bean instances business method encountered a system exception: null [exec] <1.0.0-r561970-r561970 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null [exec] at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:204) [exec] at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142) [exec] at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:190) [exec] at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:143) [exec] at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:55) [exec] at vt.bean.stateful.WriteDataBean.writeToDB(WriteDataBean.java:89) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [exec] at java.lang.reflect.Method.invoke(Method.java:597) [exec] at org.apache.openejb.core.interceptor.ReflectionInvocationContext$Invocation.invoke(ReflectionInvocationContext.java:146) [exec] at org.apache.openejb.core.interceptor.ReflectionInvocationContext.proceed(ReflectionInvocationContext.java:129) [exec] at org.apache.openejb.core.interceptor.InterceptorStack.invoke(InterceptorStack.java:67) [exec] at org.apache.openejb.core.stateful.StatefulContainer._invoke(StatefulContainer.java:427) [exec] at org.apache.openejb.core.stateful.StatefulContainer.businessMethod(StatefulContainer.java:389) [exec] at org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:246) [exec] at org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:211) [exec] at org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:65) [exec] at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:244) [exec] at org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49) [exec] at $Proxy57.writeToDB(Unknown Source) [exec] at org.apache.jsp.addTool_jsp._jspService(addTool_jsp.java:108) [exec] at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) [exec] at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388) [exec] at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) [exec] at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) [exec] at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) [exec] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [exec] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [exec] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) [exec] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) [exec] at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56) [exec] at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:351) [exec] at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47) [exec] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [exec] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) [exec] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [exec] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563) [exec] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) [exec] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) [exec] at org.apach