Re: Jetspeed-2: Drop support for Tomcat 4...? Please comment/vote! [Results]

2005-03-02 Thread Ate Douma
I've counted 12 +1 votes so far for dropping Tomcat 4.1 support
(5 team members/ 7 users), with 4 votes under the condition Tomcat 5.5
support should be provided first.
No 0 or -1 votes.
I committed my changes to the deployment-refactoring, which includes Tomcat 5.5
support, for everyone to review and test.
See:
  http://issues.apache.org/jira/browse/JS2-210?page=comments#action_60016
If those changes are merged in CVS HEAD, Tomcat 4.1 support will be dropped.
Regards, Ate
Ate Douma wrote:
Dear developer team and users,
I've been working the last two weeks (off and on) on a new and much 
simplified deployment implementation
for Jetspeed-2 which builds mainly on official Servlet specification 
(2.3) features.
See JIRA: http://issues.apache.org/jira/browse/JS2-210

I expect that with this solution, deployment for Application servers 
other than Tomcat will become much easier
to implement and support.

I've got this working already beautifully on Tomcat 5 (5.0.28) and with 
a few nice side-effects too:
- the Jetspeed-2 context isn't fixed at /jetspeed any more
- multiple layout portlet applications can be deployed/used at the same 
time
  for both see:
http://issues.apache.org/jira/browse/JS2-182
http://issues.apache.org/jira/browse/JS2-172
- no more temporarily expanded wars in the java.io.tmpdir to workaround 
classloading issues
- much quicker startup

To be honest, my refactoring isn't finished yet and some features 
currently available will have to be
reimplemented (differently) like undeployment.

But
I can't get the redeployment working flawlessly under Tomcat 4.1 (tested 
with 4.1.30 and 4.1.31).
Tomcat 4 won't always release certain jars in deployed applications when 
doing an undeployment or redeployment while this
is no problem with Tomcat 5.0.
Furthermore, auto redeployment of war files isn't available at all in 
Tomcat 4: you need to use the TomcatManager
to remove an existing application first (which sometimes fails) before a 
new application can tried to be deployed
again.

