You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Tommaso Nuccio <to...@fwctc.com> on 2006/02/01 15:00:47 UTC
"Anon User not found" - Exception
Hi all,
I get this error message, which is really critical.
It happened, while doing this:
- Logged in as a user
- used a portlet that shows reports
- closed the internet explorer (without loggin out the user!!!)
- start new Internet Explorer
- try to load the portal's start page
--> Result is the exception.
- After a certain time, the reloading of the portal in the internet explorer
works and the portal seems to have been "restarted".
How can this error be catched? Something like an automatic logout of the user,
maybe. I guess this is a serious issue for every portal.
Maybe I am also doing something wrong?!
One problem also is that I do not understand the error message. Turbine does
not find anon user?! What has this guy to do with it? ;o)
Many thanks in advance for pointing me to the right direction,
Tommaso
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: "Anon User not found" - Exception
Posted by Stefano Bianchi <st...@softeco.it>.
I posted this on 28/07/05 (it should be always the same):
**********************************************************
Dear ALL,
I use J1.6 for my portal.
It sometimes happens that I get an error when I try to access it:
**********************************************************
**********************************************************
**********************************************************
There has been an Error!
Reason:
org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException
Get/Post Data:
template = /html/ShowError.vm
Stacktrace:
org.apache.jetspeed.om.profile.ProfileException:
java.lang.NullPointerException
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.fallbackProfile(JetspeedProfilerService.java:502)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:245)
at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.getProfile(JetspeedProfilerService.java:528)
at org.apache.jetspeed.services.Profiler.getProfile(Profiler.java:87)
at
org.apache.jetspeed.modules.actions.JetspeedAccessController.doPerform(JetspeedAccessController.java:74)
at org.apache.turbine.modules.Action.perform(Action.java:87)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:529)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:43)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)
**********************************************************
**********************************************************
**********************************************************
Is ther any issue known about the anon user?
Thank you
Stefano
----- Original Message -----
From: "David Sean Taylor" <da...@bluesunrise.com>
To: "Jetspeed Users List" <je...@portals.apache.org>
Sent: Wednesday, February 01, 2006 7:06 PM
Subject: Re: "Anon User not found" - Exception
> Could you send your complete stack trace?
> Thanks
>
> Stefano Bianchi wrote:
>> Hi Tommaso!
>> I use J1.6 and once a week I found my portal crashed giving that precise
>> exception.
>> A Tomcat restart solves the problem but I have to admit this is
>> annoying... in particular for production systems.
>> BTW, anon user is the one used to show the portal pages when you are not
>> logged in (anon psml is what you see when you connect to your portal url
>> and browse around without logging in...).
>> I asked before but it seems there is not an answer for that...
>> No helps but support then ;-)
>> Cheers
>> Stefano
>>
>> ----- Original Message ----- From: "Tommaso Nuccio"
>> <to...@fwctc.com>
>> To: <je...@jakarta.apache.org>
>> Sent: Wednesday, February 01, 2006 3:00 PM
>> Subject: "Anon User not found" - Exception
>>
>>
>>> Hi all,
>>>
>>> I get this error message, which is really critical.
>>> It happened, while doing this:
>>> - Logged in as a user
>>> - used a portlet that shows reports
>>> - closed the internet explorer (without loggin out the user!!!)
>>> - start new Internet Explorer
>>> - try to load the portal's start page
>>> --> Result is the exception.
>>> - After a certain time, the reloading of the portal in the internet
>>> explorer
>>> works and the portal seems to have been "restarted".
>>>
>>> How can this error be catched? Something like an automatic logout of the
>>> user,
>>> maybe. I guess this is a serious issue for every portal.
>>> Maybe I am also doing something wrong?!
>>>
>>> One problem also is that I do not understand the error message. Turbine
>>> does
>>> not find anon user?! What has this guy to do with it? ;o)
>>>
>>> Many thanks in advance for pointing me to the right direction,
>>> Tommaso
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>>
>>>
>>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
>
>
> --
> David Sean Taylor
> Bluesunrise Software
> david@bluesunrise.com
> [office] +01 707 773-4646
> [mobile] +01 707 529 9194
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: "Anon User not found" - Exception
Posted by David Sean Taylor <da...@bluesunrise.com>.
Could you send your complete stack trace?
Thanks
Stefano Bianchi wrote:
> Hi Tommaso!
> I use J1.6 and once a week I found my portal crashed giving that precise
> exception.
> A Tomcat restart solves the problem but I have to admit this is
> annoying... in particular for production systems.
> BTW, anon user is the one used to show the portal pages when you are not
> logged in (anon psml is what you see when you connect to your portal url
> and browse around without logging in...).
> I asked before but it seems there is not an answer for that...
> No helps but support then ;-)
> Cheers
> Stefano
>
> ----- Original Message ----- From: "Tommaso Nuccio"
> <to...@fwctc.com>
> To: <je...@jakarta.apache.org>
> Sent: Wednesday, February 01, 2006 3:00 PM
> Subject: "Anon User not found" - Exception
>
>
>> Hi all,
>>
>> I get this error message, which is really critical.
>> It happened, while doing this:
>> - Logged in as a user
>> - used a portlet that shows reports
>> - closed the internet explorer (without loggin out the user!!!)
>> - start new Internet Explorer
>> - try to load the portal's start page
>> --> Result is the exception.
>> - After a certain time, the reloading of the portal in the internet
>> explorer
>> works and the portal seems to have been "restarted".
>>
>> How can this error be catched? Something like an automatic logout of
>> the user,
>> maybe. I guess this is a serious issue for every portal.
>> Maybe I am also doing something wrong?!
>>
>> One problem also is that I do not understand the error message.
>> Turbine does
>> not find anon user?! What has this guy to do with it? ;o)
>>
>> Many thanks in advance for pointing me to the right direction,
>> Tommaso
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
unsubscribe from mail list problem ...
Posted by in...@netscape.net.
Hi
Does anyone know how to unsubscribe from this list ?
I have sent lots of emails to
jetspeed-user-unsubscribe@portals.apache.org, as well as
jetspeed-dev-unsubscribe@portals.apache.org, with and without text,
subject , etc...
I keep on getting mail though...
Thanks a lot,
Hans
___________________________________________________
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re:
Posted by Tommaso Nuccio <to...@fwctc.com>.
Stefano Bianchi <stefano.bianchi <at> softeco.it> writes:
>
> > I though about an hourly restart, but what, if a user is online at that
> > time?
> :-<
>
> But you are lucky, in my case things do not recover autonomously after 10
> minutes!
>
> Cheers,
> Stefano
This is exactly what I want to find out. If it is just a configuration issue,
it should be possible to set it minimal, let's say 1sec or 1 min.
I'll let you know, when I find the appropriate configuration.
Ciao,
Tommaso
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re:
Posted by Stefano Bianchi <st...@softeco.it>.
> I though about an hourly restart, but what, if a user is online at that
> time?
:-<
But you are lucky, in my case things do not recover autonomously after 10
minutes!
Cheers,
Stefano
----- Original Message -----
From: "Tommaso Nuccio" <to...@fwctc.com>
To: <je...@jakarta.apache.org>
Sent: Wednesday, February 01, 2006 4:05 PM
Subject: Re:
>> "Not so anon" then
> not really, haha.
>
>> If they have Tomcat installed as a service, you could tell them to plan
>> an
>> automatic restart at midnight.
> Not necessary, because after a certain time, I am not sure, but probably
> 10min, the error is gone. I guess this is session timeout issue or portlet
> cachedOn issue. When the time is up, it is loaded again and it is up an
> running.
>
>> A stupid thing that could prevent unavailability for more than 24
>> hours...
>> This does not solve the problem anyway.
> I though about an hourly restart, but what, if a user is online at that
> time?
>
>> Cheers
>> S
>
> Ciao,
> Tommaso
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re:
Posted by Tommaso Nuccio <to...@fwctc.com>.
> "Not so anon" then
not really, haha.
> If they have Tomcat installed as a service, you could tell them to plan an
> automatic restart at midnight.
Not necessary, because after a certain time, I am not sure, but probably
10min, the error is gone. I guess this is session timeout issue or portlet
cachedOn issue. When the time is up, it is loaded again and it is up an
running.
> A stupid thing that could prevent unavailability for more than 24 hours...
> This does not solve the problem anyway.
I though about an hourly restart, but what, if a user is online at that time?
> Cheers
> S
Ciao,
Tommaso
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re:
Posted by Stefano Bianchi <st...@softeco.it>.
"Not so anon" then ;-)
If they have Tomcat installed as a service, you could tell them to plan an
automatic restart at midnight.
A stupid thing that could prevent unavailability for more than 24 hours...
This does not solve the problem anyway.
Cheers :-)
S
----- Original Message -----
From: "Tommaso Nuccio" <to...@fwctc.com>
To: <je...@jakarta.apache.org>
Sent: Wednesday, February 01, 2006 3:29 PM
Subject: Re:
>> Hi Tommaso!
>> I use J1.6 and once a week I found my portal crashed giving that precise
>> exception.
>> A Tomcat restart solves the problem but I have to admit this is
>> annoying...
>> in particular for production systems.
>> BTW, anon user is the one used to show the portal pages when you are not
>> logged in (anon psml is what you see when you connect to your portal url
>> and
>> browse around without logging in...).
>> I asked before but it seems there is not an answer for that...
>> No helps but support then
>> Cheers
>> Stefano
>
> Ciao Stefano,
>
> well I know this guy "anon" :o)
> I know that restarting the server does the trick and, you are right, it is
> annoying, especially when it happens at night and no one is there to
> restart
> it. In my case, I am not allowed to interfere with the servers on my own,
> cause we have a department that is responsible for it. Mi stanno per le
> palle
> con queste "direzioni"...whatever!
>
> My guess is that the portal could restart itself. I am thinking about
> adding
> this feature when the error.vm pops-up with this special exception or by
> treating the anon user in the turbine tables in the jetspeed database with
> special scripts.
>
> Does anyone has a solution for this? How does Jetspeed2 behave?
>
> Thanks in advance and ciao,
> Tommaso
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re:
Posted by Tommaso Nuccio <to...@fwctc.com>.
> Hi Tommaso!
> I use J1.6 and once a week I found my portal crashed giving that precise
> exception.
> A Tomcat restart solves the problem but I have to admit this is annoying...
> in particular for production systems.
> BTW, anon user is the one used to show the portal pages when you are not
> logged in (anon psml is what you see when you connect to your portal url and
> browse around without logging in...).
> I asked before but it seems there is not an answer for that...
> No helps but support then
> Cheers
> Stefano
Ciao Stefano,
well I know this guy "anon" :o)
I know that restarting the server does the trick and, you are right, it is
annoying, especially when it happens at night and no one is there to restart
it. In my case, I am not allowed to interfere with the servers on my own,
cause we have a department that is responsible for it. Mi stanno per le palle
con queste "direzioni"...whatever!
My guess is that the portal could restart itself. I am thinking about adding
this feature when the error.vm pops-up with this special exception or by
treating the anon user in the turbine tables in the jetspeed database with
special scripts.
Does anyone has a solution for this? How does Jetspeed2 behave?
Thanks in advance and ciao,
Tommaso
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: "Anon User not found" - Exception
Posted by Stefano Bianchi <st...@softeco.it>.
Hi Tommaso!
I use J1.6 and once a week I found my portal crashed giving that precise
exception.
A Tomcat restart solves the problem but I have to admit this is annoying...
in particular for production systems.
BTW, anon user is the one used to show the portal pages when you are not
logged in (anon psml is what you see when you connect to your portal url and
browse around without logging in...).
I asked before but it seems there is not an answer for that...
No helps but support then ;-)
Cheers
Stefano
----- Original Message -----
From: "Tommaso Nuccio" <to...@fwctc.com>
To: <je...@jakarta.apache.org>
Sent: Wednesday, February 01, 2006 3:00 PM
Subject: "Anon User not found" - Exception
> Hi all,
>
> I get this error message, which is really critical.
> It happened, while doing this:
> - Logged in as a user
> - used a portlet that shows reports
> - closed the internet explorer (without loggin out the user!!!)
> - start new Internet Explorer
> - try to load the portal's start page
> --> Result is the exception.
> - After a certain time, the reloading of the portal in the internet
> explorer
> works and the portal seems to have been "restarted".
>
> How can this error be catched? Something like an automatic logout of the
> user,
> maybe. I guess this is a serious issue for every portal.
> Maybe I am also doing something wrong?!
>
> One problem also is that I do not understand the error message. Turbine
> does
> not find anon user?! What has this guy to do with it? ;o)
>
> Many thanks in advance for pointing me to the right direction,
> Tommaso
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: "Anon User not found" - Exception
Posted by Stefano Bianchi <st...@softeco.it>.
Sorry Tommaso,
do you mean it is enough to set
torque.dsfactory.default.pool.initialSize=1
to avoid the problem?
----- Original Message -----
From: "Tommaso" <to...@fwctc.com>
To: <je...@jakarta.apache.org>
Sent: Tuesday, March 14, 2006 4:18 PM
Subject: Re: "Anon User not found" - Exception
> Hi there,
>
> might be interesting, I've found a solution to this (for me).
> I restructered the Torque.properties to (with emphasis on the
> initialSize!!!)
> ---
> torque.dsfactory.default.factory=org.apache.torque.dsfactory.SharedPoolDataSourc
> eFactory
> torque.dsfactory.default.pool.defaultMaxActive=15
> torque.dsfactory.default.pool.initialSize=1
> torque.dsfactory.default.pool.testOnBorrow=true
> torque.dsfactory.default.pool.validationQuery=SELECT 1
> torque.dsfactory.default.connection.driver = com.inet.tds.TdsDriver
> torque.dsfactory.default.connection.url = jdbc:inetdae7a:1.2.3.4:1433?
> database=foobar
> torque.dsfactory.default.connection.user = ***
> torque.dsfactory.default.connection.password = ***
> ---
>
> Now it works.
>
> Additionally it would be great, if someone could tell me, where to find a
> jar,
> having the class Jdbc2PoolDataSourceFactory.class.
>
> Ciao,
> Tommaso
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: "Anon User not found" - Exception
Posted by Tommaso <to...@fwctc.com>.
Stefano Bianchi <stefano.bianchi <at> softeco.it> writes:
>
> Dear Tommaso,
> I have checked Torque.properties and I have seen many of the properties you
> mention are commented.
> Do you suggest to uncomment them and configure them in order to prevent
> "Anon..". exception?
> In particular, torque.dsfactory.default.pool.initialSize is not included:
> can it be used or is something you added?
> Thanks (the system crashed a couple of minutes ago...),
> Stefano
>
Ciao Stefano,
I have found the:
torque.dsfactory.default.pool.initialSize
in a documentation on apache.org...I think it was Torque itself.
It took a while to get it running, but also the change of the commons-pool and
commons-dbcp could also be an issue. Try it out.
For me, it worked.
To find the problem, try to get the newest commons for java, set the db-pool
correct.
Saluti,
Tommaso
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: "Anon User not found" - Exception
Posted by Stefano Bianchi <st...@softeco.it>.
Dear Tommaso,
I have checked Torque.properties and I have seen many of the properties you
mention are commented.
Do you suggest to uncomment them and configure them in order to prevent
"Anon..". exception?
In particular, torque.dsfactory.default.pool.initialSize is not included:
can it be used or is something you added?
Thanks (the system crashed a couple of minutes ago...),
Stefano
----- Original Message -----
From: "Tommaso" <to...@fwctc.com>
To: <je...@jakarta.apache.org>
Sent: Tuesday, March 14, 2006 4:18 PM
Subject: Re: "Anon User not found" - Exception
> Hi there,
>
> might be interesting, I've found a solution to this (for me).
> I restructered the Torque.properties to (with emphasis on the
> initialSize!!!)
> ---
> torque.dsfactory.default.factory=org.apache.torque.dsfactory.SharedPoolDataSourc
> eFactory
> torque.dsfactory.default.pool.defaultMaxActive=15
> torque.dsfactory.default.pool.initialSize=1
> torque.dsfactory.default.pool.testOnBorrow=true
> torque.dsfactory.default.pool.validationQuery=SELECT 1
> torque.dsfactory.default.connection.driver = com.inet.tds.TdsDriver
> torque.dsfactory.default.connection.url = jdbc:inetdae7a:1.2.3.4:1433?
> database=foobar
> torque.dsfactory.default.connection.user = ***
> torque.dsfactory.default.connection.password = ***
> ---
>
> Now it works.
>
> Additionally it would be great, if someone could tell me, where to find a
> jar,
> having the class Jdbc2PoolDataSourceFactory.class.
>
> Ciao,
> Tommaso
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: "Anon User not found" - Exception
Posted by Tommaso <to...@fwctc.com>.
Hi there,
might be interesting, I've found a solution to this (for me).
I restructered the Torque.properties to (with emphasis on the initialSize!!!)
---
torque.dsfactory.default.factory=org.apache.torque.dsfactory.SharedPoolDataSourc
eFactory
torque.dsfactory.default.pool.defaultMaxActive=15
torque.dsfactory.default.pool.initialSize=1
torque.dsfactory.default.pool.testOnBorrow=true
torque.dsfactory.default.pool.validationQuery=SELECT 1
torque.dsfactory.default.connection.driver = com.inet.tds.TdsDriver
torque.dsfactory.default.connection.url = jdbc:inetdae7a:1.2.3.4:1433?
database=foobar
torque.dsfactory.default.connection.user = ***
torque.dsfactory.default.connection.password = ***
---
Now it works.
Additionally it would be great, if someone could tell me, where to find a jar,
having the class Jdbc2PoolDataSourceFactory.class.
Ciao,
Tommaso
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org