Java Free.org - Forum Main Page

Goto page 1

Author Post
  Topic: Migrando do Tomcat para WebSphere
chil10

Replies: 3
Exibitions: 1031

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Migrando do Tomcat para WebSphere
A versão do WebSphere é a 5.1 e antes estava usando servlet 2.4 e tava dando erro.. ai troquei de 2.4 para 2.3 e rolou.. Quais outras bibliotecas podem ta dando erro?
  Topic: Migrando do Tomcat para WebSphere
chil10

Replies: 3
Exibitions: 1031

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Migrando do Tomcat para WebSphere
Pessoal minha aplicação tava rodando normalmente no tomcat(ambiente de desenvolvimento) mas quando fui para o ambiente de produção(WebSphere) tive problemas: seg log em anexo! Agúém sabe o que pode ser? Se alguém poder me ajuar agradeço pela atenção! Obrigado!
  Topic: iReport não funciona no Linux
chil10

Replies: 0
Exibitions: 1801

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: iReport não funciona no Linux
Pessoal to querendo executar o iReport-1.3.0 pelo linnux mas nao estou tendo sucesso. Estou usando o jsdk 1.4 no linux. Quando executo pelo windows que tem o jsdk 1.5 funciona direitinho! quando executo o arquivo iReport.sh tenho esse erro: [root@fedora bin]# ./startup.sh Exception in thread "main" java.lang.NullPointerException at java.util.Hashtable.put(libgcj.so.7rh) at javax.swing.plaf.basic.BasicToolBarUI.setBorderToRollover(libgcj.so.7rh) at javax.swing.plaf.basic.BasicToolBarUI$ToolBarContListener.componentAdded(libgcj.so.7rh) at java.awt.Container.addImpl(libgcj.so.7rh) at javax.swing.JToolBar.addImpl(libgcj.so.7rh) at java.awt.Container.add(libgcj.so.7rh) at it.businesslogic.ireport.gui.ToolbarFormatPanel.initComponents(ToolbarFormatPanel.java:168) at it.businesslogic.ireport.gui.ToolbarFormatPanel.<init>(ToolbarFormatPanel.java:57) at it.businesslogic.ireport.gui.MainFrame.<init>(MainFrame.java:422) at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:7782) [root@fedora bin]# Aguém pode me ajudar? Agradeço pela atenção! Abraço!
  Topic: dataTable carregados com objetos do selectOneMenu
chil10

Replies: 0
Exibitions: 1560

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: dataTable carregados com objetos do selectOneMenu
Bom, pessoal to querendo saber se tem alguma forma de carregar um grid com objetos selecionados em um selectOneMenu, usando valueChangeListener=""? A ideia é o seguinte: quero selecionar um objeto no selectOneMenu e automaticamente este objeto ser carregado no grid(dataTable) sem paginação mesmo... Obrigado!
  Topic: document.getElementById() não pega o id da tag
chil10

Replies: 2
Exibitions: 7293

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: document.getElementById() não pega o id da tag
Beleza é pq eu digitei errado.. mas coloquei document.getElementById().. Tem alguma ideia como faço isso? to precisando de ajuda pois não consigo fazer..ja tentei de toda forma e nada.. Agradeço pela atenção..... Abraço!
  Topic: document.getElementById() não pega o id da tag
chil10

Replies: 2
Exibitions: 7293

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: document.getElementById() não pega o id da tag
Pessoal estou querendo pegar o id da tag <h:inputText do jsf com um javascript que abre um calendario e seleciona a data para o campo do <h:inputText . Só que não consigo ja tentei de todas as formas. Se eu usar a tag <Input name="dc/> do html o codigo funciona que é uma beleza mas quando uso a tag <h:inputText id="dc"/> vem null o dc. Obs: estou usando XHTML. Agradeço pela atenção desde já! Obrigado! <h:inputText id="dc" value="" size="11"/> <a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.loginForm.dc);return false;"> nem assim e nem asim: document.ElementById(dc).value; <img class="PopcalTrigger" align="absmiddle" src="../calendario/calbtn.gif" width="34" height="22" border="0" alt=""/> </a> <iframe name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="../calendario/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;"/> funcion java script: function fPopCalendar(dateCtrl,range,posLayerId,posCtrl,posOffset) { var dc=dateCtrl; var pc=posCtrl?posCtrl:dc; if (gdCtrl!=dc) {gdCtrl=dc; fHideCal();} else if (fIsShown()) {fHideCal(); return;} var s=fParseInput(gdCtrl.value); var b=false;... ... ... ..segue função.....
  Topic: Como pegar o elemento id do <h:inputText>
chil10

Replies: 0
Exibitions: 2301

Post Forum: Java Avançado    Posted: 09/04/2009 23:18:44    Subject: Como pegar o elemento id do <h:inputText>
Pessoal estou querendo pegar o[color=red] id [/color]da tag <h:inputText do jsf com um javascript que abre um calendario e seleciona a data para o campo do <h:inputText . Só que não consigo ja tentei de todas as formas. Se eu usar a tag <Input [color=red]name="dc/>[/color] do html o codigo funciona que é uma beleza mas quando uso a tag <h:inputText id="dc"/> vem null o dc. Obs: estou usando XHTML. Agradeço pela atenção desde já! Obrigado! <h:inputText[color=red] id="dc" [/color]value="" size="11"/> <a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.loginForm.dc);return false;"> <img class="PopcalTrigger" align="absmiddle" src="../calendario/calbtn.gif" width="34" height="22" border="0" alt=""/> </a> <iframe name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="../calendario/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;"/> funcion java script: function fPopCalendar(dateCtrl,range,posLayerId,posCtrl,posOffset) { var dc=dateCtrl; var pc=posCtrl?posCtrl:dc; if (gdCtrl!=dc) {gdCtrl=dc; fHideCal();} else if (fIsShown()) {fHideCal(); return;} var s=fParseInput(gdCtrl.value); var b=false;... ... ... ..segue função.....
  Topic: javascript não reconhece tag do jsf <h:inputText>
chil10

Replies: 0
Exibitions: 3726

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: javascript não reconhece tag do jsf <h:inputText>
estou com um problema pessoa, to querendo fazer um calendario com popup só que o javascript não reconhece o document.getElement(dc) da tag: <h:inputText id="dc">. Alguém sabe como posso pegar este elemento com jsf? asimm em html funciona: <input name="dc" value="" size="11"><a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.demoform.dc);return false;" HIDEFOCUS><img class="PopcalTrigger" align="absmiddle" src="HelloWorld/calbtn.gif" width="34" height="22" border="0" alt=""></a> mas assim com jsf não funciona...codigo: <td align="left" valign="top" class="texto2" > [color=red]<h:inputText id="dc" value="#{correspondenciaAcao.correspondencia.dataDist}" size="11"> </h:inputText>[/color] <h.outputLink value="javascript:void(0)" onclick="if(self.gfPop) gfPop.fPopCalendar([color=red]dc[/color]);return false;" > <h.graphicImage styleClass="PopcalTrigger" value="/seguro/imagens/calbtn.gif" alt=""/> </h:outputLink> <iframe width="174" height="189" name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="../javascript/calendario/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;"> </iframe> </td> [color=brown]segue função:[/color] function fPopCalendar(dateCtrl,range,posLayerId,posCtrl,posOffset) { var dc=dateCtrl; var pc=posCtrl?posCtrl:dc; if (gdCtrl!=dc) {gdCtrl=dc; fHideCal();} else if (fIsShown()) {fHideCal(); return;} var s=fParseInput(gdCtrl.value); var b=false; if (s==null) if (__gdos[2]==0) { b=true; s=eval(gTheme[0]); s=[s[0],s[1],0]; } else s=__gdos; fUpdSelect(s[0],s[1],s[2],b); fInitRange(range); if (gRange[2]&&fIsOutRange(s[0],s[1])) { fUpdSelect(0,0,0); s=gRange[2]; } if (!fSetCal(s[0],s[1],0,true,null)) { fUpdSelect(0,0,0); return; } var p,oh,isFixed=posOffset?posOffset[2]:gbFixedPos,isUp; if (isFixed) { p=posOffset?posOffset:gPosOffset; oh=-1; } else { p=fGetXY(pc,posOffset?posOffset:gPosOffset); if (posLayerId) { var lyr=fGetById(parent.document,posLayerId); if (lyr&&lyr.tagName.toUpperCase()=="IFRAME") { var pl=fGetXY(lyr); var p2=fGetWinSize(parent.frames[posLayerId]).slice(2); p[0]+=pl[0]-p2[0]; p[1]+=pl[1]-p2[1]; } } var oh=pc.offsetHeight,ptb=fGetById(document,"outerTable"),h=ptb.offsetHeight,w=ptb.offsetWidth; h=(h?h:gfSelf.height)+oh; if (gbAutoPos) { var ws=fGetWinSize(parent); var tmp=ws[0]+ws[2]-(w?w:gfSelf.width); p[0]=p[0]<ws[2]?ws[2]+2:p[0]>tmp?tmp:p[0]; tmp=ws[1]+ws[3]-h; isUp=p[1]>tmp&&(!gbPopDown||p[1]-ws[3]+oh>=h); } else isUp=!gbPopDown; if (isUp) p[1]-=oh>0?h+2:h+25; } fShowCal(p[0],p[1]+oh+1,isUp); } Agradeço pela atenção..! Obrigado!
  Topic: Oracle ADF Faces Componente
chil10

Replies: 0
Exibitions: 727

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Oracle ADF Faces Componente
Estou usando o componnet do adf : <af:selectInputDate id="dataDist" value="#{correspondenciaAcao.correspondencia.dataDist}" required="yes"> <af:convertDateTime id="date" pattern="dd/MM/yyyy"/> </af:selectInputDate> java.lang.NullPointerException at oracle.adfinternal.view.faces.uinode.FacesRenderingContext.setRenderingProperty(FacesRenderingContext.java:157) at oracle.adfinternal.view.faces.ui.RenderedNodeRenderingContext.setProperty(RenderedNodeRenderingContext.java:162) at oracle.adfinternal.view.faces.ui.ServletRenderingContext._setContextProperty(ServletRenderingContext.java:309) at oracle.adfinternal.view.faces.ui.ServletRenderingContext.setServletRequest(ServletRenderingContext.java:140) at oracle.adfinternal.view.faces.ui.ServletRenderingContext.setServletRequest(ServletRenderingContext.java:163) at oracle.adfinternal.view.faces.ui.ServletRenderingContext.init(ServletRenderingContext.java:113) at oracle.adfinternal.view.faces.ui.ServletRenderingContext.init(ServletRenderingContext.java:96) at oracle.adfinternal.view.faces.uinode.FacesRenderingContext.<init>(FacesRenderingContext.java:106) at oracle.adfinternal.view.faces.uinode.FacesRenderingContext.createRenderingContext(FacesRenderingContext.java:79) at oracle.adfinternal.view.faces.uinode.UINodeRendererBase.getRenderingContext(UINodeRendererBase.java:89) at oracle.adfinternal.view.faces.uinode.FacesRenderingContext.getRenderingContext(FacesRenderingContext.java:66) at oracle.adfinternal.view.faces.uinode.FacesRenderingContext.getRenderingContext(FacesRenderingContext.java:52) at oracle.adfinternal.view.faces.renderkit.htmlBasic.UINodeRenderer.getRenderingContext(UINodeRenderer.java:79) at oracle.adfinternal.view.faces.renderkit.htmlBasic.UINodeRenderer.encodeBegin(UINodeRenderer.java:38) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:97) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336) at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196) at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:174) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source) [color=red]Segue arquivos em anexo! Gostaria de saber se tem alguém que sabe o que esse erro possa ser? Obrigado![/color]
  Topic: Myfaces com extensão tomahawk..(componente Calendar)
