Jetspeed2 and Tomcat5.0 errors...please help!!!

2005-02-21 Thread Z B
Hello All,
Any help on this is really really appreciated.
This is what I've done so far:
Downloaded from:
1. Ant 1.6.2
http://mirror.poundhost.com/www.apache.org/ant/binaries/apache-ant-1.6.2-bin.zip
2. Jetspeed2
http://www.axint.net/apache/portals/jetspeed-2/jetspeed-2.0-M1.zip
3. Tomcat5.0.28
http://www.mirrorservice.org/sites/ftp.apache.org/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat-5.0.28.exe
4. JSDK http://dlc.sun.com/jdk/j2sdk-1_4_2_07-windows-i586-p.exe
Platform:
Windows XP Professional
Database:
Oracle 8i
Database drivers:
classes12.jar and nls_charset12.jar
Enviornment Variables set:
ANT_HOME AND JAVA_HOME
Unzipped Jetspeed2 in C:\Tomcat5.0\webapps directory. Then modified the
jetspeed-database\build.properties file
which looks like the following:
--
#org.apache.jetspeed.production.database.default.name=hsql
#org.apache.jetspeed.production.database.url =
jdbc:hsqldb:hsql://127.0.0.1:9001
#org.apache.jetspeed.production.database.driver = org.hsqldb.jdbcDriver
#org.apache.jetspeed.production.database.user = sa
#org.apache.jetspeed.production.database.password =
#org.apache.jetspeed.production.jdbc.drivers.path=./jdbc/hsqldb-1.7.1.jar
org.apache.jetspeed.production.database.default.name=oracle
org.apache.jetspeed.production.database.url =
jdbc:oracle:thin:@localhost:1521:MYDB
org.apache.jetspeed.production.database.driver =
oracle.jdbc.driver.OracleDriver
org.apache.jetspeed.production.database.user = j2pdev
org.apache.jetspeed.production.database.password = j2pdev
org.apache.jetspeed.production.jdbc.drivers.path=C:\\Tomcat
5.0\\shared\\lib\\classes12.jar;C:\\Tomcat
5.0\\shared\\lib\\nls_charset12.jar;
org.apache.jetspeed.services.autodeployment.user = admin
org.apache.jetspeed.services.autodeployment.password = admin
--
My jetspeed.xml file is in C:\Tomcat5.0\conf\Catalina\localhost
directory. It has the following entries
--

username
j2pdev
   
   
password
j2pdev
   
   
   
  driverClassName
  oracle.jdbc.driver.OracleDriver
   
   
   
 url
 jdbc:oracle:thin:@localhost:1521:MYDB
   
--
I also copied all the jar files from
C:\Tomcat5.0\webapps\jetspeed\WEB-INF\lib\ to
C:\Tomcat5.0\shared\lib\ directory and also to C:\Tomcat5.0\common\lib
directory.
(Do I need to copy all these jar files in both the places??)
jetspeed.properties file looks like the following..actually havent
changed anything within the file:
--
autodeployment.catalina.version.major=5
autodeployment.catalina.base=${applicationRoot}/../../
autodeployment.catalina.engine=Catalina
autodeployment.server=localhost
autodeployment.port=8080
autodeployment.user=admin
autodeployment.password=admin
autodeployment.staging.dir=${applicationRoot}/WEB-INF/deploy
autodeployment.target.dir=${applicationRoot}/../
autodeployment.delay=1
autodeployment.earlyInit = true
--
I've also run the database scripts for oracle by using ant. It has
created the tables in oracle and looks
ok to me. Do I have to change anything within the tables?
Also changed the autoDeploy value to false in Tomcat's server.xml file.
After doing all these changes, I'm getting the following error when I
try to access Jetspeed page by
http://localhost:8080/jetspeed/

StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw
exception
org.springframework.jdbc.BadSqlGrammarException: Bad SQL grammar [] in
task 'OJB operation'; nested
exception is java.sql.SQLException: ORA-00933: SQL command not properly
ended
java.sql.SQLException: ORA-00933: SQL command not properly ended
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
at
oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:643)
at
oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
at
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:314)
at
org.apache.commons.dbcp.DelegatingPreparedStateme

Re: PLEASE HELP ME Order of action execution

2005-02-04 Thread angeloimm
Hi all i'm sorry i was on another pc where in the outlook there was a 
"please notify  the sender that you have received this message" pop-up.. i 
didn't know pardonme and thanks to all.
Have nice week end
-- Initial Header ---

>From  : "Kevin McCann" [EMAIL PROTECTED]
To  : "Jetspeed Users List" jetspeed-user@jakarta.apache.org
Cc  :
Date  : Fri, 04 Feb 2005 09:33:10 -0500
Subject : Re: PLEASE HELP ME Order of action execution

>
> A few people on this list tend to send messages with a "please notify
> the sender that you have received this message" pop-up. Please stop it.
>
> Thanks,
> Kevin
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> 




Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it



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



Re: PLEASE HELP ME Order of action execution

2005-02-04 Thread Kevin McCann
A few people on this list tend to send messages with a "please notify 
the sender that you have received this message" pop-up. Please stop it.

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


RE: PLEASE HELP ME Order of action execution

2005-02-04 Thread Frank Villarreal
Hi angeloim,

I believe the portlet spec states that all "Action/processAction" requests
must be executed "before" any render(doView) requests within the portal.  So
make sure that your "navigator" portlet changes the "location" on your other
portlet only during "Action" requests  NOT during render requests.  If
you are already doing this and it is not working ... then this might be a
bug in the session handling of the jetspeed portal engine.

- Frank



-Original Message-
From: angeloimm [mailto:[EMAIL PROTECTED]
Sent: Friday, February 04, 2005 03:02 AM
To: Jetspeed Jetspeed
Subject: PLEASE HELP ME Order of action execution
Importance: High


Hi all; i have this scenario:
A page where there are several portlets; the first portlet is a "Navigator"
that shows to me where i am; now this portlet by reading a parameter in the
session (i have used the PageSessionState) reads a xml file where it can be
able to "understand" where we are; now the problem is that this parameter is
setted by another portlet that is shown after this navigator; this means
that the action of this portlet is executed later than the action of
navigator. and this is a problem for me; infact the old value of
parameter in the session is changed after that the navigator portlet has
taken the value... so the navigator is not synchronized with the page where
we are; if i refresh the page (by using F5 for example) all works fine and i
don't have this problem since the PageSessionState works good.
The problem is that i'ld like to call the action of the second portlet and
then the action of navigator; is this possible?
Thanks




Navighi a 2 MEGA e i primi 3 mesi sono GRATIS.
Scegli Libero Adsl Flat senza limiti su http://www.libero.it



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



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



PLEASE HELP ME Order of action execution

2005-02-04 Thread angeloimm
Hi all; i have this scenario:
A page where there are several portlets; the first portlet is a "Navigator" 
that shows to me where i am; now this portlet by reading a parameter in the 
session (i have used the PageSessionState) reads a xml file where it can be 
able to "understand" where we are; now the problem is that this parameter is 
setted by another portlet that is shown after this navigator; this means that 
the action of this portlet is executed later than the action of navigator. 
and this is a problem for me; infact the old value of parameter in the session 
is changed after that the navigator portlet has taken the value... so the 
navigator is not synchronized with the page where we are; if i refresh the page 
(by using F5 for example) all works fine and i don't have this problem since 
the PageSessionState works good.
The problem is that i'ld like to call the action of the second portlet and then 
the action of navigator; is this possible?
Thanks




Navighi a 2 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it



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



RE: Please Help......Customize Portlet

2004-12-29 Thread Andy . Sun
I am assuming that you want to put different strings in the option part of
html select tag. Those strings will be retrieved from database.
In your action class, you can execute the query and get a result set. Store
the string from the result set in a Vector object. Then save the vector in
the session object. Before you run the query, you should check if this
vector is populated already so you only need to run the query once for each
session (for performance reason).
Then in your presentation layer(vm/jsp), retrieve the vector in the session
and iterate through the vector to create the option tags.
Check out the code for the DatabaseBrowser portlet in the jetspeed
distribution. You should be able to find a similar implementation.
Andy


-Original Message-
From: angeloimm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 29, 2004 2:10 AM
To: Jetspeed Jetspeed
Subject: Please Help..Customize Portlet
Importance: High


Hi all; i have a little problem. I have written a my GenericMVCAction that
works on a GenericMVCPortlet. Al works fine; now when i log in as admin i
can customize my portlet and i can set different parameters; now let's
imagine that i want to use a html tag http://www.libero.it




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

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



Please Help......Customize Portlet

2004-12-29 Thread angeloimm
Hi all; i have a little problem. I have written a my GenericMVCAction that 
works on a GenericMVCPortlet. Al works fine; now when i log in as admin i can 
customize my portlet and i can set different parameters; now let's imagine that 
i want to use a html tag http://www.libero.it




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



Jetspeed Portal Won't Load , Please Help

2004-11-09 Thread paulm
I have installed Jetspeed2 and receive the following error, how do I fix
it ?

Nov 9, 2004 9:59:30 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 9, 2004 9:59:30 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1020 ms
Nov 9, 2004 9:59:30 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 9, 2004 9:59:30 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.3
Nov 9, 2004 9:59:30 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Nov 9, 2004 9:59:31 AM org.apache.catalina.realm.JAASRealm 
setUseContextClassLoader
INFO: Setting useContextClassLoader = false
log4j:WARN No appenders could be found for logger 
(org.apache.catalina.session.ManagerBase).
log4j:WARN Please initialize the log4j system properly.
JNDI System Property flag null
 INFO: Deployment server port: 8080
 INFO: Deployment server: localhost
[org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl] ERROR: 
SQLException thrown while trying to get Connection from Datasource 
(java:comp/env/jdbc/jetspeed)
Cannot create JDBC driver of class '' for connect URL 'null'
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of 
class '' for connect URL 'null'
at 
org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
at 
org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnectionFromDataSource(ConnectionFactoryAbstractImpl.java:204)
at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnection(ConnectionFactoryAbstractImpl.java:112)
at 
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:105)
at 
org.springframework.orm.ojb.PersistenceBrokerTransactionManager.doBegin(PersistenceBrokerTransactionManager.java:187)
at 
org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:269)
at 
org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:201)
at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:49)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
at $Proxy6.createNode(Unknown Source)
at 
org.apache.jetspeed.prefs.impl.PreferencesImpl.(PreferencesImpl.java:96)
at 
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFactoryImpl.java:64)
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.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1087)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:287)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:205)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:204)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:136)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:236)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:284)
at 
org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:114)
at 
org.springframework.context.support.FileSystemXmlApplicationContext.(FileSystemXmlApplicationContext.java:96)
at 
org.apache.jetspeed.components.SpringComponentManager.(SpringComponentManager.java:44)
at 
org.apache.jetspeed.engine.SpringEngine.initComponents(SpringEngine.java:108)
at 
org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:134)
at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:64)
at 
org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.ja

Jetspeed 1.5 --database error (please help)

2004-06-24 Thread N.C.
To whom it may concern,

First of all, I am greatful for the documents. They are so
helpful to me. The steps are clear and easy to follow.  

I have explored the jetspeed for several weeks and wanted to
change database from the Hypersonic to Oracle; however, I could
not. I followed all of the steps suggested from the documents,
and yet it does not seem to work.  

These are what I did ...
-  In Torque.properties, I comment...
#torque.database.default.adapter=hypersonic
#torque.dsfactory.default.connection.driver =
org.hsqldb.jdbcDriver
#torque.dsfactory.default.connection.url = 
jdbc:hsqldb:${webappRoot}/WEB-INF/db/jetspeed
#torque.dsfactory.default.connection.user = sa 
#torque.dsfactory.default.connection.password = 

   ... and uncomment...
torque.database.default.adapter=oracle
torque.dsfactory.default.connection.driver =
oracle.jdbc.driver.OracleDriver
torque.dsfactory.default.connection.url =
jdbc:oracle:thin:@happy:1521:admindb
torque.dsfactory.default.connection.user = scott
torque.dsfactory.default.connection.password = tiger

- Next, I executed "populate-oracle.sql" and
"turbine-oracle.sql" in my oracle database,  Also I could
convert PSML files to PSML database successfully.

I would be appreciated if you could give me some suggestion of
what I did wrong or did not do.   

Thank you very much for your time.

Sincerely,
Nattaporn Choksathian
ps. the below are error messages I got...


2004-06-24 17:03:29,406 [Thread-1] INFO 
JetspeedPortletCacheService - JetspeedPortletCacheService early
init()starting!
2004-06-24 17:03:29,406 [Thread-1] INFO 
JetspeedPortletCacheService - JetspeedPortletCacheService - By
default refreshable objects will be removed after 270 Millis
( 45 minutes 0.0 Seconds )
2004-06-24 17:03:29,406 [Thread-1] INFO 
JetspeedPortletCacheService - JetspeedPortletCacheService early
init()finished!
2004-06-24 17:03:29,469 [Thread-1] DEBUG
JetspeedTemplateLocatorService - TemplateLocator: Adding
templateRoot:/WEB-INF/templates/
2004-06-24 17:03:38,266 [Servlet.Engine.Transports : 0] DEBUG
JetspeedRunDataService - JetspeedRunDataService: storing rundata
[EMAIL PROTECTED]
for thread: Thread[Servlet.Engine.Transports : 0,5,main]
2004-06-24 17:03:42,062 [Servlet.Engine.Transports : 1] DEBUG
JetspeedRunDataService - JetspeedRunDataService: storing rundata
[EMAIL PROTECTED]
for thread: Thread[Servlet.Engine.Transports : 1,5,main]
2004-06-24 17:03:43,578 [Servlet.Engine.Transports : 0] ERROR
TurbineUserManagement - Failed to retrieve user 'anon'
java.sql.SQLException: ORA-00600: internal error code,
arguments: [ttcgcshnd-1], [0], [], [], [], [], [], []
at
oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
at
oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1405)
at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:889)
at
oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1681)
at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)










__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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



Re: Please HELP!

2004-03-26 Thread Massimiliano Dessi
The english translation of articles on Mokabyte.it

http://www.jugsardegna.org/vqwiki/jsp/Wiki?PortletJava1En

http://www.jugsardegna.org/vqwiki/jsp/Wiki?PortletJava2En



- Original Message - 
From: "sridhar ramalingam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 26, 2004 9:40 AM
Subject: Please HELP!


> Hello,
> I'm really really new to Jetspeed.
> I just downloaded Jetspeed 1.4 and deployed it under Tomcat 4.1.
> I looked at the tutorial at
> http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm, is this
> the only reading material available?
>  
> Thanks in advance!
> Sridhar
>  
> 

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



Re: Please HELP!

2004-03-26 Thread Massimiliano Dessi
The english translation of articles on Mokabyte.it

http://www.jugsardegna.org/vqwiki/jsp/Wiki?PortletJava1En

http://www.jugsardegna.org/vqwiki/jsp/Wiki?PortletJava2En


- Original Message - 
From: "sridhar ramalingam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 26, 2004 9:40 AM
Subject: Please HELP!


> Hello,
> I'm really really new to Jetspeed.
> I just downloaded Jetspeed 1.4 and deployed it under Tomcat 4.1.
> I looked at the tutorial at
> http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm, is this
> the only reading material available?
>  
> Thanks in advance!
> Sridhar
>  
> 

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



Re: Please HELP!

2004-03-26 Thread Vi
Don't build the examples, just read the tutorial. What you need is to 
understand, what to edit to achieve what you
want. The examples won't give you more than you can read from tutorial.

sridhar ramalingam wrote:

Hello again!
I'm trying to deploy the example in Tutorial 1.
Here is my build.properties
# testing 12345
#
# typical settings with source
#
#jetspeed_home=/bluesunrise/apache/jakarta-jetspeed
#catalina_home=/bluesunrise/apache/catalina
#portlet_app_name=jportal
#company=com.bluesunrise.jportal
#jetspeed_jar=/bin/jetspeed-1.5-dev.jar
#jetspeed_war=/bin/jetspeed.war
#jetspeed_lib=/lib
#jetspeed_conf=/webapp/WEB-INF/conf/
#
# typical settings without source
#
jetspeed_home=c:/Tomcat41/webapps/jetspeed/WEB-INF
catalina_home=c:/Tomcat41
portlet_app_name=jportal
company=com.bluesunrise.jportal
jetspeed_jar=/lib/jetspeed-1.4.jar
jetspeed_war=C:/Tomcat41/webapps/jetspeed-1.4/jetspeed.war
jetspeed_lib=/lib
jetspeed_conf=/conf


