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:

For additional commands, e-mail:


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




RE: An input form portlet.

2002-11-27 Thread Martin Kisimov
Carlos it will be of interest if you can send the tutorial or a link of it
to the list too.
Thanks


-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]]
Sent: 27 November 2002 07:56
To: Jetspeed Users List
Subject: RE: An input form portlet.



> -Original Message-
> From: Carlos A. Andrade Olmos [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 26, 2002 2:42 PM
> To: [EMAIL PROTECTED]
> Subject: An input form portlet.
>
>
>
> Hello list:
>
>  I'm new to Jetspeed, as you'll see after reading my question.
>
> I'm trying to build a small protoype of a portal. Jetspeed seems
> like the ideal tool for that, however i've been unable to create
> a portlet with a form in it to feed the database (could be as
> simple as  "name", "last name"). I've read the jetspeed
> documentation, blusunrise tutorials and the threads here in the
> list, but I didn't found an example of this.
>
> could you point me in the right direction? maybe post and example?
>
>
> Thanks in advance.
>
Hi Carlos,

Funny I just started working on an example that does exactly that in the new
tutorial.
>From my past experiences, this type of portlet is one of the most common.
Give me a day or two. I'll send you an email directly when its ready.

Welcome to the list :)

David



--
To unsubscribe, e-mail:

For additional commands, e-mail:


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




RE: Jar file containing new portlets that enhance IFrame and webr writing capabilities

2002-11-25 Thread Martin Kisimov
another question with which I am struggling

I set an attribute in the WebBrowserPortlet, but is not available in a
simple jsp which I display in the portlet. Infact none of the attributes are
available in the jsp and the session.isNew method returns true.

I am a bit confused, as this happens all the time and new session gets
created all the time

Any answers to that?

On the other hand I made a listener which looks at when an attribute get
placed removed or replace in a session and all the attributes are there,
however via the jsp I do not get anything in terms of attributes.

Why is that


-Original Message-
From: Glen Carl [mailto:[EMAIL PROTECTED]]
Sent: 22 November 2002 10:04
To: Jetspeed Users List
Subject: Re: Jar file containing new portlets that enhance IFrame and
webr ewriting capabilities


Martin,
You may need to modify the util/WebBrowserRewriter.java to include the 
template reference. Follow the way styleSheetLocation is done, where a 
CSS link is placed in the head. The version we submitted has the style 
hard-coded, but in my current version I have made the style dynamic, and 
match the style to the skin. You will probably want to do the same for 
your Jsp templates. I chose to pass the skin selection between the 
IframeProxyPortlet and BrowserServlet via HttpSession 
setAttribute/getAttribute. If there is more interest in our proxy 
portlets, I will update the source to include this feature.
Glen

Martin Kisimov wrote:
> ok I got it to work, just have a few questions.
> 
> I am trying to implement a template which has standard navigations for
every
> jsp that gets displayed. I tested the functionality which specifies the
> standard navigation from jsp to jsp lets say, however i want toembed these
> jsps in a template and get it all displayed. Regardles of links I would
like
> to be able display the template at all times.
> 
> How possible is that
> 
> Thank you
> 


--
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: Jar file containing new portlets that enhance IFrame and webr ewriting capabilities

2002-11-25 Thread Martin Kisimov
thank you this sounds like the way to go, I just simply wanted to enquire,
do I follow the same methodology if I want to use the WebBrowserPortlet?

Thanks again


-Original Message-
From: Glen Carl [mailto:[EMAIL PROTECTED]]
Sent: 22 November 2002 10:04
To: Jetspeed Users List
Subject: Re: Jar file containing new portlets that enhance IFrame and
webr ewriting capabilities


Martin,
You may need to modify the util/WebBrowserRewriter.java to include the 
template reference. Follow the way styleSheetLocation is done, where a 
CSS link is placed in the head. The version we submitted has the style 
hard-coded, but in my current version I have made the style dynamic, and 
match the style to the skin. You will probably want to do the same for 
your Jsp templates. I chose to pass the skin selection between the 
IframeProxyPortlet and BrowserServlet via HttpSession 
setAttribute/getAttribute. If there is more interest in our proxy 
portlets, I will update the source to include this feature.
Glen