And then, There are other serious problems with Tomcat 4 too like no 
separate sessions for the portal and portlet applications
(which is a *serious* security breach and the foremost reason I myself 
won't use Tomcat 4 for Portals anymore).

The Pluto Team won't even use Tomcat 5.0 anymore and require Tomcat 
5.5.7 or higher because Tomcat 5.0 also has a session bug
in which a Portlet Application and its Web application don't share the 
same session when invoked independently
(as they should according to the portlet specification).

Both the development of Tomcat 4 and Tomcat 5.0 has largely come to an 
end, except for really nasty bugs, but the onces I
described above aren't regarded as such by the Tomcat team :-(

Al in all, to me the question right now is: do we really, really need to 
keep supporting Tomcat 4.
For my deployment refactorings it poses a problem I don't have time left 
to further investigate (nor do I have any hope it
*can* be resolved). As long as we need to support Tomcat 4, I can't 
commit my changes...

I'd like to hear from both team members and users who absolutely require 
Tomcat 4 support for Jetspeed-2 and why.
And, if there are no big objections, I'd like to vote on dropping Tomcat 
4 support!

Please comment,
Ate

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


jmock-SNAPSHOT.jar

2005-03-02 Thread Andreas Ernst
Hi,
it seems that 'maven allClean allBuild' tries every run to download 
jmock-SNAPSHOT.jar, but the file is still in 
{userhome}\.maven\repository\jmock\jars\jmock-SNAPSHOT.jar

While running Maven it show very often the message:
Attempting to download jmock-SNAPSHOT.jar.
But as i know Maven, after one download that file is locally saved. Is 
it a problem of  Jetspeed, Maver or i am totally wrong?

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


Re: jmock-SNAPSHOT.jar

2005-03-02 Thread Ate Douma
Try maven -o (offline).
SNAPSHOT dependencies are always checked if uptodate by maven.
Andreas Ernst wrote:
Hi,
it seems that 'maven allClean allBuild' tries every run to download 
jmock-SNAPSHOT.jar, but the file is still in 
{userhome}\.maven\repository\jmock\jars\jmock-SNAPSHOT.jar

While running Maven it show very often the message:
Attempting to download jmock-SNAPSHOT.jar.
But as i know Maven, after one download that file is locally saved. Is 
it a problem of  Jetspeed, Maver or i am totally wrong?

regards
Andreas
-
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: jmock-SNAPSHOT.jar

2005-03-02 Thread Raphaƫl Luta
Andreas Ernst wrote:
Hi,
it seems that 'maven allClean allBuild' tries every run to download 
jmock-SNAPSHOT.jar, but the file is still in 
{userhome}\.maven\repository\jmock\jars\jmock-SNAPSHOT.jar

While running Maven it show very often the message:
Attempting to download jmock-SNAPSHOT.jar.
Since SNAPSHOT means that we depend on a non-released version of JMock
(ie the CVS HEAD version). Meven by default always try to refresh the
SNAPSHOT.jar for a new version, ie a SNAPSHOT jar is never considered
up to date by Maven even if found in the local repository.
You can use offline build mode (maven -o) to prevent it from
trying to download jmock every time.
--
Raphael Luta - [EMAIL PROTECTED]
Apache Jetspeed - Enterprise Portal in Java
http://portals.apache.org/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: M1 and struts App with Tiles

2005-03-02 Thread Ate Douma

[EMAIL PROTECTED] wrote:
hello !
another problem i have:
my M1 installation works fine.
but the M1-version of the struts-bridge does not support tiles.
when i try it, i get following message:
(when i look for this problem in internet i find sites from 2003 - not 
really new)

in the current subversion version of the bridge - tiles will be supported. 

but, is it possible to fix the tiles problem in the M1 version ?
only changing the bridge does not work - i think there are a lot of 
dependencies...
The M1 release was a milestone only, not a branch.
As we intend to release a M2 soon (hopefully this month) I think you'll have
to work with the CVS HEAD for now or wait for the M2 release.
thanks for answer
best regards
tkoch
2005-03-01 14:51:59,662 FATAL tiles.TilesPlugin - TilesPlugin : Specified 
RequestProcessor not compatible with TilesRequestProcessor
2005-03-01 14:53:45,604 FATAL tiles.TilesPlugin - TilesPlugin : Specified 
RequestProcessor not compatible with TilesRequestProcessor
2005-03-01 14:53:45,604 ERROR struts.StrutsPortlet - Include exception
javax.servlet.ServletException: TilesPlugin : Specified RequestProcessor 
not compatible with TilesRequestProcessor
at 
org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:360)
at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:164)
at 
org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1158)
at 
org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at 
org.apache.portals.bridges.struts.PortletServlet.init(PortletServlet.java:45)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
at 
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
at 
org.apache.portals.bridges.struts.StrutsPortlet.processRequest(StrutsPortlet.java:283)
at 
org.apache.portals.bridges.struts.StrutsPortlet.doView(StrutsPortlet.java:221)
at 
javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)
at 
org.apache.jetspeed.container.JetspeedContainerServlet.doGet(JetspeedContainerServlet.java:235)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)
at 
org.apache.jetspeed.container.invoker.ServletPortletInvoker.invoke(ServletPortletInvoker.java:213)
at 
org.apache.jetspeed.container.invoker.ServletPortletInvoker.render(ServletPortletInvoker.java:124)
at 
org.apache.pluto.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:103)
at 
org.apache.jetspeed.container.JetspeedPortletContainerWrapper.renderPortlet(JetspeedPortletContainerWrapper.java:88)
at 
org.apache.jetspeed.aggregator.impl.RenderingJob.run(RenderingJob.java:109)
at 
org.apache.jetspeed.aggregator.impl.Worker$1.run(Worker.java:171)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:437)
at org.apache.jetspeed.aggregator.impl.Worker.run(Worker.java:165)
2005-03-01 15:13:36,886 FATAL tiles.TilesPlugin - TilesPlugin : Specified 
RequestProcessor not compatible with TilesRequestProcessor
2005-03-01 15:13:36,886 ERROR struts.StrutsPortlet - Include exception
javax.servlet.ServletException: TilesPlugin : Specified RequestProcessor 
not compatible with TilesRequestProcessor
at 
org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:360)

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


Re: changing portlet title

2005-03-02 Thread Ate Douma

Valerie Lavilla wrote:
Hi I've seen this problem in the mailing archive dated October 25 of 2004. Has there been a patch yet for this issue?
 

Also, the ability to change the JSR168 portlet title is missing.  I 
already tried, overriding getTitle() method of GenericPortlet and 
response.setTitle(SomeTitle).
I don't know, haven't tested this myself.
Have you tried it?
If it isn't working you could create a JIRA ticket for it (if it hasn't been 
done already):
  http://issues.apache.org/jira/secure/BrowseProject.jspa?id=10492

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


M1 and struts App with Tiles

2005-03-02 Thread Thomas . Koch
The M1 release was a milestone only, not a branch.

As we intend to release a M2 soon (hopefully this month) I think you'll 
have
to work with the CVS HEAD for now or wait for the M2 release.

