Certification in JetSpeed

2005-03-22 Thread Carlos Torres
Hello for all.

Anybody knows if jetspeed support certification as x509 ?  Anybody already made 
it ? 

Any help is very welcome.

Thanks.

Carlos Torres

JetSpeed/Tomcat stress test Error

2005-03-10 Thread Carlos Torres
 
Hello to all,

I have been making some stress tests on tomcat using JMeter tool and at any 
time the tomcat shutdown and generate the exception below. Anybody already got 
it or know what is it?

I'm using JetSpeed 1.5

Thanks for the help

Regards

Carlos Torres.



Unexpected Signal : EXCEPTION_ILLEGAL_INSTRUCTION (0xc01d) occurred at 
PC=0x804F702
Function=[Unknown.]
Library=C:\j2sdk1.4.2_07\jre\bin\client\jvm.dll

NOTE: We are unable to locate the function name symbol for the error
  just occurred. Please refer to release documentation for possible
  reason and solutions.


Current Java thread:
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:141)
 at 
org.apache.turbine.services.assemblerbroker.util.java.JavaBaseFactory.getAssembler(JavaBaseFactory.java:93)
 at 
org.apache.turbine.services.assemblerbroker.util.java.JavaPageFactory.getAssembler(JavaPageFactory.java:69)
 at 
org.apache.turbine.services.assemblerbroker.TurbineAssemblerBrokerService.getAssembler(TurbineAssemblerBrokerService.java:189)
 at org.apache.turbine.modules.PageLoader.getInstance(PageLoader.java:153)
 at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
 at org.apache.turbine.Turbine.doGet(Turbine.java:563)
 at org.apache.turbine.Turbine.doPost(Turbine.java:658)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
 at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
 at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
 at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
 at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
 at java.lang.Thread.run(Thread.java:534)

Dynamic libraries:
0x0040 - 0x0040B000  C:\j2sdk1.4.2_07\bin\java.exe
0x77F5 - 0x77FFB000  C:\WINDOWS\System32\ntdll.dll
0x77E5 - 0x77F4  C:\WINDOWS\system32\kernel32.dll
0x77DB - 0x77E4D000  C:\WINDOWS\system32\ADVAPI32.dll
0x7800 - 0x78087000  C:\WINDOWS\system32\RPCRT4.dll
0x77BF - 0x77C43000  C:\WINDOWS\system32\MSVCRT.dll
0x0800 - 0x08138000  C:\j2sdk1.4.2_07\jre\bin\client\jvm.dll
0x77D2 - 0x77DB  C:\WINDOWS\system32\USER32.dll
0x7F00 - 0x7F041000  C:\WINDOWS\system32\GDI32.dll
0x76B2 - 0x76B4D000  C:\WINDOWS\System32\WINMM.dll
0x6BD0 - 0x6BD0D000  C:\WINDOWS\System32\SYNCOR11.DLL
0x1000 - 0x10007000  C:\j2sdk1.4.2_07\jre\bin\hpi.dll
0x0039 - 0x0039E000  C:\j2sdk1.4.2_07\jre\bin\verify.dll
0x003A - 0x003B9000  C:\j2sdk1.4.2_07\jre\bin\java.dll
0x003C - 0x003CD000  C:\j2sdk1.4.2_07\jre\bin\zip.dll
0x003F - 0x003FF000  C:\j2sdk1.4.2_07\jre\bin\net.dll
0x71A7 - 0x71A85000  C:\WINDOWS\System32\WS2_32.dll
0x71A6 - 0x71A68000  C:\WINDOWS\System32\WS2HELP.dll
0x71A1 - 0x71A4C000  C:\WINDOWS\System32\mswsock.dll
0x76F0 - 0x76F25000  C:\WINDOWS\System32\DNSAPI.dll
0x76F9 - 0x76F97000  C:\WINDOWS\System32\winrnr.dll
0x76F4 - 0x76F6D000  C:\WINDOWS\system32\WLDAP32.dll
0x76FA - 0x76FA5000  C:\WINDOWS\System32\rasadhlp.dll
0x71A5 - 0x71A58000  C:\WINDOWS\System32\wshtcpip.dll
0x76C7 - 0x76C92000  C:\WINDOWS\system32\imagehlp.dll
0x6DA7 - 0x6DAED0

Re: RSS Portlet