Martin Kisimov wrote:
> ok I got it to work, just have a few questions.
> 
> I am trying to implement a template which has standard navigations for
every
> jsp that gets displayed. I tested the functionality which specifies the
> standard navigation from jsp to jsp lets say, however i want toembed these
> jsps in a template and get it all displayed. Regardles of links I would
like
> to be able display the template at all times.
> 
> How possible is that
> 
> Thank you
> 


--
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: Jar file containing new portlets that enhance IFrame and webrewriting capabilities

2002-11-22 Thread Martin Kisimov
ok I got it to work, just have a few questions.

I am trying to implement a template which has standard navigations for every
jsp that gets displayed. I tested the functionality which specifies the
standard navigation from jsp to jsp lets say, however i want toembed these
jsps in a template and get it all displayed. Regardles of links I would like
to be able display the template at all times.

How possible is that

Thank you


-Original Message-
From: Casimiro Lovato-Winston [mailto:[EMAIL PROTECTED]]
Sent: 21 November 2002 07:49
To: Jetspeed Users List
Subject: RE: Jar file containing new portlets that enhance IFrame and
webrewriting capabilities


My apologies, I combined the entries in the demo-iframe.xreg demo-wbp.xreg
into one demo file, demo-proxy portlets. If the portlets are available but
not showing up check the log file and see if any debugging information tells
you anything like URL http: cannot be found or a Java error. BUTcome
to think of it if they are just blank it must be an xsl problem. make sure
that the rss.xsl file is located in a directory where it can be found by a
url. /jetspeed/WEB-INF/xsl/rss.xsl would be a good one since you can point
directly to it. Modify the properties for the portlet to reflect this and it
should work. I will set up a site later today for with the
demo-proxyportlets.xreg file examples.

If none of these things work send another email and we'll try again.

Thanks,

Casey

