RE: building Jetspeed 2

2004-08-09 Thread Bjorn Vidar Remme

Return Receipt
   
Your  RE: building Jetspeed 2  
document   
:  
   
was   Bjorn Vidar Remme/Oslo/Intentia_NO/Intentia  
received   
by:
   
at:   2004-08-10 08:05:02  
   





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



Action not found (but it's there)?

2004-08-09 Thread Stijn de Witt
Hi, I have an action located in
WEB-INF\classes\nl\bergland\portal\jetspeed1\actions\job
it's name is BitCandidateSubmitAction.class
I have set up the Turbine modules.packages path, adding
nl.bergland.portal.jetspeed1

I tried all sorts of things, but I keep getting this ClassNotFoundException.
Does anyone know of another cause of this, besides a wrong modules.packages
path?
The weird thing is that I had this working before, but it broke somehow...
Any help would be greatly appreciated.

Greetings,
-Stijn


2004-08-10 02:50:40,203 [PoolThread-9] DEBUG GenericMVCPortlet -
GenericMVCPortlet: Executing action [job.BitCandidateSubmitAction] for
portlet [BitCandidateSubmitPortlet]
2004-08-10 02:50:40,265 [PoolThread-9] ERROR GenericMVCPortlet -
GenericMVCPortlet - error executing action
java.lang.ClassNotFoundException:

 Requested Action not found: job.BitCandidateSubmitAction
 Turbine looked in the following modules.packages path:
 [org.apache.jetspeed.modules, org.apache.turbine.modules,
nl.bergland.portal.jetspeed1]

 at
org.apache.turbine.modules.ActionLoader.getInstance(ActionLoader.java:174)
 at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
 at
org.apache.jetspeed.portal.portlets.GenericMVCPortlet.buildContent(GenericMV
CPortlet.java:276)
 at
org.apache.jetspeed.portal.portlets.GenericMVCPortlet.getContent(GenericMVCP
ortlet.java:207)
 at
org.apache.jetspeed.portal.security.portlets.PortletWrapper.getContent(Portl
etWrapper.java:119)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:267)
 at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197
)
 at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:175)
 at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:220)
 at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:23
0)
 at org.apache.velocity.Template.merge(Template.java:256)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418)
 at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(Tu
rbineVelocityService.java:494)
 at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(Tu
rbineVelocityService.java:336)
 at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVe
locity.java:143)
 at
org.apache.jetspeed.portal.controls.VelocityPortletControl.getContent(Veloci
tyPortletControl.java:155)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
erspectImpl.java:267)
 at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197
)
 at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
va:175)
 at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
a:220)
 at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
 at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
 at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:114)
 at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
 at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166)
 at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
a:114)
 at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:23
0)
 at org.apache.velocity.Template.merge(Template.java:256)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:449)
 at org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:418)
 at
org.apache.turbine.services.velocity.TurbineVelocityService.decodeRequest(Tu
rbineVelocityService.java:494)
 at
org.apache.turbine.services.velocity.TurbineVelocityService.handleRequest(Tu
rbineVelocityService.java:336)
 at
org.apache.turbine.services.velocity.TurbineVelocity.handleRequest(TurbineVe
locity.java:143)
 at
org.apache.jetspeed.portal.controllers.VelocityPortletController.getContent(
VelocityPortletController.java:105)
 at
org.apache.jetspeed.portal.BasePortletSet.getContent(BasePortletSet.java:353
)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at
org.apache.velocity.util.introspection.Ubersp

Error rendering Velocity template

2004-08-09 Thread Sihong Fan
Does anyone meet this problem before? Thanks
org.apache.turbine.util.TurbineException: Error
rendering Velocity template:
/controls/html/jetspeed.vm: Invocation of method
'getContent' in class
org.apache.jetspeed.portal.security.portlets.CacheableStatefulPortletWrapper
threw exception class java.lang.ClassFormatError :
org/apache/jetspeed/modules/actions/portlets/SampleAction
(Bad magic number)




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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



RE: Portlets execution flow

2004-08-09 Thread Bjorn Vidar Remme
Hi Bob, 

What you are saying makes sense. The trouble was that I was using 
qualified action names, but I still had major problems. I then reluctantly 
came to the conclusion that there was something fundamentally wrong with 
my code. 