2005-02-17 Thread Carlos Torres
Thanks Chris, i found it.

If anybody need or like to know, the answer is

Copy the xalan.jar from Jetspeed distribution to
$CATALINA_HOME/common/endorsed directory (or JDK endorsed directory)

See you.

Carlos.

- Original Message - 
From: "chris holt" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" ; "Apache
JetSpeed Dev" 
Sent: Thursday, February 17, 2005 12:27 PM
Subject: RE: RSS Portlet


This is a known issue and there is a FAQ on it at the Jetspeed web site.

Chris

-----Original Message-
From: Carlos Torres [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 17, 2005 11:22 AM
To: Apache JetSpeed Dev; Apache JetSpeed User
Subject: RSS Portlet


Hi people,

I'm trying to put RSS portlets to my user and all of them are showing
this error:

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException:
The output format must have a
'{http://xml.apache.org/xalan}content-handler' property!

Anybody knows what it is?

Thanks.

regards,

Carlos.

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



RSS Portlet

2005-02-17 Thread Carlos Torres
Hi people,

I'm trying to put RSS portlets to my user and all of them are showing this 
error:

problem in SAX transform: org.apache.xml.utils.WrappedRuntimeException: The 
output format must have a '{http://xml.apache.org/xalan}content-handler' 
property! 

Anybody knows what it is?

Thanks.

regards,

Carlos.

Re: Read a psml file

2005-02-09 Thread Carlos Torres
Hi
You could read the parameter in the psml file as a XML file with DOM or SAX
API.
I didn't know if it is your question, if not explain better
If you need to change the attribute or parameter in the psml you could read
it and transform in a DOM object and write it back, with the new attribute,
in the file.

Carlos Torres.

- Original Message - 
From: "zaza" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Wednesday, February 09, 2005 10:27 AM
Subject: Re: Read a psml file


> David Sean Taylor wrote:
> > angeloimm wrote:
> >
> >> Hi all; if i know the psml name... how could i have a parameter in
> >> this psml file?
> >
> >
> > Not sure if I understand the question, but I'll try.
> > To change the parameters on a portlet instance, you can edit the psml
> > file  by hand, for example the StockQuote portlet, override the default
> > init parameters on a portlet instance:
> >
> > 
> > 
> > 
> > 
> > 
> >
> > 
> >
> > 
> >
> > or change them from the running portlet. For example the StockQuote
> > portlet provides an edit mode to edit the parameters
> >
> >> For example let's suppose i have in the file a.psml a parameter called
> >> text. well in a portlet called b how can i have this parameter?
> >> Thanks
> >>
> > Programatically a Jetspeed-1 portlet can access its PSML parameters by
> > via the portlet instance
> >
> >
http://portals.apache.org/jetspeed-1/apidocs/org/apache/jetspeed/portal/PortletInstance.html
> >
> >
> > The are a few variations on this, see the example portlets that come
> > with the distribution
>
> Hi,
>
> What about J2? Can you configure fragments responsible for portlets in
> similar way? Can you add a paramater tag to the psml file? And finally
> can you access those parameters programatically later?
>
> Thank you for any help.
>
> -
> 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]



Login error page

2005-02-04 Thread Carlos Torres
Hi people

I'm trying to change the login page error(retry) to a specific jsp that I 
created. I changed the login action class to a mine and I have been gotten the 
error

Error encountered processing a template: 
/layouts/html/default.jspjava.lang.IllegalStateException: Cannot forward after 
response has been committed at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:324)
 at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
 at ...

Anybody already made this or know what is this error?

Please help me!

Thanks.

Carlos

Re: File Upload

2005-02-03 Thread Carlos Torres
I used all of the answers and made this:

private boolean uploadFile(RunData runData, String location)
{
 boolean ok = false;
  try
  {
   Object filename = runData.getRequest().getParameter("filename");
   FileItem fi = runData.getParameters().getFileItem("filename");
   FileUploader fu = new FileUploader();
   ok = fu.upload(fi, location, null);
  }
  catch(Exception e)
  {
   System.out.println("uploadFile - ERRO: " + e.getMessage());
  }
  return ok;
 }

using a from with a input type=file and using a form as


Thank you for all.

See you



- Original Message - 
From: "Alan Chiang" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Tuesday, February 01, 2005 4:42 PM
Subject: Re: File Upload