-Original Message-
From: Martin Kisimov [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 20, 2002 11:47 PM
To: 'Jetspeed Users List'
Subject: RE: Jar file containing new portlets that enhance IFrame and
webrewriting capabilities


Hi I have attempted to run through your example, however I am running into
some problems. I am a newbie, so maybe thats it. Can you pls help me out.

I followed your instructions and included the jar in the distribution, then
i added the provided demo-proxyportlets.xreg file in the WEB-INF/conf
directory and these are the parameters as i had them:





BBC In a WebBrowserPortlet
Portlet that rewrites all urls and retreives
them


org.apache.jetspeed.portal.portlets.WebBrowserPortlet
http://127.0.0.1:7001/jetspeed/rss/rss.xsl";
hidden="false" cachedOnName="true" cachedOnValue="true"/>

http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xm
l"
hidden="false" cachedOnName="true" cachedOnValue="true"/>
http://127.0.0.1:7001/jetspeed/browser";
hidden="false" cachedOnName="true" cachedOnValue="true"/>











WebBrowserPortlet
demo



BBC IFramed and Proxied
BBC In an Iframe with a servlet proxy


org.apache.jetspeed.portal.portlets.IframeProxyPortlet
http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xm
l"
hidden="false" cachedOnName="true" cachedOnValue="true"/>
http://127.0.0.1:7001/jetspeed/rss/rss.xsl";
hidden="false" cachedOnName="true" cachedOnValue="true"/>
http://127.0.0.1:7001/jetspeed/browser";
hidden="false" cachedOnName="true" cachedOnValue="true"/>






FNMOC
demo



after that i changed the web.xml and added the following:


browserServlet
org.apache.jetspeed.util.BrowserServlet
  

browserServlet
/browser
  

you guys have a mention to the following which i could not find:
IframeProxyPortlet - see the included demo-iframe.xreg file
WebBrowserPortlet - see the included demo-wbp.xreg file

what happens is that i can add the portlets but do not see them after they
have been added. If i go back to adding portlets, the 2 are there however i
can't remove them. very strange, but i still do not see them in my
normal pane


can you advise


-Original Message-
From: Casimiro Lovato-Winston [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2002 02:57
To: Jetspeed Users List
Subject: Jar file containing new portlets that enhance IFrame and
webrewriting capabilities


Hello,

We would like to submit to the group some portlet classes that we have been
working on for your review and use. Included here is a .jar file with source
for portlets and utility classes that do the following:

* navigate without leaving the portal
* handle XML->XSL transformations
* proxy information or content not available to the user
* be independent of cookies
* maintain session state whether data is proxied or
   directly avail

RE: Jar file containing new portlets that enhance IFrame and webrewriting capabilities

2002-11-21 Thread Martin Kisimov
Hi I have attempted to run through your example, however I am running into
some problems. I am a newbie, so maybe thats it. Can you pls help me out.

I followed your instructions and included the jar in the distribution, then
i added the provided demo-proxyportlets.xreg file in the WEB-INF/conf
directory and these are the parameters as i had them:





BBC In a WebBrowserPortlet
Portlet that rewrites all urls and retreives
them

 
org.apache.jetspeed.portal.portlets.WebBrowserPortlet
http://127.0.0.1:7001/jetspeed/rss/rss.xsl";
hidden="false" cachedOnName="true" cachedOnValue="true"/>

http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xm
l"
hidden="false" cachedOnName="true" cachedOnValue="true"/>
http://127.0.0.1:7001/jetspeed/browser";
hidden="false" cachedOnName="true" cachedOnValue="true"/>











WebBrowserPortlet
demo



BBC IFramed and Proxied
BBC In an Iframe with a servlet proxy

 
org.apache.jetspeed.portal.portlets.IframeProxyPortlet
http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/world/rss091.xm
l"
hidden="false" cachedOnName="true" cachedOnValue="true"/>
http://127.0.0.1:7001/jetspeed/rss/rss.xsl";
hidden="false" cachedOnName="true" cachedOnValue="true"/>
http://127.0.0.1:7001/jetspeed/browser";
hidden="false" cachedOnName="true" cachedOnValue="true"/>






FNMOC
demo



after that i changed the web.xml and added the following:


browserServlet
org.apache.jetspeed.util.BrowserServlet
  

browserServlet
/browser
  

you guys have a mention to the following which i could not find:
IframeProxyPortlet - see the included demo-iframe.xreg file
WebBrowserPortlet - see the included demo-wbp.xreg file

what happens is that i can add the portlets but do not see them after they
have been added. If i go back to adding portlets, the 2 are there however i
can't remove them. very strange, but i still do not see them in my
normal pane


can you advise


-Original Message-
From: Casimiro Lovato-Winston [mailto:[EMAIL PROTECTED]]
Sent: 20 November 2002 02:57
To: Jetspeed Users List
Subject: Jar file containing new portlets that enhance IFrame and
webrewriting capabilities


Hello,

We would like to submit to the group some portlet classes that we have been
working on for your review and use. Included here is a .jar file with source
for portlets and utility classes that do the following:

* navigate without leaving the portal
* handle XML->XSL transformations
* proxy information or content not available to the user
* be independent of cookies
* maintain session state whether data is proxied or
   directly available.
* allow pop-up content and navigation through html rewriting and
session
   management.

The classes included here are alpha-level and are intended to show what
we
have accomplished so far so that other developers can use/modify/comment
and we can all benefit. Unpack the jar file to see docs, source files,
and  class files, and a config file for your review. I will try to
setup a demo site soon.

DESCRIPTIONS

PORTLETS
IframeProxyPortlet - Portlet that renders an iframe in the portal. In
this case the portlet will pass references to an xsl style sheet(URL) and
the id of the portlet to the BrowserServlet which will use this information
to render content to the client and to maintain correct state for each
portlet it may be gathering content for. It also will know and inherit the
correct session information and know which cascading style sheet to use if
specified. This portlet is also independent from cookies.

WebBrowserPortlet - This a portlet that supports cookie-less operation,
xsl transformations, proxy content, session state, and navigation
without leaving the portlet. Settings allow parameters for url/html
rewriting, pop-up content, proxied information, and xsl style sheet url.

All feedback is greatly appreciated.

Thanks,
Casey Winston - [EMAIL PROTECTED]
Glen Carl - [EMAIL PROTECTED]

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




RE: extending jetspeed security model

2002-11-15 Thread Martin Kisimov
***
Your mail has been scanned by InterScan.
***-***


Pierre,

We have changed the names for all the tables, apart from the user table. Are
there any other constants we need to change in order for the generated
classes to conform


-Original Message-
From: Pierre Henry [mailto:phenry@;proconcept.ch]
Sent: 15 November 2002 03:04
To: Jetspeed Users List
Subject: RE: extending jetspeed security model


Martin, here are the steps I already went through :


1. Modify the torque schema.xml :

I changed the name of the table user to MYUSER, but I specified
JavaName=TurbineUser, so that the generated classes keep the same name.
Added the 'title' field.

...
 
...


I rebuilt to generate the peer classes.


2. Create a MyUser interface and a MyUserImpl class

MyUser extends JetspeedUser and add the setTitle and getTitle methods, and
the static final String TITLE = "title".

MyUserImpl extends BaseJetspeedUser and implements MyUser :

public class MyUserImpl extends BaseJetspeedUser implements MyUser {
public String getTitle(){
   return (String) getPerm(MyUser.TITLE);
}
public void setTitle(String title){
setPerm(PcsUser.TITLE, title);
}
}


3. Modifiy the JetspeedSecurity.* files

set
"services.JetspeedSecurity.user.class=myclasses.portal.om.security.MyUserImp
l"

Wherever this parameter appears.



I hope this can help you, and I hope this is the right way to do it :)

cheers

Pierre


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




RE: extending jetspeed security model

2002-11-15 Thread Martin Kisimov
***
Your mail has been scanned by InterScan.
***-***


Thank you Piere you are a great help

-Original Message-
From: Pierre Henry [mailto:phenry@;proconcept.ch]
Sent: 15 November 2002 03:04
To: Jetspeed Users List
Subject: RE: extending jetspeed security model


Martin, here are the steps I already went through :


1. Modify the torque schema.xml :

I changed the name of the table user to MYUSER, but I specified
JavaName=TurbineUser, so that the generated classes keep the same name.
Added the 'title' field.

...
 
...


I rebuilt to generate the peer classes.


2. Create a MyUser interface and a MyUserImpl class

MyUser extends JetspeedUser and add the setTitle and getTitle methods, and
the static final String TITLE = "title".

MyUserImpl extends BaseJetspeedUser and implements MyUser :

public class MyUserImpl extends BaseJetspeedUser implements MyUser {
public String getTitle(){
   return (String) getPerm(MyUser.TITLE);
}
public void setTitle(String title){
setPerm(PcsUser.TITLE, title);
}
}


3. Modifiy the JetspeedSecurity.* files

set
"services.JetspeedSecurity.user.class=myclasses.portal.om.security.MyUserImp
l"

Wherever this parameter appears.



I hope this can help you, and I hope this is the right way to do it :)

