RE: Deploying a portlet

2005-03-18 Thread Priya Subramanian
Hi Martin,

I tried putting the entry in the default-page.psml. I replaced an entry
for the "Pick a number" portlet with mine. But there is a fragment id
which I need to specify. From where will I get this id? If I put some
random number, does it need to be associated in any other file? Plz
help. Thanks in advance. 


Regards,
 
Priya Subramanian
Systems Integration
Infosys Technologies Ltd.
Ext. No: 62965, Mob: 9880200241.

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Martin Dulisch
Sent: Friday, March 18, 2005 8:40 PM
To: jetspeed-user@jakarta.apache.org
Subject: Re: Deploying a portlet

Have you added your portlet to a portal page. You can do this for
example by adding it to jetspeed/WEB-INF/pages/default-page.psml. May be
jetspeed expands your war when the portlet is accessed.

You could also look into the jetspeed/logs/deployment.log file. Is there
an error.

HTH, Martin


Priya Subramanian wrote:
> Hi,
> I am naive to jetspeed. My problem is how to deploy a custom portlet 
> into Jetspeed 2. I tried creating  a portlet war (mydemo) file and put

> it in the web-inf/deploy directory of the jetspeed. But when I restart

> the tomcat, only an empty folder named mydemo is getting created in 
> the webapps folder. I cant even find any error entry in the logs. Can 
> anyone point me to some document which describes the procedure to 
> deploy a portlet in jetspeed 2? Thanks in advance.
> 


-
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: WSRP4j is available on current Jetspeed 2 or not?

2005-03-18 Thread Zhonghui Ning
Hello David,
Thanks for your reply.  I couldn't wait until May due to my job. Is it 
possible or not I get together jetspeed 2 and wsrp4j in few days?

I have made wsrp4j working on pluto. It looks very simple. The 
proxyportlet was deployed in a pluto and changed the 
portletentityregistry.xml. That's enough for pluto. But it seems that's 
not enough for jetspeed 2. I deployed proxyportlet in jetspeed 2 and 
assigned values to wsrp_portlet_handle and wsrp_producer_id. But it 
doesn't work. The error is "Producer didn't provide a valid service 
description".

Could you give me some suggestion? Thanks.
Regards,
Zhonghui


David Sean Taylor wrote:
Zhonghui Ning wrote:
I can not make WSRP4j working on jetspeed 2(download from CVS). Can 
anyone tell me WSRP4j is available on current Jetspeed 2 or not? Thanks.

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

We plan to integrate WSRP4j + Jetspeed for the final 2.0 release (May 
2005?..)


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


JAASSessionValidator error with struts-bridge

2005-03-18 Thread Jeff Sheets
We are using the JAASSessionValidator to authenticate against
Weblogic.  We are also using the struts-bridge, if that matters.

We are able to authenticate ok, and reach the front page of any
portlet.  However, after clicking on the link to take us to the next
page, we receive an error like the following.

Has anybody seen this before?  Does anyone have any ideas or clues? 
The problem goes away when I turn off the JAASSessionValidator.  I
think it has to do with the session being lost, because it works
sometimes but not always.
-- Jeff



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



Jetspeed2 status

2005-03-18 Thread Vladimir Simjanoski
Hello, 