I pretty much followed the instructions in the link I sent you.  I
created a JSP page with a form, and used Turbine's parameter parser to
snag the FileItem.

If you read the FileItem's api, its very easy to use.  I just call a
write on the FileItem when I can confirm its all good.

Don't be afraid to read the API's, they can help you immensely.

I haven't converted my portlet to use commons-upload (or whatever its
called)

Alan


On Mon, 31 Jan 2005 19:07:17 -0300, Carlos Torres <[EMAIL PROTECTED]>
wrote:
> Can you explain how you did it? Which classes you used, if any change was
> necessary.
>
> Thanks.
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: "'Jetspeed Users List'" 
> Sent: Monday, January 31, 2005 6:02 PM
> Subject: AW: File Upload
>
> Yeah, I did it ;)
>
> -Ursprüngliche Nachricht-
> Von: Carlos Torres [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 31. Januar 2005 22:59
> An: Apache JetSpeed User; Apache JetSpeed Dev
> Betreff: File Upload
>
>
> Hello all,
>
> Anybody made a page(portlet) with file upload using JetSpeed 1.5 ?
>
> Please help me.
>
> Thanks.
>
> Carlos Torres
>
>
> -
> 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]
>
>


-- 
"Calling Canadian beef unsafe is like calling your twin sister ugly"
~ Mark Dopp

-
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: File Upload

2005-01-31 Thread Carlos Torres
Can you explain how you did it? Which classes you used, if any change was
necessary.

Thanks.

- Original Message - 
From: <[EMAIL PROTECTED]>
To: "'Jetspeed Users List'" 
Sent: Monday, January 31, 2005 6:02 PM
Subject: AW: File Upload


Yeah, I did it ;)

-Ursprüngliche Nachricht-
Von: Carlos Torres [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 31. Januar 2005 22:59
An: Apache JetSpeed User; Apache JetSpeed Dev
Betreff: File Upload


Hello all,

Anybody made a page(portlet) with file upload using JetSpeed 1.5 ?

Please help me.

Thanks.

Carlos Torres



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



File Upload

2005-01-31 Thread Carlos Torres
Hello all,

Anybody made a page(portlet) with file upload using JetSpeed 1.5 ?

Please help me.

Thanks.

Carlos Torres



Re: Hide Panes in JetSpeed

2005-01-17 Thread Carlos Torres
There are any "_tabstate" parameter?

There is a document with all options of jetspeed configuration. For example,
the .psml files?
If anybody has it, please send me.

Thanks

Regards

Carlos

- Original Message - 
From: "Carlos Torres" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Monday, January 17, 2005 1:51 PM
Subject: Re: Hide Panes in JetSpeed


> I saw the example and put this in my psml file:
>
> 
> 
> 
> 
> Home
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> The difference between the example and mine is the controll and
controller.
> In the example is used this:
> 
>  
>   User & Security
>  
>  
>  
>
>  
>  
>
>   
>  
>  
>   Security
>  
>  
>   
>  
>  
>   
>  
>  .
>  .
>  .
>
> Could be it the problem that I can't make the Tab Button desappear?
> Thanks
>
> - Original Message - 
> From: "David Sean Taylor" <[EMAIL PROTECTED]>
> To: "Jetspeed Users List" 
> Sent: Friday, January 14, 2005 5:57 PM
> Subject: Re: Hide Panes in JetSpeed
>
>
> > Carlos Torres wrote:
> > > I'm using Jetspeed 1.5 and it didn't work.
> > > I think I didn't explain very well. I'd like to hide only the "tab
> button"
> > > not the panel properly.
> > >
> >
> > Yes that is how it works
> > Look at the Security Admin portlets in the 1.5 distribution for an
example
> >
> > >
> > > - Original Message - 
> > > From: "David Sean Taylor" <[EMAIL PROTECTED]>
> > > To: "Jetspeed Users List" 
> > > Sent: Friday, January 14, 2005 4:37 PM
> > > Subject: Re: Hide Panes in JetSpeed
> > >
> > >
> > >
> > >>Carlos Torres wrote:
> > >>
> > >>>Hello people, I need to hide the Pane Tab in jetspeed, for example, I
> > >
> > > have an application with only one pane, "Home", and I'd like to hide
> this
> > > pane and let the screen clean. Anybody has how to make it?
> > >
> > >>>Thank you very much
> > >>>
> > >>>regards,
> > >>>
> > >>>   Carlos Torres
> > >>>
> > >>
> > >>Assume you are speaking of Jetspeed-1
> > >>Try this:
> > >>
> > >> 
> > >> 
> > >> 
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>-
> > >>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]