Ant tutorial-1 goes fine, no problems. But, ant deploy gives me this
error...
war_prepare_error:
[echo]
[echo] The jetspeed.war is not present! Please check
[echo] to make sure that you have built the war file
[echo] after the checking out from CVS.
[echo]
BUILD FAILED
C:\temp\build.xml:266: Please build Jetspeed from the Jetspeed
installationt: ant war


Please let me know what I'm doing wrong.
Thanks!
Sridhar
-Original Message-
From: sridhar ramalingam [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 26, 2004 12:41 AM
To: [EMAIL PROTECTED]
Subject: Please HELP!

Hello,
I'm really really new to Jetspeed.
I just downloaded Jetspeed 1.4 and deployed it under Tomcat 4.1. I
looked at the tutorial at
http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm, is this
the only reading material available?
Thanks in advance!
Sridhar
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 



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


RE: Please HELP!

2004-03-26 Thread sridhar ramalingam
Hello again!
I'm trying to deploy the example in Tutorial 1.
Here is my build.properties

# testing 12345
#
# typical settings with source
#
#jetspeed_home=/bluesunrise/apache/jakarta-jetspeed
#catalina_home=/bluesunrise/apache/catalina
#portlet_app_name=jportal
#company=com.bluesunrise.jportal
#jetspeed_jar=/bin/jetspeed-1.5-dev.jar
#jetspeed_war=/bin/jetspeed.war
#jetspeed_lib=/lib
#jetspeed_conf=/webapp/WEB-INF/conf/
#
# typical settings without source
#
jetspeed_home=c:/Tomcat41/webapps/jetspeed/WEB-INF
catalina_home=c:/Tomcat41
portlet_app_name=jportal
company=com.bluesunrise.jportal
jetspeed_jar=/lib/jetspeed-1.4.jar
jetspeed_war=C:/Tomcat41/webapps/jetspeed-1.4/jetspeed.war
jetspeed_lib=/lib
jetspeed_conf=/conf




Ant tutorial-1 goes fine, no problems. But, ant deploy gives me this
error...

war_prepare_error:
 [echo]
 [echo] The jetspeed.war is not present! Please check
 [echo] to make sure that you have built the war file
 [echo] after the checking out from CVS.
 [echo]

BUILD FAILED
C:\temp\build.xml:266: Please build Jetspeed from the Jetspeed
installationt: ant war



Please let me know what I'm doing wrong.
Thanks!
Sridhar


-Original Message-
From: sridhar ramalingam [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 26, 2004 12:41 AM
To: [EMAIL PROTECTED]
Subject: Please HELP!


Hello,
I'm really really new to Jetspeed.
I just downloaded Jetspeed 1.4 and deployed it under Tomcat 4.1. I
looked at the tutorial at
http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm, is this
the only reading material available?
 
Thanks in advance!
Sridhar
 

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



Please HELP!

2004-03-26 Thread sridhar ramalingam
Hello,
I'm really really new to Jetspeed.
I just downloaded Jetspeed 1.4 and deployed it under Tomcat 4.1.
I looked at the tutorial at
http://www.bluesunrise.com/jetspeed-docs/JetspeedTutorial.htm, is this
the only reading material available?
 
Thanks in advance!
Sridhar
 


RE: build question---please help

2004-01-21 Thread Archana Turaga
Hi,

Well the approach i mentioned worked. the my.properties concept is pretty cool. None 
of the jetspeed resource files need to be modified and all i need to do is follow the 
steps in the list of instructions and it all works. SO in future even if there is a 
jetspeed upgrade the property files need not be edited all over again.

Thanks all for all your responses and inputs.

Meanwhile i think there should be a link somewhere within jetspeed explaining the 
options to deploy a custom portal application with jetspeed. This will definitely save 
a lot of sweat. Jetspeed is cool and i'm getting comfortable with it but a little more 
organised documentation for commonly occuring scenarios will make it go further. If 
this mailing list was not there then i would not have figured out a lot of things and 
remained in a loop.

Regards,
Archana




>>> [EMAIL PROTECTED] 01/20/04 09:19PM >>>
Sounds like an interesting approach (but a little bit over my head) - I am very 
interested to hear how it all turns out.  Good luck!
RB



Twenty Years | One Mission | Accelerating Business Processes 


Richard Berger 
Action Technologies, Inc. 
VP, Product Management 
510.748.1017 (Office) 
510.769.0596 (Fax) 
www.actiontech.com 

NOTE: The opinions expressed herein are those of the writer and not necessarily those 
of Action Technologies, Inc. or its employees or its affiliates. 
-Original Message- 
From: Archana Turaga [mailto:[EMAIL PROTECTED] 
Sent: Tue 1/20/2004 9:29 AM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: RE: build question---please help



Thanks Richard. I appreciate the input (no you have not sidetracked me..:-). 
Meanwhile i found something in the jetspeed's build.xml that may help my issue.

Well this is considering that none of the jetspeed source needs any change and 
will work as it is released in the CVS. Any extra classes that are written belong to a 
custom package structure belonging to the company and these most of the times (till 
now in my experience) trurn out to be extensions of existing jetspeed classes For e.g. 
Portlet classes extend JSPPortletAction.

Considering above is the case the following can be done (based on the information 
in the jetspeed's build.xml)
1) Build jetspeed with the option war-template.
2) Explode this war to the app server webapps directory.
3) Copy the jetspeed jar and its dependent jars into the web-inf\lib directory.
4) Copy the custom portals template files to the template directories under the 
webapps/
5) Copy the custom portals jars to the web-inf\lib directory.
6) This step is something i'm currently experimenting on. I'm going to try to 
create my.properties (following the jetspeed property override-howto) and see if i can 
also embed this. If this happens and my portal works then viola i think i have 
achieved most of my goal.

If all the above steps are followed then i could do the following:
1) I can check-in the combined structure into our source control
2) Everybody else in our group can then check-in the jsps, java files to this 
structure
3) Write make files(not ant tasks but .gmk files) to build the custom portals jar 
files and custom portal's war file.

Although jetspeed source will still be maintained as a separate entity and ant 
will be used to build the jar file needed for the custom portal. In future if there 
are any bug fixes then this source will be modified and the jar will be rebuilt and 
the custom portal's application war will have to be rebuilt to include this new jar.

I hope i'm making some sense. If anybody sees a problem with this approach or 
tried the war-template approach please please let me know. Any input is appreciated 
because that will allow me to make a sound decision on the maintainence aspect of the 
portal.

Thanks and i appreciate all the help,
Regards,
Archana




>>> [EMAIL PROTECTED] 01/20/04 11:16AM >>>
Not sure if this is quite the answer you were seeking, but I am doing
something similar - e.g. incorporating an existing portal application
into the Jetspeed framework.  Initially, I started by installing the
jetspeed .war file and then hacking various configuration files.  Then,
in order to take the next step of incorporating my Java code, I realized
I would need to have the source to Jetspeed and to incorporate my source
into that structure (e.g. writing new portlets in the package
org.apache.jetspeed.modules.actions.portlets).  So, I downloaded the
source and created new portlets. 

To do the build, I used the Jetspeed build.xml file, but I didn't need
to make any changes in it.  I put some additional .jar files in the
appropriate lib directory and the ant tasks copy them to web-inf.  Then
to deploy my Jetspeed portal (with

RE: build question---please help

2004-01-21 Thread Jan Grant
On Wed, 21 Jan 2004, Holger Dewes wrote:

> Hi,
>
> > From: Richard Berger [mailto:[EMAIL PROTECTED]
> >
> > 2) Instead of exploding the jetspeed jar to \web-inf\classes
> > can i just include this like a library jar in the
> > web-inf\lib? Don't know.  My approach was to incorporate
> > my stuff into the Jetspeed framework, rather than just trying
> > to use jetspeed as a jar. It would be cool if #2 was
> > possible, but something tells me that it won't work
> > (disclaimer: I am real newbie at this)
>
> #2 is no problem. For the application server it makes no difference
> whether the classes are located in WEB-INF/classes or in a jar in
> WEB-INF/lib.
>
> I have a separate Eclipse project for my classes, all in packages of my
> own. For deployment, I unpack the jetspeed.war into a directory, copy my
> own stuff there (thereby overwriting some files) and then package
> everything into a .war file again. For the properties, I use the
> OverwriteProperties class as in the tutorial.
>
> The advantage is that it is a lot easier to switch to a new jetspeed
> version.

Absolutely. Coping directly with jetspeed's file layout can be a bit of
a pain. Having your source for each portlet laid out distinctly and a
slightly smarter deployment script pays huge dividends.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
You see what happens when you have fun with a stranger in the Alps?

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



RE: build question---please help

2004-01-21 Thread Holger Dewes
Hi,

> -Original Message-
> From: Richard Berger [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 20, 2004 6:17 PM
> To: Jetspeed Users List
> Subject: RE: build question---please help
[...]
> With this background, I will try to answer your specific questions:
> Q1) Do i have to then look at jetspeed's(the jetspeed source) 
> build file to come up with my build.xml? I believe that 
> you can use the jetspeed's build.xml, but I believe that you 
> do not have to modify that build.xml. 
> 2) Instead of exploding the jetspeed jar to \web-inf\classes 
> can i just include this like a library jar in the 
> web-inf\lib? Don't know.  My approach was to incorporate 
> my stuff into the Jetspeed framework, rather than just trying 
> to use jetspeed as a jar. It would be cool if #2 was 
> possible, but something tells me that it won't work 
> (disclaimer: I am real newbie at this)

#2 is no problem. For the application server it makes no difference
whether the classes are located in WEB-INF/classes or in a jar in
WEB-INF/lib.

I have a separate Eclipse project for my classes, all in packages of my
own. For deployment, I unpack the jetspeed.war into a directory, copy my
own stuff there (thereby overwriting some files) and then package
everything into a .war file again. For the properties, I use the
OverwriteProperties class as in the tutorial.

The advantage is that it is a lot easier to switch to a new jetspeed
version.

Cheers
-- 
Holger Dewes


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



RE: build question---please help

2004-01-20 Thread Richard Berger
Sounds like an interesting approach (but a little bit over my head) - I am very 
interested to hear how it all turns out.  Good luck!
RB



Twenty Years | One Mission | Accelerating Business Processes 


Richard Berger 
Action Technologies, Inc. 
VP, Product Management 
510.748.1017 (Office) 
510.769.0596 (Fax) 
www.actiontech.com 

NOTE: The opinions expressed herein are those of the writer and not necessarily those 
of Action Technologies, Inc. or its employees or its affiliates. 
-Original Message- 
From: Archana Turaga [mailto:[EMAIL PROTECTED] 
Sent: Tue 1/20/2004 9:29 AM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: RE: build question---please help



Thanks Richard. I appreciate the input (no you have not sidetracked me..:-). 
Meanwhile i found something in the jetspeed's build.xml that may help my issue.

Well this is considering that none of the jetspeed source needs any change and 
will work as it is released in the CVS. Any extra classes that are written belong to a 
custom package structure belonging to the company and these most of the times (till 
now in my experience) trurn out to be extensions of existing jetspeed classes For e.g. 
Portlet classes extend JSPPortletAction.

Considering above is the case the following can be done (based on the 
information in the jetspeed's build.xml)
1) Build jetspeed with the option war-template.
2) Explode this war to the app server webapps directory.
3) Copy the jetspeed jar and its dependent jars into the web-inf\lib directory.
4) Copy the custom portals template files to the template directories under 
the webapps/
5) Copy the custom portals jars to the web-inf\lib directory.
6) This step is something i'm currently experimenting on. I'm going to try to 
create my.properties (following the jetspeed property override-howto) and see if i can 
also embed this. If this happens and my portal works then viola i think i have 
achieved most of my goal.

If all the above steps are followed then i could do the following:
1) I can check-in the combined structure into our source control
2) Everybody else in our group can then check-in the jsps, java files to this 
structure
3) Write make files(not ant tasks but .gmk files) to build the custom portals 
jar files and custom portal's war file.

Although jetspeed source will still be maintained as a separate entity and ant 
will be used to build the jar file needed for the custom portal. In future if there 
are any bug fixes then this source will be modified and the jar will be rebuilt and 
the custom portal's application war will have to be rebuilt to include this new jar.

I hope i'm making some sense. If anybody sees a problem with this approach or 
tried the war-template approach please please let me know. Any input is appreciated 
because that will allow me to make a sound decision on the maintainence aspect of the 
portal.

Thanks and i appreciate all the help,
Regards,
Archana




>>> [EMAIL PROTECTED] 01/20/04 11:16AM >>>
Not sure if this is quite the answer you were seeking, but I am doing
something similar - e.g. incorporating an existing portal application
into the Jetspeed framework.  Initially, I started by installing the
jetspeed .war file and then hacking various configuration files.  Then,
in order to take the next step of incorporating my Java code, I realized
I would need to have the source to Jetspeed and to incorporate my source
into that structure (e.g. writing new portlets in the package
org.apache.jetspeed.modules.actions.portlets).  So, I downloaded the
source and created new portlets. 

To do the build, I used the Jetspeed build.xml file, but I didn't need
to make any changes in it.  I put some additional .jar files in the
appropriate lib directory and the ant tasks copy them to web-inf.  Then
to deploy my Jetspeed portal (with my portlets), I created a .war file
and then exploded it into the deployment directory (I used slightly
different locations for Jboss and WebLogic).  Then, in general, when
making additional changes I use the ant target "hotdeploy" (and then
usually have to restart the app server).

With this background, I will try to answer your specific questions:
Q1) Do i have to then look at jetspeed's(the jetspeed source) build file
to come up with my build.xml?
I believe that you can use the jetspeed's build.xml, but I believe
that you do not have to modify that build.xml. 
2) Instead of exploding the jetspeed jar to 

RE: build question---please help

2004-01-20 Thread Archana Turaga
bly seen, you can create DBMS portlets and RSS portlets without
having to write any code (and there are probably others that are
configurable). 

Hope that was useful and that my lack of true understanding didn't get
in the way :) :).

RB



Twenty Years | One Mission | Accelerating Business Processes 


Richard Berger 
Action Technologies, Inc. 
VP, Product Management 
510.748.1017 (Office) 
510.769.0596 (Fax) 
www.actiontech.com 

NOTE: The opinions expressed herein are those of the writer and not necessarily those 
of Action Technologies, Inc. or its employees or its affiliates. 
-Original Message-
From: Archana Turaga [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 19, 2004 4:20 PM
To: [EMAIL PROTECTED]
Subject: build question---please help

Hi,
I have my own portal application with it's own library files and jsp
files. To understand jetspeed i just built the tutorial and hacked that
structure to include my portal specific information. Now i want to
create a build.xml that will work with ant to create my own portal war.
I cannot follow the tutorial build.xml because it goes in three steps
there
i) Deploy(this will simply replicate the jetspeed.war) ii)Start tomcat
.This will explode the war into a directory structure.
iii) Then hot deploy so that it copies all the tutorial specific
information to exploded structure under tomcat. 
Also the tutorial does not have it's own library files. I have my own
libraries that i want to use.

Questions:
1) Do i have to then look at jetspeed's(the jetspeed source) build file
to come up with my build.xml?
2) Instead of exploding the jetspeed jar to \web-inf\classes can i just
include this like a library jar in the web-inf\lib?
3) If step 2 is valid then can i only take all the files that are
missing in the jar file from the jetspeed directory and deploy them into
the file structure of my custom portal? for e.g. the .properties files
are not present in the jar file. Can i just copy this property files
from jetspeed directory into the my own portal's space ,merge the
properties and then build my own war file?
4) What are the recommended methods of source maintainence of custom
portals? Does the jetspeed source also need to be maintained or the
binaries and property files are enough?

Please help me. I have been trying to figure out the best way to
formalise the steps of source maintainence. Therefore all the developers
of the portlets can use this structure to check-in and check-out source.

Thanks in advance for your time and patience, Archana



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


RE: build question---please help

2004-01-20 Thread Richard Berger
Not sure if this is quite the answer you were seeking, but I am doing
something similar - e.g. incorporating an existing portal application
into the Jetspeed framework.  Initially, I started by installing the
jetspeed .war file and then hacking various configuration files.  Then,
in order to take the next step of incorporating my Java code, I realized
I would need to have the source to Jetspeed and to incorporate my source
into that structure (e.g. writing new portlets in the package
org.apache.jetspeed.modules.actions.portlets).  So, I downloaded the
source and created new portlets.  