chil10

Replies: 1
Exibitions: 3045

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Myfaces com extensão tomahawk..(componente Calendar)
Estou usando jsf com implementação da sun facelet e do apache (componente Calendar )com jsdk 1.4 e estou tendo esse erro: java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:358) at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:318) at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:273) at org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.addScriptAndCSSResources(HtmlCalendarRenderer.java:291) at org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.encodeEnd(HtmlCalendarRenderer.java:108) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703) at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670) at org.apache.jsp.index_jsp._jspService(index_jsp.java:50) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:534) aguém sabe dizer que erro é esse , ´qual versão do myface tenho que usar para compatibilizar com jsdk 1.4?
  Topic: Inicializando uma aplicação com arquivo war no tomcat
chil10

Replies: 5
Exibitions: 9646

Post Forum: JSP / Servlets    Posted: 09/04/2009 23:18:44    Subject: Inicializando uma aplicação com arquivo war no tomcat
Consegui tirei os dois erros acima do log que pasei agora to com esse só: Cannot resolve reference to bean 'repositorioUsuario' while setting constructor argument; nested excepiton is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositorioUsuario' defined in class path resource [applicationContext.xml]: Cannot Voce tem alguma ideia do que seja? Agradeço pela Atenção.. Abraço!
  Topic: Deploy no linux com arquivo war
chil10

Replies: 0
Exibitions: 2298

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Deploy no linux com arquivo war
Minha aplicaçção tem hibernate spring e jsf fiz o deploy e foi gerado um arquivo.war, peguei esse arquivo e colei dentro da pasta do tomcat webapps/arquivo.war. o servidor linux ja está configurado com o postgresql e o tomcat..beleza..faço o deploy pelo tomcat no linux masa quando vou satarta a aplicaçõa esse erro ocorre: ERROR [http-8080-Processor23] ContextLoader.initWebApplicationContext(205) | Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cadastroUsuario' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'repositorioUsuario' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositorioUsuario' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [databaseContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: net.sf.cglib.core.DebuggingClassWriter$1 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositorioUsuario' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [databaseContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: net.sf.cglib.core.DebuggingClassWriter$1 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [databaseContext.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: net.sf.cglib.core.DebuggingClassWriter$1 Caused by: java.lang.NoClassDefFoundError: net.sf.cglib.core.DebuggingClassWriter$1 at java.lang.Class.initializeClass(libgcj.so.7rh) at net.sf.cglib.core.DebuggingClassWriter.toByteArray(DebuggingClassWriter.java:73) at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:26) at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216) at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108) at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104) at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69) at java.lang.Class.initializeClass(libgcj.so.7rh) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:111) at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43) at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162) at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135) at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55) at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56) at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:269) at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:425) at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109) at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1218) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:807) at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:740) at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:131) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory. se alguel solber alguma coisa por favor eu agradeço muito.. Abraço!
  Topic: Inicializando uma aplicação com arquivo war no tomcat
chil10

Replies: 5
Exibitions: 9646

Post Forum: JSP / Servlets    Posted: 09/04/2009 23:18:44    Subject: Inicializando uma aplicação com arquivo war no tomcat
meu Log é esse: log4j:ERROR setFile(null,true) call failed java.io.FileNotFoundException: emprel.log.(permissão negada) ...... .... .. . JDBCExceptionR´port.logExceptions(72) | Cannot create PoolableConnectionFactory(Conexao negada. Verifique se o nome da maquina e a porta estão correstos e se o postmaster está aceitando conexões TCP/IP) ------ ---- --- - -- Caused by: org.postgresql.util.PSQLException: Conexão negada. Verifique se o nome da maquina e a porta estão correstos e se o postmaster está aceitando conexões TCP/IP) .... . .. Cannot resolve reference to bean 'repositorioUsuario' while setting constructor argument; nested excepiton is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositorioUsuario' defined in class path resource [applicationContext.xml]: Cannot
  Topic: Inicializando uma aplicação com arquivo war no tomcat