cheers

Pierre


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




RE: extending jetspeed security model

2002-11-15 Thread Martin Kisimov
***
Your mail has been scanned by InterScan.
***-***


it can be a good idea, however, we have specific requirements that specify a
single table for all users


-Original Message-
From: Werner Punz [mailto:w.punz@;labor-c.net]
Sent: 15 November 2002 12:55
To: Jetspeed Users List
Subject: AW: extending jetspeed security model


***
Your mail has been scanned by InterScan.
***-***


Hi I don´t know if that is a good idea, why don´t you store
your data in an extra table and relink both tables in a 1:1
relationship? 





-Ursprüngliche Nachricht-
Von: Martin Kisimov [mailto:MartinK@;discovery.co.za]
Gesendet: Freitag, 15. November 2002 10:13
An: 'Jetspeed Users List'
Betreff: extending jetspeed security model


***
Your mail has been scanned by InterScan.
***-***


Hi,

I am trying to extend the base jetspeed security model. By extend I
mean,
addition of a few extra columns to the USER table that jetspeed uses. We
have managed to use the oracle db and have jetspeed running of there. We
have different application apart from the portal which currently use
standalone user tables non jetspeed related. In order for us to
incorporate
all users into one table and still use the jetspeed security model we
need
the addition of extra columns which represent extra user data.

