Too many java processes being started - how can I reduce

2005-02-15 Thread Tom Kennelly
Whenever I start Jetspeed 1.5 under Tomcat 5.5.7 on Fedora Core 3 I see 
a large number of java processes started.  I thought that by adding the 
following to my.properties in the conf folder I could reduce the number 
of java processes.

#
# ThreadPool Service#
#
services.ThreadPool.classname=org.apache.jetspeed.services.threadpool.JetspeedThreadPoolService 

#Specify the initial number of threads to create
#Default: 50
services.ThreadPool.init.count=4
#Specify the maximum number of threads to create
#Default: 100
services.ThreadPool.max.count=10
#Specify the minimum number of threads to keep as spare until you hit 
the max
#Default: 15
services.ThreadPool.minspare.count=2

I do not believe that my.properies is being used OR that I am making a 
mistake in using the parms above to reduce the number of java 
processes.  Below is the list of java processes being started.

F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY  TIME CMD
4 S 0 10383 1  4  85   0 - 101447 - pts/100:00:16 java
1 S 0 10384 10383  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10385 10384  1  76   0 - 101447 - pts/100:00:04 java
1 S 0 10386 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10387 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10388 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10389 10384  1  77   0 - 101447 rt_sig pts/1   00:00:04 java
1 S 0 10390 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10391 10384  0  75   0 - 101447 - pts/100:00:00 java
1 S 0 10392 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10393 10384  0  76   0 - 101447 - pts/100:00:00 java
5 S 0 10394 10384  0  76   0 - 101447 - pts/100:00:02 java
5 S 0 10395 10384  0  75   0 - 101447 - pts/100:00:00 java
1 S 0 10396 10384  0  77   0 - 101447 - pts/100:00:00 java
5 S 0 10397 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10398 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10399 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10400 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10401 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10402 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10403 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10404 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10405 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10406 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10407 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10408 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10409 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10410 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10411 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10412 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10413 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10414 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10415 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10416 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
5 S 0 10418 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10420 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10421 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10422 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10423 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10424 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10425 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10426 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10427 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10428 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10429 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10430 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10431 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10432 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10433 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10434 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10435 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10436 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10437 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10438 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10439 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10440 10384  0  78   0 - 101447

Too many java processes being started - how can I reduce

2005-02-15 Thread TomJet
Whenever I start Jetspeed 1.5 under Tomcat 5.5.7 on Fedora Core 3 I see 
a large number of java processes started.  I thought that by adding the 
following to my.properties in the conf folder I could reduce the number 
of java processes.

#
# ThreadPool Service#
#
services.ThreadPool.classname=org.apache.jetspeed.services.threadpool.JetspeedThreadPoolService 

#Specify the initial number of threads to create
#Default: 50
services.ThreadPool.init.count=4
#Specify the maximum number of threads to create
#Default: 100
services.ThreadPool.max.count=10
#Specify the minimum number of threads to keep as spare until you hit 
the max
#Default: 15
services.ThreadPool.minspare.count=2

I do not believe that my.properies is being used OR that I am making a 
mistake in using the parms above to reduce the number of java 
processes.  Below is the list of java processes being started.

F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY  TIME CMD
4 S 0 10383 1  4  85   0 - 101447 - pts/100:00:16 java
1 S 0 10384 10383  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10385 10384  1  76   0 - 101447 - pts/100:00:04 java
1 S 0 10386 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10387 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10388 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10389 10384  1  77   0 - 101447 rt_sig pts/1   00:00:04 java
1 S 0 10390 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10391 10384  0  75   0 - 101447 - pts/100:00:00 java
1 S 0 10392 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10393 10384  0  76   0 - 101447 - pts/100:00:00 java
5 S 0 10394 10384  0  76   0 - 101447 - pts/100:00:02 java
5 S 0 10395 10384  0  75   0 - 101447 - pts/100:00:00 java
1 S 0 10396 10384  0  77   0 - 101447 - pts/100:00:00 java
5 S 0 10397 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10398 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10399 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10400 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10401 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10402 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10403 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10404 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10405 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10406 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10407 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10408 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10409 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10410 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10411 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10412 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10413 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10414 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10415 10384  0  75   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10416 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
5 S 0 10418 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10420 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10421 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10422 10384  0  76   0 - 101447 - pts/100:00:00 java
1 S 0 10423 10384  0  76   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10424 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10425 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10426 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10427 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10428 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10429 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10430 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10431 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10432 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10433 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10434 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10435 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10436 10384  0  77   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10437 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10438 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10439 10384  0  78   0 - 101447 rt_sig pts/1   00:00:00 java
1 S 0 10440 10384  0  78   0 - 101447