ok, thank you for answer !

but with the head there ist another problem you can see in
the other thread. J2 would not like to start correctly:
http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/msg18970.html


Re: M1 and struts App with Tiles

2005-03-02 Thread Ate Douma
[EMAIL PROTECTED] wrote:
The M1 release was a milestone only, not a branch.

As we intend to release a M2 soon (hopefully this month) I think you'll 
have
to work with the CVS HEAD for now or wait for the M2 release.

ok, thank you for answer !
but with the head there ist another problem you can see in
the other thread. J2 would not like to start correctly:
http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/msg18970.html
What you are seeing is a mix up of incompatible classes.
I suggest cleaning up your current J2 project (maven allClean would do),
completely cleaning up Tomcat, especially the shared/lib folder,
(or use a fresh Tomcat installation) and build and deploy again.
That should solve your problem.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: M1 and struts App with Tiles

2005-03-02 Thread Thomas . Koch
What you are seeing is a mix up of incompatible classes.
I suggest cleaning up your current J2 project (maven allClean would do),
completely cleaning up Tomcat, especially the shared/lib folder,
(or use a fresh Tomcat installation) and build and deploy again.
That should solve your problem.

take it easy: i love u ! :-)

i tried it so often in my old tomcat installation ans maven allClear 
allBuild.
it dit not work. (how many hours i tried...)
now i intstalled tomcat in a new folder and deployed it into this tomcat.
an it works.
now i can try to let run my struts-applikation(s).

thank u very much

tkoch



Re: Portlet is Not Available after including struts-portlet

2005-03-02 Thread Jouni Rajala

3. 
start tomcat 5.0.28
 

Was your tomcat running when you put that file into deploy folder.
I have noticed that at least current version of jetspeed2 in CVS must
be running while you copy the war into deploy folder. Then you
must wait until it has deployed the portlets. After that you must
restart the tomcat.
--
Jouni Rajala
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Portlet is Not Available after including struts-portlet

2005-03-02 Thread Thomas . Koch
it doent't work on deploying, when tomcat runs - the same result.
steps were:
1.
maven allClear allBuild
2.
start tomcat and all standard-war were deployed
3.
after this, i copied my war into deploy-folder

tomcat showed this during deployingt (looks good):

 INFO: Loading portlet application from web archive D:\AppServer\Tomcat 
5.0_2\we
bapps\jetspeed\WEB-INF\deploy\bcn_alt2.war
 INFO: Portlet application bcn: registered=false, deployed=false
 INFO: Deploying portlet app bcn: portlet application WAR bcn_alt2.war
 INFO: Portlet application deploying from D:\AppServer\Tomcat 
5.0_2\temp\jetspee
d-jar-tmp\bcn_alt2.war to D:\AppServer\Tomcat 
5.0_2\webapps\jetspeed\..\bcn.war
...
Found META-INF/context.xml
Found WEB-INF/portlet.xml
Found web.xml
 INFO: Portlet application deployment of D:\AppServer\Tomcat 
5.0_2\webapps\jetsp
eed\..\bcn.war complete.
 INFO: Portlet app bcn successfuly (re)deployed.
02.03.2005 14:21:24 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:D:\AppServer\Tomcat 
5.0_2\c
onf\Catalina\localhost\bcn.xml
JetspeedContainerServlet: starting initialization of context BCN BROWSER
 INFO: No extended metadata found.
 INFO: Loading web.xml into memorybcn
 INFO: Registered the portlet app... bcn
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/classes/ to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/.svn/ to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/commons-beanutils.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/commons-codec-1.3.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/commons-collections.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/commons-digester.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/commons-fileupload.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/commons-lang.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/commons-logging.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/commons-validator.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/jakarta-oro.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/log4j-1.2.8.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/nepatec-struts.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/ojdbc14.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/portals-bridges-common-0.1.jar to class 
path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/portals-bridges-struts-0.2.jar to class 
path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/struts-legacy.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/struts.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/xalan.jar to class path.
 INFO: Adding file:/D:/AppServer/Tomcat 
5.0_2/temp/jetspeed-FileSystemPAM/bcn-cl
asspath-1109769428086/WEB-INF/lib/xercesImpl.jar to class path.
 INFO: Registered portlet app in the class loader registry... bcn
 INFO: Registered portlet app in the search engine... bcn
JetspeedContainerServlet: Initialization complete for context BCN BROWSER







after deploying, i restart tomcat and get the error agein

i got the stacktrace out of the tomcat-log, when error appears.

thank you for help.