Re: Hide Panes in JetSpeed

2005-01-17 Thread Carlos Torres
I saw the example and put this in my psml file:





Home
















The difference between the example and mine is the controll and controller.
In the example is used this:

 
  User & Security
 
 
 

 
 

  
 
 
  Security
 
 
  
 
 
  
 
 .
 .
 .

Could be it the problem that I can't make the Tab Button desappear?
Thanks

- Original Message - 
From: "David Sean Taylor" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Friday, January 14, 2005 5:57 PM
Subject: Re: Hide Panes in JetSpeed


> Carlos Torres wrote:
> > I'm using Jetspeed 1.5 and it didn't work.
> > I think I didn't explain very well. I'd like to hide only the "tab
button"
> > not the panel properly.
> >
>
> Yes that is how it works
> Look at the Security Admin portlets in the 1.5 distribution for an example
>
> >
> > - Original Message - 
> > From: "David Sean Taylor" <[EMAIL PROTECTED]>
> > To: "Jetspeed Users List" 
> > Sent: Friday, January 14, 2005 4:37 PM
> > Subject: Re: Hide Panes in JetSpeed
> >
> >
> >
> >>Carlos Torres wrote:
> >>
> >>>Hello people, I need to hide the Pane Tab in jetspeed, for example, I
> >
> > have an application with only one pane, "Home", and I'd like to hide
this
> > pane and let the screen clean. Anybody has how to make it?
> >
> >>>Thank you very much
> >>>
> >>>regards,
> >>>
> >>>   Carlos Torres
> >>>
> >>
> >>Assume you are speaking of Jetspeed-1
> >>Try this:
> >>
> >> 
> >> 
> >> 
> >>
> >>
> >>
> >>
> >>
> >>-
> >>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]



Re: Hide Panes in JetSpeed

2005-01-14 Thread Carlos Torres
I'm using Jetspeed 1.5 and it didn't work.
I think I didn't explain very well. I'd like to hide only the "tab button"
not the panel properly.


- Original Message - 
From: "David Sean Taylor" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Friday, January 14, 2005 4:37 PM
Subject: Re: Hide Panes in JetSpeed


> Carlos Torres wrote:
> > Hello people, I need to hide the Pane Tab in jetspeed, for example, I
have an application with only one pane, "Home", and I'd like to hide this
pane and let the screen clean. Anybody has how to make it?
> >
> > Thank you very much
> >
> > regards,
> >
> >Carlos Torres
> >
>
> Assume you are speaking of Jetspeed-1
> Try this:
>
>  
>  
>  
>
>
>
>
>
> -
> 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]



Hide Panes in JetSpeed

2005-01-14 Thread Carlos Torres
Hello people, I need to hide the Pane Tab in jetspeed, for example, I have an 
application with only one pane, "Home", and I'd like to hide this pane and let 
the screen clean. Anybody has how to make it?

Thank you very much

regards,
 
   Carlos Torres


Calling portlets in different panels

2005-01-06 Thread Carlos Torres
Hi people, I need to call a portlet in other panel I am. 
for example:
I'm in a portlet Z in the panel A and when I click in  a link in this portlet I 
need to go to portlet X in the panel B. I need to enable the panel B and 
disable panel A.
Anybody know how to make it?

Please help me.

Thank you.

Regards,
 
   Carlos Torres


Re: JLogoutUser

2005-01-06 Thread Carlos Torres
It works fine.

Very thanks.

See you.

- Original Message - 
From: "Hema Menon" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Thursday, January 06, 2005 3:23 PM
Subject: Re: JLogoutUser


> In JS1.5, you could create your own class which extends ActionEvent
> instead of JLogoutUser. Within this class you can redirect on logout
> to any other page. You also need to modify the turbine resources
> property action.logout to use your class instead of JLogoutUser.
>
> Hema
> On Thu, 6 Jan 2005 16:15:32 -0300, Carlos Torres <[EMAIL PROTECTED]>
wrote:
> > Hi people,
> >
> > when I click in the exit link in jetspeed screen, it calls the url
above:
> >
> > http://localhost:8080/jetspeed/portal/action/JLogoutUser
> >
> > that is a action of a portlet. Anybody how to make it go to another
page(jsp) or to redirect it to another jsp?
> >
> > Thank you.
> >
> > Regards,
> >
> >   Carlos Alberto Torres
> >
> >
>
>
> -- 
>
>
> ~~
> Hema Menon
>
> -
> 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]