Looking over the code again I remember changing the form method from POST 
to GET because my action event would not fire if I used POST. A major 
mistake! Changing the method caused the action parameter in the URL to be 
ignored. And the code executed as if I where using $jslink alone. 

It took me a while to figure out what was going on. Overriding the 
executeEvents() methods and logging any Exceptions thrown gave me the 
answer. When I supply an action in the URL it looks for an event method 
with the signature ?public void doBrowse_X(RunData rundata)? and not 
?public void doBrowse_refresh(RunData, Context)?.

No wonder my event was not triggered because I used the Context variation.

I then changed my code and it worked just as you said. Brilliant!

The only consequence of removing the Context as a parameter is that we 
must find an alternative way to get the portlet id. Probably submitting it 
as a parameter?


Thanks, you really saved the day!!!


Kind regards,
Bjorn Vidar Remme







"Bob Fleischman" <[EMAIL PROTECTED]>
06.08.2004 18:18
Please respond to "Jetspeed Users List"
 
To: "'Jetspeed Users List'" <[EMAIL PROTECTED]>
cc: 
Subject:RE: Portlets execution flow


Bjorn:

You can limit the impact of which class runs your method via the action by
qualifying the action.

That is: use action=Myportlet2.doUpdate rather than action=doUpdate.  With
the second method any portlet which has a doUpdate method will fire.

As to having several Portlets share a current model. We have found that it
is best to have a separate action class that modifies the model. Then 
using
the setAction style described in this thread you can update the common 
model
first. That action will be called before any rendering.

Your portlet should then be limited to building up your context. Otherwise
you are duplicating your efforts by putting model update code in 2 places.

Bob