Re: Access your own psml file

2005-02-15 Thread Chris Custine
Did you ever find a solution to this?  I am interested in the same
thing and was surprised that this was even a possibility (if it
worked).

Chris


On Wed, 09 Feb 2005 16:47:51 -0500, Shah Amit <[EMAIL PROTECTED]> wrote:
> Hi David,
> 
> Thanks for your answer. I tried that, but I still get the default-page.psml
> file.
> 
> Actually I can type anything after http://localhost:8789/jetspeed/portal/
> and it still gives me the same jetspeed default page
> 
> Please help :(
> Amit
> 
> Original Message Follows
> From: David Sean Taylor <[EMAIL PROTECTED]>
> Reply-To: "Jetspeed Users List" 
> To: Jetspeed Users List 
> Subject: Re: Access your own psml file
> Date: Wed, 09 Feb 2005 09:37:49 -0800
> 
> Shah Amit wrote:
> >I have my own "portlet web application". Now it logically makes sense that
> >to deploy this this applicaiton, I should just throw it under
> >jetspeed/web-inf/deploy, and should be able to access my webapplication
> >from the browser.
> >
> >Till now I used to edit the "default-page.psml" in jetspeed/web-inf/pages
> >directory and enter my portlet in there.
> >
> >But suppose I want to have my own psml file. (I guess I should put it under
> >/web-inf/pages/myPage.psml ??) Now even if I do this, how should
> >I access this page from the browser ?
> >http://localhost:8080/jetspeed/myapp/myPage.psml ??
> >
> 
> http://localhost:8080/jetspeed/portal/myapp/myPage.psml
> 
> Also look at the _user directory, as it holds folders and pages specific to
> a user.
> 
> >Also regarding decorators. I have read all the documentation on the website
> >and I understand how it should be done. But again similar question. I
> >should be able to put my decorators under /web-inf/decorations
> >etc. ??
> >
> Decorations can be packaged into a jar and dropped in the WEB-INF/deploy
> directory
> 
> >My only concern is that I dont want to change anything in jetspeed. This
> >way I can easily keep updating jetspeed with new releases. Otherwise I
> >would have to put my changes in jetspeed everytime I upgrade my jetspeed.
> >
> I do exactly that on my projects here.
> For development, I have maven goals to drop in decorators, PSML and portlet
> apps
> 
> With PSML, I have one PSML directory per project (I don't use the demo PSML
> directory from the Jetspeed cvs)
> 
> >Please help/advise/comment 
> >
> >Thanks,
> >Amit
> >
> >
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> 
> --
> David Sean Taylor
> Bluesunrise Software
> [EMAIL PROTECTED]
> [office] +01 707 773-4646
> [mobile] +01 707 529 9194
> 
> -
> 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]
> 
>

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



Jetspeed 2 Virtual Hosts Config - HowTo?

2005-02-15 Thread Helmut Eggebert
Hi Users,
I have read most of the Jetspeed 2 documentation that I can find and 
searched the lists but I can't find any tips or howto's on virtual hosts 
with Jetspeed 2.

How are virtual hosts configured with Jetspeed 2?
Thanks in advance!
_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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


Navigation Menu Tree

2005-02-15 Thread Shah Amit
Hi all,
I understand the way current Jetspeed 2 navigation system has been arranged 
a little bit. But I have some questions and I dont know how I should 
implement them.

