Overwrite Portlet Mode Info

2004-04-16 Thread Sez Sez
Hi, 

I want overwrite the Info mode with html static page. 
Can I do this?

Thanks



__
Correo Yahoo! - 6MB, más protección contra el spam ¡Gratis!
http://correo.yahoo.es

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



Re: AW: AW: java.lang.OutOfMemoryError

2004-03-31 Thread Sez Sez
Ok, I calculate the dimension of the object. This
object need 1.4 mb of RAM. It's too bigger! It was the
problem

Thanks!




 --- "Sprang, Henning (Firma CS)"
<[EMAIL PROTECTED]> escribió: > 
> 
> > -Ursprüngliche Nachricht-
> > Von: Raphaël Luta [mailto:[EMAIL PROTECTED]
> > Gesendet: Mittwoch, 31. März 2004 12:36
> > An: Jetspeed Users List
> > Betreff: Re: AW: java.lang.OutOfMemoryError 
> > 
> > 
> > Seems pretty obvious to me: buy or allocate more
> RAM to your 
> > appserver  
> > if you really
> > want to manipulate such large tables in memory.
> > Else use more advanced collection implementations
> or DB that won't  
> > create all objects in memory at once.
> 
> 
> if you already have enough ram, you still have to
> tell the jvm
> that it's allowed to use it. Therefore use the
> environment
> variable JAVA_OPTS. On Linux in my catalina.sh
> script i added
> a line like this:
> 
> JAVA_OPTS="${JAVA_OPTS}
> -Dsun.net.client.defaultConnectTimeout=200 -Xmx512m"
> 
> That gives the jvm a maximum of 512 MB RAM.
> 
> BTW: in development i experience, that after i
> compiled and deployed  my portal
> several times on tomcat 4.1.x, which works fine
> without any restarts, i evetually
> get Out of memory errors anyway, which i can solve
> by restarting tomcat.
> 
> Henning
> 
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>  

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

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



Another log file in Jetspeed 1.4b

2004-03-31 Thread Sez Sez
I want to create another file log.

I create in log4j this

log4j.appender.medigs = org.apache.log4j.FileAppender
log4j.appender.medigs.file =
${webappRoot}/WEB-INF/log/new.log
log4j.appender.medigs.layout =
org.apache.log4j.PatternLayout
log4j.appender.medigs.layout.conversionPattern = %d
[%t] %-5p %c - %m%n
log4j.appender.medigs.append = false

But, what is the next step???

How configure this line to work with my new log file?
private static final JetspeedLogger logger =
JetspeedLogFactoryService.getLogger(TurbineAuthentication.class.getName());


___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

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



Re: AW: java.lang.OutOfMemoryError

2004-03-30 Thread Sez Sez
Why have i this error??? What is the solution? I need
work with this big object but always fails!!!



 --- [EMAIL PROTECTED] escribió: > What's
your question ? 
> 
> > -Ursprüngliche Nachricht-
> > Von:Sez Sez [SMTP:[EMAIL PROTECTED]
> > Gesendet am:Mittwoch, 31. März 2004 09:34
> > An: [EMAIL PROTECTED]
> > Betreff:java.lang.OutOfMemoryError 
> > 
> > I have a portlet that it extends
> > VelocityPortletAction. This, in method
> > buildNormalContext call a javabean. This javabean
> > create a big object ( a Arraylist with 30.000
> > arraylist inside). When i return this object to
> > buildNormalContext method, this fails and I see
> this
> > errors:
> > 
> > 
> > The error in portlet window:
> > 
> > org.apache.turbine.util.TurbineException: Error
> > rendering Velocity template:
> > /controls/html/jetspeed.vm: Invocation of method
> > 'getContent' in class
> >
>
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapp
> > er
> > threw exception class java.lang.OutOfMemoryError :
> > null
> > 
> > 
> > and error log is
> > 
> > 2004-03-31 09:18:58,229 [http8080-Processor24]
> ERROR
> > VelocityPortletControl - Exception while creating
> > content 
> >
>
org.apache.velocity.exception.MethodInvocationException:
> > Invocation of method 'getContent' in  class
> >
>
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapp
> > er
> > threw exception class java.lang.OutOfMemoryError :
> > null
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:3
> > 09)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.
> > java:207)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.j
> > ava:250)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStateme
> > nt.java:109)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStateme
> > nt.java:109)
> > at
> >
>
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:
> > 271)
> > at
> >
>
org.apache.velocity.Template.merge(Template.java:296)
> > at
> >
>
org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
> > at
> >
>
org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
> > rethrown as 
> > org.apache.turbine.util.TurbineException: Error
> > rendering Velocity template:
> > /controls/html/jetspeed.vm: Invocation of method
> > 'getContent' in  class
> >
>
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapp
> > er
> > threw exception class java.lang.OutOfMemoryError :
> > null
> > at
> >
>
org.apache.turbine.services.velocity.TurbineVelocityService.renderingError
> > (TurbineVelocityService.java:535)
> > at
> >
>
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(
> > TurbineVelocityService.java:501)
> > at
> >
>
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(
> > TurbineVelocityService.java:338)
> > at
> >
>
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(Turbine
> > Velocity.java:144)
> > at
> >
>
org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(Velo
> > cityPortletControl.java:169)
> > at
> >
> sun.reflect.GeneratedMethodAccessor93.invoke(Unknown
> > Source)
> > at
> >
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> > pl.java:25)
> > at
> java.lang.reflect.Method.invoke(Method.java:324)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:2
> > 60)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.
> > java:207)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.j
> > ava:250)
> > at
> >
>
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
> > at
> >
>
org.apache.veloci