-Original Message-
From: Bjorn Vidar Remme [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 06, 2004 10:41 AM
To: Jetspeed Users List
Subject: Re: Portlets execution flow

Hi all, 

Well the trouble by using setAction() is that the action is executed for 
all the portlets (if a suitable method exists). You can easily test this 
by adding multiple instances of the same portlet to a page (same action 
class) or multiple portlets with different action classes but the same 
event name. You will then see that the action event is executed once for 
all the portlets.

The pattern is thus (AE=action event, BNC=buildNormalContext):
AE for portlet A, BNC for portlet A, AE for portlet B, BNC for portlet B 
etc..

Not what we want at all, we just want the action event to fire once.
This is why I specify the portlet ID in the action like this: 
$jslink.getAction("myaction", $portlet)

The action event is then executed only once, but as I described in my 
previous post the pattern is (clicking on portlet B): BNC-A, AE -B, BNC-B 
and not the desired AE-B, BNC-A, BNC-B.


Note: I am using getAction() because setAction() is deprecated according 
to the documentation. It does the same thing.
 

Kind regards,
Bjorn Vidar Remme






[EMAIL PROTECTED]
06.08.2004 15:54
Please respond to "Jetspeed Users List"
 
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
cc: 
Subject:Re: Portlets execution flow


Bjorn, Oscar -

I have never seen the problems you are mentioning below - my action 
handler methods ALWAYS execute before the build*() methods on the active 
portlets.  We are currently using Velocity-based portlets.  When we 
specify the action parameter in a form, we use the following code 
template:

 
or


The first version uses the "default" action as specified in the xreg for 
the portlet - this is what we use in most cases.  The second version uses 
any action you specify - as long as the action package you are using is 
declared to Turbine using the "module.packages" key (see 
TurbineResources.properties, and look for that key.)

For an example of the first version, look at the source in 
/tutorial/tutorials/9/templates/vm/portlets/html/coffees-browser.vm 
(directly from cvs) as well as the related xreg files.  An example of the 
second version is at: 
http://portals.apache.org/jetspeed-1/tutorial/7/events.html.

Good luck,
Eric




Bjorn Vidar Remme <[EMAIL PROTECTED]> 
08/06/2004 04:10 AM
Please respond to
"Jetspeed Users List" <[EMAIL PROTECTED]>


To
"Jetspeed Users List" <[EMAIL PROTECTED]>
cc

Subject
Re: Portlets execution flow






Hi Oscar, 

Note: This answer does not solve your problem, it only confirms it. Read 
on if you are interested.

We are using Jetspeed 1.6-dev and we struggle with the same problem 
(Velocity portlets in our case). The idea 

RE: building Jetspeed 2

2004-08-09 Thread Call, Terry M
Me too.

BUILD FAILED
File.. C:\IMICS\DevTools\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line.. 235
Column 40
Unable to obtain goal [test:test] -- C:\Documents and
Settings\m183713\.maven\ca
che\maven-test-plugin-1.6.2\plugin.jelly:181:54:  There were test
failures
.
Total time: 4 minutes 47 seconds
Finished at: Mon Aug 09 12:45:53 CDT 2004

-Original Message-
From: Krish Chandra [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 11:58 AM
To: Jetspeed Users List
Subject: Re: building Jetspeed 2



Sorry the log file had the following stack trace:
Testcase:
testData(org.apache.jetspeed.components.portletregistry.TestRegistryDire
ctPart2):
Caused an ERROR
null
java.lang.NullPointerException
at
org.apache.jetspeed.components.portletregistry.AbstractRegistryTest.veri
fyData(AbstractRegistryTest.java:141)
at
org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2.t
estData(TestRegistryDirectPart2.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25

thanks,
Krish




On Mon, 9 Aug 2004, Krish Chandra wrote:

> Hi,
> I got the following error when I tried to build J2.
>
> ***
> test:test:
> dbSetup:
> [copy] Copying 1 file to 
> /ccs/mssl/ecs/dmefs/krish/jakarta-jetspeed-2/components/registry/targe
> t/test-classes
>
> [junit] Running 
>
org.apache.jetspeed.components.portletentity.TestPortletEntityAccessComp
onent
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.992
sec
> [junit] Running 
> org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.69
sec
> [junit] [ERROR] TEST 
> org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
> FAILED
> [junit] Running 
> org.apache.jetspeed.components.portletregistry.TestRegistryDirect
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.985 
> sec
>
> BUILD FAILED
> File.. /ccs/mssl/ecs/dmefs/krish/jakarta-jetspeed-2/maven.xml
> Element... maven:reactor
> Line.. 228
> Column 40
> Unable to obtain goal [test:test] --
> /home/krish/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly:181:54:
>  There were test failures.
> 
>
> Any ideas as to what I might be doing wrong or what I should do to fix

> it.
>
> thanks,
> Krish
>
>
>
>
> -
> 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]



Re: building Jetspeed 2

2004-08-09 Thread Krish Chandra

Sorry the log file had the following stack trace:
Testcase:
testData(org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2):
Caused an ERROR
null
java.lang.NullPointerException
at
org.apache.jetspeed.components.portletregistry.AbstractRegistryTest.verifyData(AbstractRegistryTest.java:141)
at
org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2.testData(TestRegistryDirectPart2.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25

thanks,
Krish




On Mon, 9 Aug 2004, Krish Chandra wrote:

> Hi,
> I got the following error when I tried to build J2.
>
> ***
> test:test:
> dbSetup:
> [copy] Copying 1 file to
> /ccs/mssl/ecs/dmefs/krish/jakarta-jetspeed-2/components/registry/target/test-classes
>
> [junit] Running
> org.apache.jetspeed.components.portletentity.TestPortletEntityAccessComponent
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.992 sec
> [junit] Running
> org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.69 sec
> [junit] [ERROR] TEST
> org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
> FAILED
> [junit] Running
> org.apache.jetspeed.components.portletregistry.TestRegistryDirect
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.985 sec
>
> BUILD FAILED
> File.. /ccs/mssl/ecs/dmefs/krish/jakarta-jetspeed-2/maven.xml
> Element... maven:reactor
> Line.. 228
> Column 40
> Unable to obtain goal [test:test] --
> /home/krish/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly:181:54:
>  There were test failures.
> 
>
> Any ideas as to what I might be doing wrong or what I should do to fix
> it.
>
> thanks,
> Krish
>
>
>
>
> -
> 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: tomcat hangs when starting jetspeed 1.4

2004-08-09 Thread Shao Fang
Take a look of 

http://www.mail-archive.com/[EMAIL PROTECTED]/msg12919.html

as well as

http://nagoya.apache.org/jira/browse/JS1-405

If this is similar to your issue, we have a fix in turbine that you can
try out.

We have been working with Jetspeed developers to verify our fix.  

Shao.


On Mon, 2004-08-09 at 09:42, dp wrote:
> hello,
> 
> I am running tomcat 5.0.24 with js 1.4
> 
> sometime I have to startup my tomcat serveral times to get him up.
> 
> the startup.bat hangs after following messages:
> 
> *
> 
> Starting Apache Jetspeed Portal/1.4
> 
> [09 Aug 2004 18:38:46  INFO] - loading component: name=torque
> class=org.apache.t
> orque.Torque config=C:\Apache\jakarta-tomcat-5.0.24\webapps\jetspeed\W
> EB-INF\conf\Torque.properties
> [09 Aug 2004 18:38:47  INFO] - loading component: name=fulcrum
> class=org.apache.
> fulcrum.Fulcrum config=C:\Apache\jakarta-tomcat-5.0.24\webapps\jetspee
> d\WEB-INF\conf\Fulcrum.properties
> [09 Aug 2004 18:38:47  INFO] - Finished initializing all services!
> 
> *
> 
> Someone knows how to avoid this?
> 
> Thank you!
> 
> Best regards
> 
> David
> 


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



building Jetspeed 2

2004-08-09 Thread Krish Chandra
Hi,
I got the following error when I tried to build J2.

***
test:test:
dbSetup:
[copy] Copying 1 file to
/ccs/mssl/ecs/dmefs/krish/jakarta-jetspeed-2/components/registry/target/test-classes

[junit] Running
org.apache.jetspeed.components.portletentity.TestPortletEntityAccessComponent
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.992 sec
[junit] Running
org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.69 sec
[junit] [ERROR] TEST
org.apache.jetspeed.components.portletregistry.TestRegistryDirectPart2
FAILED
[junit] Running
org.apache.jetspeed.components.portletregistry.TestRegistryDirect
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.985 sec

BUILD FAILED
File.. /ccs/mssl/ecs/dmefs/krish/jakarta-jetspeed-2/maven.xml
Element... maven:reactor
Line.. 228
Column 40
Unable to obtain goal [test:test] --
/home/krish/.maven/cache/maven-test-plugin-1.6.2/plugin.jelly:181:54:
 There were test failures.


Any ideas as to what I might be doing wrong or what I should do to fix
it.

thanks,
Krish




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



tomcat hangs when starting jetspeed 1.4

2004-08-09 Thread dp
hello,

I am running tomcat 5.0.24 with js 1.4

sometime I have to startup my tomcat serveral times to get him up.

the startup.bat hangs after following messages:

*

Starting Apache Jetspeed Portal/1.4

[09 Aug 2004 18:38:46  INFO] - loading component: name=torque
class=org.apache.t
orque.Torque config=C:\Apache\jakarta-tomcat-5.0.24\webapps\jetspeed\W
EB-INF\conf\Torque.properties
[09 Aug 2004 18:38:47  INFO] - loading component: name=fulcrum
class=org.apache.
fulcrum.Fulcrum config=C:\Apache\jakarta-tomcat-5.0.24\webapps\jetspee
d\WEB-INF\conf\Fulcrum.properties
[09 Aug 2004 18:38:47  INFO] - Finished initializing all services!

*

Someone knows how to avoid this?

Thank you!

Best regards

David



RE: How to change tabs layout from Horizonal to Vertical

2004-08-09 Thread chris holt
I believe the way you achieve this is to use a MenuControl instead of a
TabControl.
This will give you a vertical stacking of the panes instead of the
horziontal layout.

Chris

-Original Message-
From: Sachdeva, Khemchand [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 09, 2004 8:24 AM
To: '[EMAIL PROTECTED]'
Subject: How to change tabs layout from Horizonal to Vertical


I have the following entries in my .psml file.



A






Charts












Reports












This show tabs Charts and Reports stacked horizontally one after the
another.

What should I do if I want to be stacked vertically i.e. Reports on top
of Charts.

Thanks
Khem

-
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: jetspeed 1.5 tutorial for jetspeed2?

2004-08-09 Thread Randy Watler
Scott,
So, with the following goals in mind...
1. Create a tutorial on getting started with Jetspeed2,
2. ultimately deploy on JetSpeed2, and
3. bootstrap most efficiently now in the current Jetspeed 1.5/2 dichotomy.
...what approach do you suggest I take then?
Randy Watler
Scott T. Weaver wrote:
A tutorial would be great!!!  I would ask that you put the tutorial on 
the wiki, http://wiki.apache.org/portals/Jetspeed2, so everyone can 
contribute to it and so it stays fresh.  I already have a 
mini-tutorial form custom portlets out there, 
http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets, 
which may help you get started. 


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


Re: jetspeed 1.5 tutorial for jetspeed2?

2004-08-09 Thread Scott T. Weaver
Randy Watler wrote:
Scott,
Thanks for the information. I am certainly leaning toward Jetspeed 2 
because of the JSR-168 compatibility, but am searching for a way to 
bootstrap myself into the Jetspeed world. I had hoped that much of the 
configuration, (i.e. decoration, layout, site, and navigation 
specifications, etc.) would be portable between Jetspeed 1.5 and 2. I 
figured that moving into our Portlet development could be pushed off 
until I was comfortable with manipulating other aspects of Jetspeed.

We tend to be forward looking and not risk adverse, so we'll probably 
go with Jetspeed 2 given your input. The only question is how to get 
started? Since I am starting from ground 0, I would be willing to 
generate a HOW-TO/tutorial for Jetspeed 2. It seems that I am not the 
only one asking and I need to turn over the Portal development to 
another team once I complete the evaluation/prototype anyway!
A tutorial would be great!!!  I would ask that you put the tutorial on 
the wiki, http://wiki.apache.org/portals/Jetspeed2, so everyone can 
contribute to it and so it stays fresh.  I already have a mini-tutorial 
form custom portlets out there, 
http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets, which 
may help you get started.

Thanks!
Randy Watler
Scott T. Weaver wrote:
Hi Randy,
Jetspeed 1 and 2 are quite different animals.  Jetspeed 1's portlets 
are developed using a proprietary approach unique to Jetspeed 1.  All 
Jetspeed 1 portlets are  served up directly from Jetspeed 1's webapp 
i.e. they are not individual servlet applications.  Jetspeed 2 OTOH 
utilizes standard, JSR-168 portlet applications.  All portlet 
applications deployed to Jetspeed 2 are also deployed to the 
enclosing application server (Tomcat 4/5 and JBoss 3.2.5) have been 
officially tested).  I highly recommend an approach that will allow 
you to develop JSR-168 portlets as opposed to J1 portlets.

That being said there are two viable approaches to running JSR-168 in 
a Jetspeed environment.  One, you could go with Jetspeed 2 which 
currently lacks some important features like navigation, full 
customization (some customization has been just added which allows 
positioning of portlets) and administrative portlets.  The other 
approach is to use Jetspeed 1 with Fusion enabled.  Fusion uses a the 
Jetspeed 2 Portal Engine with a different configuration (easily done 
due to the fact that Jetspeed 2 is built almost entirely on top of 
the Spring Framework) to process JSR-168 portlet applications and 
serve them through an existing Jetspeed 1 deployment (available only 
through the CVS).

p.s.
I am currently using Jetspeed 2 to build a VAR Business Portal for 
the project I am currently on, so I will be implementing many of the 
missing "features" in a relatively short period of time.

HTH,

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


--
**
*   Scott T. Weaver  *
* <[EMAIL PROTECTED]>*
*    *
* -- *
*   Apache Jetspeed Enterprise Portal*
* Apache Pluto Portlet Container *
**
* OpenEditPro, Website Content Mangement *
*    *
**
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: jetspeed 1.5 tutorial for jetspeed2?

2004-08-09 Thread Randy Watler
Scott,
Thanks for the information. I am certainly leaning toward Jetspeed 2 
because of the JSR-168 compatibility, but am searching for a way to 
bootstrap myself into the Jetspeed world. I had hoped that much of the 
configuration, (i.e. decoration, layout, site, and navigation 
specifications, etc.) would be portable between Jetspeed 1.5 and 2. I 
figured that moving into our Portlet development could be pushed off 
until I was comfortable with manipulating other aspects of Jetspeed.

We tend to be forward looking and not risk adverse, so we'll probably go 
with Jetspeed 2 given your input. The only question is how to get 
started? Since I am starting from ground 0, I would be willing to 
generate a HOW-TO/tutorial for Jetspeed 2. It seems that I am not the 
only one asking and I need to turn over the Portal development to 
another team once I complete the evaluation/prototype anyway!

Thanks!
Randy Watler
Scott T. Weaver wrote:
Hi Randy,
Jetspeed 1 and 2 are quite different animals.  Jetspeed 1's portlets 
are developed using a proprietary approach unique to Jetspeed 1.  All 
Jetspeed 1 portlets are  served up directly from Jetspeed 1's webapp 
i.e. they are not individual servlet applications.  Jetspeed 2 OTOH 
utilizes standard, JSR-168 portlet applications.  All portlet 
applications deployed to Jetspeed 2 are also deployed to the enclosing 
application server (Tomcat 4/5 and JBoss 3.2.5) have been officially 
tested).  I highly recommend an approach that will allow you to 
develop JSR-168 portlets as opposed to J1 portlets.

That being said there are two viable approaches to running JSR-168 in 
a Jetspeed environment.  One, you could go with Jetspeed 2 which 
currently lacks some important features like navigation, full 
customization (some customization has been just added which allows 
positioning of portlets) and administrative portlets.  The other 
approach is to use Jetspeed 1 with Fusion enabled.  Fusion uses a the 
Jetspeed 2 Portal Engine with a different configuration (easily done 
due to the fact that Jetspeed 2 is built almost entirely on top of the 
Spring Framework) to process JSR-168 portlet applications and serve 
them through an existing Jetspeed 1 deployment (available only through 
the CVS).

p.s.
I am currently using Jetspeed 2 to build a VAR Business Portal for the 
project I am currently on, so I will be implementing many of the 
missing "features" in a relatively short period of time.

HTH,

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


Re: Jetspeed-2 (tutorial)

2004-08-09 Thread Scott T. Weaver
Simonin, Bradley K. (Brad) wrote:
How do you change the look and feel of Jetspeed-2 to match what our site
looks like?  Is there a tutotorial or documentation?
 

Not yet.  For layout decoration, take a look at: 
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/layout/html/jetspeed 
and for individual portlet decorations, look at any of the decorators 
under: 
jakarta-jetspeed-2/portal/src/webapp/WEB-INF/decorations/portlet/html.   
You will see many references to $jetspeed, this actually the 
org.apache.jetspeed.velocity.JetspeedPowerTool which is a per request 
velocity tool.

Post to the list if you have anymore questions.
Regards,
--
**
*   Scott T. Weaver  *
* <[EMAIL PROTECTED]>*
*    *
* -- *
*   Apache Jetspeed Enterprise Portal*
* Apache Pluto Portlet Container *
**
* OpenEditPro, Website Content Mangement *
*    *
**

--Brad Simonin
On Mon, 2004-08-09 at 14:13, Scott T. Weaver wrote:
 

Hi Simonin,
We are already use Velocity in Jetspeed 2's layout portlets and 
decorators.  If you are interested in developing JSR-168 portlets that 
use Velocity instead of JSP's, it is important to remember that JSR-168 
are also full blown web applications.  The easiest approach is to use 
the JetspeedVelocityViewServlet which extends the VelocityViewServlet 
that is provided by the Velocity Tools project, 
http://jakarta.apache.org/velocity/tools/index.html.  Once you have 
added that servlet to the web.xml of your portlet application you can 
just invoke RequestDispatcher.include("mytemplate.vm") or 
RequestDispatcher.forward("mytemplate.vm") just as you would a .jsp page 
and the Velocity view servlet will render the template for you.

HTH,
Simonin, Bradley K. (Brad) wrote:
   

Is there going to be a tutorial for Jetspeed-2?  In addition will there
be a tutorial for connecting Jetspeed-2 to Velocity?
Thanks in Advance,
--Brad Simonin
-
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 (tutorial)

2004-08-09 Thread Simonin, Bradley K. (Brad)
How do you change the look and feel of Jetspeed-2 to match what our site
looks like?  Is there a tutotorial or documentation?

--Brad Simonin

On Mon, 2004-08-09 at 14:13, Scott T. Weaver wrote:
> Hi Simonin,
> 
> We are already use Velocity in Jetspeed 2's layout portlets and 
> decorators.  If you are interested in developing JSR-168 portlets that 
> use Velocity instead of JSP's, it is important to remember that JSR-168 
> are also full blown web applications.  The easiest approach is to use 
> the JetspeedVelocityViewServlet which extends the VelocityViewServlet 
> that is provided by the Velocity Tools project, 
> http://jakarta.apache.org/velocity/tools/index.html.  Once you have 
> added that servlet to the web.xml of your portlet application you can 
> just invoke RequestDispatcher.include("mytemplate.vm") or 
> RequestDispatcher.forward("mytemplate.vm") just as you would a .jsp page 
> and the Velocity view servlet will render the template for you.
> 
> HTH,
> 
> Simonin, Bradley K. (Brad) wrote:
> 
> >Is there going to be a tutorial for Jetspeed-2?  In addition will there
> >be a tutorial for connecting Jetspeed-2 to Velocity?
> >
> >Thanks in Advance,
> >
> >--Brad Simonin
> >
> >-
> >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: Velocity in Jetspeed-2 (tutorial)

2004-08-09 Thread Scott T. Weaver
Hi Simonin,
We are already use Velocity in Jetspeed 2's layout portlets and 
decorators.  If you are interested in developing JSR-168 portlets that 
use Velocity instead of JSP's, it is important to remember that JSR-168 
are also full blown web applications.  The easiest approach is to use 
the JetspeedVelocityViewServlet which extends the VelocityViewServlet 
that is provided by the Velocity Tools project, 
http://jakarta.apache.org/velocity/tools/index.html.  Once you have 
added that servlet to the web.xml of your portlet application you can 
just invoke RequestDispatcher.include("mytemplate.vm") or 
RequestDispatcher.forward("mytemplate.vm") just as you would a .jsp page 
and the Velocity view servlet will render the template for you.

HTH,
Simonin, Bradley K. (Brad) wrote:
Is there going to be a tutorial for Jetspeed-2?  In addition will there
be a tutorial for connecting Jetspeed-2 to Velocity?
Thanks in Advance,
--Brad Simonin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


--
**
*   Scott T. Weaver  *
* <[EMAIL PROTECTED]>*
*    *
* -- *
*   Apache Jetspeed Enterprise Portal*
* Apache Pluto Portlet Container *
**
* OpenEditPro, Website Content Mangement *
*    *
**
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: jetspeed 1.5 tutorial for jetspeed2?

2004-08-09 Thread Scott T. Weaver
Hi Randy,
Jetspeed 1 and 2 are quite different animals.  Jetspeed 1's portlets are 
developed using a proprietary approach unique to Jetspeed 1.  All 
Jetspeed 1 portlets are  served up directly from Jetspeed 1's webapp 
i.e. they are not individual servlet applications.  Jetspeed 2 OTOH 
utilizes standard, JSR-168 portlet applications.  All portlet 
applications deployed to Jetspeed 2 are also deployed to the enclosing 
application server (Tomcat 4/5 and JBoss 3.2.5) have been officially 
tested).  I highly recommend an approach that will allow you to develop 
JSR-168 portlets as opposed to J1 portlets.

That being said there are two viable approaches to running JSR-168 in a 
Jetspeed environment.  One, you could go with Jetspeed 2 which currently 
lacks some important features like navigation, full customization (some 
customization has been just added which allows positioning of portlets) 
and administrative portlets.  The other approach is to use Jetspeed 1 
with Fusion enabled.  Fusion uses a the Jetspeed 2 Portal Engine with a 
different configuration (easily done due to the fact that Jetspeed 2 is 
built almost entirely on top of the Spring Framework) to process JSR-168 
portlet applications and serve them through an existing Jetspeed 1 
deployment (available only through the CVS).

p.s.
I am currently using Jetspeed 2 to build a VAR Business Portal for the 
project I am currently on, so I will be implementing many of the missing 
"features" in a relatively short period of time.

HTH,
--
**
*   Scott T. Weaver  *
* <[EMAIL PROTECTED]>*
*    *
* -- *
*   Apache Jetspeed Enterprise Portal*
* Apache Pluto Portlet Container *
**
* OpenEditPro, Website Content Mangement *
*    *
**

Randy Watler wrote:
I am evaluating jetspeed and am interested in deploying Jetspeed 2 as soon
as possible. I gather that J2 is due to be in alpha/beta soon. However,
knowing little about Jetspeed at this point, I wonder if it would be
appropriate to start with Jetspeed 1.5 first? How much knowledge will
transfer to Jetspeed 2?
Randy Watler
Finali Corporation
 


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


Database dependency for jetspeed

2004-08-09 Thread Archana Turaga



Hi,
 Is there a clean way to handle database dependencies in Jetspeed. I
know that the initial home page psml is read from the database at
startup. My questions:
1) If the database is not up this information is not initialized and the
only way to recover from this is stop tomcat and start the database and
then restart tomcat. Is there a clean way to indicate that Jetspeed has
a dependency on the database being up?
2) Is it possible to put some polling logic somewhere once Jetspeed is
up and running so that once the database is up the home page is visible
and then if the database is down the message "Database is down" can be
printed?