Where can we change code or configuration or take a certain approach to
modifying the user table so that jetspeed will pick up this extra info
and
use it.

Any help is appreciated


--
To unsubscribe, e-mail:
<mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:jetspeed-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:
<mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:jetspeed-user-help@;jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>




extending jetspeed security model

2002-11-15 Thread Martin Kisimov
***
Your mail has been scanned by InterScan.
***-***


Hi,

I am trying to extend the base jetspeed security model. By extend I mean,
addition of a few extra columns to the USER table that jetspeed uses. We
have managed to use the oracle db and have jetspeed running of there. We
have different application apart from the portal which currently use
standalone user tables non jetspeed related. In order for us to incorporate
all users into one table and still use the jetspeed security model we need
the addition of extra columns which represent extra user data.

Where can we change code or configuration or take a certain approach to
modifying the user table so that jetspeed will pick up this extra info and
use it.

Any help is appreciated


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




RE: Weblogic deployment

2002-11-12 Thread Martin Kisimov
I did not need anything else, however I deleted them META directory which
occurs when unpackaging all the jars.When repackaging just package all the
exploded files in one jar. Place it in the lib directory, create the war
with all the standard thing that were in the downloadable war jetspeed file.

This worked for me


-Original Message-
From: Karen Davies [mailto:kdavies@;ecceleration.ie]
Sent: 12 November 2002 02:57
To: 'Jetspeed Users List'
Subject: RE: Weblogic deployment


I could really do with some help deploying jetspeed on weblogic.  I have
been succesfully running jetspeed with tomcat, but am unclear as to what
configuration changes are required for weblogic.

I copied over the entire webapps folder from tomcat to weblogic.
Now when i try to open http://localhost:7007/jetspeed/ it directs me to the
index.jsp, which i then believe should forward me onto the desired page ??

I was wondering if any additions are required in weblogic.properties, or if
the web.xml needs to be changed.  All in all am a bit lost.  If anyone has a
weblogic.properties file and a startweblogic.cmd that they have working and
they wouldn't mind sharing, could they please send it to me
([EMAIL PROTECTED])

Or if anyone knows of any guides or documentation for converting to weblogic
that'd be great.


Thanks,
Karen. 

-Original Message-
From: Martin Kisimov [mailto:MartinK@;discoveryhealth.co.za]
Sent: Monday, November 11, 2002 7:51 AM
To: 'Jetspeed Users List'
Subject: RE: Weblogic deployment


I know you figured it out by exploding the jars in the classes directory.
Another approach is to explode all the jars and repackage the all as one and
place the jar in the lib directory. That works for me too

-Original Message-
From: Luc Dewavrin [mailto:luc_dewavrin@;yahoo.com]
Sent: 08 November 2002 05:14
To: Jetspeed Users List
Subject: Re: Weblogic deployment


Sorry, i am not going to answer your problem.
But as we are many on the list who didn't manage
to install jetspeed on Weblogic, could you tell us
what modifications you did?
Did you compile jetspeed from the sources or have
you just modified web.xml and other stuffs?

When i deploy jetspeed.war on Weblogic,
it deploys it as "null" web application and i don't
know why ?

Thanks,
Luc 


 --- Martin Kisimov <[EMAIL PROTECTED]> a