For example I have a menu tree -
Page 1
Page 2
Level 1 Menu 1
Level 2 Page 1
Level 2 Page 2
Level 2 Page 3
Level 2 Menu 2
 Level 3 Page 1
 Level 3 Page 2
Page 3
Now if I arrange the Menu 1, Menu 2 as folders and put my psml's in those 
folders, I have a way to nagivate to those and back to parent thru the bread 
crum. But if I want a tree structure on left, or like on top (with Tabbed 
Interface), once I am on Level 2 Page 2, how do I display Page 1, Page 2, 
Level 1 and Page 3 as the parent menu components ? I can understand from the 
samples that the subfolders will automatically be displayed.

Please help ...
Thanks,
Amit

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


AW: [J1] Jetspeed 1.6 MySQL PSML problem

2005-02-15 Thread Daniel Brose
Hi David,
hi all!

> Could you send the relevant properties from your
> JetspeedResources.properties. Also, for Jetspeed-1, to switch databases
> you have to change the Torque properties and rebuild. Did you do that?

Okay, here are the relevant properties from my JetspeedResources.properties
(as far as I know which ARE relevant):

# To use the File-based PSML service, select (uncomment) this service (this
is the default setting):
#
services.PsmlManager.classname=org.apache.jetspeed.services.psmlmanager.Cast
orPsmlManagerService
# To use the DB-PSML service, select (uncomment) this service, and comment
out the above service:
services.PsmlManager.classname=org.apache.jetspeed.services.psmlmanager.db.D
atabasePsmlManagerService

# Select this service to import from File System to the Database (make sure
that DatabasePsmlManagerService is selected above)
services.PsmlImportManager.classname=org.apache.jetspeed.services.psmlmanage
r.CastorPsmlManagerService
# Select this service to import from the Database to the File System (make
sure that CastorPsmlManagerService is selected above)
#
services.PsmlImportManager.classname=org.apache.jetspeed.services.psmlmanage
r.db.DatabasePsmlManagerService


And yes, I changed my Torque.properties and rebuild. I'm already using MySQL
for users. Here are my settings for my db in my Torque.properties:

torque.database.default=default
torque.database.default.adapter=mysql
torque.dsfactory.default.connection.driver = org.gjt.mm.mysql.Driver
torque.dsfactory.default.connection.url =
jdbc:mysql://localhost:3306/jetspeed
torque.dsfactory.default.connection.user = jetspeed
torque.dsfactory.default.connection.password = jetspeed



> Finally, check the log files from the import.
> Send any relevant stack traces to this list

Actually there seem to be some problems with the MySQL driver. As I'm
already using it for users, I thought anything would be fine with it. Where
do I put the jar for the MySQL driver so that maven recognizes it?
Excerpt from my jetspeedservices.log:

2005-02-15 21:16:26,722 [main] WARN  DatabasePsmlManagerService -
DatabasePsmlManagerService.getDbConnection: exception:
org.apache.torque.TorqueException: java.sql.SQLException: No suitable driver
2005-02-15 21:16:27,243 [main] WARN  DatabasePsmlManagerService -
DatabasePsmlManagerService.createOrSaveDocument: profile:
BaseProfile[user/admin/html/default.psml] tableName: JETSPEED_USER_PROFILE
org.apache.torque.TorqueException: java.sql.SQLException: No suitable driver
at
org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:755)
at org.apache.torque.Torque.getConnection(Torque.java:306)
at
org.apache.torque.util.Transaction.beginOptional(Transaction.java:118)
at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:636)
at
org.apache.jetspeed.om.dbpsml.BaseJetspeedUserProfilePeer.doInsert(BaseJetsp
eedUserProfilePeer.java:223)
at
org.apache.jetspeed.om.dbpsml.BaseJetspeedUserProfilePeer.doInsert(BaseJetsp
eedUserProfilePeer.java:581)
at
org.apache.jetspeed.om.dbpsml.JetspeedUserProfilePeer.doInsertOrUpdate(Jetsp
eedUserProfilePeer.java:108)
at
org.apache.jetspeed.om.dbpsml.JetspeedUserProfilePeer.insert(JetspeedUserPro
filePeer.java:49)
at
org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService.creat
eOrSaveDocument(DatabasePsmlManagerService.java:626)
at
org.apache.jetspeed.services.psmlmanager.db.DatabasePsmlManagerService.creat
eDocument(DatabasePsmlManagerService.java:586)
at
org.apache.jetspeed.services.psmlmanager.CastorPsmlManagerService.export(Cas
torPsmlManagerService.java:1310)
at
org.apache.jetspeed.services.psmlmanager.PsmlImporter.run(PsmlImporter.java:
171)
at
org.apache.jetspeed.services.psmlmanager.PsmlImporter.main(PsmlImporter.java
:140)