2005-03-02 14:26:23 StandardContext[/bcn]JetspeedContainerServlet: Error 
rendering JetspeedContainerServlet error page: 
javax.portlet.PortletException: PortletFactory: Failed to load portlet 
org.apache.portals.bridges.struts.StrutsPortlet:javax.portlet.PortletException: 
class not found
javax.portlet.PortletException: PortletFactory: Failed to load portlet 

Re: Jetspeed-2: Drop support for Tomcat 4...? Please comment/vote!

2005-03-02 Thread Marina

--- Ate Douma [EMAIL PROTECTED] wrote:
 And, if there are no big objections, I'd like to
 vote on dropping Tomcat 4 support!
 


+1

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



Re: Jetspeed-2: Drop support for Tomcat 4...? Please comment/vote!

2005-03-02 Thread Marvin Malkowski Jr
+1
Though please insure that Tomcat 5.0 is support though. Some of us do 
not consider Java 5.0 a stable release yet.

On Mar 2, 2005, at 5:38 AM, Marina wrote:
--- Ate Douma [EMAIL PROTECTED] wrote:
And, if there are no big objections, I'd like to
vote on dropping Tomcat 4 support!

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

-
Marvin Malkowski Jr.
-
[EMAIL PROTECTED]
http://www.linuxgames.com/
-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


questions

2005-03-02 Thread Litton, Tom - CEPM
First question:  Is there an archive for this list?  The maven generated site 
doesn't have a link.

Second question:  Does jetspeed 2 support MS SQL server yet?  If so, which 
release?

Third question: Is there any documentation for installing jetspeed directly 
from the binaries (ie, without the maven scripts)?  I see the ant scripts for 
initializing the db, so I'm assuming its possible.  Is it just running 
db.create and copying the shared, webapp, and conf directories to the tomcat 
home?  Or is there more configuration I should be aware of?

Thanks,

Tom 


RE: questions

2005-03-02 Thread Litton, Tom - CEPM
I should have looked before asking the second question.  I see the mssql 
scripts now, but i'm getting the error:

C:\jetspeed-2\jetspeed-database\scripts\build.xml:39: java.sql.SQLException: Int
roducing FOREIGN KEY constraint 'SSO_PRINCIPAL_TO_REMOTE_FK_2' on table 'SSO_PRI
NCIPAL_TO_REMOTE' may cause cycles or multiple cascade paths. Specify ON DELETE
NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.

Is there a work around for this?

Thanks,

Tom

