You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-user@portals.apache.org by "mail@felixguntrum.de" <ma...@felixguntrum.de> on 2004/02/21 21:28:27 UTC
Re: running PLUTO in WSAD (WEBSPHERE 5.0)
hi,
i´m still trying to run pluto on websphere .. but i get the following
"noClassDevFoundError":
>> java.lang.NoClassDefFoundError:
org/apache/pluto/PortletContainerException <<
first i deployed pluto with "maven fullDeployment" to tomcat and
generated the two war-files "pluto.war" and "testsuite.war" with the
command "jar cvf archiveName.war ."
after that, i generated two projects & ear´s and imported the two war-files:
File-> New-> Project-> Web-> DynamicWebProject-> Name: PLUTO & PLUTOEAR
PLUTO -> Import-> WAR-File -> pluto.war
File-> New-> Project-> Web-> DynamicWebProject-> Name: TESTSUITE &
TESTSUITEEAR
TESTSUITE -> Import-> WAR-File -> testsuite.war
Server-> New-> Testserver -> PLUTOTEST
PLUTOTEST-> Add Projects -> PLUTO & TESTSUITE
when i try to access the pluto-portal in my browser:
http://localhost:9080/PLUTO/portal
the exception was thrown and i see: Error 500: Failed to load target
servlet [pluto]
i attached the server-output with the complete exception and the
.classpath file from PLUTO project ..
any help is appreciated, thanks!
felix
Stephan Hesmer wrote:
> The cross context is a feature of tomcat. don't worry about that.
>
> As for the doing something special...I think the only thing you need
> to do differently is the deployment of portlets.
>
> You have to use the deployment of pluto. But after the portlet is
> "deployed" into an imaginary tomcat webapp dir you simply zip it again
> and deploy it on top of websphere.
>
> I hope this is all. We can get you through any error you might
> encounter. Quite frankly I didn't let pluto run directly on websphere
> so far.
>
> Stephan
>
> mail@felixguntrum.de wrote:
>
>> hi,
>>
>> i´m currently "running" pluto with WSAD and the tomcat-plugin, but
>> now i have to use the included websphere application server (5.0).
>>
>> is it possible to run pluto on websphere? how can i enable the
>> "crossContext" for websphere, or is this a tomcat-specific feature?
>> any workarounds?
>>
>> can anybody provide me a short instruction how to setup the required
>> environment?
>>
>> thank you for your explanation!
>> felix
>
Re: running PLUTO in WSAD (WEBSPHERE 5.0)
Posted by Vetle Roeim <vr...@enonic.com>.
mail@felixguntrum.de wrote:
> hi! when i understand the instruction in the right way, i have to patch
> the method setContextRoot():
>
> protected void setContextRoot(String contextPath)
> {
> // START PATCH
> if (contextPath.endsWith(".war")) {
> contextPath = contextPath.substring(0,contextPath.length()-4);
> }
> // END PATCH
> this.contextPath = contextPath;
> }
> but i don´t understand the sentence "To fix, I just stuffed the portlet
> WARs into the portal and shared directories, and that made it work."
>
> where i have to put the portlet WARs?
In JBoss you can just deploy the WARs as usual, and I guess you can
try doing the same thing in WebSphere. But put the pluto and portlet
JARs inside the WARs (in WEB-INF/lib).
--
Vetle Roeim
Lead Developer, Enonic AS - <URL:http://enonic.com>
Mobile: +47 40 40 14 37, Office: +47 22 00 85 50, Fax: +47 22 00 85 51
PGP Public Key: http://open.enonic.com/pgp/vro-pubkey.txt
Re: running PLUTO in WSAD (WEBSPHERE 5.0)
Posted by "mail@felixguntrum.de" <ma...@felixguntrum.de>.
hi! when i understand the instruction in the right way, i have to patch
the method setContextRoot():
protected void setContextRoot(String contextPath)
{
// START PATCH
if (contextPath.endsWith(".war")) {
contextPath = contextPath.substring(0,contextPath.length()-4);
}
// END PATCH
this.contextPath = contextPath;
}
but i don´t understand the sentence "To fix, I just stuffed the portlet
WARs into the portal and shared directories, and that made it work."
where i have to put the portlet WARs?
thanks in advance,
felix
Vetle Roeim wrote:
> mail@felixguntrum.de wrote:
>
>> ups, i added the driver (pluto-jar´s) and now i can startup the
>> server (why i don´t need the jars in tomcat?) ... however, i can see
>> now the first page, pluto-portal, but when i try to access the
>> testsuite, my browser can´t find the page and displays an error.
>>
>> obviusly pluto can´t find the portal-app "testsuite", but the logfile
>> (server-stdout) shows no exception, no error, nothing ..
>>
>> any suggestions?
>
> Check out the thread "Running Pluto in JBoss", from a week or two
> ago. You probably need to patch pluto.
>
Re: running PLUTO in WSAD (WEBSPHERE 5.0)
Posted by Vetle Roeim <vr...@enonic.com>.
mail@felixguntrum.de wrote:
> ups, i added the driver (pluto-jar´s) and now i can startup the server
> (why i don´t need the jars in tomcat?) ... however, i can see now the
> first page, pluto-portal, but when i try to access the testsuite, my
> browser can´t find the page and displays an error.
>
> obviusly pluto can´t find the portal-app "testsuite", but the logfile
> (server-stdout) shows no exception, no error, nothing ..
>
> any suggestions?
Check out the thread "Running Pluto in JBoss", from a week or two
ago. You probably need to patch pluto.
--
Vetle Roeim
Lead Developer, Enonic AS - <URL:http://enonic.com>
Mobile: +47 40 40 14 37, Office: +47 22 00 85 50, Fax: +47 22 00 85 51
PGP Public Key: http://open.enonic.com/pgp/vro-pubkey.txt
Re: running PLUTO in WSAD (WEBSPHERE 5.0)
Posted by "mail@felixguntrum.de" <ma...@felixguntrum.de>.
ups, i added the driver (pluto-jar´s) and now i can startup the server
(why i don´t need the jars in tomcat?) ... however, i can see now the
first page, pluto-portal, but when i try to access the testsuite, my
browser can´t find the page and displays an error.
obviusly pluto can´t find the portal-app "testsuite", but the logfile
(server-stdout) shows no exception, no error, nothing ..
any suggestions?
felix
mail@felixguntrum.de wrote:
> hi,
> i´m still trying to run pluto on websphere .. but i get the following
> "noClassDevFoundError":
<snip>