Regards
Daniel




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



Re: Menu Navigation Tree

2005-02-15 Thread Shah Amit
Hi David,
Thanks for your response. I was looking in the same area that you mentioned. 
Actually I have to customize all those macros a little bit. I need 
everything on top tabs and nothing on the left.

Along the similar lines, I have a little bit confusion. When should I use 
folders and pages within that, and when shoudl I use a document set "xxx.ds" 
? I have a fairly simple navigation structure of a tree that goes 3 levels 
deep and I need to represent all of that on top tabs (a little bit like 
amazon.com)

Thanks,
Amit

Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Menu Navigation Tree
Date: Tue, 15 Feb 2005 12:06:56 -0800
Shah Amit wrote:
Hi,
I understand the navigation structure of jetspeed a little bit. I am 
reading the ProfiledPageContext interface and trying to figure out how I 
can display a menu tree. The examples do show how child folders and links 
will be displayed. But how can I display the parent tree? Also where 
exactly on the parent menu tree am I currently ... That is my confusion. I 
posted the question before but seems like somehow it didn't make to the 
mailing list so I am posting this again.

The interface
http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/ProfiledPageContext.java?rev=1.3&view=log
provides you with the ability to traverse over the folder and page tree.
Take a look at some of the page decorators examples such as tigris.
Where the profiled page context is set to the $site variable:
#set($site =
   $request.getAttribute("org.apache.jetspeed.profiledPageContext"))
and then passed in to macros
of interest, see
#macro (includeNestedLinksWithIconNavigation $_nodeSet $_nodePrefix 
$_orientation)


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
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: Menu Navigation Tree

2005-02-15 Thread David Sean Taylor
Shah Amit wrote:
Hi,
I understand the navigation structure of jetspeed a little bit. I am 
reading the ProfiledPageContext interface and trying to figure out how I 
can display a menu tree. The examples do show how child folders and 
links will be displayed. But how can I display the parent tree? Also 
where exactly on the parent menu tree am I currently ... That is my 
confusion. I posted the question before but seems like somehow it didn't 
make to the mailing list so I am posting this again.

The interface
http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/ProfiledPageContext.java?rev=1.3&view=log
provides you with the ability to traverse over the folder and page tree.
Take a look at some of the page decorators examples such as tigris.
Where the profiled page context is set to the $site variable:
#set($site =
   $request.getAttribute("org.apache.jetspeed.profiledPageContext"))
and then passed in to macros
of interest, see
#macro (includeNestedLinksWithIconNavigation $_nodeSet $_nodePrefix 
$_orientation)


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Menu Navigation Tree

2005-02-15 Thread Shah Amit
Hi,
I understand the navigation structure of jetspeed a little bit. I am reading 
the ProfiledPageContext interface and trying to figure out how I can display 
a menu tree. The examples do show how child folders and links will be 
displayed. But how can I display the parent tree? Also where exactly on the 
parent menu tree am I currently ... That is my confusion. I posted the 
question before but seems like somehow it didn't make to the mailing list so 
I am posting this again.

Thanks,
Amit

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


Re: [J1] Jetspeed 1.6 MySQL PSML problem