To do the build, I used the Jetspeed build.xml file, but I didn't need
to make any changes in it.  I put some additional .jar files in the
appropriate lib directory and the ant tasks copy them to web-inf.  Then
to deploy my Jetspeed portal (with my portlets), I created a .war file
and then exploded it into the deployment directory (I used slightly
different locations for Jboss and WebLogic).  Then, in general, when
making additional changes I use the ant target "hotdeploy" (and then
usually have to restart the app server).

With this background, I will try to answer your specific questions:
Q1) Do i have to then look at jetspeed's(the jetspeed source) build file
to come up with my build.xml?
I believe that you can use the jetspeed's build.xml, but I believe
that you do not have to modify that build.xml. 
2) Instead of exploding the jetspeed jar to \web-inf\classes can i just
include this like a library jar in the web-inf\lib?
Don't know.  My approach was to incorporate my stuff into the
Jetspeed framework, rather than just trying to use jetspeed as a jar.
It would be cool if #2 was possible, but something tells me that it
won't work (disclaimer: I am real newbie at this)
3) If step 2 is valid then can i only take all the files that are
missing in the jar file from the jetspeed directory and deploy them into
the file structure of my custom portal? for e.g. the .properties files
are not present in the jar file. Can i just copy this property files
from jetspeed directory into the my own portal's space ,merge the
properties and then build my own war file?
NA, as I am assuming that #2 is false
4) What are the recommended methods of source maintainence of custom
portals? Does the jetspeed source also need to be maintained or the
binaries and property files are enough?
Great question - as you can tell, I was under the impression that
the jetspeed source needs to maintained, extended, modified, etc. - at
least if you want to have any type of custom portlets.  As you have
probably seen, you can create DBMS portlets and RSS portlets without
having to write any code (and there are probably others that are
configurable). 

Hope that was useful and that my lack of true understanding didn't get
in the way :) :).

RB



Twenty Years | One Mission | Accelerating Business Processes 


Richard Berger 
Action Technologies, Inc. 
VP, Product Management 
510.748.1017 (Office) 
510.769.0596 (Fax) 
www.actiontech.com 

NOTE: The opinions expressed herein are those of the writer and not necessarily those 
of Action Technologies, Inc. or its employees or its affiliates. 
-Original Message-
From: Archana Turaga [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 19, 2004 4:20 PM
To: [EMAIL PROTECTED]
Subject: build question---please help

Hi,
 I have my own portal application with it's own library files and jsp
files. To understand jetspeed i just built the tutorial and hacked that
structure to include my portal specific information. Now i want to
create a build.xml that will work with ant to create my own portal war.
I cannot follow the tutorial build.xml because it goes in three steps
there
i) Deploy(this will simply replicate the jetspeed.war) ii)Start tomcat
.This will explode the war into a directory structure.
iii) Then hot deploy so that it copies all the tutorial specific
information to exploded structure under tomcat. 
Also the tutorial does not have it's own library files. I have my own
libraries that i want to use.

Questions:
1) Do i have to then look at jetspeed's(the jetspeed source) build file
to come up with my build.xml?
2) Instead of exploding the jetspeed jar to \web-inf\classes can i just
include this like a library jar in the web-inf\lib?
3) If step 2 is valid then can i only take all the files that are
missing in the jar file from the jetspeed directory and deploy them into
the file structure of my custom portal? for e.g. the .properties files
are not present in the jar file. Can i just copy this property files
from jetspeed directory into the my own portal's space ,merge the
properties and then build my own war file?
4) What are the recommended methods of source maintainence of custom
portals? Does the jetspeed source also need to be maintained or the
binaries and property files are enough?

Please help me. I have been trying to figure out the best way

AW: build question---please help

2004-01-20 Thread Danny
We do it that way#:
-take the jetspeed.war
-explode it to tomcat
-replace all modified stuff with ours (we copy it in via ant tasks)
-that works, and you can easily replace the .war by a newer one

Hope that helps.

Danny

> -Ursprungliche Nachricht-
> Von: Archana Turaga [mailto:[EMAIL PROTECTED]
> Gesendet: Dienstag, 20. Januar 2004 01:20
> An: [EMAIL PROTECTED]
> Betreff: build question---please help
> 
> 
> Hi,
>  I have my own portal application with it's own library files 
> and jsp files. To understand jetspeed i just built the 
> tutorial and hacked that structure to include my portal 
> specific information. Now i want to create a build.xml that 
> will work with ant to create my own portal war.
> I cannot follow the tutorial build.xml because it goes in 
> three steps there 
> i) Deploy(this will simply replicate the jetspeed.war) 
> ii)Start tomcat ..This will explode the war into a directory 
> structure.
> iii) Then hot deploy so that it copies all the tutorial 
> specific information to exploded structure under tomcat. 
> Also the tutorial does not have it's own library files. I 
> have my own libraries that i want to use.
> 
> Questions:
> 1) Do i have to then look at jetspeed's(the jetspeed source) 
> build file to come up with my build.xml?
> 2) Instead of exploding the jetspeed jar to \web-inf\classes 
> can i just include this like a library jar in the web-inf\lib?
> 3) If step 2 is valid then can i only take all the files that 
> are missing in the jar file from the jetspeed directory and 
> deploy them into the file structure of my custom portal? for 
> e.g. the .properties files are not present in the jar file. 
> Can i just copy this property files from jetspeed directory 
> into the my own portal's space ,merge the properties and then 
> build my own war file?
> 4) What are the recommended methods of source maintainence of 
> custom portals? Does the jetspeed source also need to be 
> maintained or the binaries and property files are enough?
> 
> Please help me. I have been trying to figure out the best way 
> to formalise the steps of source maintainence. Therefore all 
> the developers of the portlets can use this structure to 
> check-in and check-out source.
> 
> Thanks in advance for your time and patience,
> Archana
> 

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



build question---please help

2004-01-19 Thread Archana Turaga
Hi,
 I have my own portal application with it's own library files and jsp files. To 
understand jetspeed i just built the tutorial and hacked that structure to include my 
portal specific information. Now i want to create a build.xml that will work with ant 
to create my own portal war.
I cannot follow the tutorial build.xml because it goes in three steps there 
i) Deploy(this will simply replicate the jetspeed.war) 
ii)Start tomcat ..This will explode the war into a directory structure.
iii) Then hot deploy so that it copies all the tutorial specific information to 
exploded structure under tomcat. 
Also the tutorial does not have it's own library files. I have my own libraries that i 
want to use.

Questions:
1) Do i have to then look at jetspeed's(the jetspeed source) build file to come up 
with my build.xml?
2) Instead of exploding the jetspeed jar to \web-inf\classes can i just include this 
like a library jar in the web-inf\lib?
3) If step 2 is valid then can i only take all the files that are missing in the jar 
file from the jetspeed directory and deploy them into the file structure of my custom 
portal? for e.g. the .properties files are not present in the jar file. Can i just 
copy this property files from jetspeed directory into the my own portal's space ,merge 
the properties and then build my own war file?
4) What are the recommended methods of source maintainence of custom portals? Does the 
jetspeed source also need to be maintained or the binaries and property files are 
enough?

Please help me. I have been trying to figure out the best way to formalise the steps 
of source maintainence. Therefore all the developers of the portlets can use this 
structure to check-in and check-out source.

Thanks in advance for your time and patience,
Archana


RE: Please help me out

2004-01-07 Thread Weaver, Scott
You definitely want a system with decent RAM if you are running
Eclipse+Tomcat+Tomcat Eclipse Plugin+Jetspeed+DB(MySQL in my case)

Eclipse by itself a res hog, now couple that with debugging webapps like
jetspeed, and you can see why we are recommending high RAM requirements.

Regards,
** 
| Scott T Weaver |
| <[EMAIL PROTECTED]>| 
| Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
**

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, January 07, 2004 1:34 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Please help me out
> 
> Rajeev,
> 
> Unless you do not plan to run the application on your own PC (extremely
> helpful for debugging), you will need at least the 512 MB of RAM or expect
> to spend quite a bit of time waiting for pages, and clicking on links
> several times in a row, hoping that maybe _this_ time, you won't get a
> system timeout.  (I've been through it, it's very painful.)
> 
> Having said that, I am running Eclipse currently on a machine with only
> 192 MB of RAM and although it is very slow, I was able to get it and
> Tomcat 5 running at the same time with no EJBs, and a separate dbase
> server.
> 
> There are instructions posted for getting Jetspeed running, as well as a
> tutorial.  I went through this myself a few months ago, and if you
> understand how web applications work, you should be fine.  Please search
> the mailing list archives for answers to specific questions you come up
> with before posting, many of the common problems people encounter have
> been answered there already, and it can save you some time waiting for
> answers.
> 
> Meghan
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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



Re: Please help me out

2004-01-07 Thread pietila . meghan
Rajeev,

Unless you do not plan to run the application on your own PC (extremely helpful for 
debugging), you will need at least the 512 MB of RAM or expect to spend quite a bit of 
time waiting for pages, and clicking on links several times in a row, hoping that 
maybe _this_ time, you won't get a system timeout.  (I've been through it, it's very 
painful.)

Having said that, I am running Eclipse currently on a machine with only 192 MB of RAM 
and although it is very slow, I was able to get it and Tomcat 5 running at the same 
time with no EJBs, and a separate dbase server.

There are instructions posted for getting Jetspeed running, as well as a tutorial.  I 
went through this myself a few months ago, and if you understand how web applications 
work, you should be fine.  Please search the mailing list archives for answers to 
specific questions you come up with before posting, many of the common problems people 
encounter have been answered there already, and it can save you some time waiting for 
answers.

Meghan

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



Re: Please help me out

2004-01-07 Thread Paul Mansfield
On Wed, 2004-01-07 at 18:04, Rajeev Singh wrote:
> Thanks Paul But i not going to leave it that easily i am here cause i
> know i will able ro figure it out and this time i am seriously not joking
> i have a PC i know programming in java as far as config og my PC is
> concerned i am having
>  a Intel 1.5 Ghz + 256 RD PC800+80 GB Seagate Barracuda
>  what do you say i have got A red hat Linux 9.0 running on that PC
> and are you serious about that quantity of ram
> Please do tell me
> Rajeev

our main machine is a linux box running rh7, and is a quad p4 zeon with
2GB of memory. We have run out of memory on a regular basis, and we're
not even live yet (simply a few people developing and testing). Each
java process can be 144M according to "top".

Reloading jetspeed application seems to leak processes, so memory usage
can grow a bit if you're reloading the app quite a lot - which happens
frequently during development.

We're probably slightly overspec'd on CPU - it doesn't take more than 9
seconds to restart jakarta tomcat/jetspeed... but I wouldn't say the
website is amazingly quick!

disk space isn't a problem, but you'd probably want to be running quick
(scsi) disks for sustained performance to avoid the bottleneck of IDE.
The whole of apache/tomcat/jakarta etc doesn't fill more than a few
hundred megabytes.

you could probably use your machine quite happily for a site with modest
number of users if you're not developing on it.

Paul
p.s. of course someone will come along and tell me that I shouldn't be
using Sun's j2sdk1.4.2_01 on redhat7.3 with apache1.3.28 with
openssl0.9.7c with tomcat5 and mod_jk2, and that I could get it all
running on an old 486 with 16MB of memory swapping to a floppy disk :-)



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



Re: Please help me out

2004-01-07 Thread Rajeev Singh
Thanks Paul But i not going to leave it that easily i am here cause i
know i will able ro figure it out and this time i am seriously not joking
i have a PC i know programming in java as far as config og my PC is
concerned i am having
 a Intel 1.5 Ghz + 256 RD PC800+80 GB Seagate Barracuda
 what do you say i have got A red hat Linux 9.0 running on that PC
and are you serious about that quantity of ram
Please do tell me
Rajeev



On Wed, 07 Jan 2004 17:35:03 +, "Paul Mansfield"
<[EMAIL PROTECTED]> said:
> On Wed, 2004-01-07 at 17:34, Rajeev Singh wrote:
> > Hi 
> >   I am Rajeev and new to Jet speed i want to participate 
> > but I don't know from where to start
> 
> it can be a bit of a shock
> 
> if I were you, I'd start with a plain boring linux box (at the risk of a
> flame war, I like Debian for servers). You'll be wanting lots of RAM in
> it, well over 512MB or even 1.5 or 2GB!
> 
> Then get apache 1.3.xx working. 
> 
> Then install java and check it compiles and runs things. 
> 
> Then get tomcat working (using mod_jk). 
> 
> Then get jetspeed1.4 (stable/current) and build/install it.
> 
> other things you'll want to do useful things:
> mysql or oracle DB
> 
> > > what tools to be used
> > > what platform it is working on
> > > where i can get these resources
> > > what is actually going onm
> >  i have through with the literature on the site but 
> > i am still not clear
> > Hope someone in the communinty will Help me in DETAIL
> > Please it is needed sincerely speaking
> > so that i can contribute at the earliest
> > Thanks
> > Rajeev
> 
> if you've never done any of the above before, you'll need a couple of
> weeks to get it right.
> 
> Paul
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
http://www.fastmail.fm - Access your email from home and the web

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



Re: Please help me out

2004-01-07 Thread Paul Mansfield
On Wed, 2004-01-07 at 17:34, Rajeev Singh wrote:
> Hi 
>   I am Rajeev and new to Jet speed i want to participate 
> but I don't know from where to start

it can be a bit of a shock

if I were you, I'd start with a plain boring linux box (at the risk of a
flame war, I like Debian for servers). You'll be wanting lots of RAM in
it, well over 512MB or even 1.5 or 2GB!

Then get apache 1.3.xx working. 

Then install java and check it compiles and runs things. 

Then get tomcat working (using mod_jk). 

Then get jetspeed1.4 (stable/current) and build/install it.

other things you'll want to do useful things:
mysql or oracle DB

> > what tools to be used
> > what platform it is working on
> > where i can get these resources
> > what is actually going onm
>  i have through with the literature on the site but 
> i am still not clear
> Hope someone in the communinty will Help me in DETAIL
> Please it is needed sincerely speaking
> so that i can contribute at the earliest
> Thanks
> Rajeev

if you've never done any of the above before, you'll need a couple of
weeks to get it right.

Paul


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



Please help me out

2004-01-07 Thread Rajeev Singh
Hi 
  I am Rajeev and new to Jet speed i want to participate 
but I don't know from where to start
> what tools to be used
> what platform it is working on
> where i can get these resources
> what is actually going onm
 i have through with the literature on the site but 
i am still not clear
Hope someone in the communinty will Help me in DETAIL
Please it is needed sincerely speaking
so that i can contribute at the earliest
Thanks
Rajeev


-- 
http://www.fastmail.fm - Access your email from home and the web

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



Portal security****please help

2003-12-24 Thread Archana Turaga
Hi,
I'm trying hard to come to a viable solution for the security authentication we want 
to use. I have just started to look at jetspeed portal and i really am lost.

Right now the JSP portlets can be deployed without any problem into the portal space. 
The problem lies with the authentication. We have a RMI server running which is 
internally using JAAS to authenticate users. Now as a ad-hoc workaround i modified the 
action class for the login to first authenticate with our rmi server..if it fails 
there i declare the whole logon attempt as a failure. If authentication works then i 
let the jetspeed authentication take over...which currently is looking at the 
hypersonic database to validate.

I want to make the authentication to be taken place in only place. I do not want this 
two step approach. Meaning when the user logs in i do not want the RMI server to 
authenticate separately from jetspeed. 

Is there a good solution that will combine the JAAS authentication with jetspeed 
authentication?


Any help in this matter is appreciated. I really am pressed for time to come up with 
something. If i do not get a response..in the short time that i have i may have to go 
for the two step approach...which frankly speaking i do not like at all.

Thanks,
Archana


Re: Please help with role based PSML usage

2003-11-07 Thread akadyshevich
Thank you for your reply, please see comments in-line.

> Make sure the following two properties are set in 
> JetspeedResources.properties:services.Profiler.rolefallback=true
> services.Profiler.newuser.template=
 
Both of the above are set.

> If user_xyz has a psml page defined, you may try deleting it.  I 
> think the way the profiler works, it will pick up user-based psml 
> FIRST, and then look for role-based psml if no user psml exists.

If in JetspeedResource.properties automatic.logout.save = true,
when this new user logs out, new psml is created for the user
and saved on file system. This psml is cloned from role_abc with
all new unique portlet IDs generated by Jetspeed.
I delete the user psml file in psml browser in this case.