écrit : > 
> 
> Good day,
> 
> I am new to the list and please excuse me if I am
> asking maybe a silly
> question.
> 
> I deployed the jetspeed war as it comes from the
> site. This was done with
> small repackaging so that it deploys correctly. The
> application deploys and
> runs correctly however I get the following exception
> in the logs(This
> happens when I first hit the site and never after
> that):
> 
> <2002/11/08 12:16:20>   <101005>
>
<[ServletContext(id=1785502,name=jetspeed,context-path=/jetspeed)]
> getRealPath() called with unsafe path: "."
>
weblogic.utils.io.FilenameEncoder$UnsafeFilenameException:
> C:\project\. ends
> with illegal characterat
>
weblogic.utils.io.FilenameEncoder.getSafeFile(FilenameEncoder.java:208)
> at
>
weblogic.servlet.internal.WebAppServletContext.getRealPath(WebAppServletCont
> ext.java:683) at
>
org.apache.turbine.services.servlet.TurbineServletService.getRealPath(Turbin
> eServletService.java:185) at
>
org.apache.turbine.services.servlet.TurbineServlet.getRealPath(TurbineServle
> t.java:120)   at
>
org.apache.turbine.services.upload.BaseUploadService.init(BaseUploadService.
> java:95)  at
>
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
> ava:306)  at
>
org.apache.turbine.services.upload.TurbineUpload.getService(TurbineUpload.ja
> va:88)at
>
org.apache.turbine.services.upload.TurbineUpload.getAutomatic(TurbineUpload.
> java:104) at
>
org.apache.turbine.util.parser.DefaultParameterParser.setRequest(DefaultPara
> meterParser.java:183) at
>
org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters(Defa
> ultTurbineRunData.java:502)   at
> org.apache.turbine.Turbine.doGet(Turbine.java:414) 
> at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
> tStubImpl.java:945)   at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :332) at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :242) at
>
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis
> patcherImpl.java:341) at
>
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
>

Linking jsp from portlet

2002-11-12 Thread Martin Kisimov

Hi,

I am a newbie in jetspeed. I just wanted to find out how I can link from a
portlet to a JSP and remain within the jetspeed framework. In other words
how i can have all the portlets available but the content of one change with
available links and so on...

Thank you

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




RE: Weblogic deployment

2002-11-10 Thread Martin Kisimov
I know you figured it out by exploding the jars in the classes directory.
Another approach is to explode all the jars and repackage the all as one and
place the jar in the lib directory. That works for me too

-Original Message-
From: Luc Dewavrin [mailto:luc_dewavrin@;yahoo.com]
Sent: 08 November 2002 05:14
To: Jetspeed Users List
Subject: Re: Weblogic deployment


Sorry, i am not going to answer your problem.
But as we are many on the list who didn't manage
to install jetspeed on Weblogic, could you tell us
what modifications you did?
Did you compile jetspeed from the sources or have
you just modified web.xml and other stuffs?

When i deploy jetspeed.war on Weblogic,
it deploys it as "null" web application and i don't
know why ?

Thanks,
Luc 


 --- Martin Kisimov <[EMAIL PROTECTED]> a