2005-02-15 Thread David Sean Taylor
Daniel Brose wrote:
Hi all,
I already use MySQL (version 3) for security like users and stuff, now I
want to use it for the PSML registry. I followed the steps in
http://portals.apache.org/jetspeed-1/psml_db.html. It worked for me up to
the "maven import". Maven tells me that the build was successful but that 0
profiles were exported?!
Running Jetspeed and pointing with the browser to it leads to the following
error, which is quite logic as my PSML registry does not yet reside in my
database: "Error retrieving Portal Page: Profile not found."
Any help would be appreciated!
Actually I just tested MySQL, Oracle and PSML registry importing for 
someone last week. It seemed to work fine.

Could you send the relevant properties from your 
JetspeedResources.properties. Also, for Jetspeed-1, to switch databases 
you have to change the Torque properties and rebuild. Did you do that?

Finally, check the log files from the import.
Send any relevant stack traces to this list
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: SQL errors on binary distribution

2005-02-15 Thread David Sean Taylor
Smits.Dolf wrote:
Hi all,
 
I'm just starting with jetspeed, so hope i don't ask too stupid a question.
 
running on win2000
I downloaded the binary distribution from jetspeed 2.0.M1
I installed java jsdk latest version 1.5.0.1
installed a clean tomcat latest version (5.5.7)
unzipped the jetspeed zip file in the webapps directory from tomcat
go to the jetspeed-database and start the database with start-database.bat
startup tomcat
 
It start to throw error messages about SQL execeptions. (see enclosed error
messages)
 
Do I need to prepare more actions?
Or is something else going wrong?

We're still having troubles running with Tomcat 5.5.
There is an open JIRA issue
I hope to find an hour this week to look into it
(thats a lot more difficult than it sounds these days ;)
--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


SQL errors on binary distribution

2005-02-15 Thread Smits.Dolf
Hi all,
 
I'm just starting with jetspeed, so hope i don't ask too stupid a question.
 
running on win2000
I downloaded the binary distribution from jetspeed 2.0.M1
I installed java jsdk latest version 1.5.0.1
installed a clean tomcat latest version (5.5.7)
unzipped the jetspeed zip file in the webapps directory from tomcat
go to the jetspeed-database and start the database with start-database.bat
startup tomcat
 
It start to throw error messages about SQL execeptions. (see enclosed error
messages)
 
Do I need to prepare more actions?
Or is something else going wrong?
 
any help is appreciated!
 
Thanks a lot,
 
Dolf Smits
 
 
--
extract form webapps/jetspeed/logs/jetspeed.log
 