I've to choose a Portlet API (JSR 168) implementation and code/deploy
some portlets on it.
Since I prefer Apache (based on my experience) against other open
source implementations, I've took a look at the Jetspeed2.
It seems to me that the site is not properly updated. Can someone tell
me the actual status of Jetspeed2?
One more newbie question ... Where can i download unnecessary jar(s)
file (portlet.jar?) for my portlets (javax.portlet package?). Can it
be downloaded separately (I couldn't find it on the Internet) from
coresponding portal implementations?


Thanx, 
Vladimir

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



Re: Gems Project Status

2005-03-18 Thread Ken Ramirez
There are already in great number of portlets in the project, although 
they are still pre-1.0 release at this point. They need some polishing 
and then we should be able to move to a first release of the project. 
Within the next two weeks, I'll be focusing on adding some new portlets 
and making some modifications to the existing ones.

If you are interested in learning more about the project or wish to 
participate, please visit: https://gems.dev.java.net/

Thanks,
Ken
Rajesh Jain wrote:
What is the status of Gems Project, has the project
started?
Rajesh. 

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

--
************
Stay on top of all things regarding JSR-168 Portlet and
Portal development by bookmarking the authority on the
subject: http://community.java.net/portlet
*
* News
* Weblogs
* Community Tips
* Portlet and Portal Projects
* Featured Articles
* And much more
*
************
Ken Ramirez
Send mail to: mailto://[EMAIL PROTECTED]
Check out the website: http://www.TheJavaThinkTank.org
Check out my Blog at: http://weblogs.java.net/blog/ken_ramirez
************
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


What is the Status of Jetspeed 2 ??

2005-03-18 Thread Hampton, Thomas

I'm currently using Jetspeed 1.5 and I would like to upgrade to Jetspeed
2 as soon as it is reasonable to do so.  But I can't tell from the
Jetspeed 2 website what the current status is.

Is Jetspeed 2 released ?  When will it be released ?

Is the 'M1' release a production release or is it "Alfa" or "Beta" ?


Thanks,
Tom


Gems Project Status

2005-03-18 Thread Rajesh Jain
What is the status of Gems Project, has the project
started?


Rajesh. 


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



Redirection problems with Fusion

2005-03-18 Thread Khanh . MAUDOUX
Hi,

 

I'm using Jetspeed1-6-DEV with the plugin "Fusion" to support portlets jsr168.

 

 

On EDIT mode, when I submit the form I am always redirected to my default page. 

When returning on the portlet page, the portlet controls are still on EDIT mode 
but its content is on VIEW mode. When refreshing the window, the portlet is set 
on view mode...

This behaviour appears only on portlets jsr168.

 

It seems that the createActionURL does not construct the right URL.  

 

Here is my portlet source:

 

public void processAction (ActionRequest request,  ActionResponse 
actionResponse) throws PortletException, java.io.IOException{

//corresponding action to test4.jsp part1:'checkAction'

String removeName = request.getParameter("remove");

if (removeName!=null)  {

PortletPreferences prefs = request.getPreferences();

prefs.reset(removeName);

prefs.store();

}

 

String add = request.getParameter("add");

if (add!=null){

PortletPreferences prefs = request.getPreferences();

prefs.setValue(request.getParameter("name"),  
request.getParameter("value"));

prefs.store();

}



PortletMode pm = request.getPortletMode();

if (pm.equals(PortletMode.EDIT))   {

actionResponse.setPortletMode(PortletMode.VIEW);

}

}

 

 

 

public void doEdit (RenderRequest request, RenderResponse response) throws 
PortletException, IOException{

response.setContentType("text/html");



String jspName = getPortletConfig().getInitParameter("jspEdit");



// generate action urls

PortletURL addUrl = response.createActionURL();



addUrl.setPortletMode(PortletMode.VIEW);

addUrl.setParameter("add","add");

request.setAttribute("addUrl",addUrl.toString());



PortletURL cancelUrl = response.createRenderURL();

cancelUrl.setPortletMode(PortletMode.VIEW);

request.setAttribute("cancelUrl",cancelUrl.toString());

 

PortletRequestDispatcher rd = 
getPortletContext().getRequestDispatcher(jspName);

 

rd.include(request,response);

}

 

 

Thanks, Khanh

 



Re: Develop & deploy a portlet(Tomcat)

2005-03-18 Thread Martin Dulisch
You can find some info on the wiki. I dont know another document.
Martin
Priya Subramanian wrote:
Hi, 
Can anyone point me to some good document for developing and deploying
a portlet in jetspeed 2?
 


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


Re: Deploying a portlet

2005-03-18 Thread Martin Dulisch
Have you added your portlet to a portal page. You can do this for 
example by adding it to jetspeed/WEB-INF/pages/default-page.psml. May be 
jetspeed expands your war when the portlet is accessed.

You could also look into the jetspeed/logs/deployment.log file. Is there 
an error.

HTH, Martin
Priya Subramanian wrote:
Hi,
I am naive to jetspeed. My problem is how to deploy a custom portlet
into Jetspeed 2. I tried creating  a portlet war (mydemo) file and put
it in the web-inf/deploy directory of the jetspeed. But when I restart
the tomcat, only an empty folder named mydemo is getting created in the
webapps folder. I cant even find any error entry in the logs. Can anyone
point me to some document which describes the procedure to deploy a
portlet in jetspeed 2? Thanks in advance.

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


Re: [J2] Logging in portlets

2005-03-18 Thread Martin Dulisch
Thanks for your answer Thomas,
I have some additional questions:
- do you have a seperate log4j.properties file in web-inf/classes of 
your portlet or is it the file from jetspeed/conf

- are you using log4j logger in your class or commons-logging
Thanks, Martin

[EMAIL PROTECTED] wrote:
hi !
my logging with log4j and tomcat 5.0.28 and cvs-version from 2.5 weeks 
works fine.
the property is in webinf/classes and the log is on desktop, because i'am 
starting tomcat from this point.

thomas

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


Re: importing PSML into the database - where do I put the driver?

2005-03-18 Thread David Sean Taylor
Sven Richter wrote:
He also mentioned that I have to update the path to include the 
jetspeed  1.5 jar. But I don't know how. I tried several things, but I 
know always  get the error message, that the file 
NULL/.../TurbineResources.properties  was not found. Maven is looking in 
the wrong directory (in NULL). Could  you (or somebody else) send me an 
example of this file and/or  $HOME/build.properties, so that I can 
figure out how?

Didn't you say that you created your project with the Jetspeed Plugin?
If so, then it appears that you will need to copy your ./src/webapp 
directory to ./webapp, and you will need a TurbineResources.properties 
file located in ./webapp/WEB-INF/conf/TurbineResources.properties

--
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: Develop & deploy a portlet(Tomcat)

2005-03-18 Thread Shah Amit
Hi Priya,
http://wiki.apache.org/portals/Jetspeed2/DeployingCustomPortlets is a 
wiki for what you need.

Also the wiki pages are a very good source of information for lot of stuff 
around jetspeed. Besides that, they have a little bit documentation on the 
website itself. It is not complete, but can get you started a little bit. 
They have good documentation for the security model of jetspeed 2, the 
layout/decorators modules and the struts-bridge for jetspeed.

Original Message Follows
From: "Priya Subramanian" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: 
Subject: Develop & deploy a portlet(Tomcat)
Date: Fri, 18 Mar 2005 19:59:36 +0530
Hi,
Can anyone point me to some good document for developing and deploying
a portlet in jetspeed 2?

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


Develop & deploy a portlet(Tomcat)

2005-03-18 Thread Priya Subramanian
Hi, 
Can anyone point me to some good document for developing and deploying
a portlet in jetspeed 2?
 


Deploying a portlet

2005-03-18 Thread Priya Subramanian
Hi,
I am naive to jetspeed. My problem is how to deploy a custom portlet
into Jetspeed 2. I tried creating  a portlet war (mydemo) file and put
it in the web-inf/deploy directory of the jetspeed. But when I restart
the tomcat, only an empty folder named mydemo is getting created in the
webapps folder. I cant even find any error entry in the logs. Can anyone
point me to some document which describes the procedure to deploy a
portlet in jetspeed 2? Thanks in advance.


Re: importing PSML into the database - where do I put the driver?

2005-03-18 Thread Sven Richter
Hello,
thanks for your response, but that wasn't the solution either,  
unfortunately. I don't think, it's that maven can't find the driver for  
MySql. I think Maven just can't find the goal 'import'. So I tried to make  
the tip of David Sean Taylor to work:

I created a file 'maven.xml' and wrote as suggested:

description="Import PSML">



  





  



He also mentioned that I have to update the path to include the jetspeed  
1.5 jar. But I don't know how. I tried several things, but I know always  
get the error message, that the file NULL/.../TurbineResources.properties  
was not found. Maven is looking in the wrong directory (in NULL). Could  
you (or somebody else) send me an example of this file and/or  
$HOME/build.properties, so that I can figure out how?

Thank you very much,
Sven.

Am Fri, 18 Mar 2005 08:19:05 +0100 schrieb Boukhalfa BRAHITI  
<[EMAIL PROTECTED]>:

HY,
I imported psml i my Postregsql yesterday. I tried several solutions and
finally I put the driver in the path %JAVA_HOME%\jre\lib\ext and it  
works.

I hope it will help you.
-Message d'origine-
DeÂ: Sven Richter [mailto:[EMAIL PROTECTED]
EnvoyÃÂ: jeudi 17 mars 2005 17:49
ÃÂ: Jetspeed Users List
ObjetÂ: Re: importing PSML into the database - where do I put the driver?
Hello,
First, thanks for your quick response.
I did everything you mentioned there. But I still get the error message:
=
[MyPortal]# maven import
  __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
BUILD FAILED
Goal "import" does not exist in this project.
Total time: 4 seconds
Finished at: Thu Mar 17 17:30:59 CET 2005
=
That doesn't seem to be the problem. I also didn't understand where you
put the mysql.xml (./etc/project-dependencies/ <= I don't have any such
directory). So I added the statement directly into the project.xml.
Thank you very much,
Sven.
Am Thu, 17 Mar 2005 15:43:59 +0100 schrieb Roel van Dijk
<[EMAIL PROTECTED]>:
I didn't do this, but I guess it should work. For my project I altered
some of the files in the Jetspeed source directories. Read my
description from earlier this week on:
http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg15698.html
Roel

-Oorspronkelijk bericht-
I works for you? Did you put it into your HOME-Directory and not
into your
project-root-directory (did you just create a new file or did it  
already
exist)?  Could you please post your file as an example please?

>> > I did see this, but was unsure how to use it. Where do I define
these
>> > variables ${org.apache.jetspeed.test.jdbc.j1.drivers.path} ?
>>
>> in your $HOME/build.properties


-
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]

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