<snip>
From: David Sean Taylor <[EMAIL PROTECTED]>
Date: April 13, 2006 2:08:36 AM MDT
To: Jetspeed Users List <[email protected]>
Subject: Re: WebLogic 9.1 - no worko
Reply-To: "Jetspeed Users List" <[email protected]>
Bryan Noll wrote:
Hello all... Mr. Watler told me that two gentlemen that frequent this
list, Ate Douma & David Taylor, may be able to provide some insight on
getting Jetspeed 2 up and going on Weblogic 9.1. I'm about 3 hours
into it, and still haven't made it happen. We seem to have gotten as
far as getting jetspeed itself deployed OK... but when attempting to
deploy any portlet war's to the jetspeed.war/WEB-INF/deploy, we
continually see the following:
I don't recommend Jetspeed's live deployment mechanism on Weblogic,
although it might work, I've never tried it recently.
Instead use our command line deploy tool to infuse the necessary
startup registration code into your webapp, and then package your
portlet applications specifically for Weblogic as you would any other
webapp, and deploy the app the same way you would deploy any other
webapp.
With this approach, the portlet application will register with
Jetspeed at runtime, during servlet init. Thus, you need to have
Jetspeed installed on Websphere prior to installing any other portlet
apps.
To Run the command line tool to infuse automatic registration of
portlet app at app server startup:
java -jar target/jetspeed-deploy-tools-2.0-M4-SNAPSHOT-uber.jar [-s]
source.war destination.war
-s: stripLoggers - remove commons-logging[version].jar and/or
log4j[version].jar from war
required when targetting application servers like JBoss
</snip>
It looks like this tool is broken in 2.0:
java -jar jetspeed-deploy-tools-2.0.jar ../deploy/rss.war
/opt/dev/tools/jonas-4.6.6/webapps/autoload/rss.war
Failed to load Main-Class manifest attribute from
jetspeed-deploy-tools-2.0.jar
I'm guessing this tool is something a JSR-88 compliant deployer? It
allows you to deploy to a running Jetspeed application? If so, how do
you decide where the output WAR is? In your app server?
I did manage to get Jetspeed 2 running on WebLogic 9.1, but it's kinda
ugly. I had to put an expanded "jetspeed" directory in the autodeploy
directory. Then after deploying each portlet WAR in
jetspeed/WEB-INF/deploy, I had to shut down the server, create a
portletName directory in the autodeploy directory (where jetspeed
deploys the portlet WAR to) and unjar the WAR into this directory.
After restarting WebLogic, the portlet shows up. Without this,
there's a "can't find real path" error or something like that.
I'd much rather use a deploy tool than dragging and dropping files.
Thanks,
Matt
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]