These are the steps and observed results of new user creation: 
Pre-condition: role_abc exists with role specific psml in place.
in JetspeedResource.properties automatic.logout.save = false.

In admin interface create new user. Keep it as disabled at the 
time of creation.

>From user browser edit user roles.  By default, Jetspeed asigns role user,
editor opens with this role selected.  Uncheck default role user, 
check role role_abc, save.

Check psml browser, there is no psml entry for new user.

Open new browser instance, login as new user. Page displayed
after user login represents correct layout for role_abc, BUT it appears 
that Jetspeed cloned psml layout defined for ROLE role_abc
as USER layout, because all URLs on the page represent 
references to portlets with new unique portlet IDs that 
represent user URLS like:
Menu Item URL:
http://localhost:8080/abc/portal/media-type/html/user/user_xyz/page/default.psml/js_pane/P-f8ad89196e-10006
 

If at this point I put in browser URL:
http://localhost:8080/abc/portal/media-type/html/role/role_abc 

and refresh browser, the desired psml for ROLE role_abc is used 
to render the page and all URLs use pane and portlet IDs defined
in role_abc psml file.

I would like this behavior of loading role based psml layout to 
occur for the first page rendered for logged in user.  

Is it possible to do it?

Any suggestions/recommendations are welcome.

Thank you, 
Alex Kadyshevich



- Original Message -
From: Stuart Belden 
Date: Friday, November 7, 2003 7:39 am
Subject: Re: Please help with role based PSML usage

> Make sure the following two properties are set in 
> JetspeedResources.properties:services.Profiler.rolefallback=true
> services.Profiler.newuser.template=
> 
> If user_xyz has a psml page defined, you may try deleteing it.  I 
> think the way the profiler works, it will pick up user-based psml 
> FIRST, and then look for role-based psml if no user psml exists.
> 
> Your initial form submit action doesn't get called because it's 
> calling a portlet that, at the time, doesn't exist in Jetspeed's 
> mind.  It seems counterintuitive, but I believe that's the case.
> 
> 
> >>> [EMAIL PROTECTED] 11/05/03 05:13PM >>>
> Hello,
> 
> I know it is a pretty long post, but I really tried to 
> compress it to bare minimum.
> 
> We would like to implement role based security and layout for our 
> portal.
> We auto generate xreg and psml files based on information
> defined in a document of a certain structure, with base Portlet
> IDs in xreg file and instance Portlet IDs in psml files
> generated based on some rule. We use instance portlet IDs
> from PSML files to construct URLs in JSP based portlets
> for form submit, etc. Majority of links reference OTHER portlets!
> 
> The current setup:
> - user account user_xyz exists that has only one role role_abc
> - a psml file defined in WEB-INF/psml/role/role_abc/html/default.psml
> 
> When user user_xyz logs in, the picture is:
> - rendered page with the proper layout defined in default.psml for 
> role role_abc.
> 
> - all links of tabs and menu items reference unique (generated by 
> JetSpeed) portlet
> IDs instead of the ones that are defined in default.psml for 
> role_abc.(This is a problem for us!)
> 
> - browser (IE) URL: http://localhost:8080/abc/portal 
> 
> It looks like all links on the page are user URLs, not ROLE URLs.
> As example, TAB URL:
> http://localhost:8080/abc/portal/media-
> type/html/user/user_xyz/page/default.psml/js_pane/P-f8ad89196e-
> 10016 
> Menu Item URL:
> http://localhost:8080/abc/portal/media-
> type/html/user/user_xyz/page/default.psml/js_pane/P-f8ad89196e-
> 10006 
> 
> Clicking on menu item brings properly rendered portlet with our 
> HARDCODED links
> in html body that reference portlet IDs that we created and placed 
> into PSML file.
> Form submit URL that we construct looks like:
> 
> Inst1PortletName is portlet name in our generated file 
> .../role/role_abc/html/default.psml.
> Form submit 

Re: Please help with role based PSML usage

2003-11-07 Thread Stuart Belden
Make sure the following two properties are set in JetspeedResources.properties:
services.Profiler.rolefallback=true
services.Profiler.newuser.template=

If user_xyz has a psml page defined, you may try deleteing it.  I think the way the 
profiler works, it will pick up user-based psml FIRST, and then look for role-based 
psml if no user psml exists.

Your initial form submit action doesn't get called because it's calling a portlet 
that, at the time, doesn't exist in Jetspeed's mind.  It seems counterintuitive, but I 
believe that's the case.


>>> [EMAIL PROTECTED] 11/05/03 05:13PM >>>
Hello,

I know it is a pretty long post, but I really tried to 
compress it to bare minimum.

We would like to implement role based security and layout for our portal.

We auto generate xreg and psml files based on information
defined in a document of a certain structure, with base Portlet
IDs in xreg file and instance Portlet IDs in psml files
generated based on some rule. We use instance portlet IDs
from PSML files to construct URLs in JSP based portlets
for form submit, etc. Majority of links reference OTHER portlets!

The current setup:
- user account user_xyz exists that has only one role role_abc
- a psml file defined in WEB-INF/psml/role/role_abc/html/default.psml

When user user_xyz logs in, the picture is:
- rendered page with the proper layout defined in default.psml for role role_abc.

- all links of tabs and menu items reference unique (generated by JetSpeed) portlet
 IDs instead of the ones that are defined in default.psml for role_abc.
(This is a problem for us!)

- browser (IE) URL: http://localhost:8080/abc/portal 

It looks like all links on the page are user URLs, not ROLE URLs.
As example, TAB URL:
http://localhost:8080/abc/portal/media-type/html/user/user_xyz/page/default.psml/js_pane/P-f8ad89196e-10016
 
 Menu Item URL:
http://localhost:8080/abc/portal/media-type/html/user/user_xyz/page/default.psml/js_pane/P-f8ad89196e-10006
 

Clicking on menu item brings properly rendered portlet with our HARDCODED links
in html body that reference portlet IDs that we created and placed into PSML file.
Form submit URL that we construct looks like:

Inst1PortletName is portlet name in our generated file 
.../role/role_abc/html/default.psml.

Form submit leads to page reload (without executing expected action) with all URLs 
on reloaded page being from WEB-INF/psml/role/role_abc/html/default.psml 
- as we would like it to be.

The other way to achieve loading of the main page with links as defined in psml
file that we generate is to change browser URL to (and refresh):
http://localhost:8080/abc/portal/media-type/html/role/role_abc/ 

There are 2 questions:
1. Is it a proper way to construct site layout and links when using JetSpeed?
2. How to configure JetSpeed to load default ROLE based layout after login with
links as they are defined in psml file that we create?

Thank you for your help!

Alex



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





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



Please help with role based PSML usage

2003-11-06 Thread ALEXANDER KADYSHEVICH
Hello,

I know it is a pretty long post, but I really tried to 
compress it to bare minimum.

We would like to implement role based security and layout for our portal.

We auto generate xreg and psml files based on information
defined in a document of a certain structure, with base Portlet
IDs in xreg file and instance Portlet IDs in psml files
generated based on some rule. We use instance portlet IDs
from PSML files to construct URLs in JSP based portlets
for form submit, etc. Majority of links reference OTHER portlets!

The current setup:
- user account user_xyz exists that has only one role role_abc
- a psml file defined in WEB-INF/psml/role/role_abc/html/default.psml

When user user_xyz logs in, the picture is:
- rendered page with the proper layout defined in default.psml for role role_abc.

- all links of tabs and menu items reference unique (generated by JetSpeed) portlet
 IDs instead of the ones that are defined in default.psml for role_abc.
(This is a problem for us!)

- browser (IE) URL: http://localhost:8080/abc/portal

It looks like all links on the page are user URLs, not ROLE URLs.
As example, TAB URL:
http://localhost:8080/abc/portal/media-type/html/user/user_xyz/page/default.psml/js_pane/P-f8ad89196e-10016
 Menu Item URL:
http://localhost:8080/abc/portal/media-type/html/user/user_xyz/page/default.psml/js_pane/P-f8ad89196e-10006

Clicking on menu item brings properly rendered portlet with our HARDCODED links
in html body that reference portlet IDs that we created and placed into PSML file.
Form submit URL that we construct looks like:

Inst1PortletName is portlet name in our generated file 
.../role/role_abc/html/default.psml.

Form submit leads to page reload (without executing expected action) with all URLs 
on reloaded page being from WEB-INF/psml/role/role_abc/html/default.psml 
- as we would like it to be.

The other way to achieve loading of the main page with links as defined in psml
file that we generate is to change browser URL to (and refresh):
http://localhost:8080/abc/portal/media-type/html/role/role_abc/

There are 2 questions:
1. Is it a proper way to construct site layout and links when using JetSpeed?
2. How to configure JetSpeed to load default ROLE based layout after login with
links as they are defined in psml file that we create?

Thank you for your help!

Alex



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



Re: PLEASE HELP - installation of jportal

2002-12-10 Thread Martin Baur
well, my fault. it works now. i forgot to do ant war :(

sorry for bothering you guys


- Original Message -
From: "Martin Baur" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 5:00 PM
Subject: PLEASE HELP - installation of jportal


Hi all

I deleted the old jetspeed version and installed the new one. I am now
trying to install jportal (the demo site) but I get a 404 when I try to call
it. i really don't know what's wrong.



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




PLEASE HELP - installation of jportal

2002-12-10 Thread Martin Baur
Hi all

I deleted the old jetspeed version and installed the new one. I am now trying to 
install jportal (the demo site) but I get a 404 when I try to call it. i really don't 
know what's wrong. 



Re: Please help- Jetspeed with Mysql

2002-12-04 Thread Einstein_Albert
Hi Babitha,

have you experiences with jetspeed and email confirmations ?

thanks,
albert
> 
> Hi Albert:
> I solved the problem by adding 2 more lines in turbineresources.properties
> file..
> database.adaptor=DBMM
> database.adaptor.DBMM=org.gjt.mm.mysql.Driver
> Thanks for the reply and comments..
> Regards
> Babitha
>  [EMAIL PROTECTED] wrote:Hi babitha,
> 
> so as for mysql, why you dont use org.gjt.mm.mysql.Driver as driver ?
> Which jdbc mysql driver do you have ?
> 
> albert
> 
> > 
> > Hi buddies:
> > 
> > It's really nice to see a good product like jetspeed, Congratulations to
> > all behind this, I downloaded Jetspeed and configured to work with
> tomcat.
> 
> > My environment is Windows 2000, Tomcat 4.1.12, Jetspeed1.4b1, mysql
> > 3.23.53
> > Everything works fine and I could develop a couple of portlets and
> > installed those in jetspeed.
> > Now I need to use mysql as my database instead of hsql . According to
> the
> > manual I created the database called jetspeed in mysql and run the
> scripts
> > turbine-mysql and populate-mysql found on src/sql/external from source
> > release.
> > 
> > I downloaded the mysql driver and put
> mysql-connect-or-java-2.0.14.bin.jar
> > in my jetspeed/web-inf/lib
> > 
> > In my torque.properties file I changed the settings like
> > #
> > # T O R Q U E P R O P E R T I E S
> > #
> > # ---
> > # These are your database settings. Look in the
> > # org.apache.pool.* packages for more information.
> > #
> > # The parameters to connect to the default database. You MUST
> > # configure these properly.
> > # ---
> > 
> > 
> > database.default.driver=com.mysql.jdbc.Driver
> > database.default.url=jdbc:mysql://localhost:3306/jetspeed
> > database.default.username=root
> > database.default.password=
> > 
> > After restarting my tomcat server and when I point my url
> > http://localhost:8080/jetspeed I get error messages like shown below,
> Please advise me to
> > correct this and run my portal. Any help from those who tried jetspeed
> with
> > mysql/DB2 will be greatly appreciated...
> > 
> > Horrible Exception: java.lang.Error: Error in
> > BasePeer.initTableSchema(TURBINE_USER): Unknown JDBC driver:
> com.mysql.jdbc.Driver: Check your
> > configuration file
> > at
> >
>
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTurbineUserPeer.java:130)
> > at
> >
>
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(BaseTurbineUserPeer.java:109)
> > at
> >
>
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:164)
> > at
> >
>
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:98)
> > .so on
> > 
> > 
> > Please help on this matter with steps needed to configure jetspeed on
> > mysql database.
> > 
> > With Lov,
> > Babitha Ann John
> > 
> > 
> > 
> > 
> > -
> > Do you Yahoo!?
> > Yahoo! Mail Plus - Powerful. Affordable. Sign up now
> 
> -- 
> +++ GMX - Mail, Messaging & more http://www.gmx.net +++
> NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
> 
> 
> --
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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




Re: Please help- Jetspeed with Mysql

2002-12-03 Thread Babitha Ann

Hi Albert:
I solved the problem by adding 2 more lines in turbineresources.properties file..
database.adaptor=DBMM
database.adaptor.DBMM=org.gjt.mm.mysql.Driver
Thanks for the reply and comments..
Regards
Babitha
 [EMAIL PROTECTED] wrote:Hi babitha,

so as for mysql, why you dont use org.gjt.mm.mysql.Driver as driver ?
Which jdbc mysql driver do you have ?

albert

> 
> Hi buddies:
> 
> It's really nice to see a good product like jetspeed, Congratulations to
> all behind this, I downloaded Jetspeed and configured to work with tomcat.

> My environment is Windows 2000, Tomcat 4.1.12, Jetspeed1.4b1, mysql
> 3.23.53
> Everything works fine and I could develop a couple of portlets and
> installed those in jetspeed.
> Now I need to use mysql as my database instead of hsql . According to the
> manual I created the database called jetspeed in mysql and run the scripts
> turbine-mysql and populate-mysql found on src/sql/external from source
> release.
> 
> I downloaded the mysql driver and put mysql-connect-or-java-2.0.14.bin.jar
> in my jetspeed/web-inf/lib
> 
> In my torque.properties file I changed the settings like
> #
> # T O R Q U E P R O P E R T I E S
> #
> # ---
> # These are your database settings. Look in the
> # org.apache.pool.* packages for more information.
> #
> # The parameters to connect to the default database. You MUST
> # configure these properly.
> # ---
> 
> 
> database.default.driver=com.mysql.jdbc.Driver
> database.default.url=jdbc:mysql://localhost:3306/jetspeed
> database.default.username=root
> database.default.password=
> 
> After restarting my tomcat server and when I point my url
> http://localhost:8080/jetspeed I get error messages like shown below,
Please advise me to
> correct this and run my portal. Any help from those who tried jetspeed
with
> mysql/DB2 will be greatly appreciated...
> 
> Horrible Exception: java.lang.Error: Error in
> BasePeer.initTableSchema(TURBINE_USER): Unknown JDBC driver:
com.mysql.jdbc.Driver: Check your
> configuration file
> at
>
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTurbineUserPeer.java:130)
> at
>
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(BaseTurbineUserPeer.java:109)
> at
>
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:164)
> at
>
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:98)
> .so on
> 
> 
> Please help on this matter with steps needed to configure jetspeed on
> mysql database.
> 
> With Lov,
> Babitha Ann John
> 
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now

-- 
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


Re: Please help- Jetspeed with Mysql

2002-12-03 Thread Einstein_Albert
Hi babitha,

so as for mysql, why you dont use org.gjt.mm.mysql.Driver as driver ?
Which jdbc mysql driver do you have ?

albert

> 
> Hi buddies:
> 
> It's really nice to see a good product like jetspeed, Congratulations to
> all behind this, I downloaded Jetspeed and configured to work with tomcat.

> My environment is Windows 2000, Tomcat 4.1.12, Jetspeed1.4b1, mysql
> 3.23.53
> Everything works fine and I could develop a couple of portlets and
> installed those in jetspeed.
> Now I need to use mysql as my database instead of hsql . According to the
> manual I created the database called jetspeed in mysql and run the scripts
> turbine-mysql and populate-mysql found on src/sql/external  from source
> release.
> 
> I downloaded the mysql driver and put mysql-connect-or-java-2.0.14.bin.jar
> in my jetspeed/web-inf/lib
> 
> In my torque.properties file I changed the settings like
> #
> #  T O R Q U E  P R O P E R T I E S
> #
> # ---
> # These are your database settings. Look in the
> # org.apache.pool.* packages for more information.
> #
> # The parameters to connect to the default database.  You MUST
> # configure these properly.
> # ---
> 
> 
> database.default.driver=com.mysql.jdbc.Driver
> database.default.url=jdbc:mysql://localhost:3306/jetspeed
> database.default.username=root
> database.default.password=
> 
> After restarting my tomcat server and when I point my url
> http://localhost:8080/jetspeed I get error messages like shown below,
Please advise me to
> correct this and run my portal. Any help from those who tried jetspeed
with
> mysql/DB2 will be greatly appreciated...
> 
> Horrible Exception: java.lang.Error: Error in
> BasePeer.initTableSchema(TURBINE_USER): Unknown JDBC driver:
com.mysql.jdbc.Driver: Check your
> configuration file
>  at
>
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTurbineUserPeer.java:130)
>  at
>
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(BaseTurbineUserPeer.java:109)
>  at
>
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:164)
>  at
>
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:98)
> .so on
> 
> 
> Please help on this matter with steps needed to configure jetspeed on
> mysql database.
> 
> With Lov,
> Babitha Ann John
> 
> 
> 
> 
> -
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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