java.lang.OutOfMemoryError

2004-03-30 Thread Sez Sez
I have a portlet that it extends
VelocityPortletAction. This, in method
buildNormalContext call a javabean. This javabean
create a big object ( a Arraylist with 30.000
arraylist inside). When i return this object to
buildNormalContext method, this fails and I see this
errors:


The error in portlet window:

org.apache.turbine.util.TurbineException: Error
rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method
'getContent' in class
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper
threw exception class java.lang.OutOfMemoryError :
null


and error log is

2004-03-31 09:18:58,229 [http8080-Processor24] ERROR
VelocityPortletControl - Exception while creating
content 
org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getContent' in  class
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper
threw exception class java.lang.OutOfMemoryError :
null
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:309)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
at
org.apache.velocity.Template.merge(Template.java:296)
at
org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
at
org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
rethrown as 
org.apache.turbine.util.TurbineException: Error
rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method
'getContent' in  class
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper
threw exception class java.lang.OutOfMemoryError :
null
at
org.apache.turbine.services.velocity.TurbineVelocityService.renderingError(TurbineVelocityService.java:535)
at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:501)
at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:338)
at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:144)
at
org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(VelocityPortletControl.java:169)
at
sun.reflect.GeneratedMethodAccessor93.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:260)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:207)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:250)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at
org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:344)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:153)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:271)
at
org.apache.velocity.Template.merge(Template.java:296)
at
org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:492)
at
org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:461)
at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(TurbineVelocityService.java:496)
at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(TurbineVelocityService.java:338)
at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVelocity.java:144)
at
org.apache.jetspeed.portal.controllers.VelocityPortletController.getContent(VelocityPortletController.java:137)
at
org.apache.jetspeed.portal.BasePortletSet.getContent(BasePortletSet.java:386)
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:324)
at
org.

Re: Jetspeed and torque [SOLUTION]

2004-03-09 Thread Sez Sez
OK, Thanks

This is the solution.

I connect to my as400 with jdbc:as400://
and my sql select is, for example
=select * from .

I only have one connection with as400. If you do
jdbc:as400:/// you will
do connections for every library.

Thanks!


 --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
