Audrey MORELLE wrote:
Hello,
I have two problems that I don't understand.
The first :
Sometimes I deploy my portlet application (which is already deployed
and working before) and I get this error : Portlet Application X not
available But the thing that looks strange to me is that I have
sometimes 1 or 2 portlets of the page which are working not the
others, how is it possible if they come from the application which is
said as not available ?!
I'm note sure if my english is clear, so to recapitulate. (With
fictitious names) I have 2 portlets P1 and P2 in the application
portlet AP. I already deployed this AP and my two portlets are
working on my page, everything is ok. Then I put my new version of
AP.war in deploy directory and it is correctly (log are ok like other
times) and fully deployed (I checked all files in the
webapps/AP/WEB-INF directory). I refresh my page containing my two
portlets and there, only P1 works, P2 shows "Portlet Application AP
not available". In the console, I only have my trace of P1 and
nothing about P2, not even an error. If I try to deploy another time,
It's the same problème P1 is ok, P2 doesn't work. The only thing to
do is to restart...
I don't know what is the problem...
I haven't seen that one either. Usually when there is a failure, its on
the entire portlet application, not just one of the portlets, and not
the other ones. This kind of problem is usually because of jar locking
on Windows, but that doesn't sound like the case here
Perhaps a review of the Jetspeed and Tomcat log files might uncover a
clue...
Second problem :
We have 2 tomcat with jetspeed but only 1 database, they are exactly
the same. But when I copy my application war in both deploy directory
(not at the same moment), only one deploy it correctly, it works
fine. The other one seems to deploy, log said it is deployed and the
war disappear from deploy directory, the war is the new one in
webapps directory but the application directory is the old one. What
happens ? Is there anything that tells that the application is
already deployed in the database ?
Yes, I know about that and will be working on a fix soon.
In the meantime, recommend these steps:
1. deploy as usual to tomcat instance #1
2. copy the expanded portlet app from tomcat #1 to tomcat #2's webapps
directory
In this case, the second webapp will not re-register
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]