chil10

Replies: 5
Exibitions: 9646

Post Forum: JSP / Servlets    Posted: 09/04/2009 23:18:44    Subject: Inicializando uma aplicação com arquivo war no tomcat
é o seguinte to tentando configurar minha apliacação no servidor linux, ja instalei o tomcat 5.5 e o jsdk 1.4. Peguei o arquivo war gerado pela ferramenta ant do apache atravéz do eclipse e coloquei no arquivo webapps do tomcat. O tomcat inicializa normalmente, consigo fazer o deploy da aplicação mas ela não starta. Alguém pode me dizer como acesso minha aplicação atravéz do servidor? em que estou errando e como devo fazer? Obrigado desde de já!
  Topic: Setando um atributo Date com data atual(new Date) formatada
chil10

Replies: 3
Exibitions: 14891

Post Forum: Banco de Dados - JDBC / SQL    Posted: 09/04/2009 23:18:44    Subject: Setando um atributo Date com data atual(new Date) formatada
é pq to querendo salvar no banco dessa forma 07/01/2007 e não como vem o new Date(); com data e hora GMT e etc...
  Topic: Setando um atributo Date com data atual(new Date) formatada
chil10

Replies: 3
Exibitions: 14891

Post Forum: Banco de Dados - JDBC / SQL    Posted: 09/04/2009 23:18:44    Subject: Setando um atributo Date com data atual(new Date) formatada
Pessoal to querendo setar um atributo do tipo Date com uma data atual(new Date) só que para isso tenho que formatar antes de setar. meu código está assim: try { DateFormat formatter = new SimpleDateFormat("dd/MM/yyyy"); //erro de compiçaõa => retorna uma String Date dataAtual = (formatter.format(new Date())); HoraAtual relogio = new HoraAtual(); relogio.setData(dataAtual); System.out.println(da.getData()); } catch (ParseException e) { e.printStackTrace(); } Já tentei de todas as formas más não consigo. Se alguem poder me ajudar agradeço muito! Abraço!
  Topic: Usando plugin exadel com JSF e Tomcat
chil10

Replies: 0
Exibitions: 1106

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Usando plugin exadel com JSF e Tomcat
Estou tendo problema para inicializar o tomcat. Estou usando j2sdk1.5 com tomcat5.5 e quendo vou criar o Server seto o tomcat 5. ai quando vou inicializar http://localhost:8080 aparece esse erro: SEVERE: Error configuring application listener of class com.sun.faces.config.ConfigureListener java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3677) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardHost.start(StandardHost.java:718) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442) at org.apache.catalina.core.StandardService.start(StandardService.java:450) at org.apache.catalina.core.StandardServer.start(StandardServer.java:709) at org.apache.catalina.startup.Catalina.start(Catalina.java:551) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432) [color=red]Alguém ppoderia me ajudar? Agradeço muito pela atenção.![/color]
  Topic: Configurando o classpath no ANT
chil10

Replies: 1
Exibitions: 9138

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Configurando o classpath no ANT
[color=red]segue error:[/color] Buildfile: C:\Documents and Settings\carlos\workspace\teste\build.xml BUILD FAILED C:\Documents and Settings\carlos\workspace\teste\build.xml:15: Could not create task or type of type: classpath. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual solutions are to read the manual pages then download and install needed JAR files, or fix the build file: - You have misspelt 'classpath'. Fix: check your spelling. - The task needs an external JAR file to execute and this is not found at the right place in the classpath. Fix: check the documentation for dependencies. Fix: declare the task. - The task is an Ant optional task and the JAR file and/or libraries implementing the functionality were not found at the time you yourself built your installation of Ant from the Ant sources. Fix: Look in the ANT_HOME/lib for the 'ant-' JAR corresponding to the task and make sure it contains more than merely a META-INF/MANIFEST.MF. If all it contains is the manifest, then rebuild Ant with the needed libraries present in ${ant.home}/lib/optional/ , or alternatively, download a pre-built release version from apache.org - The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant - The task is not an Ant core or optional task and needs to be declared using <taskdef>. - You are attempting to use a task defined using <presetdef> or <macrodef> but have spelt wrong or not defined it at the point of use Remember that for JAR files to be visible to Ant tasks implemented in ANT_HOME/lib, the files must be in the same directory or on the classpath Please neither file bug reports on this problem, nor email the Ant mailing lists, until all of these causes have been explored, as this is not an Ant bug. Total time: 1 second [color=blue]Agradeço pela atenção[/color]
  Topic: Configurando o classpath no ANT
chil10

Replies: 1
Exibitions: 9138

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Configurando o classpath no ANT
Estou tentando configurar o classpath no ant e não estou conseguindo. meu aquivo se encontra assim: <project name="teste" default="all"> <description>Script de automatizacao de tarefas.</description> <!-- propriedades usadas em todo o script --> <property name="base" location="WEB-INF"/> <property name="bin" location="${base}/classes"/> <property name="src" location="${base}/src"/> <property name="doc" location="${base}/doc"/> <property name="lib" location="${base}/lib"/> <property name="classpath" location=""/> <property name="mappings.src" location="${src}"/> <property name="mappings.bin" location="${bin}"/> <property environment="env"/> <!-- configura uma classpath --> <classpath> <pathelement path="${classpath}"/> </classpath> <!-- TAREFAS NAO PADRAO --> <!-- definicao da tarefa "hbm2java", para geracao dos sources java a partir dos mappings hibernate --> <taskdef name="hbm2java" classname="net.sf.hibernate.tool.hbm2java.Hbm2JavaTask" classpathref="classpath"/> <!-- definicao para a tarefa schemaexport, para geracao de tabelas com base nos mappings do hibernate --> <taskdef name="schemaexport" classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask" classpathref="classpath"/> <!-- TARGETS --> <!-- compila todos os .java --> <target name="compile" description="Compilacao"> <javac srcdir="${src}" destdir="${bin}"> <classpath> <pathelement path="${java.class.path}"/> </classpath> </javac> </target> <!-- essa tarefa soh executa os targets "dependentes", ou seja, todos os targets --> <target name="all" depends="hibernate, database, hbm2java, compile " description="Geracao completa"> <echo message="Geracao completa."/> </target> <!-- essa tarefa gera os mappings de hibernate --> <target name="hibernate" description="Geracao dos mappings do hibernate"> <!-- Eh feita a exclusao para garantir a geracao de todos os mappings --> <delete> <fileset dir="${mappings.src}"> <include name="**/*.hbm.xml"/> </fileset> </delete> <!-- Gera os mappings --> <hibernatedoclet destdir="${mappings.src}" excludedtags="@version,@author,@todo" force="force" verbose="true"> <fileset dir="${src}"> <include name="**/pojo/*.java"/> </fileset> <hibernate version="2.0"/> </hibernatedoclet> <!-- Depende do projeto. Em alguns, o dir de mappings pode ficar num lugar comum, entao, torna-se desnecessario. --> <copy todir="${mappings.bin}"> <fileset dir="${mappings.src}"> <include name="**/*.hbm.xml"/> </fileset> </copy> <echo message="Geracao dos mappings do hibernate completa."/> </target> <!-- gera o banco para o projeto--> <target name="database" description="Criacao do banco de dados"> <schemaexport properties="${bin}/hibernate.properties" quiet="no" text="no" drop="no"> <fileset dir="${mappings.src}"> <include name="**/*.hbm.xml"/> </fileset> </schemaexport> </target> <!-- gera os pojo's com base nos mappings hibernate --> <target name="hbm2java" description="Geracao de arquivos java com base em mappings do hibernate"> <hbm2java output="${src}" classpathref="classpath"> <fileset dir="${mappings.src}"> <include name="**/*.hbm.xml"/> </fileset> </hbm2java> </target> <!-- gera a documentacao (javadoc) para o projeto --> <target name="doc" description="Geracao da documentacao"> <javadoc destdir="${doc}" author="true" version="true" use="true" package="true"> <fileset dir = "${src}"> <include name="**/*.java"/> </fileset> <classpath> <pathelement path="${java.class.path}"/> </classpath> </javadoc> </target></project> observe que o classpath location não referencia nada...(<property name="classpath" location=""/> ) como faço pra referenciar o classpath? Agradeço pela atenção!
  Topic: org.hibernate.exception.SQLGrammarException:
chil10

Replies: 16
Exibitions: 15295

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: org.hibernate.exception.SQLGrammarException:
Não resolçveu não! Continua dando o memso erro.. org.hibernate.exception.DataException: Could not execute JDBC batch update at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:249) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000) at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338) at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106) at hibernateUtility.HibernateUtility.commitTransaction(HibernateUtility.java:63) at hibernate.pesistencia.AreaDeEntregaDao.inserir(AreaDeEntregaDao.java:25) at test.Test.main(Test.java:16) Caused by: java.sql.BatchUpdateException: Entrada em lote 0 /* insert classesbasicas.AreaDeEntrega */ insert into areadeentrega (nome, descricao, id) values (Boa Viagem, Area de entrega com grante potencial, 5) foi abortada. Chame getNextException para ver a causa. at org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2497) at org.postgresql.core.v3.QueryExecutorImpl$1.handleError(QueryExecutorImpl.java:399) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1298) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:347) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2559) at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeBatch(NewProxyPreparedStatement.java:1723) at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48) at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242) ... 10 more [color=red] Obrigado pela atenção![/color]
  Topic: org.hibernate.exception.SQLGrammarException:
chil10

Replies: 16
Exibitions: 15295

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: org.hibernate.exception.SQLGrammarException:
[color=red]tem alguma ideia do que pode ser?[/color] Could not synchrorg.hibernate.exception.DataException: Could not execute JDBC batch update Obrigado!
  Topic: org.hibernate.exception.SQLGrammarException:
chil10

Replies: 16
Exibitions: 15295

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: org.hibernate.exception.SQLGrammarException:
Estou sim.. AreaDeEntrega area = new AreaDeEntrea(); area.setId(1); area.nome("sdfgdg"); area.Descricao("hgjhg"); HibernateUtility.inserir(area); Obridado pela atenção!
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
[color=red]Ainda to aguardando ... se poder me ajudar agradeço muito.! obrigado![/color]
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
[color=red]SO TENHO ESSE TIPO DE ERRO:[/color] 006-11-23 11:16:23,200 INFO hibernate.cfg.Environment -> Hibernate 3.2.1 2006-11-23 11:16:23,240 INFO hibernate.cfg.Environment -> hibernate.properties not found 2006-11-23 11:16:23,250 INFO hibernate.cfg.Environment -> Bytecode provider name : cglib 2006-11-23 11:16:23,280 INFO hibernate.cfg.Environment -> using JDK 1.4 java.sql.Timestamp handling 2006-11-23 11:16:23,690 INFO hibernate.cfg.Configuration -> configuring from resource: /hibernate.cfg.xml 2006-11-23 11:16:23,690 INFO hibernate.cfg.Configuration -> Configuration resource: /hibernate.cfg.xml 2006-11-23 11:16:24,932 DEBUG hibernate.util.DTDEntityResolver -> trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] 2006-11-23 11:16:25,163 DEBUG hibernate.util.DTDEntityResolver -> recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/ 2006-11-23 11:16:25,163 DEBUG hibernate.util.DTDEntityResolver -> located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.connection.driver_class=org.postgresql.Driver 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.connection.url=jdbc:postgresql://localhost:5432/teste 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.connection.username=root 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.connecion.password=bvr1 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.max_size=10 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.min_size=2 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.timeout=5000 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.max_statements=10 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.idle_test_period=3000 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.acquire_increment=2 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> show_sql=false 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> use_outer_join=true 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.generate_statistics=true 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.use_sql_comments=true 2006-11-23 11:16:25,773 DEBUG hibernate.cfg.Configuration -> SessionFactory<-org.dom4j.tree.DefaultAttribute@982589 [Attribute: name resource value "classesbasicas/AreaDeEntrega.hbm.xml"] 2006-11-23 11:16:25,773 INFO hibernate.cfg.Configuration -> Reading mappings from resource : classesbasicas/AreaDeEntrega.hbm.xml 2006-11-23 11:16:25,773 DEBUG hibernate.util.DTDEntityResolver -> trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] 2006-11-23 11:16:25,773 DEBUG hibernate.util.DTDEntityResolver -> recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/ 2006-11-23 11:16:25,783 DEBUG hibernate.util.DTDEntityResolver -> located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath 2006-11-23 11:16:26,585 INFO hibernate.cfg.HbmBinder -> Mapping class: classesbasicas.AreaDeEntrega -> AreaDeEntrega 2006-11-23 11:16:26,725 DEBUG hibernate.cfg.HbmBinder -> Mapped property: id -> id 2006-11-23 11:16:26,785 DEBUG hibernate.cfg.HbmBinder -> Mapped property: nome -> nome 2006-11-23 11:16:26,785 DEBUG hibernate.cfg.HbmBinder -> Mapped property: descricao -> descricao 2006-11-23 11:16:26,785 DEBUG hibernate.cfg.HbmBinder -> Named query: listarAreaDeEntregaPeloNome -> from AreaDeEntrega a where a.nome = :nome 2006-11-23 11:16:26,785 DEBUG hibernate.cfg.HbmBinder -> Named query: buscarAreaDeEntregaPorId -> from AreaDeEntrega a where a.id = :id 2006-11-23 11:16:26,785 INFO hibernate.cfg.Configuration -> Configured SessionFactory: SessionFactory 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Arquivos de programas\Java\j2re1.4.2_13\bin, java.vm.version=1.4.2_13-b06, hibernate.connection.username=root, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, use_outer_join=true, user.country=BR, sun.os.patch.level=Service Pack 1, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Documents and Settings\carlos\workspace\teste, java.runtime.version=1.4.2_13-b06, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.c3p0.max_statements=10, java.endorsed.dirs=C:\Arquivos de programas\Java\j2re1.4.2_13\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\carlos\CONFIG~1\Temp\, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, hibernate.c3p0.idle_test_period=3000, sun.java2d.fontpath=, hibernate.c3p0.timeout=5000, java.library.path=C:\Arquivos de programas\Java\j2re1.4.2_13\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32;C:\j2sdk1.4.2_13\\bin ;C:\j2sdk1.4.2_13\\bin ;C:\j2sdk1.4.2_13\\bin , hibernate.generate_statistics=true, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\carlos, user.timezone=America/Sao_Paulo, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.c3p0.min_size=2, hibernate.connection.driver_class=org.postgresql.Driver, show_sql=false, user.name=carlos, java.class.path=C:\Documents and Settings\carlos\workspace\teste;C:\hibernate-3.2\lib\xml-apis.jar;C:\hibernate-3.2\lib\ant-1.6.5.jar;C:\hibernate-3.2\lib\ant-antlr-1.6.5.jar;C:\hibernate-3.2\lib\ant-junit-1.6.5.jar;C:\hibernate-3.2\lib\ant-launcher-1.6.5.jar;C:\hibernate-3.2\lib\antlr-2.7.6.jar;C:\hibernate-3.2\lib\ant-swing-1.6.5.jar;C:\hibernate-3.2\lib\asm.jar;C:\hibernate-3.2\lib\asm-attrs.jar;C:\hibernate-3.2\lib\c3p0-0.9.0.jar;C:\hibernate-3.2\lib\cglib-2.1.3.jar;C:\hibernate-3.2\lib\checkstyle-all.jar;C:\hibernate-3.2\lib\cleanimports.jar;C:\hibernate-3.2\lib\commons-collections-2.1.1.jar;C:\hibernate-3.2\lib\commons-logging-1.0.4.jar;C:\hibernate-3.2\lib\concurrent-1.3.2.jar;C:\hibernate-3.2\lib\connector.jar;C:\hibernate-3.2\lib\dom4j-1.6.1.jar;C:\hibernate-3.2\lib\ehcache-1.2.3.jar;C:\hibernate-3.2\lib\jaas.jar;C:\hibernate-3.2\lib\jacc-1_0-fr.jar;C:\hibernate-3.2\lib\javassist.jar;C:\hibernate-3.2\lib\jaxen-1.1-beta-7.jar;C:\hibernate-3.2\lib\jboss-cache.jar;C:\hibernate-3.2\lib\jboss-common.jar;C:\hibernate-3.2\lib\jboss-jmx.jar;C:\hibernate-3.2\lib\jboss-system.jar;C:\hibernate-3.2\lib\jdbc2_0-stdext.jar;C:\hibernate-3.2\lib\jgroups-2.2.8.jar;C:\hibernate-3.2\lib\jta.jar;C:\hibernate-3.2\lib\junit-3.8.1.jar;C:\hibernate-3.2\lib\log4j-1.2.11.jar;C:\hibernate-3.2\lib\oscache-2.1.jar;C:\hibernate-3.2\lib\proxool-0.8.3.jar;C:\hibernate-3.2\lib\swarmcache-1.0rc2.jar;C:\hibernate-3.2\lib\syndiag2.jar;C:\hibernate-3.2\lib\versioncheck.jar;C:\hibernate-3.2\lib\xerces-2.6.2.jar;C:\Documents and Settings\carlos\workspace\teste\asm.jar;C:\Documents and Settings\carlos\workspace\teste\asm-attrs.jar;C:\Documents and Settings\carlos\workspace\teste\c3p0-0.9.0.jar;C:\Documents and Settings\carlos\workspace\teste\cglib-2.1.3.jar;C:\Documents and Settings\carlos\workspace\teste\commons-collections-2.1.1.jar;C:\Documents and Settings\carlos\workspace\teste\commons-logging-1.0.4.jar;C:\Documents and Settings\carlos\workspace\teste\dom4j-1.6.1.jar;C:\Documents and Settings\carlos\workspace\teste\ehcache-1.2.3.jar;C:\Documents and Settings\carlos\workspace\teste\hibernate3.jar;C:\Documents and Settings\carlos\workspace\teste\jboss-common.jar;C:\Documents and Settings\carlos\workspace\teste\jdbc2_0-stdext.jar;C:\Documents and Settings\carlos\workspace\teste\jta.jar;C:\Documents and Settings\carlos\workspace\teste\log4j-1.2.11.jar;C:\Documents and Settings\carlos\workspace\teste\oscache-2.1.jar;C:\Documents and Settings\carlos\workspace\teste\xerces-2.6.2.jar;C:\Documents and Settings\carlos\workspace\teste\xml-apis.jar;C:\Documents and Settings\carlos\workspace\teste\postgresql-8.1-405.jdbc2.jar;C:\Documents and Settings\carlos\workspace\teste\postgresql-8.1-405.jdbc3.jar, hibernate.bytecode.use_reflection_optimizer=false, hibernate.use_sql_comments=true, hibernate.show_sql=false, java.vm.specification.version=1.0, java.home=C:\Arquivos de programas\Java\j2re1.4.2_13, sun.arch.data.model=32, hibernate.connection.url=jdbc:postgresql://localhost:5432/teste, hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect, user.language=pt, java.specification.vendor=Sun Microsystems Inc., hibernate.c3p0.max_size=10, awt.toolkit=sun.awt.windows.WToolkit, hibernate.connecion.password=bvr1, java.vm.info=mixed mode, java.version=1.4.2_13, java.ext.dirs=C:\Arquivos de programas\Java\j2re1.4.2_13\lib\ext, sun.boot.class.path=C:\Arquivos de programas\Java\j2re1.4.2_13\lib\rt.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\i18n.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\sunrsasign.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\jsse.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\jce.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\charsets.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\classes, java.vendor=Sun Microsystems Inc., hibernate.c3p0.acquire_increment=2, file.separator=\, hibernate.session_factory_name=SessionFactory, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, hibernate.use_outer_join=true, sun.cpu.isalist=pentium i486 i386} 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> Preparing to build session factory with filters : {} 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> processing extends queue 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> processing collection mappings 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> processing native query and ResultSetMapping mappings 2006-11-23 11:16:26,805 DEBUG hibernate.cfg.Configuration -> processing association property references 2006-11-23 11:16:26,805 DEBUG hibernate.cfg.Configuration -> processing foreign key constraints 2006-11-23 11:16:27,476 INFO hibernate.connection.C3P0ConnectionProvider -> C3P0 using driver: org.postgresql.Driver at URL: jdbc:postgresql://localhost:5432/teste 2006-11-23 11:16:27,476 INFO hibernate.connection.C3P0ConnectionProvider -> Connection properties: {user=root} 2006-11-23 11:16:27,476 INFO hibernate.connection.C3P0ConnectionProvider -> autocommit mode: false 2006-11-23 11:16:27,896 INFO v2.log.MLog -> MLog clients using log4j logging. 2006-11-23 11:16:28,077 INFO v2.c3p0.C3P0Registry -> Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true; trace: 10] 2006-11-23 11:16:29,369 INFO v2.c3p0.PoolBackedDataSource -> Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@18825b3 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@530cf2 [ acquireIncrement -> 2, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 530cf2, idleConnectionTestPeriod -> 3000, initialPoolSize -> 2, maxIdleTime -> 5000, maxPoolSize -> 10, maxStatements -> 10, maxStatementsPerConnection -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@3e0ebb [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 3e0ebb, jdbcUrl -> jdbc:postgresql://localhost:5432/teste, properties -> {user=******} ], preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ], factoryClassLocation -> null, identityToken -> 18825b3, numHelperThreads -> 3 ] 2006-11-23 11:16:29,459 DEBUG v2.resourcepool.BasicResourcePool -> awaitAvailable(): [unknown] 2006-11-23 11:16:29,459 DEBUG v2.resourcepool.BasicResourcePool -> trace com.mchange.v2.resourcepool.BasicResourcePool@5dcec6 [managed: 0, unused: 0, excluded: 0] 2006-11-23 11:16:29,769 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:29,829 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:30,881 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:31,251 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:31,932 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:32,353 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:32,984 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:33,855 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:35,167 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. O ERRO NAO PARA DE APARECER FICA EM LOOP..SO TERMINA QUANDO EU ENCERRO ATHREAD. TENS ALGUMA IDEIA? oBRIGADO
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
[color=red]SO RECEBO ESSE TIPOD EERRO:[/color] 006-11-23 11:16:23,200 INFO hibernate.cfg.Environment -> Hibernate 3.2.1 2006-11-23 11:16:23,240 INFO hibernate.cfg.Environment -> hibernate.properties not found 2006-11-23 11:16:23,250 INFO hibernate.cfg.Environment -> Bytecode provider name : cglib 2006-11-23 11:16:23,280 INFO hibernate.cfg.Environment -> using JDK 1.4 java.sql.Timestamp handling 2006-11-23 11:16:23,690 INFO hibernate.cfg.Configuration -> configuring from resource: /hibernate.cfg.xml 2006-11-23 11:16:23,690 INFO hibernate.cfg.Configuration -> Configuration resource: /hibernate.cfg.xml 2006-11-23 11:16:24,932 DEBUG hibernate.util.DTDEntityResolver -> trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] 2006-11-23 11:16:25,163 DEBUG hibernate.util.DTDEntityResolver -> recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/ 2006-11-23 11:16:25,163 DEBUG hibernate.util.DTDEntityResolver -> located [http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd] in classpath 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.connection.driver_class=org.postgresql.Driver 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.connection.url=jdbc:postgresql://localhost:5432/teste 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.connection.username=root 2006-11-23 11:16:25,743 DEBUG hibernate.cfg.Configuration -> hibernate.connecion.password=bvr1 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.max_size=10 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.min_size=2 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.timeout=5000 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.max_statements=10 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.idle_test_period=3000 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.c3p0.acquire_increment=2 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> show_sql=false 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> use_outer_join=true 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.generate_statistics=true 2006-11-23 11:16:25,763 DEBUG hibernate.cfg.Configuration -> hibernate.use_sql_comments=true 2006-11-23 11:16:25,773 DEBUG hibernate.cfg.Configuration -> SessionFactory<-org.dom4j.tree.DefaultAttribute@982589 [Attribute: name resource value "classesbasicas/AreaDeEntrega.hbm.xml"] 2006-11-23 11:16:25,773 INFO hibernate.cfg.Configuration -> Reading mappings from resource : classesbasicas/AreaDeEntrega.hbm.xml 2006-11-23 11:16:25,773 DEBUG hibernate.util.DTDEntityResolver -> trying to resolve system-id [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] 2006-11-23 11:16:25,773 DEBUG hibernate.util.DTDEntityResolver -> recognized hibernate namespace; attempting to resolve on classpath under org/hibernate/ 2006-11-23 11:16:25,783 DEBUG hibernate.util.DTDEntityResolver -> located [http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd] in classpath 2006-11-23 11:16:26,585 INFO hibernate.cfg.HbmBinder -> Mapping class: classesbasicas.AreaDeEntrega -> AreaDeEntrega 2006-11-23 11:16:26,725 DEBUG hibernate.cfg.HbmBinder -> Mapped property: id -> id 2006-11-23 11:16:26,785 DEBUG hibernate.cfg.HbmBinder -> Mapped property: nome -> nome 2006-11-23 11:16:26,785 DEBUG hibernate.cfg.HbmBinder -> Mapped property: descricao -> descricao 2006-11-23 11:16:26,785 DEBUG hibernate.cfg.HbmBinder -> Named query: listarAreaDeEntregaPeloNome -> from AreaDeEntrega a where a.nome = :nome 2006-11-23 11:16:26,785 DEBUG hibernate.cfg.HbmBinder -> Named query: buscarAreaDeEntregaPorId -> from AreaDeEntrega a where a.id = :id 2006-11-23 11:16:26,785 INFO hibernate.cfg.Configuration -> Configured SessionFactory: SessionFactory 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> properties: {java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, sun.boot.library.path=C:\Arquivos de programas\Java\j2re1.4.2_13\bin, java.vm.version=1.4.2_13-b06, hibernate.connection.username=root, java.vm.vendor=Sun Microsystems Inc., java.vendor.url=http://java.sun.com/, path.separator=;, java.vm.name=Java HotSpot(TM) Client VM, file.encoding.pkg=sun.io, use_outer_join=true, user.country=BR, sun.os.patch.level=Service Pack 1, java.vm.specification.name=Java Virtual Machine Specification, user.dir=C:\Documents and Settings\carlos\workspace\teste, java.runtime.version=1.4.2_13-b06, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, hibernate.c3p0.max_statements=10, java.endorsed.dirs=C:\Arquivos de programas\Java\j2re1.4.2_13\lib\endorsed, os.arch=x86, java.io.tmpdir=C:\DOCUME~1\carlos\CONFIG~1\Temp\, line.separator= , java.vm.specification.vendor=Sun Microsystems Inc., user.variant=, os.name=Windows XP, hibernate.c3p0.idle_test_period=3000, sun.java2d.fontpath=, hibernate.c3p0.timeout=5000, java.library.path=C:\Arquivos de programas\Java\j2re1.4.2_13\bin;.;C:\WINDOWS\System32;C:\WINDOWS;C:\WINDOWS\System32;C:\j2sdk1.4.2_13\\bin ;C:\j2sdk1.4.2_13\\bin ;C:\j2sdk1.4.2_13\\bin , hibernate.generate_statistics=true, java.specification.name=Java Platform API Specification, java.class.version=48.0, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, os.version=5.1, user.home=C:\Documents and Settings\carlos, user.timezone=America/Sao_Paulo, java.awt.printerjob=sun.awt.windows.WPrinterJob, file.encoding=Cp1252, java.specification.version=1.4, hibernate.c3p0.min_size=2, hibernate.connection.driver_class=org.postgresql.Driver, show_sql=false, user.name=carlos, java.class.path=C:\Documents and Settings\carlos\workspace\teste;C:\hibernate-3.2\lib\xml-apis.jar;C:\hibernate-3.2\lib\ant-1.6.5.jar;C:\hibernate-3.2\lib\ant-antlr-1.6.5.jar;C:\hibernate-3.2\lib\ant-junit-1.6.5.jar;C:\hibernate-3.2\lib\ant-launcher-1.6.5.jar;C:\hibernate-3.2\lib\antlr-2.7.6.jar;C:\hibernate-3.2\lib\ant-swing-1.6.5.jar;C:\hibernate-3.2\lib\asm.jar;C:\hibernate-3.2\lib\asm-attrs.jar;C:\hibernate-3.2\lib\c3p0-0.9.0.jar;C:\hibernate-3.2\lib\cglib-2.1.3.jar;C:\hibernate-3.2\lib\checkstyle-all.jar;C:\hibernate-3.2\lib\cleanimports.jar;C:\hibernate-3.2\lib\commons-collections-2.1.1.jar;C:\hibernate-3.2\lib\commons-logging-1.0.4.jar;C:\hibernate-3.2\lib\concurrent-1.3.2.jar;C:\hibernate-3.2\lib\connector.jar;C:\hibernate-3.2\lib\dom4j-1.6.1.jar;C:\hibernate-3.2\lib\ehcache-1.2.3.jar;C:\hibernate-3.2\lib\jaas.jar;C:\hibernate-3.2\lib\jacc-1_0-fr.jar;C:\hibernate-3.2\lib\javassist.jar;C:\hibernate-3.2\lib\jaxen-1.1-beta-7.jar;C:\hibernate-3.2\lib\jboss-cache.jar;C:\hibernate-3.2\lib\jboss-common.jar;C:\hibernate-3.2\lib\jboss-jmx.jar;C:\hibernate-3.2\lib\jboss-system.jar;C:\hibernate-3.2\lib\jdbc2_0-stdext.jar;C:\hibernate-3.2\lib\jgroups-2.2.8.jar;C:\hibernate-3.2\lib\jta.jar;C:\hibernate-3.2\lib\junit-3.8.1.jar;C:\hibernate-3.2\lib\log4j-1.2.11.jar;C:\hibernate-3.2\lib\oscache-2.1.jar;C:\hibernate-3.2\lib\proxool-0.8.3.jar;C:\hibernate-3.2\lib\swarmcache-1.0rc2.jar;C:\hibernate-3.2\lib\syndiag2.jar;C:\hibernate-3.2\lib\versioncheck.jar;C:\hibernate-3.2\lib\xerces-2.6.2.jar;C:\Documents and Settings\carlos\workspace\teste\asm.jar;C:\Documents and Settings\carlos\workspace\teste\asm-attrs.jar;C:\Documents and Settings\carlos\workspace\teste\c3p0-0.9.0.jar;C:\Documents and Settings\carlos\workspace\teste\cglib-2.1.3.jar;C:\Documents and Settings\carlos\workspace\teste\commons-collections-2.1.1.jar;C:\Documents and Settings\carlos\workspace\teste\commons-logging-1.0.4.jar;C:\Documents and Settings\carlos\workspace\teste\dom4j-1.6.1.jar;C:\Documents and Settings\carlos\workspace\teste\ehcache-1.2.3.jar;C:\Documents and Settings\carlos\workspace\teste\hibernate3.jar;C:\Documents and Settings\carlos\workspace\teste\jboss-common.jar;C:\Documents and Settings\carlos\workspace\teste\jdbc2_0-stdext.jar;C:\Documents and Settings\carlos\workspace\teste\jta.jar;C:\Documents and Settings\carlos\workspace\teste\log4j-1.2.11.jar;C:\Documents and Settings\carlos\workspace\teste\oscache-2.1.jar;C:\Documents and Settings\carlos\workspace\teste\xerces-2.6.2.jar;C:\Documents and Settings\carlos\workspace\teste\xml-apis.jar;C:\Documents and Settings\carlos\workspace\teste\postgresql-8.1-405.jdbc2.jar;C:\Documents and Settings\carlos\workspace\teste\postgresql-8.1-405.jdbc3.jar, hibernate.bytecode.use_reflection_optimizer=false, hibernate.use_sql_comments=true, hibernate.show_sql=false, java.vm.specification.version=1.0, java.home=C:\Arquivos de programas\Java\j2re1.4.2_13, sun.arch.data.model=32, hibernate.connection.url=jdbc:postgresql://localhost:5432/teste, hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect, user.language=pt, java.specification.vendor=Sun Microsystems Inc., hibernate.c3p0.max_size=10, awt.toolkit=sun.awt.windows.WToolkit, hibernate.connecion.password=bvr1, java.vm.info=mixed mode, java.version=1.4.2_13, java.ext.dirs=C:\Arquivos de programas\Java\j2re1.4.2_13\lib\ext, sun.boot.class.path=C:\Arquivos de programas\Java\j2re1.4.2_13\lib\rt.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\i18n.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\sunrsasign.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\jsse.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\jce.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\lib\charsets.jar;C:\Arquivos de programas\Java\j2re1.4.2_13\classes, java.vendor=Sun Microsystems Inc., hibernate.c3p0.acquire_increment=2, file.separator=\, hibernate.session_factory_name=SessionFactory, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, sun.io.unicode.encoding=UnicodeLittle, sun.cpu.endian=little, hibernate.use_outer_join=true, sun.cpu.isalist=pentium i486 i386} 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> Preparing to build session factory with filters : {} 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> processing extends queue 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> processing collection mappings 2006-11-23 11:16:26,795 DEBUG hibernate.cfg.Configuration -> processing native query and ResultSetMapping mappings 2006-11-23 11:16:26,805 DEBUG hibernate.cfg.Configuration -> processing association property references 2006-11-23 11:16:26,805 DEBUG hibernate.cfg.Configuration -> processing foreign key constraints 2006-11-23 11:16:27,476 INFO hibernate.connection.C3P0ConnectionProvider -> C3P0 using driver: org.postgresql.Driver at URL: jdbc:postgresql://localhost:5432/teste 2006-11-23 11:16:27,476 INFO hibernate.connection.C3P0ConnectionProvider -> Connection properties: {user=root} 2006-11-23 11:16:27,476 INFO hibernate.connection.C3P0ConnectionProvider -> autocommit mode: false 2006-11-23 11:16:27,896 INFO v2.log.MLog -> MLog clients using log4j logging. 2006-11-23 11:16:28,077 INFO v2.c3p0.C3P0Registry -> Initializing c3p0-0.9.0 [built 11-July-2005 00:43:29 -0400; debug? true; trace: 10] 2006-11-23 11:16:29,369 INFO v2.c3p0.PoolBackedDataSource -> Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@18825b3 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@530cf2 [ acquireIncrement -> 2, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 530cf2, idleConnectionTestPeriod -> 3000, initialPoolSize -> 2, maxIdleTime -> 5000, maxPoolSize -> 10, maxStatements -> 10, maxStatementsPerConnection -> 0, minPoolSize -> 2, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@3e0ebb [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 3e0ebb, jdbcUrl -> jdbc:postgresql://localhost:5432/teste, properties -> {user=******} ], preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ], factoryClassLocation -> null, identityToken -> 18825b3, numHelperThreads -> 3 ] 2006-11-23 11:16:29,459 DEBUG v2.resourcepool.BasicResourcePool -> awaitAvailable(): [unknown] 2006-11-23 11:16:29,459 DEBUG v2.resourcepool.BasicResourcePool -> trace com.mchange.v2.resourcepool.BasicResourcePool@5dcec6 [managed: 0, unused: 0, excluded: 0] 2006-11-23 11:16:29,769 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:29,829 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:30,881 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:31,251 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:31,932 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:32,353 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:32,984 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:33,855 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. org.postgresql.util.PSQLException: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 11:16:35,167 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. TENS ALGUMA IDEIA? AGRADEÇO
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
SO QUE ELE DIZ O SEGUINTE: O servidor pediu autenticação baseada em senha, mas nenhuma senha foi fornecida. at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:325) at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:94) at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:116) at org.postgresql.jdbc2.Jdbc2Connection.<init>(Jdbc2Connection.java:24) at org.postgresql.Driver.makeConnection(Driver.java:369) at org.postgresql.Driver.connect(Driver.java:245) at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:81) at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:96) at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C3P0PooledConnectionPool.java:89) at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResourcePool.java:665) at com.mchange.v2.resourcepool.BasicResourcePool.access$500(BasicResourcePool.java:32) at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1204) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:368) 2006-11-23 10:57:08,860 DEBUG v2.resourcepool.BasicResourcePool -> An exception occurred while acquiring a resource. [color=red]MEU HIBERNATE.CFG.XML É:[/color] <!--configuracao do baco postgreSQL --> <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property> <property name="hibernate.connection.driver_class">org.postgresql.Driver</property> <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/teste</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connecion.password">bvr1</property> PODE ME AJUDAR AINDA, EU AGRADEÇO MUITO..
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
BELEZA ENTENDI AGORA.. JA FIZ ISSO SIM... VALEU!
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
É O SEGUINTE COPIEI O JAR DO POSTGRE E COLEI NO PROJETO PELA IDE ECLIPSE MEMSO! É ISSO OU TENHO QUE FAZER OUTRA COISA? VALEU PELA ATENÇÃO!
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
o drive já se encontra no classpath do projeto: [color=red]postgreSql8.1-405jdbc.jar[/color] o que poderá ser?
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
beleza! to com esse erro agora: org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:70) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:397) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1289) at hibernateUtility.HibernateUtility.<clinit>(HibernateUtility.java:27) at hibernate.pesistencia.AreaDeEntregaDao.inserir(AreaDeEntregaDao.java:21) at test.Test.main(Test.java:16) Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100) at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:65) ... 9 more java.lang.ExceptionInInitializerError at hibernate.pesistencia.AreaDeEntregaDao.inserir(AreaDeEntregaDao.java:21) at test.Test.main(Test.java:16) Caused by: org.hibernate.HibernateException: JDBC Driver class not found: org.postgresql.Driver at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:70) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:397) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1289) at hibernateUtility.HibernateUtility.<clinit>(HibernateUtility.java:27) ... 2 more Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:100) at org.hibernate.connection.C3P0ConnectionProvider.configure(C3P0ConnectionProvider.java:65) ... 9 more Exception in thread "main" fico muito grato..fico contente de ter pessoa que ainda ajudam os proximos.. Obrigado pela atenção !
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
So que ja to setando o dialect: <!--configuracao do baco postgreSQL --> <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property> <property name="hibernate.connection.driver_class">org.postgresql.Driver</property> <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/teste</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connecion.password">bvr</property> [color=red]sabe o que pode ser?[/color]
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
meu arquivo do HibernateUtility ficou assim: factory = new Configuration().configure().setProperties(System.getProperties()).buildSessionFactory(); e agora tenho outro erro: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57) at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39) at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:409) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:119) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1289) at hibernateUtility.HibernateUtility.<clinit>(HibernateUtility.java:29) at hibernate.pesistencia.AreaDeEntregaDao.inserir(AreaDeEntregaDao.java:21) at test.Test.main(Test.java:16) java.lang.ExceptionInInitializerError at hibernate.pesistencia.AreaDeEntregaDao.inserir(AreaDeEntregaDao.java:21) at test.Test.main(Test.java:16) Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57) at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39) at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:409) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:119) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1289) at hibernateUtility.HibernateUtility.<clinit>(HibernateUtility.java:29) ... 2 more agradeceria muito s evoce podece me ajudar? Obrigado!
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
tenho sim: hibernate.cfg.xml: <session-factory name="SessionFactory"> <!--configuracao do baco postgreSQL --> <property name="hibernate.connection.driver_class">org.postgresql.Driver</property> <property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/teste</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connecion.password">bvr</property> <property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property> <!-- configuracao do poll de conexao --> <property name="hibernate.c3p0.max_size">10</property> <property name="hibernate.c3p0.min_size">2</property> <property name="hibernate.c3p0.timeout">5000</property> <property name="hibernate.c3p0.max_statements">10</property> <property name="hibernate.c3p0.idle_test_period">3000</property> <property name="hibernate.c3p0.acquire_increment">2</property> <property name="show_sql">false</property> <property name="use_outer_join">true</property> <property name="hibernate.generate_statistics">true</property> <property name="hibernate.use_sql_comments">true</property> <!-- mapeamento dos hbms --> <mapping resource="classesbasicas/AreaDeEntrega.hbm.xml" /> </session-factory> e também to passando o mapeamento no HibernateUtility: factory = new Configuration().configure() .addResource("classesbasicas/AreaDeEntrega.hbm.xml") .setProperties(System.getProperties()) .buildSessionFactory(); tenho que passar nos dois lugares ou so basta um? deculpa mas sou novo no hibernate! Obriga pela atenção!
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
Obrigado pela atenção mas ainda continua dando erro. Se pode mim ajudar agradeço muito! Erro: Error instanciando a configuração org.hibernate.InvalidMappingException: Could not parse mapping document from resource classesbasicas/AreaDeEntrega.hbm.xml at org.hibernate.cfg.Configuration.addResource(Configuration.java:569) at hibernateUtility.HibernateUtility.<clinit>(HibernateUtility.java:28) at hibernate.pesistencia.AreaDeEntregaDao.inserir(AreaDeEntregaDao.java:21) at test.Test.main(Test.java:16) Caused by: org.hibernate.DuplicateMappingException: Duplicate class/entity mapping classesbasicas.AreaDeEntrega at org.hibernate.cfg.Mappings.addClass(Mappings.java:118) at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:145) at org.hibernate.cfg.Configuration.add(Configuration.java:669) at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:504) at org.hibernate.cfg.Configuration.addResource(Configuration.java:566) ... 3 more java.lang.ExceptionInInitializerError at hibernate.pesistencia.AreaDeEntregaDao.inserir(AreaDeEntregaDao.java:21) at test.Test.main(Test.java:16) Caused by: org.hibernate.InvalidMappingException: Could not parse mapping document from resource classesbasicas/AreaDeEntrega.hbm.xml at org.hibernate.cfg.Configuration.addResource(Configuration.java:569) at hibernateUtility.HibernateUtility.<clinit>(HibernateUtility.java:28) ... 2 more Caused by: org.hibernate.DuplicateMappingException: Duplicate class/entity mapping classesbasicas.AreaDeEntrega at org.hibernate.cfg.Mappings.addClass(Mappings.java:118) at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:145) at org.hibernate.cfg.Configuration.add(Configuration.java:669) at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:504) at org.hibernate.cfg.Configuration.addResource(Configuration.java:566) ... 3 more Exception in thread "main" minha classe de mapeamento agora está assim: <?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="classesbasicas.AreaDeEntrega"> <id name="id" column="id" type="Integer"> <generator class="assigned"/> </id> <property name="nome" column="nome"/> <property name="descricao" column="descricao"/> </class> <query name="listarAreaDeEntregaPeloNome"> <![CDATA[from AreaDeEntrega a where a.nome = :nome]]> </query> <query name="buscarAreaDeEntregaPorId"> <![CDATA[from AreaDeEntrega a where a.id = :id]]> </query> </hibernate-mapping> e o HIbernatyUltility está assim: factory = new Configuration().configure() .addResource("classesbasicas/AreaDeEntrega.hbm.xml") .setProperties(System.getProperties()) .buildSessionFactory(); Agradeço desde já!
  Topic: Error no mapp documento para resources classesbasicas/A..