JLogoutUser

2005-01-06 Thread Carlos Torres
Hi people, 

when I click in the exit link in jetspeed screen, it calls the url above:

http://localhost:8080/jetspeed/portal/action/JLogoutUser

that is a action of a portlet. Anybody how to make it go to another page(jsp) 
or to redirect it to another jsp?

Thank you.


Regards,
 
   Carlos Alberto Torres


Calling Portlets in different panels

2005-01-05 Thread Carlos Torres
Hi pople, I need to call a portlet in other panel I am. 
for example:
I'm in a portlet Z in the panel A and when I click in  a link in this portlet I 
need to go to portlet X in the panel B. I need to enable the panel B and 
disable panel A.
Anybody know how to make it?

Thank you.

Regards,
 
   Carlos Torres


Re: Communication between portlets

2005-01-05 Thread Carlos Torres
Thank you Ken,

my problem is the same of the thirdy item and I need to review my
application.

Regards,

Carlos Torres.

- Original Message - 
From: "Ken Ramirez" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Tuesday, January 04, 2005 1:43 PM
Subject: Re: Communication between portlets


> Check out this articles:
>
> https://portlet.dev.java.net/files/documents/1654/8898/tip1.html
>
> Hope it helps you achieve what you're looking for :-)
>
>
> Carlos Torres wrote:
>
> >Hi people,
> >
> >I have 2 portlets in a panel and I need to comunicate, change
information, between these 2 jsp portlets. How can I make this?
> >
> >Thank you
> >
> >Regards,
> >
> >   Carlos Torres
> >
> >
> >
>
> -- 
> ************
> Stay on top of all things to do with 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]



Communication between portlets

2005-01-04 Thread Carlos Torres
Hi people,

I have 2 portlets in a panel and I need to comunicate, change information, 
between these 2 jsp portlets. How can I make this?

Thank you

Regards,
 
   Carlos Torres


Re: Page Parameters

2004-12-30 Thread Carlos Torres
I solved the problems with these actions:

Change the tomcat web.xml, the JetSpeedResources.properties and my jsp page
to encode as UTF-8 and a script to encode(javascript escape function) all
fields of the page and decode this imn my portlet class.

Thank you very much for the help.

see you...


- Original Message - 
From: "RaphaÃl Luta" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Wednesday, December 29, 2004 2:42 PM
Subject: Re: Page Parameters


> Carlos Torres wrote:
>
> >I tried to change the encoder in the jsp, the
JetspeedResources.properties
> >and the tomcat web.xml and i got the same problem. When I ahcnge it to
UTF8
> >the value received change but it is so strange too. Do you know which
> >encoding support all characters? How to make it run...
> >
> >
> >
> Strange... JS1.5 supports localization pretty well so I guess you should
> check your custom code
> and possibly DB setup for encoding issues.
>
> Also chek your browser encoding settings when accessing the portal page,
> it should be automatically
> set to UTF-8 (you can also get the encoding information of a web page
> through the Page Info or
> Properties dialog of yoru browser.
>
> -- 
> RaphaÃl Luta - [EMAIL PROTECTED]
> Apache Portals - Enterprise Portal in Java
> http://portals.apache.org/
>
>
> -
> 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: Page Parameters

2004-12-29 Thread Carlos Torres
I tried to change the encoder in the jsp, the JetspeedResources.properties
and the tomcat web.xml and i got the same problem. When I ahcnge it to UTF8
the value received change but it is so strange too. Do you know which
encoding support all characters? How to make it run...

Thanks.

Carlos Torres.


- Original Message - 
From: "RaphaÃl Luta" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Wednesday, December 29, 2004 9:02 AM
Subject: Re: Page Parameters


> Carlos Torres wrote:
>
> >Hi people,
> >
> >I have been problems in the parameters getted in my portlet classs. When
I pass a value with special caracters(Ã,Ã,Ã, etc) it is received with
problems.
> >For Example: When I send a parameter with the word 'alteraÃÃo', it is
received as 'AlteraâÂâÃo'
> >
> >
> >
> Jetspeed defaults to UTF8 encoding so the latter form you recieve is
normal.
> However, somewhere in your processing chain you assume the UTF8
> character is iso8859-1 and thus get an error.
> This can happen in the DB settings, Java string generation, etc...
>
> If you're sure *never* to mix iso8859 characters with non iso chars, you
> can modify the default Jetspeed properties
> (conf/JetspeedResources.properties) to set the default encoding to
> whatever fits your need.
>
> -- 
> RaphaÃl Luta - [EMAIL PROTECTED]
> Apache Portals - Enterprise Portal in Java
> http://portals.apache.org/
>
>
> -
> 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]



Page Parameters

2004-12-29 Thread Carlos Torres
Hi people,

I have been problems in the parameters getted in my portlet classs. When I pass 
a value with special caracters(Ã,Ã,Ã, etc) it is received with problems. 
For Example: When I send a parameter with the word 'alteraÃÃo', it is 
received as 'AlteraâÂâÃo'

If somebody already got this problem, please, help me.

Thanks

Regards,
 
   Carlos Alberto Torres
Web Solutions Consultant
MCN Technology & Consulting
  SÃo Paulo - SP - Brasil
  www.mcn.com.br


PSML from role

2004-12-08 Thread Carlos Torres
Hi people,

Anybody know how to get the screen configuration( psml file) from a role set 
when a new user is created?

I need to set some panels and portlets for any role and when create user for 
any role this user be setted with this configuration(psml file).

Thank you very much

Regards,
 
   Carlos Torres


Re: PSML Change in Runtime

2004-11-24 Thread Carlos Torres
The screen didn't change after I make the change.
I sumit a request to my application and I change the psml file. When the
results come back to the screen it must be changed.
There is the parameter
services.PsmlManager.scanRate=120
in JetspeedResource.properties file. But I must change immediately.

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 23, 2004 5:29 PM
Subject: RE: PSML Change in Runtime


> When you said the screen didn't change, did it change after a few minutes
or
> after you bounce your container?
> The psml can be stored in cache and refreshed periodically depending on
the
> setup in the JetspeedResource.properties file.
> Andy
>
> -Original Message-
> From: Carlos Torres [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 23, 2004 1:17 PM
> To: Apache JetSpeed User; Apache JetSpeed Dev
> Subject: Re: PSML Change in Runtime
>
>
> I tried this way too:
>
>   JetspeedPortletInstance pi =
> (JetspeedPortletInstance)getInstance(runData);
>   Profile profile = pi.getProfile();
>   PsmlManagerService exporterService =
>
(PsmlManagerService)TurbineServices.getInstance().getService("PsmlImportMana
> ger");
>   PSMLDocument psmlNew = exporterService.getDocument(file_path);
>   profile.setDocument(psmlNew);
>profile.store();
>   ((JetspeedRunData)runData).setProfile(profile);
>QueryLocator locator = new QueryLocator(QueryLocator.QUERY_USER);
>   exporterService.refresh(locator);
>
> and get the same result, the psml file change but the screen no.
>
> If anybody hava an idea, I thanks a lot.
>
>
>
>
>   - Original Message - 
>   From: Carlos Torres
>   To: Apache JetSpeed User ; Apache JetSpeed Dev
>   Sent: Tuesday, November 23, 2004 2:01 PM
>   Subject: Re: PSML Change in Runtime
>
>
>   I have been changing the psml name file when the new one will be the
> default.psml and the old one will be another name. I'm using the methods
> after rename the files:
>
>   exporterService.getDocument(locator);
>
>   and after this
>
>   PSMLDocument doc2 = exporterService.refresh(locator);
>
>   where  exporterService is a PsmlManagerService object and locator is  a
> QueryLocator object.
>
>   The code run ok, but the screen configuration doesn't change. Anybody
hava
> any idea how to "refresh" the screnn and aply the changes?
>
>   Please, help me.
>
>   Thanks.
>
>
>
> - Original Message - 
> From: Carlos Torres
> To: Apache JetSpeed User ; Apache JetSpeed Dev
> Sent: Friday, October 22, 2004 2:41 PM
> Subject: PSML Change in Runtime
>
>
> Hi people,
>
> I need to change the PSML file for a type of user(role) in runtime.
> According to an action in portal, the panels and portles for the user must
> be changed. I will have other PSML files and when the user select an
option
> it will change with the portal configuration.
>
> Anybody have any idea to how make this?
>
> Thank you very much.
>
> Regards,
>
>Carlos Alberto Torres
>
> -
> 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: PSML Change in Runtime

2004-11-23 Thread Carlos Torres
I tried this way too:

  JetspeedPortletInstance pi = (JetspeedPortletInstance)getInstance(runData);
  Profile profile = pi.getProfile();
  PsmlManagerService exporterService = 
(PsmlManagerService)TurbineServices.getInstance().getService("PsmlImportManager");
  PSMLDocument psmlNew = exporterService.getDocument(file_path);
  profile.setDocument(psmlNew);
   profile.store();
  ((JetspeedRunData)runData).setProfile(profile);
   QueryLocator locator = new QueryLocator(QueryLocator.QUERY_USER);
  exporterService.refresh(locator);

and get the same result, the psml file change but the screen no.

If anybody hava an idea, I thanks a lot.




  - Original Message - 
  From: Carlos Torres 
  To: Apache JetSpeed User ; Apache JetSpeed Dev 
  Sent: Tuesday, November 23, 2004 2:01 PM
  Subject: Re: PSML Change in Runtime


  I have been changing the psml name file when the new one will be the 
default.psml and the old one will be another name. I'm using the methods after 
rename the files:

  exporterService.getDocument(locator);

  and after this

  PSMLDocument doc2 = exporterService.refresh(locator);

  where  exporterService is a PsmlManagerService object and locator is  a 
QueryLocator object.

  The code run ok, but the screen configuration doesn't change. Anybody hava 
any idea how to "refresh" the screnn and aply the changes?

  Please, help me.

  Thanks.



- Original Message - 
From: Carlos Torres 
To: Apache JetSpeed User ; Apache JetSpeed Dev 
Sent: Friday, October 22, 2004 2:41 PM
Subject: PSML Change in Runtime


Hi people,

I need to change the PSML file for a type of user(role) in runtime. 
According to an action in portal, the panels and portles for the user must be 
changed. I will have other PSML files and when the user select an option it 
will change with the portal configuration.

Anybody have any idea to how make this?

Thank you very much.

Regards,
 
   Carlos Alberto Torres


Re: PSML Change in Runtime

2004-11-23 Thread Carlos Torres
I have been changing the psml name file when the new one will be the 
default.psml and the old one will be another name. I'm using the methods after 
rename the files:

exporterService.getDocument(locator);

and after this

PSMLDocument doc2 = exporterService.refresh(locator);

where  exporterService is a PsmlManagerService object and locator is  a 
QueryLocator object.

The code run ok, but the screen configuration doesn't change. Anybody hava any 
idea how to "refresh" the screnn and aply the changes?

Please, help me.

Thanks.



  - Original Message ----- 
  From: Carlos Torres 
  To: Apache JetSpeed User ; Apache JetSpeed Dev 
  Sent: Friday, October 22, 2004 2:41 PM
  Subject: PSML Change in Runtime


  Hi people,

  I need to change the PSML file for a type of user(role) in runtime. According 
to an action in portal, the panels and portles for the user must be changed. I 
will have other PSML files and when the user select an option it will change 
with the portal configuration.

  Anybody have any idea to how make this?

  Thank you very much.

  Regards,
   
 Carlos Alberto Torres


PSML Change in Runtime

2004-11-22 Thread Carlos Torres
Hi people,

I need to change the PSML file for a type of user(role) in runtime. According 
to an action in portal, the panels and portles for the user must be changed. I 
will have other PSML files and when the user select an option it will change 
with the portal configuration.

Anybody have any idea to how make this?

Thank you very much.

Regards,
 
   Carlos Alberto Torres


JetSpeed and TOMCAT

2004-11-16 Thread Carlos Torres

Hello people,

I'm using jetspeed running in tomcat on windows platform. When I execute in my 
desktop, using the startup.bat and shudown.bat commands, to start and stop the 
tomcat server no problem. But, when i start and stop the tomcat as a windows 
service my configuration changes in jetspeed are lost.
Anybody got this problem? Please, help me.

Thanks a lot

Regards,
 
   Carlos Alberto Torres
Web Solutions Consultant
MCN Technology & Consulting
  São Paulo - SP - Brasil
  www.mcn.com.br
Phone: +55 11  5561-1044
Fax: +55 11  5561-3752