-Original Message-
From: Litton, Tom - CEPM [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 02, 2005 5:30 PM
To: jetspeed-user@jakarta.apache.org
Subject: questions


First question:  Is there an archive for this list?  The maven generated site 
doesn't have a link.

Second question:  Does jetspeed 2 support MS SQL server yet?  If so, which 
release?

Third question: Is there any documentation for installing jetspeed directly 
from the binaries (ie, without the maven scripts)?  I see the ant scripts for 
initializing the db, so I'm assuming its possible.  Is it just running 
db.create and copying the shared, webapp, and conf directories to the tomcat 
home?  Or is there more configuration I should be aware of?

Thanks,

Tom 

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



Re: questions

2005-03-02 Thread Hema Menon
You could apply the patch as suggested by Randy in this link
http://www.mail-archive.com/jetspeed-user@jakarta.apache.org/msg14839.html

I build Jetspeed for Sybase and I run into similar problems. So
usually, I modify the schemas manually before building Jetspeed and it
seems to work fine.

Hema

On Wed, 2 Mar 2005 18:10:07 -0600, Litton, Tom - CEPM
[EMAIL PROTECTED] wrote:
 I should have looked before asking the second question.  I see the mssql 
 scripts now, but i'm getting the error:
 
 C:\jetspeed-2\jetspeed-database\scripts\build.xml:39: java.sql.SQLException: 
 Int
 roducing FOREIGN KEY constraint 'SSO_PRINCIPAL_TO_REMOTE_FK_2' on table 
 'SSO_PRI
 NCIPAL_TO_REMOTE' may cause cycles or multiple cascade paths. Specify ON 
 DELETE
 NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.
 
 Is there a work around for this?
 
 Thanks,
 
 Tom
 
 -Original Message-
 From: Litton, Tom - CEPM [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, March 02, 2005 5:30 PM
 To: jetspeed-user@jakarta.apache.org
 Subject: questions
 
 First question:  Is there an archive for this list?  The maven generated site 
 doesn't have a link.
 
 Second question:  Does jetspeed 2 support MS SQL server yet?  If so, which 
 release?
 
 Third question: Is there any documentation for installing jetspeed directly 
 from the binaries (ie, without the maven scripts)?  I see the ant scripts for 
 initializing the db, so I'm assuming its possible.  Is it just running 
 db.create and copying the shared, webapp, and conf directories to the tomcat 
 home?  Or is there more configuration I should be aware of?
 
 Thanks,
 
 Tom
 
 -
 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: Building Jetspeed 2 with Java 1.5.01

2005-03-02 Thread Jeremy Ford
I have been building J2 with Java 1.5 with no problems for a while
now.  Where did you get the src from?  HEAD or J2 M1?  The M1 release
may not be compatiable.  You may want to try pulling the latest source
and building again.

Jeremy Ford
[EMAIL PROTECTED]


On Wed, 02 Mar 2005 10:08:42 +0100, Andreas Ernst [EMAIL PROTECTED] wrote:
 Hi,
 
 i am new to Jetspeed. I tried to
 
 maven allClean allBuild
 
 and get this errors:
 
 as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
[javac] (try -source 1.4 or lower to use 'enum' as an identifier)
[javac] for (Enumeration enum = bundle.getKeys();
 enum.hasMoreElements();)
 
 this files are affected:
 components\registry\src\java\org\apache\jetspeed\om\impl\LanguageImpl.java
 portal\src\java\org\apache\jetspeed\engine\servlet\ServletRequestImpl.java
 portals-bridges\perl\src\java\org\apache\portals\bridges\perl\PerlPortlet.java
 portals-bridges\php\src\java\org\apache\portals\bridges\php\PHPApplicationPortlet.java
 portals-bridges\myfaces\src\java\org\apache\portals\bridges\myfaces\PortletExternalContextImpl.java
 portal\src\java\org\apache\jetspeed\engine\servlet\ServletRequestImpl.java
 components\security\src\test\org\apache\jetspeed\security\TestPermissionManager.java
 
 regards
 Andreas
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



Jetspeed init failed

2005-03-02 Thread Ray Clark
Hi:

I'm new to Jetspeed.  My company is considering doing
an intranet portal so I started investigating
Jetspeed.  I was pleased to find out that version 2
has a JSF bridge.  So I downloaded Jetspeed 2 and
installed it in my Tomcat 5.0.28 directory.  When I
start up Tomcat Jetspeed fails to initialize.

The root exception is:

Caused by:
org.apache.jetspeed.prefs.PreferencesException: Failed
to initialize prefs api. 
org.springframework.transaction.CannotCreateTransactionException:
Could not create OJB transaction; nested exception is
org.apache.ojb.broker.accesslayer.LookupException:
SQLException thrown while trying to get Connection
from Datasource (java:comp/env/jdbc/jetspeed)


jetspeed.xml is in the conf/Catalina/localhost
directory, and I see the jetspeed-database directory
in my Tomcat directory.  So, since I didn't change
anything in Jetspeed after the unzip, I don't have a
clue what the problem is.

Does anyone here have an idea how I installed it
wrong?

Thanks,
Ray

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Portlet is Not Available after including struts-portlet

2005-03-02 Thread Jouni Rajala
Then you are having some other problem that I am not aware of (yet) :(
--
Jouni Rajala
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Building Jetspeed 2 with Java 1.5.01

2005-03-02 Thread Jouni Rajala

I have been building J2 with Java 1.5 with no problems for a while
now.  Where did you get the src from?  HEAD or J2 M1?  The M1 release
may not be compatiable.  You may want to try pulling the latest source
and building again.
 

 

I had same problems. Even if I pulled it from HEAD two weeks ago it 
still didn't work.
Then I noticed that problems were related to maven 'stuff'. I had to 
clear out my .maven
folder and jetspeed-2 project from my machine entirely and check out 
everything
again. After that it builded ok.

It seems that this was caused because I had to build jetspeed-2 with 
jdk1.4 because
it didn't build with 1.5 about 1,5 months ago. Some jars were not 
compiled again with
1.5 javac after update of jetspeed-2 project and build failed for some 
reason.

I am sure there was cleaner way to fix the problem. However because 
jetspeed-2
is only project that I have checked out with maven, I decided to try to 
wipe it all out
and start from beginning. After all this maven thing is great but I have 
no idea how
it works :)

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


links from one portlet to another

2005-03-02 Thread joe hobson
This is more of a JSR 168 question than a Jetspeed one, but maybe 
someone here has the quick answer... I have a portlet that needs to have 
a link to one of my other portlets/pages. I know you use 
RenderResponse.createRenderURL() to build a URL to the same portlet, 
with whatever parameters you set, but is it possible to create a proper 
URL to a different portlet/page/view?

Of course if anyone has a better JSR168 portlet developers community i 
ask, that would be appreciated as well. thanks in advance. ... .joe

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