chil10

Replies: 19
Exibitions: 2874

Post Forum: Frameworks, APIs e IDE's    Posted: 09/04/2009 23:18:44    Subject: Error no mapp documento para resources classesbasicas/A..
<?xml version="1.0"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="AreaDeEntrega"> <id name="id" column="id" type="Integer"> <generator class="assigned"/> </id> <property name="nome" column="nome"/> <property name="descricao" column="descricao"/> </class> <query name="listarAreaDeEntregaPeloNome"> <![CDATA[from AreaDeEntrega a where a.nome = :nome]]> </query> <query name="buscarAreaDeEntregaPorId"> <![CDATA[from AreaDeEntrega a where a.id = :id]]> </query> </hibernate-mapping> e minha class hibernateUtility assim: public class HibernateUtility { private static final SessionFactory factory; private static final ThreadLocal sessionThread = new ThreadLocal(); private static final ThreadLocal transactionThread = new ThreadLocal(); static { //Bloco estático que inicializa o Hibernate, escreve o stack trace se //houver algum problema e relança a exceção try { factory = new Configuration().configure() .addResource("classesbasicas/AreaDeEntrega.hbm.xml") .addResource("classesbasicas/AgenteDeEntrega.hbm.xml") .addResource("classesbasicas/Correspondencia.hbm.xml") .addResource("classesbasicas/OrgaoEmissor.hbm.xml") .addResource("classesbasicas/TipoDeAgente.hbm.xml") .addResource("classesbasicas/TipoDeDocumento.hbm.xml") .buildSessionFactory(); } catch (RuntimeException e) { System.out.println("Error instanciando a configuração"); e.printStackTrace(); throw e; } } public static Session getSession() { Session session = (Session) sessionThread.get(); if ( session == null || !session.isOpen() ) { session = factory.openSession(); sessionThread.set( session ); } return (Session) sessionThread.get(); } public static void closeSession() { Session session = (Session) sessionThread.get(); if ( session != null && session.isOpen() ) { sessionThread.set(null); session.close(); } } public static void beginTransaction() { Transaction transaction = getSession().beginTransaction(); transactionThread.set(transaction); } public static void commitTransaction() { Transaction transaction = (Transaction) transactionThread.get(); if ( transaction != null && !transaction.wasCommitted() && !transaction.wasRolledBack() ) { transaction.commit(); transactionThread.set(null); } } public static void rollbackTransaction() { Transaction transaction = (Transaction) transactionThread.get(); if ( transaction != null && !transaction.wasCommitted() && !transaction.wasRolledBack() ) { transaction.rollback(); transactionThread.set(null); } } }

Goto page 1