écrit : > 
> 
> Good day,
> 
> I am new to the list and please excuse me if I am
> asking maybe a silly
> question.
> 
> I deployed the jetspeed war as it comes from the
> site. This was done with
> small repackaging so that it deploys correctly. The
> application deploys and
> runs correctly however I get the following exception
> in the logs(This
> happens when I first hit the site and never after
> that):
> 
> <2002/11/08 12:16:20>   <101005>
>
<[ServletContext(id=1785502,name=jetspeed,context-path=/jetspeed)]
> getRealPath() called with unsafe path: "."
>
weblogic.utils.io.FilenameEncoder$UnsafeFilenameException:
> C:\project\. ends
> with illegal characterat
>
weblogic.utils.io.FilenameEncoder.getSafeFile(FilenameEncoder.java:208)
> at
>
weblogic.servlet.internal.WebAppServletContext.getRealPath(WebAppServletCont
> ext.java:683) at
>
org.apache.turbine.services.servlet.TurbineServletService.getRealPath(Turbin
> eServletService.java:185) at
>
org.apache.turbine.services.servlet.TurbineServlet.getRealPath(TurbineServle
> t.java:120)   at
>
org.apache.turbine.services.upload.BaseUploadService.init(BaseUploadService.
> java:95)  at
>
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
> ava:306)  at
>
org.apache.turbine.services.upload.TurbineUpload.getService(TurbineUpload.ja
> va:88)at
>
org.apache.turbine.services.upload.TurbineUpload.getAutomatic(TurbineUpload.
> java:104) at
>
org.apache.turbine.util.parser.DefaultParameterParser.setRequest(DefaultPara
> meterParser.java:183) at
>
org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters(Defa
> ultTurbineRunData.java:502)   at
> org.apache.turbine.Turbine.doGet(Turbine.java:414) 
> at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
> tStubImpl.java:945)   at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :332) at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :242) at
>
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis
> patcherImpl.java:341) at
>
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
> r.java:721)   at
>
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
> l.java:251)   at
>
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:115)
>   at
> jsp_servlet.__index._jspService(__index.java:91)  at
>
weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
>   at
>
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
> tStubImpl.java:945)   at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :332) at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :376) at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :242) at
>
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
> ebAppServletContext.java:5363)at
>
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
> r.java:721)   at
>
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
> ntext.java:3043)  at
>
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
> :2466)at
>
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
> at
>
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
> > 
> 
> I have to modified any code or anything like that
> simple repackage at run
> 
> It seemed at first as an easy problem but I realised
> I could no

RE: Weblogic deployment

2002-11-10 Thread Martin Kisimov
Luta,

Thank you very much. This solved the problem.

Regards
Martin


-Original Message-
From: Luta, Raphael (VUN) [mailto:Raphael.Luta@;groupvu.Com]
Sent: 08 November 2002 06:01
To: 'Jetspeed Users List'
Subject: RE: Weblogic deployment


De : Martin Kisimov [mailto:MartinK@;discoveryhealth.co.za]
> 
> Good day,
> 
> I am new to the list and please excuse me if I am asking maybe a silly
> question.
> 
> I deployed the jetspeed war as it comes from the site. This 
> was done with
> small repackaging so that it deploys correctly. The 
> application deploys and
> runs correctly however I get the following exception in the logs(This
> happens when I first hit the site and never after that):
> 

Looking at your stack trace, it seems that the error occurs during 
the initialization of Turbine Upload service, even before Jetspeed is 
invoked.
>From the error message, I'd assume that Weblogic does not like the 
default upload path reference in TurbineResources.properties

services.UploadService.repository=.

Try modifying this reference to 

services.UploadService.repository=${webapp}/WEB-INF/tmp

this should help...

> <2002/11/08 12:16:20>   <101005>
> <[ServletContext(id=1785502,name=jetspeed,context-path=/jetspeed)]
> getRealPath() called with unsafe path: "."
> weblogic.utils.io.FilenameEncoder$UnsafeFilenameException: 
> C:\project\. ends
> with illegal characterat
> weblogic.utils.io.FilenameEncoder.getSafeFile(FilenameEncoder.
> java:208)
> at
> weblogic.servlet.internal.WebAppServletContext.getRealPath(Web
> AppServletCont
> ext.java:683) at
> org.apache.turbine.services.servlet.TurbineServletService.getR
> ealPath(Turbin
> eServletService.java:185) at
> org.apache.turbine.services.servlet.TurbineServlet.getRealPath
> (TurbineServle
> t.java:120)   at
> org.apache.turbine.services.upload.BaseUploadService.init(Base
> UploadService.
> java:95)  at
> org.apache.turbine.services.BaseServiceBroker.getService(BaseS
> erviceBroker.j
> ava:306)  at
> org.apache.turbine.services.upload.TurbineUpload.getService(Tu
> rbineUpload.ja
> va:88)at
> org.apache.turbine.services.upload.TurbineUpload.getAutomatic(
> TurbineUpload.
> java:104) at
> org.apache.turbine.util.parser.DefaultParameterParser.setReque
> st(DefaultPara
> meterParser.java:183) at
> org.apache.turbine.services.rundata.DefaultTurbineRunData.getP
> arameters(Defa
> ultTurbineRunData.java:502)   at
> org.apache.turbine.Turbine.doGet(Turbine.java:414)at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740)  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)  at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct
> ion.run(Servle
> tStubImpl.java:945)   at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java
> :332) at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java
> :242) at
> weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.
> run(RequestDis
> patcherImpl.java:341) at
> weblogic.security.service.SecurityServiceManager.runAs(Securit
> yServiceManage
> r.java:721)   at
> weblogic.servlet.internal.RequestDispatcherImpl.forward(Reques
> tDispatcherImp
> l.java:251)   at
> weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.j
> ava:115)  at
> jsp_servlet.__index._jspService(__index.java:91)  at
> weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAct
> ion.run(Servle
> tStubImpl.java:945)   at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java
> :332) at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java
> :376) at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Servle
> tStubImpl.java
> :242) at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocati
> onAction.run(W
> ebAppServletContext.java:5363)at
> weblogic.security.service.SecurityServiceManager.runAs(Securit
> yServiceManage
> r.java:721)   at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(W
> ebAppServletCo
> ntext.java:3043)  at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRe
> questImpl.java
> :2466)at 
> weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133) > 
> 
> I have to modified any code or anything like that simple 
> repackage at run
> 
> It seemed at first as an easy problem but I realised I could 
> not trace th

Weblogic deployment

2002-11-08 Thread Martin Kisimov


Good day,

I am new to the list and please excuse me if I am asking maybe a silly
question.

I deployed the jetspeed war as it comes from the site. This was done with
small repackaging so that it deploys correctly. The application deploys and
runs correctly however I get the following exception in the logs(This
happens when I first hit the site and never after that):

<2002/11/08 12:16:20>   <101005>
<[ServletContext(id=1785502,name=jetspeed,context-path=/jetspeed)]
getRealPath() called with unsafe path: "."
weblogic.utils.io.FilenameEncoder$UnsafeFilenameException: C:\project\. ends
with illegal character  at
weblogic.utils.io.FilenameEncoder.getSafeFile(FilenameEncoder.java:208)
at
weblogic.servlet.internal.WebAppServletContext.getRealPath(WebAppServletCont
ext.java:683)   at
org.apache.turbine.services.servlet.TurbineServletService.getRealPath(Turbin
eServletService.java:185)   at
org.apache.turbine.services.servlet.TurbineServlet.getRealPath(TurbineServle
t.java:120) at
org.apache.turbine.services.upload.BaseUploadService.init(BaseUploadService.
java:95)at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.j
ava:306)at
org.apache.turbine.services.upload.TurbineUpload.getService(TurbineUpload.ja
va:88)  at
org.apache.turbine.services.upload.TurbineUpload.getAutomatic(TurbineUpload.
java:104)   at
org.apache.turbine.util.parser.DefaultParameterParser.setRequest(DefaultPara
meterParser.java:183)   at
org.apache.turbine.services.rundata.DefaultTurbineRunData.getParameters(Defa
ultTurbineRunData.java:502) at
org.apache.turbine.Turbine.doGet(Turbine.java:414)  at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)   at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)   at
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(RequestDis
patcherImpl.java:341)   at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721) at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp
l.java:251) at
weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:115)  at
jsp_servlet.__index._jspService(__index.java:91)at
weblogic.servlet.jsp.JspBase.service(JspBase.java:27)   at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
tStubImpl.java:945) at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:332)   at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:376)   at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:242)   at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:5363)  at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721) at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:3043)at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2466)  at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133) > 

I have to modified any code or anything like that simple repackage at run

It seemed at first as an easy problem but I realised I could not trace the
exception within the code to some specific reason.

Any help is appreciated

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