geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edson Carlos Ericksson Richter <edson.rich...@brinformatica.srv.br>
Subject Re: Problems configuring DB pool 1.0 - SOLVED (partially)
Date Sun, 22 Jan 2006 02:13:30 GMT
Solved (it's a real Geronimo BUG)!!!

The problem is Geronimo-1421: I can't type ; in url using 
Geronimo-Tomcat. I didn't tested with Jetty.
So I created a user which default database is database I want, and 
didn't touch url neither fill in "database name" field.


Best regards,

Richter

   
Edson Carlos Ericksson Richter escreveu:

> Advance (but still not works)!
>
> I didn't fill "Database" field (keep it empty).
>
> Now, I beign sent to "*Create Database Pool* -- Step 3: Final Pool 
> Configuration".
>
> I fill in:
>
> url = 
> "jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=Biblio;SelectMethod=Cursor;"

>
> Driver Status = /Loaded Successfully/
> Pool min size = 2
> Pool max size = 10
> Blocking timeout (millis) = 5000
> Idle timeout (min) = 10
>
>
> click "Skip test and deploy". Nothing happens, pool is not created. On 
> server window I got following stack trace:
>
>
> 23:50:24,343 ERROR [[DBWizard]] Servlet.service() for servlet DBWizard 
> threw exc
> eption
> java.lang.NullPointerException
>        at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortle
> t.save(DatabasePoolPortlet.java:809)
>        at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortle
> t.processAction(DatabasePoolPortlet.java:334)
>        at 
> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229
> )
>        at 
> org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>        at 
> org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
>
>        at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:173)
>        at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
> atcher.java:672)
>        at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
> ispatcher.java:574)
>        at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
> patcher.java:499)
>        at 
> org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvoke
> rImpl.java:120)
>        at 
> org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvoke
> rImpl.java:68)
>        at 
> org.apache.pluto.PortletContainerImpl.processPortletAction(PortletCon
> tainerImpl.java:164)
>        at 
> org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processP
> ortletAction(PortletContainerWrapperImpl.java:82)
>        at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:173)
>        at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:213)
>        at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:178)
>        at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:482)
>        at 
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
> invoke(GeronimoStandardContext.java:272)
>        at 
> org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
> bjectValve.java:46)
>        at 
> org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke(PolicyCont
> extValve.java:50)
>        at 
> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(Trans
> actionContextValve.java:53)
>        at 
> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(Compone
> ntContextValve.java:47)
>        at 
> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(Instance
> ContextValve.java:60)
>        at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:126)
>        at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:105)
>        at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:107)
>        at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 526)
>        at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:148)
>        at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :856)
>        at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
> ssConnection(Http11Protocol.java:744)
>        at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
> int.java:527)
>        at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
> lowerWorkerThread.java:80)
>        at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
> ool.java:684)
>        at java.lang.Thread.run(Thread.java:595)
> 23:50:24,343 ERROR [Servlet] Exception caught:
> java.lang.NullPointerException
>        at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortle
> t.save(DatabasePoolPortlet.java:809)
>        at 
> org.apache.geronimo.console.databasemanager.wizard.DatabasePoolPortle
> t.processAction(DatabasePoolPortlet.java:334)
>        at 
> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:229
> )
>        at 
> org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:158)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>        at 
> org.apache.pluto.core.PortletServlet.service(PortletServlet.java:153)
>
>        at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:173)
>        at 
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
> atcher.java:672)
>        at 
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD
> ispatcher.java:574)
>        at 
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis
> patcher.java:499)
>        at 
> org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletInvoke
> rImpl.java:120)
>        at 
> org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletInvoke
> rImpl.java:68)
>        at 
> org.apache.pluto.PortletContainerImpl.processPortletAction(PortletCon
> tainerImpl.java:164)
>        at 
> org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.processP
> ortletAction(PortletContainerWrapperImpl.java:82)
>        at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:252)
>        at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:173)
>        at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:213)
>        at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:178)
>        at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:482)
>        at 
> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.
> invoke(GeronimoStandardContext.java:272)
>        at 
> org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSu
> bjectValve.java:46)
>        at 
> org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke(PolicyCont
> extValve.java:50)
>        at 
> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(Trans
> actionContextValve.java:53)
>        at 
> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(Compone
> ntContextValve.java:47)
>        at 
> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(Instance
> ContextValve.java:60)
>        at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:126)
>        at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:105)
>        at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> ve.java:107)
>        at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 526)
>        at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
> a:148)
>        at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :856)
>        at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
> ssConnection(Http11Protocol.java:744)
>        at 
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
> int.java:527)
>        at 
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
> lowerWorkerThread.java:80)
>        at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
> ool.java:684)
>        at java.lang.Thread.run(Thread.java:595)
>


Mime
View raw message