escribió: > - Add this on Torque.properties under
Jetspeed/conf
> 
> torque.database.another=db400conn
> 
> ### DB400
> torque.dsfactory.db400conn.connection.driver =
> com.ibm.as400.access.AS400JDBCDriver
> torque.dsfactory.db400conn.connection.url =
> jdbc:as400:///
> torque.dsfactory.db400conn.connection.user =  username> 
> torque.dsfactory.db400conn.connection.password =
> 
> 
>
torque.dsfactory.db400conn.factory=org.apache.torque.dsfactory.TorqueDataSourceFactory
> # The number of database connections to cache per
> ConnectionPool instance (specified per database)
>
torque.dsfactory.db400conn.pool.defaultMaxConnections=10
> torque.dsfactory.db400conn.pool.maxExpiryTime=3600
>
torque.dsfactory.db400conn.pool.connectionWaitTimeout=10
> 
> - Add this on demo-portlets.xreg under Jetspeed/conf
> 
>  hidden="false" type="ref"
> parent="DatabaseBrowserPortlet" application="false">
> 
> DatabaseBrowserTestDB400
> Simple Test Database
> Browser Portlet Example DB400
> 
> 
>
>
org.apache.jetspeed.portal.portlets.VelocityPortlet
> 
>type="style" hidden="false" cachedOnName="true"
> cachedOnValue="true">
> 
> 
> SQL Query
> 
> 
> 
>  hidden="false" cachedOnName="true"
> cachedOnValue="true"/>
> 
>hidden="true" cachedOnName="true"
> cachedOnValue="true"/>
> 
>hidden="false" cachedOnName="true"
> cachedOnValue="true">
> 
> Window Size
> Number of rows per page
> to display
> 
> 
> 
> 
> 
> 
> 
>  group="Jetspeed">database
> 
> 
> - Connect to your portal; log in as admin(security
> ref has been set on admin only in my example)
> Add "DatabaseBrowserTestDB400" choosing it from the
> portlet list.
> 
> Then, keep you fingers crossed!!
> 
> Massimiliano Nigrelli 

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

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



differences...

2004-02-27 Thread Sez Sez
What is the difference between
org.apache.jetspeed.om.security.turbine.TurbinerUser
and org.apache.turbine.om.security.TurbineUser. I have
source of jetspeed 1.4 final and turbine 2.2.

Thanks!

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

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



Extending Jetspeeduser

2004-02-27 Thread Sez Sez
Hi!
I want to extend jetspeeduser and i am trying with
intructions about this that i found in jetspeed site.
I modify  security_schema.xml and I ONLY add one
column. I generate om from security-schema.xml only.
Then i have some problems because TurbineBaseService
work with type Group and it don't work with type
Turbine Group. Somebody can help me?

If you can explain me how extend the user better than
jetspeed site...

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

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



Jetspeed with turbine or fulcrum services???

2004-02-27 Thread Sez Sez
Hi,
 I have Jetspeed 1.4 final. I want to extend user
info. Can I use fulcrum user service instead of
turbine user service? I suppose that turbine user
service will be deprecated in favour of fulcrum user
service. Is correct?

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

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



MS exchange OWA and jetspeed

2004-02-25 Thread Sez Sez
Hi,

I am working with a project and i must connect to ms
exchange owa. Any ideas?

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

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



Jetspeed and torque

2004-02-23 Thread Sez Sez
Hi!

I have some problems with torque and
DatabaseBrowserPortlet. 
I changed the hypersonic db and i work with
postgresql. Moreover, i must connect to another
database in DB2/AS400.
When I access to postgresql, i don't have any problem.
For example, i can see the coffee example. But, i
cann't connect with db2. Must i create the
project-schema.xml and create all classes for this db?
If someboy send me his torque.properties and i try to
configure for my case.

Moreover, i don't have the archive torque.log. I try
to configure with 

log4j.rootCategory = DEBUG, org.apache.torque
log4j.appender.org.apache.torque =
org.apache.log4j.FileAppender
log4j.appender.org.apache.file =
${webappRoot}/WEB-INF/log/torque.log
log4j.appender.org.apache.layout =
org.apache.log4j.SimpleLayout

in torque.properties but it fail and i don't have
torque.log. Why do it fail?







___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

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