=
2005-02-15 14:40:18,963 [Thread-1] INFO
org.apache.jetspeed.idgenerator.JetspeedIdGenerator - Shutdown for
JetspeedIdGenerator called. idCounter = 65536 (1)
2005-02-15 14:40:18,963 [Thread-1] INFO
org.springframework.beans.factory.support.DefaultListableBeanFactory -
Destroying inner beans in factory
{org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans
[portal_configuration,javax.servlet.ServletConfig,PortalServices,TemplateLoc
ator,DecorationLocator,IdGenerator,PageFileCache,portletRegistryImpl,org.apa
che.jetspeed.components.portletregistry.PortletRegistry,portletEntityAccessI
mpl,org.apache.jetspeed.components.portletentity.PortletEntityAccessComponen
t,profilerImpl,org.apache.jetspeed.profiler.Profiler,capabilitiesImpl,org.ap
ache.jetspeed.capabilities.Capabilities,PersistenceBrokerSSOProvider,org.apa
che.jetspeed.sso.SSOProvider,PreferencesProviderImpl,org.apache.jetspeed.pre
fs.PreferencesProvider,java.util.prefs.PreferencesFactory,PropertyManagerImp
l,org.apache.jetspeed.prefs.PropertyManager,org.apache.jetspeed.security.spi
.impl.SecurityAccessImpl,org.apache.jetspeed.security.spi.SecurityAccess,org
.apache.jetspeed.security.spi.CredentialPasswordValidator,org.apache.jetspee
d.security.spi.CredentialPasswordEncoder,org.apache.jetspeed.security.spi.Pa
sswordCredentialProvider,org.apache.jetspeed.security.spi.InternalPasswordCr
edentialInterceptor,org.apache.jetspeed.security.spi.CredentialHandler,org.a
pache.jetspeed.security.spi.UserSecurityHandlerImpl,org.apache.jetspeed.secu
rity.spi.UserSecurityHandler,org.apache.jetspeed.security.spi.RoleSecurityHa
ndler,org.apache.jetspeed.security.spi.GroupSecurityHandler,org.apache.jetsp
eed.security.spi.SecurityMappingHandler,org.apache.jetspeed.security.Authent
icationProvider,org.apache.jetspeed.security.AuthenticationProviderProxy,org
.apache.jetspeed.security.SecurityProvider,org.apache.jetspeed.security.User
Manager,org.apache.jetspeed.security.GroupManager,org.apache.jetspeed.securi
ty.RoleManager,org.apache.jetspeed.security.LoginModuleProxy,org.apache.jets
peed.security.impl.PermissionManagerImpl,org.apache.jetspeed.security.Permis
sionManager,org.apache.jetspeed.security.impl.RdbmsPolicy,org.apache.jetspee
d.security.AuthorizationProvider,org.apache.jetspeed.userinfo.UserInfoManage
r,org.apache.jetspeed.container.state.NavigationalStateComponent,org.apache.
jetspeed.request.RequestContextComponent,org.apache.jetspeed.container.windo
w.PortletWindowAccessor,Pluto,org.apache.pluto.PortletContainer,org.apache.j
etspeed.aggregator.PortletRenderer,portletCache,portletFactory,portletFactor
yProxy,org.apache.jetspeed.aggregator.PageAggregator,org.apache.jetspeed.agg
regator.PortletAggregator,org.apache.jetspeed.tools.pamanager.servletcontain
er.ApplicationServerManager,PAM,portletAppDeploymentListener,decoratorDeploy
mentRegistry,decoratorDeploymentListener,deploymentManager,org.apache.jetspe
ed.search.HandlerFactory,org.apache.jetspeed.search.SearchEngine,placeholder
Config,PsmlDocumentHandler,LinkDocumentHandler,DocumentSetDocumentHandler,Fo
lderMetaDataDocumentHandler,PageSecurityDocumentHandler,DocumentHandlerFacto
ry,FolderHandler,org.apache.jetspeed.page.PageManager,localizationValve,capa
bilityValve,portalURLValve,securityValve,passwordCredentialValve,profilerVal
ve,containerValve,actionValve,portletValve,aggregatorValve,cleanUpValve,jets
peed-pipeline,action-pipeline,portlet-pipeline,javax.portlet.ActionRequest,j
avax.portlet.RenderRequest,javax.portlet.RenderResponse,javax.portlet.Portle
tSession,javax.portlet.PortletConfig,javax.portlet.PortletContext,javax.port
let.PortalContext,javax.portlet.ActionResponse,javax.portlet.PortletURL,java
x.portlet.PortletPreferences,org.apache.pluto.invoker.PortletInvoker,org.apa
che.pluto.util.NamespaceMapper,org.apache.pluto.services.information.Informa
tionProviderService,javax.servlet.http.HttpServletRequest,javax.servlet.http
.HttpServletResponse,org.apache.pluto.om.ControllerFactory,org.apache.pluto.
services.log.LogService,transactionManager,baseTransactionProxy]; Root of
BeanFactory hierarchy}
2005-02-15 14:40:19,093 [Thread-1] ERROR
org.apache.jetspeed.engine.AbstractEngine -
org.springframework.beans.factory.BeanCre

[J1] Jetspeed 1.6 MySQL PSML problem

2005-02-15 Thread Daniel Brose
Hi all,

I already use MySQL (version 3) for security like users and stuff, now I
want to use it for the PSML registry. I followed the steps in
http://portals.apache.org/jetspeed-1/psml_db.html. It worked for me up to
the "maven import". Maven tells me that the build was successful but that 0
profiles were exported?!
Running Jetspeed and pointing with the browser to it leads to the following
error, which is quite logic as my PSML registry does not yet reside in my
database: "Error retrieving Portal Page: Profile not found."

Any help would be appreciated!


Regards




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