Timeout problem and directory listing.

2003-02-24 Thread Mike ERRECART
(english is not my native language, so i'll try to do my best)

Hi everybody.

While trying to tune my quite "production ready" portal (to be
discussed...), i am facing 2 problems (which at first glance seemed trivial
to me...) :

- I'm trying to change the timeout value for Jetspeed, and did not manage to
do it... I changed which seemed to be the right parameter in TR.PR :
# This is the timeout in seconds for sessions. If left commented out, the
# servlet container's default timeout will be left as is.
session.timeout=3600

but this didn't work...
I don't want to change Tomcat's timeout value.  Did someone successfully
adjust this timeout value at Jetspeed's level ?

- the second problem seemed trivial too... I'm trying to prevent a user to
browse a directory (for some reason, Tomcat has to serve static content,
mostly images...). I'd like to achieve that without having to configure
Apache for static content. Is it possible ? (didn't find anything about
that, except some discussion about "StaticInterceptor", but no solutions nor
clues...).

Thanks a lot in advance.

Mike from France.

my config : Jetspeed 1.4b1, Tomcat 4.1.*




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: French Jetspeed User Group ?

2002-12-13 Thread Mike ERRECART
I'm from Toulouse.



> Any Toulousain here ?



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Getting crazy with MySQL!!!

2002-11-27 Thread Mike ERRECART

Hi Cedric.
I think you're french, but i'll try to write in english in the case you're
not.
You say you modified TurbineResources.props...
What kind of modification have you made in TR.p to configure MySQL ?
I think the modifications need to be made to Torque.properties.

(commented in my Torque.props)
#database.default=default

#database.default.driver=org.hsql.jdbcDriver
#database.default.url=jdbc:HypersonicSQL:${webappRoot}/WEB-INF/db/jetspeed
#database.default.username=sa
#database.default.password=

Let me know if you still cannot connect.
I use JS with MySQL, had problems to configure it, but can't really remember
them all :o)



Hi all,

I still cannot make Jetspeed work properly with MySQL... I am using MySQL
3.23.51 for Windows, the mm.mysql-2.0.4 driver and Jetspeed 1.4b1.
My database is populated (I have used the scripts given with Jetspeed
sources) and I have modified TurbineResources.props...

First, I run MySQL Server, then Tomcat and finally, I try to hit
http://localhost:8080/jetspeed. But I get this error :

Horrible Exception: org.apache.jetspeed.services.security.LoginException:
Failed to get anonymous user:
org.apache.jetspeed.services.security.UserException: Failed to retrieve user
'anon': Connection object is null! at
org.apache.jetspeed.services.security.turbine.TurbineAuthentication.getAnony
mousUser(TurbineAuthentication.java:194) at
org.apache.jetspeed.services.JetspeedAuthentication.getAnonymousUser(Jetspee
dAuthentication.java:107) at
org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser(JetspeedSecur
ity.java:157) at
org.apache.jetspeed.modules.actions.TemplateSessionValidator.doPerform(Templ
ateSessionValidator.java:97) at
org.apache.jetspeed.modules.actions.JetspeedSessionValidator.doPerform(Jetsp
eedSessionValidator.java:103) 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:468) at
javax.servlet.http.HttpServlet.service(HttpServlet.java) at
javax.servlet.http.HttpServlet.service(HttpServlet.java) at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
org.apache.tomcat.core.Handler.service(Handler.java:235) at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm
pl.java:272) at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
.java:174) at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:423)
at index_1._jspService(index_1.java:51) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at
javax.servlet.http.HttpServlet.service(HttpServlet.java) at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at
org.apache.tomcat.core.Handler.service(Handler.java:235) at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176) at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516) at java.lang.Thread.run(Thread.java:479)

I cannot figure out what I am doing wrong.
If anyone could point me to the right direction, I would appreciate it a
lot!

Thanx in advance.
Ced

__
Cédric BARDE
Disneyland Resort Paris - Information Services
Bâtiment Robin Hood - BP 100
7 Marne-La-Vallée
Tél : 01 64 74 65 49
Fax : 01 64 74 65 65
Email : [EMAIL PROTECTED]


--
To unsubscribe, e-mail:

For additional commands, e-mail:




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: How to get rundata from a porlet ?

2002-11-12 Thread Mike ERRECART
have you tried this ?

(i think it works, but i didn't re-test it) :

RunData rd = (RunData) session.getAttribute("rundata");

I don't really know if it's a "good pratice", but i think i made it work in
the past...

regards.

Mike from France

- Original Message -
From: "Jose Luis Carrasco" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 6:46 PM
Subject: How to get rundata from a porlet ?


Hi !

I need to take the rundata , calling it from a porlet. It can't be pased
like a variable. I'm tying to get by JetspeedRunDataService.getCurrentData
but it don't look that it's the correct maner. Somebody have any solution ??

Thanks.


José Carrasco




--
To unsubscribe, e-mail:   
For additional commands, e-mail: