Re: Struts bridge, lost request parameters

2005-03-11 Thread Ate Douma

Jeff Sheets wrote:
Colin,
My apologies, because your fix does work for me!!!  Thank you!
My actual code was:
actionResponse.setPortletMode(PortletMode.VIEW);
return mapping.findForward(FORWARD_VIEW);
As this worked before your fix to at least return me to the View page.
 But now we need to forward back to the edit page, so that when we
return to the edit mode we get the page correctly.  So my code now
looks like this:
actionResponse.setPortletMode(PortletMode.VIEW);
return mapping.findForward(FORWARD_EDIT);
Thank you very much for your help!  Ate, hopefully this can be
committed to the baseline soon?
It will ;-)
Probably sometime next week.
-- Jeff
On Thu, 10 Mar 2005 16:18:14 -, Colin O'Toole
[EMAIL PROTECTED] wrote:
Hi Jeff,
That is similar to what I'm doing except that I don't make the portlet
automatically return to the view mode after submitting an edit page change.
I stay in edit until the user explicitly clicks the view button.
If you enable debug logging you should get some detailed information about
what is happening when you click the edit button.  I also found that remote
debugging the app and setting breakpoints in StrutsPortlet.processRequest()
made it easy to figure out what was going on.
I will add the actionResponse.setPortletMode(PortletMode.VIEW); to my edit
action code and see if it breaks anything.  Might tae me a while to get
around to it though :-)
Cheers,
Colin.
-Original Message-
From: Jeff Sheets [mailto:[EMAIL PROTECTED]
Sent: 10 March 2005 15:57
To: Jetspeed Users List
Subject: Re: Struts bridge, lost request parameters
Colin,
Your quick fix didn't work for me.  Perhaps my flow is wrong.  Here is
what I am doing.
Displaying the View page (/myaction.do).  Clicking the edit icon to go
to the Edit page (/editmyaction.do).  Then after hitting save on the
edit page, I have to tell it to go back to the view page by doing this
in the action class:
actionResponse.setPortletMode(PortletMode.VIEW);
It returns to the View page correctly (like it always has).  Clicking
on the edit button simply refreshes the view page, instead of taking
me back to the edit screen.  This is the same result as before I
applied you fix.
Have I done something differently than you?
Thanks,
-- Jeff
On Thu, 10 Mar 2005 11:44:15 -, Colin O'Toole
[EMAIL PROTECTED] wrote:
Ah!  OK I will try this but it will have to wait until tomorrow.  because
of
time constraints I may stick with what I have and do a wholesale upgrade
once M2 is released.
Thanks for the help!
Colin.
-Original Message-
From: Ate Douma [mailto:[EMAIL PROTECTED]
Sent: 10 March 2005 11:30
To: Jetspeed Users List
Subject: Re: Struts bridge, lost request parameters
Colin O'Toole wrote:
Hi Ate,
OK, I made the changes you detailed and tried this and what happens is:
(1) Clicking on link goes to LocaleAction (ActionUrl).  Using remote
debugging in eclipse with a breakpoint in LocaleAction.execute(), the
PortletServletRequestWrapper object contains an ApplicationContextFacade
and
a ServletRequestImpl.  The ServletRequestImpl contains an
ApplicationHttpRequestObject.  The queryParamString member of the
ApplicationHttpRequestObject holds the params
language=jaforward=testredirect.  (This is what I saw in my example
also)
(2) In LocaleAction the following code is run:
target = request.getParameter(FORWARD);
This returns null - the parameter forward=testredirect is not found in
the
request.  This causes the following code to be executed:
if (isBlank(target)) target = mapping.getParameter();

return mapping.findForward(target);
target is the default welcome global mapping from the
struts-config.xml,
so the WelcomeAction is called.
So in fact for me it appears that request params are being lost
wholesale -
irrespective of whether or not it is a redirect or a simple forward.  I
am
using Tomcat 5.5.4, Windows XP, JDK 1.4.2_05, JetSpeed M1.  I will try
later
today with Tomcat 5.0.28 which I also have.
Now we are getting somewhere: you are running Jetspeed 2 M1...
I'm not sure but I think that will be the reason. I don't test or develop
against
M1 anymore. As we are approaching a M2 release very soon, I suggest you
try
your
application with the latest CVS HEAD if possible.

If I run the above code with the old version - which expressly parses
the
querystring in StrutsPortlet and passes it into
PortletServletRequestWrapper, it works as you describe.  I'm a bit
stumped
here. :-)
Can you help me understand where the params go in the new
PortletServletRequestWrapper?  In the old PortletServletRequestWrapper I
could see that in DispatchedHttpServletRequestWrapper they were parsed
into
a map.  I'm unsure as to where they end up now.
Thanks,
Colin.
-Original Message-
From: Ate Douma [mailto:[EMAIL PROTECTED]
Sent: 09 March 2005 22:41
To: Jetspeed Users List
Subject: Re: Struts bridge, lost request parameters
Colin,
I took some time to create a testcase with a similar flow as you
described
earlier.
For this, I used the struts-demo as 

Build problems: Jetspeed and Maven

2005-03-11 Thread Christian Tanzmann
Hi,
I try to build jetspeed 2 with maven and I follow the instruction from
getting started manual but I have a problem.

First step I have done
  cd ${jetspeed-2-home}
  maven start.test.server

Console output:
  build:start
  start.test.server:
  ...
  [java] server.properties not found, using command line or default
properties
  [java] opening database: ./src/database/hsql/Test
  [java] HSQLDB server 1.7.1 is running
  [java] Use SHUTDOWN to close normally ...
  [java] ... Listening for connections...

Second Step I have done in another console:
  cd ${jetspeed-2-home}
  maven allClean allBuild

Console output:
  Starting the reactor...
  BUILD FAILED
  File. C:\...\maven.xml
  Line 104
  Column 7
  Error reading XML or initializing

But the maven.xml file at this line looks so:

maven:reactor
   basedir=${basedir}
 
includes=*/project.xml,applications/*/project.xml,services/*/project.xm
l,components/*/project.xml,portals-bridges/*/project.xml
   excludes=applications/project.taglibs/project.xml
   goals=clean
   banner=Cleaning
   ignoreFailures=true
/  //!!!line 104

maven:reactor
   basedir=${basedir}
 
includes=layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p
roject.xml
   goals=clean
   banner=Cleaning
   ignoreFailures=true
/
  
Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats
wrong. In the first terminal session was no server.properties found but
I dont know this file. Because the file is failed the TestServer starts.

Please help me.

Christian Tanzmann



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



Re: Build problems: Jetspeed and Maven

2005-03-11 Thread Bernhard Bauer
hi!
you should check your build.properties file... have you followed the 
instructions given on the portal homepage?

maybe my instructions/hints can solve your probably (hope you've downloaded 
and installed java, tomcat and maven...)

in the src-folder you've downloaded, there is a file called 
build.properties.sample - rename this file to build.properties and edit it. 
take care of the slashes in the path - they have to be / instead of the 
normal windows - eg. c:/programs instead of c:\programs!!

next you have to put the build.properties file in your user-home directory - 
if you use windows - its driveletter:\documents and settings\User - hope 
you understand what i mean - if not, just ask

if you've done already so, maybe it helps if you show me a listing of your 
build.properties file... in my opinion - it's not easy getting started with 
jetspeed-2 - so keep on trying :-)

greets,
bernhard

- Original Message - 
From: Christian Tanzmann [EMAIL PROTECTED]
To: jetspeed-user@jakarta.apache.org
Sent: Friday, March 11, 2005 10:38 AM
Subject: Build problems: Jetspeed and Maven

Hi,
I try to build jetspeed 2 with maven and I follow the instruction from
getting started manual but I have a problem.
First step I have done
 cd ${jetspeed-2-home}
 maven start.test.server
Console output:
 build:start
 start.test.server:
 ...
 [java] server.properties not found, using command line or default
properties
 [java] opening database: ./src/database/hsql/Test
 [java] HSQLDB server 1.7.1 is running
 [java] Use SHUTDOWN to close normally ...
 [java] ... Listening for connections...
Second Step I have done in another console:
 cd ${jetspeed-2-home}
 maven allClean allBuild
Console output:
 Starting the reactor...
 BUILD FAILED
 File. C:\...\maven.xml
 Line 104
 Column 7
 Error reading XML or initializing
But the maven.xml file at this line looks so:
maven:reactor
  basedir=${basedir}
includes=*/project.xml,applications/*/project.xml,services/*/project.xm
l,components/*/project.xml,portals-bridges/*/project.xml
  excludes=applications/project.taglibs/project.xml
  goals=clean
  banner=Cleaning
  ignoreFailures=true
   / //!!!line 104
   maven:reactor
  basedir=${basedir}
includes=layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p
roject.xml
  goals=clean
  banner=Cleaning
  ignoreFailures=true
   /
Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats
wrong. In the first terminal session was no server.properties found but
I dont know this file. Because the file is failed the TestServer starts.
Please help me.
Christian Tanzmann

-
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: Build problems: Jetspeed and Maven

2005-03-11 Thread Bernhard Bauer
ok - the sentence should be: maybe my instructions/hints can solve your 
PROBLEMS... ;-)

- Original Message - 
From: Bernhard Bauer [EMAIL PROTECTED]
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Sent: Friday, March 11, 2005 11:06 AM
Subject: Re: Build problems: Jetspeed and Maven


hi!
you should check your build.properties file... have you followed the 
instructions given on the portal homepage?

maybe my instructions/hints can solve your probably (hope you've 
downloaded and installed java, tomcat and maven...)

in the src-folder you've downloaded, there is a file called 
build.properties.sample - rename this file to build.properties and edit 
it. take care of the slashes in the path - they have to be / instead of 
the normal windows - eg. c:/programs instead of c:\programs!!

next you have to put the build.properties file in your user-home 
directory - if you use windows - its driveletter:\documents and 
settings\User - hope you understand what i mean - if not, just ask

if you've done already so, maybe it helps if you show me a listing of your 
build.properties file... in my opinion - it's not easy getting started 
with jetspeed-2 - so keep on trying :-)

greets,
bernhard

- Original Message - 
From: Christian Tanzmann [EMAIL PROTECTED]
To: jetspeed-user@jakarta.apache.org
Sent: Friday, March 11, 2005 10:38 AM
Subject: Build problems: Jetspeed and Maven

Hi,
I try to build jetspeed 2 with maven and I follow the instruction from
getting started manual but I have a problem.
First step I have done
 cd ${jetspeed-2-home}
 maven start.test.server
Console output:
 build:start
 start.test.server:
 ...
 [java] server.properties not found, using command line or default
properties
 [java] opening database: ./src/database/hsql/Test
 [java] HSQLDB server 1.7.1 is running
 [java] Use SHUTDOWN to close normally ...
 [java] ... Listening for connections...
Second Step I have done in another console:
 cd ${jetspeed-2-home}
 maven allClean allBuild
Console output:
 Starting the reactor...
 BUILD FAILED
 File. C:\...\maven.xml
 Line 104
 Column 7
 Error reading XML or initializing
But the maven.xml file at this line looks so:
maven:reactor
  basedir=${basedir}
includes=*/project.xml,applications/*/project.xml,services/*/project.xm
l,components/*/project.xml,portals-bridges/*/project.xml
  excludes=applications/project.taglibs/project.xml
  goals=clean
  banner=Cleaning
  ignoreFailures=true
   / //!!!line 104
   maven:reactor
  basedir=${basedir}
includes=layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p
roject.xml
  goals=clean
  banner=Cleaning
  ignoreFailures=true
   /
Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats
wrong. In the first terminal session was no server.properties found but
I dont know this file. Because the file is failed the TestServer starts.
Please help me.
Christian Tanzmann

-
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: Jetspeed 1.6-Fusion HELP!!!!

2005-03-11 Thread Fabrice Dewasmes
I'd like to give Jeff and Hema my support :
first, we've chosen to start with JS1+Fusion as we had two major 
requirements : being JSR 168 compliant and have lots of nice features. 
This means that we obviously had to go with JS1+fusion (And i'm not 
talking about maturity). We plan to migrate in the future to JS2 but for 
us is the fusion alternative a perfect migration path and would be 
disastrous for us if fusion is deprecated. So I also give a -1 for such 
a deprecation ;)

second, it seems to me that fusion code is not that large and could be 
quite easily put back on its feet. Code changes in J2 by Ate seem to be 
pragmatic and well founded and it reassured me that Ate took into 
account that fusion exists.

finally I agree to have JS1.6.1 with JS2M2 release and JS1.6.2 with 
JS2final only if schedules can't match better. I mean : if JS2 is about 
to release final at about the same time that JS1.6, maybe could JS1.6 
and JS2 be synchronised at first shot.

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


Re: Jetspeed 1.6-Fusion HELP!!!!

2005-03-11 Thread Serge Huber
Hi all,
I just wanted to say that I also think that the work that went into 
Fusion is important on multiple levels :

- first of all I integrate J2 with my product in a way very similar to 
what Fusion does, so if J2 changes a lot, I spend my time refactoring my 
code and understanding the changes, but this is my problem (btw 
currently I've frozen the version of J2 I use so that I can work on the 
integration)
- Fusion is a great test case for using J2 as a component library, 
and I think that this has generally been a very good influence on the 
design of J2
- as other have said Fusion is a great migration path

Anyway, I didn't have time to follow the whole refactoring work on 
deployment, but as long as it's able to deploy from a directory and 
maybe has a listener interface I think it should be ok.

Regards,
 Serge Huber.
David Sean Taylor wrote:
Ate Douma wrote:

  I know and you know that I started in the new deployment branch
from a clean sheet. I explicitly stated that this would *initially*
result in some features gone missing.
I also said these features have to be recreated once we decide this
proposed new deployment model. Right now, I have had no formal
acknowledgment from *anyone* yet to go ahead and commit my changes
to the main branch.

Here is my acknowledgement: resolve the Fusion issues before merging.
Probably everybody does know though I definitely would like to see
this happen, but I will be the first to acknowledge that it isn't ready
for that yet.

Me too
And then of course the integration with the ServerManager. This will 
be quite
easy to bring back online. Actually, I've already done so.
I have the TomcatManager working again.
Furthermore, I created a new (secured) ManagerServlet through which 
you can interact
with the ApplicationManagerServer as well as the 
PortletApplicationManager.
I've used the Tomcat ManagerServlet as example for this.

Right now I can list, start, stop, unregister and undeploy a 
PortletApplication
all from the commandline or webbrowser and working without problems. 
Providing
the same features to Fusion will be a peace of cake.

Great
I'm still working on an deploy command (uploading a deployment object 
like a
war or decorator). The basic code is already in place, the only thing 
left to implement
is the uploading part in the new commandline tool (JetspeedConsole).

I'm putting in a lot of effort to get this all working even *better* 
than it did before,
and I'm going to provide as much effort as needed to get Fusion 
working again with the new
deployment model, once we decided it will be the used for J2.

Perhaps we should formally call a vote on the jetspeed-dev list:
1. deprecate fusion

Nonsense
I'll take that as a -1 on deprecating Fusion ;)
-or--
2. require developers to test fusion

I do care about Fusion and, as far you *can* require that, I have no 
objection to make it a policy.

We should think about an easier way to test fusion do though because 
getting J1 and J2 to build
right beside each other is quite a hassle...

Frankly the whole situation has led to me becoming less and less 
involved in Jetspeed as my contributions are devaluated.

I think you are over reacting. I value your contributions very highly 
and I know I'm not alone ;-)

You did a hell of a job (and I know it was a hell of a job) to 
integrate J2 with J1, AKA Fusion.
I think it is one of the most important contributions to Jetspeed (as 
a whole, J1 and J2 together)
because it not only provides a JSR-168 container but also a view of 
the power of J2 and a migration path
for J1 users not (yet) ready to make the jump to J2.

Well, we did everything except put out a release, and its long overdue.
We need to figure out if we want to release 1.6 with:
2.0 M1
2.0 M2
2.0 Final Release
We could do a 1.6.1 release with M2, 1.6.2 with the Final Release


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


Eclipse Plugins for Jetspeed Development

2005-03-11 Thread Marky Goldstein
Hello People,
Is anybody working on
Eclipse Plugins for Jetspeed Development
?
Any suggestions ideas for such a project?
Best regards,
Marky Goldstein

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


PSML Database

2005-03-11 Thread Roel van Dijk
I have some troubles creating the .sql file to create the PSML Database.
http://portals.apache.org/jetspeed-1/psml_db.html

I've taken Jetspeed 1.6-dev from the CVS. I've changed the
projects.properties file in the source directory, altering database =
hypersonic to database = mysql. I run the standard Jetspeed build by
typen maven. All succeeds. However, this does not give me the file
target/classes/sql/dbpsml-schema.sql.

Here's a CVS diff:

  # cvs diff project.properties
  Index: project.properties
  ===
  RCS file: /home/cvspublic/jakarta-jetspeed/project.properties,v
  retrieving revision 1.18
  diff -r1.18 project.properties
  94c94
   database = hypersonic
  ---
   database = mysql

Is there something I am missing? Should I do something similar to 'make
clean' (maven clean?) before building Jetspeed?

Roel



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



RE: Eclipse Plugins for Jetspeed Development

2005-03-11 Thread Shah Amit
I have heard that there is some eclipse plugin for Pluto out there. But I 
dont know how good that works with Jetspeed.

Apart from that, I haven't heard of any.
Amit
Original Message Follows
From: Marky Goldstein [EMAIL PROTECTED]
Reply-To: Jetspeed Users List jetspeed-user@jakarta.apache.org
To: Jetspeed Users List jetspeed-user@jakarta.apache.org
Subject: Eclipse Plugins for Jetspeed Development
Date: Fri, 11 Mar 2005 11:49:25 +0100
Hello People,
Is anybody working on
Eclipse Plugins for Jetspeed Development
?
Any suggestions ideas for such a project?
Best regards,
Marky Goldstein

-
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: problem with jetspeed2 on weblogic 8.1.2

2005-03-11 Thread Scott T Weaver
Hi Jeff,

I went ahead and added a link to the Jetspeed 2 wiki pointing to your
Weblogic FAQ.

Regards,
Scott


-Original Message-
From: Jeff Sheets [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 10, 2005 9:48 PM
To: [EMAIL PROTECTED]; Jetspeed Users List
Subject: Re: problem with jetspeed2 on weblogic 8.1.2

Kurt,

I do have an answer for you.  Look at my post here that details the
resolution:
http://uncommentedbytes.blogspot.com/2004/11/problem-deploying-jetspeed-2-on
.html

I also copied in the jetspeed mailing list, to help out anyone else
that has this problem.

Thanks,
-- Jeff


On Fri, 11 Mar 2005 10:21:39 +0800,  [EMAIL PROTECTED] wrote:
  
 hi, jeff. 
   
  
 http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
apache.orgmsgId=2075612

   From the jetspeed mailing list, I saw you message about deploying
jetspeed
 on weblogic 8, now I have some problems when deploying jetspeed demo on
 weblogic, it's not the same with yours, I just follow the jetspeed fusion
 instruction, but it still can't work, do you have any idea about it ? 
   
   Thanks in advance! 
   
   The following is the error message when deploying: 
 2005-3-11 101938 CST Warning Deployer pc310-2kp
myserver
 ExecuteThread: '3' for queue: 'weblogic.kernel.System' WLS Kernel 
 BEA-149004 Failures were detected while initiating Deploy task for
 application jetspeed. 
 2005-3-11 101938 CST Debug Deployer pc310-2kp
myserver
 ExecuteThread: '3' for queue: 'weblogic.kernel.System' WLS Kernel 
 BEA-149078 Stack trace for message 149004
 javax.naming.ConfigurationException.  Root exception is
 java.net.MalformedURLException: no protocol: 
  at

weblogic.rmi.spi.ServerURL.parseURL(Lweblogic.rmi.spi.ServerURL;Ljava.lang.S
tring;)V(ServerURL.java:353)
  at
 weblogic.rmi.spi.ServerURL.init(Ljava.lang.String;)V(ServerURL.java:115)
  at weblogic.rjvm.ServerURL.init(Ljava.lang.String;)V(ServerURL.java:45)
  at
 weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Lweblogic.
jndi.Environment;Ljava.lang.String;)Ljavax.naming.Context;(WLInitialContextF
actoryDelegate.java:296)
  at

weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Ljava.util.H
ashtable;)Ljavax.naming.Context;(WLInitialContextFactoryDelegate.java:239)
  at

weblogic.jndi.WLInitialContextFactory.getInitialContext(Ljava.util.Hashtable
;)Ljavax.naming.Context;(WLInitialContextFactory.java:135)
  at

javax.naming.spi.NamingManager.getInitialContext(Ljava.util.Hashtable;)Ljava
x.naming.Context;(NamingManager.java:662)
  at

javax.naming.InitialContext.getDefaultInitCtx()Ljavax.naming.Context;(Initia
lContext.java:243)
  at

javax.naming.InitialContext.init(Ljava.util.Hashtable;)V(InitialContext.java
:219)
  at javax.naming.InitialContext.init()V(InitialContext.java:175)
  at

weblogic.deployment.EnvironmentBuilder.findObject(Ljava.lang.String;)Ljava.l
ang.Object;(EnvironmentBuilder.java:768)
  at

weblogic.deployment.EnvironmentBuilder.findObjectOrCreateLinkRef(Ljava.lang.
String;)Ljava.lang.Object;(EnvironmentBuilder.java:759)
  at

weblogic.deployment.EnvironmentBuilder.addUserTransaction()V(EnvironmentBuil
der.java:555)
  at
 weblogic.deployment.EnvironmentBuilder.init(Ljavax.naming.Context;Ljava.
lang.String;Ljava.lang.String;)V(EnvironmentBuilder.java:94)
  at

weblogic.servlet.internal.CompEnv.init(Ljavax.naming.Context;Lweblogic.ser
vlet.internal.WebAppServletContext;Ljava.util.List;)V(CompEnv.java:80)
  at

weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblo
gic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:
569)
  at

weblogic.servlet.internal.WebAppServletContext.init(Lweblogic.servlet.inte
rnal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweb
logic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContaine
r;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:493)
  at

weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configu
ration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblo
gic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lwe
blogic.servlet.internal.WebAppServletContext;(HttpServer.java:628)
  at

weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lwebl
ogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppM
odule.java:626)
  at

weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.clas
sloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Componen
t;Z)V(J2EEApplicationContainer.java:3011)
  at

weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEAp
plicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.
java:1532)
  at

weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicati
onContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String
;)V(J2EEApplicationContainer.java:1188)
  at


RE: Eclipse Plugins for Jetspeed Development

2005-03-11 Thread Scott T Weaver
Hi Marky,

David Taylor put together a design doc for this located under
/design-docs/src/eclipse.  However, that is about as far as it has gotten.
We welcome anyone's help who would like to try and get this started.

Regards,
Scott 

-Original Message-
From: Marky Goldstein [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 11, 2005 5:49 AM
To: Jetspeed Users List
Subject: Eclipse Plugins for Jetspeed Development

Hello People,

Is anybody working on
Eclipse Plugins for Jetspeed Development
?

Any suggestions ideas for such a project?
Best regards,
Marky Goldstein



-
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: User Attributes with Struts Portlet bridge on Fusion

2005-03-11 Thread Hema Menon
Frank,

Thanks. RenderRequest's getRemoteUser returned me null, however the
getUserPrincipal() returns the value correctly. I thought both should
return the same value. Anyway, thanks for you help.

Later,
Hema


On Fri, 11 Mar 2005 07:08:52 -0600, Frank Villarreal
[EMAIL PROTECTED] wrote:
 Hema,
 
 I'm not positive that you can get a list of the User's roles in a direct
 way without rewriting the user-management implementation ... but you can
 certainly check to see if a user is in a specific role by using the
 PortletRequest object's isUserInRole and getRemoteUser methods ...
 
 HTH,
 
 - Frank
 
  -Original Message-
  From: Hema Menon [mailto:[EMAIL PROTECTED]
  Sent: Thursday, March 10, 2005 08:48 PM
  To: Jetspeed Users List
  Subject: Re: User Attributes with Struts Portlet bridge on Fusion
 
 
  Thanks Frank. Redeployment seems to take care of it. I was thinking of
  getting the login name, not the user first name. Now, how can I get
  the logged in user's loginname and role?
 
  Thanks,
  Hema
 
 
  On Thu, 10 Mar 2005 16:36:37 -0600, Frank Villarreal
  [EMAIL PROTECTED] wrote:
   Make sure you re-deploy your portlet application, b/c J2 caches the
   portlet.xml in the database and will not pick up changes to
  your portlet.xml
   file if you edit it directly in ${webapps}/yourapp/WEB-INF/portlet.xml
   directly ...
  
   - Frank
  
-Original Message-
From: Hema Menon [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 04:28 PM
To: Jetspeed-User
Subject: User Attributes with Struts Portlet bridge on Fusion
   
   
I am trying to get the user attributes (user name) from a servlet
filter in my struts application. I have the user-attribute defined
in portlet.xml. However when I try to get the user attributes from the
PortletRequest, I am getting null. Is there something I am missing?
The code gets the PortletRequest first and then tries to get the
USER_INFO  attribute from the PortletRequest.
   
PortletRequest portletReq =
(PortletRequest)request.getAttribute(javax.portlet.request);
Map userInfo = (Map)
  portletReq.getAttribute(PortletRequest.USER_INFO);
This returns a null for userInfo.
   
Can someone suggest a better way to getting the User information from
the struts portlet?
   
Thanks,
Hema
   
--
   
   
~~
Hema Menon
   
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
  
  
 
 
  --
 
 
  ~~
  Hema Menon
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 


-- 


~~
Hema Menon

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



Velocity

2005-03-11 Thread Apostolidis Apostolos
  Hi all! I am using jetspeed-1.4 with jsp portlets and .vm templates for 
html navigation. I want to modify the bottom.vm in order to filter users
based on their roles. I edited the bottom.vm file to do that. I have added
some lines and this is one of them :

#if ($JetspeedSecurity.hasRole($data.User.getUserName(), $role))
  It seems that reference to JetspeedSecurity class is not valid (the 
hasRole method is a static one), despite of the fact that $data refers
to Rundata objects perfectly well.

  Am i doing something wrong with the class reference??How can i refer to 
JetspeedSecurity class correctly?? Any ideas would be extremely useful, 
I'm kind of lost here

Thanx in advance

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


Request for help in getting Jetspeed-2 running on Windows:Part 1

2005-03-11 Thread cknell
I have installed Ant 1.6.2. The ANT_HOME environment variable is set. I can run 
Ant from any directory on the computer.

I have installed Maven. The MAVEN_HOME environment variable is set. I can run 
Maven. When I enter maven -v on the command-line, it tells me that I am 
running version 1.02.

I have installed and can run Tomcat 5.5.

I have downloaded and installed Jetspeed-2 using the Windows installation 
package.

I am attempting to modify the build.properties file as described at 
http://portals.apache.org/jetspeed-2/getting-started.html;. This document in 
Linux-oriented and requires some translation to figure out how it applies to 
Windows. 

I have created a build.properties file in my Windows user directory. I'm having 
trouble with the first entry where I'm directed to point 
org.apache.jetspeed.project.home to The root of your Jetspeed-2 source 
installation (see example on left). So far as I can tell, I have no Jetspeed-2 
source installation. I say this because nowhere on my system is a directory 
called jakarta-jetspeed-2.

If any list-reader has ever sucessfully installed Jetspeed-2 on a Windows 
system, would you be kind enough to clarify this point? Thanks.
-- 
Charles Knell
[EMAIL PROTECTED] - email

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



RE: Request for help in getting Jetspeed-2 running on Windows:Part 1

2005-03-11 Thread Scott T Weaver


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 11, 2005 10:21 AM
 To: jetspeed-user@jakarta.apache.org
 Subject: Request for help in getting Jetspeed-2 running on Windows:Part 1


...
 I have created a build.properties file in my Windows user directory. I'm
 having trouble with the first entry where I'm directed to point
 org.apache.jetspeed.project.home to The root of your Jetspeed-2 source
 installation (see example on left). So far as I can tell, I have no
 Jetspeed-2 source installation. I say this because nowhere on my system is
 a directory called jakarta-jetspeed-2.


I think you might be able to ignore this property entry as it is only used
when building from source, and not even be used there anymore.

 
 If any list-reader has ever sucessfully installed Jetspeed-2 on a Windows
 system, would you be kind enough to clarify this point? Thanks.
 
I build and deploy on Linux, Windows and Solaris on a daily basis.  I will
post my windows build.properties.  It may help point you in the right
direction.

My build.properties

org.apache.jetspeed.project.home=D:/workspace/jakarta-jetspeed-2
org.apache.jetspeed.fusion=true
org.apache.jetspeed.server.home=D:/jakarta-tomcat-5.0.30
org.apache.jetspeed.catalina.version.major=5
org.apache.jetspeed.server.shared
=${org.apache.jetspeed.server.home}/shared/lib
org.apache.jetspeed.deploy.war.dir=${org.apache.jetspeed.server.home}/webapp
s
org.apache.jetspeed.services.autodeployment.user = j2deployer
org.apache.jetspeed.services.autodeployment.password = j2deployer
org.apache.jetspeed.services.autodeployment.server=localhost
org.apache.jetspeed.services.autodeployment.port=8080
org.apache.jetspeed.explode.war=true
org.apache.jetspeed.copy.war=true



# -
# MSSQL Driver Path Example, test and production
# -
org.apache.jetspeed.test.jdbc.drivers.path =
${user.home}/.maven/repository/jtds/jars/jtds-0.8.1.jar
org.apache.jetspeed.production.jdbc.drivers.path =
${org.apache.jetspeed.test.jdbc.drivers.path}


# -
org.apache.jetspeed.test.database.default.name=mssql
org.apache.jetspeed.test.database.url =
jdbc:jtds:sqlserver://pcoa552.ugs.com:1433
org.apache.jetspeed.test.database.driver = net.sourceforge.jtds.jdbc.Driver
org.apache.jetspeed.test.database.user = jetspeed_user
org.apache.jetspeed.test.database.password = j2

# -
# configure MSSQL Production DB
# -
org.apache.jetspeed.production.database.default.name = mssql
org.apache.jetspeed.production.database.url =
jdbc:jtds:sqlserver://localhost:1433
org.apache.jetspeed.production.database.driver =
${org.apache.jetspeed.test.database.driver}
org.apache.jetspeed.production.database.user =
${org.apache.jetspeed.test.database.user}
org.apache.jetspeed.production.database.password =
${org.apache.jetspeed.test.database.password}




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

Regards,
Scott


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



RE: Eclipse Plugins for Jetspeed Development

2005-03-11 Thread kramirez
Scott,

It's already begun. David T and myself have started a new project on
Java.net named JetFuel which will offer an Eclipse plugin for JetSpeed-2
development. The docs should be on that site soon. Anyone that wishes to
participate is welcomed to do so. The project should be up in about one
week.

Thanks,

Ken

 Hi Marky,

 David Taylor put together a design doc for this located under
 /design-docs/src/eclipse.  However, that is about as far as it has
 gotten. We welcome anyone's help who would like to try and get this
 started.

 Regards,
 Scott

 -Original Message-
 From: Marky Goldstein [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 11, 2005 5:49 AM
 To: Jetspeed Users List
 Subject: Eclipse Plugins for Jetspeed Development

 Hello People,

 Is anybody working on
 Eclipse Plugins for Jetspeed Development
 ?

 Any suggestions ideas for such a project?
 Best regards,
 Marky Goldstein



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


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



RE: Eclipse Plugins for Jetspeed Development

2005-03-11 Thread Scott T Weaver
That's great news!

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 11, 2005 11:28 AM
 To: jetspeed-user@jakarta.apache.org
 Cc: [EMAIL PROTECTED]
 Subject: RE: Eclipse Plugins for Jetspeed Development
 
 Scott,
 
 It's already begun. David T and myself have started a new project on
 Java.net named JetFuel which will offer an Eclipse plugin for JetSpeed-2
 development. The docs should be on that site soon. Anyone that wishes to
 participate is welcomed to do so. The project should be up in about one
 week.
 
 Thanks,
 
 Ken
 
  Hi Marky,
 
  David Taylor put together a design doc for this located under
  /design-docs/src/eclipse.  However, that is about as far as it has
  gotten. We welcome anyone's help who would like to try and get this
  started.
 
  Regards,
  Scott
 
  -Original Message-
  From: Marky Goldstein [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 11, 2005 5:49 AM
  To: Jetspeed Users List
  Subject: Eclipse Plugins for Jetspeed Development
 
  Hello People,
 
  Is anybody working on
  Eclipse Plugins for Jetspeed Development
  ?
 
  Any suggestions ideas for such a project?
  Best regards,
  Marky Goldstein
 
 
 
  - 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]
 
 
 ************
 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]



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



Request for help in getting Jetspeed-2 running on Windows:Part 2

2005-03-11 Thread cknell
Thanks. I've modified my build.properties according to your suggestion.

I'm now at Step 5 on 
http://portals.apache.org/jetspeed-2/getting-started.html;.

The instructions are:

* 1. If you are using the Hypersonic SQL database, make sure you have 
terminated the test HSQLserver. Then in the same terminal, start the production 
Hypersonic database by typing

  maven start.production.server

* 2. (in seperate window/terminal session)

  cd ${jetspeed-2-home}

* 3. maven quickStart

  This will recreate the DB to deploy into. WARNING This will drop all the 
tables and data in the production database.

* 4. Start up Tomcat. With a browser, go to:

  http://localhost:8080/jetspeed


Bullet 1 is apparently instructing me to run a script called 
start.production.server with Maven. I've searched and cannot find a file by 
that name. I have started the HSQL database using the batch file in the 
%TOMCAT_HOME%/jetspeed-database directory.

There is no batch file for stopping the database and the contents of the batch 
file to start it gives no clue as to how it is accomplished gracefully. If 
someone knows how and will tell me, I promise to scour the HSQL site at 
SourceForge.net later. Scout's honor.

O.K., the database is now started.

Bullet 2 instructs me to change to a directory via a variable I don't have and 
whose value is a mystery as well.

Bullet 3 give me a hint on Bullet 2. If I find a directory with a script called 
quickStart I may just be in the right place. Alas, there is no quickStart 
anywhere on my disk for Maven to run.

Bullet 4 has me start Tomcat and navigate to a URL. When I do this I get what 
is for me, an undecipherable stack trace. Tomcat is working, by the way, so the 
problem must be further up.

Has anyone got some help for me? Thanks

-- 
Charles Knell
[EMAIL PROTECTED] - email



-Original Message-
From: Scott T Weaver [EMAIL PROTECTED]
Sent: Fri, 11 Mar 2005 10:29:07 -0500
To:   'Jetspeed Users List' jetspeed-user@jakarta.apache.org
Subject:  RE: Request for help in getting Jetspeed-2 running on Windows:Part 1


I think you might be able to ignore this property entry as it is only used
when building from source, and not even be used there anymore.


I build and deploy on Linux, Windows and Solaris on a daily basis.  I will
post my windows build.properties.  It may help point you in the right
direction.




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



Re: Request for help in getting Jetspeed-2 running on Windows:Part 2

2005-03-11 Thread Hema Menon
start.production.server, quickStart are all targets within the
maven.xml not separated script files. For changing the directory, all
it means is for you to change directory to whereever you have
jetspeed-2 base.

Hema


On Fri, 11 Mar 2005 12:09:26 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Thanks. I've modified my build.properties according to your suggestion.
 
 I'm now at Step 5 on 
 http://portals.apache.org/jetspeed-2/getting-started.html;.
 
 The instructions are:
 
* 1. If you are using the Hypersonic SQL database, make sure you have 
 terminated the test HSQLserver. Then in the same terminal, start the 
 production Hypersonic database by typing
 
  maven start.production.server
 
* 2. (in seperate window/terminal session)
 
  cd ${jetspeed-2-home}
 
* 3. maven quickStart
 
  This will recreate the DB to deploy into. WARNING This will drop all the 
 tables and data in the production database.
 
* 4. Start up Tomcat. With a browser, go to:
 
  http://localhost:8080/jetspeed
 
 
 Bullet 1 is apparently instructing me to run a script called 
 start.production.server with Maven. I've searched and cannot find a file by 
 that name. I have started the HSQL database using the batch file in the 
 %TOMCAT_HOME%/jetspeed-database directory.
 
 There is no batch file for stopping the database and the contents of the 
 batch file to start it gives no clue as to how it is accomplished gracefully. 
 If someone knows how and will tell me, I promise to scour the HSQL site at 
 SourceForge.net later. Scout's honor.
 
 O.K., the database is now started.
 
 Bullet 2 instructs me to change to a directory via a variable I don't have 
 and whose value is a mystery as well.
 
 Bullet 3 give me a hint on Bullet 2. If I find a directory with a script 
 called quickStart I may just be in the right place. Alas, there is no 
 quickStart anywhere on my disk for Maven to run.
 
 Bullet 4 has me start Tomcat and navigate to a URL. When I do this I get what 
 is for me, an undecipherable stack trace. Tomcat is working, by the way, so 
 the problem must be further up.
 
 Has anyone got some help for me? Thanks
 
 --
 Charles Knell
 [EMAIL PROTECTED] - email
 
 -Original Message-
 From: Scott T Weaver [EMAIL PROTECTED]
 Sent: Fri, 11 Mar 2005 10:29:07 -0500
 To:   'Jetspeed Users List' jetspeed-user@jakarta.apache.org
 Subject:  RE: Request for help in getting Jetspeed-2 running on Windows:Part 1
 
 I think you might be able to ignore this property entry as it is only used
 when building from source, and not even be used there anymore.
 
 I build and deploy on Linux, Windows and Solaris on a daily basis.  I will
 post my windows build.properties.  It may help point you in the right
 direction.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


-- 


~~
Hema Menon

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



RE: Request for help in getting Jetspeed-2 running on Windows:Part 2

2005-03-11 Thread Scott T Weaver

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 11, 2005 12:09 PM
 To: jetspeed-user@jakarta.apache.org
 Subject: Request for help in getting Jetspeed-2 running on Windows:Part 2
 
 Thanks. I've modified my build.properties according to your suggestion.
 
 I'm now at Step 5 on http://portals.apache.org/jetspeed-2/getting-
 started.html.
 
 The instructions are:
 
 * 1. If you are using the Hypersonic SQL database, make sure you have
 terminated the test HSQLserver. Then in the same terminal, start the
 production Hypersonic database by typing
 
   maven start.production.server
 
 * 2. (in seperate window/terminal session)
 
   cd ${jetspeed-2-home}
 
 * 3. maven quickStart
 
   This will recreate the DB to deploy into. WARNING This will drop all
 the tables and data in the production database.
 
 * 4. Start up Tomcat. With a browser, go to:
 
   http://localhost:8080/jetspeed
 
 
 Bullet 1 is apparently instructing me to run a script called
 start.production.server with Maven. I've searched and cannot find a file
 by that name. I have started the HSQL database using the batch file in the
 %TOMCAT_HOME%/jetspeed-database directory.
 
 There is no batch file for stopping the database and the contents of the
 batch file to start it gives no clue as to how it is accomplished
 gracefully. If someone knows how and will tell me, I promise to scour the
 HSQL site at SourceForge.net later. Scout's honor.
 

Ctrl+C in the terminal window ;)

 O.K., the database is now started.
 
 Bullet 2 instructs me to change to a directory via a variable I don't have
 and whose value is a mystery as well.

Its really not a variable as it is the source directory for jetspeed,
usually jakarta-jetspeed-2.

 
 Bullet 3 give me a hint on Bullet 2. If I find a directory with a script
 called quickStart I may just be in the right place. Alas, there is no
 quickStart anywhere on my disk for Maven to run.

There is no script called quickStart it is a maven goal within the
Jetspeed 2's maven.xml.



 
 Bullet 4 has me start Tomcat and navigate to a URL. When I do this I get
 what is for me, an undecipherable stack trace. Tomcat is working, by the
 way, so the problem must be further up.
 
 Has anyone got some help for me? Thanks
 
 --
 Charles Knell
 [EMAIL PROTECTED] - email
 
 
 
 -Original Message-
 From: Scott T Weaver [EMAIL PROTECTED]
 Sent: Fri, 11 Mar 2005 10:29:07 -0500
 To:   'Jetspeed Users List' jetspeed-user@jakarta.apache.org
 Subject:  RE: Request for help in getting Jetspeed-2 running on
 Windows:Part 1
 
 
 I think you might be able to ignore this property entry as it is only used
 when building from source, and not even be used there anymore.
 
 
 I build and deploy on Linux, Windows and Solaris on a daily basis.  I will
 post my windows build.properties.  It may help point you in the right
 direction.
 
 
 
 
 -
 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: Request for help in getting Jetspeed-2 running on Windows:Part 2

2005-03-11 Thread Scott T Weaver
I noticed you talk about an installation package in your previous emails.
Are you building from source or from the binary distribution?

If you are using the bin dist, then you do not have to follow the
getting-started page.

Regards,
Scott

 -Original Message-
 From: Scott T Weaver [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 11, 2005 12:29 PM
 To: 'Jetspeed Users List'
 Subject: RE: Request for help in getting Jetspeed-2 running on
 Windows:Part 2
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 11, 2005 12:09 PM
  To: jetspeed-user@jakarta.apache.org
  Subject: Request for help in getting Jetspeed-2 running on Windows:Part
 2
 
  Thanks. I've modified my build.properties according to your suggestion.
 
  I'm now at Step 5 on http://portals.apache.org/jetspeed-2/getting-
  started.html.
 
  The instructions are:
  
  * 1. If you are using the Hypersonic SQL database, make sure you
 have
  terminated the test HSQLserver. Then in the same terminal, start the
  production Hypersonic database by typing
 
maven start.production.server
 
  * 2. (in seperate window/terminal session)
 
cd ${jetspeed-2-home}
 
  * 3. maven quickStart
 
This will recreate the DB to deploy into. WARNING This will drop
 all
  the tables and data in the production database.
 
  * 4. Start up Tomcat. With a browser, go to:
 
http://localhost:8080/jetspeed
  
 
  Bullet 1 is apparently instructing me to run a script called
  start.production.server with Maven. I've searched and cannot find a
 file
  by that name. I have started the HSQL database using the batch file in
 the
  %TOMCAT_HOME%/jetspeed-database directory.
 
  There is no batch file for stopping the database and the contents of the
  batch file to start it gives no clue as to how it is accomplished
  gracefully. If someone knows how and will tell me, I promise to scour
 the
  HSQL site at SourceForge.net later. Scout's honor.
 
 
 Ctrl+C in the terminal window ;)
 
  O.K., the database is now started.
 
  Bullet 2 instructs me to change to a directory via a variable I don't
 have
  and whose value is a mystery as well.
 
 Its really not a variable as it is the source directory for jetspeed,
 usually jakarta-jetspeed-2.
 
 
  Bullet 3 give me a hint on Bullet 2. If I find a directory with a script
  called quickStart I may just be in the right place. Alas, there is no
  quickStart anywhere on my disk for Maven to run.
 
 There is no script called quickStart it is a maven goal within the
 Jetspeed 2's maven.xml.
 
 
 
 
  Bullet 4 has me start Tomcat and navigate to a URL. When I do this I get
  what is for me, an undecipherable stack trace. Tomcat is working, by the
  way, so the problem must be further up.
 
  Has anyone got some help for me? Thanks
 
  --
  Charles Knell
  [EMAIL PROTECTED] - email
 
 
 
  -Original Message-
  From: Scott T Weaver [EMAIL PROTECTED]
  Sent: Fri, 11 Mar 2005 10:29:07 -0500
  To:   'Jetspeed Users List' jetspeed-user@jakarta.apache.org
  Subject:  RE: Request for help in getting Jetspeed-2 running on
  Windows:Part 1
 
 
  I think you might be able to ignore this property entry as it is only
 used
  when building from source, and not even be used there anymore.
 
 
  I build and deploy on Linux, Windows and Solaris on a daily basis.  I
 will
  post my windows build.properties.  It may help point you in the right
  direction.
 
 
 
 
  -
  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]



Struts bridge fails with error for html:link

2005-03-11 Thread Shah Amit
Hi all,
Following is my firstPage.jsp
html:link href=secondPage.doGo to Second Page/html:link
and below is my struts-config.xml file ---
struts-config
action-mappings
action path=/firstPage 
include=/WEB-INF/view/firstPage.jsp/
action path=/secondPage 
include=/WEB-INF/view/secondPage.jsp/
/action-mappings
	controller pagePattern=$M$P inputForward=false 
processorClass=org.apache.portals.bridges.struts.PortletRequestProcessor/

/struts-config

When I try to access the page, I get --
JetspeedRequestDispatcher failed to include servlet resources. (details 
below)
Exception: org.apache.jasper.JasperException
Message: null

Stack Trace:
  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
  
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
  
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
  
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
  
org.apache.jetspeed.dispatcher.JetspeedRequestDispatcher.include(JetspeedRequestDispatcher.java:65)
  
org.apache.portals.bridges.common.GenericServletPortlet.doView(GenericServletPortlet.java:363)
  javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
  javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
  
org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:233)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
  
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
  
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
  
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
  
org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:215)
  
org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:125)
  sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source)
  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  java.lang.reflect.Method.invoke(Method.java:324)
  
org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
  
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:142)
  $Proxy12.render(Unknown Source)


I know this stuff works as shown in JPetStore example. I just can't figure 
out what I am doing wrong.

Please help ...
Thanks,
Amit

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


RE: RE: Request for help in getting Jetspeed-2 running on Windows:Part 2

2005-03-11 Thread cknell
-Original Message-
From: Scott T Weaver [EMAIL PROTECTED]
Subject:  RE: Request for help in getting Jetspeed-2 running on Windows:Part 2

I noticed you talk about an installation package in your previous emails.
Are you building from source or from the binary distribution?

If you are using the bin dist, then you do not have to follow the
getting-started page.

Regards,
Scott


I downloaded jetspeed-2.0-M1.zip and extracted the files to the Tomcat 
directory. The directories this created appear to have complied code (the files 
extensions are .class, not .java).

As a sanity check I have also downloaded (but not expanded) 
jetspeed-2.0-M1-src.zip and examined it. I can see .class files and 
multiple maven.xml files in the archive, and there are no maven.xml files 
in my file system.

When you say the source directory for jetspeed, usually jakarta-jetspeed-2, 
are you saying that if I expanded the source files to my file system and placed 
them in a directory called jakarta-jetspeed-2 then that would be what the 
instructions mean when they say ${jetspeed-2-home}?

All right. I've downloaded and deployed the Jetspeed-2 binaries (I'm pretty 
sure), started Tomcat, and I've navigated to http://localhost:8080/jetspeed;. 

What I get is a stack trace. The exception part of the page is below. I don't 
know how to interpret it beyond the fact that jetspeed didn't start. Can anyone 
point me in the right direction?

Thanks again.

javax.servlet.ServletException: Failed to initalize jetspeed.  
org.apache.jetspeed.exception.JetspeedException: Unable to create Engine

org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:206)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:690)

org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:657)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:45)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)







-- 
Charles Knell
[EMAIL PROTECTED] - email






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



How to use the WSRP ProxyPortlet to display portlets in jetspeed 2 portal via WSRP?

2005-03-11 Thread Zhonghui Ning
I know how to use ProxyPortlet to display portlets in Pluto via WSRP.
In the pluto, preferences(wsrp_portlet_handle and wsrp_producer_id) is
in
/jakarta-tomcat-5.0.28/webapps/pluto/WEB-INF/data/portletentityregistry.xml.
In jetspeed, where to add wsrp_portlet_handle and wsrp_producer_id? I
think
/jakarta-tomcat-5.0.28/webapps/jetspeed/WEB-INF/pages/default-page.psml
is not enough, is right?
Any suggestion or another clarifying thread is perfect for me. Thanks in 
advance.
Regards,
Zhonghui
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Problem when deploying JetSpeed2 to Weblogic Server 8.1sp2

2005-03-11 Thread
hello, every one. 
 
I had a problem when I deployed the default JetSpeed2.0-M1 jetspeed demo to 
weblogic server8.1 sp2, but it worked well under the tomcat ,I haved modify 
jetspeed-spring.xml file  and adjust TomcatManager to WeblogicManager, it still 
had errors , I didn't know how to do and what't the problem came from, does 
anybody have any idea?
 
Thanks a lot!
 
The following is the stack when deploying jetspeed app. 
 
2005-3-11 003818 CST Warning Deployer billgates 
myserver ExecuteThread: '1' for queue: 'weblogic.kernel.System' WLS 
Kernel  BEA-149004 Failures were detected while initiating Deploy task 
for application jetspeed. 
2005-3-11 003818 CST Error Deployer billgates 
myserver ExecuteThread: '1' for queue: 'weblogic.kernel.System' WLS 
Kernel  BEA-149201 Failed to complete the deployment task with ID 0 for 
the application jetspeed.
javax.naming.ConfigurationException.  Root exception is 
java.net.MalformedURLException: no protocol: 
 at 
weblogic.rmi.spi.ServerURL.parseURL(Lweblogic.rmi.spi.ServerURL;Ljava.lang.String;)V(ServerURL.java:353)
 at weblogic.rmi.spi.ServerURL.init(Ljava.lang.String;)V(ServerURL.java:115)
 at weblogic.rjvm.ServerURL.init(Ljava.lang.String;)V(ServerURL.java:45)
 at 
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Lweblogic.jndi.Environment;Ljava.lang.String;)Ljavax.naming.Context;(WLInitialContextFactoryDelegate.java:296)
 at 
weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(Ljava.util.Hashtable;)Ljavax.naming.Context;(WLInitialContextFactoryDelegate.java:239)
 at 
weblogic.jndi.WLInitialContextFactory.getInitialContext(Ljava.util.Hashtable;)Ljavax.naming.Context;(WLInitialContextFactory.java:135)
 at 
javax.naming.spi.NamingManager.getInitialContext(Ljava.util.Hashtable;)Ljavax.naming.Context;(NamingManager.java:662)
 at 
javax.naming.InitialContext.getDefaultInitCtx()Ljavax.naming.Context;(InitialContext.java:243)
 at 
javax.naming.InitialContext.init(Ljava.util.Hashtable;)V(InitialContext.java:219)
 at javax.naming.InitialContext.init()V(InitialContext.java:175)
 at 
weblogic.deployment.EnvironmentBuilder.findObject(Ljava.lang.String;)Ljava.lang.Object;(EnvironmentBuilder.java:768)
 at 
weblogic.deployment.EnvironmentBuilder.findObjectOrCreateLinkRef(Ljava.lang.String;)Ljava.lang.Object;(EnvironmentBuilder.java:759)
 at 
weblogic.deployment.EnvironmentBuilder.addUserTransaction()V(EnvironmentBuilder.java:555)
 at 
weblogic.deployment.EnvironmentBuilder.init(Ljavax.naming.Context;Ljava.lang.String;Ljava.lang.String;)V(EnvironmentBuilder.java:94)
 at 
weblogic.servlet.internal.CompEnv.init(Ljavax.naming.Context;Lweblogic.servlet.internal.WebAppServletContext;Ljava.util.List;)V(CompEnv.java:80)
 at 
weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:569)
 at 
weblogic.servlet.internal.WebAppServletContext.init(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:493)
 at 
weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:628)
 at 
weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:626)
 at 
weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:3011)
 at 
weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
 at 
weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
 at 
weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
 at 
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2602)
 at 
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2552)
 at 
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2474)
 at 
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:798)
 at 

Getting Jetspeed started on Windows

2005-03-11 Thread cknell
I went to another machine with Tomcat 5.5.7 installed.

I unzipped the binary Windows distribution (jetspeed-2.0-M1.zip) into my Tomcat 
directory.
I started Tomcat.
I pointed a browser to http://localhost:8080.
Tomcat is working.
I pointed the browser to http://localhost:8080/jetspeed.

I get this output to the browser, can anyone tell me what's wrong? Thanks.

type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling this request.

exception 

javax.servlet.ServletException: Failed to initalize jetspeed.  
org.apache.jetspeed.exception.JetspeedException: Unable to create Engine

org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:206)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)

org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:45)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76)

org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:135)

org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:590)

org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:535)
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:470)
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1106)

org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)

org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
org.apache.catalina.startup.Catalina.start(Catalina.java:537)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409




-- 
Charles Knell
[EMAIL PROTECTED] - email

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