Please help..we are trying to deploy this in test pretty soon and this
is a major hindrance.

Thanks in advance for all your time and patience.
Regards,
Archana


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



Velocity in Jetspeed-2 (tutorial)

2004-08-09 Thread Simonin, Bradley K. (Brad)
Is there going to be a tutorial for Jetspeed-2?  In addition will there
be a tutorial for connecting Jetspeed-2 to Velocity?

Thanks in Advance,

--Brad Simonin

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



Re: Build

2004-08-09 Thread Scott T. Weaver
It apperas, Maven 1.0 does not support the plugin:deploy goal anymore.  
However, this should not impact the allBuild goal of J2 as it never 
invokes plugin:deploy.  If you need to, the maven-plugin sub-project has 
a "deploy-plugin" goal that emulates very closely the the logic of 
plugin:deploy.

HTH
Philip Saville wrote:
Sorry, I was 6 out on the line number... I am having difficulties with
the maven plug-in.

Starting the reactor...
Our processing order:
Jetspeed 2 Maven Plugin
+
| Build and deploy the Jetspeed 2 Maven plugin Jetspeed 2 Maven Plugin
| Memory: 36M/53M
+

BUILD FAILED
File.. E:\jetspeed-2.0\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line.. 324
Column 40
Unable to obtain goal [deploy-plugin] --
E:\jetspeed-2.0\jakarta-jetspeed-2\maven-plugin\maven.xml:5
4:43:  No goal [plugin:deploy]
Total time: 4 minutes 28 seconds
Finished at: Fri Aug 06 21:54:37 PDT 2004