Please help- Jetspeed with Mysql

2002-12-03 Thread Babitha Ann

Hi buddies:

It's really nice to see a good product like jetspeed, Congratulations to all behind 
this, I downloaded Jetspeed and configured to work with tomcat. 
My environment is Windows 2000, Tomcat 4.1.12, Jetspeed1.4b1, mysql 3.23.53
Everything works fine and I could develop a couple of portlets and installed those in 
jetspeed.
Now I need to use mysql as my database instead of hsql . According to the manual I 
created the database called jetspeed in mysql and run the scripts turbine-mysql and 
populate-mysql found on src/sql/external  from source release.

I downloaded the mysql driver and put mysql-connect-or-java-2.0.14.bin.jar in my 
jetspeed/web-inf/lib

In my torque.properties file I changed the settings like
#
#  T O R Q U E  P R O P E R T I E S
#
# ---
# These are your database settings. Look in the
# org.apache.pool.* packages for more information.
#
# The parameters to connect to the default database.  You MUST
# configure these properly.
# ---


database.default.driver=com.mysql.jdbc.Driver
database.default.url=jdbc:mysql://localhost:3306/jetspeed
database.default.username=root
database.default.password=

After restarting my tomcat server and when I point my url 
http://localhost:8080/jetspeed I get error messages like shown below, Please advise me 
to correct this and run my portal. Any help from those who tried jetspeed with 
mysql/DB2 will be greatly appreciated...

Horrible Exception: java.lang.Error: Error in BasePeer.initTableSchema(TURBINE_USER): 
Unknown JDBC driver: com.mysql.jdbc.Driver: Check your configuration file
 at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.initClass(BaseTurbineUserPeer.java:130)
 at 
org.apache.jetspeed.om.security.turbine.BaseTurbineUserPeer.(BaseTurbineUserPeer.java:109)
 at 
org.apache.jetspeed.services.security.turbine.TurbineUserManagement.getUser(TurbineUserManagement.java:164)
 at 
org.apache.jetspeed.services.JetspeedUserManagement.getUser(JetspeedUserManagement.java:98)
.so on


Please help on this matter with steps needed to configure jetspeed on mysql database.

With Lov,
Babitha Ann John




-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now


RE: New User Please Help me

2002-11-28 Thread Martin Kisimov
if you get the yahoo part right give me a shout, because we have been trying
to get this right for a while with moderate success but nothing to speak of
as of yet.

Main problems are URL rewriting and session management.

This obviously depends on the type of portlet you use. A standard JSP
portlet will probably load the Yahoo front page without a problem, but then
you are faced with URL rewriting, this mainly says that you will have to
scan the content and attempt to find all links and forms and any JavaScript
related links or forms. Rewrite those and it should be all good ;) not a
small task. Recently a WebBrowserPortlet was contributed to the apache site
just scan the mailing list it includes the jar and a small howto. I am not
sure if yahoo uses rewrites in their session management but if they simply
use cookies then these are normally blocked by the portlet...just some food
for thought
Hope it helps, I am a newbe here as well so I hope I did not get it all
wrong...


-Original Message-
From: Sangam Dash [mailto:[EMAIL PROTECTED]]
Sent: 28 November 2002 12:27
To: Jetspeed Users List
Subject: New User Please Help me


Hi

I have just started using jetsped i could able to add my website pages as
default portlets but now i need something more...

1.Once somebody logs in i need to show yahoo as a portlet so that the user
can login to yahoo but the page should run inside the portlet or when he
maximizes the portlet he can see his yahoo mails or yahoo personal folders
inside the same portlet or same window.
Is it possible ?
Please tell me how to start for that?

2. Is it possible that i can change the content of any portlet dynamically?
I mean the user can add some website URL and when he comes again to see it
the URLs show up in the portlet space.
Please help me out
thanks
sangam dash


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

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




New User Please Help me

2002-11-27 Thread Sangam Dash
Hi

I have just started using jetsped i could able to add my website pages as
default portlets but now i need something more...

1.Once somebody logs in i need to show yahoo as a portlet so that the user
can login to yahoo but the page should run inside the portlet or when he
maximizes the portlet he can see his yahoo mails or yahoo personal folders
inside the same portlet or same window.
Is it possible ?
Please tell me how to start for that?

2. Is it possible that i can change the content of any portlet dynamically?
I mean the user can add some website URL and when he comes again to see it
the URLs show up in the portlet space.
Please help me out
thanks
sangam dash


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




RE: New to this group please help me

2002-11-20 Thread Luta, Raphael (VUN)
No matter what portal or web development tool you're using, you should
*always* first spend some time on the specification of your portal.

You should not even start looking at the toys before answering questions
like (randomly sorted) :

* How many users ?
* Is there already an existing authentication database for these
  users, do I want to use it ?
* How many languages ?
* How many media types do I want to support ?
* How many and which segments/target groups do I have to serve ?
* What content do I want to publish ? How can I get access to 
  this content (disk, db, syndication, etc...) ? Who is going
  to update the site content and with what editorial process ?
* What applications do I need to connect to ? Are they already
  using a single authentication db ? How do I bridge to these
  apps (servlet, http, SOAP, CORBA, etc...) ?
* For each user target group, what application/content do they need
  to access ? can they personnalize their portal view ? what access
  rights should they have ?
* What will be your portal navigation ? Do you plan to set up
  different thematic portal views or a single integrated workspace ?

Once you have written down your answers on these points, you should
have a much better view on :
- what kind of software tools and features you'll need.
- what kind of skills you'll require.
- an estimate of the amount of work required to setup your portal.
- what budget you'll need to complete your portal transition.
- where to start :)

Setting up and running a portal is typically a lot of work, mainly
in terms of technical integration, process engineering and project
management.
Open source software does not magically cancel these, just
ensure that your budget can be spent of these items rather than
being split between software licenses and integration.

Jumping directly from a static website to a portal-driven system
without any defined specification and expected benefits is a recipe
for frustration, lost time, lost money and a very slow website...

> -Message d'origine-
> De : Sangam Dash [mailto:[EMAIL PROTECTED]]
> Envoyé : mardi 19 novembre 2002 19:38
> À : Jetspeed Users List
> Objet : New to this group please help me
> 
> 
> Hi
> 
> I am a new user just trying to use Jetspeed to develop a portal for my
> company.
> We already have a website, which needs to be changed to a 
> portal so that we
> can have different portlets for our clients and partners.
> I dont know how to start out with.
> Should i copy the existing html files in some directory or 
> should i have to
> convert every html files to reflect portal framework.
> I was thinking to copy the whole website folder to some place 
> in tomcat or
> jetspeed folder and then use the portlet development framework to add
> portlets to my portal.
> I am really confused to start out with it.
> Please help me out.
> Thanks
> sangam dash
> 
> - Original Message -
> From: "David Sean Taylor" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 19, 2002 9:27 AM
> Subject: RE: Jetspeed and OpenLDAP
> 
> 
> >
> >
> > > -Original Message-
> > > From: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, November 19, 2002 12:50 AM
> > > To: 'Jetspeed Users List'
> > > Subject: Jetspeed and OpenLDAP
> > >
> > >
> > > Hi all,
> > >
> > > perhaps my question looks like realy similar, but i've searched
> > > the mailing
> > > list and dosn't found any usefull solution.
> > >
> > > I must implements for my organisation a Jetspeed Portal. The
> > > implementation
> > > of Jetspeed works fine (V1.4.1). Now i should combine 
> Jetspeed with a
> > > LDAP-Server, prefered OpenLDAP,
> > > my question is how can i combine Jetspeed with OpenLDAP?
> > >
> > > I know that someone have solved that problem, but i 
> haven't found any
> > > usefull HowTo or examples to do it. It is realy importand for me
> > > to know how
> > > i could realize that, thx for any help.
> > >
> > Hi Christian,
> >
> > There are several of us working on cleaning up the LDAP 
> implementation in
> > Jetspeed cvs.
> > I just received a patch and documentation from Suhail for 
> configuration
> > Jetspeed LDAP Security Service with OpenLDAP.
> > Hope to get it reviewed and checked in over the next day or two.
> >
> > David
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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




Re: New to this group please help me

2002-11-19 Thread Sangam Dash
Thanks a lot Steve.
All the best for your job search.
i have few questions too, please take your own time to answer these
questions.
what i did was copied the jetspeed folder under webapps with a different
name say mywebsite.
then i changed the logo.gif file
then where shud i put all my html files?
what exactly shud i change in the psml files?
please help me out whenever u have time.
thanks a lot
sangam dash
- Original Message -
From: "Steve" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 11:14 AM
Subject: Re: New to this group please help me


> Depending on the corporate website, this is difficult to answer in one
> email - especially since your strategy greatly agrees on the current
> layout. I have converted a couple of websites to the Jetspeed
> framework. Its been a few months, but I do not believe Jetspeed
> has changed in that time to affect my procedure.
>
> The first thing I usually do is modify the page template to match the
> existing layout of the company site. This helps you to imagine what
> the site is going to look like.
>
> Next, create the psml's for the portlets. For each page from your
> original website, create a HTMLportlet.
>
> Now, use Jetspeed's customization functions to setup the menus and
> pages. Does the layout use the traditional
> layout of a menu across the top of the page to different "areas", then
> a different menu down the left depending on the area entered?
> If so, I would setup a tab pane where each selection is your "area"
> menu for the top of the page. Under each tab, add another tab pane
> which has your left menu choices for a given area.  Finally, to each
> of the second tabs, add a single html portlet which contains the page
> you want to display. When all is done, change each of the 2nd-level
> tabs into a menu tab. can be tricky because there is - or there was -
> a bug where once you added a portlet to a 2nd-level tab, you could
> not modify any tabs that followed it.
>
> If you have any questions, ask and I will help as best I can. I am quite
> busy these days looking for a job, so I will do my best to help
> when I can.
>
> Steve Belt
>
> - Original Message -
> From: "Sangam Dash" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 19, 2002 4:38 PM
> Subject: New to this group please help me
>
>
> > Hi
> >
> > I am a new user just trying to use Jetspeed to develop a portal for my
> > company.
> > We already have a website, which needs to be changed to a portal so that
> we
> > can have different portlets for our clients and partners.
> > I dont know how to start out with.
> > Should i copy the existing html files in some directory or should i have
> to
> > convert every html files to reflect portal framework.
> > I was thinking to copy the whole website folder to some place in tomcat
or
> > jetspeed folder and then use the portlet development framework to add
> > portlets to my portal.
> > I am really confused to start out with it.
> > Please help me out.
> > Thanks
> > sangam dash
> >
> > - Original Message -
> > From: "David Sean Taylor" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> > Sent: Tuesday, November 19, 2002 9:27 AM
> > Subject: RE: Jetspeed and OpenLDAP
> >
> >
> > >
> > >
> > > > -Original Message-
> > > > From: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, November 19, 2002 12:50 AM
> > > > To: 'Jetspeed Users List'
> > > > Subject: Jetspeed and OpenLDAP
> > > >
> > > >
> > > > Hi all,
> > > >
> > > > perhaps my question looks like realy similar, but i've searched
> > > > the mailing
> > > > list and dosn't found any usefull solution.
> > > >
> > > > I must implements for my organisation a Jetspeed Portal. The
> > > > implementation
> > > > of Jetspeed works fine (V1.4.1). Now i should combine Jetspeed with
a
> > > > LDAP-Server, prefered OpenLDAP,
> > > > my question is how can i combine Jetspeed with OpenLDAP?
> > > >
> > > > I know that someone have solved that problem, but i haven't found
any
> > > > usefull HowTo or examples to do it. It is realy importand for me
> > > > to know how
> > > > i could realize that, thx for any help.
> > > >
> >

Re: New to this group please help me

2002-11-19 Thread Steve
Depending on the corporate website, this is difficult to answer in one
email - especially since your strategy greatly agrees on the current
layout. I have converted a couple of websites to the Jetspeed
framework. Its been a few months, but I do not believe Jetspeed
has changed in that time to affect my procedure.

The first thing I usually do is modify the page template to match the
existing layout of the company site. This helps you to imagine what
the site is going to look like.

Next, create the psml's for the portlets. For each page from your
original website, create a HTMLportlet.

Now, use Jetspeed's customization functions to setup the menus and
pages. Does the layout use the traditional
layout of a menu across the top of the page to different "areas", then
a different menu down the left depending on the area entered?
If so, I would setup a tab pane where each selection is your "area"
menu for the top of the page. Under each tab, add another tab pane
which has your left menu choices for a given area.  Finally, to each
of the second tabs, add a single html portlet which contains the page
you want to display. When all is done, change each of the 2nd-level
tabs into a menu tab. can be tricky because there is - or there was -
a bug where once you added a portlet to a 2nd-level tab, you could
not modify any tabs that followed it.

If you have any questions, ask and I will help as best I can. I am quite
busy these days looking for a job, so I will do my best to help
when I can.

Steve Belt

- Original Message -
From: "Sangam Dash" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 4:38 PM
Subject: New to this group please help me


> Hi
>
> I am a new user just trying to use Jetspeed to develop a portal for my
> company.
> We already have a website, which needs to be changed to a portal so that
we
> can have different portlets for our clients and partners.
> I dont know how to start out with.
> Should i copy the existing html files in some directory or should i have
to
> convert every html files to reflect portal framework.
> I was thinking to copy the whole website folder to some place in tomcat or
> jetspeed folder and then use the portlet development framework to add
> portlets to my portal.
> I am really confused to start out with it.
> Please help me out.
> Thanks
> sangam dash
>
> - Original Message -
> From: "David Sean Taylor" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" <[EMAIL PROTECTED]>
> Sent: Tuesday, November 19, 2002 9:27 AM
> Subject: RE: Jetspeed and OpenLDAP
>
>
> >
> >
> > > -Original Message-
> > > From: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, November 19, 2002 12:50 AM
> > > To: 'Jetspeed Users List'
> > > Subject: Jetspeed and OpenLDAP
> > >
> > >
> > > Hi all,
> > >
> > > perhaps my question looks like realy similar, but i've searched
> > > the mailing
> > > list and dosn't found any usefull solution.
> > >
> > > I must implements for my organisation a Jetspeed Portal. The
> > > implementation
> > > of Jetspeed works fine (V1.4.1). Now i should combine Jetspeed with a
> > > LDAP-Server, prefered OpenLDAP,
> > > my question is how can i combine Jetspeed with OpenLDAP?
> > >
> > > I know that someone have solved that problem, but i haven't found any
> > > usefull HowTo or examples to do it. It is realy importand for me
> > > to know how
> > > i could realize that, thx for any help.
> > >
> > Hi Christian,
> >
> > There are several of us working on cleaning up the LDAP implementation
in
> > Jetspeed cvs.
> > I just received a patch and documentation from Suhail for configuration
> > Jetspeed LDAP Security Service with OpenLDAP.
> > Hope to get it reviewed and checked in over the next day or two.
> >
> > David
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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




New to this group please help me

2002-11-19 Thread Sangam Dash
Hi

I am a new user just trying to use Jetspeed to develop a portal for my
company.
We already have a website, which needs to be changed to a portal so that we
can have different portlets for our clients and partners.
I dont know how to start out with.
Should i copy the existing html files in some directory or should i have to
convert every html files to reflect portal framework.
I was thinking to copy the whole website folder to some place in tomcat or
jetspeed folder and then use the portlet development framework to add
portlets to my portal.
I am really confused to start out with it.
Please help me out.
Thanks
sangam dash

- Original Message -
From: "David Sean Taylor" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, November 19, 2002 9:27 AM
Subject: RE: Jetspeed and OpenLDAP


>
>
> > -Original Message-
> > From: Heine, Christian (Extern) [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, November 19, 2002 12:50 AM
> > To: 'Jetspeed Users List'
> > Subject: Jetspeed and OpenLDAP
> >
> >
> > Hi all,
> >
> > perhaps my question looks like realy similar, but i've searched
> > the mailing
> > list and dosn't found any usefull solution.
> >
> > I must implements for my organisation a Jetspeed Portal. The
> > implementation
> > of Jetspeed works fine (V1.4.1). Now i should combine Jetspeed with a
> > LDAP-Server, prefered OpenLDAP,
> > my question is how can i combine Jetspeed with OpenLDAP?
> >
> > I know that someone have solved that problem, but i haven't found any
> > usefull HowTo or examples to do it. It is realy importand for me
> > to know how
> > i could realize that, thx for any help.
> >
> Hi Christian,
>
> There are several of us working on cleaning up the LDAP implementation in
> Jetspeed cvs.
> I just received a patch and documentation from Suhail for configuration
> Jetspeed LDAP Security Service with OpenLDAP.
> Hope to get it reviewed and checked in over the next day or two.
>
> David
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>

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




***PLEASE HELP*** $data.getParameters()

2002-08-13 Thread Dariush Behboudi

Hi everyone,
from vm pages I'm not able to access parameters from $data object
For example, if I print out

$data.getParameters()

the vm page returns

{action=CreateNewUserAndConfirm} {user=anon}
{password_confirm=DefaultHomePageUser} {username=DefaultHomePageUser}
{firstname=} {lastname=} {page=default.psml} {email=} {submit2=Create
New Account}

but if I try to access, for example, the username parameter, using
$data.getParameters().getString("username")

the vm page returns a ***BIG*** error as follow

Horrible Exception: java.lang.NoClassDefFoundError:
javax/activation/DataSource at java.lang.ClassLoader.defineClass0(Native
Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:488) at
org.apache.tomcat.util.depend.DependClassLoader12.defineClassCompat(Depe
ndClassLoader12.java:156) at
org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(Depen
dClassLoader.java:211) at
org.apache.tomcat.util.depend.DependClassLoader12$1.run(DependClassLoade
r12.java:92) at java.security.AccessController.doPrivileged(Native
Method) at
org.apache.tomcat.util.depend.DependClassLoader12.loadClass(DependClassL
oader12.java:90) at
java.lang.ClassLoader.loadClass(ClassLoader.java:250) at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310) at
java.lang.Class.getMethods0(Native Method) at
java.lang.Class.getMethods(Class.java:737) at
org.apache.velocity.util.introspection.ClassMap.getAccessibleMethods(Cla
ssMap.java:292) at
org.apache.velocity.util.introspection.ClassMap.populateMethodCache(Clas
sMap.java:189) at
org.apache.velocity.util.introspection.ClassMap.(ClassMap.java:102) at
org.apache.velocity.util.introspection.IntrospectorBase.createClassMap(I
ntrospectorBase.java:164) at
org.apache.velocity.util.introspection.IntrospectorBase.getMethod(Intros
pectorBase.java:150) at
org.apache.velocity.util.introspection.Introspector.getMethod(Introspect
or.java:137) at
org.apache.velocity.runtime.parser.node.ASTMethod.doIntrospection(ASTMet
hod.java:148) at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:208) at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:207) at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:250) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a: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.decodeReques
t(TurbineVelocityService.java:485) at
org.apache.turbine.services.velocity.TurbineVelocityService.handleReques
t(TurbineVelocityService.java:327) at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(Turbi
neVelocity.java:146) at
org.apache.turbine.modules.screens.VelocityDirectScreen.buildTemplate(Ve
locityDirectScreen.java:123) at
org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen
.java:130) at org.apache.turbine.modules.Screen.build(Screen.java:99) at
org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:129) at
org.apache.turbine.util.template.TemplateScreen.toString(TemplateScreen.
java:126) at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:321) at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a: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.decodeReques
t(TurbineVelocityService.java:485) at
org.apache.turbine.services.velocity.TurbineVelocityService.handleReques
t(TurbineVelocityService.java:327) at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(Turbi
neVelocity.java:146) at
org.apache.turbine.modules.layouts.VelocityDirectLayout.doBuild(Velocity
DirectLayout.java:106) at
org.apache.turbine.modules.Layout.build(Layout.java:91) at
org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:123) at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:16
9) at org.apache.turbine.modules.Page.build(Page.java:90) at
org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123) at
org.apache.turbine.Turbine.doGet(Turbine.java:510) at
org.apache.turbine.Turbine.doPost(Turbine.java:616) 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:57
4) 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.jav
a:917) at
org.apache.tomcat.core.ContextMana

# [Q] i18n issue please help !!

2002-07-22 Thread Richard Grossman

Hi,

I am in the same situation all pages are encoded UTF-8 now and jetspeed 
don't understand any non latin charset so please help us at least you 
could tell us if there is something or if it's not yet implemented
It's 2 days that i'm trying to get something

thanks to the community

Richard Grossman



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Please help...can't get Jetspeed to run

2002-06-07 Thread Josh Hone

Hi,
1.)  Use Tomcat 4.0.1 (I never could get 4.0.3 to work fully) and it should 
deploy.
2.)  Make sure the mappings in the WEB-INF/web.xml file match what you are 
naming your application.
3.)  Use the searchable user mailing list from jakarta.apache.org/jetspeed 
(this is found by clicking resources on the left side of the home page) to 
search by keyword for specific areas of the problem.


>From: "Michael F. Collins, III" <[EMAIL PROTECTED]>
>Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Subject: Please help...can't get Jetspeed to run
>Date: Thu, 6 Jun 2002 21:11:21 -0700
>
>Hi. I am new to Jetspeed and am trying to get it to run out of the box.  I
>am attempting to load Jetspeed into JBoss 3.0 with Tomcat 4.0.3 embedded
>inside of it.  I place the Jetspeed.war file into the deployment directory
>and it deploys, but I get the following error.  I cannot get past this
>problem.  Does anyone know what I should do?
>
>Thanks.
>
>2002-06-06 21:07:43,162 INFO  [STDOUT] (!) NOTICE: init
>2002-06-06 21:07:43,162 INFO  [STDOUT] (!) NOTICE: ServiceBroker:
>LoggingService enabled.
>2002-06-06 21:07:43,172 INFO  [STDOUT] (!) NOTICE: Turbine: init() failed:
>org.apache.turbine.services.InitializationException: Can't load file
>null/WEB-INF/conf/TurbineResources.properties
>   at
>org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
>ourceService.java:170)
>   at
>org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
>ourceService.java:124)
>   at
>org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
>java:150)
>   at
>org.apache.turbine.services.BaseServiceBroker.initService(BaseServiceBroker.
>java:141)
>   at
>org.apache.turbine.services.TurbineServices.initPrimaryServices(TurbineServi
>ces.java:180)
>   at org.apache.turbine.Turbine.init(Turbine.java:223)
>   at
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
>6)
>   at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
>   at
>org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
>3266)
>   at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
>   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
>   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
>   at
>org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCa
>talinaServiceSX.java:321)
>   at
>org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatal
>inaServiceSX.java:238)
>   at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
>   at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
>   at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
>   at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
>   at
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
>.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:324)
>   at
>org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
>cher.java:284)
>   at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
>   at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
>   at $Proxy4.deploy(Unknown Source)
>   at
>org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
>r.java:405)
>   at
>org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymen
>tScanner.java:586)
>   at
>org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
>java:465)
>   at
>org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
>stractDeploymentScanner.java:202)
>   at
>org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
>tractDeploymentScanner.java:191)
>
>
>
>--
>To unsubscribe, e-mail:   
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: 
><mailto:[EMAIL PROTECTED]>
>




_
Join the worldÂ’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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




Please help...can't get Jetspeed to run

2002-06-06 Thread Michael F. Collins, III

Hi. I am new to Jetspeed and am trying to get it to run out of the box.  I
am attempting to load Jetspeed into JBoss 3.0 with Tomcat 4.0.3 embedded
inside of it.  I place the Jetspeed.war file into the deployment directory
and it deploys, but I get the following error.  I cannot get past this
problem.  Does anyone know what I should do?

Thanks.

2002-06-06 21:07:43,162 INFO  [STDOUT] (!) NOTICE: init
2002-06-06 21:07:43,162 INFO  [STDOUT] (!) NOTICE: ServiceBroker:
LoggingService enabled.
2002-06-06 21:07:43,172 INFO  [STDOUT] (!) NOTICE: Turbine: init() failed:
org.apache.turbine.services.InitializationException: Can't load file
null/WEB-INF/conf/TurbineResources.properties
at
org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
ourceService.java:170)
at
org.apache.turbine.services.resources.TurbineResourceService.init(TurbineRes
ourceService.java:124)
at
org.apache.turbine.services.BaseInitableBroker.initClass(BaseInitableBroker.
java:150)
at
org.apache.turbine.services.BaseServiceBroker.initService(BaseServiceBroker.
java:141)
at
org.apache.turbine.services.TurbineServices.initPrimaryServices(TurbineServi
ces.java:180)
at org.apache.turbine.Turbine.init(Turbine.java:223)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:91
6)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:808)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3266)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3395)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCa
talinaServiceSX.java:321)
at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatal
inaServiceSX.java:238)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispat
cher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
at $Proxy4.deploy(Unknown Source)
at
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanne
r.java:405)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymen
tScanner.java:586)
at
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.
java:465)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(Ab
stractDeploymentScanner.java:202)
at
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(Abs
tractDeploymentScanner.java:191)



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




strange behaviour of userbrowser - please help me

2002-03-26 Thread Markus Strauß

Sometimes jetspeed is causing me pain - a sign for a good program :)

I am wondering what is this: I tried to extend the Jetspeed User, but
this did not work so far. I tried switching back to the "normal"
settings, thus I changed TR.prop file to the default settings, set back
my database to the old form, and switched back the entries for the
UserUpdateAction files. Nevertheless Jetspeed seems screwed :( 
When I try to edit/remove a user the UserForm screen would appear with
empty textfields, so no user object seems to be here, as well as the
mode (update/delete) cannot be retrieved - the $user and $mode variables
are null...However, the passed url seems correct. 
What might be causing that? 
And (even more important) what to do?

Has anybody out there extended a user by his own? 


Mit freundlichen Grüßen / With best regards

Markus Strauß
Softwareentwickler
Krusche Lagertechnik AG
Schrannenplatz 6
85435 Erding
Tel.: 08122/18796-21
Fax.: 08122/18796-50
[EMAIL PROTECTED]



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




Please help!! $screen_placeholder in layout\default.vm ?

2002-03-19 Thread Irene Huang

Hello,

with 
the form will display at the place of  " $screen_placeholder" (and the
top.vm will not be replaced by the results.)
If this is correct,

when I call a servlet in
\web-inf\templates\vm\navigations\html\top.vm,
is there a way I can display my result  in the place of  "left.vm" (where
all the portlets display)
without directing the results to a whole new page?

Or can I set up a frameset in default.vm and use  etc...to
direct my results to the specified frame? Will frame mess up jetspeed's
default structure?



Irene



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




PLEASE HELP!! Portlets didn't load!

2002-02-27 Thread Irene Huang

I have Jetspeed1.3a2

I moved all the .jar files from /webapps//WEB-INF/lib
into another directory /lib
I restart server and only the portlets didn' t load.

**ERROR in jetspeed.log**
Exception:  org.apache.jetspeed.portal.PortletException: PortletFactory:
Unable to load class com.bluesunrise.portal.portlets.HelloUserPortlet

Q: Does Jetspeed have its own class loader?

Q: where can I modify the classpath so jetspeed will look into the
/lib where I put all the .jar files?


Thank you for the help!!

Irene


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




Re: PLEASE HELP: Question about jetspeed/index.jsp

2002-02-13 Thread Paul Spencer

Irene,
 instruct the JSP engine, tomcat for 
example, to forward the request to portal.  In the case of jetspeed, 
this would be /jetspeed/portal

Please verify your JSP engine is working.

Paul Spencer



Irene Huang wrote:

> Can someone please explain how this line work in \index.jsp?
> 
> 
> 
> This should forward user to the default homepage of jetspeed, but it only
> showed the souce code in my browser.
> Is there anotherway I can access the default page or how should I check my
> configuration?
> 
> 
> 
> Thank you for the help!
> 
> Irene
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 



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




PLEASE HELP: Question about jetspeed/index.jsp

2002-02-13 Thread Irene Huang

Can someone please explain how this line work in \index.jsp?



This should forward user to the default homepage of jetspeed, but it only
showed the souce code in my browser.
Is there anotherway I can access the default page or how should I check my
configuration?



Thank you for the help!

Irene


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




Re: Who generated a portal page? Please, help!

2002-01-30 Thread Santiago Gala

Santiago Gala wrote:

> Sergei O. Naumov wrote:
>
>> On Wed, 23 Jan 2002 19:07:23 +0100
>> Santiago Gala <[EMAIL PROTECTED]> wrote:
>>
>>
 This is precisely what I want but... I edited 
 vm/layouts/html/default.vm
 and it affected only the page that gets displayed BEFORE a user 
 logs in.
 After a user logs in it still shows a page without my changes. So, 
 I wondered
 if this gets generated from an another template which I could not 
 find.

>>> Which version are you running? With current CVS (or a recent build) it
>>
>>
>> 1.3a2.
>>
>>> looks impossible. So maybe we have a new bug. Also, check if you 
>>> restarted. It could be some funny caching issue with the session.
>>>
>>
>> The funny thing is that it started working. Probably it really was a 
>> caching
>> problem. The whole reason I need it is to add a  tag to force a 
>> browser
>> Mozilla or IE to switch encoding to UTF-8. For some reason, adding it 
>> to does
>> not make it switch - I always have to do it manually. Is there any 
>> other way
>> I can do it?
>>
> I noticed that it got broken some time between 1.3a1 and 1.3a2. It 
> used to be set according to a JR.p parameter, with UTF-8 as default. 
> This is no longer true. I will try to restore the functionality. Las 
> time I looked at it, I thought that we should add an element to the 
> media registry to hold the content encoding for a media type. WAP, for 
> instance, will typically be UTF-8, as it is XML. For HTML I would 
> recommend UTF-8 when there is a possibility of having content in 
> several langauges at the same time in the portal. But there is people 
> who insist in having it in iso-8859-1.
>
> This would simplify the coding, since Content-Encoding should be set 
> around the beginning of doBuild() in JetspeedLayout.java, 
> JetspeedJspLayout.java and (maybe) JetspeedTemplateLocatorService.java,
> making the call as
>
> ...
>data.setContentType( cm.getPreferredType().toString() );
>data.setCharSet("XXX");

Commenting on myself ;), I found that it was set in the Layout and the 
TemplateLocator, about six times per page, when it should be put in the 
Page just once. I don't have it clean yet, but I'm getting closer.


>
> Could you try to test if it works this way and report here? A patch if 
> you don't find problems would be great ;). Initially you could just 
> use a constant for testing. If everything works we can make it 
> pluggable through the media registry and CapabilityMap classes.
>
> It could give problems, though I think it should work. There are 
> tricky issues depending on when the Writer on the Response get asked 
> from the servlet engine and on how we initialize Velocity or jsp 
> templates.
>
>
>>
>> Sergei
>>
>>
>> -- 
>> To unsubscribe, e-mail:   
>> 
>> For additional commands, e-mail: 
>> 
>>
>
>
>
>
> -- 
> To unsubscribe, e-mail:   
> 
> For additional commands, e-mail: 
> 





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




Re: Who generated a portal page? Please, help!

2002-01-30 Thread Paul Spencer

Sergei,

Sergei O. Naumov wrote:
 > On Fri, 25 Jan 2002 12:43:31 -0500 Paul Spencer <[EMAIL PROTECTED]>
 > wrote:
 >
 >
 >> Sergei,
 >>
 >> See the JR.p parameter http.lifetime on controlling the cache.  I
 >> have  found the some proxy server do not use META tags, thus we
 >> set the cache  control in the header.  Bellow is from JR.p
 >>
 >
 > Hmm. I wonder how http.lifetime != 0 forces a browser to switch
 > encodings?