Please, any help would be greatly appreciated. Thanks,
Philip

-Original Message-
From: Philip Saville [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 06, 2004 6:06 PM
To: [EMAIL PROTECTED]
Subject: RE: Build


Hi,

I receive the exact same error. I referred to the issues in the Jetspeed
2 

Tiki, and still no luck :(

Thanks,
Philip


 

From: "Call, Terry M" <[EMAIL PROTECTED]>
   

 

Reply-To: "Jetspeed Users List" <[EMAIL PROTECTED]>
   

 

To: "Jetspeed Users List" <[EMAIL PROTECTED]>
   

 

Subject: Build
   

 

Date: Fri, 6 Aug 2004 14:22:05 -0500
   

 

 

I am new to jetspeed:
   

 

I had jetspeed 2 installed. Installed jestspeed 1.5 and took the
   

 

tutorial. Now when I try to build jetspeed 2 I get:
   

 

 

BUILD FAILED
   

 

File.. C:\IMICS\DevTools\jakarta-jetspeed-2\maven.xml
   

 

Element... maven:reactor
   

 

Line.. 318
   

 

Column 40
   

 

Unable to obtain goal [deploy-plugin] --
   

 

C:\IMICS\DevTools\jakarta-jetspeed-2\ma
   

 

ven-plugin\maven.xml:54:43:  No goal [plugin:deploy]
   

 

Total time: 3 minutes 49 seconds
   

 

Finished at: Fri Aug 06 13:35:07 CDT 2004
   

 

 

Any ideas?
   

 

 

-
   

 

To unsubscribe, e-mail: [EMAIL PROTECTED]
   

 

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

 


_
Express yourself instantly with MSN Messenger! Download today - it's
FREE! 

http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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

 


--
**
*   Scott T. Weaver  *
* <[EMAIL PROTECTED]>*
*    *
* -- *
*   Apache Jetspeed Enterprise Portal*
* Apache Pluto Portlet Container *
**
* OpenEditPro, Website Content Mangement *
*    *
**
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: How to change tabs layout from Horizonal to Vertical

2004-08-09 Thread Raphaƫl Luta
Sachdeva, Khemchand wrote:
I have the following entries in my .psml file.

This show tabs Charts and Reports stacked horizontally one after the
another.
What should I do if I want to be stacked vertically i.e. Reports on top of
Charts.
Use the MenuController instead of the TabController.
--
Raphael Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


How to change tabs layout from Horizonal to Vertical

2004-08-09 Thread Sachdeva, Khemchand
I have the following entries in my .psml file.



A






Charts












Reports












This show tabs Charts and Reports stacked horizontally one after the
another.

What should I do if I want to be stacked vertically i.e. Reports on top of
Charts.

Thanks
Khem

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