I do not know :(

 > I just set it to 60 seconds and it still asks me to reload the page.
 >  :-((

Their are cache settings on the browser.  These settings may be causing
a reload on refresh when the page is < 60 seconds old.

 > On the other hand I have this in the HTML code:  http-equiv="Content-Type" content="text/html; charset=UTF-8" />

The setting in the HTML header should take precedence over META tags.

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

Paul Spencer


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




Re: Who generated a portal page? Please, help!

2002-01-30 Thread Sergei O. Naumov

On Fri, 25 Jan 2002 12:43:31 -0500
Paul Spencer <[EMAIL PROTECTED]> wrote:

> Sergei,
> 
> See the JR.p parameter http.lifetime on controlling the cache.  I have 
> found the some proxy server do not use META tags, thus we set the cache 
> control in the header.  Bellow is from JR.p

Hmm. I wonder how http.lifetime != 0 forces a browser to switch encodings?
I just set it to 60 seconds and it still asks me to reload the page. :-((
On the other hand I have this in the HTML code:


Sergei



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




Re: Who generated a portal page? Please, help!

2002-01-27 Thread Santiago Gala

Sergei O. Naumov wrote:

>On Wed, 23 Jan 2002 19:07:23 +0100
>Santiago Gala <[EMAIL PROTECTED]> wrote:
>
>
>>>This is precisely what I want but... I edited vm/layouts/html/default.vm
>>>and it affected only the page that gets displayed BEFORE a user logs in.
>>>After a user logs in it still shows a page without my changes. So, I wondered
>>>if this gets generated from an another template which I could not find.
>>>
>>Which version are you running? With current CVS (or a recent build) it 
>>
>
>1.3a2.
>
>>looks impossible. So maybe we have a new bug. Also, check if you 
>>restarted. It could be some funny caching issue with the session.
>>
>
>The funny thing is that it started working. Probably it really was a caching
>problem. The whole reason I need it is to add a  tag to force a browser
>Mozilla or IE to switch encoding to UTF-8. For some reason, adding it to does
>not make it switch - I always have to do it manually. Is there any other way
>I can do it?
>
I noticed that it got broken some time between 1.3a1 and 1.3a2. It used 
to be set according to a JR.p parameter, with UTF-8 as default. This is 
no longer true. I will try to restore the functionality. Las time I 
looked at it, I thought that we should add an element to the media 
registry to hold the content encoding for a media type. WAP, for 
instance, will typically be UTF-8, as it is XML. For HTML I would 
recommend UTF-8 when there is a possibility of having content in several 
langauges at the same time in the portal. But there is people who insist 
in having it in iso-8859-1.

This would simplify the coding, since Content-Encoding should be set 
around the beginning of doBuild() in JetspeedLayout.java, 
JetspeedJspLayout.java and (maybe) JetspeedTemplateLocatorService.java,
 making the call as

...
data.setContentType( cm.getPreferredType().toString() );
data.setCharSet("XXX");

Could you try to test if it works this way and report here? A patch if 
you don't find problems would be great ;). Initially you could just use 
a constant for testing. If everything works we can make it pluggable 
through the media registry and CapabilityMap classes.

It could give problems, though I think it should work. There are tricky 
issues depending on when the Writer on the Response get asked from the 
servlet engine and on how we initialize Velocity or jsp templates.


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




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




RE: Who generated a portal page? Please, help!

2002-01-25 Thread Sakach, Tim

The header Cache-Control = "no-cache" disables caching of all objects in the
page, including images. Although it disables proxy server caching, it
significantly degrades performs as it causes images to be retrieved for
every page request.

The header Cache-Control = "private" works better because it disables proxy
caching, but enables the browser to handle caching of images. When the
Expires = 0 header is used with the private cache-control header, only the
page is retrieved from the server, and the images are cached locally.

References:

http://www.ietf.org/rfc/rfc2616.txt , section 14.9

 private
  Indicates that all or part of the response message is intended for
  a single user and MUST NOT be cached by a shared cache. This
  allows an origin server to state that the specified parts of the
  response are intended for only one user and are not a valid
  response for requests by other users. A private (non-shared) cache
  MAY cache the response.


-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 25, 2002 9:44 AM
To: Jetspeed Users List
Subject: Re: Who generated a portal page? Please, help!


Sergei,

See the JR.p parameter http.lifetime on controlling the cache.  I have 
found the some proxy server do not use META tags, thus we set the cache 
control in the header.  Bellow is from JR.p

#
# HTTP Page header  #
#
# http.lifetime is the lifetime of the page as set in the
# HTTP Headers
#  -1 = Do not set cache related headers (Jetspeed 1.3a1 behavior)
#   0 = set the following http headers
#   Cache-Control = "no-cache"
#   Last-Modified = (current time)
#   Pragma= "no-cache"
#   Expires   = "0"
#   n where n is the number of seconds:
#   Cache-Control = "max-age: n" where n is the number of seconds
#   Last-Modified = (current time)
#   Expires   = (current time + n seconds)
http.lifetime=0

Paul Spencer

Sergei O. Naumov wrote:

> On Wed, 23 Jan 2002 19:07:23 +0100
> Santiago Gala <[EMAIL PROTECTED]> wrote:
> 
> 
> 
>>>This is precisely what I want but... I edited vm/layouts/html/default.vm
>>>and it affected only the page that gets displayed BEFORE a user logs in.
>>>After a user logs in it still shows a page without my changes. So, I
wondered
>>>if this gets generated from an another template which I could not find.
>>>
>>>
>>Which version are you running? With current CVS (or a recent build) it 
>>
> 
> 1.3a2.
> 
> 
>>looks impossible. So maybe we have a new bug. Also, check if you 
>>restarted. It could be some funny caching issue with the session.
>>
> 
> The funny thing is that it started working. Probably it really was a
caching
> problem. The whole reason I need it is to add a  tag to force a
browser
> Mozilla or IE to switch encoding to UTF-8. For some reason, adding it to
does
> not make it switch - I always have to do it manually. Is there any other
way
> I can do it?
> 
> Sergei
> 
> 
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> 
> 



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



RE: Who generated a portal page? Please, help!

2002-01-25 Thread Emmanuel Bardet

Paul,

Does that mean that it should appear in my html page ? If so, it doesn't on
mine for some reason, here's what I get:
  
http://test-cpt:8080/"; />

  

which corresponds to what I have in default.vm ie:
  


  

I was about to put the meta tags manually but you seem to point out a
prettiest solution I don't get. I must be missing something.

Emmanuel.

> -Original Message-
> From: Paul Spencer [mailto:[EMAIL PROTECTED]]
> Sent: vendredi 25 janvier 2002 17:44
> To: Jetspeed Users List
> Subject: Re: Who generated a portal page? Please, help!
>
>
> Sergei,
>
> See the JR.p parameter http.lifetime on controlling the cache.  I have
> found the some proxy server do not use META tags, thus we set the cache
> control in the header.  Bellow is from JR.p
>
> #
> # HTTP Page header  #
> #
> # http.lifetime is the lifetime of the page as set in the
> # HTTP Headers
> #  -1 = Do not set cache related headers (Jetspeed 1.3a1 behavior)
> #   0 = set the following http headers
> #   Cache-Control = "no-cache"
> #   Last-Modified = (current time)
> #   Pragma= "no-cache"
> #   Expires   = "0"
> #   n where n is the number of seconds:
> #   Cache-Control = "max-age: n" where n is the number of seconds
> #   Last-Modified = (current time)
> #   Expires   = (current time + n seconds)
> http.lifetime=0
>
> Paul Spencer
>
> Sergei O. Naumov wrote:
>
> > On Wed, 23 Jan 2002 19:07:23 +0100
> > Santiago Gala <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >>>This is precisely what I want but... I edited
> vm/layouts/html/default.vm
> >>>and it affected only the page that gets displayed BEFORE a
> user logs in.
> >>>After a user logs in it still shows a page without my changes.
> So, I wondered
> >>>if this gets generated from an another template which I could not find.
> >>>
> >>>
> >>Which version are you running? With current CVS (or a recent build) it
> >>
> >
> > 1.3a2.
> >
> >
> >>looks impossible. So maybe we have a new bug. Also, check if you
> >>restarted. It could be some funny caching issue with the session.
> >>
> >
> > The funny thing is that it started working. Probably it really
> was a caching
> > problem. The whole reason I need it is to add a  tag to
> force a browser
> > Mozilla or IE to switch encoding to UTF-8. For some reason,
> adding it to does
> > not make it switch - I always have to do it manually. Is there
> any other way
> > I can do it?
> >
> > Sergei
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>



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


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




Re: Who generated a portal page? Please, help!

2002-01-25 Thread Paul Spencer

Sergei,

See the JR.p parameter http.lifetime on controlling the cache.  I have 
found the some proxy server do not use META tags, thus we set the cache 
control in the header.  Bellow is from JR.p

#
# HTTP Page header  #
#
# http.lifetime is the lifetime of the page as set in the
# HTTP Headers
#  -1 = Do not set cache related headers (Jetspeed 1.3a1 behavior)
#   0 = set the following http headers
#   Cache-Control = "no-cache"
#   Last-Modified = (current time)
#   Pragma= "no-cache"
#   Expires   = "0"
#   n where n is the number of seconds:
#   Cache-Control = "max-age: n" where n is the number of seconds
#   Last-Modified = (current time)
#   Expires   = (current time + n seconds)
http.lifetime=0

Paul Spencer

Sergei O. Naumov wrote:

> On Wed, 23 Jan 2002 19:07:23 +0100
> Santiago Gala <[EMAIL PROTECTED]> wrote:
> 
> 
> 
>>>This is precisely what I want but... I edited vm/layouts/html/default.vm
>>>and it affected only the page that gets displayed BEFORE a user logs in.
>>>After a user logs in it still shows a page without my changes. So, I wondered
>>>if this gets generated from an another template which I could not find.
>>>
>>>
>>Which version are you running? With current CVS (or a recent build) it 
>>
> 
> 1.3a2.
> 
> 
>>looks impossible. So maybe we have a new bug. Also, check if you 
>>restarted. It could be some funny caching issue with the session.
>>
> 
> The funny thing is that it started working. Probably it really was a caching
> problem. The whole reason I need it is to add a  tag to force a browser
> Mozilla or IE to switch encoding to UTF-8. For some reason, adding it to does
> not make it switch - I always have to do it manually. Is there any other way
> I can do it?
> 
> Sergei
> 
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 



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




Re: Who generated a portal page? Please, help!

2002-01-25 Thread Sergei O. Naumov

On Wed, 23 Jan 2002 19:07:23 +0100
Santiago Gala <[EMAIL PROTECTED]> wrote:


> >This is precisely what I want but... I edited vm/layouts/html/default.vm
> >and it affected only the page that gets displayed BEFORE a user logs in.
> >After a user logs in it still shows a page without my changes. So, I wondered
> >if this gets generated from an another template which I could not find.
> >
> Which version are you running? With current CVS (or a recent build) it 

1.3a2.

> looks impossible. So maybe we have a new bug. Also, check if you 
> restarted. It could be some funny caching issue with the session.

The funny thing is that it started working. Probably it really was a caching
problem. The whole reason I need it is to add a  tag to force a browser
Mozilla or IE to switch encoding to UTF-8. For some reason, adding it to does
not make it switch - I always have to do it manually. Is there any other way
I can do it?

Sergei


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




Re: RSS and dynamic images - please help!

2002-01-23 Thread Santiago Gala

Sergei O. Naumov wrote:

>Hi!
>I am trying to set up an rss channel which has an  discription
>like this:
>
>
>  My title
>  
>http://10.10.5.5:8080/cocoon/subsout?hdate1=17-08-2001&hdate2=21-01-2002
>  http://10.10.5.5:8080/cocoon/subs
>
>
Are you sure you are using the  format or the 
 format consistently?

The file format is different for other versions. As an example, try to 
follow xmlhack sample in cache.

Also, look at the generated html source in case we have hit again the 
bad generation of ampersand (as &) bug in the transformation.

(BTW, another good candidate for regression testing ;)

>
>What I found is that the image does not get displayed in the portlet window. It
>only shows the title string. Does it mean I can only display static images?
>
>Thanks much in advance,
>   Sergei
>
>--
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 
>




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




RSS and dynamic images - please help!

2002-01-21 Thread Sergei O. Naumov


Hi!
I am trying to set up an rss channel which has an  discription
like this:


  My title
  
http://10.10.5.5:8080/cocoon/subsout?hdate1=17-08-2001&hdate2=21-01-2002
  http://10.10.5.5:8080/cocoon/subs


What I found is that the image does not get displayed in the portlet window. It
only shows the title string. Does it mean I can only display static images?

Thanks much in advance,
Sergei

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




Re: Cachable URLs with RSS - please help!

2002-01-10 Thread Paul Spencer

Sergei,

Try using the following URL in your .  All I did was 
remove spaces and CRLFs.

http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss

By the way, thank for sending the log file. It helped :)

Paul Spencer


Sergei O. Naumov wrote:

> Hi!
> I am adding a portlet whose parent is RSS. This RSS file contains an image and a few 
>lines.
> As far as I can understand, the configuration of this portlet is correct:
> 
>  parent="RSS" application="false">
> 
> Prepaid Network Load: RND
> Network load on Fast Ethernet port 0/6 in 
>Rostov
> 
> 
> 
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
> 
> 
> 


Looks good

> However, when I restart Jetspeed with this configuration I see this in logs:
> 
> [Wed Jan 09 20:45:36 MSK 2002] -- WARN -- Cache getEntry Called with 
> 
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
> [Wed Jan 09 20:45:36 MSK 2002] -- INFO -- DiskCache: this URL can't be stored in 
>cache... providing it directly.
> 
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  

> [Wed Jan 09 20:45:36 MSK 2002] -- INFO -- URLFetcher: Cache miss during validation! 
>Forcing url: 
> 
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
> [Wed Jan 09 20:45:36 MSK 2002] -- WARN -- Cache getEntry Called with 
> 
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
> [Wed Jan 09 20:45:36 MSK 2002] -- INFO -- DiskCache: this URL can't be stored in 
>cache... providing it directly.
> 
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
> [Wed Jan 09 20:45:36 MSK 2002] -- ERROR -- RSSPortlet:  Couldn't parse out XML 
>document -> 
> 
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
> 
> Can anyone, please, explain what I am doing wrong here? I can fetch this url with 
>wget with no problem.
> 
> Thanks much,
>   Sergei
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 
> 
> 



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




Re: Cachable URLs with RSS - please help!

2002-01-10 Thread Santiago Gala

Sergei O. Naumov wrote:

>Hi!
>I am adding a portlet whose parent is RSS. This RSS file contains an image and a few 
>lines.
>As far as I can understand, the configuration of this portlet is correct:
>
>parent="RSS" application="false">
>
>Prepaid Network Load: RND
>Network load on Fast Ethernet port 0/6 in 
>Rostov
>
>
>
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
>
>
>
>However, when I restart Jetspeed with this configuration I see this in logs:
>
>[Wed Jan 09 20:45:36 MSK 2002] -- WARN -- Cache getEntry Called with 
>
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
>[Wed Jan 09 20:45:36 MSK 2002] -- INFO -- DiskCache: this URL can't be stored in 
>cache... providing it directly.
>
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
>[Wed Jan 09 20:45:36 MSK 2002] -- INFO -- URLFetcher: Cache miss during validation! 
>Forcing url: 
>
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
>[Wed Jan 09 20:45:36 MSK 2002] -- WARN -- Cache getEntry Called with 
>
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
>[Wed Jan 09 20:45:36 MSK 2002] -- INFO -- DiskCache: this URL can't be stored in 
>cache... providing it directly.
>
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
>[Wed Jan 09 20:45:36 MSK 2002] -- ERROR -- RSSPortlet:  Couldn't parse out XML 
>document -> 
>
>http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
>
>Can anyone, please, explain what I am doing wrong here? I can fetch this url with 
>wget with no problem.
>

Funny. The only thing I can think about is lack of permission in the 
WEB-INF/cache directory or path too long (specially if you are under 
older Windowes). Which is your environment? (OS, java version, jetspeed 
version, etc.)




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




Cachable URLs with RSS - please help!

2002-01-10 Thread Sergei O. Naumov

Hi!
I am adding a portlet whose parent is RSS. This RSS file contains an image and a few 
lines.
As far as I can understand, the configuration of this portlet is correct:



Prepaid Network Load: RND
Network load on Fast Ethernet port 0/6 in Rostov



http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  



However, when I restart Jetspeed with this configuration I see this in logs:

[Wed Jan 09 20:45:36 MSK 2002] -- WARN -- Cache getEntry Called with 

http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
[Wed Jan 09 20:45:36 MSK 2002] -- INFO -- DiskCache: this URL can't be stored in 
cache... providing it directly.

http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
[Wed Jan 09 20:45:36 MSK 2002] -- INFO -- URLFetcher: Cache miss during validation! 
Forcing url: 

http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
[Wed Jan 09 20:45:36 MSK 2002] -- WARN -- Cache getEntry Called with 

http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
[Wed Jan 09 20:45:36 MSK 2002] -- INFO -- DiskCache: this URL can't be stored in 
cache... providing it directly.

http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  
[Wed Jan 09 20:45:36 MSK 2002] -- ERROR -- RSSPortlet:  Couldn't parse out XML 
document -> 

http://filesrvr2.mobicomk.donpac.ru/mrtg/switchr1/switchr1_fastethernet0_6.rss  

Can anyone, please, explain what I am doing wrong here? I can fetch this url with wget 
with no problem.

Thanks much,
Sergei

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




please help !

2001-10-11 Thread chaloo banda

hi friends !
   please help me solve the following problem .

   i am writing an application where i have an RSS portlet containing a link 
to a form redered by cocoon.now the link itself gets generated dynamically 
using rundata to append the current userid as the query string in the link. 
this link then will present the form with the relevant user details filled 
already.

  the problem is that all work fine when i access the form first time. but 
any subsequent clicking on the link shows that the link is not getting 
refreshed when I log out and log in as a different user. even starting  a 
new browser window has no effect.only when i restart tomcat and log in as a 
different user does the link refreshes.

  i doubt that the problem may be due to cache. so i change the following in 
my  TurbineResources.Properties.

module.cache=false

and in JR.P.

refresh.portlet.default = 1
contentfeeds.fetchall=false

but the problem stays !
any ideas ???

i am using
jetspeed 1.3a1
tomcat 3.2.2
win NT 4.0
apache 1.3.11

awaiting response,
thanx,
CB




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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




RE: please help me with mysql !!!

2001-09-13 Thread David Sean Taylor

im not sure what the problem is
it seems to be working fine from the log

go to http://www.bluesunrise.com/jetspeed and see if it works the same as on
your system


> -Original Message-
> From: chaloo banda [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 13, 2001 12:21 AM
> To: [EMAIL PROTECTED]
> Subject: RE: please help me with mysql !!!
>
>
>
> good morning !
>today i started mysql as a service(having acquired admin
> privileges for
> my comp.! ) ,did " NET START mysql " , changed the database
> user name to
> root and password "" 
>
> ...and now i am able access whatever entries i had put
> manually in the
> database...i am even able to edit the user details ( a
> confirmation mail and
> the confirmation key page also comes...)...
>
> but still when i try to create new userit takes me to the home
> page...and in my jetspeed.log , following appears...
>
> [Thu Sep 13 12:26:41 GMT+05:30 2001] -- INFO -- PSML-Man: calculated
> resource:anon\html\en\US\default.psml. Base:
> E:\tom1\webapps\jetspeed\WEB-INF\psml
> [Thu Sep 13 12:26:41 GMT+05:30 2001] -- INFO --
> CastorPsmlManager: about to
> return null doc:
> [Thu Sep 13 12:26:41 GMT+05:30 2001] -- INFO -- PSML-Man: calculated
> resource:anon\html\en\default.psml. Base:
> E:\tom1\webapps\jetspeed\WEB-INF\psml
> [Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG --
> JetspeedTemplatePage:
> requested template = NewAccount.vm
> [Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG -- template exists:
> E:\tom1\webapps\jetspeed\WEB-INF\templates\vm\screens\html\New
> Account.vm
> returning /html/NewAccount.vm
> [Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG --
> JetspeedTemplatePage:
> calculated template = /html/NewAccount.vm
> [Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG -- template exists:
> E:\tom1\webapps\jetspeed\WEB-INF\templates\vm\layouts\html\default.vm
> returning /html/default.vm
> [Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG --
> JetspeedTemplatePage:
> layoutTemplate is finally /html/default.vm
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- INFO -- PSML-Man: calculated
> resource:anon\html\en\US\default.psml. Base:
> E:\tom1\webapps\jetspeed\WEB-INF\psml
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- INFO --
> CastorPsmlManager: about to
> return null doc:
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- INFO -- PSML-Man: calculated
> resource:anon\html\en\default.psml. Base:
> E:\tom1\webapps\jetspeed\WEB-INF\psml
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- SELECT
> TURBINE_USER.USER_ID, TURBINE_USER.LOGIN_NAME,
> TURBINE_USER.PASSWORD_VALUE,
> TURBINE_USER.FIRST_NAME, TURBINE_USER.LAST_NAME, TURBINE_USER.EMAIL,
> TURBINE_USER.CONFIRM_VALUE, TURBINE_USER.MODIFIED,
> TURBINE_USER.CREATED,
> TURBINE_USER.LASTLOGIN, TURBINE_USER.OBJECTDATA FROM
> TURBINE_USER WHERE
> (TURBINE_USER.LOGIN_NAME='pavan')
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- SELECT
> TURBINE_USER.USER_ID, TURBINE_USER.LOGIN_NAME,
> TURBINE_USER.PASSWORD_VALUE,
> TURBINE_USER.FIRST_NAME, TURBINE_USER.LAST_NAME, TURBINE_USER.EMAIL,
> TURBINE_USER.CONFIRM_VALUE, TURBINE_USER.MODIFIED,
> TURBINE_USER.CREATED,
> TURBINE_USER.LASTLOGIN, TURBINE_USER.OBJECTDATA FROM
> TURBINE_USER WHERE
> (TURBINE_USER.LOGIN_NAME='pavan')
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- INFO -- Forced id
> retrieval - no
> available vector
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG --
> JetspeedTemplatePage:
> requested template = Error.vm
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- template exists:
> E:\tom1\webapps\jetspeed\WEB-INF\templates\vm\screens\html\Error.vm
> returning /html/Error.vm
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG --
> JetspeedTemplatePage:
> calculated template = /html/Error.vm
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- template exists:
> E:\tom1\webapps\jetspeed\WEB-INF\templates\vm\layouts\html\default.vm
> returning /html/default.vm
> [Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG --
> JetspeedTemplatePage:
> layoutTemplate is finally /html/default.vm
> [Thu Sep 13 12:27:11 GMT+05:30 2001] -- INFO -- DaemonThread
> -> PROCESSING
> daemon -> feeddaemon
> [Thu Sep 13 12:27:11 GMT+05:30 2001] -- INFO -- Jetspeed:
> FeedDaemon  --
> BEGIN --
> [Thu Sep 13 12:27:11 GMT+05:30 2001] -- INFO -- Jetspeed:
> FeedDaemon  --
> END  --
> [Thu Sep 13 12:27:11 GMT+05:30 2001] -- INFO -- DaemonThread
> -> *DONE*
> PROCESSING daemon -> feeddaemon
> [Thu Sep 13 12:27:12 GMT+05:30 2001] -- INFO -- DaemonThread
> -> PROCESSING
> daemon -> diskcachedaemon
> [Thu Sep 13 12:27:12 GMT+05:30 2001] -- INFO -- parsing out
> document store
> [Thu Sep 13 12:27:12 GMT+05:30 2001] -- INFO

RE: please help me with mysql !!!

2001-09-12 Thread chaloo banda


good morning !
   today i started mysql as a service(having acquired admin privileges for 
my comp.! ) ,did " NET START mysql " , changed the database user name to 
root and password "" 

...and now i am able access whatever entries i had put manually in the 
database...i am even able to edit the user details ( a confirmation mail and 
the confirmation key page also comes...)...

but still when i try to create new userit takes me to the home 
page...and in my jetspeed.log , following appears...

[Thu Sep 13 12:26:41 GMT+05:30 2001] -- INFO -- PSML-Man: calculated 
resource:anon\html\en\US\default.psml. Base: 
E:\tom1\webapps\jetspeed\WEB-INF\psml
[Thu Sep 13 12:26:41 GMT+05:30 2001] -- INFO -- CastorPsmlManager: about to 
return null doc:
[Thu Sep 13 12:26:41 GMT+05:30 2001] -- INFO -- PSML-Man: calculated 
resource:anon\html\en\default.psml. Base: 
E:\tom1\webapps\jetspeed\WEB-INF\psml
[Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG -- JetspeedTemplatePage: 
requested template = NewAccount.vm
[Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG -- template exists: 
E:\tom1\webapps\jetspeed\WEB-INF\templates\vm\screens\html\NewAccount.vm 
returning /html/NewAccount.vm
[Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG -- JetspeedTemplatePage: 
calculated template = /html/NewAccount.vm
[Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG -- template exists: 
E:\tom1\webapps\jetspeed\WEB-INF\templates\vm\layouts\html\default.vm 
returning /html/default.vm
[Thu Sep 13 12:26:41 GMT+05:30 2001] -- DEBUG -- JetspeedTemplatePage: 
layoutTemplate is finally /html/default.vm
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- INFO -- PSML-Man: calculated 
resource:anon\html\en\US\default.psml. Base: 
E:\tom1\webapps\jetspeed\WEB-INF\psml
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- INFO -- CastorPsmlManager: about to 
return null doc:
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- INFO -- PSML-Man: calculated 
resource:anon\html\en\default.psml. Base: 
E:\tom1\webapps\jetspeed\WEB-INF\psml
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- SELECT 
TURBINE_USER.USER_ID, TURBINE_USER.LOGIN_NAME, TURBINE_USER.PASSWORD_VALUE, 
TURBINE_USER.FIRST_NAME, TURBINE_USER.LAST_NAME, TURBINE_USER.EMAIL, 
TURBINE_USER.CONFIRM_VALUE, TURBINE_USER.MODIFIED, TURBINE_USER.CREATED, 
TURBINE_USER.LASTLOGIN, TURBINE_USER.OBJECTDATA FROM TURBINE_USER WHERE 
(TURBINE_USER.LOGIN_NAME='pavan')
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- SELECT 
TURBINE_USER.USER_ID, TURBINE_USER.LOGIN_NAME, TURBINE_USER.PASSWORD_VALUE, 
TURBINE_USER.FIRST_NAME, TURBINE_USER.LAST_NAME, TURBINE_USER.EMAIL, 
TURBINE_USER.CONFIRM_VALUE, TURBINE_USER.MODIFIED, TURBINE_USER.CREATED, 
TURBINE_USER.LASTLOGIN, TURBINE_USER.OBJECTDATA FROM TURBINE_USER WHERE 
(TURBINE_USER.LOGIN_NAME='pavan')
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- INFO -- Forced id retrieval - no 
available vector
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- JetspeedTemplatePage: 
requested template = Error.vm
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- template exists: 
E:\tom1\webapps\jetspeed\WEB-INF\templates\vm\screens\html\Error.vm 
returning /html/Error.vm
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- JetspeedTemplatePage: 
calculated template = /html/Error.vm
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- template exists: 
E:\tom1\webapps\jetspeed\WEB-INF\templates\vm\layouts\html\default.vm 
returning /html/default.vm
[Thu Sep 13 12:27:08 GMT+05:30 2001] -- DEBUG -- JetspeedTemplatePage: 
layoutTemplate is finally /html/default.vm
[Thu Sep 13 12:27:11 GMT+05:30 2001] -- INFO -- DaemonThread -> PROCESSING 
daemon -> feeddaemon
[Thu Sep 13 12:27:11 GMT+05:30 2001] -- INFO -- Jetspeed:  FeedDaemon  -- 
BEGIN --
[Thu Sep 13 12:27:11 GMT+05:30 2001] -- INFO -- Jetspeed:  FeedDaemon  --  
END  --
[Thu Sep 13 12:27:11 GMT+05:30 2001] -- INFO -- DaemonThread -> *DONE* 
PROCESSING daemon -> feeddaemon
[Thu Sep 13 12:27:12 GMT+05:30 2001] -- INFO -- DaemonThread -> PROCESSING 
daemon -> diskcachedaemon
[Thu Sep 13 12:27:12 GMT+05:30 2001] -- INFO -- parsing out document store
[Thu Sep 13 12:27:12 GMT+05:30 2001] -- INFO -- Calling JetspeedDiskCache 
getEntries
[Thu Sep 13 12:27:12 GMT+05:30 2001] -- INFO -- DaemonThread -> *DONE* 
PROCESSING daemon -> diskcachedaemon

any idea , where else do i have to modify ???

thanking you for all your support.
CB


>From: Rajeswari Venkatachalam <[EMAIL PROTECTED]>
>To: 'chaloo banda ' <[EMAIL PROTECTED]>
>Subject: RE: please help me with mysql !!!
>Date: Wed, 12 Sep 2001 09:01:19 -0700
>
>
>how do you start mysql? I start it like this:
> > net start mysql
>
>-Raje
>
>-Original Message-
>From: chaloo banda
>To: [EMAIL PROTECTED]
>Sent: 9/12/01 8:45 AM
>Subject: RE: please help me with mysql !!!
>
>hi !
>   i did as you said but with the same output. i am indeed not able to
>telnet.in my task manager i have one mysqld-nt.e

portlet API 2 : Please help !!!

2001-09-07 Thread Christophe MESTRALLET

Helllo,

I have downloaded portlet API2 from cvs.
It works fine 
But I have a simple question : How can I deploy my own portlet
I know how to deply a portlet with API 1 but I have no idea with API 2

Could you please help me ?

Thanks...


> Christophe Mestrallet
> Chef de projet
> Axemble
> for Corporate Departments
> [EMAIL PROTECTED]
> www.axemble.com
> Tel : 04 78 87 29 29
> Fax : 04 78 87 29 00
> 
> 
> 

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




RE: JSP Portlet question. Please Help!!

2001-08-23 Thread Rajeswari Venkatachalam

  
I managed to do it this way:
Invoke the action explicitly from JSP page.

ActionLoader.getInstance().exec(rundata, "MyActionClass");  

This solves my issue.It is not very neat but it is OK.
Is there any other solution to this?
-Raje

-Original Message-
From: Rajeswari Venkatachalam
To: '[EMAIL PROTECTED]'
Sent: 8/23/01 8:01 AM
Subject: JSP Portlet question. Please Help!!

So far I have been using JSP and actions as defined in turbine
documentation. So these were shown as screens instead of a portlet. Now
I
want to display the JSP content inside a portlet. I defined something
like
this:



TEST
TEST portlet


 


But I want to invoke an action that creates the data to be displayed by
this
JSP. I used to do it like this:.../template/myjspName/action/myAction.
This
worked very well. I dont know how to do this with JSP portlet.
Displaying a
simple hello.jsp as a portlet works fine. Please help me. 

thanks,
-Raje

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

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




JSP Portlet question. Please Help!!

2001-08-23 Thread Rajeswari Venkatachalam

So far I have been using JSP and actions as defined in turbine
documentation. So these were shown as screens instead of a portlet. Now I
want to display the JSP content inside a portlet. I defined something like
this:



TEST
TEST portlet


 


But I want to invoke an action that creates the data to be displayed by this
JSP. I used to do it like this:.../template/myjspName/action/myAction. This
worked very well. I dont know how to do this with JSP portlet. Displaying a
simple hello.jsp as a portlet works fine. Please help me. 

thanks,
-Raje

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




RE: Newbie Question - PLEASE HELP!!

2001-08-13 Thread David Sean Taylor

I believe we had JSP actions in 1.3a1:

For ex. your form could look like:

 
...
/form>

I think the .jsp extension is optional

-
David Sean Taylor
[EMAIL PROTECTED]
-
http://jakarta.apache.org/jetspeed
-
 

 

> -Original Message-
> From: Scott W [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, August 12, 2001 9:47 AM
> To: [EMAIL PROTECTED]
> Subject: Newbie Question - PLEASE HELP!!
> 
> 
> 
> I'm using a JspPortlet with version 1.3a1.  I have
> created a simple form that collects information, when
> a button is pressed I want to display a different
> page.  I have tried: 1) the Action Event HOWTO on the
> Turbine webpage 2) setting the ACTION in the FORM tag
> to another *.jsp file ( of course with this approach
> the header, footer, and left nav disapper), 3) setting
> the ACTION in the FORM tag to a psml file, 4) setting
> the RunData.setAction("some.jsp") and
> RunData.setScreen("some.jsp") in the jsp file,  and
> NONE of these have worked for me!!  Does Turbine catch
> all requests?  My question is what should I set the
> ACTION to in the FORM tag since I am using
> JspPortlet???
> 
> 
> 
> I have spent alot of hours on this issue,  I am sure
> someone has done this before!  I MUST use JSP,  not
> Velocity, which is mandated by the client.  So,  can
> someone please help me!!!
> 
> Thanks in advance,
> 
> 
> Scott
> 
> __
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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